/* ClipForge Studio — product site. Colours, fonts and radii are the app's own tokens (DESIGN.md,
   "Highlight Reel"): broadcast navy dominant, signal red as the one sharp accent, white score bugs. */

@font-face { font-family: "Barlow"; font-weight: 400; font-display: swap; src: url(fonts/barlow-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-display: swap; src: url(fonts/barlow-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 700; font-display: swap; src: url(fonts/barlow-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-display: swap; src: url(fonts/barlow-condensed-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-display: swap; src: url(fonts/barlow-condensed-latin-700-normal.woff2) format("woff2"); }

:root {
  --navy: #0a1128;
  --panel: #0f1b3d;
  --raised: #16264f;
  --hover: #1d3062;
  --rule: #22356a;
  --rule-strong: #34498a;
  --ink: #f4f6fb;
  --ink-2: #c3cce4;
  --ink-3: #93a0c4;
  --red: #e10600;
  --red-hover: #ff2a1f;
  --bug: #ffffff;
  --ok: #35d07f;
  --warn: #ffb547;
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 18px;
  --pill: 999px;
  --sans: "Barlow", system-ui, sans-serif;
  --display: "Barlow Condensed", "Barlow", system-ui, sans-serif;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1240px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--navy);
  color: var(--ink);
  font: 400 1.0625rem/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--bug); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--bug); color: var(--navy); padding: 8px 12px; border-radius: var(--r-sm); }
.skip:focus { left: 8px; }

/* broadcast atmosphere: faint scanlines, a cold glow, film grain — depth instead of a flat colour */
.atmos { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
.atmos::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 45% at 78% 18%, rgb(40 62 130 / 0.55), transparent 70%),
    radial-gradient(45% 40% at 8% 80%, rgb(225 6 0 / 0.10), transparent 70%),
    var(--navy);
}
.atmos::after {
  content: ""; position: absolute; inset: 0; opacity: 0.5;
  background: repeating-linear-gradient(to bottom, rgb(255 255 255 / 0.018) 0 1px, transparent 1px 4px);
}

/* ------------------------------------------------------------------ type */
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 0.8125rem/1 var(--display); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgb(225 6 0 / 0.6); animation: live 2.4s var(--ease-out) infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgb(225 6 0 / 0.55); } 70%, 100% { box-shadow: 0 0 0 10px rgb(225 6 0 / 0); } }
.display {
  font: 700 clamp(3.4rem, 9.6vw, 9.5rem)/0.86 var(--display);
  letter-spacing: -0.005em; text-transform: uppercase;
}
.display .red { color: var(--red); }
.h2 { font: 700 clamp(2.5rem, 6vw, 5.25rem)/0.92 var(--display); text-transform: uppercase; }
.lead { font-size: clamp(1.0625rem, 1.4vw, 1.25rem); color: var(--ink-2); max-width: 34rem; }
.num { font-variant-numeric: tabular-nums; }

