/* ScoreBox product site. Tokens mirror app/src/theme.ts and
   design/simple/STYLE-GUIDE.md in the app repo. The chrome is deliberately
   neutral: cream is the paint, red is live-only, and teams provide all other
   color through the focused-game wash. */

/* ------------------------------ fonts ------------------------------ */
@font-face {
  font-family: 'Archivo';
  src: url('fonts/Archivo-var.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: 'Libre Franklin';
  src: url('fonts/LibreFranklin-Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Libre Franklin';
  src: url('fonts/LibreFranklin-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-display: swap;
}

/* ------------------------------ tokens ----------------------------- */
:root {
  --bg0: #08090a;
  --bg1: #0b0d12;
  --bg2: #0e1116;
  --bg3: #141820;
  --bg4: #1b2029;
  --ink0: #f2ead3;
  --ink1: #f2ead3;
  --ink2: rgba(242, 234, 211, 0.68);
  --ink3: rgba(242, 234, 211, 0.52);
  --dim: #9a9a92;
  --line1: rgba(242, 234, 211, 0.1);
  --line2: rgba(255, 255, 255, 0.08);
  --line3: rgba(242, 234, 211, 0.38);
  --cream: #f2ead3;
  --cream-ink: #0b0d12;
  --live: #e03a2f;
  --live-halo: rgba(224, 58, 47, 0.22);
  --live-bg: rgba(224, 58, 47, 0.1);
  --live-border: rgba(224, 58, 47, 0.45);
  --card-grad: radial-gradient(900px 400px at 50% -12%, rgba(242, 240, 232, 0.11), transparent 66%), #0e1116;
  --card-border: rgba(255, 255, 255, 0.08);
  --card-border-focus: rgba(242, 234, 211, 0.72);
  --display: 'Archivo', system-ui, sans-serif;
  --body: 'Libre Franklin', system-ui, sans-serif;
  --mono: 'Archivo', system-ui, sans-serif;
  --wash-away: transparent;
  --wash-home: transparent;
  --stadium-light: rgba(242, 240, 232, 0.09);
  --game-away: rgba(31, 74, 158, 0.22);
  --game-home: rgba(4, 106, 56, 0.16);
  --field-texture: url('img/soccer.png');
}
body[data-ambient='game'] {
  --wash-away: var(--game-away);
  --wash-home: var(--game-home);
  --stadium-light: rgba(242, 240, 232, 0.025);
  --field-opacity: 0.022;
}
body[data-ambient='stadium'] {
  --wash-away: transparent;
  --wash-home: transparent;
  --stadium-light: rgba(242, 240, 232, 0.09);
  --field-opacity: 0;
}

/* ------------------------------ base ------------------------------- */
* {
  box-sizing: border-box;
}
/* The UA stylesheet gives [hidden] display:none at the lowest priority, so any
   author rule that sets display (.form-grid's grid, say) silently beats it and
   the element stays on screen. That is how the feedback form kept rendering
   after a successful send, which is what got people submitting three times. */
[hidden] {
  display: none !important;
}
html {
  scroll-behavior: smooth;
}
/* Anchor targets stop clear of the fixed nav. */
[id] {
  scroll-margin-top: 88px;
}
/* Section panels carry 130px of their own top padding, which already clears
   the nav — a negative margin tucks that padding under it so the heading
   lands near the top of the viewport instead of a third of the way down. */
section[id] {
  scroll-margin-top: -22px;
}
body {
  margin: 0;
  background: var(--bg0);
  color: var(--ink1);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.ambient {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(980px 610px at 0% -12%, var(--wash-away), transparent 68%),
    radial-gradient(980px 610px at 100% -12%, var(--wash-home), transparent 68%),
    radial-gradient(1500px 620px at 50% -22%, var(--stadium-light), transparent 68%);
  transition: background 1.1s ease;
  pointer-events: none;
}
.field-texture {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: var(--field-texture);
  background-position: center top;
  background-size: cover;
  opacity: var(--field-opacity, 0);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.38) 34%, transparent 70%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.38) 34%, transparent 70%);
  transition: opacity 0.8s ease, background-image 0s linear 0.35s;
  pointer-events: none;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 28px;
}
.container.narrow {
  max-width: 780px;
}
.center {
  text-align: center;
}

h1,
h2,
h3 {
  font-family: var(--display);
  color: var(--ink0);
  line-height: 1.06;
  margin: 0 0 20px;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
h1 {
  font-size: clamp(44px, 5vw, 68px);
  font-weight: 800;
}
.hero-title {
  max-width: 640px;
  font-size: clamp(44px, 4.5vw, 62px);
}
h2 {
  font-size: clamp(34px, 4.4vw, 56px);
  font-weight: 800;
}
h3 {
  font-size: 21px;
  font-weight: 700;
  line-height: 1.25;
}
h1 .dim {
  color: var(--dim);
}
p {
  margin: 0 0 16px;
}
a {
  color: var(--cream);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
:focus-visible {
  outline: 2px solid var(--ink0);
  outline-offset: 3px;
  border-radius: 4px;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--ink3);
  margin: 0 0 18px;
}
.lead {
  font-size: 19px;
  color: var(--ink2);
  max-width: 620px;
}
.lead.narrow {
  max-width: 680px;
}
.aside {
  color: var(--ink3);
  max-width: 640px;
  margin-top: 26px;
}

/* Every section header block is centered so the page stays symmetric at any
   viewport width (the hero keeps its two-column left-aligned layout). Grids
   and card rows below the headers span the container, so they center
   themselves. */
.panel:not(.hero) .container > .eyebrow,
.panel:not(.hero) .container > h2 {
  text-align: center;
}
.panel:not(.hero) .container > .lead,
.panel:not(.hero) .container > .aside {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.fine {
  font-size: 13.5px;
  color: var(--ink3);
  line-height: 1.6;
}
.mono {
  font-family: var(--mono);
}
.quiet-link {
  color: var(--ink2);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.quiet-link:hover {
  color: var(--ink0);
}

/* ------------------------------- nav ------------------------------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 28px;
  background: rgba(5, 6, 9, 0.72);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid var(--line1);
}
.wordmark {
  display: block;
  width: 128px;
  line-height: 0;
}
.wordmark img {
  display: block;
  width: 100%;
  height: auto;
}
.wordmark:hover {
  text-decoration: none;
}

.nav-dots {
  display: flex;
  align-items: center;
}
.nav-dots a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink3);
  font-family: var(--body);
  font-size: 13.5px;
  font-weight: 500;
  padding: 6px 0;
}
.nav-dots a:hover {
  color: var(--ink1);
  text-decoration: none;
}
.nav-dots a + a::before {
  content: '';
  width: 26px;
  height: 1px;
  background: var(--line2);
  margin: 0 10px;
}
.nav-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 1.5px solid var(--ink3);
  transition: all 0.25s ease;
}
.nav-dots a.active {
  color: var(--ink0);
}
.nav-dots a.active i {
  background: var(--cream);
  border-color: var(--cream);
  box-shadow: 0 0 10px rgba(242, 234, 211, 0.3);
}

.btn {
  display: inline-block;
  font-family: var(--display);
  font-weight: 700;
  font-size: 15px;
  color: var(--ink0);
  background: var(--bg3);
  border: 1px solid var(--line2);
  border-radius: 999px;
  padding: 10px 22px;
  white-space: nowrap;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover {
  text-decoration: none;
  background: var(--bg4);
  transform: translateY(-1px);
}
.btn-primary {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--cream-ink);
}
.btn-primary:hover {
  background: #fff8e5;
}

/* ------------------------------ panels ----------------------------- */
.panel {
  padding: 130px 0;
  position: relative;
}
.panel.hero {
  padding: 170px 0 140px;
  /* clamp keeps a huge monitor (or a tall headless capture) from inflating
     the hero into a screenful of empty space */
  min-height: clamp(560px, 92vh, 900px);
  display: flex;
  align-items: center;
}

/* Scroll reveal — only hidden when JS is present (html.js); without JS the
   page renders fully visible. */
.reveal {
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: var(--d, 0ms);
}
.js .reveal:not(.in) {
  opacity: 0;
  transform: translateY(26px);
}

/* ------------------------------- hero ------------------------------ */
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}
.chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 26px 0 30px;
}
.chips li {
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink2);
  border: 1px solid var(--line2);
  border-radius: 999px;
  padding: 7px 14px;
  background: rgba(255, 255, 255, 0.02);
}
.big-chips {
  justify-content: center;
}
.big-chips li {
  font-size: 13.5px;
  padding: 10px 20px;
  color: var(--ink1);
  border-color: var(--line2);
  background: rgba(242, 234, 211, 0.04);
}
.store-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin: 4px 0 18px;
}
.badge {
  display: block;
  height: 48px;
  width: auto;
}
.store-badges a:hover {
  opacity: 0.85;
}
.hero-fine {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink3);
  margin-bottom: 0;
}
.hero-try {
  margin-top: 10px;
  font-size: 13.5px;
}

