/* UnderTack: PRIVATE prototype styles.
   Layout follows the racing-picks genre (track sidebar, race tables, saddle cloths, chance tags,
   light and dark modes). Colors and marks are our own: the sportsbook look picked Nov 13 2026 (look 11 in
   marketing\x\options): a black header, white pages and electric green (--hot), lettered in Archivo Expanded Black Italic. */

:root {
  color-scheme: light;
  --font: Roboto, "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: "Roboto Mono", Consolas, "Cascadia Mono", ui-monospace, Menlo, monospace;
  --bg: #ffffff;
  --bg-soft: #f4f6f8;
  --card: #ffffff;
  --text: #1b2026;
  --ink: #0b0f14;
  --muted: #5c6670;
  --line: #dde2e7;
  --header-bg: #07090c;
  --header-ink: #ffffff;
  --header-line: rgba(255, 255, 255, .16);
  --brand: #0e1319;
  --brand-2: #151c24;
  --brand-3: #1d2630;
  --brand-hi: #26313d;
  --on-brand: #ffffff;
  --on-brand-2: rgba(255, 255, 255, .76);
  --mint: #3dff8f;
  --cream: #eef1f4;
  --cream-2: #f6f8fa;
  --hot: #3dff8f;
  --hot-ink: #0a8a43;
  --accent: #087a3c;
  --link: #087a3c;
  --pill: #e8ecf0;
  --pill-ink: #4d5763;
  --good: #1d7f47;
  --good-bg: #e2f3e8;
  --bad: #b8382b;
  --bad-bg: #fbe9e6;
  --cta: #3dff8f;
  --cta-ink: #07090c;
  --top-row: rgba(61, 255, 143, .14);
  --c-hi: #1f7a55;  --c-hi-ink: #ffffff;
  --c-mid: #62b08e; --c-mid-ink: #0b2219;
  --c-lo: #c4e3d3;  --c-lo-ink: #12301f;
  --c-min: #e6ece8; --c-min-ink: #55605a;
  --surf-dirt: #a34d0b;
  --surf-turf: #15803d;
  --surf-synth: #1d4ed8;
  --shadow: 0 1px 2px rgba(8, 12, 16, .06), 0 2px 8px rgba(8, 12, 16, .04);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #111519;
    --bg-soft: #171c21;
    --card: #1a2026;
    --text: #e4e8ec;
    --ink: #ffffff;
    --muted: #9aa4ae;
    --line: #2a323b;
    --brand: #0a0d11;
    --brand-2: #10151b;
    --brand-3: #1a222b;
    --brand-hi: #222c37;
    --cream: #20272f;
    --cream-2: #1b2128;
    --hot-ink: #3dff8f;
    --accent: #3dff8f;
    --link: #5cf2a0;
    --pill: #252d36;
    --pill-ink: #cdd4db;
    --good: #3cc47f;
    --good-bg: rgba(60, 196, 127, .14);
    --bad: #f07565;
    --bad-bg: rgba(240, 117, 101, .14);
    --top-row: rgba(61, 255, 143, .08);
    --c-hi: #3fb489;  --c-hi-ink: #06140e;
    --c-mid: #2b7a5b; --c-mid-ink: #ffffff;
    --c-lo: #21473a;  --c-lo-ink: #d6efe3;
    --c-min: #29312d; --c-min-ink: #b4c0b9;
    --surf-dirt: #f59e0b;
    --surf-turf: #4ade80;
    --surf-synth: #7aa7ff;
    --shadow: none;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #111519;
  --bg-soft: #171c21;
  --card: #1a2026;
  --text: #e4e8ec;
  --ink: #ffffff;
  --muted: #9aa4ae;
  --line: #2a323b;
  --brand: #0a0d11;
  --brand-2: #10151b;
  --brand-3: #1a222b;
  --brand-hi: #222c37;
  --cream: #20272f;
  --cream-2: #1b2128;
  --hot-ink: #3dff8f;
  --accent: #3dff8f;
  --link: #5cf2a0;
  --pill: #252d36;
  --pill-ink: #cdd4db;
  --good: #3cc47f;
  --good-bg: rgba(60, 196, 127, .14);
  --bad: #f07565;
  --bad-bg: rgba(240, 117, 101, .14);
  --top-row: rgba(61, 255, 143, .08);
  --c-hi: #3fb489;  --c-hi-ink: #06140e;
  --c-mid: #2b7a5b; --c-mid-ink: #ffffff;
  --c-lo: #21473a;  --c-lo-ink: #d6efe3;
  --c-min: #29312d; --c-min-ink: #b4c0b9;
  --surf-dirt: #f59e0b;
  --surf-turf: #4ade80;
  --surf-synth: #7aa7ff;
  --shadow: none;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 15px; line-height: 1.5; color: var(--text); background: var(--bg); }
