/* FIXME site. One stylesheet, system fonts, no third-party requests.
   Palette (small and fixed): ground, ink, one muted ink, one hairline, and coral. Violet marks focus and code,
   amber marks "coming soon", green marks a finished thing. Coral is the ink of the product (the circle), so it
   stays small: the circle, the // in the wordmark, one dot per list.
   Motion: quick start, long soft settle, no bounce (--ease). Everything stops under prefers-reduced-motion. */

:root {
  --bg: #FAFAF8;
  --bg-soft: #F2F2EF;
  --ink: #0F1115;
  --ink-2: #565D6A;
  --line: #E3E4E8;
  --line-strong: #CDD0D6;
  --coral: #FF4A2E;
  --coral-text: #C4311A;
  --coral-fill: #D93A1E;
  --violet: #5B47E0;
  --amber: #8A5300;
  --amber-soft: #F6E7CC;
  --green: #137A4C;
  --shadow: 0 1px 2px rgba(15, 17, 21, .04), 0 24px 60px -28px rgba(15, 17, 21, .28);
  --code-bg: #14161B;
  --code-fg: #E8EAF0;
  --code-mut: #8A90A0;

  --font: ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  --ease: cubic-bezier(.22, .75, .12, 1);
  --gutter: clamp(20px, 5vw, 48px);
  --max: 1160px;
  --measure: 40rem;
  --header-h: 64px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0E1014;
    --bg-soft: #151820;
    --ink: #F3F4F7;
    --ink-2: #A2A8B4;
    --line: #232731;
    --line-strong: #363B47;
    --coral: #FF6A50;
    --coral-text: #FF7C65;
    --coral-fill: #CC4430;
    --violet: #9A8BFF;
    --amber: #F0B45A;
    --amber-soft: #2A2214;
    --green: #5ED39B;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 24px 60px -28px rgba(0, 0, 0, .7);
    --code-bg: #0A0C10;
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  overflow-wrap: break-word;
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
code, pre, kbd { font-family: var(--mono); }
code { font-size: .88em; overflow-wrap: anywhere; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 6px; }
::selection { background: color-mix(in srgb, var(--coral) 30%, transparent); }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 999px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: calc(46rem + var(--gutter) * 2); }

