@font-face { font-family: "Big Shoulders Display"; src: url(/fonts/BigShouldersDisplay.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Saira"; src: url(/fonts/Saira.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Martian Mono"; src: url(/fonts/MartianMono.woff2) format("woff2"); font-weight: 100 800; font-display: swap; }

:root {
  --ink: #0A121C; --panel: #111B27; --panel2: #16222F; --line: #223246;
  --sand: #F2E6CF; --text: #E9EEF5; --muted: #8FA3B8;
  --net: #FFD23F; --hot: #FF5A3C; --blue: #3F8CFF; --red: #E5484D; --tape: #6FC3FF;
  --display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --body: "Saira", system-ui, sans-serif;
  --mono: "Martian Mono", ui-monospace, monospace;
  --r: 14px; --max: 1180px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--ink); color: var(--text); font: 400 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: -1;
  background: radial-gradient(60vw 50vw at 85% -10%, rgba(63,140,255,.16), transparent 60%), radial-gradient(50vw 40vw at -10% 30%, rgba(255,90,60,.08), transparent 60%); }
a { color: var(--tape); }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 900; text-transform: uppercase; letter-spacing: .01em; line-height: .95; margin: 0; color: var(--sand); }
h1 { font-size: clamp(64px, 10vw, 132px); }
h2 { font-size: clamp(42px, 6vw, 76px); margin-bottom: 28px; }
h3 { font-size: clamp(30px, 3.4vw, 42px); margin-bottom: 14px; }
h4 { font-size: 24px; font-weight: 800; margin-bottom: 8px; }
p { margin: 0 0 14px; }
.hl { color: var(--net); }
.muted { color: var(--muted); }
.fine { color: var(--muted); font-size: 14px; }
.kicker, .eyebrow, .tag, figcaption, .sheet-head, .strip span, .opt { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.kicker { color: var(--net); margin-bottom: 14px; }
.lede { font-size: clamp(18px, 1.6vw, 21px); color: #D5DEEA; max-width: 34em; }

/* nav */
.nav { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 24px; padding: 14px max(16px, calc((100vw - var(--max)) / 2)); background: rgba(10,18,28,.78); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(34,50,70,.6); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--sand); text-decoration: none; font: 900 26px/1 var(--display); letter-spacing: .04em; }
.brand svg { width: 30px; height: 30px; color: var(--sand); }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 15px; }
.nav-links a:hover { color: var(--text); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 24px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--net); color: #14181f; font: 700 16px/1 var(--body); text-decoration: none; transition: transform .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 30px rgba(255,210,63,.25); }
.btn:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 2px solid var(--net); outline-offset: 2px; }
.btn-ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1px var(--muted); }
.btn-small { padding: 10px 16px; font-size: 14px; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* layout */
main > section { width: 100%; max-width: var(--max); margin: 0 auto; padding-left: 16px; padding-right: 16px; }
.section { padding-top: 110px; padding-bottom: 20px; }
.hero { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 40px; }
.eyebrow { color: var(--muted); display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--net); box-shadow: 0 0 0 4px rgba(255,210,63,.18); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(255,210,63,0); } }
.hero h1 { margin-bottom: 26px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 16px; }

.frame { margin: 0; border-radius: var(--r); overflow: hidden; background: var(--panel); border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.frame video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #0b1622; }
figcaption { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding: 12px 16px; color: var(--muted); font-size: 11px; letter-spacing: .05em; border-top: 1px solid var(--line); }
.tag { color: var(--ink); background: var(--net); padding: 3px 8px; border-radius: 4px; font-size: 10px; font-weight: 700; }

/* strip */
.strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; margin: 40px auto 0; padding: 0 !important; width: calc(100% - 32px); max-width: calc(var(--max) - 32px) !important; }
.strip div { background: var(--panel); padding: 26px 22px; display: flex; flex-direction: column; gap: 6px; }
.strip b { font: 900 54px/1 var(--display); color: var(--sand); text-transform: uppercase; }
.strip small { font-size: 22px; color: var(--net); margin-left: 6px; font-weight: 800; }
.strip span { color: var(--muted); font-size: 11px; }

