/* Layout: match-day program. Navy band carries the page's thesis, then readable sections (prose ~65ch) and full-width grids/tables. */
:root {
  --bg: #f3f5fa;
  --surface: #ffffff;
  --ink: #121a2e;
  --muted: #586381;
  --line: #dce1ec;
  --band: #23417f;
  --band-deep: #1a3266;
  --on-band: #ffffff;
  --on-band-muted: #c3cfea;
  --red: #d10a1a;
  --red-ink: #b00816;
  --tan: #c9996e;
  --track: #e4e8f1;
  --good: #1c7f47;
  --good-bg: #e2f3e9;
  --warn-bg: #fdf3e6;
  --warn-line: #e8b878;
  --chip-bg: #eef1f8;
  --display: "Big Shoulders Display", "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --body: "Barlow", "Segoe UI", system-ui, sans-serif;
  --label: "Barlow Condensed", "Arial Narrow", "Segoe UI", sans-serif;
}
:root[data-theme="dark"] {
  --bg: #0b1222; --surface: #131c33; --ink: #edf0f7; --muted: #9aa5c0; --line: #26314d;
  --band: #172c58; --band-deep: #10203f; --on-band: #ffffff; --on-band-muted: #a9b8dc;
  --red: #ff4b55; --red-ink: #ff6b73; --tan: #d8ad85; --track: #222d48; --good: #5fd391; --good-bg: #133524;
  --warn-bg: #2a2114; --warn-line: #7a5a2c; --chip-bg: #1b2541;
  color-scheme: dark;
}

* { box-sizing: border-box; }
body { background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.55; margin: 0; }
a { color: var(--red-ink); text-underline-offset: 2px; }
.wrap { max-width: 1000px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }

.demo { background: var(--tan); color: #1d1406; font-family: var(--label); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; font-size: 13px; text-align: center; padding-block: 6px; }

/* Top bar */
.topbar { background: var(--band-deep); color: var(--on-band); }
.topbar .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; padding-block: 10px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--on-band); text-decoration: none; font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 20px; letter-spacing: .02em; }
.brand img { width: 30px; height: auto; }
.nav { display: flex; flex-wrap: wrap; gap: 2px 4px; margin-left: auto; }
.nav a { color: var(--on-band-muted); text-decoration: none; font-family: var(--label); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: 15px; padding: 6px 10px; border-radius: 4px; }
.nav a:hover { color: var(--on-band); background: rgba(255,255,255,.08); }
.nav a[aria-current="page"] { color: var(--on-band); background: rgba(255,255,255,.14); }

/* Hero band */
.band { background: linear-gradient(180deg, var(--band) 0%, var(--band-deep) 100%); color: var(--on-band); position: relative; overflow: hidden; }
.band::after { content: ""; position: absolute; inset: 0 0 0 auto; width: 38%; background: repeating-linear-gradient(90deg, transparent 0 46px, rgba(255,255,255,.035) 46px 92px); pointer-events: none; }
.band .wrap { position: relative; z-index: 1; padding-block: 32px 30px; display: grid; gap: 14px; }
.eyebrow { font-family: var(--label); font-weight: 600; text-transform: uppercase; letter-spacing: .14em; font-size: 13px; color: var(--on-band-muted); margin: 0; }
.band h1 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(34px, 7vw, 58px); line-height: .95; margin: 0; text-wrap: balance; max-width: 18ch; }
.band .lede { margin: 0; color: var(--on-band-muted); font-size: 19px; max-width: 58ch; }
.band .lede b { color: var(--on-band); font-weight: 600; }

/* Goal strip under hero */
.strip { background: var(--surface); border-bottom: 1px solid var(--line); }
.strip .wrap { padding-block: 14px; display: grid; grid-template-columns: auto 1fr auto; gap: 8px 18px; align-items: center; }
.strip .lbl { font-family: var(--label); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: 14px; color: var(--muted); white-space: nowrap; }
.strip .lbl b { color: var(--ink); }
.strip .nums { font-family: var(--label); font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.strip a { font-family: var(--label); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: 14px; white-space: nowrap; }
@media (max-width: 640px) { .strip .wrap { grid-template-columns: 1fr auto; } .strip .bar { grid-column: 1 / -1; grid-row: 2; } }

/* Sections */
main.wrap { padding-block: 36px 56px; display: grid; gap: 48px; }
main.wrap > * { min-width: 0; }
section > h2, .h2 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(26px, 4vw, 32px); line-height: 1; margin: 0 0 14px; letter-spacing: .01em; text-wrap: balance; }
h3 { font-family: var(--label); font-weight: 700; font-size: 20px; margin: 0 0 6px; letter-spacing: .01em; }
.prose { max-width: 66ch; }
.prose p { margin: 0 0 12px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }

