/* ============================================================
   BBMI Sports — Redesign system
   "The analyst's ledger" — warm paper, ink, editorial serif
   headlines, monospace numerals, per-league accent colors.
   ============================================================ */

:root {
  /* Surfaces */
  --paper: #f3f1ea;
  --surface: #ebe8df;
  --card: #fffefa;
  --ink: #1d1b16;
  --ink-2: #57534a;
  --ink-3: #8c877c;
  --line: rgba(29, 27, 22, 0.14);
  --line-soft: rgba(29, 27, 22, 0.08);

  /* Brand accent */
  --accent: oklch(0.46 0.15 262);
  --accent-ink: oklch(0.38 0.14 262);
  --accent-soft: oklch(0.46 0.15 262 / 0.09);

  /* Panel (table headers, scoreboards) — deep navy */
  --panel: oklch(0.3 0.055 255);
  --panel-fg: #f3f1ea;

  /* League accents — one lightness/chroma family */
  --mlb: oklch(0.46 0.09 158);
  --ncaa-bsb: oklch(0.5 0.08 200);
  --ncaa-fb: oklch(0.46 0.03 270);
  --ncaa-bb: oklch(0.46 0.12 262);
  --nfl: oklch(0.4 0.09 258);
  --wiaa: oklch(0.46 0.09 25);

  /* Semantic */
  --win: oklch(0.52 0.12 152);
  --loss: oklch(0.52 0.16 27);
  --hot: oklch(0.55 0.17 45);
  --cold: oklch(0.55 0.1 235);

  /* Type */
  --serif: "Source Serif 4", Georgia, serif;
  --sans: "Instrument Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --radius: 10px;
  --maxw: 1140px;
}

/* Accent derivatives follow body-level --accent overrides (Tweaks) */
body {
  --accent-ink: color-mix(in oklch, var(--accent), black 18%);
  --accent-soft: color-mix(in srgb, var(--accent) 9%, transparent);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Typography ---------- */
.display {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(38px, 5.2vw, 58px);
  line-height: 1.06;
  letter-spacing: -0.015em;
  margin: 0;
  text-wrap: balance;
}
.display em {
  font-style: italic;
  color: var(--accent-ink);
}

h2.section-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(26px, 3vw, 32px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0;
}

h3 { font-size: 19px; font-weight: 600; line-height: 1.3; margin: 0; }

.lede {
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-2);
  text-wrap: pretty;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.mono { font-family: var(--mono); }
.muted { color: var(--ink-3); }
.small { font-size: 14px; }

/* De-emphasized %-sign inside large stat numerals */
.pct { font-size: 0.6em; font-weight: 500; opacity: 0.7; margin-left: 1px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  padding: 11px 22px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.btn-primary { background: var(--panel); color: var(--panel-fg); }
.btn-primary:hover { background: color-mix(in oklch, var(--panel), black 22%); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-ink); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink-2); }
.btn-sm { font-size: 13.5px; padding: 7px 14px; border-radius: 7px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav-row1 {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 58px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}
.logo {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
  flex-shrink: 0;
}
.logo .tm { color: var(--accent-ink); font-style: italic; }

.league-rail {
  display: flex;
  gap: 4px;
  flex: 1;
  overflow-x: auto;
  scrollbar-width: none;
}
.league-rail::-webkit-scrollbar { display: none; }

.league-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-2);
  border: 1px solid transparent;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.15s;
}
.league-pill .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lg, var(--ink-3));
  flex-shrink: 0;
}
.league-pill:hover { color: var(--ink); border-color: var(--line); }
.league-pill.on {
  color: var(--lg, var(--ink));
  background: color-mix(in srgb, var(--lg, var(--ink)) 9%, transparent);
  border-color: color-mix(in srgb, var(--lg, var(--ink)) 28%, transparent);
  font-weight: 600;
}

.nav-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; margin-left: auto; }
.nav-link { font-size: 14px; font-weight: 500; color: var(--ink-2); padding: 7px 10px; border-radius: 7px; }
.nav-link:hover { color: var(--ink); background: var(--line-soft); }

.nav-row2 { background: var(--surface); border-top: 1px solid var(--line-soft); }
.nav-tabs {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 44px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  overflow-x: auto;
  scrollbar-width: none;
}
.nav-tabs::-webkit-scrollbar { display: none; }
.tab {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 13px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-3);
  white-space: nowrap;
  transition: all 0.15s;
}
.tab:hover { color: var(--ink); background: rgba(29, 27, 22, 0.05); }
.tab.on { color: var(--ink); background: rgba(29, 27, 22, 0.08); font-weight: 600; }
.tab-spacer { flex: 1; }

