/* oblivity.app — the approved design (round 7, oblivity-app:design/sections/page.css on design/look-v2) plus what the
   live site needs: self-hosted fonts, the phone menu, legal pages, 404. Full black per Ron (3 Dec): neutral greys
   from #0A0A0A up, hairlines, Linear-like restraint. Type and brand red from
   oblivity-presentation DESIGN_GUIDELINES.md (Switzer display + Geist + Geist Mono, light weights, #FA142F).
   No pills, glows or pulsing dots. */

@font-face { font-family: 'Switzer'; src: url('/assets/fonts/switzer-300.woff2') format('woff2'); font-weight: 300; font-display: swap; }
@font-face { font-family: 'Switzer'; src: url('/assets/fonts/switzer-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
/* Geist + Geist Mono (SIL OFL, vercel/geist-font 1.3.1), served from oblivity.app instead of Google Fonts. */
@font-face { font-family: 'Geist'; src: url('/assets/fonts/geist-300.woff2') format('woff2'); font-weight: 300; font-display: swap; }
@font-face { font-family: 'Geist'; src: url('/assets/fonts/geist-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Geist Mono'; src: url('/assets/fonts/geist-mono-300.woff2') format('woff2'); font-weight: 300; font-display: swap; }
@font-face { font-family: 'Geist Mono'; src: url('/assets/fonts/geist-mono-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }

:root {
  --bg: #0A0A0A;
  --s1: #111111;
  --s2: #1A1A1A;
  --line: rgba(255, 255, 255, .08);
  --line2: rgba(255, 255, 255, .14);
  --t1: #F7F7F8;
  --t2: #B8B8BC;
  --t3: #8A8A90;
  --t4: #7A7A80; /* design: #5A5A60, lifted to 4.6:1 on --bg for small labels */
  --red: #FA142F;
  --red-hi: #FF334B;
  --red-dk: #B50B1D;
  --r1: 6px;
  --r2: 10px;
  --r3: 14px;
  --display: 'Switzer', 'Geist', system-ui, sans-serif;
  --sans: 'Geist', system-ui, -apple-system, sans-serif;
  --mono: 'Geist Mono', ui-monospace, SFMono-Regular, monospace;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --gut: 40px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); color-scheme: dark; scroll-behavior: smooth; }
body { background: var(--bg); color: var(--t2); font: 300 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
img { height: auto; }
.i { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.bi { width: 18px; height: 18px; fill: currentColor; flex: none; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 var(--gut); }

/* ── Type ───────────────────────────────────── */
.label { font: 400 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--t3); display: flex; align-items: center; gap: 10px; }
.label .tick { width: 14px; height: 1px; background: var(--red); }
h1, .h1 { font: 300 68px/1.02 var(--display); letter-spacing: -.03em; color: var(--t1); }
h2, .h2 { font: 300 46px/1.08 var(--display); letter-spacing: -.025em; color: var(--t1); }
h3, .h3 { font: 400 20px/1.3 var(--display); letter-spacing: -.01em; color: var(--t1); }
.lead { font: 300 19px/1.6 var(--sans); color: var(--t2); max-width: 34em; }
.small { font-size: 14px; line-height: 1.55; color: var(--t3); }
.mono { font-family: var(--mono); font-weight: 300; }
.meta { font: 300 12.5px/1.4 var(--mono); color: var(--t3); display: flex; flex-wrap: wrap; gap: 6px 18px; }
.meta b { font-weight: 400; color: var(--t2); }
.red { color: var(--red); }

/* ── Buttons ────────────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 20px; border-radius: var(--r1); font: 400 15px/1 var(--sans); color: var(--t1); border: 1px solid var(--line2); background: rgba(255,255,255,.02); transition: background .2s, border-color .2s; white-space: nowrap; }
.btn:hover { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.22); }
.btn.primary { background: var(--red); border-color: var(--red); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.18); }
.btn.primary:hover { background: var(--red-hi); border-color: var(--red-hi); }
.btn .sep { width: 1px; height: 16px; background: rgba(255,255,255,.35); }
.btn.sm { height: 34px; padding: 0 14px; font-size: 13.5px; gap: 8px; }
.link { display: inline-flex; align-items: center; gap: 6px; font: 400 14px/1 var(--sans); color: var(--t2); }
.link:hover { color: var(--t1); }

/* ── Header ─────────────────────────────────── */
.top { position: sticky; top: 0; z-index: 50; height: 64px; border-bottom: 1px solid var(--line); background: rgba(10, 10, 10, .78); backdrop-filter: blur(14px); }
.top .wrap { height: 100%; display: flex; align-items: center; gap: 40px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo .mk { height: 24px; width: auto; }
.logo .wm { height: 15px; width: auto; }
.nav { display: flex; gap: 28px; font: 400 14px/1 var(--sans); color: var(--t3); }
.nav a:hover { color: var(--t1); }
.top .right { margin-left: auto; display: flex; align-items: center; gap: 18px; color: var(--t3); }
.top .right .soc { display: flex; gap: 16px; }
.top .right .soc a:hover { color: var(--t1); }
.top .menu { display: none; align-items: center; justify-content: center; width: 36px; height: 36px; margin-right: -8px; border: 0; background: none; color: var(--t2); cursor: pointer; border-radius: var(--r1); }
.top .menu .i { width: 20px; height: 20px; }

/* ── Sections ───────────────────────────────── */
.sec { padding: 128px 0; border-top: 1px solid var(--line); position: relative; }
.sec-head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-bottom: 56px; }
.sec-head .label { margin-bottom: 20px; }
.sec-head p { max-width: 30em; justify-self: end; color: var(--t3); font-size: 16px; }
.sec-head .act { justify-self: end; }
.frame { border-radius: var(--r3); border: 1px solid var(--line2); background: var(--s1); overflow: hidden; position: relative; box-shadow: 0 30px 80px -30px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.06); }
.frame video, .frame img { width: 100%; height: 100%; object-fit: cover; }
.frame .cap { position: absolute; left: 14px; bottom: 12px; font: 400 11.5px/1 var(--mono); color: rgba(255,255,255,.85); background: rgba(10,10,10,.72); padding: 7px 9px; border-radius: 4px; backdrop-filter: blur(6px); }

/* Facts strip (Steam proof) */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts > div { padding: 22px 24px; border-left: 1px solid var(--line); }
.facts > div:first-child { border-left: 0; padding-left: 0; }
.facts .k { font: 400 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--t4); margin-bottom: 12px; }
.facts .v { font: 300 26px/1.1 var(--display); color: var(--t1); letter-spacing: -.01em; }
.facts .v small { font: 300 13px var(--mono); color: var(--t3); margin-left: 6px; letter-spacing: 0; }

/* Steam row inside trainer */
.steamrow { display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center; padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.steamrow .cap { width: 230px; border-radius: var(--r1); border: 1px solid var(--line2); }
.steamrow .facts { border: 0; }
.steamrow .facts > div { padding: 4px 24px; }
.steamrow .facts .v { font-size: 22px; white-space: nowrap; }

/* ── CONTENT · shared video bits ────────────── */
.vbig { display: block; }
.vbig .th, .vrow .th, .vcard .th { position: relative; border-radius: var(--r2); overflow: hidden; border: 1px solid var(--line); background: var(--s1); }
.vbig .th { aspect-ratio: 16 / 9; margin-bottom: 18px; }
.th img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
a:hover .th img { transform: scale(1.025); }
.th .len { position: absolute; right: 10px; bottom: 10px; font: 400 11.5px/1 var(--mono); color: #fff; background: rgba(0,0,0,.72); padding: 5px 7px; border-radius: 4px; }
.vbig h3 { font-size: 22px; margin-bottom: 6px; }
.vt h3 { font: 400 16px/1.35 var(--sans); color: var(--t1); margin-bottom: 6px; }
.vt .meta, .vbig .meta { font-size: 12px; }
.vlist { display: flex; flex-direction: column; }
.vrow { display: grid; grid-template-columns: 168px 1fr; gap: 18px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.vrow:first-child { padding-top: 0; }
.vrow:last-child { border-bottom: 0; }
.vrow .th { aspect-ratio: 16 / 9; }
.vgrid { display: grid; grid-template-columns: 7fr 5fr; gap: 40px; }
.vcards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.vcard .th { aspect-ratio: 16 / 9; margin-bottom: 14px; }
.chanline { display: flex; gap: 24px; margin-top: 18px; }

/* Marquee */
.mq { display: flex; flex-direction: column; gap: 18px; pointer-events: none; }
.mq-row { overflow: hidden; }
.mq-track { display: flex; gap: 18px; width: max-content; animation: mq var(--d, 120s) linear infinite; will-change: transform; }
.mq-row.rev .mq-track { animation-direction: reverse; }
.mq-row:nth-child(1) { --d: 130s; } .mq-row:nth-child(2) { --d: 170s; } .mq-row:nth-child(3) { --d: 110s; } .mq-row:nth-child(4) { --d: 150s; }
@keyframes mq { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.mq .lf { width: 340px; aspect-ratio: 16 / 9; }
.mq .sh { width: 150px; aspect-ratio: 9 / 16; }
.mq .lf, .mq .sh { flex: none; border-radius: 14px; overflow: hidden; border: 1px solid rgba(255,255,255,.1); background: var(--s1); }
.mq img { width: 100%; height: 100%; object-fit: cover; }
.shot .mq-track { animation-play-state: paused; }

/* ── CONTENT · Backdrop (c-backdrop) ────────── */
.c-backdrop { padding: 0; overflow: hidden; }
.c-backdrop .stagebd { position: relative; min-height: 860px; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; }
.c-backdrop .mq { position: absolute; inset: -40px -60px; justify-content: space-between; opacity: .42; }
.c-backdrop .stagebd::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(10,10,10,.84) 0%, rgba(10,10,10,.62) 50%, rgba(10,10,10,.94) 100%), linear-gradient(180deg, var(--bg) 0%, rgba(10,10,10,0) 18%, rgba(10,10,10,0) 82%, var(--bg) 100%); }
.c-backdrop .center { position: relative; z-index: 2; }
.c-backdrop .label { justify-content: center; margin-bottom: 28px; }
.c-backdrop h2 { margin-bottom: 40px; }
.c-backdrop .big { font: 300 132px/1 var(--display); letter-spacing: -.04em; color: var(--t1); }
.c-backdrop .bigl { font: 400 12px/1 var(--mono); letter-spacing: .22em; text-transform: uppercase; color: var(--t2); margin-top: 18px; }
.plats { display: flex; justify-content: center; gap: 0; margin-top: 52px; }
.plats > a { display: flex; align-items: center; gap: 10px; padding: 0 28px; border-left: 1px solid var(--line2); color: var(--t2); }
.plats > a:first-child { border-left: 0; }
.plats .n { font: 300 24px/1 var(--display); color: var(--t1); }
.plats .p { font: 300 12.5px/1 var(--mono); color: var(--t3); }
.c-backdrop .below { padding: 24px 0 128px; }
.c-backdrop .below .head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 28px; }

/* ── COMMUNITY · Discord first (k-discord) ──── */
.kd { display: grid; grid-template-columns: 6fr 6fr; gap: 64px; align-items: stretch; }
.kd .card { border: 1px solid var(--line2); border-radius: var(--r3); padding: 44px; background: linear-gradient(180deg, var(--s1), rgba(17,17,17,.4)); display: flex; flex-direction: column; justify-content: space-between; gap: 48px; box-shadow: inset 0 1px 0 rgba(255,255,255,.05); }
.kd .card .bi { width: 30px; height: 30px; color: var(--t1); }
.kd .card h2 { font-size: 40px; margin: 22px 0 14px; }
.kd .card p { color: var(--t3); max-width: 26em; }
.kd .list a { display: grid; grid-template-columns: 28px 1fr auto 20px; gap: 16px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); color: var(--t3); }
.kd .list a:first-child { border-top: 1px solid var(--line); }
.kd .list a:hover { color: var(--t1); }
.kd .list .p { font: 400 16px/1.2 var(--sans); color: var(--t1); }
.kd .list .h { font: 300 12px/1.2 var(--mono); color: var(--t4); margin-top: 4px; }
.kd .list .n { font: 300 22px/1 var(--display); color: var(--t1); }

/* ── Footer ─────────────────────────────────── */
.foot { border-top: 1px solid var(--line); padding: 64px 0 40px; }
.foot .cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 64px; }
.foot .logo .mk { height: 22px; }
.foot .about { margin-top: 18px; font-size: 14px; color: var(--t3); max-width: 22em; }
.foot .fh { font: 400 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--t4); margin-bottom: 18px; }
.foot ul { list-style: none; display: grid; gap: 11px; font-size: 14px; color: var(--t3); }
.foot ul a:hover { color: var(--t1); }
.foot .base { display: flex; justify-content: space-between; padding-top: 24px; border-top: 1px solid var(--line); font: 300 12px/1 var(--mono); color: var(--t4); }

/* ── Overrides for round 4 ──────────────────── */
.frame { border-color: var(--line); background: #000; box-shadow: 0 0 0 1px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.05); }
.frame video, .frame img { display: block; }
.btn { background: rgba(255,255,255,.03); }
.label .tick { width: 12px; }
.sec { padding: 136px 0; }

/* ── HERO · full-bleed reel ─────────────────── */
.hero { position: relative; min-height: 860px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; }
.hero > video.bg { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: 1; background:
  linear-gradient(90deg, rgba(10,10,10,.95) 0%, rgba(10,10,10,.82) 30%, rgba(10,10,10,.2) 66%, rgba(10,10,10,.05) 100%),
  linear-gradient(0deg, var(--bg) 0%, rgba(10,10,10,0) 38%), linear-gradient(180deg, rgba(10,10,10,.6) 0%, rgba(10,10,10,0) 18%); }
.hero .wrap { position: relative; z-index: 2; width: 100%; }
.hero .copy { max-width: 620px; padding-bottom: 64px; }
.hero .label { margin-bottom: 26px; }
.hero h1 { font-size: 76px; margin-bottom: 24px; }
.hero .lead { margin-bottom: 36px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .facts { background: rgba(10,10,10,.55); backdrop-filter: blur(10px); }

/* ── TRAINER · shared ───────────────────────── */
.ch-n { font: 400 12px/1 var(--mono); color: var(--t4); letter-spacing: .04em; margin-bottom: 18px; }
.chap { padding: 72px 0; border-top: 1px solid var(--line); }
.chap:first-of-type { border-top: 0; padding-top: 8px; }
.ch-txt h3 { font: 300 34px/1.12 var(--display); letter-spacing: -.02em; color: var(--t1); margin-bottom: 18px; max-width: 15em; }
.ch-txt p, .side { color: var(--t3); max-width: 30em; font-size: 16px; }
.ch-txt .link { margin-top: 26px; }
.frame .cap { background: rgba(0,0,0,.66); color: var(--t2); font-size: 11px; }

/* 1 · Sensitivity Finder: text left, three phase clips right */
.ch-sf { display: grid; grid-template-columns: 4fr 8fr; gap: 64px; align-items: center; }
.sf { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.sf .tall { aspect-ratio: 9 / 15; border-radius: var(--r2); }
.sf .tall video { object-position: 50% 30%; }
.sf figcaption { margin-top: 16px; display: grid; gap: 4px; font-size: 13.5px; line-height: 1.5; color: var(--t3); }
.sf figcaption .n { font: 400 11px/1 var(--mono); color: var(--red); margin-bottom: 6px; }
.sf figcaption b { font: 400 15px/1.3 var(--sans); color: var(--t1); }

/* 2 · Scenarios: one big stage cycling the clips */
.ch-row { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: end; margin-bottom: 40px; }
.ch-row .side { justify-self: end; }
.stage { aspect-ratio: 16 / 9; border-radius: var(--r3); }
.stage video, .cyc video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s var(--ease); }
.stage video.on, .cyc video.on { opacity: 1; }

/* 3 · Analysis + replays: text left, one big frame + two small */
.ch-an { display: grid; grid-template-columns: 4fr 8fr; gap: 64px; align-items: center; }
.an { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.an .frame { aspect-ratio: 16 / 9; border-radius: var(--r2); }

/* 4 · More: three columns, hairline separated, no boxes */
.more { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 64px; border-top: 1px solid var(--line); margin-bottom: 96px; }
.mo { padding: 40px 0 8px; position: relative; }
.mo + .mo::before { content: ''; position: absolute; left: -32px; top: 0; bottom: 0; border-left: 1px solid var(--line); }
.mo .frame { aspect-ratio: 16 / 9; border-radius: var(--r2); margin-bottom: 24px; }
.mo-t { display: flex; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.mo-t .ch-n { margin: 0; }
.mo h4 { font: 400 18px/1.3 var(--display); color: var(--t1); }
.mo p { font-size: 14.5px; line-height: 1.6; color: var(--t3); }

.steamrow { border-color: var(--line); }

/* ── CONTENT · latest big, views only ───────── */
.c-backdrop .below { padding: 40px 0 136px; }
.c-backdrop .below .head { margin-bottom: 32px; }
.vgrid { grid-template-columns: 7fr 5fr; gap: 48px; }
.vbig .th { margin-bottom: 20px; }
.vbig h3 { font: 300 30px/1.15 var(--display); letter-spacing: -.015em; margin-bottom: 10px; }
.th .new { position: absolute; left: 12px; top: 12px; font: 400 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #fff; background: var(--red); padding: 6px 8px; border-radius: 4px; }
.vrow { padding: 18px 0; }
.vt .meta, .vbig .meta { font-size: 12.5px; }

/* ── COMMUNITY · Discord first, no card ─────── */
.kd { grid-template-columns: 5fr 6fr; gap: 96px; align-items: center; }
.dc .label { margin-bottom: 28px; }
.dc h2 { font-size: 52px; margin-bottom: 20px; }
.dc p { color: var(--t3); max-width: 26em; margin-bottom: 36px; }
.dc-act { display: flex; align-items: center; gap: 24px; }
.kd .list a { padding: 24px 0; }

/* ── Phone ──────────────────────────────────── */
@media (max-width: 900px) {
  :root { --gut: 20px; }
  h1, .h1 { font-size: 44px; }
  h2, .h2 { font-size: 34px; }
  .lead { font-size: 17px; }
  .nav, .top .right .soc { display: none; }
  .top .wrap { gap: 12px; }
  .top .menu { display: flex; }
  .top .right { gap: 14px; }
  .sec { padding: 88px 0; }
  .sec-head { grid-template-columns: 1fr; gap: 18px; margin-bottom: 40px; }
  .sec-head p, .sec-head .act { justify-self: start; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts > div { padding: 18px 16px 18px 0; border-left: 0; border-top: 1px solid var(--line); }
  .facts > div:nth-child(-n+2) { border-top: 0; }
  .facts > div:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
  .facts .v { font-size: 20px; white-space: nowrap; }
  .facts .v small { display: none; }
  .hero { min-height: 0; padding-top: 360px; }
  .hero > video.bg { height: 440px; }
  .hero::before { background: linear-gradient(0deg, var(--bg) 0%, var(--bg) 56%, rgba(10,10,10,.15) 78%, rgba(10,10,10,0) 100%); }
  .hero h1 { font-size: 46px; }
  .hero .copy { padding-bottom: 40px; }
  .cta .btn { flex: 1 1 auto; justify-content: center; }
  .chap { padding: 56px 0; }
  .ch-sf, .ch-an, .ch-row { grid-template-columns: 1fr; gap: 32px; }
  .ch-row { margin-bottom: 28px; gap: 16px; }
  .ch-row .side { justify-self: start; }
  .ch-txt h3 { font-size: 28px; }
  .sf { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .sf figcaption { font-size: 12px; margin-top: 12px; }
  .sf figcaption span:not(.n) { display: none; }
  .sf figcaption b { font-size: 13px; }
  .an { grid-template-columns: 1fr; }
  .more { grid-template-columns: 1fr; border-top: 0; margin-bottom: 64px; }
  .mo { border-top: 1px solid var(--line); padding: 28px 0 20px; }
  .mo + .mo::before { display: none; }
  .steamrow { grid-template-columns: 1fr; gap: 20px; }
  .steamrow .cap { width: 220px; }
  .steamrow .facts > div { padding: 16px 16px 16px 0; }
  .steamrow .facts > div:nth-child(even) { padding-left: 16px; }
  .vgrid { grid-template-columns: 1fr; gap: 28px; }
  .vbig h3 { font-size: 24px; }
  .vrow { grid-template-columns: 132px 1fr; gap: 14px; }
  .vt h3 { font-size: 14.5px; }
  .mq .lf { width: 220px; }
  .mq .sh { width: 100px; }
  .mq, .mq-track { gap: 12px; }
  .c-backdrop .stagebd { min-height: 640px; }
  .c-backdrop .big { font-size: 84px; }
  .c-backdrop h2 br { display: none; }
  .plats { flex-wrap: wrap; gap: 16px 0; }
  .plats > a { padding: 0 16px; }
  .c-backdrop .below { padding-bottom: 88px; }
  .kd { grid-template-columns: 1fr; gap: 48px; }
  .dc h2 { font-size: 38px; }
  .dc-act { flex-wrap: wrap; gap: 16px; }
  .foot .cols { grid-template-columns: 1fr 1fr; }
  .foot .cols > div:first-child { grid-column: span 2; }
  .foot .base { flex-direction: column; gap: 10px; }
}
@media (prefers-reduced-motion: reduce) { .mq-track { animation: none; } }

/* ── Live site additions ─────────────────────── */
main { display: block; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 2px; }
.btn:focus-visible { border-radius: var(--r1); }

/* Phone menu: the sheet unfolds downward out of the header bar */
.top .sheet { position: absolute; left: 0; right: 0; top: 100%; background: rgba(10, 10, 10, .96); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line); transform-origin: top center; transform: scaleY(.6); opacity: 0;
  transition: transform .28s var(--ease), opacity .2s ease; }
.top.open .sheet { transform: none; opacity: 1; }
.top .sheet .wrap { display: block; height: auto; padding-top: 8px; padding-bottom: 20px; }
.top .sheet nav a { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; border-bottom: 1px solid var(--line);
  font: 300 22px/1.2 var(--display); color: var(--t1); letter-spacing: -.01em; }
.top .sheet nav a .i { color: var(--t3); }
.sheet-soc { display: flex; gap: 22px; padding-top: 20px; color: var(--t2); }
.sheet-soc .bi { width: 20px; height: 20px; }
@media (min-width: 901px) { .top .sheet { display: none; } }

/* Legal pages */
.docwrap { padding: 96px 0 128px; }
.doc-body { max-width: 720px; }
.doc-body .label { margin-bottom: 24px; }
.doc-body h1 { font-size: 56px; margin-bottom: 40px; }
.doc-body h2 { font: 400 20px/1.3 var(--display); letter-spacing: -.01em; margin: 44px 0 12px; }
.doc-body .doc-h1 { font: 300 34px/1.12 var(--display); letter-spacing: -.02em; margin: 0 0 24px; }
.doc-body p, .doc-body li { color: var(--t2); font-size: 16px; line-height: 1.7; }
.doc-body p + p { margin-top: 14px; }
.doc-body b { font-weight: 400; color: var(--t1); }
.doc-body a { color: var(--t1); text-decoration: underline; text-decoration-color: var(--line2); text-underline-offset: 3px; }
.doc-body a:hover { text-decoration-color: var(--red); }
.doc-body ul { padding-left: 20px; display: grid; gap: 8px; }
.doc-meta { font: 300 13px/1 var(--mono); color: var(--t3) !important; margin-bottom: 28px; }
.doc-alt { margin-top: 72px; padding-top: 48px; border-top: 1px solid var(--line); }
.nf { min-height: 60vh; display: flex; align-items: center; }
.nf h1 { margin: 24px 0 20px; }
.nf .lead { margin-bottom: 36px; }

@media (max-width: 900px) {
  .docwrap { padding: 64px 0 88px; }
  .doc-body h1 { font-size: 40px; margin-bottom: 28px; }
  .doc-body .doc-h1 { font-size: 28px; }
  .doc-body p, .doc-body li { font-size: 15px; }
  .top .right .btn.sm { padding: 0 12px; }
}
@media (prefers-reduced-motion: reduce) { .top .sheet { transition: none; } html { scroll-behavior: auto; } }