/* Code + CTA box */
.joinbox { background: var(--surface); border: 2px solid var(--band); border-radius: 8px; padding: 20px; display: grid; grid-template-columns: 1fr auto; gap: 14px 24px; align-items: center; }
.joinbox p { margin: 4px 0 0; color: var(--muted); }
.code-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.code { font-family: var(--display); font-weight: 900; font-size: 32px; letter-spacing: .12em; background: var(--chip-bg); border: 1px dashed var(--muted); padding: 2px 14px; border-radius: 4px; user-select: all; }
.btn { font: 700 15px/1 var(--label); text-transform: uppercase; letter-spacing: .06em; border-radius: 4px; padding: 12px 16px; cursor: pointer; text-decoration: none; display: inline-block; border: 1px solid transparent; }
.btn-primary { background: var(--red); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
@media (max-width: 700px) { .joinbox { grid-template-columns: 1fr; } }

/* Steps: real sequences only */
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: 14px; max-width: 70ch; }
.steps > li { counter-increment: s; display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: start; }
.steps > li::before { content: counter(s); font-family: var(--display); font-weight: 900; font-size: 26px; line-height: 1; color: var(--on-band); background: var(--band); border-radius: 4px; height: 40px; display: grid; place-items: center; }
.steps > li > div { min-width: 0; padding-top: 2px; }
.steps p { margin: 2px 0 0; }

