/* BetDNA public website — one stylesheet, no JavaScript, no app code.
   Palette taken from app/components/betdna-choice2.css, which is the theme the
   application actually renders, so the site and the product are one brand. */
/* UI-174 (measured 2026-09-13): 9,431 bytes of stylesheet and not one line
   that read the operating system's colour preference - a visitor whose phone
   is in light mode was served near-black. The palette is a set of tokens; the
   light scheme redefines them, and nothing else changes. */
:root{color-scheme:dark;--bg:#05070b;--surface:#0c111a;--surface2:#131b27;--line:#1e2a3a;
  --text:#f4f7fb;--muted:#93a3b8;--accent:#ff6b14;--accent-soft:rgba(255,107,20,0.12);
  --nav-text:#c3d0e0;--on-accent:#08131f;--pill-warm:#ffb280;--pill-warm-bg:rgba(255,107,20,.13);
  --glow:rgba(255,107,20,.16);--text-soft:#cbd7e6;--text-body:#bccadb;--text-list:#c6d3e3;--pill-pass:#7ee2a8;--pill-na:#a9b7c9}
@media (prefers-color-scheme: light){
  :root{color-scheme:light;--bg:#f8fafc;--surface:#ffffff;--surface2:#e2e8f0;--line:#cbd5e1;
    --text:#0f172a;--muted:#475569;--accent:#b4400f;--accent-soft:rgba(180,64,15,0.10);
    --nav-text:#334155;--on-accent:#ffffff;--pill-warm:#9a3412;--pill-warm-bg:rgba(180,64,15,.10);
    --glow:rgba(180,64,15,.10);--text-soft:#1e293b;--text-body:#334155;--text-list:#334155;--pill-pass:#166534;--pill-na:#475569}
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0;background:var(--bg);color:var(--text);
  font-family:system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  font-size:17px;line-height:1.65;-webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{max-width:100%;height:auto;display:block}
a{color:inherit}
.wrap{width:100%;max-width:1120px;margin:0 auto;padding:0 20px}
.skip{position:absolute;left:-9999px}
.skip:focus{left:12px;top:12px;z-index:99;background:var(--accent);color:var(--on-accent);
  padding:10px 14px;border-radius:8px;min-height:44px;display:inline-flex;align-items:center}
/* UI-257 (measured live 2026-09-13): the site drew keyboard focus with the browser's
   1px amber ring at zero offset while the application draws a 2px ring in its focus
   token at 2px offset. One answer to one question, on both sides of the door. */
:focus-visible{outline:2px solid var(--focus,#60a5fa);outline-offset:2px}
.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
h1,h2,h3{line-height:1.15;margin:0 0 .5em;letter-spacing:-0.02em;font-weight:700}
h1{font-size:clamp(2rem,6vw,3.5rem)}
h2{font-size:clamp(1.5rem,3.6vw,2.25rem)}
h3{font-size:1.06rem;letter-spacing:-0.01em}
p{margin:0 0 1em}
.lede{font-size:clamp(1.05rem,2.1vw,1.3rem);color:var(--text-soft);max-width:62ch}
.muted{color:var(--muted)}
.small{font-size:.86rem;line-height:1.55}
/* UI-095 (measured 2026-09-13): kickers at 11.52px and the footer and table
   headings at 11.84px - uppercase and letter-spaced, the hardest case to read
   small. Nothing on the site renders under 12px. */
.kicker{text-transform:uppercase;letter-spacing:.16em;font-size:.75rem;font-weight:700;
  color:var(--accent);margin:0 0 .9em}
/* UI-185 (measured 2026-09-13): the text links that carry the site's secondary
   actions were 23px tall; the tap box is 44px without moving the text. */
.link{color:var(--accent);text-decoration:none;border-bottom:1px solid rgba(255,107,20,.4);
  display:inline-block;padding:10px 0;margin:-10px 0;min-height:44px;box-sizing:border-box}
.link:hover{border-bottom-color:var(--accent)}

/* header */
/* UI-011 (2026-09-12): at rgba(5,7,11,.86) the page text scrolled visibly
   through the logo on a phone. The header is opaque. */
.site-header{position:sticky;top:0;z-index:40;background:#05070b;
  backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}
.header-inner{display:flex;align-items:center;gap:16px;min-height:64px}
/* The home link is a 30px logo, which makes a 30px tap target - measured at
   43x30 on every marketing page. Padding lifts the hit area past 44px
   without touching the logo's drawn size, so nothing looks different. */
/* UI-094 (measured 2026-09-13): the brand link was 43x44 and the menu
   button 42x42 at 375px - the only tap targets on the marketing site under
   44px. Both are now at least 44px each way. */
.brand{display:flex;align-items:center;flex:0 0 auto;text-decoration:none;
  padding:7px 0;min-height:44px;min-width:44px}
.brand img{height:30px;width:auto}
.nav-desktop{display:none;gap:4px;margin-left:8px;flex:1 1 auto}
.nav-link{display:inline-block;padding:8px 12px;border-radius:8px;text-decoration:none;
  color:var(--nav-text);font-size:.93rem;font-weight:500;white-space:nowrap}
.nav-link:hover{background:var(--surface2);color:var(--text)}
.nav-link.is-active,.nav-link[aria-current="page"]{color:var(--text);background:var(--surface2);box-shadow:inset 0 -2px 0 var(--accent)}
.site-footer a[aria-current="page"]{color:var(--text);text-decoration:underline;text-underline-offset:3px}
.header-cta{display:none;gap:10px;margin-left:auto;flex:0 0 auto}
.btn{display:inline-block;text-decoration:none;font-weight:650;border-radius:10px;
  padding:9px 16px;font-size:.93rem;border:1px solid transparent;white-space:nowrap;
  transition:transform .12s ease,background .12s ease}
.btn:active{transform:translateY(1px)}
.btn-primary{background:var(--accent);color:var(--on-accent);border-color:var(--accent)}
.btn-primary:hover{background:#ff7f33}
.btn-ghost{background:transparent;color:var(--text);border-color:var(--line)}
.btn-ghost:hover{background:var(--surface2)}
.btn-lg{padding:13px 22px;font-size:1rem;border-radius:12px}

/* mobile menu, with no JavaScript */
.nav-mobile{margin-left:auto}
.nav-mobile summary{list-style:none;cursor:pointer;width:44px;height:44px;border-radius:10px;
  border:1px solid var(--line);display:flex;flex-direction:column;justify-content:center;
  align-items:center;gap:4px;background:var(--surface)}
.nav-mobile summary::-webkit-details-marker{display:none}
.nav-mobile summary span{display:block;width:17px;height:2px;background:var(--text);border-radius:2px}
.nav-drawer{position:absolute;left:0;right:0;top:100%;background:var(--surface);
  border-bottom:1px solid var(--line);padding:10px 20px 18px;display:flex;
  flex-direction:column;gap:2px}
.nav-drawer .nav-link{padding:12px 10px;font-size:1rem}
.nav-link-cta{color:var(--accent);font-weight:700}

/* hero + sections */
.hero{padding:clamp(48px,9vw,96px) 0 clamp(28px,5vw,48px);
  background:radial-gradient(1100px 460px at 18% -10%,var(--glow),transparent 60%)}
.hero h1{max-width:19ch}
.hero-cta{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}
.section{padding:clamp(40px,6.5vw,76px) 0;border-top:1px solid var(--line)}
.section-tight{padding:clamp(22px,3.5vw,34px) 0}
.section-alt{background:var(--surface)}

.proof{list-style:none;margin:0;padding:0;display:grid;gap:14px;
  grid-template-columns:1fr}
.proof li{background:var(--surface);border:1px solid var(--line);border-radius:14px;
  padding:16px 18px}
.proof strong{display:block;font-size:1.12rem;margin-bottom:2px}

.cards{display:grid;gap:16px;grid-template-columns:1fr;margin-top:26px}
.card{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:22px}
.card h3{margin-bottom:.45em}
.card p{margin:0;color:var(--text-body);font-size:.97rem}

.steps{list-style:none;counter-reset:s;margin:26px 0 0;padding:0;display:grid;gap:18px}
.steps li{display:flex;gap:16px;align-items:flex-start}
.step-n{flex:0 0 auto;width:34px;height:34px;border-radius:50%;background:var(--accent-soft);
  color:var(--accent);border:1px solid rgba(255,107,20,.35);display:flex;align-items:center;
  justify-content:center;font-weight:700;font-size:.95rem}
.steps h3{margin:.15em 0 .35em}
.steps p{margin:0;color:var(--text-body);font-size:.97rem}

.plain{margin:0;padding-left:1.15em;color:var(--text-list)}
.plain li{margin-bottom:.6em}

/* sports table */
.table-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch;margin-top:22px;
  border:1px solid var(--line);border-radius:14px}
.sports-table{width:100%;border-collapse:collapse;min-width:320px}
/* UI-252 (measured live 2026-09-13 at 375px): the header row was 264px tall and the third
   column ran 78px off the screen. On a phone the table lays out to the wrapper's width,
   the columns share it, and a heading wraps by word rather than pushing the table wider. */
@media (max-width:600px){
  .sports-table{table-layout:fixed;min-width:0}
  .sports-table th,.sports-table td{padding:10px 8px;overflow-wrap:anywhere}
  .sports-table thead th{letter-spacing:.06em}
  .sports-table col.c-sport{width:30%} .sports-table col.c-status{width:42%} .sports-table col.c-carried{width:28%}
}
.sports-table th,.sports-table td{text-align:left;padding:13px 16px;
  border-bottom:1px solid var(--line);font-size:.96rem}
.sports-table thead th{font-size:.75rem;text-transform:uppercase;letter-spacing:.12em;
  color:var(--muted);background:var(--surface)}
.sports-table tbody tr:last-child th,.sports-table tbody tr:last-child td{border-bottom:0}
.sports-table tbody th{font-weight:600}
.pill{display:inline-block;padding:4px 11px;border-radius:999px;font-size:.78rem;
  font-weight:650;white-space:nowrap;border:1px solid transparent}
.pill-gameplay-pass{background:rgba(34,197,94,.14);color:var(--pill-pass);border-color:rgba(34,197,94,.3)}
.pill-result-only{background:var(--pill-warm-bg);color:var(--pill-warm);border-color:rgba(255,107,20,.3)}
.pill-not-implemented{background:rgba(148,163,184,.12);color:var(--pill-na);border-color:rgba(148,163,184,.26)}
.legend{list-style:none;margin:18px 0 0;padding:0;display:grid;gap:10px}
.legend li{display:flex;gap:10px;align-items:flex-start;flex-wrap:wrap}

/* faq */
.faq-list{margin-top:22px;border:1px solid var(--line);border-radius:14px;overflow:hidden}
.faq{border-bottom:1px solid var(--line);background:var(--surface)}
.faq:last-child{border-bottom:0}
.faq summary{cursor:pointer;padding:16px 18px;font-weight:600;list-style:none;
  display:flex;justify-content:space-between;gap:14px;align-items:center}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";color:var(--accent);font-weight:700;flex:0 0 auto}
.faq[open] summary::after{content:"\2212"}
.faq-q{font-size:17px;font-weight:600;margin:0;letter-spacing:0;line-height:1.35}
.faq-a{padding:0 18px 16px;color:var(--text-body);font-size:.97rem}

.auth-card{background:var(--surface);border:1px solid var(--line);border-radius:16px;
  padding:26px;max-width:520px}

/* band */
.band{padding:clamp(38px,6vw,62px) 0;border-top:1px solid var(--line);
  background:linear-gradient(180deg,var(--surface),var(--bg))}
.band-inner{display:grid;gap:22px}
.band-cta{display:flex;flex-wrap:wrap;gap:12px}

/* footer */
.site-footer{border-top:1px solid var(--line);padding:44px 0 30px;background:var(--surface)}
.foot-grid{display:grid;gap:26px;grid-template-columns:1fr}
.foot-brand img{height:28px;width:auto;margin-bottom:12px}
.foot-brand p{max-width:40ch}
.foot-col h3{font-size:.75rem;text-transform:uppercase;letter-spacing:.13em;
  color:var(--muted);margin-bottom:.9em}
.foot-col ul{list-style:none;margin:0;padding:0;display:grid;gap:9px}
.foot-col a{text-decoration:none;color:var(--nav-text);font-size:.94rem}
.foot-col a:hover{color:var(--accent)}
.foot-legal{margin-top:32px;padding-top:22px;border-top:1px solid var(--line)}
.foot-legal p{max-width:78ch}

@media (min-width:720px){
  .proof{grid-template-columns:repeat(3,1fr)}
  .cards-two{grid-template-columns:repeat(2,1fr)}
  .cards-three{grid-template-columns:repeat(2,1fr)}
  .foot-grid{grid-template-columns:1.4fr 1fr 1fr 1fr}
  .band-inner{grid-template-columns:1.5fr 1fr;align-items:center}
}
@media (min-width:960px){
  .nav-desktop{display:flex}
  .header-cta{display:flex}
  .nav-mobile{display:none}
  .cards-three{grid-template-columns:repeat(3,1fr)}
  .brand img{height:34px}
}
/* A THUMB NEEDS A TARGET, AND THE FOOTER LINKS DID NOT HAVE ONE.
   MEASURED 2026-09-07 on the live site at 390px and 360px: every marketing page
   presented 9 to 21 targets under 32px, and on every page the offenders were
   these footer anchors - 20px tall, because they carry no vertical padding at
   all. Their WIDTH was always fine; only the height failed.
   The repair is padding rather than type size, so the visible design is
   unchanged, and it is scoped to phones because desktop never had the problem:
   a pointer is not a thumb. 12px above and below a 20px line gives a 44px
   target, and the list gap is dropped to 0 so the footer does not also grow by
   the height of the gaps it no longer needs. */
@media (max-width:719px){
  .foot-col ul{gap:0}
  .foot-col a{display:block;padding:12px 0}
}
@media (prefers-reduced-motion:reduce){
  *{animation:none!important;transition:none!important}
}

.help-layout{display:grid;grid-template-columns:220px 1fr;gap:2rem;padding:2rem 0 3rem}
.help-nav ul{list-style:none;margin:0;padding:0;position:sticky;top:1rem}
.help-nav li{margin:0 0 .5rem}.help-nav a[aria-current=page]{font-weight:700}
.help-doc kbd.ctl{font-family:inherit;font-size:.95em;padding:.05em .4em;border:1px solid var(--line,#334155);border-radius:.35em;background:var(--panel,rgba(148,163,184,.08))}
.help-doc .chapter{margin:2rem 0}.help-doc .chapter-list{display:flex;flex-wrap:wrap;gap:.5rem 1.25rem;list-style:none;padding:0}
.help-doc blockquote{margin:1rem 0;padding:.75rem 1rem;border-left:3px solid var(--accent,#60a5fa)}
.glossary .gl-entry{margin:0 0 1rem}.glossary dt{font-weight:700}.glossary dd{margin:0}
@media (max-width:720px){.help-layout{grid-template-columns:1fr}.help-nav ul{position:static;display:flex;flex-wrap:wrap;gap:.5rem 1rem}}