/* Hero mock: a game card + matched channels, in app design language. The
   carousel (main.js) swaps league/teams/channels and the split-glow colors. */
.hero-mock {
  position: relative;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.55));
}
.mock-callout {
  position: absolute;
  top: -18px;
  right: -6px;
  z-index: 2;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink1);
  background: var(--bg1);
  border: 1px solid var(--line2);
  border-radius: 8px;
  padding: 7px 12px;
}
.mock-callout::before {
  content: '✓ ';
}
.mock-stage {
  transition: opacity 0.28s ease;
}
.mock-stage.switching {
  opacity: 0;
}
.mock-card {
  --glow-l: rgba(31, 74, 158, 0.5);
  --glow-r: rgba(4, 106, 56, 0.45);
  position: relative;
  background:
    radial-gradient(90% 130% at 8% 0%, var(--glow-l), transparent 55%),
    radial-gradient(90% 130% at 92% 0%, var(--glow-r), transparent 55%),
    var(--card-grad);
  border: 1px solid var(--card-border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
  border-radius: 18px;
  padding: 24px 26px 0;
  overflow: hidden;
}
.mock-pills {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.pill {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink2);
  border: 1px solid var(--line2);
  border-radius: 999px;
  padding: 5px 12px;
  white-space: nowrap;
}
.pill-league {
  background: rgba(0, 0, 0, 0.35);
}
.pill-live {
  color: var(--ink1);
  background: var(--live-bg);
  border-color: var(--live-border);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.pill-live .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--live);
  box-shadow: 0 0 8px var(--live-halo);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  50% {
    opacity: 0.35;
  }
}
.pill-matched {
  color: var(--ink1);
  background: rgba(242, 234, 211, 0.04);
  border-color: var(--line2);
}
.mock-teams {
  display: grid;
  gap: 16px;
}
.mock-team {
  display: flex;
  align-items: center;
  gap: 14px;
}
.team-mark {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
/* National teams render as flags (the app's one non-crest case). */
.team-mark.flag {
  width: 44px;
  height: 30px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.team-mark.flag svg {
  display: block;
  width: 100%;
  height: 100%;
}
/* Club teams render their real crest, served from img/teams/ in this repo and
   never hotlinked off ESPN. Same footprint as the lettered fallback below, but
   no disc or border: these marks carry their own shape, and a circle drawn
   around a shield reads like a mistake. `contain` keeps the wide ones (Man
   City, the Cubs roundel) from being cropped. */
.team-mark.badge {
  width: 44px;
  height: 44px;
}
.team-mark.badge img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
/* Fallback for a club team with no logo file: the app's crest look, team
   color + abbreviation. */
.team-mark.crest {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-family: var(--display);
  font-weight: 800;
  font-size: 13px;
  color: var(--ink0);
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.team-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  color: var(--ink0);
  flex: 1;
}
.score {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 30px;
  color: var(--ink0);
}
.mock-foot {
  font-family: var(--mono);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink3);
  border-top: 1px solid var(--line1);
  margin: 22px -26px 0;
  padding: 14px 26px;
}
.mock-channels {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}
.mock-channel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--card-grad);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 13px 18px;
}
.mock-channel .ch-name {
  font-family: var(--mono);
  font-size: 13.5px;
  color: var(--ink1);
}
.mock-channel.is-focused {
  border-color: var(--card-border-focus);
  box-shadow: 0 0 0 2px var(--ink0), 0 14px 30px rgba(0, 0, 0, 0.5);
  transform: scale(1.02);
}
.mock-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}
.mock-dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--line3);
  transition: background 0.3s ease;
}
.mock-dots i.on {
  background: var(--cream);
}
/* Entrance cascade once .in lands on the mock */
.js .hero-mock .mock-channel {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.js .hero-mock.in .mock-channel {
  opacity: 1;
  transform: none;
}
.js .hero-mock.in .mock-channel.is-focused {
  transform: scale(1.02);
}
.js .hero-mock.in .mock-channel:nth-child(1) {
  transition-delay: 0.55s;
}
.js .hero-mock.in .mock-channel:nth-child(2) {
  transition-delay: 0.75s;
}
.js .hero-mock.in .mock-channel:nth-child(3) {
  transition-delay: 0.95s;
}
.js .hero-mock .mock-callout {
  opacity: 0;
  transition: opacity 0.5s ease 1.3s;
}
.js .hero-mock.in .mock-callout {
  opacity: 1;
}
/* Once the carousel starts cycling, channel rows must stay visible without
   the entrance delays. */
.hero-mock.cycling .mock-channel {
  opacity: 1 !important;
  transform: none !important;
  transition-delay: 0s !important;
}
.hero-mock.cycling .mock-channel.is-focused {
  transform: scale(1.02) !important;
}

/* ------------------------------ cards ------------------------------ */
.card {
  background: var(--card-grad);
  border: 1px solid var(--card-border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 10px 28px rgba(0, 0, 0, 0.45);
  border-radius: 18px;
  padding: 28px;
}

/* steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 44px 0 60px;
}
.step-num {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink3);
  display: block;
  margin-bottom: 14px;
}
.step p {
  color: var(--ink2);
  font-size: 15.5px;
  margin: 0;
}

/* match diagram */
.match-diagram {
  display: flex;
  align-items: stretch;
  gap: 0;
  flex-wrap: wrap;
}
.match-node {
  flex: 1;
  min-width: 200px;
  background: var(--card-grad);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 18px 20px;
}
.node-label {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink3);
  margin-bottom: 8px;
}
.node-body {
  font-family: var(--display);
  font-weight: 700;
  font-size: 16.5px;
  color: var(--ink1);
  line-height: 1.35;
}
.node-body.mono {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 14.5px;
}
.node-hit {
  border-color: var(--line3);
}
.node-hit .node-body {
  color: var(--ink1);
}
.match-arrow {
  flex: none;
  width: 42px;
  align-self: center;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--line3) 0 6px, transparent 6px 11px);
  position: relative;
}
.match-arrow::after {
  content: '';
  position: absolute;
  right: 0;
  top: -3.5px;
  border-left: 7px solid var(--line3);
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
}

