/* Components for the approved B+ Premium design. Colors come only from tokens.css. */
* { box-sizing: border-box; }
img, svg { max-width: 100%; }
a:hover { opacity: 0.85; }
.wrap { max-width: var(--max-width); margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--font-data); }
.eyebrow { font-family: var(--font-data); font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); margin: 0; }
.muted { color: var(--muted); }
.accent { color: var(--accent-text); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* header */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); font-weight: 800; font-stretch: var(--display-stretch); font-size: 18px; letter-spacing: 0.06em; text-transform: uppercase; }
.brand svg { stroke: var(--accent-fill); }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; font-size: 15px; font-weight: 500; }
.nav a { color: var(--muted); text-decoration: none; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 22px; border-radius: var(--radius-pill); background: var(--accent-fill); color: var(--on-accent); font-weight: 800; text-decoration: none; border: 0; font-family: inherit; font-size: 16px; cursor: pointer; }
.nav .btn { color: var(--on-accent); }
.btn-lg { min-height: 54px; padding: 0 28px; font-size: 17px; }

/* hero */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero .topo { position: absolute; inset: 0; width: 100%; height: 100%; stroke: var(--topo); }
.hero .wrap { position: relative; display: flex; flex-wrap: wrap; gap: 40px 64px; align-items: flex-end; padding-top: 56px; padding-bottom: 64px; }
.hero-main { flex: 999 1 560px; min-width: 0; }
.hero-stat { flex: 1 1 280px; }
.crumbs { font-family: var(--font-data); font-size: 13px; letter-spacing: 0.08em; color: var(--faint); margin: 0 0 18px; }
.crumbs a { color: var(--faint); text-decoration: none; }
h1.title { margin: 8px 0 0; font-weight: 900; font-stretch: var(--display-stretch); font-size: clamp(44px, 7vw, 88px); line-height: 0.95; letter-spacing: -0.01em; text-transform: uppercase; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; padding: 0; list-style: none; }
.chips li { border: 1px solid var(--line-strong); border-radius: var(--radius-pill); padding: 6px 14px; font-size: 14px; color: var(--text-2); }
.big-odds { margin: 6px 0 0; font-weight: 900; font-stretch: var(--display-stretch); font-size: clamp(56px, 8vw, 84px); line-height: 0.95; color: var(--accent-text); font-variant-numeric: tabular-nums; }

/* sections */
main.page { padding-top: 64px; padding-bottom: 64px; display: flex; flex-direction: column; gap: 64px; }
.insight { display: flex; flex-wrap: wrap; gap: 32px 64px; align-items: flex-start; }
.insight h2 { flex: 999 1 520px; min-width: 0; margin: 0; font-weight: 800; font-stretch: var(--heading-stretch); font-size: clamp(32px, 4.4vw, 50px); line-height: 1.06; letter-spacing: -0.01em; }
.tiles { flex: 1 1 300px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border-radius: var(--radius-tile); overflow: hidden; }
.tile { background: var(--surface); padding: 20px; }
.tile b { display: block; font-weight: 800; font-stretch: var(--display-stretch); font-size: 36px; line-height: 1; }
.tile span { display: block; margin-top: 6px; font-size: 14px; color: var(--muted); }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-panel); padding: 32px; }
.panel h2, .split h2 { margin: 0; font-weight: 800; font-stretch: var(--heading-stretch); font-size: 28px; line-height: 1.1; }
.panel-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 32px; margin-bottom: 26px; }
.legend { display: flex; gap: 20px; font-size: 14px; color: var(--muted); }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; background: var(--bar); margin-right: 8px; vertical-align: -1px; }
.legend i.dot { border-radius: 999px; background: var(--accent-fill); }

/* application chart */
.chart-scroll { overflow-x: auto; }
.bars { display: flex; align-items: flex-end; gap: 3px; height: 200px; min-width: 640px; }
.bar { flex: 1 1 0; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 4px; height: 100%; }
.bar .col { width: 100%; background: var(--bar); border-radius: 3px 3px 0 0; }
.bar.won .col { background: var(--bar-highlight); }
.bar .dot { width: 12px; height: 12px; border-radius: 999px; background: var(--accent-fill); }
.bar .n { font-family: var(--font-data); font-size: 12px; font-weight: 700; color: var(--accent-text); }
.axis { min-width: 640px; border-top: 1px solid var(--line-strong); display: flex; justify-content: space-between; padding-top: 10px; font-family: var(--font-data); font-size: 13px; color: var(--faint); }

