@font-face {
  font-family: Inter;
  src: url("./fonts/inter.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Elsetra STIX";
  src: url("./fonts/stix-two-text-latin-400-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}
:root {
  --font-accent: "Elsetra STIX", Georgia, serif;
  color-scheme: dark;
  --ink: #201d29;
  --surface: #282530;
  --studio: #2c2935;
  --white: #f4f0ec;
  --muted: #c3bdcb;
  --quiet: #aaa3b6;
  --line: #494451;
  --iris: #d7caff;
  /* Neutral working surfaces sit inside the warmer brand environment. */
  --ui-canvas: #303237;
  --ui-chrome: #202226;
  --ui-panel: #26282c;
  --ui-raised: #393c41;
  --ui-line: #4c5055;
  --ui-text: #f0f0ed;
  --ui-muted: #bec1c4;
  --ui-quiet: #a5a9ae;
  --gutter: clamp(24px, 6.1vw, 106px);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 18px; }
body { margin: 0; color: var(--white); background: var(--ink); }
h1, h2, h3, p, figure, fieldset { margin: 0; }
button, input { font: inherit; }
a { color: inherit; text-decoration: none; }
button { color: inherit; cursor: pointer; }
button, fieldset { padding: 0; border: none; background: none; }
[hidden], html:not(.enhanced) .js-only { display: none !important; }
:focus-visible { outline: 2px solid var(--iris); outline-offset: 5px; }
::selection { background: #b8a8e1; color: #27232e; }
.frame { max-width: 1500px; width: calc(100% - 2 * var(--gutter)); margin-inline: auto; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: fixed; z-index: 8; top: 8px; left: 10px; background: var(--surface); padding: 12px; }
.mast { background: var(--ink); }
.navigation, .site-footer .frame { display: flex; align-items: center; justify-content: space-between; }
.navigation { min-height: clamp(68px, 6.2vw, 92px); border-bottom: 1px solid #3e3946; }
/* Lockup proportions come from the approved 23px wordmark / 24px mark frame. */
.brand { display: inline-flex; align-items: center; gap: calc(10em / 23); font-size: clamp(23px, 2vw, 29px); font-weight: 520; letter-spacing: -.07em; line-height: 1; }
.brand-mark { width: calc(24em / 23); height: calc(24em / 23); position: relative; display: inline-block; flex-shrink: 0; }
/* Scale the whole wing with the lettering, keeping its original unequal gaps. */
.brand-mark img { position: absolute; display: block; left: calc(1em / 23); top: calc(.1325em / 23); width: calc(20em / 23); height: calc(24.1349em / 23); max-width: none; }
.nav-button { display: inline-flex; align-items: center; justify-content: center; gap: 11px; min-height: 40px; padding: 10px 16px; border: 1px solid #615b69; border-radius: 24px; font-size: 13px; font-weight: 510; line-height: 1; white-space: nowrap; }
.nav-button .north-east { display: block; flex: none; width: 14px; height: 14px; margin: 0; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.nav-button:hover { background: #322e3b; border-color: #91879e; }
.north-east { margin-left: 7px; color: #c8bfd4; }

.hero { isolation: isolate; position: relative; overflow: hidden; height: clamp(570px, 47vw, 780px); background: linear-gradient(180deg, #201d29 0%, #23202d 72%, var(--surface) 100%); }
.hero-inner { position: relative; height: 100%; pointer-events: none; }
.hero-copy { position: absolute; z-index: 1; left: 0; top: clamp(44px, 4.6vw, 75px); }
.hero h1 { font-size: clamp(80px, 7.8vw, 124px); line-height: .90; font-weight: 435; letter-spacing: -.082em; }
.hero h1 em { display: inline-block; padding: 0 .09em .045em 0; color: #e0d5f5; font-family: var(--font-accent); font-size: 1.16em; font-style: italic; font-weight: 400; line-height: .94; letter-spacing: -.068em; }
.hero-copy p { max-width: 34ch; margin-top: 20px; font-size: clamp(15px, 1.23vw, 19px); font-weight: 385; line-height: 1.52; color: #c9c3d0; letter-spacing: -.017em; }
.hero-link { display: inline-flex; align-items: center; gap: 15px; width: fit-content; min-height: 40px; margin-top: 20px; padding: 10px 16px; border-radius: 25px; color: #26212d; background: #ede5f5; font-size: 13px; font-weight: 550; pointer-events: auto; }
.hero-link:hover { background: #fff4ff; }
.hero-link span { font-size: 15px; line-height: 1; }
.art { position: absolute; inset: 0; z-index: -1; }
.art canvas { display: block; width: 100%; height: 100%; }
.motion-tools { pointer-events: auto; position: absolute; bottom: 23px; right: 0; display: flex; align-items: center; border: 1px solid #595364; border-radius: 30px; background: #26232eda; color: #d4cede; }
.motion-tools button { display: inline-flex; align-items: center; justify-content: center; min-height: 35px; min-width: 37px; border-radius: 24px; }
.motion-tools button:hover { background: #3a3546; color: #fff; }
#replay { padding: 3px 12px 3px 8px; font-size: 11px; gap: 5px; }
#replay span { font-size: 16px; }
#pause { position: relative; }
#pause::after { content: ""; position: absolute; height: 13px; width: 1px; right: 0; background: #534d5d; }
.pause-icon { width: 9px; height: 10px; border-inline: 2px solid currentColor; }
#pause[data-stopped] .pause-icon { width: 0; height: 0; border: 0; border-block: 5px solid transparent; border-left: 8px solid currentColor; }

.example { background: var(--surface); }
.example-layout { display: grid; grid-template-columns: minmax(0, .91fr) minmax(0, 1fr); align-items: center; gap: clamp(45px, 9vw, 144px); border-top: 1px solid var(--line); padding-block: clamp(67px, 7.6vw, 124px); }
h2 { font-size: clamp(39px, 4.45vw, 72px); font-weight: 430; line-height: 1.03; letter-spacing: -.069em; }
.question > p, .delivery-intro > p { max-width: 36ch; line-height: 1.63; letter-spacing: -.014em; font-weight: 385; font-size: clamp(15px, 1.16vw, 18px); color: var(--muted); }
.question > p { margin-top: 16px; }
.delivery-choice { min-width: 0; display: inline-flex; margin-top: 25px; gap: 3px; padding: 4px; background: #211e27; border: 1px solid #48414e; border-radius: 30px; }
.delivery-choice label { position: relative; cursor: pointer; }
.delivery-choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.delivery-choice span { display: block; padding: 11px 15px; border: 1px solid transparent; border-radius: 24px; font-size: 13px; line-height: 1.1; color: var(--muted); transition: background .16s, color .16s; }
.delivery-choice input:checked + span { background: #dcd0ee; color: #292333; font-weight: 570; }
.delivery-choice input:focus-visible + span { outline: 2px solid #eee7ff; outline-offset: 3px; }
.delivery-choice label:hover span { color: var(--white); }
.delivery-choice label:hover input:checked + span { color: #292333; background: #eae1f6; }
.example .worlds { position: relative; padding-block: 12px 2px; }
.live-heading { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.live-heading strong { font-weight: 525; font-size: 18px; letter-spacing: -.035em; }
.live-heading > span, .live-fact, .preview-label, .file-meta, .file-caption { font-size: 13px; }
.live-heading > span { color: var(--muted); }
.live-track { position: relative; height: 2px; margin: 15px 2px 12px 0; background: #c3bbc9; }
.live-track i { position: absolute; left: 25px; top: -3px; height: 8px; width: 8px; border: 1.5px solid #f8f2ee; border-radius: 50%; background: var(--surface); }
.live-track b { position: absolute; right: 0; top: -2px; width: 6px; height: 6px; border: solid #c3bbc9; border-width: 1.2px 1.2px 0 0; transform: rotate(45deg); }
.live-fact { margin-left: 54px; line-height: 1.4; color: #ddd7e0; }
.live-fact span { margin-inline: 5px; color: #81788c; }
.branch { position: relative; margin: 32px 0 0 54px; }
.branch::before { content: ""; position: absolute; width: 18px; height: 70px; left: -25px; bottom: calc(100% - 11px); border-left: 1px dashed #a798c5; border-bottom: 1px dashed #a798c5; border-bottom-left-radius: 12px; }
.preview-label { color: #d9cbee; line-height: 1.35; }
.preview-label span { color: var(--quiet); margin-left: 3px; }
.outcome { margin-top: 11px; }
.outcome h3 { font-size: clamp(21px, 2.13vw, 34px); line-height: 1.16; font-weight: 475; letter-spacing: -.051em; color: #e7dbf5; }
.outcome p { margin-top: 8px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.inline-link { display: inline-flex; gap: 8px; align-items: center; min-height: 37px; margin-top: 8px; color: #ece3ee; font-size: 13px; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: #72687b; }
.inline-link:hover { text-decoration-color: currentColor; }

.delivery { background: linear-gradient(180deg, var(--surface), var(--studio) 35%); }
.delivery-layout { border-top: 1px solid var(--line); padding-block: clamp(56px, 6vw, 94px); }
.delivery-intro { display: flex; justify-content: space-between; align-items: end; gap: 25px; margin-bottom: 27px; }
.delivery-intro > p { max-width: 34ch; }
.workspace { max-width: 1120px; border: 1px solid #62596e; border-radius: 13px; margin: 0 auto; overflow: hidden; background: #302d38; }
.workspace-bar, .workspace-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.workspace-bar { padding: 14px 21px; border-bottom: 1px solid #544e60; background: #37323f; font-size: 13px; }
.workspace-name { font-weight: 520; display: inline-flex; align-items: center; gap: 9px; }
.preview-dot { display: inline-block; width: 8px; height: 8px; border: 1.5px solid #c7b8e2; border-radius: 50%; }
#current-method { color: var(--muted); }
.workspace-body { display: grid; grid-template-columns: clamp(160px, 15vw, 210px) 1fr; }
.mail-nav { display: flex; flex-direction: column; padding: 23px 11px; gap: 4px; border-right: 1px solid #514b5a; }
.mail-nav button { display: flex; align-items: center; width: 100%; gap: 12px; padding: 11px 12px; min-height: 39px; border-radius: 6px; color: var(--muted); text-align: left; font-size: 13px; }
.mail-nav button:hover { background: #37323f; }
.mail-nav button[aria-selected="true"] { color: #eee5fa; background: #423b50; }
.glyph { position: relative; display: inline-block; height: 13px; width: 15px; border: 1.3px solid currentColor; border-radius: 2px; flex: none; }
.envelope { height: 11px; overflow: hidden; }
.envelope::after { content: ""; position: absolute; width: 9px; height: 9px; left: 1.7px; top: -5px; transform: rotate(45deg); border: solid currentColor; border-width: 0 1px 1px 0; }
.document { width: 12px; height: 15px; margin-inline: 1.5px; }
.document::after { content: ""; position: absolute; width: 5px; top: 6px; left: 2px; height: 4px; border-block: 1px solid currentColor; }
.chat { height: 11px; border-radius: 5px 5px 5px 1px; }
.reader { min-width: 0; background: #383340; padding: clamp(20px, 2.65vw, 40px) clamp(20px, 3.4vw, 52px); }
.reader [role="tabpanel"] { min-height: 221px; outline-offset: 4px; }
.mail-meta { display: flex; align-items: center; gap: 10px; }
.avatar { display: grid; place-items: center; width: 33px; height: 33px; border-radius: 50%; background: #514858; color: #f1d9d0; font-family: "STIX Two Text", Georgia, serif; font-size: 18px; }
.mail-meta strong, .mail-meta small { display: block; font-size: 13px; }
.mail-meta strong { font-weight: 550; }
.mail-meta small, .mail-meta time, .file-meta, .file-caption { color: var(--muted); }
.mail-meta small, .mail-meta time { font-size: 12px; }
.mail-meta time { margin-left: auto; }
.reader h3 { font-size: clamp(23px, 2.1vw, 32px); font-weight: 485; line-height: 1.16; letter-spacing: -.044em; }
#email-pane h3 { margin-top: 25px; }
#email-copy, .message-bubble p { max-width: 52ch; font-size: 15px; line-height: 1.65; }
#email-copy { margin-top: 10px; color: #e0dbe4; }
.attachment { margin-top: 21px; padding: 10px 12px; display: inline-flex; align-items: center; gap: 9px; background: #443d50; color: #f1e9fb; border: 1px solid #71647f; border-radius: 6px; font-size: 13px; }
.attachment:hover { background: #51465e; }
.attachment-arrow { margin-left: 6px; color: #d4c5e6; }
.file-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 12px; }
.case-file { margin-top: 14px; padding: 21px 24px; background: #c8c2ce; color: #302934; border-radius: 3px; }
.case-file h3 { font-family: "STIX Two Text", Georgia, serif; font-size: 29px; letter-spacing: -.04em; }
.case-file > p { max-width: 55ch; margin-top: 8px; font-size: 14px; line-height: 1.5; }
#private-note { margin-top: 15px; padding: 8px 12px; border-left: 2px solid #856332; background: #ddd0b7; color: #3c332a; }
#private-note strong { font-size: 12px; font-weight: 650; }
#private-note p { margin-top: 3px; font-size: 14px; line-height: 1.4; }
.file-caption { margin-top: 9px; font-size: 12px; line-height: 1.45; }
.message-bubble { display: inline-block; max-width: 44ch; margin-top: 21px; border-radius: 0 12px 12px; padding: 15px 18px; color: #e8e5ee; background: #4a4554; }
.workspace-foot { padding: 11px 20px; background: #312c37; border-top: 1px solid #514957; font-size: 12px; }
.workspace-foot p, .noscript { color: var(--muted); line-height: 1.45; }
.approve { border: 1px solid #6e6379; border-radius: 6px; padding: 8px 11px; color: #ede3f6; font-size: 12px; }
.approve:hover { background: #42384c; }
.approve:disabled { color: #beb4c9; border-color: #5d5266; cursor: default; }
.noscript { margin-top: 15px; }
.site-footer { background: var(--studio); }
.site-footer .frame { border-top: 1px solid var(--line); padding-block: 24px; }
.site-footer .brand { font-size: 20px; }
.top-link { font-size: 12px; padding-block: 10px; color: var(--muted); }

dialog { width: min(415px, calc(100vw - 32px)); border: 1px solid #716279; padding: 29px; border-radius: 14px; background: #352f3d; color: var(--white); }
dialog::backdrop { background: rgb(19 17 25 / .72); }
.close-dialog { position: absolute; right: 13px; top: 9px; padding: 4px 8px; font-size: 24px; color: var(--muted); }
dialog h2 { font-size: 32px; margin-top: 9px; }
dialog p { color: var(--muted); font-size: 14px; margin-top: 14px; line-height: 1.5; }
dialog label { display: block; margin: 19px 0 6px; font-size: 13px; }
dialog input { width: 100%; padding: 10px 12px; border: 1px solid #73687d; background: #2a2531; color: var(--white); border-radius: 6px; }

@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
@media (max-width: 900px) {
  .example-layout { gap: 38px; }
  .hero { height: 555px; }
  .hero h1 { font-size: 82px; }
  .hero-copy p { max-width: 30ch; }
  .delivery-intro > p { max-width: 28ch; }
}
@media (max-width: 680px) {
  :root { --gutter: clamp(20px, 5.8vw, 35px); }
  html { scroll-padding-top: 10px; }
  .navigation { min-height: 62px; }
  .nav-button { font-size: 12px; min-height: 40px; }
  .hero { height: clamp(550px, 76svh, 665px); }
  .hero-copy { top: clamp(36px, 6svh, 57px); }
  .hero h1 { font-size: clamp(65px, 12.5vw, 84px); }
  .hero-copy p { margin-top: 14px; max-width: 33ch; font-size: 15px; line-height: 1.49; }
  .hero-link { margin-top: 15px; }
  .art { inset: 44% 0 4%; }
  .motion-tools { bottom: 13px; }
  .example-layout { display: block; padding-block: 46px 51px; }
  .question h2 br { display: none; }
  .question > p { margin-top: 11px; }
  .delivery-choice { margin-top: 17px; }
  .example .worlds { margin-top: 32px; padding: 1px 0; }
  .live-track i { left: 14px; }
  .live-fact, .branch { margin-left: 43px; }
  .delivery-layout { padding-block: 42px; }
  .delivery-intro { display: block; margin-bottom: 17px; }
  .delivery-intro > p { margin-top: 10px; max-width: 36ch; }
  .workspace-body { display: flex; flex-direction: column; }
  .workspace-bar, .workspace-foot { padding-inline: 13px; }
  .mail-nav { flex-direction: row; padding: 6px 7px; gap: 0; border: 0; border-bottom: 1px solid #514b5a; }
  .mail-nav button { width: auto; justify-content: center; flex: 1; min-height: 37px; padding: 8px 5px; gap: 5px; font-size: 12px; }
  .reader { padding: 18px 14px; }
  .reader [role="tabpanel"] { min-height: 218px; }
  .case-file { padding: 15px; }
  .workspace-foot { align-items: flex-start; flex-wrap: wrap; gap: 7px 14px; }
  .workspace-foot p { flex: 1 1 134px; align-self: center; }
}
@media (max-width: 365px) {
  .nav-button { padding-inline: 10px; }
  .hero { height: 555px; }
  .hero-copy { top: 29px; }
  .hero-copy p { max-width: 29ch; }
  .workspace-foot { display: grid; }
  .approve { justify-self: start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0s !important; }
}
