@font-face { font-family: "Satoshi"; src: url("../fonts/satoshi-variable.woff2") format("woff2"); font-weight: 300 900; font-style: normal; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/jetbrains-mono-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/jetbrains-mono-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

/* Layout: an Apple-style product page told in Milk & Light. One matte object at a time on a milk floor,
   pinned scenes that pour from one idea into the next, one night band for the main event.
   A single light look by design; the night band is part of it, not a theme. */
:root {
  color-scheme: light;
  /* milk */
  --milk: #efeef3;
  --porcelain: #faf9fc;
  --mist: #e4e2ea;
  --haze: #c9c7d3;
  --hairline: #dcdae3;
  --raised-1: #f7f6fa;
  --raised-2: #e6e5ec;
  --sunken-1: #e4e2ea;
  --sunken-2: #f1f0f5;
  --veil: rgba(239, 238, 243, 0.74);
  /* ink */
  --ink: #1b1a21;
  --slate: #5e5c73;
  --slate-2: #6b697c;
  --muted: #7d7b8f;
  --ink-button: #1e1d24;
  --on-ink: #f4f3f8;
  /* night */
  --night: #17161c;
  --night-2: #1f1e26;
  --night-line: #2f2d39;
  --night-veil: rgba(23, 22, 28, 0.74);
  --on-night: #f1f0f6;
  --night-muted: #a3a1b5;
  /* light */
  --halo: #8f7dff;
  --halo-ink: #5b47d6;
  --lavender: #d3c2f0;
  --caution: #a34a0a;
  --caution-night: #ffb27a;
  --iris: linear-gradient(115deg, #f0dcff 0%, #ff8e94 30%, #d95ddf 62%, #9081df 100%);
  /* depth (made to touch) */
  --raised-xs: -3px -3px 8px #ffffff, 3px 4px 8px rgba(146, 142, 172, 0.36);
  --raised-sm: -5px -5px 12px #ffffff, 6px 7px 14px rgba(146, 142, 172, 0.40);
  --raised-md: -10px -10px 24px #ffffff, 12px 14px 28px rgba(146, 142, 172, 0.40);
  --raised-card: -10px -10px 26px rgba(255, 255, 255, 0.9), 14px 16px 34px rgba(146, 142, 172, 0.28);
  --inset-sm: inset 4px 5px 10px rgba(146, 142, 172, 0.40), inset -4px -4px 9px #ffffff;
  --inset-md: inset 8px 9px 16px rgba(146, 142, 172, 0.42), inset -8px -8px 16px #ffffff;
  --depth-ink: -5px -5px 12px #ffffff, 6px 8px 16px rgba(30, 29, 36, 0.30), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  --depth-ink-pressed: inset 3px 4px 8px rgba(0, 0, 0, 0.55), inset -2px -2px 6px rgba(255, 255, 255, 0.08);
  --glow-sm: 0 0 0 1px rgba(172, 160, 255, 0.9), 0 0 8px 2px rgba(143, 125, 255, 0.5), 0 0 22px 6px rgba(143, 125, 255, 0.18);
  --glow-dot: 0 0 3px 1px #ffffff, 0 0 12px 4px rgba(143, 125, 255, 0.8), 0 0 30px 10px rgba(143, 125, 255, 0.32);
  --ring-focus: 0 0 0 2px var(--milk), 0 0 0 4px var(--halo-ink);
  /* type */
  --font-sans: "Satoshi", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --t-display: clamp(52px, 8.6vw, 148px);
  --t-h2: clamp(40px, 6.2vw, 96px);
  --t-h3: clamp(21px, 1.7vw, 26px);
  --t-lead: clamp(18px, 1.55vw, 23px);
  /* motion */
  --ease-pour: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-press: cubic-bezier(0.32, 0, 0.67, 0);
  --dur-quick: 240ms;
  --dur-glide: 480ms;
  --dur-settle: 720ms;
  /* shape */
  --r-md: 18px;
  --r-lg: 28px;
  --r-xl: 36px;
  --r-pill: 999px;
  --nav-h: 56px;
  --wrap: 1240px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--milk); color: var(--ink);
  font-family: var(--font-sans); font-size: 17px; line-height: 1.55; font-weight: 400; letter-spacing: -0.003em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--milk); }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }
p { text-wrap: pretty; }
ol, ul { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: none; box-shadow: var(--ring-focus); border-radius: 8px; }
.sr { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.fig { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; letter-spacing: -0.02em; }
.ico { width: 16px; height: 16px; flex: none; }
.nw { white-space: nowrap; }
[id] { scroll-margin-top: calc(var(--nav-h) + 24px); }

.wrap {
  max-width: calc(var(--wrap) + 2 * 48px); margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 720px) { .wrap { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); } }
@media (min-width: 1200px) { .wrap { padding-left: max(48px, env(safe-area-inset-left, 0px)); padding-right: max(48px, env(safe-area-inset-right, 0px)); } }

.skip { position: absolute; left: 16px; top: -64px; z-index: 80; padding: 10px 16px; border-radius: var(--r-pill); background: var(--ink-button); color: var(--on-ink); text-decoration: none; font-size: 14px; }
.skip:focus { top: calc(env(safe-area-inset-top, 0px) + 12px); }

/* ---------- type ---------- */
.eyebrow { font: 500 12px/1 var(--font-mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--slate); }
.display { font-size: var(--t-display); line-height: 0.96; letter-spacing: -0.048em; font-weight: 500; text-wrap: balance; }
.h2 { font-size: var(--t-h2); line-height: 1; letter-spacing: -0.042em; font-weight: 500; text-wrap: balance; }
.eyebrow + .h2 { margin-top: 22px; }
.lead { font-size: var(--t-lead); line-height: 1.42; letter-spacing: -0.012em; color: var(--slate); max-width: 34em; text-wrap: pretty; }
.h2 + .lead { margin-top: 24px; }
h3 { font-size: var(--t-h3); line-height: 1.18; font-weight: 500; letter-spacing: -0.022em; text-wrap: balance; }
.note { font: 500 12px/1.4 var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate-2); }
.head { max-width: 860px; }
.head--center { margin-inline: auto; text-align: center; }
.head--center .lead { margin-inline: auto; }
.section { padding-block: clamp(104px, 13vw, 184px); }

