@font-face {
  font-family: 'Barlow Condensed';
  src: url('fonts/BarlowCondensed_800ExtraBold.ttf') format('truetype');
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: 'Barlow Condensed';
  src: url('fonts/BarlowCondensed_600SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-display: swap;
}

:root {
  --bg: #f1f3f0;
  --surface: #ffffff;
  --text: #15201c;
  --muted: #5a6662;
  --border: #d9dfda;
  --accent: #1a5747;
  --on-accent: #ffffff;
  --accent-soft: #e1ece7;
  --turf: #0e3a2f;
  --turf-text: #f4f7f2;
  --turf-muted: #9fc2b4;
  --crisis: #b4402c;
  --crisis-soft: #f7e6e1;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0c1512;
    --surface: #16211d;
    --text: #e8edea;
    --muted: #9aa6a1;
    --border: #27332f;
    --accent: #3e9e82;
    --on-accent: #0c1512;
    --accent-soft: #1b332c;
    --turf: #0f2e26;
    --crisis: #f2957f;
    --crisis-soft: #3a221d;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
a { color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--accent); color: var(--on-accent); }

/* The page frame is wide enough for the split hero; prose sits in a readable measure. */
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.measure, .doc { max-width: 680px; }

header.site {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-family: 'Barlow Condensed', system-ui, sans-serif;
  font-weight: 800;
  font-size: 26px;
}
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.help-link {
  background: var(--crisis-soft);
  color: var(--crisis);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  white-space: nowrap;
}

h1, h2, h3 {
  font-family: 'Barlow Condensed', system-ui, sans-serif;
  line-height: 1.1;
  margin: 0;
}
h1 { font-weight: 800; font-size: clamp(44px, 9vw, 72px); }
h2 { font-weight: 800; font-size: 30px; margin-top: 40px; margin-bottom: 8px; }
h3 { font-weight: 600; font-size: 22px; margin-top: 24px; margin-bottom: 4px; }
p { margin: 0 0 14px; }
.muted { color: var(--muted); }

/* Hero: copy left, the real app screen right. Stacks on phones, copy first. */
.hero { display: grid; gap: 32px; padding: 24px 0 40px; align-items: center; }
.hero p.lede { font-size: 20px; margin-top: 14px; max-width: 26em; }
@media (min-width: 900px) {
  .hero { grid-template-columns: 1.2fr 0.8fr; gap: 56px; padding: 48px 0 64px; }
  .hero h1 { font-size: 80px; }
}

.stores { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.store {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  background: var(--accent);
  color: var(--on-accent);
  text-decoration: none;
  font-weight: 600;
  padding: 0 20px;
  border-radius: 12px;
  transition: transform 160ms cubic-bezier(0.16, 1, 0.3, 1);
}
.store:active { transform: translateY(1px); }
.store-secondary { background: transparent; color: var(--accent); box-shadow: inset 0 0 0 1.5px var(--accent); }

.shot { display: block; width: min(320px, 78%); height: auto; margin: 0 auto; border-radius: 28px; }

/* The one bold element: a scoreboard band with the math the sportsbooks don't show. */
.fact {
  display: grid;
  gap: 8px 32px;
  align-items: center;
  background: var(--turf);
  color: var(--turf-text);
  border-radius: 18px;
  padding: 28px 24px;
}
.fact-number {
  font-family: 'Barlow Condensed', system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(64px, 16vw, 112px);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.fact p { margin: 0; color: var(--turf-muted); font-size: 18px; max-width: 30em; }
@media (min-width: 700px) { .fact { grid-template-columns: auto 1fr; padding: 32px 40px; } }

ul.points { list-style: none; padding: 0; margin: 16px 0 20px; display: grid; gap: 4px 40px; }
ul.points li { padding: 14px 0; border-top: 1px solid var(--border); }
ul.points li p { margin: 4px 0 0; color: var(--muted); }
ul.points h3 { margin: 0; font-size: 22px; }

.crisis {
  background: var(--crisis-soft);
  border-radius: 18px;
  padding: 20px 24px;
  margin: 48px 0 16px;
}
.crisis h2 { margin-top: 0; font-size: 26px; }
.crisis p { margin-bottom: 8px; }
.crisis a { color: var(--crisis); font-weight: 600; }

.doc h2 { font-size: 26px; }
.doc .updated { color: var(--muted); margin-top: 8px; }
.note {
  background: var(--accent-soft);
  border-radius: 12px;
  padding: 12px 16px;
  margin: 20px 0;
}

footer.site {
  border-top: 1px solid var(--border);
  margin-top: 48px;
  padding: 20px 0 40px;
  color: var(--muted);
  font-size: 15px;
}
footer.site nav { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 8px; }

.nowrap { white-space: nowrap; }