/* ---------- Chips & badges ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--ink-2);
  background: var(--card);
}
.chip .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--win); }

.badge {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 3px 10px;
  border-radius: 5px;
}
.badge-free { background: color-mix(in srgb, var(--win) 13%, transparent); color: var(--win); }
.badge-premium {
  background: oklch(0.44 0.08 78);
  color: #faf6ea;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  border-radius: 4px;
  padding: 4px 10px;
  box-shadow: inset 0 0 0 1px rgba(250, 246, 234, 0.25);
}
.badge-premium::before {
  content: "\25C6";
  font-size: 8px;
  margin-right: 6px;
  opacity: 0.85;
}
.unlock-btn {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  padding: 3px 11px;
  border-radius: 999px;
  transition: background 0.15s;
}
.unlock-btn:hover { background: color-mix(in oklch, var(--accent), black 18%); }

/* ---------- Cards ---------- */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.stat-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 3px solid var(--lg, var(--ink));
  border-radius: var(--radius);
  padding: 20px 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: box-shadow 0.15s, transform 0.15s;
}
a.stat-card:hover { box-shadow: 0 6px 20px rgba(29, 27, 22, 0.09); transform: translateY(-1px); }

.stat-league {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.stat-value {
  font-family: var(--mono);
  font-size: 38px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--lg, var(--ink));
  margin-top: 6px;
}
.stat-value.is-text { font-family: var(--serif); font-style: italic; font-size: 26px; font-weight: 600; margin-top: 12px; margin-bottom: 5px; }
.stat-metric { font-size: 14.5px; font-weight: 600; color: var(--ink); margin-top: 2px; }
.stat-sub { font-size: 13px; color: var(--ink-3); line-height: 1.45; }

.stat-bar-row {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
}
.stat-bar-labels {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 12px;
  margin-bottom: 6px;
  color: var(--ink-3);
}
.stat-bar-labels strong { color: var(--lg, var(--ink)); font-weight: 600; }
.stat-bar {
  height: 6px;
  border-radius: 3px;
  background: var(--surface);
  overflow: hidden;
  display: flex;
}
.stat-bar .seg-free { background: color-mix(in srgb, var(--lg, var(--ink)) 30%, var(--surface)); height: 100%; }
.stat-bar .seg-prem { background: var(--lg, var(--ink)); height: 100%; }

/* ---------- Live scores & pick results ---------- */
.live-score { display: flex; flex-direction: column; align-items: flex-end; flex-shrink: 0; gap: 1px; }
.live-score .sc { font-family: var(--mono); font-size: 15px; font-weight: 600; line-height: 1.2; }
.live-score .st { font-family: var(--mono); font-size: 10.5px; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; color: var(--ink-3); display: inline-flex; align-items: center; gap: 5px; }
.live-score.is-live .st { color: var(--lg, var(--win)); }
.live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--lg, var(--win)); animation: livepulse 1.6s ease-in-out infinite; }
@keyframes livepulse { 50% { opacity: 0.25; } }
@media (prefers-reduced-motion: reduce) { .live-dot { animation: none; } }
.res { font-family: var(--mono); font-size: 12px; font-weight: 600; white-space: nowrap; }
.res-win { color: var(--win); }
.res-loss { color: var(--loss); }
.cell-live { color: var(--lg, var(--win)); font-weight: 600; }

/* ---------- Pick cards ---------- */
.pick-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.15s;
}
a.pick-card:hover { box-shadow: 0 6px 20px rgba(29, 27, 22, 0.09); }

.pick-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pick-league {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.pick-league .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lg, var(--ink-3)); }
.pick-time { font-family: var(--mono); font-size: 12.5px; color: var(--ink-3); }