/* ---- type ---- */
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -.03em; text-wrap: balance; overflow-wrap: anywhere; }
h1 { font-size: clamp(3.1rem, 10.4vw, 7rem); line-height: .98; letter-spacing: -.045em; }
h2 { font-size: clamp(2.1rem, 5.6vw, 3.75rem); line-height: 1.03; letter-spacing: -.04em; }
h3 { font-size: 1.375rem; line-height: 1.2; letter-spacing: -.02em; font-weight: 650; }
h4 { font-size: 1.0625rem; letter-spacing: -.01em; font-weight: 650; }
p { margin: 0; }
.lede { font-size: clamp(1.15rem, 2.2vw, 1.4rem); line-height: 1.45; color: var(--ink-2); max-width: 34rem; text-wrap: pretty; }
.muted { color: var(--ink-2); }
.mt { margin-top: 1.2rem; }
.small { font-size: .9375rem; }
.eyebrow { font-size: .8125rem; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.center { text-align: center; }
.center .lede { margin-inline: auto; }
kbd { font-size: .85em; font-weight: 500; padding: .12em .5em; border-radius: 6px; background: var(--bg-soft); box-shadow: inset 0 0 0 1px var(--line-strong); white-space: nowrap; }

/* ---- header ---- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--bg); transition: box-shadow .3s var(--ease); }
.site-header.is-stuck { box-shadow: 0 1px 0 var(--line); }
.bar { min-height: var(--header-h); display: flex; flex-wrap: wrap; align-items: center; gap: 4px 28px; padding-block: 6px; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.wordmark { font-weight: 800; letter-spacing: -.03em; font-size: 1.2rem; text-decoration: none; display: inline-flex; gap: .3em; align-items: baseline; }
.wordmark .slashes { color: var(--coral); }
.nav-desktop { display: flex; gap: 28px; margin-left: auto; font-size: .9375rem; font-weight: 500; }
.nav-desktop a { text-decoration: none; color: var(--ink-2); padding-block: 6px; transition: color .2s var(--ease); }
.nav-desktop a:hover, .nav-desktop a[aria-current] { color: var(--ink); }
.bar-end { display: flex; align-items: center; gap: 8px; }
.nav-mobile { display: none; position: relative; }
.nav-mobile summary { list-style: none; cursor: pointer; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 999px; }
.nav-mobile summary::-webkit-details-marker { display: none; }
.nav-mobile svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.nav-mobile[open] summary { background: var(--bg-soft); }
.nav-mobile nav { position: absolute; right: 0; top: 52px; min-width: 220px; background: var(--bg); border-radius: 18px; padding: 8px; box-shadow: var(--shadow), 0 0 0 1px var(--line); display: grid; }
.nav-mobile nav a { padding: 12px 14px; border-radius: 12px; text-decoration: none; font-weight: 550; }
.nav-mobile nav a:hover { background: var(--bg-soft); }
@media (max-width: 760px) {
  .nav-desktop { display: none; }
  .bar-end { margin-left: auto; }
  .nav-mobile { display: block; }
}

/* ---- buttons ---- */
.btn { --h: 52px; display: inline-flex; align-items: center; justify-content: center; gap: .5em; height: var(--h); padding-inline: 1.55em; border-radius: 999px; font: 600 1.0625rem/1 var(--font); letter-spacing: -.01em; text-decoration: none; cursor: pointer; border: 0;
  transition: transform .18s var(--ease), background-color .2s var(--ease), box-shadow .2s var(--ease); }
.btn:active { transform: scale(.98); }
.btn .app-icon { width: 28px; height: 28px; flex: none; margin-left: -.7em; }
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { background: color-mix(in srgb, var(--ink) 86%, var(--bg)); text-decoration: none; }
.btn-secondary { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.btn-secondary:hover { box-shadow: inset 0 0 0 1.5px var(--ink); text-decoration: none; }
.btn-small { --h: 38px; font-size: .9375rem; padding-inline: 1.1em; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.center .btn-row { justify-content: center; }

/* ---- sections ---- */
.section { padding-block: clamp(4.5rem, 11vw, 9rem); }
.section-tight { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section-head { max-width: 46rem; margin-inline: auto; text-align: center; display: grid; gap: 1.1rem; justify-items: center; }
.section-head .lede { max-width: 32rem; }
.rule-top { border-top: 1px solid var(--line); }

/* ---- hero ---- */
.hero { padding-top: clamp(3.5rem, 9vw, 7rem); text-align: center; }
.hero h1 { display: grid; justify-items: center; }
.hero h1 .line { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 .26em; }
.hero .lede { margin: clamp(1.2rem, 2.4vw, 1.8rem) auto 0; }
.hero .btn-row { justify-content: center; margin-top: clamp(1.6rem, 3vw, 2.2rem); }
.hero .note { margin-top: 1rem; color: var(--ink-2); font-size: .9375rem; }
.w { display: inline-block; }
.circled { position: relative; display: inline-block; }
.circled svg { max-width: none; position: absolute; left: -15%; top: -19%; width: 130%; height: 146%; overflow: visible; pointer-events: none; }
.circled path { fill: none; stroke: var(--coral); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.hero .stage { margin-top: clamp(2.5rem, 6vw, 4.5rem); }

@media (prefers-reduced-motion: no-preference) {
  .hero .w { opacity: 0; transform: translateY(8px); filter: blur(10px); animation: arrive .7s var(--ease) forwards; }
  .hero .w1 { animation-delay: .1s; }
  .hero .w2 { animation-delay: .2s; }
  .hero .w3 { animation-delay: .3s; }
  .hero .w4 { animation-delay: .42s; }
  .hero .w5 { animation-delay: .52s; }
  .hero .w6 { animation-delay: .62s; }
  .circled path { stroke-dashoffset: 1; animation: draw 1.05s var(--ease) 1.1s forwards; }
  .hero .rise { opacity: 0; transform: translateY(10px); animation: rise .8s var(--ease) forwards; }
  .hero .rise-1 { animation-delay: 1.3s; }
  .hero .rise-2 { animation-delay: 1.45s; }
  .hero .rise-3 { animation-delay: 1.6s; }
  .hero .stage { opacity: 0; transform: translateY(16px) scale(.985); animation: rise .9s var(--ease) 1.7s forwards; }
}
@keyframes arrive { to { opacity: 1; transform: none; filter: none; } }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---- stages: clips with posters ---- */
.stage { position: relative; width: 100%; max-width: var(--max); margin-inline: auto; }
.stage-media { position: relative; overflow: hidden; border-radius: 0; }
.stage-media img, .stage-media video { width: 100%; height: auto; }
.stage-media video { position: absolute; inset: 0; height: 100%; opacity: 0; transition: opacity .35s var(--ease); background: var(--bg); }
.stage.is-playing video, .stage.is-done video, .stage.is-paused video { opacity: 1; }
.poster-end { display: none; }
.poster-still { display: block; }
@media (prefers-reduced-motion: reduce) {
  .poster-start { display: none; }
  .poster-end { display: block; }
}
.stage-framed .stage-media { border-radius: clamp(14px, 2.2vw, 26px); box-shadow: var(--shadow), 0 0 0 1px var(--line); }
.stage-btn { position: absolute; right: 12px; bottom: 12px; width: 44px; height: 44px; border-radius: 999px; border: 0; cursor: pointer; display: grid; place-items: center; color: var(--ink); background: color-mix(in srgb, var(--bg) 86%, transparent); box-shadow: 0 0 0 1px var(--line-strong); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); opacity: .85; transition: opacity .2s var(--ease), transform .18s var(--ease); }
.stage-btn:hover, .stage-btn:focus-visible { opacity: 1; }
.stage-btn:active { transform: scale(.95); }
.stage-btn[hidden] { display: none; }
.stage-btn svg { width: 20px; height: 20px; fill: currentColor; grid-area: 1 / 1; }
.stage-btn .i-pause, .stage-btn .i-replay { display: none; }
.stage.is-playing .stage-btn .i-play, .stage.is-done .stage-btn .i-play { display: none; }
.stage.is-playing .stage-btn .i-pause { display: block; }
.stage.is-done .stage-btn .i-replay { display: block; }
/* A clip that has not been started (Reduce Motion, or the browser refused to autoplay): a larger, centred play button. */
.stage.is-idle.is-manual .stage-btn { right: 50%; bottom: 50%; transform: translate(50%, 50%); width: 64px; height: 64px; opacity: 1; background: color-mix(in srgb, var(--ink) 92%, transparent); color: var(--bg); box-shadow: var(--shadow); }
.stage.is-idle.is-manual .stage-btn:active { transform: translate(50%, 50%) scale(.96); }
.stage.is-idle.is-manual .stage-btn svg { width: 26px; height: 26px; margin-left: 3px; }
.ar-12-5 .stage-media { aspect-ratio: 12 / 5; }
@media (max-width: 640px) { .mode .stage { width: calc(100% + var(--gutter) * 2); max-width: none; margin-inline: calc(var(--gutter) * -1); } }
.ar-8-5 .stage-media { aspect-ratio: 8 / 5; }
.ar-16-9 .stage-media { aspect-ratio: 16 / 9; }
.still { display: block; }
.stage-slot { margin-top: clamp(2.5rem, 6vw, 4rem); }
.helper { max-width: 40rem; margin: clamp(3rem, 7vw, 5rem) auto 0; text-align: center; display: grid; gap: .9rem; justify-items: center; }
.helper h3 { font-size: clamp(1.8rem, 3.8vw, 2.5rem); letter-spacing: -.04em; line-height: 1.08; }
.helper p { color: var(--ink-2); font-size: 1.125rem; text-wrap: pretty; }
.beats-label { margin-top: clamp(4rem, 9vw, 7rem); }
.beats-label + .beats { margin-top: 1.5rem; }
.shot { display: block; width: 100%; max-width: 300px; height: auto; margin-inline: auto; }
.paste { margin-bottom: 1.4rem; }
.paste-label { font-size: .75rem; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); margin-bottom: .6rem; }
.ticket-media .scroll + figcaption { margin-top: .9rem; }
.still img { width: 100%; height: auto; }

/* ---- how it works ---- */
.beats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 3.5rem); margin-top: clamp(3rem, 6vw, 5rem); counter-reset: beat; list-style: none; padding: 0; }
.beat { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.1rem; align-content: start; min-width: 0; }
.beat .shot { margin-bottom: .4rem; }
.beat .num { font-size: .8125rem; font-weight: 650; letter-spacing: .1em; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.beat h3 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); letter-spacing: -.03em; }
.beat p { color: var(--ink-2); text-wrap: pretty; }
@media (max-width: 860px) { .beats { grid-template-columns: minmax(0, 1fr); max-width: 30rem; margin-inline: auto; } }