/* ---------- buttons, chips, links ---------- */
.btn {
  --depth: var(--raised-sm);
  appearance: none; border: 0; margin: 0; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 28px; border-radius: var(--r-pill); text-decoration: none; white-space: nowrap;
  font: 500 16px/1 var(--font-sans); letter-spacing: -0.008em; color: var(--ink);
  background: linear-gradient(145deg, var(--raised-1), var(--raised-2)); box-shadow: var(--depth);
  transition: box-shadow var(--dur-quick) var(--ease-pour), filter var(--dur-quick) var(--ease-pour), transform 120ms var(--ease-press), background-color var(--dur-quick);
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { --depth: var(--raised-md); }
.btn:active { --depth: var(--inset-sm); background: linear-gradient(145deg, var(--sunken-1), var(--sunken-2)); transform: scale(0.99); }
.btn:focus-visible { box-shadow: var(--depth), var(--ring-focus); border-radius: var(--r-pill); }
.btn--ink { --depth: var(--depth-ink); color: var(--on-ink); background: var(--ink-button); }
.btn--ink:hover { --depth: var(--depth-ink); filter: brightness(1.22); }
.btn--ink:active { --depth: var(--depth-ink-pressed); background: var(--ink-button); filter: none; }
.btn--sm { height: 36px; padding: 0 16px; font-size: 14px; --depth: var(--raised-xs); }
.btn--sm.btn--ink { --depth: 0 1px 0 rgba(255, 255, 255, 0.14) inset, 0 4px 12px rgba(30, 29, 36, 0.22); }
.btn--light { --depth: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 10px 30px rgba(0, 0, 0, 0.35); color: var(--ink); background: var(--on-night); }
.btn--light:hover { --depth: 0 0 0 1px rgba(255, 255, 255, 0.2), 0 10px 34px rgba(143, 125, 255, 0.35); }
.btn--light:active { --depth: inset 0 2px 6px rgba(0, 0, 0, 0.25); background: #e5e3ee; }
.btn--light:focus-visible { box-shadow: var(--depth), 0 0 0 2px var(--night), 0 0 0 4px var(--halo); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: var(--r-pill);
  font: 500 12px/1 var(--font-sans); color: var(--slate); white-space: nowrap;
  background: linear-gradient(145deg, var(--raised-1), var(--raised-2)); box-shadow: var(--raised-xs);
}
.chip--night { color: var(--night-muted); background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px var(--night-line); }
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; text-decoration: none; color: var(--ink); }
.link .ico { transition: transform var(--dur-glide) var(--ease-pour); }
.link:hover .ico { transform: translateX(4px); }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50; padding-top: env(safe-area-inset-top, 0px);
  color: var(--ink); transition: background-color 400ms var(--ease-pour), box-shadow 400ms var(--ease-pour), color 400ms var(--ease-pour);
}
.nav.is-scrolled { background: var(--veil); box-shadow: 0 1px 0 rgba(27, 26, 33, 0.07); -webkit-backdrop-filter: saturate(1.6) blur(22px); backdrop-filter: saturate(1.6) blur(22px); }
.nav.is-night { color: var(--on-night); background: var(--night-veil); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06); }
.nav__in { height: var(--nav-h); display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 24px; }
.nav__brand { grid-column: 1; justify-self: start; }
.nav__links { grid-column: 2; }
.nav__end { grid-column: 3; justify-self: end; }
.nav__brand { display: inline-flex; align-items: center; height: 40px; text-decoration: none; border-radius: 8px; }
.nav__brand svg { height: 20px; width: auto; display: block; }
.nav__links { display: flex; gap: clamp(18px, 2.4vw, 34px); font-size: 14px; }
.nav__links a { text-decoration: none; opacity: 0.78; transition: opacity var(--dur-quick); border-radius: 6px; }
.nav__links a:hover { opacity: 1; }
.nav__end { display: flex; align-items: center; gap: 10px; }
.nav.is-night .btn--ink { background: var(--on-night); color: var(--ink); --depth: none; }
.nav__menu { display: none; width: 40px; height: 40px; border: 0; background: transparent; border-radius: 10px; cursor: pointer; position: relative; -webkit-tap-highlight-color: transparent; }
.nav__menu i { position: absolute; left: 11px; right: 11px; height: 1.5px; border-radius: 2px; background: currentColor; transition: transform var(--dur-glide) var(--ease-pour), top var(--dur-glide) var(--ease-pour); }
.nav__menu i:first-of-type { top: 16px; }
.nav__menu i:last-of-type { top: 23px; }
.menu-open .nav__menu i:first-of-type { top: 19.5px; transform: rotate(45deg); }
.menu-open .nav__menu i:last-of-type { top: 19.5px; transform: rotate(-45deg); }
@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__menu { display: inline-block; }
}
@media (max-width: 380px) { .nav__end .btn--sm { display: none; } }

.sheet { position: fixed; inset: 0; z-index: 45; background: var(--milk); padding-top: calc(env(safe-area-inset-top, 0px) + var(--nav-h)); overflow-y: auto; }
.sheet__in { display: flex; flex-direction: column; gap: 6px; padding-block: 28px max(32px, env(safe-area-inset-bottom, 0px)); }
.sheet__in a:not(.btn) { font-size: clamp(30px, 8vw, 44px); letter-spacing: -0.035em; font-weight: 500; text-decoration: none; padding: 6px 0; border-radius: 8px; }
.sheet__in .btn { margin-top: 24px; align-self: flex-start; }
.menu-open { overflow: hidden; }
.menu-open .nav { background: var(--milk); color: var(--ink); box-shadow: none; }
html.motion-ok .sheet:not([hidden]) .sheet__in > * { animation: sheet-in 560ms var(--ease-pour) both; }
html.motion-ok .sheet:not([hidden]) .sheet__in > *:nth-child(2) { animation-delay: 30ms; }
html.motion-ok .sheet:not([hidden]) .sheet__in > *:nth-child(3) { animation-delay: 60ms; }
html.motion-ok .sheet:not([hidden]) .sheet__in > *:nth-child(4) { animation-delay: 90ms; }
html.motion-ok .sheet:not([hidden]) .sheet__in > *:nth-child(5) { animation-delay: 120ms; }
html.motion-ok .sheet:not([hidden]) .sheet__in > *:nth-child(6) { animation-delay: 150ms; }
html.motion-ok .sheet:not([hidden]) .sheet__in > *:nth-child(7) { animation-delay: 180ms; }
@keyframes sheet-in { from { opacity: 0; transform: translateY(14px); } }