/* ---------------------------- screenshots -------------------------- */
.shot-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 10px 0 28px;
}
.shot-tabs button {
  font-family: var(--display);
  font-weight: 700;
  font-size: 14px;
  color: var(--ink2);
  background: var(--bg2);
  border: 1px solid var(--line2);
  border-radius: 999px;
  padding: 9px 20px;
  cursor: pointer;
  transition: all 0.18s ease;
}
.shot-tabs button:hover {
  color: var(--ink0);
  background: var(--bg3);
}
.shot-tabs button[aria-pressed='true'] {
  color: var(--cream-ink);
  background: var(--cream);
  border-color: var(--cream);
}
.shot-figure {
  margin: 0;
}
.tv-frame {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line2);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  background: var(--bg0);
}
.tv-frame img {
  display: block;
  width: 100%;
  height: auto;
  transition: opacity 0.25s ease;
}
.tv-frame img.swapping {
  opacity: 0;
}
.shot-caption {
  font-size: 16.5px;
  line-height: 1.55;
  color: var(--ink2);
  text-align: center;
  max-width: 820px;
  margin: 22px auto 0;
  min-height: 1.6em;
}

/* --------------------------- feature grid -------------------------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 44px;
}
.feature p {
  color: var(--ink2);
  font-size: 15.5px;
  margin: 0;
}

/* ----------------------------- coverage ---------------------------- */
.coverage-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 34px;
  border-top: 1px solid var(--line2);
  border-bottom: 1px solid var(--line2);
}
.coverage-stats span {
  flex: 1 1 150px;
  padding: 17px 22px;
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--ink3);
}
.coverage-stats span + span {
  border-left: 1px solid var(--line1);
}
.coverage-stats strong {
  display: block;
  margin-bottom: 2px;
  font-family: var(--display);
  font-size: 25px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink0);
}
.coverage-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 52px;
  align-items: start;
  margin-top: 58px;
}
.coverage-column h3 {
  font-size: 25px;
  margin: 0;
}
.coverage-hint {
  color: var(--ink2);
  font-size: 14.5px;
  margin: 10px 0 19px;
}
.league-groups {
  margin-top: 22px;
  border-top: 1px solid var(--line2);
}
.league-row {
  display: flex;
  gap: 18px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line1);
  align-items: baseline;
}
.sport-label {
  flex: 0 0 112px;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink3);
}
.league-pills {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0;
}
.league-pills li {
  font-family: var(--display);
  font-weight: 700;
  font-size: 12.5px;
  color: var(--ink1);
  background: var(--bg2);
  border: 1px solid var(--line2);
  border-radius: 999px;
  padding: 5px 11px;
}
.network-regions {
  border-top: 1px solid var(--line2);
}
.network-regions h4 {
  margin: 26px 0 7px;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink3);
}
.network-regions details {
  border-bottom: 1px solid var(--line1);
}
.network-regions summary {
  position: relative;
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 12px 24px 12px 0;
  list-style: none;
  cursor: pointer;
  font-family: var(--display);
  font-weight: 700;
  font-size: 14px;
  color: var(--ink1);
}
.network-regions summary::-webkit-details-marker {
  display: none;
}
.network-regions summary::after {
  content: '';
  position: absolute;
  right: 4px;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid var(--ink3);
  border-bottom: 1.5px solid var(--ink3);
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.18s ease;
}
.network-regions details[open] summary::after {
  transform: rotate(225deg) translate(-2px, -2px);
}
.network-regions summary small {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--ink3);
}
.country-code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 25px;
  border: 1px solid var(--line2);
  border-radius: 6px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--ink2);
  background: var(--bg2);
}
.network-pills {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 1px 0 16px 52px;
  margin: 0;
}
.network-pills li {
  padding: 4px 9px;
  border: 1px solid var(--line1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.018);
  color: var(--ink2);
  font-size: 11.5px;
  line-height: 1.35;
}
.coverage-note {
  max-width: 880px;
  margin: 54px 0 0;
  padding: 18px 20px;
  border-left: 2px solid var(--cream);
  background: rgba(242, 234, 211, 0.035);
  color: var(--ink2);
  font-size: 14.5px;
}