/* ---- what you get ---- */
.mode { display: grid; gap: clamp(1.8rem, 4vw, 3rem); margin-top: clamp(4rem, 9vw, 7.5rem); justify-items: center; text-align: center; }
.mode-text { max-width: 38rem; display: grid; gap: 1rem; justify-items: center; }
.mode-text h3 { font-size: clamp(2rem, 4.6vw, 3rem); letter-spacing: -.04em; line-height: 1.05; }
.mode-text p { color: var(--ink-2); font-size: 1.125rem; text-wrap: pretty; }
.mode-text .tag { font-size: .8125rem; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; color: var(--coral-text); }

.ticket { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; margin-top: clamp(4rem, 9vw, 7.5rem); }
.ticket-head { display: grid; gap: 1rem; margin-bottom: 2rem; }
.ticket-head h3 { font-size: clamp(2rem, 4.6vw, 3rem); letter-spacing: -.04em; line-height: 1.05; }
.ticket-head p { color: var(--ink-2); font-size: 1.125rem; max-width: 30rem; text-wrap: pretty; }
.facts { margin: 0; padding: 0; display: grid; }
.facts > div { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: 1.25rem; padding-block: 1rem; border-top: 1px solid var(--line); }
.facts > div:last-child { border-bottom: 1px solid var(--line); }
.facts dt { font-weight: 650; letter-spacing: -.01em; }
.facts dd { margin: 0; color: var(--ink-2); text-wrap: pretty; }
.beat-note { min-width: 0; aspect-ratio: 4 / 3; border-radius: 20px; background: var(--bg-soft); display: grid; align-content: center; gap: 1rem; padding: clamp(1rem, 3vw, 1.6rem); font: .8125rem/1.6 var(--mono); overflow-wrap: anywhere; box-shadow: inset 0 0 0 1px var(--line); }
.paper { margin: 0; background: var(--bg-soft); box-shadow: inset 0 0 0 1px var(--line); border-radius: 16px; padding: 1.1rem 1.25rem; font-size: .75rem; line-height: 1.7; white-space: pre-wrap; overflow-wrap: anywhere; color: var(--ink); }
.paper code { font-size: inherit; }
.ticket-media { position: sticky; top: calc(var(--header-h) + 24px); }
.ticket-media figcaption, .mode figcaption { margin-top: .9rem; color: var(--ink-2); font-size: .9375rem; text-align: center; }
@media (max-width: 900px) {
  .ticket { grid-template-columns: 1fr; }
  .ticket-media { position: static; order: -1; }
  .ticket-head { margin-bottom: 1.25rem; }
}
@media (max-width: 520px) { .facts > div { grid-template-columns: 1fr; gap: .25rem; } }