/* ---------- reveals ---------- */
html.motion-ok [data-reveal] { transition: opacity 900ms var(--ease-pour), transform 900ms var(--ease-pour); transition-delay: var(--delay, 0ms); }
html.motion-ok [data-reveal]:not(.is-in) { opacity: 0; transform: translate3d(0, 32px, 0); }

/* =====================================================================================
   1. The sequence. Static by default (stacked steps with stills); pinned and scrubbed with motion.
   ===================================================================================== */
.seq { position: relative; background: var(--milk); }
html.motion-ok .seq { background: radial-gradient(120% 70% at 50% 0%, var(--porcelain) 0%, var(--milk) 62%); }
.seq__mark { position: absolute; left: 0; top: 0; width: 1px; height: 1px; }
.seq__stage { position: relative; }
.seq__media { display: none; }
.seq__rail { display: none; }
.seq__labels { display: none; }

/* static layout */
.seq__steps { display: flex; flex-direction: column; }
.seq__step { padding-block: clamp(72px, 10vw, 140px) 0; text-align: center; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.seq__step .lead { margin-inline: auto; }
.seq__step .note { margin-top: 18px; }
.seq__fig { margin: clamp(20px, 3vw, 36px) auto 0; max-width: 1100px; }
.seq__fig img { width: 100%; }
.seq__step--a { padding-top: calc(env(safe-area-inset-top, 0px) + var(--nav-h) + clamp(48px, 9vw, 120px)); }
.seq__fig--a { margin-top: clamp(8px, 2vw, 24px); }
.seq__step--d { padding-bottom: clamp(72px, 10vw, 140px); }
.hero__top { display: flex; flex-direction: column; align-items: center; gap: clamp(20px, 3vw, 30px); }
.hero__bottom { display: flex; flex-direction: column; align-items: center; gap: 22px; margin-top: clamp(28px, 4vw, 40px); }
.hero__lead { font-size: var(--t-lead); line-height: 1.4; letter-spacing: -0.012em; color: var(--slate); max-width: 30em; text-wrap: balance; }
.hero__bottom .actions { justify-content: center; }
.hero__cue { display: none; }
.display .line { display: inline-block; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; max-width: 100%; height: 34px; padding: 0 16px 0 12px; border-radius: var(--r-pill); text-decoration: none;
  font-size: 13px; color: var(--slate); white-space: nowrap;
  background: linear-gradient(145deg, var(--raised-1), var(--raised-2)); box-shadow: var(--raised-xs);
}
.pill b { font-weight: 500; color: var(--ink); }
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: var(--glow-dot); flex: none; }
@media (max-width: 440px) { .pill__sep, .pill__soon { display: none; } }

/* pinned + scrubbed */
html.motion-ok .seq { height: 480vh; height: 480svh; }
html.motion-ok .seq__mark { top: calc(var(--at) * 380vh); top: calc(var(--at) * 380svh); scroll-margin-top: 0; }
html.motion-ok .seq__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
html.motion-ok .seq__media { display: block; position: absolute; inset: 0; }
html.motion-ok .seq__still { position: absolute; inset: 0; opacity: 0; transition: opacity 600ms var(--ease-pour); }
html.motion-ok .seq__still[data-still="a"] { opacity: 1; }
html.motion-ok .seq__still img { width: 100%; height: 100%; object-fit: contain; object-position: 50% 55%; }
html.motion-ok .seq__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 900ms var(--ease-pour); }
html.motion-ok .seq.has-3d .seq__canvas { opacity: 1; }
html.motion-ok .seq.has-3d .seq__still { opacity: 0 !important; transition-duration: 900ms; }
html.motion-ok .seq.has-3d .seq__labels { display: block; }
html.motion-ok .seq__steps { position: absolute; inset: 0; pointer-events: none; display: block; }
html.motion-ok .seq__step {
  position: absolute; left: 0; right: 0; padding: 0; text-align: center;
  top: calc(env(safe-area-inset-top, 0px) + var(--nav-h) + clamp(26px, 6.5vh, 76px));
  opacity: var(--o, 0); visibility: var(--vis, hidden); transform: translate3d(0, var(--y, 0px), 0); will-change: opacity, transform;
}
html.motion-ok .seq__step > :not(.seq__fig) { margin-left: max(16px, env(safe-area-inset-left, 0px)); margin-right: max(16px, env(safe-area-inset-right, 0px)); }
html.motion-ok .seq__step .lead, html.motion-ok .seq__step .note { margin-left: auto; margin-right: auto; }
html.motion-ok .seq__step .lead { max-width: min(30em, calc(100% - 32px)); }
html.motion-ok .seq__fig { display: none; }
html.motion-ok .seq__step--a { --o: 1; --vis: visible; inset: 0; top: 0; display: flex; flex-direction: column; justify-content: space-between; padding: calc(env(safe-area-inset-top, 0px) + var(--nav-h) + clamp(22px, 5.5vh, 64px)) 0 clamp(40px, 8.5vh, 92px); }
html.motion-ok .seq__step--a .hero__bottom { margin-top: 0; }
html.motion-ok .seq__step--a a, html.motion-ok .seq__step--a button { pointer-events: auto; }
html.motion-ok .seq.is-past-a .seq__step--a a { pointer-events: none; }
html.motion-ok .seq__step--d .note { margin-top: 16px; }
html.motion-ok .hero__cue { display: block; position: absolute; left: 50%; bottom: clamp(14px, 2.6vh, 28px); width: 1px; height: 30px; overflow: hidden; background: rgba(27, 26, 33, 0.1); }
html.motion-ok .seq__step--a > .hero__cue { margin: 0; transform: translateX(-50%); }
html.motion-ok .hero__cue i { position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--ink); animation: cue 2.4s var(--ease-pour) infinite; }
@keyframes cue { 0% { top: -40%; } 70%, 100% { top: 100%; } }
@media (max-height: 640px) { html.motion-ok .hero__cue { display: none; } }

/* the hero comes in: words pour up, then the pebble's light arrives */
html.motion-ok .seq__step--a .line > span { display: inline-block; animation: rise 1100ms var(--ease-pour) both; }
html.motion-ok .seq__step--a .line + .line > span { animation-delay: 90ms; }
html.motion-ok .seq__step--a .pill { animation: fade-up 900ms var(--ease-pour) 120ms both; }
html.motion-ok .seq__step--a .hero__bottom { animation: fade-up 900ms var(--ease-pour) 260ms both; }
@keyframes rise { from { opacity: 0; transform: translate3d(0, 0.32em, 0); } }
@keyframes fade-up { from { opacity: 0; transform: translate3d(0, 16px, 0); } }