/* ------------------------------ pricing ---------------------------- */
.price-row {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  margin-top: 48px;
  /* stretch both columns to equal height so the single price card and the
     two-card free column don't end at different depths */
  align-items: stretch;
}
.price-card {
  padding: 38px;
  display: flex;
  flex-direction: column;
}
/* badges sink to the bottom so the stretched card fills evenly */
.price-card .store-badges {
  margin-top: auto;
}
/* the free column: the TestFlight card soaks up the stretched height, the
   Android no-trial note keeps its natural height below it */
.free-cards {
  grid-template-rows: 1fr auto;
}
.price-big {
  font-family: var(--display);
  font-weight: 800;
  font-size: 74px;
  color: var(--ink0);
  line-height: 1;
}
.price-big .currency {
  font-size: 38px;
  vertical-align: 22px;
  color: var(--ink3);
}
.price-sub {
  font-family: var(--mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink3);
  margin: 10px 0 24px;
}
.price-list {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
}
.price-list li {
  padding: 10px 0 10px 28px;
  border-bottom: 1px solid var(--line1);
  color: var(--ink1);
  position: relative;
}
.price-list li::before {
  content: '✓';
  position: absolute;
  left: 2px;
  color: var(--cream);
  font-weight: 700;
}
.free-cards {
  display: grid;
  gap: 18px;
}
.free-card p {
  color: var(--ink2);
  font-size: 15.5px;
}
.free-card .btn {
  margin: 6px 0 14px;
}
.free-card .fine {
  margin: 0;
}

