/*
 * becoming.pics
 *
 * The app's own palette (src/theme/schemes.ts), type (Instrument Serif for
 * the voice, Instrument Sans for everything else) and shapes
 * (src/theme/scale.ts): a button is 52 tall with 14 corners and a bold
 * label, a card has 20, a segmented control 14 with a 3 inset, a chip is a
 * pill. The site uses the app's components, measured, not lookalikes. The
 * amber panels are the Play listing's cards (D78), so the site, the store and
 * the app are one thing.
 *
 * Contrast is measured, as in the app: --dim is 0.66 chalk on ink900
 * (7.9:1), --faint is 0.52 (5.2:1). On the amber panels, text is #1E1408
 * (8.5:1 at the gradient's darkest corner, 14.8:1 at its lightest) and the
 * italic #6E3C05 is 4.2:1 at worst, so it is only ever display-sized type,
 * where WCAG's floor is 3:1.
 */

@font-face {
  font-family: "Instrument Sans";
  src: url("fonts/instrument-sans.woff2") format("woff2");
  font-weight: 400 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("fonts/instrument-serif.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("fonts/instrument-serif-italic.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap;
}

:root {
  color-scheme: dark;
  --ink: #08090B;
  --ink-2: #0E1013;
  --ink-3: #14171B;
  --ink-4: #1B1F25;
  --chalk: #F4F2ED;
  --dim: rgba(244, 242, 237, 0.66);
  --faint: rgba(244, 242, 237, 0.52);
  --hair: rgba(255, 255, 255, 0.10);
  --hair-2: rgba(255, 255, 255, 0.16);
  --control: rgba(255, 255, 255, 0.34);
  --surface: rgba(255, 255, 255, 0.045);
  --surface-2: rgba(255, 255, 255, 0.075);
  --fill: rgba(255, 255, 255, 0.10);
  --fill-solid: #1E2126;   /* roles.ts fill */
  --canvas: #0B0C0F;       /* roles.ts canvas */
  --amber: #F0B857;
  --amber-light: #F6C56E;
  --amber-pale: #F8D48A;
  --amber-deep: #B9863A;
  --amber-ink: #1A1206;
  --on-amber: #1E1408;
  --on-amber-em: #6E3C05;
  --on-amber-dim: #4A3214;
  --mint: #6FC79A;
  --amber-ground:
    radial-gradient(900px 700px at 8% 0%, rgba(255, 250, 236, 0.55), transparent 58%),
    linear-gradient(143deg, #FBE6BE 0%, #F4C66F 52%, #E8A440 100%);

  --serif: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Instrument Sans", ui-sans-serif, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* scale.ts RADIUS */
  --r-thumb: 8px;
  --r-control: 14px;
  --r-card: 20px;
  --r-sheet: 28px;

  --gutter: max(16px, min(5vw, 40px));
  --max: 1200px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --top-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--top-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--ink);
  color: var(--chalk);
  font: 400 17px/1.6 var(--sans);
  font-feature-settings: "kern", "calt";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--amber); color: var(--amber-ink); }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 6px; }
main:focus { outline: none; }

.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; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--amber); color: var(--amber-ink); padding: 10px 16px; border-radius: var(--r-control); font-weight: 700; text-decoration: none; transition: top .2s var(--ease); }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 820px; }

/* ---------------------------------------------------------------- type */

.eyebrow {
  margin: 0 0 18px;
  font: 600 12px/1.2 var(--sans);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
}
.display, .h1, .h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}
.display { font-size: clamp(52px, 8.6vw, 124px); line-height: 0.92; letter-spacing: -0.03em; }
.br-wide { display: none; }
@media (min-width: 961px) { .br-wide { display: block; } }
.h1 { font-size: clamp(44px, 7.2vw, 96px); line-height: 0.95; }
.h2 { font-size: clamp(40px, 5.4vw, 76px); line-height: 0.98; }
.display em, .h1 em, .h2 em { font-style: italic; color: var(--amber); }
.h1 em, .h2 em { display: block; }
.h3 { font: 600 19px/1.3 var(--sans); letter-spacing: -0.01em; margin: 0 0 8px; }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; color: var(--dim); max-width: 32em; margin: 24px 0 0; text-wrap: pretty; }
.dim { color: var(--dim); }
p { text-wrap: pretty; }
.cap { margin: 14px 2px 0; font-size: 13.5px; line-height: 1.5; color: var(--faint); max-width: 46em; }
.cap-center { text-align: center; margin-inline: auto; }
.cap-hint { color: var(--dim); }
.small { font-size: 14.5px; color: var(--faint); max-width: 40em; }
.more { margin: 28px 0 0; color: var(--dim); }
.more a { color: var(--amber); text-underline-offset: 4px; }
.more-center { text-align: center; margin-top: 40px; }

/* ------------------------------------------------- buttons, as the app */

/* Button.tsx: height lg 52 / md 44, RADIUS.control 14, label Instrument
   Sans Bold 17 / 15, primary is a flat amber fill, outline a 1px edge at
   hairlineControl, pressed scales a touch. */
.btn {
  --h: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: var(--h); padding: 8px 24px;
  border-radius: var(--r-control); border: 0;
  font: 700 17px/1.2 var(--sans);
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .15s var(--ease), background-color .2s var(--ease);
}
.btn:active { transform: scale(0.97); }
.btn-amber { background: var(--amber); color: var(--amber-ink); }
.btn-amber:hover { background: var(--amber-light); }
.btn-ghost { background: transparent; color: var(--chalk); box-shadow: 0 0 0 1px var(--control) inset; }
.btn-ghost:hover { background: var(--surface-2); }
.btn-dark { background: var(--ink); color: var(--chalk); }
.btn-dark:hover { background: var(--ink-3); }
.btn-sm { --h: 44px; padding: 8px 20px; font-size: 15px; }
.btn svg { width: 18px; height: 18px; flex: none; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 36px 0 0; align-items: center; }

