/* csAnalyzer public pages — mobile-first marketing surface.
   Designed phone-first; the
   desktop layout is a progressive enhancement via min-width queries. */

:root {
  --bg: #101419;
  --bg-soft: #131920;
  --card: #181f27;
  --card-border: #2c3743;
  --text: #edf2f7;
  --muted: #a3afbd;
  --accent: #4ade80;
  --accent-dark: #166534;
  --accent2: #91bdf5;
  --danger: #f87171;
  --radius: 10px;
  --motion-fast: 160ms;
  --motion-ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
}

a { color: var(--accent2); text-decoration: none; }
a:hover { text-decoration: underline; }

.page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px 48px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Header */
.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 16px;
}
.brand {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}
.brand span { color: var(--accent); }
.brand:hover { text-decoration: none; }
.site-nav { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.site-nav a { color: var(--muted); font-weight: 600; font-size: 0.95rem; }
.site-nav a:hover { color: var(--text); text-decoration: none; }

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

/* Hero */
.hero h1 {
  font-size: 1.75rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 12px 0;
}
.accent { color: var(--accent); }
.lede { color: var(--muted); font-size: 1.05rem; max-width: 46ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.cta {
  display: inline-block;
  background: var(--accent);
  color: #052e12;
  font-weight: 700;
  padding: 12px 20px;
  border-radius: 8px;
}
.cta:hover { text-decoration: none; filter: brightness(1.08); }
.cta-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--card-border);
}

/* Section titles */
.section-title { font-size: 1.2rem; margin: 0 0 12px; letter-spacing: -0.01em; }
.muted { color: var(--muted); }
.center { text-align: center; }
.fine-print { color: var(--muted); font-size: 0.8rem; }

/* Stats strip */
.stats-strip {
  font-variant-numeric: tabular-nums;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-around;
  text-align: center;
}
.stat { display: block; font-size: 1.5rem; font-weight: 800; color: var(--accent); }
.stat-label { color: var(--muted); font-size: 0.8rem; }