/* -------------------------------- faq ------------------------------ */
.faq-list {
  margin: 34px auto 0;
  max-width: 860px;
  border-top: 1px solid var(--line2);
}
.faq-list details {
  border-bottom: 1px solid var(--line2);
}
.faq-list summary {
  font-family: var(--display);
  font-weight: 700;
  font-size: 18px;
  color: var(--ink0);
  padding: 22px 40px 22px 4px;
  cursor: pointer;
  list-style: none;
  position: relative;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary::after {
  content: '+';
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--mono);
  font-size: 22px;
  color: var(--cream);
  transition: transform 0.2s ease;
}
.faq-list details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}
.faq-list details p {
  color: var(--ink2);
  padding: 0 4px 24px;
  margin: 0;
  max-width: 700px;
}

/* ----------------------------- feedback ---------------------------- */
.feedback-band {
  padding: 110px 0;
}
.feedback-band .container {
  text-align: center;
}

/* form (feedback.html) */
.form-grid {
  display: grid;
  gap: 16px;
  margin-top: 36px;
}
.form-grid label {
  display: block;
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink3);
  margin-bottom: 8px;
}
.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  font-family: var(--body);
  font-size: 16px;
  color: var(--ink0);
  background: var(--bg2);
  border: 1px solid var(--line2);
  border-radius: 12px;
  padding: 13px 16px;
}
.form-grid input:focus-visible,
.form-grid select:focus-visible,
.form-grid textarea:focus-visible {
  outline: none;
  border-color: var(--cream);
  box-shadow: 0 0 0 2px rgba(242, 234, 211, 0.3);
}
/* Without appearance:none the browser draws its own control chrome over the
   token colors, so the two dropdowns rendered as light native pills on the
   dark page. color-scheme keeps the popup list dark to match. */
