/*
  Project V website. One look, committed on purpose: dark, like the app.
  Layout concept: dark cinema. One signature object, the player seekbar (violet to pink line, round playhead),
  runs along the bottom edge of the top bar as scroll progress and again inside the phone in the hero.
  Gradient is spent only there, on the primary button and on the coin glow. Gold belongs to the Gold section.
*/
:root {
  --ink: #0e0e0e;          /* page, same black as the app */
  --panel: #17141b;        /* cards, a black leaning violet */
  --panel-2: #1f1b25;
  --line: #2c2733;
  --text: #f3eff7;
  --muted: #a8a1b3;
  --violet: #8b5cf6;
  --orchid: #b45cf0;
  --pink: #ec4899;
  --gold: #e3ae45;
  --gold-hi: #ffe29a;
  --gold-line: #3a2c14;
  --grad: linear-gradient(90deg, var(--violet), var(--orchid) 55%, var(--pink));
  --grad-deep: linear-gradient(90deg, #7c4dea, #a94be0 55%, #d63c8a); /* behind white text */
  --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body: "Instrument Sans", "Segoe UI", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
  --radius: 20px;
  --gutter: 20px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font: 400 1.0625rem/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.06; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: 1140px; margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(56px, 9vw, 112px); }
.section-head { display: flex; flex-direction: column; gap: 14px; max-width: 640px; margin-bottom: clamp(28px, 5vw, 48px); }
.section-head h2 { font-size: clamp(2rem, 4.6vw, 3.1rem); }
.section-head p { color: var(--muted); }
.eyebrow { font: 500 0.78rem var(--font-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.mono { font-family: var(--font-mono); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent;
  font: 600 1rem var(--font-body); text-decoration: none; cursor: pointer; color: var(--text); background: transparent;
}
.btn-primary { background: var(--grad-deep); color: #fff; }
.btn-primary:hover { filter: brightness(1.1); }
.btn-ghost { border-color: var(--line); }
.btn-ghost:hover { border-color: var(--muted); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 0.92rem; }
.btn[aria-disabled="true"] { cursor: default; }

/* ---------- top bar with the seekbar ---------- */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: rgb(14 14 14 / 0.84); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.nav-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 700 1.15rem var(--font-display); letter-spacing: -0.01em; text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 0.95rem; }
.nav-links a:hover { color: var(--text); }
.nav-links .btn { color: #fff; }
@media (max-width: 820px) { .nav-links a:not(.btn) { display: none; } }
.seek { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--line); }
.seek i { position: absolute; left: 0; top: 0; bottom: 0; min-width: 6px; width: calc(var(--p, 0) * 100%); background: var(--grad); }
.seek i::after { content: ""; position: absolute; right: -6px; top: 50%; width: 12px; height: 12px; border-radius: 50%; background: #fff; transform: translateY(-50%); box-shadow: 0 0 0 4px rgb(236 72 153 / 0.28); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(40px, 7vw, 88px) clamp(48px, 7vw, 96px); }
.hero::before {
  content: ""; position: absolute; top: -18%; right: -12%; width: min(78vw, 840px); aspect-ratio: 1; pointer-events: none;
  background: radial-gradient(closest-side, rgb(139 92 246 / 0.30), rgb(236 72 153 / 0.10) 55%, transparent 72%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.hero h1 { font-size: clamp(2.7rem, 7.2vw, 5.4rem); }
.hero-sub { color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.25rem); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { font: 500 0.8rem var(--font-mono); letter-spacing: 0.04em; color: var(--muted); }

/* the phone */
.phone-wrap { display: flex; justify-content: center; }
.phone {
  position: relative; width: min(100%, 300px); aspect-ratio: 9 / 19; padding: 9px; border-radius: 40px;
  background: linear-gradient(160deg, #2a2630, #141217);
  box-shadow: 0 0 0 1px #3a3442 inset, 0 40px 90px -30px rgb(139 92 246 / 0.5);
}
.phone-screen { position: relative; height: 100%; border-radius: 32px; overflow: hidden; background: #0a090c; }
.slot { position: absolute; inset: 0; background-size: cover; background-position: center; }
.player {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 18px 14px 14px;
  background:
    radial-gradient(120% 70% at 62% 16%, rgb(180 92 240 / 0.55), transparent 60%),
    radial-gradient(90% 60% at 8% 62%, rgb(236 72 153 / 0.32), transparent 65%),
    linear-gradient(180deg, #1b1224, #0b0a0d);
}
.has-image .player { display: none; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { font: 500 0.66rem var(--font-mono); letter-spacing: 0.06em; padding: 4px 8px; border-radius: 6px; background: rgb(255 255 255 / 0.14); color: #fff; }
.chip-rate { background: rgb(0 0 0 / 0.55); border: 1px solid rgb(255 255 255 / 0.35); }
.rail { position: absolute; right: 10px; top: 46%; display: flex; flex-direction: column; gap: 14px; align-items: center; }
.rail span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgb(0 0 0 / 0.42); border: 1px solid rgb(255 255 255 / 0.18); }
.rail svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.meta { display: flex; flex-direction: column; gap: 9px; padding-right: 54px; }
.meta h3 { font-size: 1.45rem; }
.meta p { font-size: 0.78rem; line-height: 1.45; color: rgb(255 255 255 / 0.78); }
.meta .watch { align-self: flex-start; font: 600 0.74rem var(--font-body); color: #fff; background: var(--grad-deep); padding: 7px 14px; border-radius: 999px; }
.pbar { position: relative; margin-top: 8px; height: 3px; border-radius: 3px; background: rgb(255 255 255 / 0.22); }
.pbar i { position: absolute; left: 0; top: 0; bottom: 0; width: 38%; border-radius: 3px; background: var(--grad); }
.pbar i::after { content: ""; position: absolute; right: -6px; top: 50%; width: 12px; height: 12px; border-radius: 50%; background: #fff; transform: translateY(-50%); }

/* ---------- covers ---------- */
.posters { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 760px) { .posters { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.poster {
  position: relative; overflow: hidden; aspect-ratio: 2 / 3; border-radius: 18px; padding: 14px;
  display: flex; flex-direction: column; justify-content: space-between; isolation: isolate;
  background:
    radial-gradient(120% 80% at 72% 8%, hsl(var(--h) 85% 58% / 0.6), transparent 60%),
    linear-gradient(165deg, hsl(var(--h) 55% 24%), #110e14 78%);
}
.poster::after { content: ""; position: absolute; right: -14%; top: 26%; width: 62%; aspect-ratio: 1; background: hsl(var(--h) 90% 75% / 0.12); clip-path: polygon(14% 4%, 96% 50%, 14% 96%); z-index: -1; }
.poster .slot { z-index: -1; }
.poster-tag { font: 500 0.7rem var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: rgb(255 255 255 / 0.85); }
.poster-title { font: 700 1.5rem/1.05 var(--font-display); letter-spacing: -0.02em; }
.poster-sub { margin-top: 4px; font: 500 0.7rem var(--font-mono); letter-spacing: 0.04em; color: rgb(255 255 255 / 0.62); }
.has-image .poster-title, .has-image .poster-sub { display: none; }

/* ---------- features ---------- */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.tile { min-width: 0; display: flex; flex-direction: column; gap: 12px; padding: clamp(20px, 3vw, 30px); border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); }
.tile h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); }
.tile p { color: var(--muted); font-size: 0.98rem; }
.tile-label { font: 500 0.72rem var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.t-resume { grid-column: span 4; }
.t-lang, .t-reels, .t-list, .t-next { grid-column: span 2; }
@media (max-width: 900px) { .t-resume { grid-column: span 6; } .t-lang, .t-reels, .t-list, .t-next { grid-column: span 3; } }
@media (max-width: 600px) { .t-lang, .t-reels, .t-list, .t-next { grid-column: span 6; } }
.resume-demo { margin-top: auto; display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: 14px; background: var(--panel-2); }
.resume-demo .row { display: flex; justify-content: space-between; gap: 12px; font: 500 0.78rem var(--font-mono); color: var(--muted); }
.resume-demo .pbar { margin: 0; background: #3a3442; }
.chips-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.pill { font: 500 0.78rem var(--font-mono); letter-spacing: 0.04em; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); color: var(--text); }
.frames { margin-top: auto; display: flex; gap: 8px; align-items: flex-end; }
.frames span { flex: 1; min-width: 0; aspect-ratio: 9 / 14; border-radius: 10px; background: linear-gradient(170deg, hsl(var(--h) 60% 38%), #17141b); }
.frames span:nth-child(2) { transform: translateY(-10px); }
.next-card { margin-top: auto; display: flex; flex-direction: column; gap: 8px; padding: 14px; border-radius: 14px; background: var(--panel-2); }
.next-card b { font: 600 0.95rem var(--font-body); }
.next-card span { font: 500 0.74rem var(--font-mono); color: var(--muted); }

/* ---------- gold ---------- */
.gold { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 6vw, 72px); align-items: center; padding: clamp(24px, 5vw, 56px); border-radius: 28px; background: linear-gradient(145deg, #1d1710, #141015); border: 1px solid var(--gold-line); }
@media (max-width: 820px) { .gold { grid-template-columns: minmax(0, 1fr); } }
.coin-wrap { display: grid; place-items: center; padding-block: 12px; }
.coin {
  position: relative; width: min(60vw, 230px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center;
  background: conic-gradient(from 210deg, #7a4c0c, #d9a441, #ffe29a, #c98a1f, #7a4c0c);
  box-shadow: 0 0 0 10px rgb(227 174 69 / 0.1), 0 30px 80px -20px rgb(227 174 69 / 0.45);
}
.coin::before { content: ""; position: absolute; inset: 14%; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #f4c866, #b5791c 70%); box-shadow: inset 0 0 0 3px rgb(255 226 154 / 0.55), inset 0 -8px 18px rgb(80 46 6 / 0.45); }
.coin b { position: relative; font: 800 clamp(3.4rem, 12vw, 5.4rem) var(--font-display); color: #5a3606; text-shadow: 0 2px 0 rgb(255 226 154 / 0.55); }
.gold h2 { font-size: clamp(2rem, 4.4vw, 3rem); }
.gold-lead { margin-top: 14px; color: #cdbf9f; }
.earn { margin-top: 26px; display: flex; flex-direction: column; }
.earn-row { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 16px; padding-block: 14px; border-top: 1px solid var(--gold-line); }
.earn-row b { font: 500 0.78rem var(--font-mono); letter-spacing: 0.12em; color: var(--gold); padding-top: 4px; }
.earn-row span { color: var(--text); }
.gold-foot { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--gold-line); color: #cdbf9f; font-size: 0.98rem; }
.gold-foot strong { color: var(--gold-hi); font-weight: 600; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 4vw, 48px); }
@media (max-width: 760px) { .steps { grid-template-columns: minmax(0, 1fr); } }
.step { display: flex; flex-direction: column; gap: 10px; padding-top: 18px; border-top: 2px solid var(--line); }
.step-n { font: 800 3.4rem/1 var(--font-display); color: transparent; -webkit-text-stroke: 1.5px var(--orchid); }
.step h3 { font-size: 1.35rem; }
.step p { color: var(--muted); }

/* ---------- control ---------- */
.control { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 760px) { .control { grid-template-columns: minmax(0, 1fr); } }
.control .tile { gap: 14px; }
.ratings { display: flex; flex-wrap: wrap; gap: 8px; }
.ratings .pill { min-width: 52px; text-align: center; }
.ratings .pill.hot { border-color: var(--pink); color: #fff; }

/* ---------- faq ---------- */
.faq { max-width: 760px; }
.faq details { border-top: 1px solid var(--line); padding-block: 20px; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; cursor: pointer; list-style: none; font: 600 1.12rem var(--font-body); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); color: var(--muted); font: 400 1.25rem/1 var(--font-body); }
.faq details[open] summary::after { content: "\2212"; color: var(--text); border-color: var(--muted); }
.faq details p { margin-top: 12px; color: var(--muted); max-width: 62ch; }
.faq a { color: var(--text); }

/* ---------- get the app ---------- */
.get { position: relative; overflow: hidden; padding: clamp(32px, 6vw, 72px); border-radius: 28px; background: var(--panel); border: 1px solid var(--line); display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.get::before { content: ""; position: absolute; right: -10%; bottom: -60%; width: 70%; aspect-ratio: 1; pointer-events: none; background: radial-gradient(closest-side, rgb(236 72 153 / 0.22), transparent 70%); }
.get > * { position: relative; }
.get h2 { font-size: clamp(2.2rem, 5.4vw, 3.8rem); max-width: 14em; }
.get p { color: var(--muted); max-width: 40em; }
.mailrow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.mailrow code { font: 500 0.92rem var(--font-mono); padding: 10px 14px; border-radius: 10px; background: var(--panel-2); border: 1px solid var(--line); overflow-wrap: anywhere; user-select: all; }

/* ---------- footer ---------- */
.foot { margin-top: clamp(56px, 9vw, 112px); border-top: 1px solid var(--line); padding-block: 40px 56px; color: var(--muted); font-size: 0.92rem; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
@media (max-width: 820px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: minmax(0, 1fr); } }
.foot h4 { margin: 0 0 12px; font: 500 0.72rem var(--font-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--text); }
.foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--text); text-decoration: underline; }
.foot .brand { color: var(--text); margin-bottom: 12px; }
.foot-small { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 0.85rem; }

/* ---------- about: the idea ---------- */
.statement { margin-top: 14px; max-width: 16em; font-size: clamp(2.2rem, 6vw, 4.2rem); }
.pillars { margin-top: clamp(32px, 6vw, 56px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 4vw, 48px); }
@media (max-width: 760px) { .pillars { grid-template-columns: minmax(0, 1fr); } }
.pillar { display: flex; flex-direction: column; gap: 10px; padding-top: 18px; border-top: 2px solid var(--line); }
.pillar-tag { font: 500 0.72rem var(--font-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--orchid); }
.pillar h3 { font-size: 1.4rem; }
.pillar p { color: var(--muted); }

/* ---------- stories ---------- */
.points { list-style: none; margin: clamp(24px, 4vw, 40px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 24px; }
@media (max-width: 900px) { .points { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .points { grid-template-columns: minmax(0, 1fr); } }
.points li { padding-top: 12px; border-top: 1px solid var(--line); color: var(--muted); }

/* ---------- why, plans, partners ---------- */
.four { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1000px) { .four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .four { grid-template-columns: minmax(0, 1fr); } }
.also { margin-top: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.also .tile-label { margin-right: 6px; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px) { .plans { grid-template-columns: minmax(0, 1fr); } }
.plan-note { font: 500 0.78rem var(--font-mono); letter-spacing: 0.04em; color: var(--muted); }
.partners { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 760px) { .partners { grid-template-columns: minmax(0, 1fr); } }
.partners .tile { align-items: flex-start; gap: 14px; }
.partners .tile .btn { margin-top: auto; }

/* ---------- phones: the app ---------- */
.showcase { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (max-width: 760px) { .showcase { grid-template-columns: minmax(0, 1fr); } }
.showcase figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.showcase .phone { width: min(100%, 250px); }
.showcase figcaption { display: flex; flex-direction: column; gap: 4px; text-align: center; max-width: 24ch; }
.showcase figcaption b { font: 700 1.1rem var(--font-display); letter-spacing: -0.01em; }
.showcase figcaption span { color: var(--muted); font-size: 0.95rem; }
.mock { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 10px; padding: 18px 12px 12px; background: linear-gradient(180deg, #14101a, #0b0a0d); }
.has-image .mock { display: none; }
.mock-bar { display: flex; justify-content: space-between; align-items: center; min-height: 22px; }
.mock-logo { width: 22px; height: 22px; border-radius: 6px; background: var(--grad); }
.mock-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--pink); }
.mock-title { font: 700 1rem var(--font-display); }
.mock-banner { position: relative; height: 26%; border-radius: 12px; background: radial-gradient(100% 120% at 80% 0%, rgb(236 72 153 / 0.8), transparent 60%), linear-gradient(135deg, #5b34c2, #2a1650); display: flex; align-items: flex-end; padding: 10px; }
.mock-banner span { font: 600 0.66rem var(--font-body); color: #fff; background: rgb(255 255 255 / 0.2); padding: 4px 10px; border-radius: 999px; }
.mock-label { font: 500 0.6rem var(--font-mono); letter-spacing: 0.14em; color: var(--muted); }
.mock-row { display: flex; gap: 6px; }
.mock i { display: block; flex: 1; min-width: 0; aspect-ratio: 2 / 3; border-radius: 8px; background: linear-gradient(165deg, hsl(var(--h) 60% 40%), #17141b); }
.mock-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.mock-grid i { aspect-ratio: 2 / 2.7; }
.mock-earn { align-items: stretch; }
.mock-coin { align-self: center; position: relative; width: 74px; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(from 210deg, #7a4c0c, #d9a441, #ffe29a, #c98a1f, #7a4c0c); margin-block: 8px; }
.mock-coin::before { content: ""; position: absolute; inset: 14%; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #f4c866, #b5791c 70%); }
.mock-coin b { position: relative; font: 800 1.5rem var(--font-display); color: #5a3606; }
.mock-earn .mock-label { text-align: center; }
.mock-line { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 9px 10px; border-radius: 10px; background: var(--panel-2); font-size: 0.72rem; }
.mock-line i { flex: none; aspect-ratio: auto; padding: 3px 9px; border-radius: 999px; background: var(--grad-deep); font: 600 0.62rem var(--font-body); font-style: normal; color: #fff; }

/* ---------- legal pages ---------- */
.legal-top { padding-block: clamp(32px, 6vw, 64px) 8px; display: flex; flex-direction: column; gap: 14px; }
.legal-top h1 { font-size: clamp(2.2rem, 5.4vw, 3.6rem); }
.legal-top .updated { font: 500 0.82rem var(--font-mono); letter-spacing: 0.04em; color: var(--muted); }
.draft-banner { padding: 12px 16px; border-radius: 12px; background: #2a2112; border: 1px solid #5b4416; color: var(--gold-hi); font-size: 0.92rem; }
.draft-banner[hidden] { display: none; }
.legal-wrap { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(28px, 6vw, 72px); padding-block: 32px 0; align-items: start; }
@media (max-width: 860px) { .legal-wrap { grid-template-columns: minmax(0, 1fr); } }
.toc { position: sticky; top: calc(88px + env(safe-area-inset-top, 0px)); display: flex; flex-direction: column; gap: 4px; font-size: 0.9rem; }
@media (max-width: 860px) { .toc { position: static; } }
.toc strong { font: 500 0.72rem var(--font-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.toc a { color: var(--muted); text-decoration: none; padding-block: 4px; }
.toc a:hover { color: var(--text); }
.legal { max-width: 72ch; }
.legal section { padding-block: 0 36px; }
.legal h2 { font-size: 1.55rem; margin-bottom: 12px; }
.legal h3 { font: 600 1.05rem var(--font-body); letter-spacing: 0; margin: 18px 0 6px; }
.legal p, .legal li { color: #d7d1df; }
.legal p + p { margin-top: 12px; }
.legal ul { margin: 8px 0 0; padding-left: 1.2em; display: flex; flex-direction: column; gap: 6px; }
.legal a { color: var(--text); }
.review { margin-top: 12px; padding: 16px 18px; border-radius: 14px; border: 1px dashed #5b4416; background: #19140b; color: var(--gold-hi); font-size: 0.92rem; }
.review[hidden] { display: none; }
.review ul { margin-top: 8px; }
.review li { color: var(--gold-hi); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}