/* Chip.tsx: a pill on the fill colour. */
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 22px 0 0; list-style: none; }
.chips-center { justify-content: center; margin-top: 28px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 4px 16px; border-radius: 999px; background: var(--fill-solid); font: 700 15px/20px var(--sans); color: var(--chalk); }
.chip .i { width: 16px; height: 16px; color: var(--amber); }
.i { width: 22px; height: 22px; flex: none; }

/* ------------------------------------------------------------- header */

.top { position: fixed; inset: 0 0 auto 0; z-index: 50; view-transition-name: top; transition: background-color .3s var(--ease), box-shadow .3s var(--ease); }
.top.is-scrolled, .menu-open .top { background: rgba(8, 9, 11, 0.8); -webkit-backdrop-filter: saturate(1.4) blur(18px); backdrop-filter: saturate(1.4) blur(18px); box-shadow: 0 1px 0 var(--hair); }
.top-in { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); height: var(--top-h); display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; border-radius: 8px; }
.lockup { height: 30px; width: auto; }
.top-nav { display: flex; gap: 28px; margin-left: auto; }
.top-nav a, .foot-col a { text-decoration: none; color: var(--dim); font-size: 15px; transition: color .2s var(--ease); }
.top-nav a:hover, .top-nav a[aria-current="page"], .foot-col a:hover, .foot-col a[aria-current="page"] { color: var(--chalk); }
.menu { display: none; }
.sheet { display: none; }

@media (max-width: 880px) {
  .top-nav { display: none; }
  .top-in { gap: 12px; }
  .top-cta { margin-left: auto; --h: 40px; padding: 6px 14px; font-size: 14px; }
  .menu { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-control); border: 0; background: var(--fill); cursor: pointer; }
  .menu-bars, .menu-bars::before, .menu-bars::after { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--chalk); transition: transform .3s var(--ease); }
  .menu-bars { position: relative; }
  .menu-bars::before, .menu-bars::after { content: ""; position: absolute; left: 0; }
  .menu-bars::before { top: -6px; }
  .menu-bars::after { top: 6px; }
  .menu[aria-expanded="true"] .menu-bars { background: transparent; }
  .menu[aria-expanded="true"] .menu-bars::before { transform: translateY(6px) rotate(45deg); }
  .menu[aria-expanded="true"] .menu-bars::after { transform: translateY(-6px) rotate(-45deg); }
  .sheet:not([hidden]) { display: block; height: calc(100dvh - var(--top-h)); overflow: auto; padding: 12px var(--gutter) 40px; }
  .sheet nav { display: grid; gap: 4px; }
  .sheet a:not(.btn) { font: 400 40px/1.15 var(--serif); text-decoration: none; padding: 10px 0; border-bottom: 1px solid var(--hair); color: var(--chalk); }
  .sheet .btn { margin-top: 28px; }
  .menu-open body { overflow: hidden; }
}

/* ------------------------------------------------------------- footer */

