/* ── Marketing pages ───────────────────────────────────────────────────────────
 *
 * The static pages Google can actually read. The app itself is a Flutter
 * canvas, which a crawler sees as an empty box, so everything we want indexed
 * — what the product is, which sports it covers, how to get it — lives here as
 * plain HTML at its own URL.
 *
 * Same palette as the app: a near-black ground, one flame-red accent, and
 * nothing else loud.
 * ───────────────────────────────────────────────────────────────────────────── */

:root {
  --bg: #030303;
  --panel: #0d0d0d;
  --card: #131313;
  --line: #1f1f1f;
  --text: #f2f2f2;
  --muted: #a6a6a6;
  --faint: #6e6e6e;
  --flame: #ff2b2b;
  --flame-deep: #b3001b;
  --maxw: 1080px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

/* ── Header ─────────────────────────────────────────────────────────────────── */

header.site {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(3, 3, 3, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

header.site .wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 62px;
  flex-wrap: wrap;
  /* Wider than the reading column: eight nav links plus the button need the
     room, and a header that wraps its own call to action looks broken. */
  max-width: 1200px;
}

.brand {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -.3px;
  text-decoration: none;
  white-space: nowrap;
}
.brand span { color: var(--flame); }

nav.site {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  /* Takes the slack, so the button sits against the right edge. */
  margin-right: auto;
}
nav.site a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}
nav.site a:hover,
nav.site a[aria-current='page'] { color: var(--text); }

.cta {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--flame);
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}
.cta:hover { background: var(--flame-deep); }

.cta.ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}
.cta.ghost:hover { border-color: var(--flame); background: transparent; }

/* ── Sections ───────────────────────────────────────────────────────────────── */

main { display: block; }

section { padding: 56px 0; border-bottom: 1px solid var(--line); }
section:last-of-type { border-bottom: 0; }

.hero { padding: 72px 0 56px; }

h1 {
  font-size: clamp(30px, 5vw, 46px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -1px;
  text-wrap: balance;
  margin-bottom: 16px;
}

h2 {
  font-size: clamp(21px, 3vw, 27px);
  font-weight: 700;
  letter-spacing: -.5px;
  margin-bottom: 14px;
  text-wrap: balance;
}

h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }

p { color: var(--muted); max-width: 66ch; }
p + p { margin-top: 12px; }

.lead { font-size: 17px; color: var(--text); opacity: .86; }

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--flame);
  margin-bottom: 12px;
}

.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }

/* ── Cards ──────────────────────────────────────────────────────────────────── */

.grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-top: 26px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
}
.card p { font-size: 14px; }

a.card { text-decoration: none; display: block; }
a.card:hover { border-color: var(--flame); }

.card .emoji { font-size: 22px; display: block; margin-bottom: 10px; }

ul.plain { list-style: none; margin-top: 18px; }
ul.plain li {
  color: var(--muted);
  padding: 9px 0 9px 24px;
  position: relative;
  border-bottom: 1px solid var(--line);
  max-width: 66ch;
}
ul.plain li:last-child { border-bottom: 0; }
ul.plain li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 19px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--flame);
}
ul.plain li strong { color: var(--text); font-weight: 650; }

dl.faq { margin-top: 22px; }
dl.faq dt { font-weight: 700; margin-top: 20px; }
dl.faq dd { color: var(--muted); margin-top: 6px; max-width: 66ch; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.tags a {
  display: inline-block;
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  color: var(--muted);
  font-size: 13.5px;
  text-decoration: none;
}
.tags a:hover { color: var(--text); border-color: var(--flame); }

/* ── Footer ─────────────────────────────────────────────────────────────────── */

footer.site {
  border-top: 1px solid var(--line);
  padding: 40px 0 56px;
  background: var(--panel);
}

footer.site .cols {
  display: grid;
  gap: 26px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

footer.site h4 {
  font-size: 12px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 12px;
}

footer.site a {
  display: block;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  padding: 5px 0;
}
footer.site a:hover { color: var(--text); }

.legal {
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 13px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
