/* CNZ-3 r2 · cinzo.app, the one stylesheet. Built from the app's design system, src/theme/tokens.json, not a web template:
   colour roles (bg, surface, text, text2, text3, hair, section, glass, green, tier ramp) for dark and light, the type roles
   (large, film, byline, kicker, body, subhead, footnote; New York for titles, Fraunces for numerals, SF for the rest), the
   space scale (4 8 12 16 20 24 32 40), the 20pt gutter, the 44pt hit, the 50pt button, radii (poster 10, sheet 20, pill),
   the hero shadow, the focus ring (2px text, offset 2, radius 6) and motion (fast 160, med 280, ease .2 .8 .2 1; Reduce
   Motion moves nothing). Dark first, as the app; light when the OS is light. Nothing is fetched from anyone. */
@font-face { font-family: "Fraunces Light"; src: url("fonts/FrauncesLight48.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "Fraunces Semibold"; src: url("fonts/FrauncesSemibold28.ttf") format("truetype"); font-display: swap; }

:root {
  --bg: #000000; --surface: #1c1c1e; --text: #f5f5f7; --text2: #8e8e93; --text3: #6a6a70;
  --hair: rgba(255,255,255,0.10); --section: rgba(255,255,255,0.28); --glass: rgba(255,255,255,0.12); --glassStrong: rgba(255,255,255,0.20);
  --primary: #ffffff; --onPrimary: #000000; --green: #30d158; --text2OnFill: #a1a1a6;
  --t1: #ffffff; --t2: #d6d6db; --t3: #b0b0b6; --t4: #8e8e93; --t5: #6a6a70; --t6: #5e5e64;
  --shade: rgba(0,0,0,0.7);
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #ffffff; --surface: #f2f2f7; --text: #000000; --text2: #6e6e73; --text3: #aeaeb2;
    --hair: rgba(0,0,0,0.10); --section: rgba(0,0,0,0.28); --glass: rgba(0,0,0,0.06); --glassStrong: rgba(0,0,0,0.12);
    --primary: #000000; --onPrimary: #ffffff; --green: #248a3d; --text2OnFill: #5c5c61;
    --t1: #000000; --t2: #3a3a3c; --t3: #636366; --t4: #8e8e93; --t5: #7c7c80; --t6: #949499;
    --shade: rgba(0,0,0,0.14);
    color-scheme: light;
  }
}
@media (prefers-contrast: more) {
  :root { --hair: rgba(127,127,127,0.25); --section: rgba(127,127,127,0.45); --glass: rgba(127,127,127,0.18); }
}
:root {
  --ny: ui-serif, "New York", "Iowan Old Style", Georgia, serif;
  --sf: -apple-system, system-ui, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  --num: "Fraunces Light", ui-serif, Georgia, serif;
  --numBold: "Fraunces Semibold", ui-serif, Georgia, serif;
  --gutter: 20px; --max: 1180px;
  --fast: 160ms; --med: 280ms; --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); scroll-padding-top: 24px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.47 var(--sf); -webkit-font-smoothing: antialiased;
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left); }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color var(--fast) var(--ease), background-color var(--fast) var(--ease); }
:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; border-radius: 6px; }
img { display: block; max-width: 100%; }
.alias { display: block; height: 0; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ── type roles, from tokens.type ── */
.kicker { font: 500 12px/14px var(--sf); letter-spacing: 0.14em; text-transform: uppercase; color: var(--text2); margin: 0; }
.film { font: 600 34px/1.06 var(--ny); letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
.byline { font: 500 18px/1.25 var(--ny); letter-spacing: -0.01em; margin: 0; }
.say { font-size: 17px; line-height: 1.47; color: var(--text2); margin: 0; max-width: 34em; text-wrap: pretty; }

/* ── buttons: the app's 50pt pills. Primary is Log a watch's white; quiet is Another pick's surface ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 24px;
  border-radius: 999px; font: 600 17px/1 var(--sf); text-decoration: none; white-space: nowrap;
  transition: transform var(--fast) var(--ease), background-color var(--fast) var(--ease), opacity var(--fast) var(--ease); }
.btn.primary { background: var(--primary); color: var(--onPrimary); }
.btn.quiet { background: var(--surface); color: var(--text); }
.btn:hover { opacity: 0.88; }
.btn:active { transform: scale(0.97); }
.btn.small { min-height: 36px; padding: 0 16px; font-size: 15px; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* ── the bar: the mark, the documents, the beta ask ── */
.bar { display: flex; align-items: center; gap: 8px; min-height: 64px; }
.mark { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-right: auto; text-decoration: none;
  font: 700 22px/1 var(--ny); letter-spacing: -0.01em; }
.mark img { height: 30px; width: auto; margin-left: -3px; flex: none; }
.docs { display: none; list-style: none; margin: 0 8px 0 0; padding: 0; gap: 2px; }
.docs a { display: flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 999px; text-decoration: none;
  color: var(--text2); font: 500 15px/1 var(--sf); }
.docs a:hover { color: var(--text); }
.docs a[aria-current="page"] { color: var(--text); background: var(--glass); }

/* ── the foot ── */
.foot { margin-top: 64px; border-top: 1px solid var(--section); padding: 24px 0 40px; color: var(--text2); font-size: 13px; line-height: 18px; }
.foot .row { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; margin-bottom: 16px; }
.foot .row a { display: inline-flex; align-items: center; min-height: 44px; color: var(--text); text-decoration: none; font: 500 15px/1 var(--sf); }
.foot .row a:hover { text-decoration: underline; }
.foot .row .mark { font-size: 18px; margin-right: 8px; }
.foot .row .mark img { height: 26px; }
.foot p { margin: 0 0 4px; max-width: 60em; }

/* ════ HOME ════ */
.door { padding-top: 28px; padding-bottom: 40px; display: grid; gap: 40px; }
.door h1 { font: 600 44px/1.02 var(--ny); letter-spacing: -0.025em; margin: 0 0 16px; text-wrap: balance; }
.door .say { font-size: 19px; line-height: 1.42; margin-bottom: 28px; }
.door .note { margin: 16px 0 0; font: 400 13px/18px var(--sf); color: var(--text2); display: flex; align-items: center; gap: 8px; }
.door .note::before { content: ""; width: 8px; height: 8px; border-radius: 4px; background: var(--green); flex: none; }

/* the six rungs, as the rank screen draws them: Fraunces numeral in tier ink, the word, the hint in steel, 54pt rows */
.rungs { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--section); }
.rung { display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; align-items: center; min-height: 54px; padding: 10px 0;
  border-bottom: 1px solid var(--hair); }
.rung .n { grid-row: span 2; font: 27px/1 var(--num); letter-spacing: -0.02em; font-variant-numeric: tabular-nums lining-nums; text-align: center; }
.rung .w { font: 600 17px/22px var(--sf); }
.rung .h { font: 400 15px/20px var(--sf); color: var(--text2); }
.t1 .n, .t1 .w { color: var(--t1); } .t2 .n, .t2 .w { color: var(--t2); } .t3 .n, .t3 .w { color: var(--t3); }
.t4 .n, .t4 .w { color: var(--t4); } .t5 .n, .t5 .w { color: var(--t5); } .t6 .n, .t6 .w { color: var(--t6); }
.t1 .n { font-family: var(--numBold); }

/* the core three: a chapter each, numbered like a ranking, the real screen beside its words */
.chapter { border-top: 1px solid var(--section); padding: 32px 0 40px; display: grid; gap: 32px; }
.chapter .head { margin-bottom: 16px; }
.chapter .num { display: block; font: 56px/1 var(--num); letter-spacing: -0.03em; color: var(--text); font-variant-numeric: lining-nums;
  padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid var(--hair); width: 64px; }
.chapter .kicker { margin-bottom: 10px; }
.chapter .say { margin: 0 0 24px; }
.facts { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hair); }
.facts li { display: grid; grid-template-columns: minmax(0, 11em) 1fr; gap: 16px; align-items: baseline; min-height: 46px; padding: 12px 0;
  border-bottom: 1px solid var(--hair); }