.matchup { display: flex; align-items: center; gap: 12px; }
.team-mark {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-2);
  flex-shrink: 0;
}
img.team-mark { object-fit: contain; padding: 3px; background: #fff; box-sizing: border-box; }
.matchup-names { font-size: 16px; font-weight: 600; line-height: 1.3; }
.matchup-names .at { color: var(--ink-3); font-weight: 400; padding: 0 3px; }

.market-row {
  display: grid;
  grid-template-columns: 86px 1fr auto;
  align-items: baseline;
  gap: 10px;
  padding: 7px 0;
  border-top: 1px solid var(--line-soft);
  font-size: 14px;
}
.market-type { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.market-nums { display: flex; gap: 14px; flex-wrap: wrap; }
.market-nums .lbl { color: var(--ink-3); font-size: 12.5px; margin-right: 5px; }
.market-nums .val { font-family: var(--mono); font-weight: 600; font-size: 13.5px; }
.market-nums .val.bbmi { color: var(--lg, var(--ink)); }
.market-pick { font-weight: 700; font-size: 13.5px; color: var(--lg, var(--ink)); }
.market-locked {
  font-size: 13px;
  color: var(--ink-3);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.market-locked .blur {
  filter: blur(5px);
  user-select: none;
  font-family: var(--mono);
  font-weight: 600;
  color: var(--ink-2);
}
.edge-num { font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--lg, var(--ink)); }

.pick-foot { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.meter { flex: 1; height: 4px; border-radius: 2px; background: var(--surface); overflow: hidden; }
.meter > span { display: block; height: 100%; border-radius: 2px; background: var(--lg, var(--ink)); }

/* ---------- Filter pills ---------- */
.filter-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.filter-pill {
  font-size: 13.5px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-2);
  cursor: pointer;
  transition: all 0.13s;
  font-family: var(--sans);
}
.filter-pill:hover { border-color: var(--ink-2); color: var(--ink); }
.filter-pill.on { background: var(--panel); border-color: var(--panel); color: var(--panel-fg); font-weight: 600; }

/* ---------- Data tables ---------- */
.table-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.table-scroll { overflow-x: auto; overflow-y: hidden; }
.data-table {
  border-collapse: collapse;
  width: calc(100% - 1px);
  min-width: 760px;
}
.data-table thead th {
  position: sticky;
  top: 0;
  background: var(--panel);
  color: var(--panel-fg);
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  padding: 12px 14px;
  white-space: nowrap;
  z-index: 5;
  border-right: 1px solid color-mix(in srgb, var(--panel-fg) 22%, transparent);
}
.data-table thead th:last-child { border-right: 0; }
.data-table tbody td {
  padding: 11px 14px;
  font-size: 14.5px;
  border-top: 1px solid var(--line-soft);
  border-right: 1px solid var(--line-soft);
  white-space: nowrap;
  vertical-align: middle;
}
.data-table tbody td:last-child { border-right: 0; }
.data-table tbody td.num { text-align: right; font-family: var(--mono); font-size: 13.5px; }
.data-table tbody td.ctr { text-align: center; }
.data-table tbody tr:nth-child(even) { background: rgba(29, 27, 22, 0.018); }
.data-table tbody tr:hover { background: rgba(29, 27, 22, 0.045); }

.delta-up { color: var(--win); font-family: var(--mono); font-size: 11.5px; font-weight: 600; }
.delta-dn { color: var(--loss); font-family: var(--mono); font-size: 11.5px; font-weight: 600; }

.team-cell { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.team-cell .team-mark { width: 28px; height: 28px; font-size: 10px; }

/* ---------- Accordion ---------- */
.accordion {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.accordion summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 20px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: "+";
  font-family: var(--mono);
  font-size: 18px;
  color: var(--ink-3);
  transition: transform 0.15s;
}
.accordion[open] summary::after { content: "−"; }
.accordion .acc-body {
  padding: 4px 20px 20px;
  border-top: 1px solid var(--line-soft);
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.65;
}
.accordion .acc-body p { margin: 12px 0 0; }
.accordion .acc-body strong { color: var(--ink); }

/* ---------- Callout banner ---------- */
.callout {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-radius: var(--radius);
  border: 1px solid color-mix(in srgb, var(--lg, var(--accent)) 30%, transparent);
  background: color-mix(in srgb, var(--lg, var(--accent)) 6%, var(--card));
  transition: box-shadow 0.15s;
}
a.callout:hover { box-shadow: 0 6px 20px rgba(29, 27, 22, 0.08); }

/* ---------- Spotlight (featured live event) ---------- */
.spotlight {
  display: grid;
  grid-template-columns: 300px 1fr;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--card);
  transition: box-shadow 0.18s, transform 0.18s;
}
a.spotlight:hover { box-shadow: 0 12px 34px rgba(29, 27, 22, 0.12); transform: translateY(-1px); }
.spot-stage {
  background: var(--panel);
  color: var(--panel-fg);
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: center;
}
.spot-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: oklch(0.82 0.13 150);
}
.spot-live .pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: oklch(0.74 0.16 150);
  box-shadow: 0 0 0 0 oklch(0.74 0.16 150 / 0.7);
  animation: spotpulse 1.8s infinite;
}
@keyframes spotpulse {
  0% { box-shadow: 0 0 0 0 oklch(0.74 0.16 150 / 0.6); }
  70% { box-shadow: 0 0 0 9px oklch(0.74 0.16 150 / 0); }
  100% { box-shadow: 0 0 0 0 oklch(0.74 0.16 150 / 0); }
}
@media (prefers-reduced-motion: reduce) { .spot-live .pulse { animation: none; } }
.spot-match { display: flex; align-items: center; gap: 10px; }
.spot-team { display: flex; align-items: center; gap: 8px; font-family: var(--serif); font-weight: 600; font-size: 17px; }
.spot-team .mk { width: 26px; height: 26px; border-radius: 50%; background: rgba(243,241,234,0.12); border: 1px solid rgba(243,241,234,0.2); display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 9px; font-weight: 600; flex-shrink: 0; }
.spot-team img.mk { object-fit: contain; padding: 2px; background: #fff; }
.spot-vs { font-family: var(--mono); font-size: 11px; opacity: 0.5; }
.spot-odds .obar { height: 8px; border-radius: 4px; overflow: hidden; display: flex; }
.spot-odds .obar .a { background: oklch(0.72 0.13 150); }
.spot-odds .obar .b { background: rgba(243,241,234,0.28); }
.spot-odds .olabels { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11.5px; font-weight: 600; margin-top: 7px; }
.spot-odds .olabels .l1 { color: oklch(0.82 0.12 150); }
.spot-odds .olabels .l2 { opacity: 0.6; }
.spot-body { padding: 24px 28px; display: flex; flex-direction: column; gap: 9px; justify-content: center; }
.spot-eyebrow { font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: 0.13em; text-transform: uppercase; color: var(--lg, var(--accent-ink)); }
.spot-title { font-family: var(--serif); font-size: clamp(22px, 2.4vw, 28px); font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; }
.spot-sub { font-size: 14.5px; color: var(--ink-2); line-height: 1.5; }
.spot-cta { display: inline-flex; align-items: center; gap: 7px; font-size: 14.5px; font-weight: 600; color: var(--lg, var(--accent-ink)); margin-top: 4px; }
a.spotlight:hover .spot-cta { gap: 11px; }
@media (max-width: 720px) { .spotlight { grid-template-columns: 1fr; } }

.callout-tag {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lg, var(--accent));
  background: color-mix(in srgb, var(--lg, var(--accent)) 13%, transparent);
  padding: 3px 9px;
  border-radius: 999px;
  flex-shrink: 0;
}
.callout-title { font-size: 15.5px; font-weight: 600; }
.callout-sub { font-size: 13.5px; color: var(--ink-2); margin-top: 1px; }
.callout-cta { margin-left: auto; font-size: 14px; font-weight: 600; color: var(--lg, var(--accent)); white-space: nowrap; flex-shrink: 0; }