/* the score bug: the app's signature — a white plate with a red tag */
.bug { display: inline-flex; align-items: stretch; border-radius: var(--r-sm); overflow: hidden; font: 700 1rem/1 var(--display); text-transform: uppercase; box-shadow: 0 8px 24px rgb(0 0 0 / 0.35); }
.bug > span { display: flex; align-items: center; padding: 6px 9px; }
.bug .t { background: var(--red); color: #fff; letter-spacing: 0.06em; }
.bug .v { background: var(--bug); color: var(--navy); font-size: 1.15em; font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------------ buttons */
.btn {
  --bg: var(--raised);
  display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 22px;
  border-radius: var(--r-md); border: 1px solid var(--rule-strong); background: var(--bg); color: var(--ink);
  font: 700 1.0625rem/1 var(--sans); text-decoration: none; cursor: pointer;
  transition: background-color 160ms ease, transform 160ms var(--ease-out), border-color 160ms ease;
}
.btn:hover { --bg: var(--hover); }
.btn:active { transform: scale(0.97); }
.btn.primary { --bg: var(--red); border-color: transparent; color: #fff; box-shadow: 0 10px 30px -10px rgb(225 6 0 / 0.7); }
.btn.primary:hover { --bg: var(--red-hover); }
.btn.small { height: 40px; padding: 0 16px; font-size: 0.9375rem; }
.btn svg { width: 18px; height: 18px; }

/* ------------------------------------------------------------------ nav */
.nav { position: fixed; inset: 12px 0 auto; z-index: 50; }
.nav .bar {
  display: flex; align-items: center; gap: 24px; height: 60px; padding: 0 10px 0 14px;
  border-radius: var(--pill); border: 1px solid rgb(255 255 255 / 0.07);
  background: rgb(15 27 61 / 0.82); backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.1), 0 18px 40px -24px rgb(0 0 0 / 0.65);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 700 1.25rem/1 var(--display); letter-spacing: 0.03em; text-transform: uppercase; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.brand b { color: var(--red); font-weight: 700; }
.nav ul { display: flex; gap: 4px; list-style: none; margin: 0 0 0 auto; padding: 0; }
.nav .bar > .btn { margin-left: auto; }
.nav .bar > ul + .btn { margin-left: 0; }
.nav ul a { display: block; padding: 8px 14px; border-radius: var(--pill); text-decoration: none; color: var(--ink-2); font-weight: 600; transition: color 150ms ease, background-color 150ms ease; }
.nav ul a:hover { color: var(--ink); background: rgb(255 255 255 / 0.07); }

/* ------------------------------------------------------------------ hero */
.hero { position: relative; min-height: 100svh; display: grid; align-items: center; padding: 120px 0 110px; overflow: hidden; }
.hero .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.hero .copy { display: grid; gap: 26px; justify-items: start; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.platforms { display: flex; gap: 18px; align-items: center; color: var(--ink-3); font: 600 0.9375rem/1 var(--display); letter-spacing: 0.1em; text-transform: uppercase; }
.platforms i { width: 4px; height: 4px; border-radius: 50%; background: var(--rule-strong); }
#particles { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; }
.hero .stage-fallback { aspect-ratio: 1; width: min(100%, 520px); justify-self: center; display: grid; place-items: center; }
.hero .stage-fallback img { width: 100%; height: auto; transition: opacity 700ms var(--ease-out), scale 900ms var(--ease-out); }
/* the Blender render stands in until the particles take over (and stays without WebGL or with reduced motion) */
.js-3d .hero .stage-fallback img { opacity: 0; scale: 0.92; }

/* lower third: a broadcast ticker */
.ticker { position: absolute; left: 0; right: 0; bottom: 22px; z-index: 3; }
.ticker .row {
  display: flex; align-items: stretch; height: 44px; border-radius: var(--r-sm); overflow: hidden;
  border: 1px solid rgb(255 255 255 / 0.08); background: rgb(15 27 61 / 0.85); backdrop-filter: blur(10px);
}
.ticker .live { display: flex; align-items: center; gap: 8px; padding: 0 16px; background: var(--red); font: 700 0.9375rem/1 var(--display); letter-spacing: 0.12em; }
.ticker .live .dot { background: #fff; }
.ticker .track { flex: 1; overflow: hidden; display: flex; align-items: center; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.ticker .items { display: flex; gap: 40px; padding-left: 24px; white-space: nowrap; font: 600 1rem/1 var(--display); letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); animation: tick 38s linear infinite; }
.ticker .items b { color: var(--ink); font-weight: 700; }
.ticker .items em { font-style: normal; color: var(--red-hover); }
@keyframes tick { to { transform: translateX(-50%); } }

/* page-load choreography: one orchestrated entrance (staggered), nothing else on load */
.in { opacity: 0; translate: 0 18px; animation: rise 760ms var(--ease-out) forwards; animation-delay: calc(var(--i, 0) * 90ms + 120ms); }
@keyframes rise { to { opacity: 1; translate: 0 0; } }

/* ------------------------------------------------------------------ sections */
section { position: relative; }
.sec { padding: clamp(80px, 12vw, 160px) 0; }
.sec-head { display: grid; gap: 18px; margin-bottom: clamp(40px, 6vw, 72px); max-width: 48rem; }

/* ------------------------------------------------------------------ story (pinned) */
.story { padding: 0; }
.story .pin { height: 100svh; display: grid; align-items: center; }
.story .wrap { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; counter-reset: step; }
.steps li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 14px 16px; border-radius: var(--r-md); border: 1px solid transparent; color: var(--ink-3); transition: color 300ms ease, background-color 300ms ease, border-color 300ms ease; }
.steps li .n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-sm); background: var(--raised); font: 700 1.25rem/1 var(--display); color: var(--ink-2); transition: background-color 300ms ease, color 300ms ease; }
.steps li h3 { font: 700 1.5rem/1.1 var(--display); text-transform: uppercase; letter-spacing: 0.02em; color: inherit; }
.steps li p { font-size: 0.975rem; margin-top: 4px; max-height: 0; overflow: hidden; opacity: 0; transition: max-height 400ms var(--ease-out), opacity 300ms ease; }
.steps li.on { color: var(--ink); background: rgb(22 38 79 / 0.6); border-color: var(--rule); }
.steps li.on .n { background: var(--red); color: #fff; }
.steps li.on p { max-height: 6em; opacity: 1; color: var(--ink-2); }

/* the stage: one scene that changes with each step (no real streamers: abstract stream) */
.stage { position: relative; aspect-ratio: 16 / 12; width: 100%; }
.screen {
  position: absolute; left: 0; top: 13%; width: 100%; aspect-ratio: 16 / 9;
  border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--rule-strong);
  background: linear-gradient(160deg, #1b2c5e, #0c1534 60%);
  box-shadow: 0 40px 80px -40px rgb(0 0 0 / 0.9);
}
.game { position: absolute; inset: 0; }
.game::before { /* skyline / gameplay silhouette */
  content: ""; position: absolute; inset: 45% 0 0;
  background:
    linear-gradient(180deg, transparent, rgb(10 17 40 / 0.9)),
    repeating-linear-gradient(90deg, #22356a 0 7%, #16264f 7% 12%, #1d3062 12% 19%, #22356a 19% 23%, #16264f 23% 31%);
  clip-path: polygon(0 35%, 7% 35%, 7% 10%, 12% 10%, 12% 45%, 19% 45%, 19% 0, 23% 0, 23% 30%, 31% 30%, 31% 18%, 40% 18%, 40% 40%, 48% 40%, 48% 5%, 55% 5%, 55% 32%, 63% 32%, 63% 15%, 72% 15%, 72% 38%, 80% 38%, 80% 8%, 88% 8%, 88% 28%, 100% 28%, 100% 100%, 0 100%);
}
.game .car { position: absolute; left: 38%; bottom: 14%; width: 22%; height: 11%; border-radius: 40% 40% 18% 18%; background: var(--red); box-shadow: 0 10px 30px -6px rgb(225 6 0 / 0.6); }
.game .sun { position: absolute; right: 16%; top: 12%; width: 14%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgb(255 181 71 / 0.85), rgb(255 181 71 / 0) 70%); }
.cam { /* the streamer's webcam: a drawn figure, not a person */
  position: absolute; left: 3%; top: 5%; width: 22%; aspect-ratio: 4 / 3.4; border-radius: var(--r-sm); overflow: hidden;
  border: 2px solid rgb(255 255 255 / 0.85); background: linear-gradient(170deg, #34498a, #16264f);
}
.cam::before { content: ""; position: absolute; left: 50%; top: 22%; width: 32%; aspect-ratio: 1; border-radius: 50%; translate: -50% 0; background: #c3cce4; }
.cam::after { content: ""; position: absolute; left: 50%; bottom: -14%; width: 72%; aspect-ratio: 1.6; border-radius: 50% 50% 0 0; translate: -50% 0; background: #93a0c4; }
.rec { position: absolute; right: 3%; top: 5%; display: flex; align-items: center; gap: 6px; padding: 5px 9px; border-radius: var(--r-sm); background: rgb(10 17 40 / 0.75); font: 700 0.8rem/1 var(--display); letter-spacing: 0.12em; }
.rec .dot { width: 7px; height: 7px; }
.buffer { position: absolute; left: 3%; right: 3%; bottom: 5%; height: 6px; border-radius: 3px; background: rgb(255 255 255 / 0.12); overflow: hidden; }
.buffer i { display: block; height: 100%; width: 0; background: var(--red); }

.chat {
  position: absolute; right: -2%; top: 27%; width: 34%; display: grid; gap: 6px; align-content: start;
  font: 600 0.9rem/1.2 var(--sans);
}
.chat p { padding: 7px 10px; border-radius: var(--r-sm); background: rgb(15 27 61 / 0.92); border: 1px solid var(--rule); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat p b { color: var(--ink-3); font-weight: 600; margin-right: 6px; }
.chat .spam { position: relative; color: var(--ink-3); }
.chat .spam::after { content: ""; position: absolute; left: 8px; right: 8px; top: 50%; height: 2px; background: var(--red); transform-origin: left; scale: var(--cross, 0) 1; }
.flag { position: absolute; right: 0; top: -2px; translate: 0 -100%; padding: 4px 8px; border-radius: 4px; background: var(--red); color: #fff; font: 700 0.75rem/1 var(--display); letter-spacing: 0.1em; text-transform: uppercase; }
.people { position: absolute; left: 0; top: 0; display: flex; gap: 10px; align-items: center; }
.people strong { font: 700 3.2rem/1 var(--display); font-variant-numeric: tabular-nums; }
.people span { color: var(--ink-2); font: 600 0.9rem/1.2 var(--display); text-transform: uppercase; letter-spacing: 0.1em; }

.wave { position: absolute; left: 0; right: 36%; bottom: 0; height: 22%; display: flex; align-items: end; gap: 3px; }
.wave i { flex: 1; height: var(--h, 20%); border-radius: 2px; background: var(--rule-strong); }
.wave i.hot { background: var(--red); }
.judge {
  position: absolute; right: 0; bottom: 2%; width: 34%; padding: 14px; border-radius: var(--r-md);
  background: rgb(22 38 79 / 0.95); border: 1px solid var(--rule-strong); box-shadow: 0 30px 60px -30px rgb(0 0 0 / 0.9);
  display: grid; gap: 8px; font-size: 0.9rem;
}
.judge h4 { margin: 0; font: 700 0.85rem/1 var(--display); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); }
.judge .meter { display: grid; grid-template-columns: 4.8em 1fr 1.6em; gap: 8px; align-items: center; color: var(--ink-2); }
.judge .meter i { height: 6px; border-radius: 3px; background: var(--rule); position: relative; overflow: hidden; }
.judge .meter i::after { content: ""; position: absolute; inset: 0; width: var(--w); background: var(--ink-2); border-radius: inherit; }
.judge .meter.top i::after { background: var(--red); }
.judge .keep { color: var(--ok); font-weight: 700; }

/* the vertical clip the screen turns into */
.phone {
  position: absolute; left: 50%; top: 0; height: 100%; aspect-ratio: 9 / 18.5; translate: -50% 0;
  border-radius: 34px; border: 8px solid #050a18; background: #050a18; box-shadow: 0 50px 90px -30px rgb(0 0 0 / 0.95), 0 0 0 1px var(--rule-strong);
  overflow: hidden; opacity: 0; container-type: inline-size;
}
.phone .top { position: absolute; inset: 0 0 auto; height: 42%; background: linear-gradient(170deg, #34498a, #16264f); }
.phone .top::before { content: ""; position: absolute; left: 50%; top: 24%; width: 30%; aspect-ratio: 1; border-radius: 50%; translate: -50% 0; background: #c3cce4; }
.phone .top::after { content: ""; position: absolute; left: 50%; bottom: -10%; width: 70%; aspect-ratio: 1.6; border-radius: 50% 50% 0 0; translate: -50% 0; background: #93a0c4; }
.phone .bottom { position: absolute; inset: 42% 0 0; background: linear-gradient(160deg, #1b2c5e, #0c1534 70%); }
.phone .bottom::before { content: ""; position: absolute; left: 24%; bottom: 22%; width: 52%; height: 12%; border-radius: 40% 40% 18% 18%; background: var(--red); }
.subs { position: absolute; left: 0; right: 0; top: 39%; display: flex; justify-content: center; gap: 0.3em; z-index: 2; font: 700 12cqw/1 var(--display); text-transform: uppercase; text-shadow: 0 3px 0 #000, 0 0 12px rgb(0 0 0 / 0.8); }
.subs span { opacity: 0; scale: 0.6; }
.subs .acc { color: #ffd23c; }
.phone .bug { position: absolute; left: 8%; top: 4%; z-index: 2; scale: 0; }
.toast { position: absolute; right: -4%; bottom: 10%; padding: 12px 16px; border-radius: var(--r-md); background: var(--raised); border: 1px solid var(--rule-strong); font-weight: 600; display: flex; gap: 10px; align-items: center; opacity: 0; box-shadow: 0 30px 60px -30px rgb(0 0 0 / 0.9); }
.toast i { width: 22px; height: 22px; border-radius: 50%; background: var(--ok); display: grid; place-items: center; color: var(--navy); font-style: normal; font-weight: 700; }

/* ------------------------------------------------------------------ features (bento) */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.card {
  position: relative; grid-column: span 2; padding: 26px; border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgb(22 38 79 / 0.75), rgb(15 27 61 / 0.75)); border: 1px solid var(--rule);
  display: grid; gap: 12px; align-content: start; overflow: hidden;
  transition: border-color 200ms ease, translate 300ms var(--ease-out);
}
.card:hover { border-color: var(--rule-strong); translate: 0 -3px; }
.card.wide { grid-column: span 3; }
.card.tall { grid-row: span 2; }
.card h3 { font: 700 1.75rem/1 var(--display); text-transform: uppercase; letter-spacing: 0.01em; }
.card p { color: var(--ink-2); }
.card .bug { justify-self: start; font-size: 0.85rem; }
.card .ico { width: 44px; height: 44px; border-radius: var(--r-md); background: var(--raised); border: 1px solid var(--rule-strong); display: grid; place-items: center; }
.card .ico svg { width: 22px; height: 22px; stroke: var(--ink); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.verdict { margin-top: 10px; display: grid; gap: 10px; padding: 16px; border-radius: var(--r-md); background: rgb(10 17 40 / 0.6); border: 1px solid var(--rule); }
.verdict .meter { display: grid; grid-template-columns: 7.5em 1fr 2em; gap: 10px; align-items: center; color: var(--ink-2); font-size: 0.95rem; }
.verdict .meter i { height: 7px; border-radius: 4px; background: var(--rule); position: relative; overflow: hidden; }
.verdict .meter i::after { content: ""; position: absolute; inset: 0; width: var(--w); background: var(--ink-2); border-radius: inherit; }
.verdict .meter.top i::after { background: var(--red); }
.verdict q { color: var(--ink); font-style: italic; quotes: "“" "”"; }

/* ------------------------------------------------------------------ local */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.stat { padding: 30px 26px; border-radius: var(--r-lg); border: 1px solid var(--rule); background: rgb(15 27 61 / 0.6); }
.stat strong { display: block; font: 700 clamp(4rem, 9vw, 7.5rem)/0.85 var(--display); letter-spacing: -0.01em; }
.stat strong .red { display: inline; margin: 0; font: inherit; color: var(--red); }
.stat span { display: block; margin-top: 14px; color: var(--ink-2); font-size: 1.05rem; }

/* ------------------------------------------------------------------ pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: stretch; }
.plan { display: grid; gap: 18px; align-content: start; padding: 30px 26px; border-radius: var(--r-lg); border: 1px solid var(--rule); background: rgb(15 27 61 / 0.7); }
.plan.hot { border: 2px solid var(--red); background: linear-gradient(180deg, rgb(225 6 0 / 0.12), rgb(15 27 61 / 0.7) 40%); }
.plan h3 { font: 700 2rem/1 var(--display); text-transform: uppercase; }
.plan .price { font: 700 3.2rem/1 var(--display); }
.plan .price small { font: 600 1rem/1 var(--sans); color: var(--ink-3); margin-left: 6px; }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; color: var(--ink-2); }
.plan li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; }
.plan li::before { content: ""; width: 14px; height: 8px; margin-top: 6px; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); rotate: -45deg; }
.plan .btn { justify-content: center; margin-top: auto; }
.note { margin-top: 18px; color: var(--ink-3); font-size: 0.95rem; }

/* ------------------------------------------------------------------ faq */
.faq { display: grid; gap: 10px; max-width: 54rem; }
.faq details { border-radius: var(--r-md); border: 1px solid var(--rule); background: rgb(15 27 61 / 0.6); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; position: relative; font: 700 1.35rem/1.15 var(--display); text-transform: uppercase; letter-spacing: 0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 24px; top: 50%; width: 12px; height: 12px; margin-top: -9px; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); rotate: 45deg; transition: rotate 200ms var(--ease-out); }
.faq details[open] summary::after { rotate: 225deg; margin-top: -3px; }
.faq details p { padding: 0 22px 20px; color: var(--ink-2); max-width: 46rem; }

/* ------------------------------------------------------------------ final + footer */
.final { text-align: center; }
.final .wrap { display: grid; justify-items: center; gap: 28px; }
.final .display { font-size: clamp(3rem, 8vw, 7.5rem); }
footer { border-top: 1px solid var(--rule); padding: 40px 0 56px; color: var(--ink-3); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 18px 32px; align-items: center; justify-content: space-between; }
footer nav { display: flex; gap: 24px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--ink); }

/* scroll reveals (JS adds .reveal; content stays visible without JS) */
.js .reveal { opacity: 0; translate: 0 28px; transition: opacity 700ms var(--ease-out), translate 700ms var(--ease-out); }
.js .reveal.seen { opacity: 1; translate: 0 0; }

/* ------------------------------------------------------------------ legal pages */
.legal { padding: 140px 0 80px; }
.legal .wrap { max-width: 46rem; display: grid; gap: 18px; }
.legal h1 { font: 700 clamp(2.6rem, 6vw, 4rem)/0.95 var(--display); text-transform: uppercase; }
.legal h2 { font: 700 1.6rem/1.1 var(--display); text-transform: uppercase; margin-top: 18px; }
.legal p, .legal li { color: var(--ink-2); }
.legal ul { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }
.legal .updated { color: var(--ink-3); }

/* ------------------------------------------------------------------ responsive */
@media (max-width: 980px) {
  .nav ul { display: none; }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero { padding-top: 110px; }
  .hero .stage-fallback { width: min(100%, 360px); }
  .story .wrap { grid-template-columns: 1fr; gap: 18px; }
  .story .pin { height: auto; min-height: 100svh; padding: 90px 0 40px; }
  .steps { order: 2; }
  .steps li { padding: 10px 12px; }
  .steps li:not(.on) { display: none; }
  .bento { grid-template-columns: 1fr 1fr; }
  .card, .card.wide { grid-column: span 2; }
  .card.tall { grid-row: auto; }
  .stats, .plans { grid-template-columns: 1fr; }
  .chat { font-size: 0.75rem; }
  .judge { width: 56%; font-size: 0.78rem; padding: 10px; }
  .toast { right: 0; }
}
@media (max-width: 560px) {
  .nav .bar { gap: 10px; }
  .brand span { display: none; }
  .ticker .items { font-size: 0.875rem; }
  .card { padding: 22px; }
  .people strong { font-size: 2.2rem; }
}
@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; }
  .in { opacity: 1; translate: none; }
}