/* Option cards (two ways to order etc.) */
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.opt { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 20px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.opt .tag { font-family: var(--label); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: 13px; color: var(--red-ink); }
.opt ul, .opt ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
@media (max-width: 760px) { .duo { grid-template-columns: 1fr; } }

/* Audience cards on hub */
.aud { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.aud a { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 18px; text-decoration: none; color: var(--ink); display: grid; gap: 6px; align-content: start; min-width: 0; transition: border-color .15s, transform .15s; }
.aud a:hover { border-color: var(--red); transform: translateY(-2px); }
.aud .who { font-family: var(--label); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: 13px; color: var(--muted); }
.aud .title { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 24px; line-height: 1; }
.aud p { margin: 0; color: var(--muted); font-size: 15px; }
.aud .go { font-family: var(--label); font-weight: 700; color: var(--red-ink); text-transform: uppercase; letter-spacing: .06em; font-size: 14px; margin-top: 4px; }
@media (max-width: 900px) { .aud { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .aud { grid-template-columns: 1fr; } }

/* Tables */
.table-box { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
th { font-family: var(--label); text-transform: uppercase; letter-spacing: .1em; font-size: 12px; color: var(--muted); font-weight: 700; text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); background: var(--chip-bg); }
td { padding: 11px 14px; border-bottom: 1px solid var(--line); font-size: 16px; vertical-align: top; }
tr:last-child td { border-bottom: 0; }
th.n, td.n { text-align: right; white-space: nowrap; }
td.when { font-weight: 600; white-space: nowrap; }
tr.past td { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--line); }

/* Callouts */
.callout { border: 1px solid var(--warn-line); background: var(--warn-bg); border-radius: 6px; padding: 16px 18px; max-width: 74ch; }
.callout h3 { margin-bottom: 4px; }
.callout ul { margin: 6px 0 0; padding-left: 20px; display: grid; gap: 4px; }
.note { border-left: 3px solid var(--band); padding: 2px 0 2px 14px; max-width: 70ch; color: var(--muted); }

/* Copyable scripts */
.scripts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.script { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 16px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.script .tag { font-family: var(--label); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: 13px; color: var(--muted); }
.script blockquote { margin: 0; font-size: 16px; white-space: pre-line; }
.script .btn { justify-self: start; padding: 9px 12px; font-size: 14px; }
@media (max-width: 760px) { .scripts { grid-template-columns: 1fr; } }

/* Prize list */
.prizes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.prize-card { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 16px 18px; display: grid; gap: 4px; min-width: 0; }
.prize-card .k { font-family: var(--label); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: 13px; color: var(--red-ink); }
.prize-card .v { font-family: var(--display); font-weight: 800; font-size: 22px; text-transform: uppercase; line-height: 1.05; }
.prize-card p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 640px) { .prizes { grid-template-columns: 1fr; } }

/* FAQ */
details { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 12px 16px; max-width: 74ch; }
details + details { margin-top: 8px; }
summary { cursor: pointer; font-weight: 600; }
details p { margin: 8px 0 0; color: var(--muted); }

/* Progress bars (shared) */
.bar { height: 12px; background: var(--track); border-radius: 99px; overflow: hidden; }
.bar > span { display: block; height: 100%; background: var(--red); border-radius: 99px; transition: width .9s cubic-bezier(.2,.7,.2,1); }

/* ===== Board page ===== */
.score { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 36px; border-top: 1px solid rgba(255,255,255,.18); padding-top: 18px; }
.score-main .num { font-family: var(--display); font-weight: 900; font-size: clamp(56px, 13vw, 100px); line-height: .85; font-variant-numeric: tabular-nums; }
.score .lbl { font-family: var(--label); text-transform: uppercase; letter-spacing: .12em; font-size: 13px; color: var(--on-band-muted); font-weight: 600; }
.score-side { display: flex; gap: 28px; flex-wrap: wrap; padding-bottom: 6px; }
.score-side .num { font-family: var(--display); font-weight: 800; font-size: 36px; line-height: 1; font-variant-numeric: tabular-nums; }
.clock { margin-left: auto; align-self: center; background: var(--red); color: #fff; font-family: var(--label); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: 8px 14px; border-radius: 4px; font-size: 15px; }
@media (max-width: 760px) { .clock { margin-left: 0; } }

.sec-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; margin-bottom: 14px; }
.sec-head h2 { margin: 0; }
.sec-head p { margin: 0; color: var(--muted); font-size: 15px; max-width: 60ch; }
.goals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; }
.goal { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 18px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.goal[data-state="active"] { border-color: var(--red); box-shadow: 0 0 0 1px var(--red) inset; }
.goal-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.stage { font-family: var(--label); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: 13px; color: var(--muted); }
.pill { font-family: var(--label); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: 12px; padding: 3px 9px; border-radius: 99px; background: var(--chip-bg); color: var(--muted); white-space: nowrap; }
.pill.funded { background: var(--good-bg); color: var(--good); }
.pill.active { background: var(--red); color: #fff; }
.goal h3 { font-family: var(--display); font-weight: 800; font-size: 24px; text-transform: uppercase; line-height: 1; margin: 0; }
.goal .detail { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.4; }
.goal[data-state="funded"] .bar > span { background: var(--good); }
.goal-nums { display: flex; justify-content: space-between; font-family: var(--label); font-weight: 600; font-size: 15px; font-variant-numeric: tabular-nums; }
.goal-nums span { color: var(--muted); }
.pips { display: grid; grid-template-columns: repeat(10, 1fr); gap: 4px; }
.pip { aspect-ratio: 1 / 1.35; max-width: 100%; border-radius: 3px; background: var(--track); position: relative; }
.pip.on { background: var(--good); }
.pips-lbl { font-family: var(--label); font-size: 14px; color: var(--muted); font-weight: 600; }
@media (max-width: 760px) { .goals { grid-template-columns: 1fr; } }

.tabs { display: inline-flex; background: var(--chip-bg); border-radius: 6px; padding: 4px; gap: 4px; flex-wrap: wrap; }
.tabs button { font: 700 15px/1 var(--label); text-transform: uppercase; letter-spacing: .06em; border: 0; background: transparent; color: var(--muted); padding: 10px 14px; border-radius: 4px; cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.12); }
.prize-line { margin: 14px 0 12px; font-size: 15px; display: flex; gap: 10px; align-items: baseline; }
.prize-line b { font-family: var(--label); text-transform: uppercase; letter-spacing: .08em; font-size: 13px; color: var(--red-ink); white-space: nowrap; }
.league table { min-width: 460px; }
td.pos { font-family: var(--display); font-weight: 800; font-size: 22px; width: 56px; color: var(--muted); }
tr.top td.pos { color: var(--red-ink); }
tr.top td.name { font-weight: 600; }
td.sort { font-weight: 700; }
td.team { color: var(--muted); font-family: var(--label); font-weight: 600; font-size: 15px; }
.empty { padding: 24px; color: var(--muted); text-align: center; }

footer.site { border-top: 1px solid var(--line); }
footer.site .wrap { padding-block: 22px 32px; color: var(--muted); font-size: 14px; display: grid; gap: 6px; }
footer.site p { margin: 0; max-width: 80ch; }

@media (prefers-reduced-motion: reduce) { .bar > span { transition: none; } .aud a { transition: none; } }

/* ===== Sign-up help: screenshot slots ===== */
.walk { display: grid; gap: 28px; }
.walk-step { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 20px; align-items: start; }
.walk-step .txt { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: start; min-width: 0; }
.walk-step .num { font-family: var(--display); font-weight: 900; font-size: 26px; line-height: 1; color: var(--on-band); background: var(--band); border-radius: 4px; height: 40px; display: grid; place-items: center; }
.walk-step p { margin: 4px 0 0; }
.walk-step ul { margin: 6px 0 0; padding-left: 20px; display: grid; gap: 4px; }
figure.shot { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; min-width: 0; }
figure.shot img, figure.shot video { display: block; width: 100%; height: auto; }
.opt p { margin: 0; }
figure.shot figcaption { font-size: 13px; color: var(--muted); padding: 8px 12px; border-top: 1px solid var(--line); }
figure.shot .ph { display: none; aspect-ratio: 16 / 10; max-width: 100%; place-items: center; text-align: center; padding: 16px; color: var(--muted); font-family: var(--label); font-weight: 600; letter-spacing: .04em; background: repeating-linear-gradient(135deg, var(--chip-bg) 0 14px, var(--surface) 14px 28px); }
figure.shot.missing img, figure.shot.missing video { display: none; }
figure.shot.missing .ph { display: grid; }
.part { font-family: var(--label); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: 14px; color: var(--red-ink); margin: 0 0 4px; }
@media (max-width: 760px) { .walk-step { grid-template-columns: 1fr; } }

/* ===== Updates timeline ===== */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; max-width: 760px; }
.timeline li { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.timeline li:first-child { border-top: 0; }
.timeline time { font-family: var(--label); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: 14px; color: var(--muted); padding-top: 2px; }
.timeline h3 { margin: 0 0 4px; }
.timeline p { margin: 0; }
.timeline img, .timeline video { margin-top: 10px; border-radius: 6px; max-width: 100%; display: block; }
@media (max-width: 520px) { .timeline li { grid-template-columns: 1fr; gap: 4px; } }

/* ===== Thank-you wall ===== */
.wall { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; }
.wall li { background: var(--surface); border: 1px solid var(--line); border-radius: 4px; padding: 10px 14px; font-weight: 500; min-width: 0; }
.wall.biz li { border-left: 3px solid var(--red); }
.wall li.empty-li { grid-column: 1 / -1; color: var(--muted); font-weight: 400; border-style: dashed; }

/* ===== Coordinator guide ===== */
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; max-width: 74ch; }
.checklist li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; }
.checklist li::before { content: ""; width: 16px; height: 16px; border: 2px solid var(--muted); border-radius: 3px; margin-top: 4px; }
.log td { height: 34px; }
.badge-private { display: inline-block; background: var(--tan); color: #1d1406; font-family: var(--label); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: 12px; padding: 3px 8px; border-radius: 3px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 4px 16px; }
@media print {
  .topbar, .strip, .demo, footer.site, .noprint { display: none !important; }
  body { background: #fff; color: #000; font-size: 12pt; }
  .band { background: none !important; color: #000; }
  .band h1, .band .lede, .band .eyebrow { color: #000; }
  main.wrap { padding: 0; gap: 18px; }
  .table-box, details, .callout { break-inside: avoid; }
}

/* Footer social + share */
.social { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.social .lbl { font-family: var(--label); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: 13px; color: var(--muted); }
.social .lbl + .ico { margin-left: -2px; }
.social .lbl:not(:first-child) { margin-left: 10px; }
.ico { width: 36px; height: 36px; display: inline-grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; padding: 0; }
.ico svg { width: 18px; height: 18px; }
.ico:hover, .ico.copied { border-color: var(--red); color: var(--red-ink); }
#updates-form iframe, #video-embed iframe { width: 100%; max-width: 100%; border: 0; }
#video-embed iframe { aspect-ratio: 16 / 9; height: auto; display: block; }
figure.embed-slot.missing #video-embed { display: none; }

.prizes.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 760px) { .prizes.three { grid-template-columns: 1fr; } }
.share-row { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.share-row .ico { font: 700 13px/1 var(--label); letter-spacing: .03em; text-transform: uppercase; text-decoration: none; width: auto; height: 34px; padding: 0 12px; border-radius: 17px; }
.share-row .btn { padding: 9px 12px; font-size: 13px; }

/* Join bar inside every hero: always above the fold */
.herojoin { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin-top: 6px; padding: 14px 16px; border-radius: 8px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); }
.hj-txt { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.hj-lbl { font-family: var(--label); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: 13px; color: var(--on-band-muted); }
.hj-code { font-family: var(--display); font-weight: 900; font-size: 30px; line-height: 1; letter-spacing: .12em; color: var(--on-band); user-select: all; }
.hj-act { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.btn-onband { background: transparent; color: var(--on-band); border-color: rgba(255,255,255,.55); }
.hj-help { color: var(--on-band); font-family: var(--label); font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: .06em; }
.band .wrap { padding-block: 26px 22px; gap: 12px; }
.band h1 { font-size: clamp(30px, 6vw, 54px); }
.band .lede { font-size: 18px; }
@media (max-width: 520px) {
  .band .wrap { padding-block: 18px 16px; gap: 10px; }
  .band h1 { font-size: 30px; }
  .band .lede { font-size: 16px; }
  .herojoin { padding: 12px; }
  .hj-code { font-size: 26px; }
}

/* Theme toggle */
.theme-toggle { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: transparent; color: var(--on-band); display: inline-grid; place-items: center; cursor: pointer; padding: 0; flex: none; }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .i-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .i-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .i-moon { display: none; }

/* Phone: one-row scrolling menu, toggle beside the brand, join bar right under the headline */
.theme-toggle { margin-left: 4px; }
@media (max-width: 760px) {
  .topbar .wrap { gap: 6px 12px; padding-block: 8px 6px; }
  .brand { font-size: 18px; }
  .theme-toggle { order: 1; margin-left: auto; width: 32px; height: 32px; }
  .nav { order: 2; width: 100%; margin-left: 0; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { white-space: nowrap; padding: 6px 9px; font-size: 14px; }
  .band .lede, .band .score { order: 3; }
  .herojoin { order: 2; }
  .demo { font-size: 12px; padding-block: 4px; }
}

/* ===== Player landing page (go.html) ===== */
.lp-hero { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px 24px; align-items: center; }
.lp-photo { margin: 0; width: 132px; height: 132px; border-radius: 50%; overflow: hidden; border: 3px solid rgba(255,255,255,.7); background: rgba(255,255,255,.08); position: relative; flex: none; }
.lp-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lp-photo .ph { display: none; position: absolute; inset: 0; place-items: center; text-align: center; color: var(--on-band-muted); font-family: var(--label); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: 13px; line-height: 1.2; }
.lp-photo.missing img { display: none; }
.lp-photo.missing .ph { display: grid; }
.lp-copy { display: grid; gap: 10px; min-width: 0; }
.lp-main { max-width: 760px; }
.lp-cta { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 22px; display: grid; gap: 22px; }
.lp-cta h2 { margin: 0; }
.lp-step { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; }
.lp-n { font-family: var(--display); font-weight: 900; font-size: 26px; line-height: 1; color: var(--on-band); background: var(--band); border-radius: 4px; height: 40px; display: grid; place-items: center; }
.lp-body { min-width: 0; display: grid; gap: 6px; align-content: start; }
.lp-body p { margin: 0; }
.lp-form iframe { width: 100%; min-height: 420px; border: 0; display: block; }
.lp-form-ph { border: 2px dashed var(--line); border-radius: 6px; padding: 28px 18px; text-align: center; color: var(--muted); font-family: var(--label); font-weight: 600; background: repeating-linear-gradient(135deg, var(--chip-bg) 0 14px, var(--surface) 14px 28px); }
.lp-btn { font-size: 17px; padding: 14px 20px; }
@media (max-width: 520px) { .lp-hero { grid-template-columns: 1fr; justify-items: start; } .lp-photo { width: 104px; height: 104px; } .lp-cta { padding: 16px; } }