.form-grid select {
  appearance: none;
  -webkit-appearance: none;
  color-scheme: dark;
  cursor: pointer;
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.75 6 6.25 11 1.75' fill='none' stroke='%23f2ead3' stroke-opacity='0.6' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 12px 8px;
}
.form-grid select:hover {
  border-color: var(--line3);
}
.form-grid option {
  background: var(--bg2);
  color: var(--ink0);
}
.form-grid textarea {
  min-height: 160px;
  resize: vertical;
}
.form-grid input::placeholder,
.form-grid textarea::placeholder {
  color: var(--ink3);
}
.btn:disabled {
  opacity: 0.55;
  cursor: default;
  transform: none;
}
.form-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-status {
  font-size: 15.5px;
  border-radius: 12px;
  padding: 14px 18px;
  margin: 14px 0 0;
}
/* Takes the form's place on a successful send, so it lands where the reader is
   already looking rather than above the fields they just filled in. */
.form-sent {
  margin-top: 36px;
  padding: 30px 32px;
  border-radius: 16px;
  background: var(--card-grad);
  border: 1px solid var(--card-border-focus);
}
/* It only takes focus so a screen reader lands on it; no ring wanted. */
.form-sent:focus {
  outline: none;
}
.form-sent h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 26px;
  line-height: 1.2;
  margin: 0 0 10px;
}
.form-sent p {
  color: var(--ink2);
  margin: 0;
}
.form-sent .tick {
  display: block;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--cream);
  color: var(--cream-ink);
  font-family: var(--display);
  font-weight: 700;
  font-size: 19px;
  line-height: 34px;
  text-align: center;
  margin-bottom: 16px;
}
.form-status-err {
  color: var(--ink1);
  background: rgba(224, 58, 47, 0.14);
  border: 1px solid var(--live-border);
}