.foot { border-top: 1px solid var(--hair); padding: 72px 0 40px; background: var(--ink); }
.foot-in { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.foot-brand p { color: var(--dim); max-width: 26em; margin: 18px 0 0; font-size: 15px; }
.foot-col { display: flex; flex-direction: column; gap: 12px; }
.foot-col h2 { font: 600 12px/1.2 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); margin: 6px 0; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--hair); color: var(--faint); font-size: 14px; }
.foot-base p { margin: 0; }
.foot-base a { color: var(--dim); }
@media (max-width: 880px) { .foot-in { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

/* --------------------------------------------------- page transitions */

main { view-transition-name: main; display: block; }
::view-transition-old(main) { animation: vt-out .18s var(--ease) both; }
::view-transition-new(main) { animation: vt-in .42s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(14px); } }

[data-reveal] { transition: opacity .8s var(--ease), transform .8s var(--ease); }
[data-reveal].is-pre { opacity: 0; transform: translateY(28px); }

/* ------------------------------------------------------------- bands */

.band { position: relative; padding-block: clamp(80px, 10vw, 152px); }
.band + .band { border-top: 1px solid var(--hair); }
[data-page="home"] .band + .band { border-top: 0; }
.band-tight { padding-block: clamp(56px, 7vw, 104px); }
.head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.head .lead { margin-top: 20px; }
.head-center { margin-inline: auto; text-align: center; }
.head-center .lead { margin-inline: auto; }
@media (max-width: 640px) { .band { padding-block: 64px; } .band-tight { padding-block: 48px; } }

/* -------------------------------------------------------------- hero */

.hero { position: relative; overflow: clip; padding: calc(var(--top-h) + clamp(24px, 6vh, 72px)) 0 clamp(56px, 7vw, 104px); }
.hero-glow { position: absolute; inset: -20% -10% auto -10%; height: 120%; pointer-events: none; background: radial-gradient(42% 46% at 74% 42%, rgba(240, 184, 87, 0.17), transparent 70%), radial-gradient(30% 30% at 12% 8%, rgba(246, 197, 110, 0.06), transparent 70%); }
.hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.hero-copy .lead { max-width: 24em; }
.facts { display: flex; flex-wrap: wrap; gap: 6px 18px; list-style: none; padding: 0; margin: 22px 0 0; color: var(--faint); font-size: 14.5px; }
.facts li { display: inline-flex; align-items: center; gap: 18px; }
.facts li + li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--amber-deep); margin-left: -12px; margin-right: -6px; }
.hero-media { margin: 0; justify-self: end; width: min(440px, 100%); }
.hero-media .scrub .scrub-stage { aspect-ratio: 4 / 5; background: #0C0607; }
.hero-media .scrub-frame { object-position: 50% 40%; }
.hero-phone { display: grid; justify-items: center; }
.hero-phone .phone { --w: min(320px, 72vw); }
.hero-phone .cap { text-align: center; }
@media (max-width: 960px) { .hero-in { grid-template-columns: 1fr; } .hero-media { justify-self: center; } .hero-glow { background: radial-gradient(480px circle at 50% 72%, rgba(240, 184, 87, 0.14), transparent 70%); } }
@media (max-width: 640px) {
  .hero { padding-top: calc(var(--top-h) + 20px); }
  .hero-media { width: 100%; }
  .hero-media .scrub .scrub-stage { aspect-ratio: 1 / 1; }
}

/* ------------------------------------------------------------- phone */

.phone {
  --w: 300px;
  position: relative; margin: 0; width: var(--w); max-width: 100%;
  padding: calc(var(--w) * 0.032);
  border-radius: calc(var(--w) * 0.155);
  background: linear-gradient(160deg, #23262C, #0B0C0F 40%, #121418);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.10) inset, 0 0 0 2px rgba(0, 0, 0, 0.6), 0 50px 90px -30px rgba(0, 0, 0, 0.8), 0 30px 60px -40px rgba(240, 184, 87, 0.28);
  transform: perspective(1400px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .6s var(--ease);
}
.phone-glass { position: relative; overflow: hidden; border-radius: calc(var(--w) * 0.125); background: var(--ink-2); aspect-ratio: 576 / 1280; }
.phone-screen { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.clip-play { position: absolute; inset: auto 50% 46% auto; transform: translate(50%, 50%); display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; border: 0; cursor: pointer; background: rgba(14, 16, 19, 0.72); color: var(--chalk); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 0 0 1px var(--hair-2) inset; }
.clip-play svg { width: 24px; height: 24px; margin-left: 3px; }
.clip-play[hidden] { display: none; }

/* ---------------------------------------------------------- scrubber */

.scrub { position: relative; user-select: none; -webkit-user-select: none; }
.scrub-stage { position: relative; overflow: hidden; border-radius: var(--r-card); background: var(--ink-3); touch-action: pan-y; cursor: ew-resize; box-shadow: 0 0 0 1px var(--hair) inset; }
.scrub-portrait .scrub-stage { aspect-ratio: 540 / 960; }
.scrub-landscape .scrub-stage { aspect-ratio: 16 / 9; }
.scrub-square .scrub-stage { aspect-ratio: 1 / 1; }
.scrub-four .scrub-stage { aspect-ratio: 4 / 3; }
.scrub-frame { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; will-change: opacity; }
.scrub img, .wipe img, .lineup img { -webkit-user-drag: none; user-select: none; -webkit-user-select: none; }
.scrub-frame:first-child { opacity: 1; }
html:not(.js) .scrub-frame:last-of-type { opacity: 1; }
.scrub-tag { position: absolute; left: 20px; bottom: 18px; z-index: 5; margin: 0; display: flex; flex-direction: column; gap: 2px; pointer-events: none; text-shadow: 0 1px 12px rgba(0, 0, 0, 0.5); }
.scrub-tag [data-day] { font: 400 clamp(30px, 3.4vw, 44px)/1 var(--serif); color: #fff; font-variant-numeric: lining-nums tabular-nums; }
.scrub-date { font: 600 11px/1.2 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255, 255, 255, 0.82); }
.scrub-date:empty { display: none; }
.scrub-strip { position: relative; display: flex; gap: 4px; margin-top: 10px; padding: 4px; border-radius: var(--r-control); background: var(--surface); box-shadow: 0 0 0 1px var(--hair) inset; }
.scrub-thumb { flex: 1; min-width: 0; padding: 0; border: 0; background: none; border-radius: var(--r-thumb); overflow: hidden; opacity: 0.5; transition: opacity .25s var(--ease); }
.scrub-thumb img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.scrub-square .scrub-thumb img { aspect-ratio: 1 / 1; }
.scrub-four .scrub-thumb img { aspect-ratio: 4 / 3; }
.scrub-thumb.is-on { opacity: 1; }
.scrub-head { position: absolute; top: -3px; bottom: -3px; left: 0; width: 3px; margin-left: -1.5px; border-radius: 3px; background: var(--amber); box-shadow: 0 0 0 3px rgba(240, 184, 87, 0.25), 0 0 18px rgba(240, 184, 87, 0.6); pointer-events: none; }
.scrub-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; touch-action: pan-y; }
.scrub-range-bare { position: static; height: 44px; opacity: 1; }
.scrub-strip:has(.scrub-range:focus-visible) { outline: 2px solid var(--amber); outline-offset: 3px; }
html:not(.js) .scrub-head, html:not(.js) .scrub-range { display: none; }

/* -------------------------------------------------------------- wipe */

.wipe { --x: 50%; position: relative; overflow: hidden; border-radius: var(--r-card); touch-action: pan-y; cursor: ew-resize; user-select: none; -webkit-user-select: none; }
.wipe-img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.wipe > .wipe-img { position: absolute; inset: 0; }
.wipe-top { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--x)) 0 0); }
.wipe-line { position: absolute; top: 0; bottom: 0; left: var(--x); width: 2px; margin-left: -1px; background: rgba(255, 255, 255, 0.92); box-shadow: 0 0 20px rgba(0, 0, 0, 0.35); pointer-events: none; }
.wipe-knob { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--chalk); color: var(--amber-ink); box-shadow: 0 0 0 1px rgba(14, 16, 19, 0.4); transition: transform .25s var(--ease); }
.wipe-knob .i { width: 14px; height: 14px; }
.wipe.is-dragging .wipe-knob { transform: translate(-50%, -50%) scale(1.12); }
.wipe-tag { position: absolute; bottom: 12px; padding: 4px 12px; border-radius: 999px; background: rgba(14, 16, 19, 0.66); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font: 400 12px/16px var(--sans); color: #fff; pointer-events: none; }
.wipe-tag-l { left: 12px; }
.wipe-tag-r { right: 12px; }
.wipe-range { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.wipe:has(.wipe-range:focus-visible) { outline: 2px solid var(--amber); outline-offset: 4px; }

/* ----------------------------------------------- the line-up (signature) */

/* WalkthroughArt's AlignPanel, in proportion to its 230-wide card: arrive
   offsets, a 1s settle after 350ms on bezier(.3,0,.2,1), the raw photo
   giving way over the settle's second half, the dots and ring over its last
   30%, the corners 18 outside with 22 arms. */
.band-lineup { overflow: clip; }
.lineup { position: relative; }
.lu-stage { position: relative; width: min(600px, 74%); aspect-ratio: 4 / 3; margin: 72px auto 40px; }
.lu-stage::before { content: ""; position: absolute; left: -15%; top: 50%; width: 130%; aspect-ratio: 1; transform: translateY(-50%); pointer-events: none; background: radial-gradient(closest-side, rgba(240, 184, 87, 0.16), transparent 70%); }
.lu-card, .lu-play { position: absolute; inset: 0; margin: 0; border-radius: var(--r-control); overflow: hidden; }
.lu-card { background: var(--ink-3); box-shadow: 0 0 0 1px var(--hair-2) inset; transition: transform 1s cubic-bezier(0.3, 0, 0.2, 1) .35s, opacity 1s cubic-bezier(0.3, 0, 0.2, 1) .35s; }
.lu-card img, .lu-play img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lu-a { transform: translate(-35.2%, -28.4%) rotate(-18deg); z-index: 1; }
.lu-b { transform: translate(32.6%, 30.1%) rotate(16deg); z-index: 2; }
.lu-front { transform: rotate(-4deg); z-index: 3; }
.lu-raw { transition: opacity .55s linear .8s; }
.lineup.is-settled .lu-card { transform: none; }
.lineup.is-settled .lu-a, .lineup.is-settled .lu-b { opacity: 0.35; }
.lineup.is-settled .lu-raw { opacity: 0; }
.lu-ring { position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 2px var(--amber); opacity: 0; transition: opacity .3s linear 1.05s; z-index: 2; }
.lineup.is-settled .lu-ring { opacity: 1; }
.lu-play { z-index: 4; opacity: 0; transition: opacity .4s var(--ease); pointer-events: none; }
.lu-frame { opacity: 0; z-index: 0; }
.lu-frame.is-under { opacity: 1; z-index: 0; }
.lu-frame.is-on { opacity: 1; z-index: 1; transition: opacity 140ms linear; }
@starting-style { .lu-frame.is-on { opacity: 0; } }
.lineup.is-playing .lu-play { opacity: 1; }
.lu-dots { position: absolute; inset: 0; z-index: 5; pointer-events: none; }
.lu-dot { position: absolute; width: 3.9%; aspect-ratio: 1; margin: -1.95% 0 0 -1.95%; border-radius: 50%; background: var(--amber); opacity: 0; transition: opacity .3s linear 1.05s, transform .4s var(--ease), background-color .4s var(--ease), box-shadow .4s var(--ease); }
.lineup.is-settled .lu-dot { opacity: 1; }
/* While his month plays, the dots stay as rings: the eyes never leave them. */
.lineup.is-playing .lu-dot { background: transparent; transform: scale(1.6); box-shadow: inset 0 0 0 2px var(--amber), 0 0 12px rgba(240, 184, 87, 0.45); transition-delay: 0s; }
.lu-brackets { position: absolute; left: -7.83%; top: -10.43%; width: 115.65%; height: 120.87%; max-width: none; z-index: 6; pointer-events: none; overflow: visible; }
.lu-brackets path { fill: none; stroke: rgba(244, 242, 237, 0.72); stroke-width: 3; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.lu-day { position: absolute; left: 18px; bottom: 14px; z-index: 6; margin: 0; font: 400 clamp(32px, 4vw, 52px)/1 var(--serif); color: #fff; text-shadow: 0 2px 16px rgba(0, 0, 0, 0.5); opacity: 0; transform: translateY(8px); transition: opacity .4s var(--ease), transform .4s var(--ease); font-variant-numeric: lining-nums tabular-nums; }
.lineup.is-playing .lu-day { opacity: 1; transform: none; }
.lu-again { position: absolute; right: 12px; bottom: 12px; z-index: 7; display: inline-flex; align-items: center; gap: 6px; margin: 0; min-height: 36px; padding: 8px 12px; border: 0; border-radius: var(--r-control); background: rgba(14, 16, 19, 0.66); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: var(--chalk); font: 700 15px/20px var(--sans); cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .4s var(--ease); }
.lu-again .i { width: 16px; height: 16px; }
.lineup.is-done .lu-again, .lineup.is-still .lu-again { opacity: 1; pointer-events: auto; }
/* Replaying starts from the scatter at once, not by un-settling. */
.lineup.is-reset .lu-card, .lineup.is-reset .lu-raw, .lineup.is-reset .lu-ring, .lineup.is-reset .lu-dot, .lineup.is-still * { transition: none !important; }
/* Without the script: the lined-up stack, still. */
html:not(.js) .lu-card { transform: none; }
html:not(.js) .lu-a, html:not(.js) .lu-b { opacity: 0.35; }
html:not(.js) .lu-raw { opacity: 0; }
html:not(.js) .lu-again, html:not(.js) .lu-dots { display: none; }
@media (max-width: 640px) {
  .lu-stage { width: 86%; margin: 44px auto 28px; }
  .lu-a { transform: translate(-14%, -16%) rotate(-12deg); }
  .lu-b { transform: translate(14%, 16%) rotate(11deg); }
}

/* ------------------------------------------------- the amber band */

.amber { color: var(--on-amber); background: var(--amber-ground); }
.band.amber, .band.amber + .band { border-top: 0; }
.amber .eyebrow { color: var(--on-amber-em); }
.amber .h2 em { color: var(--on-amber-em); }
.amber p, .amber .lead { color: var(--on-amber-dim); }
.amber ::selection { background: var(--on-amber); color: #FBE6BE; }
.amber .phone { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14) inset, 0 56px 100px -30px rgba(90, 50, 5, 0.5), 0 14px 34px -10px rgba(90, 50, 5, 0.3); }

/* ------------------------------------------------- how it works story */

.steps { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); }
.steps-stage { position: sticky; top: calc(var(--top-h) + 32px); align-self: start; display: grid; justify-items: center; }
.steps-phone { position: relative; width: min(330px, 100%); }
.steps-phone .phone { --w: min(330px, 100%); }
.steps-screen { transition: opacity .5s var(--ease), transform .6s var(--ease); }
.steps-screen + .steps-screen { position: absolute; inset: 0; }
.steps-screen:not(.is-on) { opacity: 0; transform: translateY(10px) scale(0.985); }
.steps-list { list-style: none; margin: 0; padding: 0; }
.step { min-height: 52vh; display: flex; flex-direction: column; justify-content: center; padding: 24px 0; transition: opacity .5s var(--ease); }
.js .step:not(.is-on) { opacity: 0.38; }
.step-bar { display: flex; gap: 4px; width: 96px; margin-bottom: 22px; }
.step-bar i { flex: 1; height: 4px; border-radius: 999px; background: rgba(30, 20, 8, 0.3); }
.step-bar i.on { background: var(--on-amber); }
.step-title { font: 400 clamp(32px, 3.4vw, 46px)/1.04 var(--serif); letter-spacing: -0.015em; margin: 0 0 14px; color: var(--on-amber); text-wrap: balance; }
.step p { font-size: 18px; max-width: 26em; margin: 0; }
.step-notes { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.step-notes li { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--on-amber); }
.step-notes .i { width: 20px; height: 20px; color: var(--on-amber-em); }
.step-phone { display: none; }
@media (max-width: 959px) {
  .steps { grid-template-columns: 1fr; }
  .steps-stage { display: none; }
  .steps-list { display: grid; grid-auto-flow: column; grid-auto-columns: 84%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
  .steps-list::-webkit-scrollbar { display: none; }
  .step { min-height: 0; padding: 0; opacity: 1 !important; scroll-snap-align: start; }
  .step-phone { display: grid; justify-items: start; order: -1; margin: 0 0 24px; }
  .step-phone .phone { --w: min(240px, 62vw); }
}

/* ----------------------------------------------------- what to track */

/* Segmented.tsx: RADIUS.control 14 on the fill, an inset 3 thumb. */
.tablist { display: inline-flex; padding: 3px; border-radius: var(--r-control); background: var(--fill-solid); margin-bottom: 24px; }
.tablist [role="tab"] { flex: 1; min-width: 120px; min-height: 36px; border: 0; background: transparent; padding: 6px 16px; white-space: nowrap; border-radius: calc(var(--r-control) - 3px); cursor: pointer; font: 700 15px/20px var(--sans); color: var(--dim); transition: background-color .2s var(--ease), color .2s var(--ease); }
.tablist [aria-selected="true"] { background: var(--canvas); color: var(--chalk); box-shadow: 0 1px 1px rgba(0, 0, 0, 0.16); }
.tabpanel:not([hidden]) { display: grid; grid-template-columns: 1fr; gap: 24px; max-width: 880px; }
.tabpanel .chips { margin: 0; }
.track-media .wipe { aspect-ratio: 4 / 3; }
.tab-note { color: var(--faint); font-size: 14.5px; margin: 0 0 10px; }
.subjects { list-style: none; padding: 0; margin: 0; display: grid; }
.subjects li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 13px 2px; border-bottom: 1px solid var(--hair); }
.subject-name { font-weight: 600; }
.subject-prompt { font: italic 400 20px/1.2 var(--serif); color: var(--amber); text-align: right; }
.track-media { margin: 0; }
.track-media .scrub-frame { object-position: 50% 45%; }
.tab-foot { margin: 28px 0 0; color: var(--faint); font-size: 14.5px; }


/* ---------------------------------------------------------- privacy */

.flow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: stretch; max-width: 1000px; margin: 0 auto; }
.flow-phone, .flow-out { padding: 28px 30px; border-radius: var(--r-card); }
.flow-phone { background: linear-gradient(180deg, rgba(240, 184, 87, 0.10), rgba(240, 184, 87, 0.03)); box-shadow: 0 0 0 1px rgba(240, 184, 87, 0.28) inset; }
.flow-out { background: var(--surface); box-shadow: 0 0 0 1px var(--hair) inset; }
.flow-title { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; font: 600 12.5px/1.2 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber); }
.flow-out .flow-title { color: var(--faint); }
.flow ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.flow-phone li { font: 500 17px/1.4 var(--sans); }
.flow-out li { color: var(--dim); font-size: 15px; }
.flow-out strong { color: var(--chalk); font-weight: 600; }
@media (max-width: 760px) { .flow { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ bento */

.bento { display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-areas: "pact post backup" "end end rest"; }
.tile { position: relative; overflow: hidden; border-radius: var(--r-card); background: linear-gradient(180deg, var(--ink-2), var(--ink)); box-shadow: 0 0 0 1px var(--hair) inset; padding: 28px; display: flex; flex-direction: column; gap: 22px; }
.tile-title { font: 400 clamp(28px, 2.4vw, 34px)/1.05 var(--serif); letter-spacing: -0.01em; margin: 0 0 8px; text-wrap: balance; }
.tile-title em { font-style: italic; color: var(--amber); }
.tile p { color: var(--dim); margin: 0; font-size: 15.5px; max-width: 30em; }
.tile-phone { display: grid; justify-items: center; align-items: start; margin: auto -28px -28px; padding-top: 4px; height: 300px; overflow: hidden; }
.tile-phone .phone { --w: 260px; }
.t-pact { grid-area: pact; }
.t-post { grid-area: post; }
.t-backup { grid-area: backup; }
.t-end { grid-area: end; flex-direction: row; align-items: flex-end; gap: 28px; }
.t-end .endcard { flex: 1.3; align-self: stretch; aspect-ratio: auto; min-height: 180px; }
.t-end .tile-copy { flex: 1; }
.t-rest { grid-area: rest; justify-content: space-between; }
.endcard { margin: 0; aspect-ratio: 16 / 9; border-radius: var(--r-control); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; background: radial-gradient(70% 90% at 50% 100%, rgba(240, 184, 87, 0.14), transparent 70%), #0A0B0D; box-shadow: 0 0 0 1px var(--hair-2) inset; }
.endcard-day { font: 400 clamp(40px, 4vw, 58px)/1 var(--serif); letter-spacing: -0.02em; }
.endcard-line { font: 500 14px/1.3 var(--sans); color: var(--dim); }
/* The Progress calendar (CaptureCalendar): a kept day is its photo, a missed day a hairline cell. */
.month { display: grid; grid-template-columns: repeat(7, minmax(0, 45px)); gap: 4px; }
.month span { aspect-ratio: 1; border-radius: 7px; overflow: hidden; }
.month .kept { background: var(--fill-solid); }
.month .kept img { width: 100%; height: 100%; object-fit: cover; }
.month .missed { box-shadow: inset 0 0 0 1px var(--hair-2); }
@media (max-width: 1000px) {
  .bento { grid-template-columns: 1fr 1fr; grid-template-areas: "pact post" "backup rest" "end end"; }
}
@media (max-width: 680px) {
  .bento { grid-template-columns: 1fr; grid-template-areas: "pact" "end" "post" "rest" "backup"; }
  .t-end { flex-direction: column; align-items: stretch; }
  .t-end .endcard { aspect-ratio: 16 / 9; min-height: 0; }
}

/* ----------------------------------------------------- free and plus */

.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: stretch; }
.plan { padding: clamp(28px, 3.4vw, 44px); border-radius: var(--r-card); background: linear-gradient(180deg, var(--ink-2), var(--ink)); box-shadow: 0 0 0 1px var(--hair) inset; display: flex; flex-direction: column; }
.plan-name { font: 400 clamp(32px, 3vw, 42px)/1.05 var(--serif); margin: 0; letter-spacing: -0.01em; }
.plan-kicker { margin: 8px 0 24px; font: 600 12.5px/1.2 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber); }
.plan-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 13px; }
.plan-list li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; font-size: 16.5px; }
.plan-list .i { width: 20px; height: 20px; color: var(--mint); margin-top: 2px; }
.plan-also { margin: auto 0 0; padding-top: 24px; color: var(--faint); font-size: 14.5px; }
.plan-also strong { color: var(--dim); font-weight: 600; }
.plan-plus { color: var(--on-amber); background: var(--amber-ground); }
.plan-plus .plan-kicker { color: var(--on-amber-em); }
.plan-plus .plan-list { margin-bottom: 24px; }
.plan-plus .plan-list li { font-weight: 500; }
.plan-plus .plan-list .i { color: var(--on-amber-em); }
.plan-how { margin: auto 0 0; padding-top: 22px; border-top: 1px solid rgba(30, 20, 8, 0.16); color: var(--on-amber-dim); font-size: 14.5px; }
.plan-how strong { color: var(--on-amber); }
@media (max-width: 860px) { .plans { grid-template-columns: 1fr; } }