/* ---------- Principles strip ---------- */
.principles {
  display: flex;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
  padding: 18px 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.principle {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink-2);
}
.principle .tick {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--win) 14%, transparent);
  color: var(--win);
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  margin-top: 72px;
  background: var(--surface);
}
.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 32px 24px 40px;
}
.footer-disclaimer {
  font-size: 13px;
  color: var(--ink-3);
  line-height: 1.6;
  max-width: 760px;
}
.footer-disclaimer strong { color: var(--ink-2); }
.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
  font-size: 13.5px;
  color: var(--ink-3);
}
.footer-row nav { display: flex; gap: 18px; }
.footer-row a:hover { color: var(--ink); }

/* ---------- Section scaffolding ---------- */
.section { padding: 56px 0 0; }
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.section-head .more { font-size: 14.5px; font-weight: 600; color: var(--accent-ink); white-space: nowrap; }
.section-head .more:hover { text-decoration: underline; }

.page-head { padding: 44px 0 28px; border-bottom: 1px solid var(--line); }
.page-head .eyebrow { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.page-head .eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lg, var(--accent)); }
.page-head h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.012em;
  margin: 0 0 12px;
}
.page-head .lede { max-width: 640px; margin: 0; font-size: 16.5px; }

/* ---------- Page-head extras (date block, stat strip) ---------- */
.ph-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.page-head h1 .punct { color: var(--lg, var(--accent)); }
.date-block { text-align: right; flex-shrink: 0; padding-top: 30px; }
.date-block .dow { display: block; font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 4px; }
.date-block .day { display: block; font-family: var(--serif); font-style: italic; font-size: 48px; font-weight: 600; line-height: 1; color: var(--lg, var(--accent)); }
@media (max-width: 720px) { .date-block { display: none; } }

.stat-strip { display: inline-flex; margin-top: 26px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); overflow: hidden; flex-wrap: wrap; }
.stat-strip .s { padding: 13px 26px 11px; border-left: 1px solid var(--line-soft); }
.stat-strip .s:first-child { border-left: 0; }
.stat-strip .v { display: block; font-family: var(--mono); font-size: 26px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }
.stat-strip .l { display: block; font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); margin-top: 3px; }
@media (max-width: 560px) { .stat-strip .s { padding: 11px 16px 9px; } .stat-strip .v { font-size: 20px; } }