/* step D sits to the left of the board on wide screens */
@media (min-width: 1024px) and (min-aspect-ratio: 23/20) {
  html.motion-ok .seq__step--d { top: 50%; left: 0; right: auto; width: min(46vw, 620px); text-align: left; transform: translate3d(0, calc(-50% + var(--y, 0px)), 0); padding-left: max(48px, env(safe-area-inset-left, 0px)); }
  html.motion-ok .seq__step--d > * { margin-left: 0 !important; }
  html.motion-ok .seq__step--d .lead { margin-left: 0; }
  html.motion-ok .seq__rail { display: flex; }
}
@media (min-width: 1440px) and (min-aspect-ratio: 23/20) { html.motion-ok .seq__step--d { padding-left: calc((100vw - var(--wrap)) / 2); width: min(48vw, 760px); } }
@media (max-height: 560px) { html.motion-ok .seq__step .lead { display: none; } html.motion-ok .seq__step--a .hero__lead { display: none; } }

/* labels that ride on the 3D */
.seq__labels > * { position: absolute; left: 0; top: 0; will-change: transform, opacity; }
.seq__bal span { position: absolute; left: 0; top: 0; font: 500 12px/1 var(--font-mono); letter-spacing: -0.01em; color: var(--slate-2); white-space: nowrap; will-change: transform; }
.seq__bal span.is-you { color: var(--ink); }
.seq__clock { text-align: center; }
.seq__clock b { display: block; font-size: clamp(30px, 4.2vw, 58px); font-weight: 500; line-height: 1; letter-spacing: -0.04em; color: var(--ink); }
.seq__clock small { display: block; margin-top: 10px; font: 500 11px/1 var(--font-mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--slate); }
.seq__board { width: 0; }
.brow {
  position: absolute; left: 0; top: 0; display: flex; align-items: center; gap: 14px; height: 32px; padding: 0 14px; border-radius: var(--r-pill);
  font-size: 14px; white-space: nowrap; will-change: transform; transition: background-color var(--dur-glide) var(--ease-pour), box-shadow var(--dur-glide) var(--ease-pour);
}
.brow .r { width: 22px; color: var(--slate-2); font-size: 13px; }
.brow .n { width: 92px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; }
.brow .v { font-size: 13px; color: var(--slate); }
.brow.is-you { background: rgba(211, 194, 240, 0.6); box-shadow: var(--glow-sm); }
.brow.is-you .r, .brow.is-you .v { color: var(--ink); }
@media (max-width: 480px) { .brow { gap: 10px; padding: 0 10px; font-size: 13px; } .brow .n { width: 74px; } }