.ladder { margin-top: 16px; padding: clamp(26px, 3.4vw, 40px); border-radius: var(--r-card); background: #131416; box-shadow: 0 0 0 1px var(--hair) inset; display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 2fr); gap: 24px 48px; align-items: center; }
.ladder-copy p { color: var(--dim); margin: 0; font-size: 15.5px; }
.ladder-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); position: relative; }
.ladder-steps::before { content: ""; position: absolute; left: 0; right: 0; top: 24px; height: 1px; background: linear-gradient(90deg, var(--amber-deep), rgba(240, 184, 87, 0.15)); }
.rung { position: relative; display: grid; gap: 4px; padding-right: 8px; }
.rung-at { font: 400 44px/1 var(--serif); color: var(--amber); background: #131416; justify-self: start; padding-right: 10px; position: relative; font-variant-numeric: lining-nums; }
.rung-name { font-weight: 600; font-size: 15px; margin-top: 10px; }
.rung-kind { font-size: 13px; color: var(--faint); }
@media (max-width: 960px) { .ladder { grid-template-columns: 1fr; } .ladder-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 24px; } .ladder-steps::before { display: none; } }

/* -------------------------------------------------------------- faq */

.faq-wrap { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 32px clamp(40px, 6vw, 96px); align-items: start; }
.faq-wrap .head { position: sticky; top: calc(var(--top-h) + 32px); margin-bottom: 0; }
.faq { border-top: 1px solid var(--hair); }
.faq-item { border-bottom: 1px solid var(--hair); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 20px 2px; font: 600 18px/1.35 var(--sans); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--amber-light); }
.faq-sign { position: relative; flex: none; width: 28px; height: 28px; }
.faq-sign::before, .faq-sign::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -0.75px 0 0 -6px; background: currentColor; transition: transform .3s var(--ease); }
.faq-sign::after { transform: rotate(90deg); }
.faq-item[open] .faq-sign::after { transform: rotate(0deg); }
.faq-a { padding: 0 48px 24px 2px; color: var(--dim); }
.faq-a p { margin: 0 0 12px; }
.faq-a p:last-child { margin-bottom: 0; }
.faq-a strong { color: var(--chalk); font-weight: 600; }
.faq-a code { font: 0.9em ui-monospace, Menlo, monospace; color: var(--chalk); }
@supports (interpolate-size: allow-keywords) {
  .faq { interpolate-size: allow-keywords; }
  .faq-item::details-content { height: 0; overflow: clip; transition: height .35s var(--ease), content-visibility .35s allow-discrete; }
  .faq-item[open]::details-content { height: auto; }
}
@media (max-width: 960px) { .faq-wrap { grid-template-columns: 1fr; } .faq-wrap .head { position: static; } }