/* Match list rows (index / team / event) */
.match-list { display: flex; flex-direction: column; border: 1px solid var(--card-border); border-radius: var(--radius); background: var(--bg-soft); }
.match-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--text);
  padding: 14px 16px;
}
.match-row.card { border: 0; border-bottom: 1px solid var(--card-border); border-radius: 0; background: transparent; }
.match-row:first-child { border-radius: var(--radius) var(--radius) 0 0; }
.match-row:last-child { border-bottom: 0; border-radius: 0 0 var(--radius) var(--radius); }
.match-row:only-child { border-radius: var(--radius); }
.match-row:hover { text-decoration: none; background: var(--card); }
.match-row:focus-visible { position: relative; outline-offset: 2px; }
.match-row-meta { color: var(--muted); font-size: 0.8rem; }
.match-row-teams { font-weight: 700; font-size: 1.05rem; }
.match-row-teams em { color: var(--muted); font-style: normal; font-weight: 400; }
.match-row-prob { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.p1 { color: var(--accent); }
.p2 { color: var(--accent2); }
.mini-bar {
  flex: 1;
  height: 6px;
  border-radius: 999px;
  background: var(--accent2);
  overflow: hidden;
  display: block;
}
.mini-fill { display: block; height: 100%; background: var(--accent); }
.result-score { color: var(--text); }

/* Match hero */
.match-hero { text-align: center; padding: 22px 18px; }
.match-meta { color: var(--muted); font-size: 0.85rem; margin: 0 0 14px; }
.matchup {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.matchup .team {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}
.matchup .score { font-size: 1.3rem; font-weight: 800; color: var(--muted); }
.status { text-transform: capitalize; }
.status-live { color: var(--danger); font-weight: 700; }
.status-upcoming { color: var(--accent2); }
.status-finished { color: var(--muted); }

.prob-block { margin-top: 20px; }
.prob-labels {
  display: flex;
  justify-content: space-between;
  font-weight: 800;
  font-size: 1.05rem;
  margin-bottom: 8px;
}
.prob-bar {
  height: 18px;
  border-radius: 999px;
  background: var(--accent2);
  overflow: hidden;
}
.prob-fill { height: 100%; background: var(--accent); }
.model-note { color: var(--muted); font-size: 0.8rem; margin-top: 8px; }

/* Where to bet */
.bet-card h2 { margin-top: 0; }
.bet-buttons { display: flex; flex-direction: column; gap: 10px; }
.bet-button {
  display: block;
  text-align: center;
  background: var(--accent);
  color: #06281a;
  font-weight: 800;
  font-size: 1.05rem;
  padding: 14px;
  border-radius: 12px;
  min-height: 48px; /* tap-friendly */
}
.bet-button:hover { text-decoration: none; filter: brightness(1.07); }

/* Evidence grid */
.card-grid { display: grid; gap: 12px; grid-template-columns: 1fr; }
.evidence-card h3 { margin: 0 0 8px; font-size: 0.95rem; color: var(--muted); }
.big-number { font-size: 1.4rem; font-weight: 800; margin: 4px 0; }
.edge { font-weight: 700; }
.edge-pos { color: var(--accent); }
.edge-neg { color: var(--accent2); }

.form-columns { display: grid; gap: 16px; grid-template-columns: 1fr; }
.form-columns h4 { margin: 0 0 8px; }
.form-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.chip {
  display: inline-block;
  min-width: 26px;
  text-align: center;
  font-weight: 800;
  font-size: 0.8rem;
  border-radius: 6px;
  padding: 2px 6px;
  margin-right: 6px;
}
.chip-w { background: var(--accent-dark); color: var(--accent); }
.chip-l { background: #4c1d24; color: var(--danger); }
.chip-open { background: var(--bg-soft); color: var(--accent2); }
.h2h-list { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }

/* Credibility strip */
.credibility h2 { margin-top: 0; }
.credibility p { color: var(--muted); }
.credibility .cta { margin-top: 6px; }

/* Team / event hero */
.team-hero h1 { margin: 0 0 10px; letter-spacing: -0.02em; }
.team-facts { display: flex; gap: 20px; flex-wrap: wrap; }
.fact { color: var(--muted); }
.fact strong { color: var(--text); }

/* Ledger */
.ledger-list { display: flex; flex-direction: column; gap: 10px; }
.ledger-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--text);
  padding: 14px 16px;
}
.ledger-row:hover { text-decoration: none; border-color: var(--accent2); }
.ledger-teams { font-weight: 700; }
.ledger-teams .muted { font-weight: 400; font-size: 0.85rem; }
.ledger-numbers { display: flex; gap: 14px; font-size: 0.9rem; }
.equity-chart { width: 100%; height: auto; background: var(--bg-soft); border-radius: 8px; }
.equity-line { stroke: var(--accent); stroke-width: 2.5; }
.zero-line { stroke: var(--card-border); stroke-dasharray: 4 4; }

/* Footer */
.site-footer {
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px 16px 40px;
  border-top: 1px solid var(--card-border);
}
.age-notice { color: var(--muted); font-size: 0.85rem; }
.age-badge {
  display: inline-block;
  border: 2px solid var(--danger);
  color: var(--danger);
  font-weight: 800;
  border-radius: 6px;
  padding: 0 6px;
  margin-right: 6px;
}

/* Toolbar (home / history GET forms) */
.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
}
.toolbar label {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 0.85rem;
}
.toolbar input,
.toolbar select {
  background: var(--bg-soft);
  color: var(--text);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 0.9rem;
}
.toolbar input[type="search"] { flex: 1 1 160px; min-width: 0; }
.toolbar button {
  background: var(--accent);
  color: #052e12;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  padding: 9px 16px;
  min-height: 40px; /* tap-friendly */
  cursor: pointer;
}
.toolbar button:hover { filter: brightness(1.08); }

/* Live badge */
.live-badge {
  display: inline-block;
  background: #4c1d24;
  color: var(--danger);
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 6px;
  padding: 2px 7px;
}

/* Pagination */
.pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.9rem;
}
.pager-link {
  border: 1px solid var(--card-border);
  border-radius: 8px;
  padding: 8px 14px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
}
.pager-link:hover { text-decoration: none; border-color: var(--accent2); }