.facts b { font: 600 15px/20px var(--sf); }
@media (max-width: 719px) { .facts li { grid-template-columns: 1fr; gap: 2px; } }
.rung:last-child { border-bottom: 0; }
.facts b .score { font: 22px/1 var(--num); letter-spacing: -0.02em; margin-right: 4px; }
.facts span { font: 400 15px/20px var(--sf); color: var(--text2); }

/* a phone: the real render, its own corner radius, the hero shadow from tokens.px.shadow.hero */
.phone { margin: 0 auto; width: min(100%, 320px); }
.phone .glass { border-radius: 44px; padding: 8px; background: var(--surface); border: 1px solid var(--hair);
  box-shadow: 0 24px 60px var(--shade); }
.phone img { width: 100%; height: auto; border-radius: 36px; background: #000; }
.phone figcaption { margin-top: 14px; text-align: center; font: 400 13px/18px var(--sf); color: var(--text2); }

/* the beta ask: a sheet, radius 20 */
.ask { background: var(--surface); border-radius: 20px; padding: 28px 24px; display: grid; gap: 20px; margin-top: 8px; }
.ask .film { font-size: 30px; }
.ask .addr { font: 600 22px/1.2 var(--ny); letter-spacing: -0.01em; text-decoration: none; overflow-wrap: anywhere; }
.ask .addr:hover { text-decoration: underline; }
.ask .say { color: var(--text2OnFill); }

@media (min-width: 720px) {
  :root { --gutter: 40px; }
  .docs { display: flex; }
  .door h1 { font-size: 60px; }
  .chapter { grid-template-columns: minmax(0, 1fr) 280px; column-gap: 56px; align-items: center; padding: 56px 0; }
  .chapter.flip { grid-template-columns: 280px minmax(0, 1fr); }
  .chapter.flip .phone { order: -1; }
  .phone { width: 280px; }
  .ask { grid-template-columns: minmax(0, 1fr) auto; align-items: center; padding: 36px 40px; }
}
@media (min-width: 1000px) {
  /* r3, no dead space: the rungs run the full height of the hero row, top to the divider, each rung an equal share */
  .door { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); column-gap: 80px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
  .door .rungs { align-self: stretch; display: flex; flex-direction: column; }
  .door .rung { flex: 1 1 auto; }
  .door h1 { font-size: 76px; }
  .door .say { font-size: 22px; }
  .rung { min-height: 72px; grid-template-columns: 64px 1fr; }
  .rung .n { font-size: 40px; }
  .rung .w { font-size: 20px; line-height: 25px; }
  .rung .h { font-size: 16px; }
  /* r3, no dead space: the phone is 300 wide (about 650 tall) and the copy is set at the app's large sizes, so the words fill
     the height of the screen beside them, centred against it, with no band above or below */
  .chapter { grid-template-columns: minmax(0, 1fr) 300px; column-gap: 112px; padding: 72px 0; }
  .chapter.flip { grid-template-columns: 300px minmax(0, 1fr); }
  .chapter .film { font-size: 52px; line-height: 1.04; }
  .chapter .num { font-size: 96px; width: 104px; padding-bottom: 20px; margin-bottom: 20px; }
  .chapter .kicker { margin-bottom: 14px; }
  .chapter .head { margin-bottom: 20px; }
  .chapter .say { font-size: 20px; line-height: 1.45; margin-bottom: 32px; }
  .chapter .facts li { min-height: 64px; padding: 20px 0; }
  .chapter .facts b { font-size: 17px; line-height: 22px; }
  .chapter .facts span { font-size: 17px; line-height: 22px; }
  .chapter .facts b .score { font-size: 26px; }
  .phone { width: 300px; }
}

/* ════ DOCUMENTS: Terms, Privacy, Support ════
   A 66-character measure, numbered sections (CSS counters, so the policy's own bytes stay as written), a contents list
   that opens on a phone and sits in a sticky rail beside the text on a wide screen. */
.doc { padding-top: 16px; }
.doc .rail { margin: 8px 0 24px; }
.contents { border-radius: 20px; background: var(--surface); }
.contents summary { list-style: none; display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 0 20px;
  cursor: pointer; font: 600 15px/1 var(--sf); }
.contents summary::-webkit-details-marker { display: none; }
.contents summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid var(--text2); border-bottom: 2px solid var(--text2);
  transform: rotate(45deg) translateY(-2px); transition: transform var(--med) var(--ease); }