h1, h2, h3 { line-height: 1.2; }
a { color: var(--link); }
button, input, select { font: inherit; }
#app:focus { outline: none; }
:focus-visible { outline: 3px solid var(--hot-ink); outline-offset: 2px; }
.topbar :focus-visible { outline-color: var(--hot); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.muted { color: var(--muted); }
.ic { width: 16px; height: 16px; display: inline-block; flex: none; vertical-align: -3px; }
.pos { color: var(--good); }
.neg { color: var(--bad); }
code { font-family: var(--mono); font-size: .92em; }

/* ---------- private banner ---------- */
.private-banner { background: var(--brand); color: var(--hot); font: 500 11.5px/1.35 var(--mono); letter-spacing: .07em; text-transform: uppercase; text-align: center; padding: 6px 16px; }

/* ---------- header ---------- */
.topbar { position: sticky; top: 0; z-index: 40; background: var(--header-bg); border-bottom: 3px solid var(--hot); }
.topbar-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; height: 68px; padding: 0 28px; max-width: 1640px; margin: 0 auto; }
.nav-left { display: flex; gap: 26px; }
.nav-left a { color: var(--header-ink); font-weight: 700; font-size: 15px; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.nav-right { display: flex; gap: 22px; align-items: center; justify-content: flex-end; }
.nav-right .nav-link { color: var(--header-ink); font: 500 13.5px var(--mono); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.nav-left a:hover, .nav-right .nav-link:hover,
.nav-left a[aria-current="page"], .nav-right .nav-link[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--hot); text-decoration-thickness: 3px; text-underline-offset: 9px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--header-ink); text-decoration: none; }
.logo-mark { display: block; flex: none; width: 12px; height: 26px; background: var(--hot); transform: skewX(-18deg); }
.logo-word { display: block; flex: none; width: auto; height: 20px; overflow: visible; }
.icon-btn { display: inline-grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 1px solid var(--header-line); border-radius: 8px; background: transparent; color: var(--header-ink); cursor: pointer; }
.icon-btn:hover { background: rgba(255, 255, 255, .08); }
.icon-btn svg { width: 20px; height: 20px; }
.menu-btn { display: none; }
.mobile-menu { display: grid; padding: 4px 16px 12px; border-top: 1px solid var(--header-line); background: var(--header-bg); }
.mobile-menu[hidden] { display: none; }
.mobile-menu a { padding: 11px 2px; border-bottom: 1px solid var(--header-line); color: var(--header-ink); font-weight: 700; letter-spacing: .03em; text-transform: uppercase; text-decoration: none; }
.mobile-menu a:last-child { border-bottom: 0; }
.mobile-menu a[aria-current="page"] { color: var(--hot); }
@media (max-width: 1220px) {
  .nav-left { gap: 16px; } .nav-right { gap: 14px; }
  .nav-left a { font-size: 13.5px; } .nav-right .nav-link { font-size: 12px; letter-spacing: .05em; }
  .logo { gap: 9px; } .logo-mark { width: 10px; height: 22px; } .logo-word { height: 17px; }
}
@media (max-width: 1000px) {
  .topbar-row { grid-template-columns: 1fr auto; height: 58px; padding: 0 16px; }
  .nav-left, .nav-right .nav-link { display: none; }
  .menu-btn { display: inline-grid; }
}
@media (max-width: 400px) {
  .logo { gap: 8px; } .logo-mark { width: 9px; height: 19px; } .logo-word { height: 15px; }
}

/* ---------- app shell: sidebar + content ---------- */
.shell { display: grid; grid-template-columns: 272px minmax(0, 1fr); min-height: calc(100vh - 72px); }
.side { background: var(--brand); color: var(--on-brand); padding: 20px 18px 32px; }
.side-btn.side-toggle { display: none; }
.side-clock { display: flex; justify-content: space-between; align-items: baseline; padding: 2px 4px 0; font: 500 15px var(--mono); letter-spacing: .08em; }
.side-clock .replay { color: var(--hot); font-size: 12px; text-transform: uppercase; }
.side-rail { height: 6px; margin: 16px 4px 18px; border-top: 1px solid rgba(255, 255, 255, .3); border-bottom: 1px solid rgba(255, 255, 255, .3); }
.side-btn { display: flex; align-items: center; gap: 11px; width: 100%; margin: 0 0 8px; padding: 13px 14px; border: 0; border-radius: 6px; background: var(--brand-3); color: var(--on-brand); font-weight: 700; font-size: 13.5px; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; text-align: left; cursor: pointer; }
.side-btn:hover { background: var(--brand-hi); }
.side-btn[aria-current="page"] { background: var(--brand-hi); box-shadow: inset 4px 0 0 var(--hot); }
.side-btn .ic { color: var(--hot); }
.side-btn .chev { margin-left: auto; display: inline-flex; }
.side-btn .chev .ic { color: var(--mint); transition: transform .15s; }
.side-group > summary { list-style: none; }
.side-group > summary::-webkit-details-marker { display: none; }
.side-group[open] > summary { border-radius: 6px 6px 0 0; margin-bottom: 0; }
.side-group[open] > summary .chev .ic { transform: rotate(180deg); }
.side-tracks { margin: 0 0 8px; padding: 6px 0 8px; background: var(--brand-2); border-radius: 0 0 6px 6px; }
.side-track { display: flex; align-items: center; gap: 10px; padding: 8px 14px; color: var(--on-brand); font-weight: 700; font-size: 12.5px; letter-spacing: .03em; text-transform: uppercase; text-decoration: none; }
.side-track:hover { background: rgba(255, 255, 255, .07); }
.side-track[aria-current="page"] { color: var(--hot); }
.side-track .ic { width: 13px; height: 13px; color: var(--mint); }
.side-track .n { margin-left: auto; font: 500 12px var(--mono); color: var(--on-brand-2); white-space: nowrap; }
.side-empty { margin: 0; padding: 8px 14px; color: var(--on-brand-2); font-size: 13px; }
.side-ctl { display: grid; gap: 8px; margin-top: 14px; padding: 14px; border-radius: 6px; background: var(--brand-2); }
.side-ctl .lbl { font: 500 11.5px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--on-brand-2); }
.seg { display: inline-flex; width: max-content; border: 1px solid rgba(255, 255, 255, .32); border-radius: 6px; overflow: hidden; }
.seg button { padding: 7px 12px; border: 0; background: transparent; color: var(--on-brand); font-weight: 700; font-size: 12px; letter-spacing: .05em; text-transform: uppercase; cursor: pointer; }
.seg button + button { border-left: 1px solid rgba(255, 255, 255, .2); }
.seg button[aria-pressed="true"] { background: var(--cta); color: var(--cta-ink); }
.seg.on-light { border-color: var(--line); }
.seg.on-light button { color: var(--ink); }
.seg.on-light button + button { border-left-color: var(--line); }
.seg.on-light button[aria-pressed="true"] { color: var(--cta-ink); }
.content { min-width: 0; padding: 30px 40px 64px; }
.content-inner { max-width: 1100px; }
.content-pad { max-width: 900px; margin: 40px auto; padding: 0 16px; }
@media (max-width: 1000px) {
  .shell { grid-template-columns: 1fr; min-height: 0; }
  .side { padding: 10px 16px 12px; }
  .side-btn.side-toggle { display: flex; margin: 0; }
  .side-body { display: none; padding-top: 12px; }
  .side.open .side-body { display: block; }
  .side.open .side-toggle .chev .ic { transform: rotate(180deg); }
  .content { padding: 20px 16px 48px; }
}