/* ----------------------------------------------------------- finale */

.finale { position: relative; overflow: hidden; text-align: center; color: var(--on-amber); padding: 0 0 clamp(88px, 11vw, 150px); background: var(--amber-ground); }
.finale-film { display: flex; gap: 12px; padding: 24px 0 0; width: max-content; margin-bottom: clamp(52px, 7vw, 96px); }
.finale-film img { height: clamp(120px, 14vw, 190px); width: auto; border-radius: var(--r-control); box-shadow: 0 20px 40px -20px rgba(90, 50, 5, 0.45); }
@media (prefers-reduced-motion: no-preference) { .finale-film { animation: film 80s linear infinite; } }
@keyframes film { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.finale .h2 { max-width: 13em; margin-inline: auto; }
.finale .h2 em { color: var(--on-amber-em); }
.finale .actions { justify-content: center; }
.finale-facts { margin: 20px 0 0; color: var(--on-amber-dim); font-size: 14.5px; }
.finale + .foot { border-top: 0; }

/* -------------------------------------------------------------- beta */

.narrow-wide { max-width: 1000px; }
.join-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.join-step, .join-ask { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 24px; padding: clamp(24px, 3vw, 36px); border-radius: var(--r-card); background: var(--surface); box-shadow: 0 0 0 1px var(--hair) inset; }
.join-step .step-bar { margin: 10px 0 0; }
.join-step .step-bar i { background: var(--control); }
.join-step .step-bar i.on { background: var(--amber); }
.join-step .step-title, .join-ask .step-title { color: var(--chalk); font-size: clamp(28px, 2.8vw, 36px); margin-bottom: 10px; }
.join-step p, .join-ask p { color: var(--dim); margin: 0; }
.join-step .actions, .join-ask .actions { margin-top: 22px; }
.join-done { margin: 28px 0 0; color: var(--dim); font: 500 17px/1.5 var(--sans); }
.join-ask { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 40px; align-items: center; background: linear-gradient(180deg, rgba(240, 184, 87, 0.10), rgba(240, 184, 87, 0.02)); box-shadow: 0 0 0 1px rgba(240, 184, 87, 0.3) inset; }
.join-later { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.join-later li { position: relative; padding-left: 28px; min-height: 28px; color: var(--dim); font-size: 15.5px; }
.join-later span { position: absolute; left: 0; top: 1px; font: 700 15px/1.4 var(--sans); color: var(--amber); }
.join-later strong { color: var(--chalk); }
@media (max-width: 760px) { .join-ask { grid-template-columns: 1fr; } .join-step { grid-template-columns: 1fr; } }
.hero-beta .hero-in { grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); }
.display-beta { font-size: clamp(46px, 6vw, 88px); }
@media (max-width: 960px) { .hero-beta .hero-in { grid-template-columns: 1fr; } .hero-beta .hero-media { display: none; } }
.deal { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 760px) { .deal { grid-template-columns: 1fr; } }
.ticks { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 16px; }
.ticks li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 14px; color: var(--dim); }
.ticks .i { color: var(--amber); margin-top: 2px; }
.ticks strong { color: var(--chalk); font-weight: 600; }