.also { margin-top: clamp(4rem, 9vw, 7.5rem); }
.also h3 { font-size: clamp(2rem, 4.6vw, 3rem); letter-spacing: -.04em; line-height: 1.05; text-align: center; margin-bottom: clamp(2rem, 4vw, 3rem); }
.also-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(2rem, 6vw, 5rem); margin: 0; padding: 0; list-style: none; }
.also-list li { padding-block: 1.15rem; border-top: 1px solid var(--line); display: grid; gap: .3rem; align-content: start; }
.also-list h4 { display: flex; gap: .6em; align-items: baseline; }
.also-list h4::before { content: ""; width: .5em; height: .5em; border-radius: 50%; background: var(--coral); flex: none; transform: translateY(-.08em); }
.also-list p { color: var(--ink-2); padding-left: 1.1em; text-wrap: pretty; }
@media (max-width: 760px) { .also-list { grid-template-columns: 1fr; } }

/* ---- works with ---- */
.works { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2.5rem, 7vw, 6rem); margin-top: clamp(3rem, 6vw, 4.5rem); }
.works h3 { margin-bottom: 1.1rem; }
.names { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.names li { padding: .5rem 1rem; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--line-strong); font-weight: 550; letter-spacing: -.01em; }
.plain { margin-top: 1.1rem; color: var(--ink-2); max-width: 30rem; text-wrap: pretty; }
.platforms { margin: 0; padding: 0; list-style: none; display: grid; }
.platforms li { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .95rem; border-top: 1px solid var(--line); }
.platforms .what { display: grid; gap: .1rem; }
.platforms li:last-child { border-bottom: 1px solid var(--line); }
.platforms strong { font-weight: 650; letter-spacing: -.01em; }
.platforms span { color: var(--ink-2); font-size: .9375rem; }
.status { font-size: .8125rem !important; font-weight: 650; padding: .2rem .65rem; border-radius: 999px; }
.status-ok { color: var(--green) !important; box-shadow: inset 0 0 0 1.5px currentColor; }
.status-soon { color: var(--amber) !important; background: var(--amber-soft); }
@media (max-width: 860px) { .works { grid-template-columns: 1fr; } }