/* paywall */
.calc { border: 1px solid var(--accent-fill); border-radius: var(--radius-panel); background: var(--surface); display: flex; flex-wrap: wrap; overflow: hidden; }
.calc > div { flex: 1 1 420px; padding: 40px; }
.calc .result { background: var(--surface-2); border-left: 1px solid var(--line); display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.calc h2 { margin: 8px 0 12px; font-weight: 900; font-stretch: var(--display-stretch); font-size: 42px; line-height: 1; text-transform: uppercase; }
.calc label { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 600; color: var(--text-2); }
.calc input { width: 140px; height: 56px; border: 1px solid var(--line-strong); border-radius: var(--radius-input); background: var(--bg); color: var(--text); padding: 0 16px; font-family: var(--font-body); font-weight: 800; font-size: 26px; }
.locked { margin: 0; font-weight: 900; font-stretch: var(--display-stretch); font-size: 72px; line-height: 1; color: var(--locked); }

/* trend + others */
.split { display: flex; flex-wrap: wrap; gap: 24px; }
.split > section { flex: 1 1 440px; }
.trend svg { display: block; width: 100%; height: auto; }
.trend .line { stroke: var(--accent-fill); }
.trend .pt { fill: var(--surface); stroke: var(--accent-fill); }
.trend .pt.last { fill: var(--accent-fill); }
.trend .base { stroke: var(--line-strong); }
.trend .val { fill: var(--text-2); font-family: var(--font-data); font-size: 15px; }
.trend .val.last { fill: var(--accent-text); font-weight: 700; }
.trend .yr { fill: var(--faint); font-family: var(--font-data); font-size: 13px; }
.rows a { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 48px; padding: 12px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--text); }
.rows a:last-child { border-bottom: 0; }
.rows b { font-weight: 800; font-stretch: var(--heading-stretch); font-size: 19px; white-space: nowrap; }

/* details */
dl.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px 32px; margin: 18px 0 0; }
dl.facts div { border-top: 1px solid var(--line); padding-top: 12px; }
dl.facts dt { font-family: var(--font-data); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); }
dl.facts dd { margin: 6px 0 0; color: var(--text-2); }