/* ----------------------------------------------------------- support */

.page-head { padding-block: calc(var(--top-h) + clamp(56px, 9vw, 120px)) clamp(36px, 5vw, 64px); }
.page-head .lead { margin-top: 24px; }
.tiles { list-style: none; padding: 0; margin: 0 0 clamp(40px, 6vw, 72px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.tile-link { display: grid; gap: 4px; height: 100%; padding: 22px; border-radius: var(--r-card); text-decoration: none; background: var(--surface); box-shadow: 0 0 0 1px var(--hair) inset; transition: background-color .2s var(--ease), transform .25s var(--ease); }
.tile-link:hover { background: var(--surface-2); transform: translateY(-2px); }
.tile-link .i { color: var(--amber); margin-bottom: 14px; }
.tile-link-title { font-weight: 600; }
.tile-link-sub { color: var(--faint); font-size: 14.5px; }
@media (max-width: 900px) { .tiles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .tiles { grid-template-columns: 1fr; } }
.guide { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 32px clamp(40px, 6vw, 96px); align-items: start; }
.guide > header { position: sticky; top: calc(var(--top-h) + 32px); }
.guide .prose h3 { font: 600 13px/1.2 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); margin-top: 40px; }
.numbered { list-style: none; counter-reset: n; padding: 0; display: grid; gap: 18px; }
.numbered li { counter-increment: n; position: relative; padding-left: 28px; margin: 0; }
.numbered li::before { content: counter(n); position: absolute; left: 0; top: 2px; font: 700 15px/1.5 var(--sans); color: var(--amber); }
@media (max-width: 960px) { .guide { grid-template-columns: 1fr; } .guide > header { position: static; } }
[data-page="support"] .page-head { padding-bottom: 40px; }
[data-page="support"] .band:first-of-type { border-top: 1px solid var(--hair); }
.h3s { font: 400 clamp(28px, 2.6vw, 36px)/1.08 var(--serif); letter-spacing: -0.01em; margin: 0 0 12px; text-wrap: balance; }

/* ------------------------------------------------------------- legal */

.legal { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 32px 72px; padding-top: calc(var(--top-h) + clamp(56px, 8vw, 110px)); padding-bottom: 120px; }
.legal-head { grid-column: 1 / -1; padding-bottom: 32px; border-bottom: 1px solid var(--hair); }
.legal-toc { position: sticky; top: calc(var(--top-h) + 32px); align-self: start; max-height: calc(100vh - var(--top-h) - 64px); overflow: auto; }
.legal-toc-title { margin: 0 0 14px; font: 600 12px/1.2 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); }
.legal-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.legal-toc a { color: var(--dim); text-decoration: none; font-size: 14.5px; line-height: 1.35; display: block; }
.legal-toc a:hover { color: var(--chalk); }
@media (max-width: 960px) { .legal { grid-template-columns: 1fr; } .legal-toc { position: static; max-height: none; padding: 20px 22px; border-radius: var(--r-card); background: var(--surface); box-shadow: 0 0 0 1px var(--hair) inset; } }
.prose { max-width: 42em; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font: 400 clamp(28px, 3.2vw, 38px)/1.1 var(--serif); letter-spacing: -0.01em; margin: 64px 0 18px; padding-top: 28px; border-top: 1px solid var(--hair); }
.prose h3 { font: 600 18px/1.35 var(--sans); margin: 36px 0 10px; }
.prose p, .prose li { color: var(--dim); }
.prose strong { color: var(--chalk); font-weight: 600; }
.prose em { color: var(--chalk); }
.prose a { color: var(--amber); text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose a:hover { text-decoration-thickness: 2px; }
.prose ul { padding-left: 1.1em; }
.prose li { margin: 10px 0; }
.prose li::marker { color: var(--amber-deep); }
.prose code { font: 0.9em/1 ui-monospace, Menlo, monospace; color: var(--chalk); background: var(--surface-2); padding: 2px 6px; border-radius: 6px; }
.prose > p:first-child strong { color: var(--amber); font-weight: 600; }

/* ----------------------------------------------------------- credits */

.credits-page { padding-bottom: 120px; }
.credit-list { list-style: none; padding: 0; margin: 0 0 40px; border-top: 1px solid var(--hair); }
.credit-list li { padding: 22px 2px; border-bottom: 1px solid var(--hair); color: var(--dim); }
.credit-list a { color: var(--chalk); text-underline-offset: 3px; }
.credit-what { display: block; font: 400 28px/1.2 var(--serif); color: var(--chalk); margin-bottom: 6px; }
.credit-list cite { font-style: italic; }

/* --------------------------------------------------------------- 404 */

.lost { min-height: 92vh; display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; padding-top: calc(var(--top-h) + 48px); padding-bottom: 96px; }
.lost-frames { margin: 0; }
.lost-frames img { width: 100%; border-radius: var(--r-card); }
@media (max-width: 760px) { .lost { grid-template-columns: 1fr; } .lost-frames { max-width: 260px; } }

/* --------------------------------------------- reduced motion, print */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .phone { transform: none !important; }
}
@media print {
  .top, .foot, .skip, .hero-glow, video, .finale-film { display: none !important; }
  body { background: #fff; color: #000; }
  .prose p, .prose li { color: #000; }
}
.join-pass { margin: 18px 0 0; text-align: center; max-width: none; }
.join-later li strong { color: var(--chalk); font-weight: 600; }
/* On a phone the hero's two buttons stack full width, as the app's action bar does. */
@media (max-width: 480px) {
  .hero .actions, .join .actions, [data-page="support"] .page-head .actions { flex-direction: column; align-items: stretch; }
  .hero .actions .btn, .join .actions .btn, [data-page="support"] .page-head .actions .btn { width: 100%; }
}