/* ---- privacy ---- */
.promises { max-width: 46rem; margin: clamp(2.5rem, 5vw, 4rem) auto 0; padding: 0; list-style: none; display: grid; }
.promises li { padding-block: 1.1rem; border-top: 1px solid var(--line); display: grid; gap: .25rem; }
.promises li:last-child { border-bottom: 1px solid var(--line); }
.promises h3 { font-size: 1.125rem; letter-spacing: -.015em; }
.promises p { color: var(--ink-2); text-wrap: pretty; }
.after { margin-top: 2rem; text-align: center; }

/* ---- pricing ---- */
.price { text-align: center; display: grid; justify-items: center; gap: 1.4rem; }
.price .amount { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; font-size: clamp(3rem, 18vw, 10rem); font-weight: 750; letter-spacing: -.06em; line-height: .9; font-variant-numeric: tabular-nums; }
.price .amount small { font-size: .28em; letter-spacing: -.02em; font-weight: 600; color: var(--ink-2); margin-left: .25em; }
.price-list { margin: 0; padding: 0; list-style: none; display: grid; gap: .6rem; max-width: 30rem; text-align: left; }
.price-list li { display: grid; grid-template-columns: 1.4rem 1fr; gap: .7rem; align-items: start; }
.price-list li::before { content: ""; width: 1rem; height: .55rem; margin-top: .4rem; border-left: 2.5px solid var(--green); border-bottom: 2.5px solid var(--green); transform: rotate(-45deg) scale(.8); }
.try { max-width: 34rem; color: var(--ink-2); text-wrap: pretty; }
.try strong { color: var(--ink); font-weight: 650; }