.contents[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.toc { list-style: none; counter-reset: c; margin: 0; padding: 0 12px 12px; }
.toc li { counter-increment: c; margin: 0; }
.toc a { display: grid; grid-template-columns: 32px 1fr; align-items: center; min-height: 44px; padding: 0 8px; border-radius: 10px;
  text-decoration: none; color: var(--text2); font: 400 15px/20px var(--sf); }
.toc a::before { content: counter(c); font: 18px/1 var(--num); color: var(--text3); font-variant-numeric: tabular-nums lining-nums; }
.toc a:hover { color: var(--text); background: var(--glass); }
.rail .docname, .rail .railnav { display: none; }

.prose { max-width: 66ch; counter-reset: s; }
.prose h1 { font: 600 40px/1.05 var(--ny); letter-spacing: -0.025em; margin: 8px 0 16px; text-wrap: balance; }
.prose h2 { counter-increment: s; position: relative; font: 600 24px/1.2 var(--ny); letter-spacing: -0.01em; margin: 48px 0 12px;
  padding-top: 24px; border-top: 1px solid var(--section); text-wrap: balance; }
.prose h2::before { content: counter(s); display: block; margin-bottom: 8px; font: 32px/1 var(--num); letter-spacing: -0.02em;
  color: var(--text3); font-variant-numeric: lining-nums; }
.prose h3 { font: 600 17px/22px var(--sf); margin: 28px 0 8px; }
.prose p, .prose li { margin: 0 0 14px; overflow-wrap: break-word; text-wrap: pretty; }
.prose ul, .prose ol { padding-left: 1.25em; margin: 0 0 14px; }
.prose li::marker { color: var(--text3); }
.prose strong { font-weight: 600; }
.prose .lede { font-size: 19px; line-height: 1.47; }
.prose .meta { display: flex; flex-wrap: wrap; gap: 4px 16px; color: var(--text2); font: 400 13px/18px var(--sf); margin: 0 0 24px; }
.prose .meta code, .prose code { font: 13px ui-monospace, "SF Mono", Menlo, monospace; }
.prose .card { background: var(--surface); border-radius: 20px; padding: 20px 20px 6px; margin: 20px 0; }
.prose .card h3 { margin-top: 0; }
.prose .summary { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin: 20px 0; }
.prose .summary .card { margin: 0; padding-bottom: 20px; }
.prose .summary strong { display: block; font-size: 15px; margin-bottom: 4px; }
.prose .summary span { color: var(--text2); font-size: 15px; line-height: 20px; }
.prose .contact { font: 600 22px/1.2 var(--ny); }
.prose .steps { counter-reset: st; list-style: none; padding: 0; }
.prose .steps li { counter-increment: st; position: relative; padding-left: 40px; min-height: 28px; }
.prose .steps li::before { content: counter(st); position: absolute; left: 0; top: -1px; width: 28px; height: 28px; border-radius: 14px;
  background: var(--surface); font: 600 14px/28px var(--sf); text-align: center; }
.prose .credits { color: var(--text2); font-size: 13px; line-height: 18px; margin-top: 48px; padding-top: 16px; border-top: 1px solid var(--section); }
.prose .credits p { margin-bottom: 4px; }
/* a table reads as rows of facts on a phone: it scrolls inside itself, never the page */
.prose .scroll, .prose table { display: block; overflow-x: auto; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 20px; margin: 12px 0 20px; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 12px 12px 12px 0; border-bottom: 1px solid var(--hair); min-width: 9em; }
.prose th { color: var(--text2); font: 500 12px/14px var(--sf); text-transform: uppercase; letter-spacing: 0.14em; }
.prose td:first-child { font-weight: 600; }

/* the counsel draft: its line stays, and stays loud */
.prose .draft { display: flex; gap: 10px; align-items: flex-start; background: var(--surface); border-radius: 14px; padding: 14px 16px;
  font: 600 15px/20px var(--sf); margin: 0 0 20px; border-left: 3px solid var(--text); }
.prose .tbd { background: var(--glassStrong); border-radius: 4px; padding: 0 4px; font-weight: 500; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
/* the policy's own contents list: drawn as the rail's twin on a phone, dropped where the rail stands beside it */
.prose > nav { background: var(--surface); border-radius: 20px; padding: 16px 12px 12px; margin: 0 0 28px; }
.prose > nav .navh { margin: 0 8px 4px; font: 500 12px/14px var(--sf); letter-spacing: 0.14em; text-transform: uppercase; color: var(--text2); }
.prose > nav ol { list-style: none; counter-reset: c; margin: 0; padding: 0; }
.prose > nav li { counter-increment: c; margin: 0; }
.prose > nav a { display: grid; grid-template-columns: 32px 1fr; align-items: center; min-height: 44px; padding: 0 8px; border-radius: 10px;
  text-decoration: none; color: var(--text2); font: 400 15px/20px var(--sf); }
.prose > nav a::before { content: counter(c); font: 18px/1 var(--num); color: var(--text3); }
.prose > nav a:hover { color: var(--text); background: var(--glass); }
.doc.has-own-nav .rail { display: none; }

@media (min-width: 720px) {
  .prose h1 { font-size: 52px; }
  .prose h2 { font-size: 28px; }
}
@media (min-width: 1000px) {
  .doc { display: grid; grid-template-columns: 260px minmax(0, 66ch); column-gap: 96px; justify-content: center; padding-top: 40px; }
  .doc .rail { position: sticky; top: 24px; align-self: start; margin: 0; max-height: calc(100vh - 48px); overflow: auto; }
  .doc.has-own-nav .rail { display: block; }
  .doc.has-own-nav .prose > nav { display: none; }
  .rail .docname { display: block; margin: 8px 8px 16px; }
  .rail .docname .kicker { margin-bottom: 6px; }
  .rail .docname .byline { color: var(--text); }
  .contents { display: none; }
  .rail .railnav { display: block; }
  .railnav .toc { padding: 0; }
  .prose h1 { margin-top: 0; font-size: 60px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0ms !important; }
  .btn:active { transform: none; }
}
@media print {
  .bar .docs, .bar .btn, .rail, .foot .row { display: none; }
  .doc { display: block; }
  body { background: #fff; color: #000; }
}

/* ════ WAITLIST (www/index.html, joined.html) ════
   The teaser's stage on a page: black, a soft glow that drifts, type that comes into focus word by word (the teaser's Words: blur
   to sharp, a short slide, a slight stretch, staggered). Always dark, even when the OS is light: it is a film's front door.
   The headline is the teaser's own type (SF, 650, -0.035em) and its fill (green, mint, the warm bleed) on the words that pay off. */
.stage {
  --bg: #000000; --surface: #1c1c1e; --text: #f5f5f7; --text2: #a1a1a6; --text3: #6a6a70;
  --hair: rgba(255,255,255,0.10); --glass: rgba(255,255,255,0.08); --primary: #ffffff; --onPrimary: #000000; --green: #30d158;
  --mint: #7be3a7; --teal: #1f8f73; --deep: #0b3b2c; --warm: #c2937d;
  --fill: linear-gradient(95deg, var(--green) 0%, var(--mint) 45%, var(--warm) 100%);
  --enter: cubic-bezier(0.2, 0.8, 0.2, 1);
  color-scheme: dark; background: var(--bg); color: var(--text);
}
html:has(> body.stage) { background: #000; color-scheme: dark; }
.stage { min-height: 100svh; display: flex; flex-direction: column; overflow-x: clip; isolation: isolate; }
.stage > .wrap { width: 100%; }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* the glow: the teaser's bottom glow and side washes, still and faint; it breathes slowly */
.glow { position: fixed; inset: -10% -10% -10% -10%; z-index: -1; pointer-events: none; opacity: 0.7;
  background:
    radial-gradient(46% 26% at 22% 104%, color-mix(in srgb, var(--green) 55%, transparent), transparent 70%),
    radial-gradient(40% 22% at 70% 108%, color-mix(in srgb, var(--warm) 45%, transparent), transparent 70%),
    radial-gradient(34% 32% at -4% 42%, color-mix(in srgb, var(--teal) 40%, transparent), transparent 70%),
    radial-gradient(34% 32% at 104% 30%, var(--deep), transparent 70%);
  animation: glow-in 1600ms var(--enter) both, glow-drift 22s ease-in-out 1600ms infinite alternate; }
@keyframes glow-in { from { opacity: 0; } to { opacity: 0.7; } }
@keyframes glow-drift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(2%, -2%, 0) scale(1.04); } }

.wl-bar { display: flex; align-items: center; min-height: 64px; padding-top: 4px; }
.lockup { display: inline-flex; align-items: center; min-height: 44px; border-radius: 8px; }
/* the lockup file carries 60 units of air on every side (of 593 tall); the negative margin sets the mark itself on the gutter */
.lockup img { height: 38px; width: auto; margin: 0 0 0 -3.8px; }

.wl { flex: 1; display: grid; gap: 36px; align-content: start; padding-top: 20px; padding-bottom: 40px; }
.headline { margin: 0; font: 650 clamp(40px, 10.6vw, 64px)/1.04 var(--sf); letter-spacing: -0.035em; text-wrap: balance; }
.headline .w { display: inline-block; }
.headline .fill { background-image: var(--fill); -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-bottom: 0.06em; }
.lede { margin: 18px 0 0; max-width: 30em; font: 400 17px/1.5 var(--sf); color: var(--text2); text-wrap: pretty; }

/* the ask: one field, one button. On a phone they stack, full width; wider, the button sits inside the field's capsule */
.join { margin-top: 28px; max-width: 480px; }
.field { display: grid; gap: 10px; }
.field input { width: 100%; min-height: 52px; padding: 0 22px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.16);
  background: var(--glass); color: var(--text); font: 400 17px/1 var(--sf); caret-color: var(--green); -webkit-appearance: none; appearance: none;
  transition: border-color var(--fast) var(--ease), background-color var(--fast) var(--ease); }
.field input::placeholder { color: #8e8e93; opacity: 1; }
.field input:hover { border-color: rgba(255,255,255,0.26); }
.field input:focus { outline: none; border-color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.11); }
.field input[aria-invalid="true"] { border-color: #ff6961; }
.field .btn { min-height: 52px; width: 100%; font-size: 17px; }
.field .btn:disabled { cursor: progress; }
.busy .field .btn { color: transparent; position: relative; }
.busy .field .btn::after { content: ""; position: absolute; width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid rgba(0,0,0,0.2); border-top-color: #000; animation: spin 700ms linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.msg { margin: 10px 0 0; min-height: 0; font: 500 15px/20px var(--sf); color: #ff6961; }
.msg:empty { display: none; }
.invalid { display: none; margin: 10px 0 0; font: 500 15px/20px var(--sf); color: #ff6961; }
.invalid:target { display: block; }
.note { margin: 14px 0 0; font: 400 14px/20px var(--sf); color: var(--text2); }
.note a { color: var(--text); margin-left: 4px; }
.note a:hover { color: #fff; }

.joined { margin-top: 28px; max-width: 480px; outline: none; }
.joined-title { display: flex; align-items: center; gap: 12px; margin: 0; font: 650 24px/1.2 var(--sf); letter-spacing: -0.02em; }
.joined-title svg { width: 28px; height: 28px; flex: none; }
.joined-title circle { fill: var(--green); }
.joined-title path { fill: none; stroke: #000; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.joined:not([hidden]) > * { animation: focus-in 700ms var(--enter) both; }
.joined:not([hidden]) > .note { animation-delay: 120ms; }
.back { display: inline-block; margin-top: 28px; }

/* the film: a sheet (radius 20) with a hairline edge, so the teaser's black meets the page's black at a line, not a guess */
.reel { position: relative; margin: 0; width: 100%; max-width: 420px; justify-self: center; border-radius: 20px; overflow: hidden;
  background: #050505; aspect-ratio: 9 / 16; isolation: isolate; }
.reel::after { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 1px solid rgba(255,255,255,0.10); pointer-events: none; }
.reel video { display: block; width: 100%; height: 100%; object-fit: cover; cursor: pointer; }
.reel .play { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 18px 0 14px; border: 0; border-radius: 999px; background: rgba(0,0,0,0.6); color: #fff;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); font: 600 15px/1 var(--sf); cursor: pointer; }
.reel .play[hidden] { display: none; }
.reel .play svg { width: 18px; height: 18px; fill: currentColor; }

.wl-foot { padding-top: 20px; padding-bottom: 28px; color: var(--text2); font: 400 12px/17px var(--sf); }
.wl-foot p { margin: 0; max-width: 60em; }
.wl-foot .links { display: flex; flex-wrap: wrap; align-items: center; gap: 0 20px; margin-bottom: 8px; font-size: 14px; }
.wl-foot .links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--text); text-decoration: none; }
.wl-foot .links a:hover { text-decoration: underline; }

/* focus: the house ring, white on the stage */
.stage :focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.stage .field input:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* entrance: words come into focus one by one, then the line, the ask and the film */
@keyframes focus-in {
  from { opacity: 0; filter: blur(14px); transform: translate3d(0.3em, 0, 0) scaleX(1.12); }
  to { opacity: 1; filter: blur(0); transform: none; }
}
@keyframes soft-in { from { opacity: 0; filter: blur(8px); transform: translate3d(0, 8px, 0); } to { opacity: 1; filter: blur(0); transform: none; } }
@keyframes film-in { from { opacity: 0; filter: blur(18px); transform: scale(0.97); } to { opacity: 1; filter: blur(0); transform: none; } }
.headline .w { transform-origin: left center; animation: focus-in 760ms var(--enter) both; }
.headline .w:nth-child(1) { animation-delay: 140ms; }
.headline .w:nth-child(2) { animation-delay: 240ms; }
.headline .w:nth-child(3) { animation-delay: 380ms; }
.headline .w:nth-child(4) { animation-delay: 480ms; }
.lede { animation: soft-in 700ms var(--enter) 640ms both; }
.join { animation: soft-in 700ms var(--enter) 760ms both; }
.reel { animation: film-in 1100ms var(--enter) 420ms both; }

@media (min-width: 480px) {
  .field { display: flex; gap: 0; padding: 4px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.16); background: var(--glass);
    transition: border-color var(--fast) var(--ease), background-color var(--fast) var(--ease); }
  .field:hover { border-color: rgba(255,255,255,0.26); }
  .field:focus-within { border-color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.11); }
  .field:has(input[aria-invalid="true"]) { border-color: #ff6961; }
  .field input, .field input:hover, .field input:focus { flex: 1; min-width: 0; min-height: 48px; border: 0; background: transparent; padding: 0 14px 0 18px; }
  .stage .field input:focus-visible { outline: none; }
  .field .btn { width: auto; min-height: 48px; padding: 0 22px; flex: none; }
}
@media (min-width: 768px) {
  .wl-bar { min-height: 80px; }
  .lockup img { height: 42px; margin-left: -4.2px; }
  .wl { padding-top: 32px; gap: 48px; }
  .headline { font-size: 64px; }
  .lede { font-size: 19px; line-height: 1.47; }
  .reel { max-width: none; aspect-ratio: 16 / 9; }
}
@media (min-width: 1080px) {
  .wl { grid-template-columns: minmax(0, 500px) minmax(0, 1fr); column-gap: 64px; align-items: center; align-content: center; padding-top: 0; }
  .wl-bar, .wl, .wl-foot { max-width: 1400px; }
  .headline { font-size: 64px; }
  .wl-foot { display: flex; align-items: baseline; justify-content: space-between; gap: 32px; }
  .wl-foot .links { margin: 0; order: 2; flex: none; }
  .wl-foot p:not(.links) { max-width: 46em; }
}
@media (min-width: 1280px) {
  .headline { font-size: 72px; }
  .wl { grid-template-columns: minmax(0, 540px) minmax(0, 1fr); column-gap: 80px; }
}
@media (prefers-reduced-motion: reduce) {
  .glow, .headline .w, .lede, .join, .reel, .joined:not([hidden]) > * { animation: none !important; }
  .busy .field .btn::after { animation-duration: 1.6s; }
}