/* ---------- page headings ---------- */
.page-head { display: flex; align-items: center; gap: 14px; margin: 0 0 4px; }
.page-head .head-ic { width: 36px; height: 36px; color: var(--accent); }
.page-head h1 { margin: 0; font-size: 28px; font-weight: 800; letter-spacing: .01em; text-transform: uppercase; color: var(--ink); }
.page-head h1 a { color: inherit; text-decoration: none; }
.page-head h1 a:hover { text-decoration: underline; text-decoration-color: var(--hot-ink); text-decoration-thickness: 3px; }
.page-sub { margin: 4px 0 20px; font-size: 14px; font-weight: 600; color: var(--muted); }
.sec-title { display: flex; align-items: center; gap: 10px; margin: 34px 0 12px; font-size: 17px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; color: var(--ink); }
.sec-title .ic { width: 18px; height: 18px; color: var(--accent); }
.sec-title .aside { margin-left: auto; font-size: 13px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--muted); }
.sec-title.center { justify-content: center; }
.note { font-size: 13.5px; color: var(--muted); }
.note a { font-weight: 700; }
@media (max-width: 600px) { .page-head h1 { font-size: 22px; } .page-head .head-ic { width: 28px; height: 28px; } }

/* ---------- buttons and chips ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border: 2px solid transparent; border-radius: 6px; font-weight: 800; font-size: 15px; letter-spacing: .05em; text-transform: uppercase; text-decoration: none; cursor: pointer; }
.btn-cta { background: var(--cta); color: var(--cta-ink); }
.btn-cta:hover { filter: brightness(1.07); }
.btn-ghost { border-color: rgba(255, 255, 255, .6); background: transparent; color: #ffffff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .09); }
.btn-line { border-color: var(--line); background: var(--card); color: var(--ink); }
.btn-line:hover { border-color: var(--accent); }
.btn:disabled { opacity: .6; cursor: progress; }
.plan-btn.is-on { cursor: default; opacity: .75; }
.notice { max-width: 900px; margin: 16px auto; }
.welcome { padding: 20px 0 50px; }
.welcome .center, p.center { text-align: center; }
.setting .signin { flex: 1 1 340px; max-width: 460px; margin: 0; }
.setting .sent { flex: 1 1 340px; margin: 0; color: var(--ink); font-weight: 700; }
.setting .sent .ic { color: var(--accent); vertical-align: -2px; }
.chip-btn { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 6px; background: var(--card); color: var(--ink); font-weight: 700; font-size: 13px; text-decoration: none; cursor: pointer; white-space: nowrap; }
.chip-btn:hover { border-color: var(--accent); }
.date-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 16px; }

/* ---------- tables ---------- */
.tbl-wrap { position: relative; overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 0 6px; border: 1px solid var(--line); border-radius: 6px; background: var(--card); }
.tbl { width: 100%; border-collapse: collapse; font-size: 14.5px; font-variant-numeric: tabular-nums; }
.tbl th { padding: 12px 14px; border-bottom: 2px solid var(--accent); background: var(--cream); color: var(--ink); font-size: 12px; font-weight: 800; letter-spacing: .06em; text-align: left; text-transform: uppercase; white-space: nowrap; }
.tbl td { padding: 13px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl tbody tr:last-child td { border-bottom: 0; }
.tbl .num, .tbl th.num { text-align: right; }
.tbl.compact th { padding: 10px 12px; }
.tbl.compact td { padding: 9px 12px; }
.tbl tr[data-href] { cursor: pointer; }
.tbl tr[data-href]:hover td { background: var(--bg-soft); }
.tbl tr.win-row td { background: var(--good-bg); }
.race-no a, .tbl td > a.row-link { color: var(--ink); font-weight: 800; text-decoration: none; white-space: nowrap; }
.race-no a { text-transform: uppercase; }
.race-no a:hover, .tbl td > a.row-link:hover { text-decoration: underline; text-decoration-color: var(--hot-ink); text-decoration-thickness: 2px; }
.horse { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); }
.post-pill { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--pill); color: var(--pill-ink); font-weight: 700; font-size: 12.5px; white-space: nowrap; }
.th-btn { padding: 0; border: 0; background: none; color: inherit; font: inherit; letter-spacing: inherit; text-transform: inherit; cursor: pointer; }
.th-btn[aria-pressed="true"] { text-decoration: underline; text-decoration-color: var(--hot-ink); text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* ---------- saddle cloths (standard program colors) ---------- */
.cloth { display: inline-flex; align-items: center; justify-content: center; flex: none; min-width: 22px; height: 22px; padding: 0 5px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .22); font-size: 11.5px; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.c0  { background: #9aa3a0; color: #ffffff; }
.c1  { background: #d7262e; color: #ffffff; }
.c2  { background: #ffffff; color: #111111; box-shadow: inset 0 0 0 1.5px #9aa3a0; }
.c3  { background: #1f5fbf; color: #ffffff; }
.c4  { background: #f5d000; color: #111111; }
.c5  { background: #1e8b3a; color: #ffffff; }
.c6  { background: #111111; color: #f5d000; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }
.c7  { background: #f57c00; color: #111111; }
.c8  { background: #f48fb1; color: #111111; }
.c9  { background: #2ec4d6; color: #111111; }
.c10 { background: #6a2c91; color: #ffffff; }
.c11 { background: #9e9e9e; color: #b71c1c; }
.c12 { background: #b9d532; color: #111111; }
.c13 { background: #6d4c41; color: #ffffff; }
.c14 { background: #7b1f3a; color: #f5d000; }
.c15 { background: #c8b48a; color: #111111; }
.c16 { background: #9fc5e8; color: #b71c1c; }
.c17 { background: #1a2a6c; color: #ffffff; }
.c18 { background: #1b5e20; color: #f5d000; }
.c19 { background: #0d3b8c; color: #f8bbd0; }
.c20 { background: #b0186b; color: #f5d000; }

/* ---------- chance tags, stars, labels ---------- */
.chance { display: inline-block; min-width: 50px; padding: 3px 7px; border-radius: 4px; font-size: 12.5px; font-weight: 800; text-align: center; font-variant-numeric: tabular-nums; }
.chance.hi  { background: var(--c-hi);  color: var(--c-hi-ink); }
.chance.mid { background: var(--c-mid); color: var(--c-mid-ink); }
.chance.lo  { background: var(--c-lo);  color: var(--c-lo-ink); }
.chance.min { background: var(--c-min); color: var(--c-min-ink); }
.stars { color: var(--hot-ink); font-size: 15px; letter-spacing: 1px; white-space: nowrap; }
.stars .off { color: var(--line); }
.tag { display: inline-block; padding: 2px 7px; border-radius: 4px; font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; vertical-align: 1px; white-space: nowrap; }
.tag-free { background: var(--good); color: #ffffff; }
.tag-value { background: var(--good-bg); color: var(--good); box-shadow: inset 0 0 0 1px currentColor; }
.tag-scr { background: #d7262e; color: #ffffff; }
.tag-won { background: var(--good); color: #ffffff; }
.tag-lost { background: var(--pill); color: var(--pill-ink); }
.tag-best { background: var(--hot); color: var(--cta-ink); }
.tag-top { background: var(--brand-3); color: #ffffff; }
.tag-long { background: #6a2c91; color: #ffffff; }
.tag-stk { background: var(--brand); color: var(--hot); }
.tag-against { background: var(--cream); color: var(--ink); box-shadow: inset 0 0 0 1px var(--hot-ink); }
.kinds { display: inline-flex; flex-wrap: wrap; gap: 4px; }
.lock-mark { display: inline-flex; align-items: center; color: var(--muted); }
.small { font-size: 12.5px; }
.paid { color: var(--good); font-weight: 800; }
.hlink { color: inherit; text-decoration: none; }
.hlink:hover { text-decoration: underline; text-decoration-color: var(--hot-ink); text-decoration-thickness: 2px; }
.stk-name { color: var(--ink); }

/* ---------- running styles and the pace read ---------- */
.style { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 4px; color: #ffffff; font-size: 11.5px; font-weight: 800; line-height: 1; }
.st-E { background: #c2410c; }
.st-P { background: #a16207; }
.st-S { background: #1d4ed8; }
.pace-box { margin: 0 0 16px; padding: 14px 16px; border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 6px; background: var(--card); }
.pace-box h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; color: var(--ink); font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.pace-box h3 .ic { color: var(--accent); }
.pace-box p { margin: 0; font-size: 14.5px; line-height: 1.9; }
.pace-box .horse { vertical-align: middle; }
.pace-box .legend { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; margin-top: 8px; color: var(--muted); font-size: 12.5px; line-height: 1.4; }
.pace-box .legend .why { flex-basis: 100%; }

/* ---------- winners and payoffs ---------- */

/* ---------- horse search ---------- */
.search-box { max-width: 560px; }
.search-box input, .home-search input { width: 100%; padding: 12px 14px; border: 2px solid var(--line); border-radius: 8px; background: var(--card); color: var(--text); font-size: 16px; }
.search-box input:focus, .home-search input:focus { border-color: var(--accent); }
.hits { margin-top: 14px; }
.hits > .muted { margin: 4px 2px; }
.home-search { display: flex; gap: 8px; max-width: 560px; margin: 0 auto 18px; }
.home-search input { flex: 1; min-width: 0; }
.home-search .btn { padding: 10px 16px; font-size: 13.5px; }

/* ---------- day page ---------- */
.track-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.track-card { display: block; padding: 14px 16px; border: 1px solid var(--line); border-radius: 6px; background: var(--card); box-shadow: var(--shadow); color: var(--text); text-decoration: none; transition: border-color .15s; }
.track-card:hover { border-color: var(--accent); }
.track-card h3 { margin: 0 0 4px; font-size: 15.5px; font-weight: 800; color: var(--ink); }
.track-card .meta { font-size: 12.5px; color: var(--muted); }
.track-card .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.empty { padding: 28px 10px; color: var(--muted); text-align: center; }
.loading { padding: 60px 16px; color: var(--muted); text-align: center; }

/* ---------- race page ---------- */
.race-line { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 6px 0 4px; }
.race-label { font-size: 15px; font-weight: 800; font-style: italic; text-transform: uppercase; color: var(--ink); }
.race-tabs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 16px 0 14px; }
.race-tabs a { display: inline-grid; place-items: center; min-width: 38px; height: 34px; padding: 0 8px; border-radius: 6px; background: var(--pill); color: var(--ink); font-size: 13.5px; font-weight: 700; text-decoration: none; }
.race-tabs a:hover { background: var(--line); }
.race-tabs a[aria-current="page"] { background: var(--hot); color: #07090c; }
.race-tabs a.next { background: none; color: var(--link); padding: 0 6px; white-space: nowrap; }
.projected { margin: 0 0 16px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 6px; background: var(--cream-2); font-size: 15px; }
.projected .horse { vertical-align: middle; }
.rcard { margin: 0 0 20px; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: var(--card); box-shadow: var(--shadow); }
.rcard-head { display: flex; align-items: center; gap: 12px; padding: 16px 18px 4px; }
.rcard-head h2 { margin: 0; font-size: 18px; font-weight: 800; color: var(--ink); }
.rcard-head .stars { margin-left: auto; }
.rcard-info { display: flex; flex-wrap: wrap; gap: 4px 26px; padding: 8px 18px 12px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.rcard-info b { color: var(--ink); }
.rcard-info b.surf-dirt { color: var(--surf-dirt); }
.rcard-info b.surf-turf { color: var(--surf-turf); }
.rcard-info b.surf-synth { color: var(--surf-synth); }
.rcard-desc { margin: 0; padding: 12px 18px; border-bottom: 1px solid var(--line); font-size: 14px; }
.tbl-scroll { position: relative; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.rank-tbl { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.rank-tbl th { padding: 10px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12px; font-weight: 700; text-align: left; white-space: nowrap; }
.rank-tbl td { padding: 9px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.rank-tbl tbody tr:last-child td { border-bottom: 0; }
.rank-tbl .rank { width: 50px; color: var(--muted); font-weight: 700; text-align: center; }
.rank-tbl .hname { color: var(--ink); font-weight: 800; letter-spacing: .01em; text-transform: uppercase; }
.rank-tbl tr.top td { background: var(--top-row); }
.rank-tbl tr.scr td { color: var(--muted); }
.rank-tbl tr.scr .hname { color: var(--muted); text-decoration: line-through; }
.exp { display: inline-grid; place-items: center; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 6px; background: transparent; color: var(--muted); cursor: pointer; }
.exp:hover { background: var(--bg-soft); color: var(--ink); }
.exp .ic { transition: transform .15s; }
.exp[aria-expanded="true"] .ic { transform: rotate(90deg); }
.detail-row td { padding: 12px 18px 14px; background: var(--bg-soft); white-space: normal; }
.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px 18px; margin: 0; }
.facts div { min-width: 0; }
.facts dt { color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.facts dd { margin: 2px 0 0; color: var(--ink); font-size: 13.5px; font-weight: 600; }
.trip { margin: 10px 0 0; font-size: 13.5px; }
.lock-cta { padding: 22px 22px 18px; border-top: 4px solid var(--hot); background: var(--brand); color: var(--on-brand); text-align: center; }
.lock-cta.box { margin: 8px 0 20px; border-radius: 8px; }
.lock-cta > .ic { display: block; width: 22px; height: 22px; margin: 0 auto 6px; color: var(--hot); }
.lock-cta h3 { margin: 0 0 6px; font-size: 18px; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; }
.lock-cta p { max-width: 540px; margin: 0 auto 14px; color: var(--on-brand-2); font-size: 14px; }
.lock-cta .fine { margin: 10px auto 0; font-size: 12px; }
.picks { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin: 0 0 12px; }
.pick-box { padding: 14px 16px; border: 1px solid var(--line); border-radius: 6px; background: var(--cream-2); }
.pick-box h3 { margin: 0 0 8px; color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.pick-box p { margin: 0 0 4px; font-size: 14.5px; }
.pick-box .cloths { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 5px; }

/* ---------- record ---------- */
.hero-fig { color: var(--ink); font-size: 60px; font-weight: 700; line-height: 1; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; margin: 0 0 8px; }
.kpi { padding: 16px 18px; border: 1px solid var(--line); border-radius: 8px; background: var(--card); box-shadow: var(--shadow); }
.kpi .label { color: var(--muted); font-size: 13px; font-weight: 600; }
.kpi .value { margin: 4px 0 2px; color: var(--ink); font-size: 30px; font-weight: 700; line-height: 1.15; }
.kpi .value small { color: var(--muted); font-size: 14px; font-weight: 600; }
.kpi .itm { margin-top: 2px; color: var(--good); font-size: 13.5px; font-weight: 700; }
.kpi .sub { margin-top: 2px; color: var(--muted); font-size: 12.5px; }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 22px; }
.two-col > * { min-width: 0; }
.how { margin: 28px 0 0; padding: 16px 18px; border: 1px solid var(--line); border-radius: 8px; background: var(--cream-2); font-size: 14px; }
.how h2 { margin: 0 0 8px; color: var(--ink); font-size: 15px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; }
.how p { margin: 0 0 8px; }
@media (max-width: 1100px) { .two-col { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) { .hero-stat { grid-template-columns: 1fr; } .hero-fig { font-size: 48px; } }

/* ---------- ticket builder ---------- */
.tk-controls { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 14px; margin: 0 0 14px; padding: 16px; border: 1px solid var(--line); border-radius: 8px; background: var(--cream-2); }
.field { display: grid; gap: 4px; color: var(--muted); font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.field select, .field input { min-width: 128px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 6px; background: var(--card); color: var(--text); font-size: 14px; font-weight: 600; letter-spacing: 0; text-transform: none; }
.fills { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 14px; }
.legs { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.leg { overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: var(--card); }
.leg-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 8px; padding: 10px 12px; background: var(--cream); color: var(--ink); }
.leg-head b { font-size: 13.5px; letter-spacing: .03em; text-transform: uppercase; }
.leg-head span { color: var(--muted); font-size: 12px; }
.leg-row { display: flex; align-items: center; gap: 8px; padding: 7px 12px; border-top: 1px solid var(--line); font-size: 13.5px; cursor: pointer; }
.leg-row:hover { background: var(--bg-soft); }
.leg-row input { width: 16px; height: 16px; margin: 0; accent-color: var(--accent); }
.leg-row .nm { flex: 1; min-width: 0; overflow: hidden; color: var(--ink); font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.leg-row .ml { width: 42px; color: var(--muted); font-size: 12.5px; text-align: right; }
.tk-sum { position: sticky; bottom: 0; z-index: 5; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; margin-top: 16px; padding: 14px 18px; border-top: 4px solid var(--hot); border-radius: 8px 8px 0 0; background: var(--brand); color: var(--on-brand); }
.tk-sum .k { display: block; color: var(--on-brand-2); font: 500 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.tk-sum .v { color: #ffffff; font-size: 18px; font-weight: 800; }
.tk-sum .v.gold { color: var(--hot); }

/* ---------- landing pages ---------- */
.landing { max-width: 1640px; margin: 0 auto; padding: 0 28px 40px; }
.hero { position: relative; display: grid; place-items: center; min-height: 440px; margin: 22px 0 0; overflow: hidden; border-radius: 10px; background: #07090c; color: #ffffff; text-align: center; }
.track-art { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-inner { position: relative; max-width: 920px; padding: 56px 20px 80px; }
.kicker { margin: 0 0 14px; color: var(--hot); font: 500 12.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.hero h1 { margin: 0 0 16px; font-size: clamp(30px, 4.4vw, 54px); font-weight: 800; line-height: 1.08; letter-spacing: .01em; text-transform: uppercase; text-shadow: 0 2px 14px rgba(0, 0, 0, .3); }
.hero h1 span { color: var(--hot); }
.hero-sub { max-width: 620px; margin: 0 auto 26px; color: rgba(255, 255, 255, .88); font-size: 17px; }
.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.stat-strip { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 1100px; margin: -38px auto 0; overflow: hidden; border: 1px solid var(--line); border-top: 4px solid var(--hot); border-radius: 8px; background: var(--card); box-shadow: 0 6px 22px rgba(8, 12, 16, .12); }
.stat-strip > div { display: grid; align-content: center; gap: 2px; padding: 16px 18px; text-align: center; }
.stat-strip > div + div { border-left: 1px solid var(--line); }
.stat-strip b { color: var(--ink); font-size: 30px; font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat-strip span { color: var(--muted); font-size: 13px; font-weight: 600; }
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: 1240px; margin: 44px auto; }
.features > h2 { grid-column: 1 / -1; margin: 0 0 4px; color: var(--ink); font-size: 24px; font-weight: 800; text-align: center; text-transform: uppercase; }
.feature { display: block; padding: 26px 22px 24px; border-top: 4px solid var(--hot); border-radius: 8px; background: var(--cream); color: var(--text); text-align: center; text-decoration: none; transition: transform .15s; }
.feature:hover { transform: translateY(-2px); }
.feature .f-ic { display: grid; place-items: center; width: 48px; height: 48px; margin: 0 auto 12px; border-radius: 50%; background: var(--brand); color: var(--hot); }
.feature .f-ic .ic { width: 22px; height: 22px; }
.feature h3 { margin: 0 0 8px; color: var(--ink); font-size: 18px; font-weight: 800; font-style: italic; text-transform: uppercase; }
.feature p { margin: 0; font-size: 14px; }
.band { position: relative; margin: 0 0 28px; padding: 34px 40px 32px; overflow: hidden; border-radius: 10px; background: var(--brand); color: var(--on-brand); }
.band::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 9px; border-top: 3px solid var(--hot); border-bottom: 2px solid rgba(255, 255, 255, .22); }
.band h2 { margin: 4px 0 16px; font-size: 26px; font-weight: 800; letter-spacing: .02em; text-align: center; text-transform: uppercase; }
.band .note { margin: 14px 0 0; color: var(--on-brand-2); text-align: center; }
.feat-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 10px 24px; max-width: 900px; margin: 0 auto; padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, .15); border-bottom: 1px solid rgba(255, 255, 255, .15); }
.feat-row .name { color: var(--hot); font-weight: 800; letter-spacing: .02em; text-transform: uppercase; }
.feat-row .at { color: var(--on-brand-2); font-style: italic; }
.go { color: var(--hot); font-weight: 800; letter-spacing: .03em; text-decoration: none; text-transform: uppercase; white-space: nowrap; }
.go:hover { text-decoration: underline; }
.card-list { max-width: 900px; margin: 10px auto 40px; }
.card-list h2 { margin: 0 0 14px; color: var(--ink); font-size: 24px; font-weight: 800; text-align: center; text-transform: uppercase; }
.card-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 6px 24px; padding: 13px 4px; border-bottom: 1px solid var(--line); }
.card-row .name { color: var(--ink); font-weight: 800; text-transform: uppercase; }
.card-row .meta { color: var(--muted); font-size: 14px; }
.card-row .go { color: var(--link); }
.split { display: grid; grid-template-columns: 1fr 1fr; margin: 0 0 28px; overflow: hidden; border-radius: 10px; background: var(--brand); }
.split-text { position: relative; padding: 42px 44px; color: var(--on-brand); }
.split-text h2 { margin: 0 0 12px; font-size: 26px; font-weight: 800; text-transform: uppercase; }
.split-text p { margin: 0 0 18px; color: var(--on-brand-2); }
.checks { display: grid; gap: 10px; margin: 0 0 24px; padding: 0; list-style: none; }
.checks li { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.checks .ic { width: 20px; height: 20px; color: var(--mint); }
.split-stats { display: grid; grid-template-columns: 1fr 1fr; align-content: center; gap: 12px; padding: 28px; background: var(--cream); }
.center-link { margin: 0 0 36px; text-align: center; }
.page-title { margin: 34px 0 6px; color: var(--ink); font-size: 32px; font-weight: 800; text-align: center; text-transform: uppercase; }
.page-lede { max-width: 680px; margin: 0 auto 26px; color: var(--muted); text-align: center; }
.page-title + .pricing-band { margin-top: 20px; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 960px; margin: 18px auto 0; }
.plan { position: relative; display: flex; flex-direction: column; align-items: center; padding: 14px 22px 8px; text-align: center; }
.plan .plan-btn { margin-top: auto; padding: 10px 18px; font-size: 13.5px; }
.plan > p:last-of-type { margin-bottom: 18px; }
.plan + .plan { border-left: 1px solid rgba(255, 255, 255, .2); }
.plan h3 { margin: 0 0 6px; color: #ffffff; font-size: 21px; font-weight: 800; font-style: italic; text-transform: uppercase; }
.plan .price { color: var(--hot); font-size: 28px; font-weight: 800; line-height: 1.1; }
.plan .per { color: var(--on-brand-2); font-size: 14px; font-weight: 600; }
.plan p { margin: 8px 0 0; color: var(--on-brand-2); font-size: 14px; }
.band-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 26px; }
.compare-wrap { max-width: 900px; margin: 0 auto; }
.compare td:not(:first-child), .compare th:not(:first-child) { text-align: center; }
.yes { color: var(--good); font-weight: 800; white-space: nowrap; }
.no { color: var(--muted); }
.faq { max-width: 900px; margin: 0 auto 40px; }
.faq details { padding: 14px 4px; border-bottom: 1px solid var(--line); }
.faq summary { color: var(--ink); font-size: 15px; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; cursor: pointer; }
.faq details p { margin: 10px 0 0; }
.band .note a { color: var(--on-brand); }
/* terms, privacy and refunds (Nov 12 2026) */
.legal { max-width: 760px; margin: 0 auto; }
.legal .page-lede { margin-bottom: 6px; }
.legal-date { margin: 0 0 26px; color: var(--muted); font-size: 13px; text-align: center; }
.legal section { padding: 16px 0; border-top: 1px solid var(--line); }
.legal h2 { margin: 0 0 8px; color: var(--ink); font-size: 15px; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; }
.legal p { margin: 0 0 10px; line-height: 1.6; }
.legal section p:last-child { margin-bottom: 0; }
.legal-more { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; font-weight: 700; }
@media (max-width: 1000px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .stat-strip { grid-template-columns: 1fr 1fr; margin-top: -28px; }
  .stat-strip > div:nth-child(3) { border-left: 0; }
  .stat-strip > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .stat-strip b { font-size: 24px; }
}
@media (max-width: 900px) {
  .landing { padding: 0 16px 32px; }
  .hero { min-height: 380px; margin-top: 16px; }
  .band { padding: 28px 18px 24px; }
  .feat-row { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split-text { padding: 28px 20px; }
  .split-stats { padding: 16px; }
}
@media (max-width: 760px) {
  .plans { grid-template-columns: 1fr; }
  .plan + .plan { padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .2); border-left: 0; }
}
@media (max-width: 620px) {
  .features { grid-template-columns: 1fr; }
  .split-stats { grid-template-columns: 1fr; }
  .card-row { grid-template-columns: minmax(0, 1fr) auto; }
  .card-row .meta { grid-row: 2; grid-column: 1; }
  .card-row .go { grid-row: 1 / span 2; grid-column: 2; }
}

/* ---------- account ---------- */
.settings { display: grid; gap: 14px; max-width: 780px; }
.page-head + .settings { margin-top: 20px; }
.setting { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 8px; background: var(--card); }
.setting h3 { margin: 0 0 2px; color: var(--ink); font-size: 14.5px; font-weight: 800; text-transform: uppercase; }
.setting p { max-width: 500px; margin: 0; color: var(--muted); font-size: 13.5px; }

/* ---------- footer ---------- */
.site-footer { margin-top: 10px; padding: 30px 16px 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; text-align: center; }
.site-footer .links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 0; margin: 0; }
.site-footer .links a { padding: 0 14px; border-left: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.site-footer .links a:first-child { border-left: 0; }
.site-footer .links a:hover { text-decoration: underline; }
.err { padding: 18px; border: 1px solid var(--bad); border-radius: 8px; background: var(--bad-bg); color: var(--text); }

/* ---------- the free view: locked rows, the standing offer (Nov 12 2026) ---------- */
.locked-cell { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 13px; font-weight: 700; white-space: nowrap; }
.locked-cell .ic { color: var(--hot-ink); }
.tbl tr.locked-row td { background: var(--bg-soft); }
.more-locked { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 8px 0 18px; padding: 14px 18px; border-radius: 8px; background: var(--brand); color: var(--on-brand); }
.more-locked > .ic { width: 20px; height: 20px; color: var(--hot); }
.more-locked > span { flex: 1 1 260px; }
.more-locked .btn, .projected.is-locked .btn, .today-box .btn, .sub-bar .btn { padding: 9px 16px; font-size: 13px; }
.projected.is-locked { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; border-left: 4px solid var(--hot); }
.projected.is-locked > .ic { width: 18px; height: 18px; color: var(--hot-ink); }
.projected.is-locked > span { flex: 1 1 300px; }
.sub-bar { position: sticky; bottom: 0; z-index: 30; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 18px; max-width: 1100px; margin: 28px 0 0; padding: 12px 18px; border-top: 4px solid var(--hot); border-radius: 8px 8px 0 0; background: var(--brand); color: var(--on-brand); box-shadow: 0 -6px 22px rgba(8, 12, 16, .18); }
.sub-bar > span { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; }
.sub-bar > span > .ic { color: var(--hot); }
.side-sub { justify-content: center; width: 100%; margin: 6px 0 8px; padding: 12px 14px; font-size: 13px; }
.kpi-link { display: block; color: var(--text); text-decoration: none; transition: border-color .15s; }
.kpi-link:hover { border-color: var(--accent); }
.home-best { max-width: 1100px; margin: 0 auto 40px; }
.today-box { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 0 0 16px; padding: 14px 18px; border: 1px solid var(--line); border-left: 4px solid var(--hot); border-radius: 6px; background: var(--cream-2); }
.today-box > .ic { color: var(--accent); }
.today-box > span { flex: 1 1 300px; }
.tbl tr.today-row td { background: var(--good-bg); }
@media (max-width: 600px) {
  .sub-bar { padding: 10px 14px; }
  .sub-bar > span { font-size: 13px; }
  .sub-bar .btn { width: 100%; justify-content: center; }
}

/* ---------- chalk doesn't pay: the home strip and the Why UnderTack page (Nov 12 2026) ---------- */
.chalk-strip { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "head go" "figs figs"; align-items: center; gap: 16px 28px; max-width: 1100px; margin: 34px auto 0; padding: 22px 26px; border: 1px solid var(--line); border-left: 6px solid var(--hot); border-radius: 8px; background: var(--cream-2); }
.chalk-head { grid-area: head; }
.chalk-figs { grid-area: figs; }
.chalk-strip .go { grid-area: go; }
.chalk-head h2 { margin: 0 0 4px; color: var(--ink); font-size: 22px; font-weight: 800; text-transform: uppercase; }
.chalk-head p { margin: 0; color: var(--muted); font-size: 13.5px; }
.chalk-figs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 20px; }
.chalk-figs > div { display: grid; align-content: start; gap: 2px; }
.chalk-figs b, .why-figs b { color: var(--ink); font-size: 28px; font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; }
.chalk-figs span { color: var(--muted); font-size: 13px; font-weight: 600; }
.chalk-strip .go { color: var(--link); }
.why .kicker { margin: 30px 0 0; color: var(--accent); text-align: center; }
.why .page-title { margin-top: 8px; }
.why-head { margin-bottom: 20px; }
.why-figs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 1000px; margin: 0 auto; overflow: hidden; border: 1px solid var(--line); border-top: 4px solid var(--hot); border-radius: 8px; background: var(--card); box-shadow: var(--shadow); }
.why-figs > div { display: grid; align-content: center; gap: 4px; padding: 18px; text-align: center; }
.why-figs > div + div { border-left: 1px solid var(--line); }
.why-figs b { font-size: 34px; }
.why-figs span { color: var(--muted); font-size: 13px; font-weight: 600; }
.why-src { max-width: 820px; margin: 12px auto 0; color: var(--muted); font-size: 13px; text-align: center; }
.why-sec { max-width: 900px; margin: 40px auto 0; }
.why-sec > h2 { margin: 0 0 12px; color: var(--ink); font-size: 24px; font-weight: 800; text-align: center; text-transform: uppercase; }
.why-sec > p { max-width: 760px; margin: 0 auto 14px; font-size: 15.5px; line-height: 1.6; }
.ladder-wrap { max-width: 760px; margin: 18px auto; }
.ladder caption { padding: 12px 14px 10px; color: var(--ink); font-size: 13px; font-weight: 800; letter-spacing: .04em; text-align: left; text-transform: uppercase; }
.ladder td:first-child { font-weight: 700; white-space: nowrap; }
.ladder td.num { font-weight: 800; }
.ladder .bar-cell { width: 55%; }
.ladder tfoot td { border-top: 2px solid var(--line); border-bottom: 0; background: var(--bg-soft); }
.pay-bar { position: relative; display: block; height: 12px; overflow: hidden; border-radius: 3px; background: var(--bad-bg); box-shadow: inset 0 0 0 1px var(--line); }
.pay-bar > span { display: block; height: 100%; border-radius: 3px 0 0 3px; background: var(--accent); }
.why-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 18px; }
.why-card { padding: 24px 22px 22px; border-top: 4px solid var(--hot); border-radius: 8px; background: var(--cream); }
.why-card .f-ic { display: grid; place-items: center; width: 44px; height: 44px; margin: 0 0 12px; border-radius: 50%; background: var(--brand); color: var(--hot); }
.why-card .f-ic .ic { width: 20px; height: 20px; }
.why-card h3 { margin: 0 0 8px; color: var(--ink); font-size: 17px; font-weight: 800; text-transform: uppercase; }
.why-card p { margin: 0; font-size: 14.5px; line-height: 1.55; }
.why-cta { max-width: 900px; margin: 40px auto 0; }
.why-cta .note { margin: 0; font-size: 15px; }
.why-fine { max-width: 760px; margin: 16px auto 0; color: var(--muted); font-size: 12.5px; text-align: center; }
@media (max-width: 900px) {
  .chalk-strip { margin-top: 28px; padding: 18px; }
  .why-figs { grid-template-columns: 1fr 1fr; }
  .why-figs > div:nth-child(3) { border-left: 0; }
  .why-figs > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 620px) {
  .chalk-strip { grid-template-columns: 1fr; grid-template-areas: "head" "figs" "go"; }
  .chalk-figs { grid-template-columns: 1fr; }
  .why-figs b { font-size: 28px; }
  .why-cards { grid-template-columns: 1fr; }
  .ladder .bar-cell { width: 40%; }
  .ladder td:first-child { white-space: normal; }
}