/* signup band */
.band { border-radius: var(--radius-panel); background: var(--accent-fill); color: var(--on-accent); padding: 40px; display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: flex-end; justify-content: space-between; }
.band h2 { margin: 0 0 8px; font-weight: 900; font-stretch: var(--display-stretch); font-size: 38px; line-height: 1; text-transform: uppercase; }
.band p { margin: 0; color: var(--band-text); }
.band form { flex: 1 1 420px; display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
.band label { flex: 1 1 240px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 700; }
.band input { height: 54px; border: 0; border-radius: var(--radius-pill); background: #FFF4EE; color: #0B0D0F; padding: 0 20px; font-size: 17px; font-family: inherit; }
.band button { height: 54px; padding: 0 28px; border: 0; border-radius: var(--radius-pill); background: #0B0D0F; color: #EDEBE6; font-weight: 800; font-size: 16px; font-family: inherit; cursor: pointer; }

/* index */
.cat { margin-top: 40px; }
.cat h2 { font-weight: 800; font-stretch: var(--heading-stretch); font-size: 26px; margin: 0 0 8px; }
.grid-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 0 32px; }

.site-footer { border-top: 1px solid var(--line); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; padding-top: 24px; padding-bottom: 24px; font-size: 13px; color: var(--faint); }

/* legal pages */
.legal { max-width: 760px; padding-top: 56px; padding-bottom: 72px; font-size: 17px; line-height: 1.65; color: var(--text-2); }
.legal .legal-title { margin: 10px 0 28px; font-weight: 900; font-stretch: var(--display-stretch); font-size: clamp(36px, 6vw, 56px); line-height: 1; text-transform: uppercase; color: var(--text); }
.legal h2 { margin: 40px 0 10px; font-weight: 800; font-stretch: var(--heading-stretch); font-size: 22px; line-height: 1.2; color: var(--text); }
.legal p { margin: 0 0 14px; }
.legal ul { margin: 0 0 14px; padding-left: 22px; }
.legal li { margin: 0 0 8px; }
.legal a { color: var(--accent-text); }
.site-footer a { color: var(--faint); }
.band .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.band .signup-msg { flex: 1 1 100%; margin: 0; min-height: 1.2em; font-weight: 700; color: var(--band-text); }
.band button:disabled { opacity: 0.6; cursor: default; }
.legal table { width: 100%; border-collapse: collapse; margin: 8px 0 18px; font-variant-numeric: tabular-nums; }
.legal th, .legal td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.legal th { font-family: var(--font-data); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); font-weight: 500; }

/* how the draw works */
.how-hero .wrap { padding-bottom: 56px; }
.how-lead { margin: 22px 0 0; max-width: 30ch; font-size: clamp(20px, 2.2vw, 26px); line-height: 1.35; color: var(--text-2); }
main.how { gap: 72px; }
.how h2 { margin: 0 0 14px; font-weight: 900; font-stretch: var(--display-stretch); font-size: clamp(32px, 4.4vw, 52px); line-height: 1; text-transform: uppercase; }
.how p { line-height: 1.55; }
.how strong { color: var(--accent-text); font-weight: 800; }
.how-cube { display: flex; flex-wrap: wrap; gap: 32px 64px; align-items: center; }
.how-copy { flex: 1 1 320px; font-size: 19px; color: var(--text-2); }
.cube-chart { flex: 2 1 520px; display: flex; flex-direction: column; gap: 14px; }
.cube-row { display: grid; grid-template-columns: 64px 1fr 72px; align-items: center; gap: 14px; }
.cube-pts { font-weight: 800; font-size: 17px; }
.cube-track { height: 34px; border-radius: 8px; background: var(--surface-2); overflow: hidden; }
.cube-bar { height: 100%; border-radius: 8px; background: var(--accent-fill); transform-origin: left; animation: cube-grow 1.1s cubic-bezier(.2,.7,.2,1) both; }
.cube-row:nth-child(2) .cube-bar { animation-delay: .08s } .cube-row:nth-child(3) .cube-bar { animation-delay: .16s }
.cube-row:nth-child(4) .cube-bar { animation-delay: .24s } .cube-row:nth-child(5) .cube-bar { animation-delay: .32s } .cube-row:nth-child(6) .cube-bar { animation-delay: .4s }
@keyframes cube-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .cube-bar { animation: none; } }
.cube-w { text-align: right; font-variant-numeric: tabular-nums; font-weight: 700; color: var(--text-2); }
.cube-note { margin: 4px 0 0; font-size: 14px; color: var(--faint); }
.rules { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 40px; border-top: 1px solid var(--line); padding-top: 48px; }
.rule h3 { margin: 22px 0 8px; font-weight: 800; font-stretch: var(--heading-stretch); font-size: 22px; line-height: 1.15; }
.rule p { margin: 0; color: var(--muted); }
.rule-visual { min-height: 96px; display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.rule-visual.cats { flex-direction: column; align-items: stretch; gap: 8px; }
.rule-visual.cats span { display: flex; justify-content: space-between; padding: 6px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius-pill); font-size: 15px; color: var(--text-2); }
.rule-visual.cats b { color: var(--accent-text); }
.rule-visual.group span, .rule-visual.reset span { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; border: 2px solid var(--line-strong); font-weight: 800; font-size: 20px; }
.rule-visual i { font-style: normal; font-size: 26px; color: var(--faint); padding: 0 4px; }
.rule-visual b { font-weight: 900; font-stretch: var(--display-stretch); font-size: 64px; line-height: 1; color: var(--accent-text); }
.catch { display: flex; flex-wrap: wrap; gap: 32px 64px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-panel); padding: 48px; }
.catch-copy { flex: 2 1 420px; font-size: 18px; color: var(--text-2); }
.catch-copy p { margin: 0 0 14px; }
.catch-stat { flex: 1 1 220px; }
.catch-stat b { display: block; font-weight: 900; font-stretch: var(--display-stretch); font-size: clamp(88px, 12vw, 150px); line-height: 0.9; color: var(--accent-text); font-variant-numeric: tabular-nums; }
.catch-stat span { display: block; margin-top: 10px; font-size: 17px; color: var(--muted); }
.text-link { color: var(--accent-text); font-weight: 700; }
.skip { display: flex; flex-wrap: wrap; gap: 40px 64px; align-items: center; }
.skip-copy { flex: 1 1 380px; }
.skip-lead { margin: 0 0 22px; font-size: 21px; color: var(--text); }
.skip-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; font-size: 17px; color: var(--text-2); }
.skip-list li { padding-left: 26px; position: relative; }
.skip-list li::before { content: ""; position: absolute; left: 0; top: .5em; width: 10px; height: 10px; border-radius: 50%; background: var(--accent-fill); }
.skip-list strong { color: var(--text); }
.preview { flex: 1 1 360px; background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius-panel); padding: 28px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.45); }
.preview-h { margin: 0 0 14px; font-size: 15px; color: var(--muted); }
.preview-h b { color: var(--text); }
.preview ol { margin: 0 0 22px; padding: 0; list-style: none; counter-reset: r; }
.preview li { counter-increment: r; display: grid; grid-template-columns: 28px 1fr auto; gap: 10px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.preview li::before { content: counter(r); font-weight: 800; color: var(--faint); }
.preview li b { font-weight: 900; color: var(--locked); letter-spacing: 1px; }
.fine p { margin: 0; max-width: 70ch; font-size: 14px; color: var(--faint); }
@media (max-width: 600px) { .catch { padding: 28px; } .cube-row { grid-template-columns: 52px 1fr 58px; gap: 10px; } }
.rule-visual.cats b { font-size: 15px; font-weight: 800; font-stretch: 100%; line-height: inherit; }
.preview-note { margin: -8px 0 18px; font-size: 13px; color: var(--faint); }
.value { display: flex; flex-wrap: wrap; gap: 32px 64px; align-items: center; padding: 8px 0 56px; margin-bottom: 40px; border-bottom: 1px solid var(--line); }
.value-copy { flex: 1 1 380px; }
.value-copy h2 { margin: 0 0 12px; font-weight: 900; font-stretch: var(--display-stretch); font-size: clamp(30px, 3.8vw, 44px); line-height: 1; text-transform: uppercase; }
.value-copy p { margin: 0 0 16px; font-size: 18px; line-height: 1.55; color: var(--text-2); max-width: 52ch; }
.value-list { flex: 1 1 360px; margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.value-list li { display: flex; flex-direction: column; gap: 2px; padding: 16px 0 16px 20px; border-left: 3px solid var(--accent-fill); }
.value-list b { font-weight: 800; font-size: 18px; }
.value-list span { color: var(--muted); }
.nw { white-space: nowrap; }
.swipe-hint { display: none; }
@media (max-width: 600px) {
  .site-header .wrap { flex-wrap: nowrap; padding-top: 14px; padding-bottom: 14px; }
  .brand { font-size: 16px; gap: 10px; }
  .nav { gap: 0; flex-wrap: nowrap; }
  .nav a:not(.btn) { display: none; }
  .nav .btn { min-height: 40px; padding: 0 16px; font-size: 15px; white-space: nowrap; }
  .catch-stat { order: -1; }
  .swipe-hint { display: block; margin: 0 0 8px; font-size: 13px; color: var(--faint); }
  .chart-scroll { -webkit-mask-image: linear-gradient(to right, #000 85%, transparent); mask-image: linear-gradient(to right, #000 85%, transparent); padding-right: 24px; }
  .trend .val { font-size: 24px; }
  .trend .yr { font-size: 22px; }
}
.diff { padding: 0 0 56px; margin-bottom: 40px; border-bottom: 1px solid var(--line); }
.diff-h { margin: 0 0 24px; font-weight: 800; font-stretch: var(--heading-stretch); font-size: 26px; }
.diff-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px 40px; }
.diff-grid b { display: block; font-weight: 900; font-stretch: var(--display-stretch); font-size: 21px; line-height: 1.1; text-transform: uppercase; color: var(--accent-text); margin-bottom: 8px; }
.diff-grid p { margin: 0; color: var(--text-2); line-height: 1.55; }
.value { margin-bottom: 48px; }
.locked-panel { position: relative; overflow: hidden; min-height: 340px; display: grid; place-items: center; }
.fake-chart { position: absolute; inset: 40px 40px 40px; display: flex; align-items: flex-end; gap: 4px; filter: blur(7px); opacity: .55; pointer-events: none; user-select: none; }
.fbar { flex: 1 1 0; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px; position: relative; }
.fbar div { width: 100%; background: var(--bar); border-radius: 3px 3px 0 0; }
.fbar i { position: absolute; bottom: 30%; width: 12px; height: 12px; border-radius: 50%; background: var(--accent-fill); }
.lock-card { position: relative; max-width: 440px; text-align: center; background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius-panel); padding: 30px 28px; box-shadow: 0 24px 50px -24px rgba(0,0,0,.4); }
.lock-card svg { stroke: var(--accent-fill); }
.lock-card h2 { margin: 10px 0 8px; }
.lock-card p { margin: 0 0 20px; color: var(--muted); line-height: 1.55; }
@media (max-width: 600px) { .fake-chart { inset: 24px 16px; } .lock-card { padding: 24px 20px; margin: 0 8px; } }

/* conversion */
.hero-sub { margin: 18px 0 0; max-width: 46ch; font-size: clamp(18px, 2vw, 22px); line-height: 1.45; color: var(--text-2); }
.hero-form { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 10px; max-width: 620px; }
.hero-form input[type=email] { flex: 1 1 260px; height: 56px; border: 1px solid var(--line-strong); border-radius: var(--radius-pill); background: var(--surface); color: var(--text); padding: 0 22px; font: inherit; font-size: 17px; }
.hero-form button { height: 56px; padding: 0 28px; border: 0; border-radius: var(--radius-pill); background: var(--accent-fill); color: var(--on-accent); font: inherit; font-weight: 800; font-size: 17px; cursor: pointer; }
.hero-form button:disabled { opacity: .6; }
.hero-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.hero-form .signup-msg { flex: 1 1 100%; margin: 4px 0 0 6px; font-size: 14px; color: var(--muted); min-height: 1.2em; }
.hero-cta-note { margin: 18px 0 14px; font-size: 15px; color: var(--text-2); }
.crumbs a:hover { color: var(--accent-text); }
input:focus-visible, button:focus-visible, a:focus-visible { outline: 3px solid var(--accent-fill); outline-offset: 2px; }
@media (max-width: 600px) { .hero-form button { flex: 1 1 100%; } }

/* category pages */
.cat-title { font-size: clamp(38px, 6vw, 76px); }
.cat-link { color: inherit; text-decoration: none; }
.cat-link:hover { color: var(--accent-text); }
.table-scroll { overflow-x: auto; }
.hunts-table { width: 100%; border-collapse: collapse; font-size: 16px; min-width: 520px; }
.hunts-table th { text-align: left; border-bottom: 1px solid var(--line-strong); padding: 0; }
.hunts-table th button { all: unset; cursor: pointer; display: block; padding: 10px 12px; font-family: var(--font-data); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.hunts-table th button:focus-visible { outline: 3px solid var(--accent-fill); }
.hunts-table th[aria-sort] button { color: var(--accent-text); }
.hunts-table th[aria-sort=ascending] button::after { content: " ↑"; } .hunts-table th[aria-sort=descending] button::after { content: " ↓"; }
.hunts-table td { padding: 14px 12px; border-bottom: 1px solid var(--line); color: var(--text-2); vertical-align: top; }
.hunts-table td a { color: var(--text); font-weight: 700; text-decoration: none; }
.hunts-table td a:hover { color: var(--accent-text); }
.hunts-table td.odds { font-weight: 800; color: var(--text); font-variant-numeric: tabular-nums; white-space: nowrap; }
.price-line { margin: 6px 0 10px; font-size: 20px; color: var(--muted); }
.price-line b { font-weight: 900; font-stretch: var(--display-stretch); font-size: 64px; color: var(--accent-text); line-height: 1; }
.price-line s { font-size: 24px; margin: 0 6px; }
.band p b { color: var(--on-accent); }
@media (max-width: 600px) { .hunts-table { min-width: 0; font-size: 15px; } .hunts-table .col-dates { display: none; } .hunts-table td, .hunts-table th button { padding-left: 6px; padding-right: 6px; } }