/* ---- faq ---- */
.faq { max-width: 46rem; margin: clamp(2.5rem, 5vw, 4rem) auto 0; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding-block: 1.25rem; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; font-size: 1.1875rem; font-weight: 600; letter-spacing: -.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: .6rem; height: .6rem; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: rotate(45deg) translateY(-2px); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.faq .answer { padding: 0 0 1.4rem; color: var(--ink-2); max-width: 40rem; display: grid; gap: .8rem; text-wrap: pretty; }
.faq .answer a { color: var(--ink); }

/* ---- footer ---- */
.site-footer { border-top: 1px solid var(--line); padding-block: clamp(3rem, 6vw, 4.5rem) 2.5rem; margin-top: clamp(2rem, 5vw, 4rem); font-size: .9375rem; }
.foot-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 3rem; }
.foot-brand { display: grid; gap: .8rem; align-content: start; color: var(--ink-2); max-width: 18rem; }
.foot-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; }
.foot-cols h2 { font-size: .8125rem; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); margin-bottom: .9rem; }
.foot-cols a { display: block; padding-block: .3rem; text-decoration: none; overflow-wrap: anywhere; }
.foot-cols a:hover { text-decoration: underline; }
.foot-note { margin-top: 3rem; color: var(--ink-2); font-size: .8125rem; max-width: 46rem; }
@media (max-width: 900px) { .foot-top { grid-template-columns: 1fr; } .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---- reveal (type arrives softly) ---- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(14px); filter: blur(8px); transition: opacity .8s var(--ease), transform .8s var(--ease), filter .8s var(--ease); }
  .js .reveal.in { opacity: 1; transform: none; filter: none; }
  .js .reveal-2 { transition-delay: .1s; }
  .js .reveal-3 { transition-delay: .2s; }
}