/* how */
.how { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 26px; }
.steps li { display: grid; grid-template-columns: 56px 1fr; gap: 16px; }
.steps .n { font: 900 40px/1 var(--display); color: var(--net); }
.steps h3 { font-size: 30px; margin-bottom: 6px; }
.steps p { color: #C9D3DF; margin: 0; }

/* features */
.feature { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: center; padding: 56px 0; border-top: 1px solid rgba(34,50,70,.6); }
.feature.flip { grid-template-columns: 1.15fr .85fr; }
.feature.flip .feature-copy { order: 2; }
.feature p { color: #C9D3DF; }
.ticks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.ticks li { padding-left: 28px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .55em; width: 14px; height: 8px; border-left: 2px solid var(--net); border-bottom: 2px solid var(--net); transform: rotate(-45deg); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 10px; }
.chips span { font: 600 13px/1 var(--mono); padding: 9px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); color: var(--sand); }
.chips span:first-child { border-color: var(--hot); color: var(--hot); }

.card { background: linear-gradient(180deg, var(--panel2), var(--panel)); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; box-shadow: 0 30px 80px rgba(0,0,0,.4); }
.sheet-head { display: flex; justify-content: space-between; color: var(--sand); font-weight: 700; padding-bottom: 14px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.teams { display: grid; grid-template-columns: 1fr 84px 84px; font: 700 12px/1 var(--mono); padding: 6px 0 10px; }
.teams .blue { grid-column: 2; color: var(--blue); text-align: right; }
.teams .red { color: var(--red); text-align: right; }
.row { display: grid; grid-template-columns: 1fr 84px 84px; align-items: center; padding: 11px 0; border-top: 1px solid rgba(34,50,70,.5); position: relative; font-size: 15px; }
.row em { font: 600 14px/1 var(--mono); font-style: normal; text-align: right; color: var(--sand); }
.row i { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: linear-gradient(90deg, var(--blue) calc(var(--a) * 50%), transparent 0 50%, var(--red) 50% calc(50% + var(--b) * 50%), transparent 0); opacity: .7; }

.cues { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 4px; }
.cues li { display: grid; grid-template-columns: 38px 1fr; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid rgba(34,50,70,.5); }
.cues li:first-child { border-top: 0; }
.g { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; font: 800 18px/1 var(--mono); color: #0b1218; }
.g1 { background: #1F9D55; color: #fff; } .g2 { background: #7BD389; } .g3 { background: #8FA3B8; } .g4 { background: #FFD23F; } .g5 { background: #E5484D; color: #fff; }
.cue-note { margin: 16px 0 0; padding: 14px; border-radius: 10px; background: rgba(63,140,255,.1); border: 1px solid rgba(63,140,255,.35); color: #D5DEEA; font-size: 15px; }
.cue-note b { color: var(--tape); }

.mini-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-top: 40px; border-top: 1px solid rgba(34,50,70,.6); }
.mini { padding: 22px; border-radius: var(--r); background: var(--panel); border: 1px solid var(--line); }
.mini p { color: var(--muted); font-size: 15px; margin: 0; }

/* accuracy */
.accuracy { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: center; }
.acc-num { font: 900 clamp(160px, 22vw, 300px)/.8 var(--display); color: transparent; -webkit-text-stroke: 2px var(--net); text-align: center; }
.acc-num small { font-size: .3em; -webkit-text-stroke: 0; color: var(--net); }
.accuracy p { color: #C9D3DF; max-width: 36em; }

/* who */
.who-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.who-grid div { padding: 28px; border-radius: var(--r); background: var(--panel); border: 1px solid var(--line); }
.who-grid h3 { font-size: 32px; }
.who-grid p { color: #C9D3DF; margin: 0; }

/* form */
.join { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
.form { display: grid; gap: 16px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: grid; gap: 7px; font-size: 14px; color: var(--muted); font-weight: 500; }
.opt { font-size: 10px; font-weight: 400; color: #607387; margin-left: 4px; }
input, select, textarea { width: 100%; font: 400 16px/1.4 var(--body); color: var(--text); background: #0C1520; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) 52%, calc(100% - 13px) 52%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
textarea { resize: vertical; }
input::placeholder, textarea::placeholder { color: #55687c; }
input[aria-invalid="true"], select[aria-invalid="true"] { border-color: var(--red); }
.check { grid-template-columns: 22px 1fr; align-items: start; gap: 12px; color: #C9D3DF; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--net); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.status { margin: 0; min-height: 1.4em; font-size: 15px; }
.status.ok { color: #7BD389; } .status.err { color: #FF8A80; }
.form.done { place-items: center; text-align: center; padding: 48px 24px; }
.form.done h3 { color: var(--net); }

/* faq */
.faq { max-width: 820px !important; }
details { border-top: 1px solid var(--line); padding: 18px 0; }
details:last-child { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font: 800 24px/1.2 var(--display); text-transform: uppercase; color: var(--sand); list-style: none; display: flex; justify-content: space-between; }
summary::after { content: "+"; color: var(--net); font-family: var(--mono); }
details[open] summary::after { content: "−"; }
details p { color: #C9D3DF; margin: 12px 0 0; }

/* footer */
.foot { max-width: var(--max); margin: 110px auto 0; padding: 40px 16px 56px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.foot .myth { color: #C9D3DF; font-style: italic; }
.foot p { margin: 0; font-size: 14px; }

/* plain pages */
.doc { max-width: 760px !important; padding-top: 64px; padding-bottom: 40px; }
.doc h1 { font-size: clamp(48px, 8vw, 84px); margin-bottom: 24px; }
.doc h2 { font-size: 30px; margin: 36px 0 10px; }
.doc p, .doc li { color: #C9D3DF; }

@media (max-width: 960px) {
  .hero, .how, .feature, .accuracy, .join { grid-template-columns: 1fr; gap: 32px; }
  .feature.flip { grid-template-columns: 1fr; }
  .feature.flip .feature-copy { order: 0; }
  .mini-grid { grid-template-columns: 1fr 1fr; }
  .strip { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .nav .btn-small { margin-left: auto; }
  .acc-num { text-align: left; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .section { padding-top: 76px; }
  .hero { padding-top: 40px; }
  .grid2, .who-grid, .mini-grid { grid-template-columns: 1fr; }
  .strip b { font-size: 42px; }
  .strip div { padding: 18px 16px; }
  .card { padding: 18px; }
  .row { grid-template-columns: 1fr 70px 70px; font-size: 14px; }
  .teams { grid-template-columns: 1fr 70px 70px; }
  .row em { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .dot { animation: none; }
  .btn { transition: none; }
}