/* ------------------------------ footer ----------------------------- */
.site-footer {
  border-top: 1px solid var(--line1);
  padding: 48px 0 56px;
  background: rgba(5, 6, 9, 0.55);
  text-align: center;
}
.site-footer .fine {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
  margin: 20px 0;
}
.footer-links a {
  color: var(--ink2);
  font-size: 14.5px;
}
.footer-links a:hover {
  color: var(--ink0);
}

/* ---------------------------- responsive --------------------------- */
@media (max-width: 1000px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  .hero-mock {
    max-width: 520px;
  }
  .nav-dots {
    display: none;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .coverage-grid {
    grid-template-columns: 1fr;
    gap: 70px;
  }
  .price-row {
    grid-template-columns: 1fr;
  }
  .match-diagram {
    flex-direction: column;
    gap: 10px;
  }
  .match-arrow {
    width: 1px;
    height: 30px;
    margin: 0 auto;
    background: repeating-linear-gradient(180deg, var(--line3) 0 6px, transparent 6px 11px);
  }
  .match-arrow::after {
    right: -3.5px;
    top: auto;
    bottom: 0;
    border-top: 7px solid var(--line3);
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-bottom: none;
  }
}
@media (max-width: 640px) {
  .panel {
    padding: 90px 0;
  }
  /* Panels have less padding here, so tuck less of it under the nav. */
  section[id] {
    scroll-margin-top: 0;
  }
  .panel.hero {
    padding: 130px 0 90px;
  }
  .nav {
    padding: 12px 16px;
    gap: 12px;
  }
  .nav-cta {
    padding: 9px 14px;
    font-size: 14px;
  }
  .badge {
    height: 42px;
  }
  .form-two {
    grid-template-columns: 1fr;
  }
  .price-card {
    padding: 28px;
  }
  .league-row {
    flex-direction: column;
    gap: 10px;
  }
  .sport-label {
    flex: none;
  }
  .coverage-stats span {
    flex-basis: 50%;
    padding: 14px 12px;
  }
  .coverage-stats span + span {
    border-left: 0;
  }
  .coverage-stats span:nth-child(even) {
    border-left: 1px solid var(--line1);
  }
  .coverage-stats span:nth-child(n + 3) {
    border-top: 1px solid var(--line1);
  }
  .network-pills {
    padding-left: 0;
  }
}

/* ------------------------- reduced motion -------------------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .js .reveal:not(.in),
  .js .hero-mock .mock-channel,
  .js .hero-mock .mock-callout {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .pill-live .dot {
    animation: none;
  }
  .ambient {
    transition: none;
  }
}

/* ------------------------------ print ------------------------------ */
@media print {
  .js .reveal:not(.in),
  .js .hero-mock .mock-channel,
  .js .hero-mock .mock-callout {
    opacity: 1 !important;
    transform: none !important;
  }
  .nav,
  .ambient,
  .field-texture {
    display: none;
  }
}