/* Calibration table */
.calibration-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.calibration-table th {
  text-align: left;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.calibration-table th,
.calibration-table td { padding: 8px 10px 8px 0; }

/* Desktop enhancements */
@media (min-width: 720px) {
  .hero h1 { font-size: 2rem; }
  .card-grid { grid-template-columns: 1fr 1fr; }
  .evidence-card.wide { grid-column: span 2; }
  .form-columns { grid-template-columns: 1fr 1fr; }
  .bet-buttons { flex-direction: row; }
  .bet-button { flex: 1; }
  .match-row { flex-direction: row; align-items: center; gap: 16px; }
  .match-row-meta { flex: 0 0 180px; }
  .match-row-teams { flex: 1; }
  .match-row-prob { flex: 0 0 190px; }
  .ledger-row { flex-direction: row; align-items: center; gap: 16px; }
  .ledger-teams { flex: 1; }
}

/* Public product pages and accessible interaction. */
html { color-scheme: dark; scroll-padding-top: 20px; }
h1, h2, h3, p { overflow-wrap: anywhere; }
h2 { font-size: 1.3rem; line-height: 1.35; }
a, button, input, select, summary { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 3px solid var(--accent2); outline-offset: 4px;
}
button, input, select { font: inherit; }
button { cursor: pointer; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: absolute; z-index: 10; top: -80px; left: 16px; padding: 12px 20px; background: var(--accent); color: #052e12; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.site-header { padding-top: 12px; padding-bottom: 12px; gap: 8px 32px; border-bottom: 1px solid var(--card-border); margin-bottom: 28px; }
.site-nav { gap: 4px 24px; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; }
.site-nav a[aria-current="page"] { color: var(--text); box-shadow: inset 0 -2px var(--accent); }
.hero .eyebrow { margin: 0 0 8px; }
.eyebrow { color: var(--accent); font-size: .75rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }

.text-link { display: inline-block; padding: 6px 0; font-weight: 600; }
.toolbar { align-items: flex-end; gap: 12px; background: transparent; border: 0; border-radius: 0; padding: 0; }
.toolbar label { flex-direction: column; align-items: flex-start; gap: 5px; }
.toolbar .search-field { flex: 1 1 230px; }
.toolbar .search-field input { width: 100%; flex: none; }
.toolbar input, .toolbar select, .toolbar button { min-height: 44px; }
.reset-link { display: inline-flex; align-items: center; min-height: 44px; }
.notice { margin: 0; padding: 14px 16px; border: 1px solid #715a2c; border-left: 3px solid #f5ca79; border-radius: 8px; background: #282418; color: #f5dfb6; font-size: .9rem; }
.notice-success { border-color: #226b46; background: #102a22; color: #b5eacc; }
.empty-state { padding: 28px 20px; }
.empty-state h2 { margin-top: 0; }
.reading-guide { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.reading-guide h2 { margin: 0 0 8px; }
.reading-guide p { margin: 0; max-width: 58ch; }
.match-row > *, .ledger-row > * { min-width: 0; }
.match-row-teams { overflow-wrap: anywhere; }
.score-unit { display: block; color: var(--muted); font-size: .75rem; font-weight: 400; }
.prob-labels { flex-wrap: wrap; gap: 8px; }
.prob-bar, .mini-bar { position: relative; }
.match-row-prob { min-width: 150px; }
.ledger-numbers { flex-wrap: wrap; }
.signal-times { color: var(--muted); font-size: .75rem; }
.pager { flex-wrap: wrap; justify-content: center; padding: 8px 0; }
.pager-link { min-height: 44px; }
.table-scroll { overflow-x: auto; }
.calibration-table { min-width: 280px; }
.calibration-table td, .calibration-table th { border-bottom: 1px solid var(--card-border); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 0 20px; }
.footer-nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: .85rem; }
.pricing-grid { display: grid; gap: 16px; }
.price-card { display: flex; flex-direction: column; padding: 24px; }
.price-card h2 { margin: 0; }
.price-card .cta { margin-top: auto; text-align: center; }
.price-featured { border-color: #3f805c; background: #142c2a; }
.price { font-size: 2.25rem; font-weight: 800; line-height: 1.25; margin: 20px 0; }
.price span { display: block; color: var(--muted); font-size: .9rem; font-weight: 400; margin-top: 6px; }
.feature-list { padding-left: 22px; display: grid; gap: 12px; margin: 0 0 24px; }
.feature-list li::marker { color: var(--accent); }
.waitlist { max-width: 720px; width: 100%; }
.stacked-form { display: flex; flex-direction: column; gap: 12px; max-width: 520px; }
.stacked-form input[type="email"] { padding: 12px; border: 1px solid var(--card-border); border-radius: 8px; background: var(--bg-soft); color: var(--text); width: 100%; min-height: 48px; }
.stacked-form .cta { border: 0; align-self: flex-start; border-radius: 8px; }
.checkbox-label { display: flex; align-items: flex-start; gap: 10px; color: var(--muted); font-size: .85rem; padding: 8px 0; }
.checkbox-label input { flex: 0 0 22px; width: 22px; height: 22px; margin: 0; accent-color: var(--accent); }
.prose { max-width: 850px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li, .prose dd { color: #cbd5e1; }
.prose ol { padding-left: 22px; }
.prose li { margin: 14px 0; }
.prose dt { font-weight: 700; margin-top: 20px; }
.prose dd { margin: 6px 0 16px; }
.faq-list { display: grid; gap: 12px; max-width: 850px; }
.faq-list summary { cursor: pointer; min-height: 28px; font-weight: 650; padding-right: 12px; }
.faq-list p { color: #cbd5e1; margin-bottom: 0; }
@media (min-width: 720px) {
  .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .match-row { display: grid; grid-template-columns: minmax(130px, .8fr) minmax(180px, 1.4fr) minmax(170px, 1fr); }
  .ledger-row { flex-wrap: wrap; }
  .ledger-teams { flex: 1 1 300px; }
  .signal-times { flex: 1 1 200px; }
  .match-row-prob { width: 100%; }
}
@media (max-width: 420px) {
  .page { padding-left: 12px; padding-right: 12px; gap: 20px; }
  .site-header { padding: 12px 12px 0; margin-bottom: 24px; }
  .site-nav { gap: 0 18px; width: 100%; }
  .site-nav a { font-size: .85rem; }
  .toolbar label { flex: 1 1 calc(50% - 12px); min-width: 0; }
  .toolbar .search-field { flex-basis: 100%; }
  .toolbar select { width: 100%; }
  .toolbar input[type="date"] { max-width: 100%; }
  .stats-strip { gap: 16px; }
  .price-card { padding: 20px; }
}
/* Feedback is limited to interactions; no entrance or scrolling animation. */
a, button, input, select, summary { transition: color var(--motion-fast) var(--motion-ease), background-color var(--motion-fast) var(--motion-ease), border-color var(--motion-fast) var(--motion-ease); }
.cta:active, .toolbar button:active, .consent-choice:active { transform: translateY(1px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .cta:active, .toolbar button:active, .consent-choice:active { transform: none; }
}

.text-button { background: transparent; border: 0; color: var(--accent2); padding: 0; min-height: 44px; font: inherit; font-size: .85rem; text-align: left; }
.consent-banner { position: fixed; z-index: 20; bottom: 16px; left: 16px; right: 16px; max-width: 560px; box-shadow: 0 12px 50px #0008; }
.consent-banner[hidden] { display: none; }
.consent-banner h2 { margin: 0 0 8px; font-size: 1.05rem; }
.consent-banner p { font-size: .85rem; margin: 8px 0; }
.consent-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.consent-choice { flex: 1 1 180px; min-height: 44px; padding: 10px 12px; border: 1px solid var(--accent2); border-radius: 8px; background: var(--bg-soft); color: var(--text); font-weight: 650; }

/* Private account: use the existing public typography and surface tokens. */
.account-auth { max-width: 600px; margin-inline: auto; }
.account-tabs { display: flex; gap: 24px; margin-bottom: 24px; flex-wrap: wrap; }
.account-tabs [aria-current="page"] { color: var(--text); border-bottom: 2px solid var(--accent); padding-bottom: 8px; }
.account-summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.account-summary p { overflow-wrap: anywhere; }
.account-summary button { flex-shrink: 0; }
.account-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.account-grid > .card { margin: 0; min-width: 0; }
.account-saved { grid-column: 1 / -1; }
.account-list { list-style: none; margin: 20px 0 0; padding: 0; }
.account-list li { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 16px 0; border-top: 1px solid var(--card-border); }
.account-list li > span { flex: 1 1 180px; overflow-wrap: anywhere; }
.account-list small { display: block; flex-basis: 100%; color: var(--muted); }
.account-list button { min-height: 44px; }
.account-error { border-color: #fb7185; }
.account-auth .stacked-form > div > label { display: block; margin-bottom: 8px; }
.account-auth .stacked-form input:not([type="checkbox"]), .account-grid input[type="search"] { width: 100%; padding: 12px; border: 1px solid var(--card-border); border-radius: 8px; color: var(--text); background: var(--bg); }
#account-consents .checkbox-label { margin-block: 16px; }
#account-root [hidden] { display: none !important; }
#account-root button:disabled { opacity: .6; cursor: wait; }
@media (max-width: 640px) { .account-grid { grid-template-columns: minmax(0, 1fr); } .account-summary { align-items: flex-start; flex-direction: column; } }

/* Compact public navigation, match-first pages and plain-language help. */
h1, h2, h3 { text-wrap: balance; }
.page-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; }
.page-heading h1 { margin: 0; font-size: 1.75rem; line-height: 1.2; font-weight: 750; letter-spacing: -.025em; }
.page-description { color: var(--muted); margin: -8px 0 0; max-width: 70ch; }
.guide-link { display: inline-flex; align-items: center; gap: 9px; color: var(--text); min-height: 44px; font-size: .9rem; font-weight: 600; }
.guide-link:hover { color: var(--accent); text-decoration: none; }
.guide-link > span:last-child { color: var(--muted); }
.guide-icon { display: inline-flex; justify-content: center; align-items: center; flex: 0 0 22px; height: 22px; border: 1px solid var(--accent); border-radius: 50%; color: var(--accent); font-size: .8rem; }
.section-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; margin-bottom: 12px; }
.section-heading .section-title { margin: 0; }
.section-heading a { font-size: .85rem; min-height: 32px; display: inline-flex; align-items: center; }
.section-footnote { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; color: var(--muted); font-size: .85rem; padding-top: 8px; }
.section-footnote a { min-height: 44px; display: inline-flex; align-items: center; }
.match-row-prob, .prob-labels, .big-number, .ledger-numbers { font-variant-numeric: tabular-nums; }
.match-row-teams { font-size: 1rem; }
.match-row-meta { font-size: .78rem; }
.footer-meta { max-width: 80ch; margin-top: 16px; }
.age-notice { font-size: .8rem; }
.age-badge { border: 1px solid var(--card-border); color: var(--muted); font-weight: 650; }
.footer-meta .fine-print { margin-bottom: 0; }
.access-panel { max-width: 760px; padding: 28px 0 32px; border-block: 1px solid var(--card-border); }
.access-heading { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.access-heading h2 { margin: 0; font-size: 1.5rem; }
.plan-status { color: var(--muted); font-size: .85rem; }
.access-description { color: var(--muted); max-width: 56ch; margin-block: 16px 24px; }
.access-features { list-style: none; padding: 0; margin: 24px 0 28px; display: grid; gap: 12px; }
.access-features li { display: flex; gap: 12px; align-items: baseline; }
.access-features li::before { content: "✓"; color: var(--accent); font-size: .85rem; }
.access-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.access-actions .cta { border-radius: 8px; }
.pricing-note { color: var(--muted); margin: 0; font-size: .85rem; }
.methodology-layout { max-width: 780px; display: grid; gap: 20px; }
.guide-basics h2 { margin: 0 0 12px; }
.guide-basics > p { margin: 0 0 24px; max-width: 65ch; }
.guide-steps { margin: 0; padding-left: 24px; }
.guide-steps li { padding-left: 8px; margin-block: 20px; }
.guide-steps li::marker { color: var(--muted); font-weight: 600; }
.guide-steps p { margin: 6px 0 0; max-width: 65ch; }
.faq-list .card { background: transparent; padding: 16px 18px; }
.faq-list summary { min-height: 44px; display: list-item; align-content: center; }
.faq-list summary::marker { color: var(--muted); }
.faq-list details[open] { background: var(--bg-soft); }
.faq-list .prose { font-size: .95rem; }
.hero h1 { margin-top: 0; }
.hero .lede { max-width: 70ch; font-size: .95rem; margin-bottom: 0; }
@media (min-width: 720px) {
  .site-header { flex-wrap: nowrap; }
  .brand { flex-shrink: 0; }
  .site-nav { flex-wrap: nowrap; }
  .page-heading h1 { font-size: 2rem; }
  .match-row { min-height: 64px; }
}
@media (max-width: 719px) {
  .site-header { gap: 2px; }
  .site-nav { width: 100%; gap: 0 20px; }
  .site-nav a { font-size: .85rem; }
  .brand { min-height: 40px; display: inline-flex; align-items: center; }
  .page-heading { gap: 8px 16px; }
  .page-heading h1 { flex-basis: 100%; }
  .guide-link { font-size: .85rem; }
  .match-row { gap: 8px; padding: 14px; }
  .match-row-prob { max-width: 280px; width: 100%; font-size: .9rem; }
  .access-panel { padding-block: 24px; }
}

.track-record { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; color: var(--muted); font-size: .85rem; margin-top: -16px; }
.track-record strong { color: var(--text); font-variant-numeric: tabular-nums; }
.track-record a { display: inline-flex; align-items: center; min-height: 40px; }

@media (max-width: 719px) {
  .toolbar { gap: 10px; }
  .toolbar label:not(.search-field) { flex: 1 1 calc(50% - 10px); min-width: 0; }
  .toolbar select { width: 100%; }
}

@media (max-width: 360px) { .site-nav { gap: 0 12px; } .site-nav a { font-size: .8rem; } }