.seq__rail { position: absolute; right: max(28px, env(safe-area-inset-right, 0px)); top: 50%; transform: translateY(-50%); flex-direction: column; gap: 14px; }
.seq__rail li { width: 6px; height: 6px; border-radius: 50%; background: var(--haze); transition: background-color var(--dur-glide), box-shadow var(--dur-glide); }
.seq__rail li.is-on { background: #fff; box-shadow: var(--glow-dot); }

/* =====================================================================================
   2. Competitions
   ===================================================================================== */
.comp .head { margin-bottom: clamp(48px, 6vw, 80px); }
.comp__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 1.8vw, 24px); }
.tile {
  position: relative; display: flex; flex-direction: column; min-width: 0; overflow: hidden;
  padding: clamp(24px, 2.4vw, 34px); border-radius: var(--r-xl);
  background: linear-gradient(160deg, var(--porcelain), #f1f0f5 70%); box-shadow: var(--raised-card);
}
.tile__art { position: relative; aspect-ratio: 1 / 0.82; display: grid; place-items: center; margin-bottom: 18px; }
.tile__art .ring { width: min(78%, 240px); height: auto; overflow: visible; }
.tile__win { color: var(--slate); font-size: 13px; letter-spacing: 0.02em; }
.tile__art .tile__win { position: absolute; inset: 0; display: grid; place-items: center; font-size: clamp(26px, 2.6vw, 36px); color: var(--ink); letter-spacing: -0.04em; }
.tile__body { display: flex; flex-direction: column; gap: 12px; flex: 1; }
.tile__body > p:not(.tile__win):not(.tile__fig) { color: var(--slate); font-size: 16px; line-height: 1.5; }
.tile__body .chips { margin-top: auto; padding-top: 10px; }
.tile--battle .tile__art { aspect-ratio: 1 / 0.82; }
.tile--battle .battle { width: 100%; height: auto; overflow: visible; }
.tile--series { grid-column: span 2; padding-right: clamp(24px, 34%, 420px); color: var(--ink); isolation: isolate; }
.tile--series .tile__body { justify-content: flex-end; }
.tile__glass { position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(70% 90% at 88% 30%, rgba(240, 220, 255, 0.75), transparent 60%),
  radial-gradient(50% 70% at 70% 90%, rgba(255, 142, 148, 0.18), transparent 70%),
  radial-gradient(60% 80% at 100% 70%, rgba(144, 129, 223, 0.32), transparent 70%),
  linear-gradient(160deg, var(--porcelain), #efedf5); }
.tile__glass::after { content: ""; position: absolute; inset: -40%; background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, 0.65) 48%, transparent 58%); transform: translateX(-60%); }
html.motion-ok .tile--series.is-in .tile__glass::after { animation: sheen 2.8s var(--ease-pour) 400ms both; }
@keyframes sheen { to { transform: translateX(60%); } }
.tile__fig { font-size: clamp(44px, 5.4vw, 80px); line-height: 1; letter-spacing: -0.05em; margin-top: 4px; }
.tile__foot { margin-top: auto; padding-top: 14px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.tile__foot .chips { margin: 0; padding: 0; }
.tile__ticket { position: absolute; right: -4%; top: 50%; width: 46%; max-width: 560px; transform: translateY(-50%) rotate(-8deg); filter: drop-shadow(0 30px 40px rgba(110, 100, 150, 0.25)); pointer-events: none; }
html.motion-ok .tile--series .tile__ticket { transition: transform 1400ms var(--ease-pour), opacity 1400ms var(--ease-pour); }
html.motion-ok .tile--series:not(.is-in) .tile__ticket { transform: translateY(-40%) rotate(-2deg); opacity: 0; }

@media (hover: hover) and (pointer: fine) {
  .tile, .proof__card { transition: transform 700ms var(--ease-pour), box-shadow 700ms var(--ease-pour); }
  .tile:hover, .proof__card:hover { transform: translateY(-6px); box-shadow: -12px -12px 30px rgba(255, 255, 255, 0.95), 18px 22px 44px rgba(146, 142, 172, 0.32); }
  html.motion-ok [data-reveal].tile, html.motion-ok [data-reveal].proof__card { transition: opacity 900ms var(--ease-pour), transform 900ms var(--ease-pour), box-shadow 700ms var(--ease-pour); }
}

/* ring motion graphic */
.ring .ring__groove { fill: none; stroke: rgba(146, 142, 172, 0.2); stroke-width: 12; }
.ring .ring__hl { fill: none; stroke: rgba(255, 255, 255, 0.9); stroke-width: 2; }
.ring .ring__tick { stroke: var(--haze); stroke-width: 1.4; stroke-linecap: round; }
.ring .ring__tick--major { stroke: var(--slate-2); }
.ring .ring__arc { fill: none; stroke: url(#light-grad); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--fill) * 100); transform: rotate(-90deg); transform-origin: 120px 120px; }
.ring .ring__head { transform: rotate(calc(var(--fill) * 360deg)); transform-origin: 120px 120px; }
.ring .ring__dot { fill: #fff; filter: url(#glow); }
html.motion-ok [data-ring]:not(.is-in) .ring__arc { stroke-dashoffset: 100; }
html.motion-ok [data-ring]:not(.is-in) .ring__head { transform: rotate(0deg); }
html.motion-ok [data-ring] .ring__arc { transition: stroke-dashoffset 2200ms var(--ease-pour) 300ms; }
html.motion-ok [data-ring] .ring__head { transition: transform 2200ms var(--ease-pour) 300ms; }
html.motion-ok [data-ring].is-in .ring__dot { animation: breathe 4s ease-in-out 2.5s infinite; }
@keyframes breathe { 50% { opacity: 0.55; } }

/* battle motion graphic */
.battle .bt__grid { stroke: var(--hairline); stroke-width: 1; }
.battle .bt__a { fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.battle .bt__b { fill: none; stroke: var(--haze); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.battle .bt__end { fill: #fff; filter: url(#glow); }
.battle .bt__end--b { fill: var(--haze); filter: none; }
.battle text { font: 500 11px var(--font-mono); fill: var(--slate); letter-spacing: 0.04em; }
.battle .bt__lead { fill: var(--ink); }
html.motion-ok [data-ring] .bt__a, html.motion-ok [data-ring] .bt__b { stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 2400ms var(--ease-pour) 300ms; }
html.motion-ok [data-ring]:not(.is-in) .bt__a, html.motion-ok [data-ring]:not(.is-in) .bt__b { stroke-dashoffset: 1; }
html.motion-ok [data-ring] .bt__end, html.motion-ok [data-ring] .battle text { transition: opacity 600ms var(--ease-pour) 2200ms; }
html.motion-ok [data-ring]:not(.is-in) .bt__end, html.motion-ok [data-ring]:not(.is-in) .battle text { opacity: 0; }

.dots { display: none; }
@media (max-width: 1023px) {
  .comp__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile--series { grid-column: span 2; }
}
@media (max-width: 719px) {
  .comp__rail { margin-inline: calc(-1 * max(16px, env(safe-area-inset-left, 0px))) calc(-1 * max(16px, env(safe-area-inset-right, 0px))); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
  .comp__rail::-webkit-scrollbar { display: none; }
  .comp__rail { margin-top: -28px; }
  .comp__grid { display: flex; gap: 14px; padding: 36px max(16px, env(safe-area-inset-right, 0px)) 48px max(16px, env(safe-area-inset-left, 0px)); width: max-content; }
  .tile { width: min(82vw, 340px); flex: none; scroll-snap-align: center; }
  .tile--series { padding-right: clamp(24px, 2.4vw, 34px); padding-top: 190px; }
  .tile__ticket { top: 24px; right: 50%; width: 80%; transform: translateX(50%) rotate(-6deg); }
  html.motion-ok .tile--series:not(.is-in) .tile__ticket { transform: translateX(50%) translateY(16px) rotate(-2deg); }
  .dots { display: flex; justify-content: center; gap: 8px; margin-top: 4px; }
  .dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--haze); transition: background-color var(--dur-glide), box-shadow var(--dur-glide); }
  .dots i.is-on { background: #fff; box-shadow: var(--glow-dot); }
}

/* =====================================================================================
   3. The World Series, at night
   ===================================================================================== */
.night { background: var(--night); color: var(--on-night); }
.night .eyebrow { color: var(--night-muted); }
.series { position: relative; padding-block: clamp(110px, 13vw, 190px); overflow: hidden; isolation: isolate; }
.series::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 50% at 28% 36%, rgba(143, 125, 255, 0.16), transparent 70%), radial-gradient(40% 40% at 80% 90%, rgba(217, 93, 223, 0.06), transparent 70%); }
.series__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.series__art { position: relative; aspect-ratio: 14 / 11; min-width: 0; }
.series__art::before { content: ""; position: absolute; inset: -6% -10%; border-radius: 50%; background: radial-gradient(closest-side, rgba(143, 125, 255, 0.34), rgba(143, 125, 255, 0.1) 55%, transparent 75%); }
html.motion-ok .series__art::before { animation: breathe-glow 4s ease-in-out infinite; }
@keyframes breathe-glow { 50% { opacity: 0.72; transform: scale(0.97); } }
.series__still, .series__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.series__still { object-fit: contain; transition: opacity 900ms var(--ease-pour); }
.series__canvas { opacity: 0; transition: opacity 900ms var(--ease-pour); }
.series.has-3d .series__canvas { opacity: 1; }
.series.has-3d .series__still, .series.is-3d-pending .series__still { opacity: 0; transition: none; }
.series__copy { min-width: 0; }
.series__fig {
  margin-top: clamp(22px, 3vw, 36px); font-size: clamp(46px, 5.7vw, 96px); line-height: 1.04; letter-spacing: -0.055em; white-space: nowrap;
  color: var(--on-night);
  background: linear-gradient(100deg, var(--on-night) 0 40%, #ffffff 46%, var(--lavender) 50%, #ffffff 54%, var(--on-night) 60% 100%) 100% 0 / 320% 100% no-repeat;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
html.motion-ok .series.is-lit .series__fig { animation: fig-light 2.6s var(--ease-pour) both; }
@keyframes fig-light { from { background-position: 100% 0; } to { background-position: 0% 0; } }
.series__sub { margin-top: 18px; font-size: var(--t-lead); color: var(--night-muted); letter-spacing: -0.012em; text-wrap: balance; }
.series__facts { margin-top: clamp(28px, 4vw, 44px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--night-line); border-radius: var(--r-lg); overflow: hidden; }
.series__facts > div { background: var(--night-2); padding: 18px 20px; min-width: 0; }
.series__facts dt { font: 500 11px/1 var(--font-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--night-muted); }
.series__facts dd { margin-top: 10px; font-size: 18px; text-wrap: balance; }
.series__copy .actions { margin-top: clamp(28px, 4vw, 40px); }
.note--night { color: var(--night-muted); }
.ladder { margin-top: clamp(72px, 9vw, 128px); padding-top: 32px; border-top: 1px solid var(--night-line); }
.ladder__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.ladder__head h3 { font-size: 20px; }
.ladder__list { margin-top: 28px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px clamp(32px, 6vw, 96px); grid-auto-flow: column; grid-template-rows: repeat(5, auto); }
.rung { display: grid; grid-template-columns: 44px minmax(0, 1fr) 92px; gap: 16px; align-items: center; min-width: 0; }
.rung__place { font: 500 13px var(--font-mono); color: var(--night-muted); }
.rung__bar { height: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.06); overflow: hidden; }
.rung__bar i { display: block; height: 100%; width: calc(var(--w) * 100%); border-radius: 3px; background: linear-gradient(90deg, rgba(211, 194, 240, 0.55), #ffffff); box-shadow: 0 0 12px rgba(143, 125, 255, 0.45); transform-origin: left; }
html.motion-ok .ladder .rung__bar i { transition: transform 1400ms var(--ease-pour); transition-delay: calc(var(--i, 0) * 70ms + 200ms); }
html.motion-ok .ladder:not(.is-in) .rung__bar i { transform: scaleX(0); }
.rung__amt { font-size: 15px; text-align: right; }
@media (max-width: 900px) {
  .series__grid { grid-template-columns: minmax(0, 1fr); }
  .series__art { max-width: 640px; width: 100%; margin-inline: auto; }
  .ladder__list { grid-template-columns: minmax(0, 1fr); grid-auto-flow: row; grid-template-rows: none; }
}
@media (max-width: 420px) { .series__facts { grid-template-columns: minmax(0, 1fr); } }

/* =====================================================================================
   4. The app
   ===================================================================================== */
.app { position: relative; padding-top: clamp(104px, 13vw, 184px); background: linear-gradient(180deg, var(--milk), var(--porcelain) 40%, var(--milk)); }
.app__pin { position: relative; }
.app__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.app__steps { display: flex; flex-direction: column; gap: clamp(28px, 4vh, 44px); counter-reset: step; }
.app__step { position: relative; padding-left: 28px; max-width: 30em; }
.app__step::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 6px; height: 6px; border-radius: 50%; background: var(--haze); transition: background-color var(--dur-glide), box-shadow var(--dur-glide); }
.app__step h3 { font-size: clamp(26px, 2.6vw, 40px); letter-spacing: -0.035em; transition: color var(--dur-glide) var(--ease-pour); }
.app__step p { margin-top: 10px; color: var(--slate); font-size: var(--t-lead); line-height: 1.42; transition: color var(--dur-glide) var(--ease-pour); text-wrap: balance; }
.app__mphone { display: none; }
.app__device { position: relative; justify-self: center; width: min(100%, 360px); aspect-ratio: 900 / 1554; }
.app__glow { position: absolute; inset: 10% -16% 4%; border-radius: 50%; background: radial-gradient(closest-side, rgba(143, 125, 255, 0.22), transparent 70%); filter: blur(10px); }
.app__screens { position: absolute; inset: 0; }
.app__screens img { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transform: translate3d(0, 18px, 0) scale(0.985); transition: opacity 720ms var(--ease-pour), transform 720ms var(--ease-pour); filter: drop-shadow(0 40px 50px rgba(110, 100, 150, 0.22)); }
.app__screens img.is-on { opacity: 1; transform: none; }
.disclaimer { text-align: center; padding-block: 28px clamp(80px, 10vw, 140px); font: 500 12px/1.4 var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate-2); }
.app .head { margin-bottom: clamp(40px, 6vw, 72px); }
/* pinned on large screens: the phone holds still while the captions take turns */
@media (min-width: 900px) {
  html.motion-ok .app__pin { height: 260vh; height: 260svh; }
  html.motion-ok .app__stage { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; padding-top: var(--nav-h); }
  html.motion-ok .app__stage > .wrap { width: 100%; }
  html.motion-ok .app__device { width: min(100%, 400px, calc((100vh - var(--nav-h) - 96px) * 900 / 1554)); width: min(100%, 400px, calc((100svh - var(--nav-h) - 96px) * 900 / 1554)); }
  html.motion-ok .app__step h3, html.motion-ok .app__step p { color: var(--muted); }
  html.motion-ok .app__step.is-on h3 { color: var(--ink); }
  html.motion-ok .app__step.is-on p { color: var(--slate); }
  html.motion-ok .app__step.is-on::before { background: #fff; box-shadow: var(--glow-dot); }
  html:not(.motion-ok) .app__screens img { opacity: 0; }
  html:not(.motion-ok) .app__screens img.is-on { opacity: 1; }
}
@media (min-width: 720px) and (max-width: 899px) {
  .app__steps { margin-left: calc(-1 * max(32px, env(safe-area-inset-left, 0px))); margin-right: calc(-1 * max(32px, env(safe-area-inset-right, 0px))); padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); }
}
@media (max-width: 899px) {
  .app__grid { display: block; }
  .app__device { display: none; }
  .app__steps { flex-direction: row; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: -24px calc(-1 * max(16px, env(safe-area-inset-right, 0px))) -8px calc(-1 * max(16px, env(safe-area-inset-left, 0px))); padding: 24px max(16px, env(safe-area-inset-right, 0px)) 56px max(16px, env(safe-area-inset-left, 0px)); scroll-padding-inline: max(16px, env(safe-area-inset-left, 0px)); }
  .app__steps::-webkit-scrollbar { display: none; }
  .app__step { flex: none; width: min(78vw, 320px); scroll-snap-align: center; padding-left: 0; display: flex; flex-direction: column; }
  .app__step::before { display: none; }
  .app__step h3 { font-size: 22px; order: 2; margin-top: 22px; }
  .app__step p { font-size: 16px; order: 3; }
  .app__mphone { display: block; order: 1; filter: drop-shadow(0 26px 34px rgba(110, 100, 150, 0.22)); }
}

/* =====================================================================================
   5. Status
   ===================================================================================== */
.status .head { margin-bottom: clamp(48px, 6vw, 80px); }
.clubs { position: relative; }
.clubs__canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; opacity: 0; transition: opacity 900ms var(--ease-pour); }
.clubs.has-3d .clubs__canvas { opacity: 1; }
.clubs.has-3d .club__art img { opacity: 0; transition-duration: 900ms; }
.clubs__list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(12px, 2vw, 28px); }
.club { text-align: center; min-width: 0; cursor: default; }
.club__art { position: relative; aspect-ratio: 1; display: grid; place-items: center; }
.club__art::before { content: ""; position: absolute; inset: 4%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, 0.9), rgba(196, 186, 255, 0.55) 45%, rgba(143, 125, 255, 0.18) 70%, transparent 100%); opacity: 0; transform: scale(0.85); transition: opacity 600ms var(--ease-pour), transform 600ms var(--ease-pour); }
.club:hover .club__art::before { opacity: 1; transform: scale(1); }
.club__art img { width: 86%; transition: opacity 600ms var(--ease-pour); }
.club__txt { margin-top: 10px; }
.club h3 { font-size: 20px; }
.club p { margin-top: 6px; color: var(--slate); font-size: 15px; }
.proof { margin-top: clamp(72px, 9vw, 128px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 1.8vw, 24px); }
.proof__card { display: grid; grid-template-columns: clamp(110px, 12vw, 160px) minmax(0, 1fr); gap: clamp(20px, 2.4vw, 32px); align-items: center; padding: clamp(24px, 2.6vw, 36px); border-radius: var(--r-xl); background: linear-gradient(160deg, var(--porcelain), #f1f0f5 70%); box-shadow: var(--raised-card); }
.proof__card h3 { font-size: clamp(22px, 2vw, 28px); }
.proof__card p { margin-top: 10px; color: var(--slate); font-size: 16px; line-height: 1.5; }
.proof__art { position: relative; aspect-ratio: 1; border-radius: 50%; overflow: hidden; }
.proof__seal { width: 100%; height: 100%; object-fit: cover; }
.proof__sweep { position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.75) 50%, rgba(211, 194, 240, 0.35) 55%, transparent 65%); transform: translateX(-100%); mix-blend-mode: soft-light; }
html.motion-ok .proof__card.is-in .proof__sweep { animation: sweep 2.6s var(--ease-pour) 500ms both; }
@keyframes sweep { to { transform: translateX(100%); } }
.slot { width: 100%; height: 100%; border-radius: 50%; display: grid; place-content: center; text-align: center; box-shadow: var(--inset-md); background: linear-gradient(145deg, var(--sunken-1), var(--sunken-2)); }
.slot .fig { font-size: clamp(30px, 3vw, 40px); color: var(--slate-2); }
.slot small { display: block; margin-top: 6px; font: 500 10px/1 var(--font-mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--slate-2); }
@media (max-width: 900px) { .proof { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 719px) {
  .clubs__list { grid-template-columns: minmax(0, 1fr); gap: 4px; max-width: 480px; margin-inline: auto; }
  .club { display: grid; grid-template-columns: 112px minmax(0, 1fr); align-items: center; gap: 18px; text-align: left; }
  .club__txt { margin-top: 0; }
}
@media (max-width: 480px) { .proof__card { grid-template-columns: minmax(0, 1fr); } .proof__art { width: 128px; } }

/* =====================================================================================
   6. FAQ
   ===================================================================================== */
.faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq .head { position: sticky; top: calc(env(safe-area-inset-top, 0px) + var(--nav-h) + 40px); }
.faq__list { border-top: 1px solid var(--hairline); }
.qa { border-bottom: 1px solid var(--hairline); }
.qa summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 0; font-size: clamp(18px, 1.6vw, 21px); font-weight: 500; letter-spacing: -0.015em; border-radius: 8px; -webkit-tap-highlight-color: transparent; }
.qa summary::-webkit-details-marker { display: none; }
.qa__icon { position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(145deg, var(--raised-1), var(--raised-2)); box-shadow: var(--raised-xs); }
.qa__icon::before, .qa__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -0.75px 0 0 -6px; border-radius: 1px; background: var(--ink); transition: transform var(--dur-glide) var(--ease-pour); }
.qa__icon::after { transform: rotate(90deg); }
.qa[open] .qa__icon::after { transform: rotate(0deg); }
.qa__a { overflow: hidden; }
.qa__a p { padding-bottom: 22px; color: var(--slate); max-width: 40em; font-size: 17px; }
.qa__a p + p { margin-top: -8px; }
@media (max-width: 860px) { .faq { grid-template-columns: minmax(0, 1fr); } .faq .head { position: static; } }

/* =====================================================================================
   7. Waitlist
   ===================================================================================== */
.waitlist { background: linear-gradient(180deg, var(--milk), var(--porcelain) 60%, var(--milk)); }
.wl { text-align: center; max-width: 900px; margin-inline: auto; }
.wl__well { position: relative; width: clamp(132px, 14vw, 172px); aspect-ratio: 1; margin: 0 auto 40px; border-radius: 50%;
  background: linear-gradient(145deg, var(--raised-1), var(--raised-2)); box-shadow: var(--raised-md); }
.wl__well::before { content: ""; position: absolute; inset: 16%; border-radius: 50%; background: radial-gradient(circle at 62% 68%, var(--sunken-2), var(--sunken-1) 70%); box-shadow: var(--inset-md); }
.wl__pebble { position: absolute; left: 50%; top: 50%; width: 46%; transform: translate(-50%, -50%); opacity: 0; filter: drop-shadow(0 6px 8px rgba(110, 100, 150, 0.28)); }
.wl__ring { position: absolute; inset: 14%; border-radius: 50%; opacity: 0; box-shadow: 0 0 0 1.5px rgba(172, 160, 255, 0.9), 0 0 16px 4px rgba(143, 125, 255, 0.45), 0 0 46px 14px rgba(143, 125, 255, 0.2); }
.wl.is-done .wl__pebble { opacity: 1; }
.wl.is-done .wl__ring { opacity: 1; }
html.motion-ok .wl.is-done .wl__pebble { animation: drop 1100ms var(--ease-pour) both; }
html.motion-ok .wl.is-done .wl__ring { animation: light 1600ms var(--ease-pour) 700ms both, breathe 4s ease-in-out 2.3s infinite; }
@keyframes drop { 0% { opacity: 0; transform: translate(-50%, -230%) scale(0.94); } 30% { opacity: 1; } 72% { transform: translate(-50%, -46%) scale(1.02, 0.97); } 100% { transform: translate(-50%, -50%); } }
@keyframes light { from { opacity: 0; transform: scale(0.86); } }
.wl .h2 { max-width: 13em; margin-inline: auto; }
.wl .lead { margin: 22px auto 0; }
.wl__form { margin: 40px auto 0; max-width: 540px; display: flex; gap: 12px; }
.wl__field { flex: 1; min-width: 0; height: 54px; display: flex; align-items: center; padding: 0 22px; border-radius: var(--r-pill); background: linear-gradient(145deg, var(--sunken-1), var(--sunken-2)); box-shadow: var(--inset-sm); transition: box-shadow var(--dur-quick) var(--ease-pour); }
.wl__field:focus-within { box-shadow: var(--inset-sm), var(--glow-sm); }
.wl__form.is-error .wl__field { box-shadow: var(--inset-sm), 0 0 0 1.5px var(--caution); }
.wl__field input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; padding: 0; font: 400 16px var(--font-sans); color: var(--ink); }
.wl__field input::placeholder { color: var(--slate-2); opacity: 1; }
.wl__form .btn { height: 54px; }
.wl__form .btn[aria-busy="true"] { filter: brightness(1.3); cursor: progress; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.wl__msg { min-height: 24px; margin-top: 16px; font-size: 15px; color: var(--slate); }
.wl__msg.is-error { color: var(--caution); }
.wl__msg.is-ok { color: var(--ink); font-weight: 500; }
.wl.is-done .wl__form { display: none; }
.wl__consent { margin: 4px auto 0; max-width: 34em; font-size: 13px; line-height: 1.5; color: var(--slate-2); }
.wl__consent a { color: var(--slate); }
.fine { margin-top: 14px; font: 500 11px/1.5 var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate-2); text-wrap: balance; }
@media (max-width: 560px) { .wl__form { flex-direction: column; } .wl__form .btn { width: 100%; } .wl__field { flex: none; } }

/* =====================================================================================
   8. Footer
   ===================================================================================== */
.foot { padding-block: clamp(72px, 8vw, 112px) max(36px, env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--hairline); }
.foot__top { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; }
.foot__brand svg { height: 24px; width: auto; display: block; color: var(--ink); }
.foot__brand p { margin-top: 18px; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.1; letter-spacing: -0.035em; color: var(--slate); }
.foot__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 32px 24px; }
.foot__cols ul { margin-top: 18px; display: flex; flex-direction: column; gap: 12px; font-size: 15px; color: var(--slate); }
.foot__cols a { text-decoration: none; border-radius: 6px; }
.foot__cols a:hover { color: var(--ink); }
.foot__cols .sel { user-select: all; -webkit-user-select: all; }
.foot__fine { margin-top: clamp(56px, 7vw, 96px); padding-top: 24px; border-top: 1px solid var(--hairline); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; font-size: 13px; color: var(--slate-2); }
.foot__fine p:first-child { max-width: 60em; }
@media (max-width: 820px) { .foot__top { grid-template-columns: minmax(0, 1fr); } }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 1ms !important; }
}


