/* ============ BRAND SETTINGS ============
   Change these first. The waterfall colours are in js/scene.js (the ramp in the shader) and js/song.js (RAMP). */
:root {
  --ink: #070a14;          /* night, the page and the terrain's ground */
  --ink-2: #0d1324;        /* raised surfaces */
  --ink-3: #151d34;
  --text: #e9edf5;
  --dim: #9eabc2;
  --line: rgba(160, 190, 225, 0.16);
  --teal: #35d0c0;         /* quiet signal */
  --amber: #ffb248;        /* the one warm accent: loud signal, buttons, highlights */
  --amber-ink: #1c1203;
  --font-display: 'Syne', 'Inter', system-ui, sans-serif;
  --font-serif: 'Cormorant', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'Space Mono', ui-monospace, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --gutter: clamp(20px, 5vw, 64px);
}

@font-face { font-family: 'Syne'; src: url('../fonts/syne-latin-wght-normal.woff2') format('woff2'); font-weight: 400 800; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('../fonts/inter-latin-wght-normal.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Space Mono'; src: url('../fonts/space-mono-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Space Mono'; src: url('../fonts/space-mono-latin-700-normal.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Cormorant'; src: url('../fonts/cormorant-latin-400-italic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Cormorant'; src: url('../fonts/cormorant-latin-500-italic.woff2') format('woff2'); font-weight: 500; font-style: italic; font-display: swap; }

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--ink); -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
body { margin: 0; background: var(--ink); color: var(--text); font: 400 17px/1.62 var(--font-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, canvas, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, blockquote, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--amber); color: var(--amber-ink); padding: 10px 14px; border-radius: 8px; font-weight: 600; }
.skip:focus { top: 12px; }
.wrap { width: min(1280px, 100%); margin: 0 auto; padding: 0 var(--gutter); position: relative; z-index: 2; }

/* ============ Type ============ */
.display { font: 700 clamp(40px, 6.1vw, 92px)/0.96 var(--font-display); letter-spacing: -0.035em; text-wrap: balance; }
h2.display { font-size: clamp(36px, 4.6vw, 68px); }
.display em { font: italic 500 1.16em/0.8 var(--font-serif); letter-spacing: -0.01em; color: var(--amber); padding-right: 0.04em; }
.kicker, .label, .stats span, .note, .fine, .hud, .meter-k, .meter-v, .band, .tag span, .scrollcue, .tagline, .pk-s, .pk-b, .storage, .tally, .dist span, .dist em, .ph-axis, .ph-chip, .ph-status, .cand em, .stats b, .facts b, .entry p, .price span, .num, footer .fine, .quotes footer { font-family: var(--font-mono); }
.kicker, .label { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dim); }
.label b { color: var(--amber); font-weight: 700; margin-right: 14px; }
.lede { font-size: clamp(17px, 1.5vw, 21px); line-height: 1.55; color: #c6d0e2; max-width: 34em; }
p { color: #c3cddf; }

/* ============ Buttons ============ */
.btn { display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 10px 24px; border-radius: 999px; font: 600 16px/1.1 var(--font-body); border: 1.5px solid transparent; transition: transform 0.5s var(--ease), background 0.3s, border-color 0.3s, color 0.3s; cursor: pointer; }
.btn small { display: block; font: 400 11px/1.3 var(--font-mono); letter-spacing: 0.04em; opacity: 0.7; margin-top: 3px; }
.btn svg { flex: none; }
.btn-solid { background: var(--amber); color: var(--amber-ink); }
.btn-solid:hover { transform: translateY(-2px); background: #ffc46f; }
.btn-line { border-color: rgba(233, 237, 245, 0.4); color: var(--text); background: rgba(7, 10, 20, 0.35); }
.btn-line:hover { transform: translateY(-2px); border-color: var(--amber); color: var(--amber); }
.btn-sm { min-height: 40px; padding: 8px 18px; font-size: 14px; background: var(--amber); color: var(--amber-ink); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ============ Fixed layers ============ */
#waterfall { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; display: none; }
.live #waterfall { display: block; }
.stage-veil { position: fixed; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(ellipse at 50% 120%, transparent 40%, rgba(7, 10, 20, 0.55) 100%), linear-gradient(180deg, rgba(7, 10, 20, 0.7) 0, transparent 14%, transparent 80%, rgba(7, 10, 20, 0.6) 100%); display: none; }
.live .stage-veil { display: block; }
/* Without the 3D scene the still of it sits behind the page. */
html:not(.live) body::before { content: ''; position: fixed; inset: 0; z-index: 0; background: linear-gradient(rgba(7, 10, 20, 0.5), rgba(7, 10, 20, 0.78)), url('../poster-scene.webp') center / cover no-repeat; }

.nav { position: fixed; z-index: 50; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 14px var(--gutter); transition: background 0.4s, backdrop-filter 0.4s, border-color 0.4s; border-bottom: 1px solid transparent; }
.nav.solid { background: rgba(7, 10, 20, 0.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.mark { display: inline-flex; align-items: center; gap: 10px; font: 700 21px/1 var(--font-display); letter-spacing: -0.02em; color: var(--text); }
.mark svg { color: var(--amber); }
.nav nav { display: flex; gap: 30px; font: 400 13px/1 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; }
.nav nav a { color: var(--dim); padding: 8px 0; transition: color 0.3s; }
.nav nav a:hover { color: var(--text); }

.hud { position: fixed; z-index: 40; left: var(--gutter); bottom: 18px; display: none; gap: 22px; align-items: center; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); pointer-events: none; }
.live .hud { display: flex; }
.hud .rec { color: var(--text); display: inline-flex; align-items: center; gap: 8px; }
.hud .rec i { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 10px var(--amber); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.35; } }
.hud { transition: opacity 0.5s; }
[data-now='how'] .hud, [data-now='ratings'] .hud, [data-now='plans'] .hud, [data-now='questions'] .hud { opacity: 0; }
.hud-cur { opacity: 0; transition: opacity 0.4s; }
.hud-cur.on { opacity: 1; color: var(--amber); }
.bare .hud, .bare .nav, .bare main, .bare footer, .bare .stage-veil { display: none !important; }

/* Identify bracket, placed by js/scene.js each frame */
.bracket { position: fixed; z-index: 30; left: var(--x, 0); top: var(--y, 0); width: var(--w, 0); height: var(--h, 0); opacity: 0; pointer-events: none; --play: -1; display: none; }
.live .bracket { display: block; }
.bracket .c { position: absolute; width: 16px; height: 16px; border: 0 solid var(--amber); }
.bracket .tl { left: -8px; top: -8px; border-width: 2px 0 0 2px; } .bracket .tr { right: -8px; top: -8px; border-width: 2px 2px 0 0; }
.bracket .bl { left: -8px; bottom: -8px; border-width: 0 0 2px 2px; } .bracket .br { right: -8px; bottom: -8px; border-width: 0 2px 2px 0; }
.bracket::after { content: ''; position: absolute; inset: -8px; border: 1px dashed rgba(255, 178, 72, 0.35); }
.bracket .tag { position: absolute; left: -8px; bottom: calc(100% + 16px); display: flex; flex-direction: column; gap: 2px; background: rgba(7, 10, 20, 0.82); border: 1px solid rgba(255, 178, 72, 0.5); padding: 9px 14px 10px; border-radius: 10px; white-space: nowrap; backdrop-filter: blur(6px); }
.bracket .tag b { font: 700 16px/1.2 var(--font-display); letter-spacing: -0.01em; }
.bracket .tag span { font-size: 12px; color: var(--amber); letter-spacing: 0.06em; }
.bracket .band { position: absolute; left: -8px; top: calc(100% + 14px); font-size: 11px; letter-spacing: 0.1em; color: var(--amber); text-transform: uppercase; white-space: nowrap; }
.bracket .playhead { position: absolute; left: -14px; right: -14px; top: calc(100% * (1 - var(--play))); height: 2px; background: var(--amber); box-shadow: 0 0 14px 2px var(--amber); opacity: 0; }
.bracket { --play: -1; }
.bracket .playhead { opacity: calc(var(--play) * 100); }

/* ============ Hero ============ */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-start; padding: 132px 0 80px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: start; }
.hero-copy { display: flex; flex-direction: column; gap: 26px; align-items: flex-start; }
.hero .display { font-size: clamp(44px, 5.5vw, 88px); max-width: 11.5em; }
.hero .lede { max-width: 30em; }
.stats { display: flex; gap: 34px; padding-top: 8px; }
.stats li { display: flex; flex-direction: column; gap: 2px; border-left: 1px solid var(--line); padding-left: 16px; }
.stats b { font-size: 22px; font-weight: 700; color: var(--text); letter-spacing: -0.02em; }
.stats span { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); }
.scrollcue { position: absolute; left: var(--gutter); bottom: 40px; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dim); display: none; }

/* The phone: built from CSS, cropped by the bottom of the hero */
.phone-wrap { position: relative; justify-self: center; align-self: end; margin-top: 30px; }
.phone { position: relative; width: clamp(270px, 24vw, 340px); aspect-ratio: 9 / 18.4; border-radius: 44px; padding: 10px; background: linear-gradient(160deg, #2b3552, #0c1120 40%, #1c2540); box-shadow: 0 0 0 1.5px rgba(190, 210, 240, 0.28), 0 50px 90px -20px rgba(0, 0, 0, 0.8), 0 0 120px -10px rgba(255, 178, 72, 0.22); transform: rotate(3deg); transform-origin: 50% 100%; }
.phone::before { content: ''; position: absolute; top: 18px; left: 50%; width: 30%; height: 22px; border-radius: 14px; background: #04060c; transform: translateX(-50%); z-index: 3; }
.phone-screen { position: relative; height: 100%; border-radius: 35px; overflow: hidden; background: #070b16; padding: 18px 16px 16px; display: flex; flex-direction: column; gap: 10px; }
.ph-status { display: flex; justify-content: space-between; font-size: 11px; letter-spacing: 0.04em; color: #cfd8e8; padding: 2px 8px 0; }
.ph-off { display: inline-flex; gap: 6px; align-items: center; color: var(--teal); }
.ph-off i { width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }
.ph-title { margin-top: 22px; font: 700 22px/1.1 var(--font-display); letter-spacing: -0.02em; color: var(--text); display: flex; flex-direction: column; gap: 4px; }
.ph-title span { font: 400 11px/1 var(--font-mono); color: var(--dim); letter-spacing: 0.1em; text-transform: uppercase; }
.ph-sono { position: relative; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.ph-sono canvas { width: 100%; height: auto; aspect-ratio: 260 / 170; }
.ph-axis { position: absolute; left: 6px; font-size: 9px; color: rgba(233, 237, 245, 0.6); font-style: normal; }
.ph-axis.a1 { top: 6px; } .ph-axis.a2 { top: 44%; } .ph-axis.a3 { bottom: 6px; }
.ph-cursor { position: absolute; top: 0; bottom: 0; right: 18%; width: 1.5px; background: var(--amber); box-shadow: 0 0 10px var(--amber); }
.ph-card { background: var(--ink-3); border-radius: 18px; padding: 14px 14px 12px; display: flex; flex-direction: column; gap: 2px; border: 1px solid var(--line); }
.ph-chip { font-size: 9.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber); }
.ph-card strong { font: 700 21px/1.15 var(--font-display); letter-spacing: -0.02em; margin-top: 2px; }
.ph-card em { font: italic 500 17px/1.1 var(--font-serif); color: var(--dim); }
.ph-conf { display: flex; align-items: center; gap: 10px; margin: 8px 0 6px; }
.ph-conf span { font: 700 15px/1 var(--font-mono); color: var(--amber); }
.ph-conf i { flex: 1; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.ph-conf b { display: block; height: 100%; width: 96%; background: linear-gradient(90deg, var(--teal), var(--amber)); border-radius: 3px; }
.ph-alt { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--dim); }
.ph-btn { margin-top: auto; text-align: center; background: var(--amber); color: var(--amber-ink); font: 600 14px/1 var(--font-body); padding: 14px; border-radius: 14px; }

/* ============ Chapters ============ */
.chapter { position: relative; min-height: 112vh; min-height: 112svh; display: flex; align-items: center; padding: 120px 0; }
.chapter .wrap { display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 24px; align-items: center; }
.chapter .copy { grid-column: 1 / span 5; display: flex; flex-direction: column; gap: 24px; }
.chapter.right .copy { grid-column: 8 / span 5; }
.chapter p:not(.label):not(.note) { max-width: 33em; }
.hero::before, .chapter::before, .how::before, .ratings::before, .plans::before, .questions::before, .last::before { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 22%, #000 78%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 22%, #000 78%, transparent 100%); }
.hero::before { -webkit-mask-image: none; mask-image: none; }
.live .hero::before { background: linear-gradient(90deg, rgba(7, 10, 20, 0.72) 0%, rgba(7, 10, 20, 0.4) 45%, transparent 70%); }
.live .chapter.left::before { background: linear-gradient(90deg, rgba(7, 10, 20, 0.86) 0%, rgba(7, 10, 20, 0.62) 34%, transparent 62%); }
.live .chapter.right::before { background: linear-gradient(270deg, rgba(7, 10, 20, 0.86) 0%, rgba(7, 10, 20, 0.62) 34%, transparent 62%); }
.facts { display: flex; flex-direction: column; margin-top: 4px; }
.facts li { display: grid; grid-template-columns: 112px 1fr; gap: 18px; padding: 14px 0; border-top: 1px solid var(--line); align-items: baseline; }
.facts li:last-child { border-bottom: 1px solid var(--line); }
.facts b { font-size: 13px; letter-spacing: 0.06em; color: var(--amber); font-weight: 700; text-transform: uppercase; }
.facts span { font-size: 15.5px; color: #c3cddf; line-height: 1.5; }

.meter { display: flex; align-items: center; gap: 16px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 14px; background: rgba(13, 19, 36, 0.7); backdrop-filter: blur(8px); }
.meter-k, .meter-v { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); white-space: nowrap; }
.meter-v { color: var(--teal); }
.bars { flex: 1; display: flex; gap: 3px; align-items: center; height: 28px; }
.bars i { flex: 1; min-width: 2px; background: linear-gradient(180deg, var(--amber), var(--teal)); border-radius: 2px; height: calc(var(--h, 0.3) * 100%); opacity: 0.9; }

.cands { display: flex; flex-direction: column; gap: 10px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 16px; background: rgba(13, 19, 36, 0.72); backdrop-filter: blur(8px); }
.cand { display: grid; grid-template-columns: 1fr 90px 44px; gap: 14px; align-items: center; font-size: 15px; color: var(--dim); }
.cand.top { color: var(--text); font-weight: 600; }
.cand i { height: 5px; border-radius: 3px; background: rgba(255, 255, 255, 0.09); overflow: hidden; }
.cand b { display: block; height: 100%; width: var(--v); background: var(--teal); border-radius: 3px; }
.cand.top b { background: var(--amber); }
.cand em { font-style: normal; font-size: 13px; text-align: right; }
.cand.top em { color: var(--amber); }
.play-row { display: flex; align-items: center; gap: 20px; }
.play-row .note { font-size: 12px; line-height: 1.5; color: var(--dim); max-width: 22em; }
#play[aria-pressed='true'] { background: var(--ink-3); color: var(--amber); border-color: var(--amber); }
.still-only { display: none; grid-column: 1 / -1; width: 100%; height: auto; border-radius: 18px; border: 1px solid var(--line); margin-bottom: 40px; }

.journal { grid-column: 8 / span 5; display: flex; flex-direction: column; gap: 14px; }
.entry { display: grid; grid-template-columns: 96px 1fr auto; gap: 16px; align-items: center; padding: 14px; border-radius: 18px; background: rgba(13, 19, 36, 0.82); border: 1px solid var(--line); backdrop-filter: blur(10px); transition: transform 0.6s var(--ease), border-color 0.3s; }
.entry:nth-child(2) { margin-left: 28px; } .entry:nth-child(3) { margin-left: 56px; }
.entry:hover { transform: translateX(-6px); border-color: rgba(255, 178, 72, 0.5); }
.entry .thumb { width: 96px; height: 62px; border-radius: 10px; }
.entry h3 { font: 700 18px/1.2 var(--font-display); letter-spacing: -0.01em; margin-bottom: 4px; }
.entry p { font-size: 12px; line-height: 1.55; color: var(--dim); letter-spacing: 0.01em; }
.new { font: 700 10px/1 var(--font-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber-ink); background: var(--amber); padding: 6px 8px; border-radius: 6px; align-self: start; }
.tally { font-size: 12px; letter-spacing: 0.06em; color: var(--dim); padding: 6px 4px 0 28px; }
.tally b { color: var(--amber); font-size: 15px; }

.packs { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.packs li { display: grid; grid-template-columns: 1fr auto 104px; gap: 16px; align-items: center; padding: 15px 0; border-bottom: 1px solid var(--line); }
.pk-n { font: 600 17px/1.2 var(--font-display); letter-spacing: -0.01em; display: flex; flex-direction: column; gap: 3px; }
.pk-n small { font: 400 11.5px/1.2 var(--font-mono); color: var(--dim); letter-spacing: 0.04em; }
.pk-s { font-size: 12px; color: var(--dim); }
.pk-b { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; text-align: center; padding: 9px 6px; border-radius: 999px; border: 1px solid rgba(233, 237, 245, 0.35); color: var(--text); }
.pk-b.done { border-color: transparent; background: rgba(53, 208, 192, 0.14); color: var(--teal); }
.storage { display: flex; align-items: center; gap: 16px; font-size: 12px; color: var(--dim); letter-spacing: 0.04em; }
.st-bar { flex: 0 0 140px; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.st-bar i { display: block; height: 100%; width: var(--v); background: var(--amber); }

/* ============ Text sections ============ */
.how, .ratings, .plans, .questions, .last { position: relative; padding: clamp(96px, 14vh, 160px) 0; }
.how::before, .ratings::before, .plans::before, .questions::before { background: linear-gradient(180deg, rgba(7, 10, 20, 0.5), rgba(7, 10, 20, 0.42) 50%, rgba(7, 10, 20, 0.5)); }
.live .last::before { background: linear-gradient(180deg, rgba(7, 10, 20, 0.5), transparent 30%, transparent 70%, rgba(7, 10, 20, 0.8)); }
.how .wrap > .label, .plans .wrap > .label { margin-bottom: 22px; }
.how h2, .plans h2 { max-width: 11em; margin-bottom: clamp(44px, 6vw, 80px); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: s; }
.steps li { position: relative; padding: 22px 22px 28px; border: 1px solid var(--line); border-radius: 22px; background: rgba(13, 19, 36, 0.66); backdrop-filter: blur(8px); display: flex; flex-direction: column; gap: 10px; }
.thumb { border-radius: 12px; border: 1px solid var(--line); width: 100%; height: auto; background: #070b16; }
.thumb.wide { aspect-ratio: 360 / 150; margin-bottom: 14px; }
.num { position: absolute; top: 34px; left: 34px; width: 34px; height: 34px; border-radius: 50%; background: var(--amber); color: var(--amber-ink); font-size: 14px; font-weight: 700; display: grid; place-items: center; }
.steps h3 { font: 700 23px/1.15 var(--font-display); letter-spacing: -0.02em; }
.steps p { font-size: 15.5px; }

.ratings .wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.score { display: flex; flex-direction: column; gap: 14px; }
.score .display { font-size: clamp(60px, 8vw, 120px); }
.stars { color: var(--amber); }
.note { font-size: 12px; letter-spacing: 0.06em; color: var(--dim); }
.dist { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; max-width: 320px; }
.dist li { display: grid; grid-template-columns: 14px 1fr 38px; gap: 12px; align-items: center; }
.dist span, .dist em { font-size: 12px; color: var(--dim); font-style: normal; }
.dist em { text-align: right; }
.dist i { height: 5px; background: rgba(255, 255, 255, 0.1); border-radius: 3px; overflow: hidden; }
.dist b { display: block; height: 100%; width: var(--v); background: var(--amber); }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quotes blockquote { display: flex; flex-direction: column; justify-content: space-between; gap: 28px; padding: 28px 24px; border-radius: 22px; border: 1px solid var(--line); background: rgba(13, 19, 36, 0.72); backdrop-filter: blur(8px); }
.quotes blockquote:nth-child(2) { margin-top: 40px; }
.quotes p { font: italic 500 clamp(21px, 1.9vw, 26px)/1.28 var(--font-serif); color: var(--text); }
.quotes footer { font-size: 12px; letter-spacing: 0.04em; color: var(--dim); display: flex; flex-direction: column; gap: 2px; border-top: 1px solid var(--line); padding-top: 16px; }
.quotes footer b { color: var(--amber); font-size: 13px; }

.plan-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 980px; }
.plan { position: relative; display: flex; flex-direction: column; gap: 18px; padding: 34px 32px 32px; border-radius: 26px; border: 1px solid var(--line); background: rgba(13, 19, 36, 0.78); backdrop-filter: blur(10px); }
.plan.plus { border-color: rgba(255, 178, 72, 0.6); background: linear-gradient(180deg, rgba(40, 28, 10, 0.55), rgba(13, 19, 36, 0.85) 60%); box-shadow: 0 30px 90px -30px rgba(255, 178, 72, 0.3); }
.plan h3 { font: 700 26px/1 var(--font-display); letter-spacing: -0.02em; }
.tagline { position: absolute; top: -13px; left: 30px; background: var(--amber); color: var(--amber-ink); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; font-weight: 700; }
.price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.price b { font: 700 clamp(44px, 4.6vw, 64px)/1 var(--font-display); letter-spacing: -0.04em; }
.price span { font-size: 12px; color: var(--dim); letter-spacing: 0.04em; }
.for { font-size: 15.5px; }
.plan ul { display: flex; flex-direction: column; gap: 10px; padding: 18px 0 8px; border-top: 1px solid var(--line); margin-bottom: auto; }
.plan li { position: relative; padding-left: 28px; font-size: 15.5px; color: #d5ddec; line-height: 1.45; }
.plan li::before { content: ''; position: absolute; left: 2px; top: 6px; width: 10px; height: 5px; border-left: 2px solid var(--amber); border-bottom: 2px solid var(--amber); transform: rotate(-45deg); }
.plan .btn { justify-content: center; width: 100%; }
.fine { font-size: 12px; letter-spacing: 0.04em; color: var(--dim); line-height: 1.6; }
.plans .fine { margin-top: 28px; max-width: 60em; }

.q-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.questions h2 { position: sticky; top: 120px; }
.qa details { border-top: 1px solid var(--line); }
.qa details:last-child { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 24px 0; font: 600 clamp(18px, 1.6vw, 22px)/1.3 var(--font-display); letter-spacing: -0.015em; transition: color 0.3s; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ''; flex: none; width: 14px; height: 14px; background: linear-gradient(var(--amber), var(--amber)) center / 100% 2px no-repeat, linear-gradient(var(--amber), var(--amber)) center / 2px 100% no-repeat; transition: transform 0.5s var(--ease); }
.qa details[open] summary::after { transform: rotate(135deg); }
.qa summary:hover { color: var(--amber); }
.qa details p { padding: 0 40px 26px 0; font-size: 16.5px; max-width: 38em; animation: open 0.6s var(--ease); }
@keyframes open { from { opacity: 0; transform: translateY(-8px); } }

.last { min-height: 90vh; display: flex; align-items: center; }
.last .wrap { display: flex; flex-direction: column; gap: 26px; align-items: flex-start; }
.last .display { font-size: clamp(48px, 8.4vw, 132px); }

.foot { position: relative; z-index: 2; background: rgba(7, 10, 20, 0.92); border-top: 1px solid var(--line); }
#ribbon { width: 100%; height: 90px; opacity: 0.8; mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 32px; padding-top: 48px; padding-bottom: 48px; }
.foot nav { display: flex; flex-direction: column; gap: 12px; font-size: 15px; color: var(--dim); }
.foot nav a:hover { color: var(--amber); }
.foot .fine { margin-top: 16px; }
.foot .small { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 20px; margin: 0; }

/* ============ Motion ============ */
.live .reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.live .reveal.in { opacity: 1; transform: none; }
.live .hero .reveal:nth-child(2) { transition-delay: 0.08s; } .live .hero .reveal:nth-child(3) { transition-delay: 0.16s; }
.live .hero .reveal:nth-child(4) { transition-delay: 0.24s; } .live .hero .reveal:nth-child(5) { transition-delay: 0.32s; }
.live .phone-wrap.reveal { transform: translateY(80px); transition-duration: 1.4s; transition-delay: 0.25s; }
.live .phone-wrap.reveal.in { transform: none; }
.live .scrollcue { display: block; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* Plain version (reduced motion, no WebGL): the still sits behind, everything is visible. */
html:not(.live) .still-only { display: block; }
html:not(.live) .chapter, html:not(.live) .hero { min-height: 0; }
html:not(.live) .chapter::before, html:not(.live) .hero::before { background: none; }

/* ============ Tablet and phone ============ */
@media (max-width: 1100px) {
  .nav nav { display: none; }
  .chapter .copy, .chapter.right .copy { grid-column: 1 / span 7; }
  .journal { grid-column: 1 / -1; margin-top: 40px; }
  .steps { grid-template-columns: 1fr; }
  .steps li { display: grid; grid-template-columns: 220px 1fr; column-gap: 24px; align-items: center; }
  .steps .thumb { grid-row: 1 / span 2; margin: 0; }
  .num { display: none; }
  .quotes { grid-template-columns: 1fr; }
  .quotes blockquote:nth-child(2) { margin-top: 0; }
  .ratings .wrap, .q-grid { grid-template-columns: 1fr; }
  .questions h2 { position: static; }
}
@media (max-width: 820px) {
  body { font-size: 16.5px; }
  .hero { padding: 96px 0 0; align-items: stretch; }
  .hero-grid { grid-template-columns: 1fr; gap: 0; }
  .hero-copy { gap: 18px; }
  .hero .display { font-size: clamp(38px, 11.2vw, 56px); }
  .actions .btn { flex: 1 1 100%; }
  .actions .btn-solid, .actions .btn-line { min-height: 54px; }
  .stats { gap: 18px; padding-top: 0; }
  .stats b { font-size: 18px; }
  .phone-wrap { margin-top: 36px; margin-bottom: -150px; }
  .phone { width: 250px; }
  .scrollcue { display: none !important; }
  .chapter { align-items: flex-end; padding: 80px 0 64px; min-height: 100vh; min-height: 100svh; }
  .chapter .wrap { display: block; }
  .live .chapter.left::before, .live .chapter.right::before { background: linear-gradient(0deg, rgba(7, 10, 20, 0.94) 0%, rgba(7, 10, 20, 0.86) 52%, rgba(7, 10, 20, 0.0) 84%); }
  .chapter .copy { gap: 18px; }
  .facts li { grid-template-columns: 92px 1fr; gap: 14px; padding: 11px 0; }
  .facts span { font-size: 14.5px; }
  .journal { margin-top: 28px; }
  .entry { grid-template-columns: 82px 1fr auto; padding: 12px; gap: 12px; }
  .entry .thumb { width: 82px; height: 54px; }
  .entry:nth-child(2), .entry:nth-child(3) { margin-left: 0; }
  .entry h3 { font-size: 16px; }
  .tally { padding-left: 4px; }
  .packs li { grid-template-columns: 1fr 96px; }
  .pk-s { display: none; }
  .meter-v { display: none; }
  .cand { grid-template-columns: 1fr 64px 40px; gap: 10px; font-size: 14px; }
  .play-row { flex-direction: column; align-items: flex-start; gap: 12px; }
  .steps li { display: flex; align-items: stretch; }
  .live .hero::before { background: linear-gradient(180deg, rgba(7, 10, 20, 0.9) 0%, rgba(7, 10, 20, 0.78) 50%, rgba(7, 10, 20, 0.1) 85%); }
  #identify .note { display: none; }
  #identify h2.display { font-size: 34px; }
  #identify .cands { padding: 12px 14px; gap: 7px; }
  .plan-grid { grid-template-columns: 1fr; }
  .plan { padding: 28px 22px 24px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > :first-child { grid-column: 1 / -1; }
  .hud { display: none !important; }
  .last { min-height: 80vh; }
  .bracket .tag b { font-size: 14px; }
}