/* ---------- Misc ---------- */
.grid { display: grid; gap: 14px; }
.kbd-note { font-family: var(--mono); font-size: 12.5px; color: var(--ink-3); }
.footnote { font-size: 13px; color: var(--ink-3); line-height: 1.55; max-width: 720px; }
.footnote strong { color: var(--ink-2); font-weight: 600; }
.footnote a { text-decoration: underline; text-underline-offset: 3px; }
.divider { border: 0; border-top: 1px solid var(--line); margin: 0; }

@media (max-width: 720px) {
  .container { padding: 0 18px; }
  .nav-row1 { padding: 0 14px; gap: 10px; }
  .nav-tabs { padding: 0 14px; }
  .nav-actions .hide-mobile { display: none; }
  .callout { flex-wrap: wrap; }
  .callout-cta { margin-left: 0; }
}

/* ============================================================
   Formatting variations (Tweaks)
   Toggled via body classes — see redesign/tweaks.jsx
   ============================================================ */

/* — Headlines: grotesk option — */
body.t-grotesk .display,
body.t-grotesk h2.section-title,
body.t-grotesk .page-head h1,
body.t-grotesk .logo {
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: -0.035em;
}
body.t-grotesk .display em,
body.t-grotesk .logo .tm { font-style: normal; }
body.t-grotesk .stat-value.is-text,
body.t-grotesk .pullquote { font-family: var(--sans); font-style: normal; }

/* — Theme: cool light — */
body.theme-cool {
  --paper: #f2f3f6;
  --surface: #e7e9ee;
  --card: #ffffff;
  --ink: #15171c;
  --ink-2: #4e5560;
  --ink-3: #868d9a;
  --line: rgba(21, 23, 28, 0.14);
  --line-soft: rgba(21, 23, 28, 0.08);
}

/* — Theme: dark terminal — */
body.theme-dark {
  --paper: #17150f;
  --surface: #201d15;
  --card: #242118;
  --ink: #f0ede3;
  --ink-2: #b5afa0;
  --ink-3: #7f7968;
  --line: rgba(240, 237, 227, 0.17);
  --line-soft: rgba(240, 237, 227, 0.09);
  --mlb: oklch(0.72 0.11 158);
  --ncaa-bsb: oklch(0.74 0.09 200);
  --ncaa-fb: oklch(0.72 0.04 270);
  --ncaa-bb: oklch(0.72 0.13 262);
  --nfl: oklch(0.7 0.1 258);
  --wiaa: oklch(0.72 0.11 25);
  --win: oklch(0.74 0.13 152);
  --loss: oklch(0.7 0.16 27);
  --hot: oklch(0.74 0.15 45);
  --cold: oklch(0.74 0.09 235);
  --accent-ink: color-mix(in oklch, var(--accent), white 32%);
  --accent-soft: color-mix(in srgb, var(--accent) 16%, transparent);
}
body.theme-dark .tab:hover { background: rgba(240, 237, 227, 0.07); color: var(--ink); }
body.theme-dark .tab.on { background: rgba(240, 237, 227, 0.12); }
body.theme-dark .league-pill:hover { color: var(--ink); }
body.theme-dark .data-table tbody tr:nth-child(even) { background: rgba(240, 237, 227, 0.025); }
body.theme-dark .data-table tbody tr:hover { background: rgba(240, 237, 227, 0.06); }
body.theme-dark .btn-primary { background: var(--panel); color: var(--panel-fg); }
body.theme-dark a.stat-card:hover,
body.theme-dark a.pick-card:hover,
body.theme-dark a.callout:hover { box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45); }

/* — Density: compact — */
body.t-compact { font-size: 15px; }
body.t-compact .section { padding-top: 38px; }
body.t-compact .hero { padding: 42px 0 38px; }
body.t-compact .hero .lede { margin: 14px auto 22px; }
body.t-compact .display { font-size: clamp(34px, 4.6vw, 50px); }
body.t-compact .lede { font-size: 16px; }
body.t-compact .grid { gap: 10px; }
body.t-compact .stat-card { padding: 15px 16px 13px; }
body.t-compact .stat-value { font-size: 32px; }
body.t-compact .pick-card { padding: 12px 14px 11px; gap: 9px; }
body.t-compact .section-head { margin-bottom: 14px; }
body.t-compact .page-head { padding: 32px 0 22px; }