/* legal pages, carried inside this file as sheets */
.lsheet { display: none; position: fixed; inset: 0; z-index: 90; overflow-y: auto; overscroll-behavior: contain; background: var(--milk); color: var(--ink);
  padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
.lsheet:target { display: block; }
html:has(.lsheet:target) { overflow: hidden; }
.lwrap { max-width: 860px; margin-inline: auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
@media (min-width: 720px) { .lwrap { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); } }
.lsheet__bar { position: sticky; top: 0; z-index: 2; background: var(--veil); -webkit-backdrop-filter: saturate(1.6) blur(20px); backdrop-filter: saturate(1.6) blur(20px); box-shadow: 0 1px 0 rgba(27, 26, 33, 0.07); }
.lsheet__bar .lwrap { height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.lsheet__bar svg { height: 20px; width: auto; display: block; }
.lsheet__close { font-size: 14px; color: var(--slate); text-decoration: none; border-radius: 6px; }
.lsheet__close:hover { color: var(--ink); }
.lsheet__body { padding-block: clamp(48px, 8vw, 104px); }
.lsheet h1 { margin-top: 20px; font-size: clamp(40px, 6vw, 72px); line-height: 1; letter-spacing: -0.042em; font-weight: 500; }
.lsheet__updated { margin-top: 18px; font: 500 12px/1 var(--font-mono); letter-spacing: 0.08em; color: var(--slate-2); }
.lsheet .lede { margin-top: 40px; font-size: clamp(19px, 1.8vw, 22px); line-height: 1.45; letter-spacing: -0.012em; color: var(--ink); }
.lsheet h2 { margin-top: 44px; font-size: 22px; line-height: 1.2; letter-spacing: -0.02em; font-weight: 500; }
.lsheet__body p:not(.eyebrow):not(.lsheet__updated):not(.lede), .lsheet__body ul { margin-top: 14px; color: var(--slate); max-width: 40em; }
.lsheet__body ul { padding-left: 1.2em; list-style: disc; }
.lsheet__body li + li { margin-top: 10px; }
.lsheet strong { color: var(--ink); font-weight: 500; }
.lsheet a { text-underline-offset: 3px; }
.lsheet mark.todo { background: rgba(211, 194, 240, 0.6); color: var(--ink); padding: 0 6px; border-radius: 6px; }
.lsheet__links { margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--hairline); display: flex; flex-wrap: wrap; gap: 12px 28px; font-size: 15px; }
.lsheet__links a { text-decoration: none; color: var(--slate); }
.lsheet__links a:hover, .lsheet__links a[aria-current] { color: var(--ink); }