/* ---- docs and legal pages ---- */
.page { padding-block: clamp(3rem, 8vw, 6rem) clamp(4rem, 9vw, 7rem); }
.page-head { display: grid; gap: 1rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.page-head h1 { font-size: clamp(2.6rem, 7vw, 4.5rem); letter-spacing: -.045em; }
.page-head .lede { max-width: 38rem; }
.doc { display: grid; grid-template-columns: 13rem minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.doc-nav { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 1.4rem; font-size: .9375rem; }
.doc-nav h2 { font-size: .75rem; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); margin-bottom: .4rem; }
.doc-nav a { display: block; padding-block: .25rem; color: var(--ink-2); text-decoration: none; }
.doc-nav a:hover, .doc-nav a[aria-current] { color: var(--ink); }
.prose { max-width: var(--measure); min-width: 0; overflow-wrap: anywhere; }
.prose > * + * { margin-top: 1.1rem; }
.prose h2 { font-size: clamp(1.7rem, 3.4vw, 2.2rem); letter-spacing: -.035em; margin-top: 3.2rem; scroll-margin-top: calc(var(--header-h) + 16px); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 2rem; font-size: 1.25rem; }
.prose ul, .prose ol { padding-left: 1.3rem; display: grid; gap: .5rem; }
.prose li::marker { color: var(--ink-2); }
.prose p, .prose li { text-wrap: pretty; }
.prose a { color: var(--ink); }
.prose :not(pre) > code { background: var(--bg-soft); padding: .1em .38em; border-radius: 6px; }
.prose .stage { max-width: none; margin-block: 1.6rem; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin-block: 2.5rem; }
.callout { padding: 1rem 1.2rem; border-radius: 14px; background: var(--bg-soft); box-shadow: inset 3px 0 0 var(--coral); color: var(--ink); }
.callout p { margin: 0; }
.steps { counter-reset: s; list-style: none; padding: 0 !important; display: grid; gap: 1.6rem !important; }
.steps > li { counter-increment: s; display: grid; grid-template-columns: 2.4rem minmax(0, 1fr); gap: .25rem 1rem; }
.steps > li::before { content: counter(s); grid-row: span 3; width: 2.4rem; height: 2.4rem; border-radius: 50%; display: grid; place-items: center; font-weight: 650; font-variant-numeric: tabular-nums; box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.steps > li > * { grid-column: 2; min-width: 0; }
.steps > li > strong:first-child { font-size: 1.125rem; letter-spacing: -.015em; }
.scroll { overflow-x: auto; max-width: 100%; }
table { border-collapse: collapse; width: 100%; font-size: .9375rem; }
th, td { text-align: left; padding: .7rem .8rem .7rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { font-size: .75rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
tbody th { font-weight: 600; }
.code { position: relative; margin-block: 1rem; }
.code pre { margin: 0; background: var(--code-bg); color: var(--code-fg); border-radius: 14px; padding: 1rem 1.2rem; overflow-x: auto; font-size: .8125rem; line-height: 1.65; }
.code .copy { position: absolute; top: .6rem; right: .6rem; border: 0; border-radius: 8px; padding: .35rem .7rem; font: 600 .75rem var(--font); background: rgba(255, 255, 255, .1); color: var(--code-fg); cursor: pointer; }
.code .copy:hover { background: rgba(255, 255, 255, .2); }
.code .copy[hidden] { display: none; }
.tool { padding-block: 2rem; border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 1fr); gap: .6rem; }
.tool h3 { margin: 0; font-size: 1.15rem; }
.tool .when { font-size: .75rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--violet); }
.tool .ty { font: .75rem var(--mono); color: var(--ink-2); margin-right: .4em; }
.params th { width: 9rem; font-weight: 500; white-space: nowrap; }
.cfg { margin-top: 1.6rem; }
.cfg h3 { margin-top: 0; }
@media (max-width: 860px) { .doc { grid-template-columns: 1fr; } .doc-nav { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .doc-nav { grid-template-columns: 1fr; } }
.tile-links { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.tile-links li { border-top: 1px solid var(--line); }
.tile-links li:last-child { border-bottom: 1px solid var(--line); }
.tile-links a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .2rem 1rem; padding-block: 1.4rem; text-decoration: none; align-items: baseline; }
.tile-links a:hover h2 { text-decoration: underline; }
.tile-links h2 { font-size: 1.6rem; letter-spacing: -.03em; }
.tile-links p { grid-column: 1; color: var(--ink-2); }
.tile-links .go { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-size: 1.4rem; color: var(--ink-2); }

/* ---- activate, thanks, 404 ---- */
.solo { min-height: calc(100svh - var(--header-h) - 220px); display: grid; align-content: center; justify-items: center; text-align: center; gap: 1.4rem; padding-block: clamp(3rem, 8vw, 6rem); }
.solo h1 { font-size: clamp(2.6rem, 8vw, 5rem); letter-spacing: -.045em; }
.keybox { font: 600 clamp(1rem, 3.4vw, 1.5rem) var(--mono); letter-spacing: .02em; padding: 1rem 1.4rem; border-radius: 16px; background: var(--bg-soft); box-shadow: inset 0 0 0 1px var(--line); overflow-wrap: anywhere; user-select: all; max-width: 100%; }
.status-line { min-height: 1.6em; color: var(--ink-2); }
#found { display: grid; gap: 1.2rem; justify-items: center; max-width: 100%; }
#found[hidden], #missing[hidden] { display: none; }
#missing { display: grid; gap: 1.2rem; justify-items: center; }
.next-steps { margin-top: clamp(2.5rem, 5vw, 4rem); max-width: none; }
.next { text-align: left; max-width: 34rem; width: 100%; }
.big404 { position: relative; display: inline-block; font-size: clamp(4rem, 24vw, 14rem); font-weight: 750; letter-spacing: -.06em; line-height: 1; }
.big404 svg { max-width: none; position: absolute; left: -9%; top: -6%; width: 118%; height: 112%; overflow: visible; }
.big404 path { fill: none; stroke: var(--coral); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
@media (prefers-reduced-motion: no-preference) { .big404 path { stroke-dashoffset: 1; animation: draw 1.1s var(--ease) .4s forwards; } }

@media print {
  .site-header, .site-footer .foot-cols, .stage-btn { display: none; }
}
