/* Bookline: editorial "financial paper" look. Warm paper, deep ink, one cobalt accent. */
:root {
  --paper: #f5f2ec;
  --paper-2: #ece7de;
  --surface: #ffffff;
  --ink: #0e1726;
  --ink-2: #334155;
  --muted: #5d6673;
  --line: #e0dad0;
  --line-strong: #cfc7ba;
  --accent: #2340d8;
  --accent-hover: #1a32b3;
  --accent-soft: #e7ebff;
  --up: #0a7a4a;
  --up-soft: #e3f4ec;
  --down: #b3361b;
  --down-soft: #fbe9e4;

  --serif: "Instrument Serif", Georgia, serif;
  --sans: Inter, system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;

  --r-sm: 8px; --r: 14px; --r-lg: 20px;
  --shadow: 0 1px 2px #0e17260d, 0 12px 32px -12px #0e172626;
  --shadow-lg: 0 2px 4px #0e17260a, 0 40px 80px -24px #0e172640;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
h1, h2, h3 { margin: 0; font-weight: 400; }
h1, h2 { font-family: var(--serif); letter-spacing: -.015em; line-height: 1.02; }
h1 { font-size: clamp(3rem, 6.4vw, 5.6rem); }
h2 { font-size: clamp(2.3rem, 4.6vw, 3.9rem); }
h1 em, h2 em { font-style: italic; color: var(--accent); }
h3 { font-family: var(--sans); font-weight: 600; font-size: 1.15rem; letter-spacing: -.01em; line-height: 1.3; }
p { margin: 0; }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -48px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: var(--r-sm); z-index: 100; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.kicker { font: 600 .78rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 20px; }
.kicker.light { color: #9fb0ff; }
.lead { font-size: 1.2rem; color: var(--ink-2); max-width: 34ch; margin-top: 24px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 12px; border: 0;
  font: 600 1rem var(--sans); cursor: pointer; white-space: nowrap; transition: background .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease); }
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .55; cursor: default; }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 8px 20px -8px #2340d880; }
.btn-accent:hover { background: var(--accent-hover); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #1f2b3d; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .92rem; border-radius: 10px; }
.btn-block { width: 100%; }
.link { color: var(--accent); font-weight: 600; }
.link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* nav */
.nav { position: sticky; top: 0; z-index: 50; background: #f5f2ecd9; backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.12rem; letter-spacing: -.02em; }
.logo svg { fill: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 32px; font-size: .95rem; font-weight: 500; }
.nav-links a:not(.btn) { color: var(--ink-2); transition: color .2s; }
.nav-links a:not(.btn):hover { color: var(--ink); }

/* hero */
.hero { padding: 72px 0 0; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(70% 60% at 70% 30%, #000 0%, transparent 75%); opacity: .55; }
.hero-grid > *, .feature > *, .access-grid > * { min-width: 0; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding-bottom: 72px; }
.badge { display: inline-flex; align-items: center; gap: 10px; font: 500 .85rem var(--sans); color: var(--ink-2); background: var(--surface); border: 1px solid var(--line);
  padding: 7px 14px 7px 12px; border-radius: 999px; margin-bottom: 28px; box-shadow: var(--shadow); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--up); box-shadow: 0 0 0 0 #0a7a4a66; animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px #0a7a4a00; } 100% { box-shadow: 0 0 0 0 #0a7a4a00; } }

.quick { display: flex; gap: 8px; margin-top: 36px; max-width: 480px; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 14px; padding: 6px; box-shadow: var(--shadow); transition: border-color .2s, box-shadow .2s; }
.quick:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.quick input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: 1rem var(--sans); color: var(--ink); padding: 0 12px; min-height: 48px; }
.quick-note { font-size: .88rem; color: var(--muted); margin-top: 12px; min-height: 1.3em; }
.quick-note.err { color: var(--down); }

/* odds board */
.board { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: 22px 22px 14px; }
.board-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.board-league { font: 500 .78rem var(--mono); color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }
.board-match { font-family: var(--serif); font-size: 1.9rem; line-height: 1.15; margin-top: 4px; }
.board-match span { font-style: italic; color: var(--muted); }
.live { display: inline-flex; align-items: center; gap: 8px; font: 500 .78rem var(--mono); color: var(--up); background: var(--up-soft); padding: 5px 10px; border-radius: 999px; }
.board-tabs { display: flex; gap: 4px; margin: 18px 0 8px; padding: 4px; background: var(--paper); border-radius: 10px; overflow-x: auto; scrollbar-width: none; }
.board-tabs button { flex: 1; white-space: nowrap; border: 0; background: transparent; font: 500 .85rem var(--sans); color: var(--muted); padding: 8px 10px; border-radius: 7px; cursor: pointer; min-height: 36px; transition: all .2s var(--ease); }
.board-tabs button.active { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px #0e17261f; }
.board-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.board-table th { font: 500 .72rem var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); text-align: right; padding: 10px 8px 8px; }
.board-table th:first-child { text-align: left; }
.board-table td { padding: 0 8px; height: 38px; border-top: 1px solid var(--paper-2); text-align: right; font: 500 .95rem var(--mono); }
.board-table td:first-child { text-align: left; font: 500 .92rem var(--sans); color: var(--ink-2); }
.board-table td .px { display: inline-block; min-width: 56px; padding: 3px 8px; border-radius: 6px; transition: background .6s var(--ease), color .6s var(--ease); }
.board-table td .px.best { background: var(--accent); color: #fff; }
.board-table td .px.up { background: var(--up-soft); color: var(--up); }
.board-table td .px.down { background: var(--down-soft); color: var(--down); }
.board-table td .px .arr { font-size: .7em; margin-left: 2px; }
.board-table tfoot td { border-top: 2px solid var(--ink); font-weight: 600; color: var(--ink); height: 44px; }
.board-table tfoot td:first-child { font-weight: 600; color: var(--ink); }
.board-table tfoot small { display: block; font: 500 .68rem var(--sans); color: var(--muted); margin-top: -2px; }
.board-caption { font: .72rem var(--mono); color: var(--muted); text-align: right; margin-top: 8px; }

/* ticker */
.ticker { position: relative; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ticker-track { display: flex; width: max-content; animation: scroll 50s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track span { font-family: var(--sans); font-weight: 600; letter-spacing: -.02em; font-size: 1.2rem; color: var(--ink-2); padding: 18px 36px; white-space: nowrap; display: inline-flex; align-items: center; gap: 36px; }
.ticker-track span::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--line-strong); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* numbers */
.numbers { padding: 72px 0; border-bottom: 1px solid var(--line); }
.numbers-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.numbers-grid > div { padding: 0 28px; border-left: 1px solid var(--line); }
.numbers-grid > div:first-child { border-left: 0; padding-left: 0; }
.numbers strong { display: block; font: 400 clamp(2.6rem, 4.2vw, 3.6rem)/1 var(--serif); letter-spacing: -.02em; }
.numbers span { display: block; color: var(--muted); margin-top: 10px; font-size: .98rem; }

/* sections */
.section { padding: 128px 0; }
.section-head { max-width: 820px; margin-bottom: 80px; }

/* features */
.feature { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: center; padding: 56px 0; border-top: 1px solid var(--line); }
.feature.reverse .feature-copy { order: 2; }
.feature-num { display: block; font: 500 .85rem var(--mono); color: var(--accent); margin-bottom: 18px; }
.feature h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.9rem, 2.8vw, 2.5rem); line-height: 1.1; letter-spacing: -.01em; }
.feature p { color: var(--ink-2); margin-top: 18px; max-width: 46ch; }
.ticks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 30px; color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%; background: var(--accent-soft)
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232340d8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center/12px no-repeat; }
.feature-visual { padding: 28px; }
.mini-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-weight: 600; margin-bottom: 20px; }
.mini-head .muted { font: 500 .78rem var(--mono); }

.bars { display: grid; gap: 7px; }
.bar { display: grid; grid-template-columns: 104px 1fr 52px; align-items: center; gap: 12px; font-size: .88rem; }
.bar .name { color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar .track { height: 10px; background: var(--paper); border-radius: 99px; overflow: hidden; }
.bar .fill { height: 100%; background: var(--line-strong); border-radius: 99px; transform-origin: left; transform: scaleX(0); transition: transform .9s var(--ease); }
.bar .val { font: 500 .88rem var(--mono); text-align: right; font-variant-numeric: tabular-nums; }
.bar.best .fill { background: var(--accent); }
.bar.best .val, .bar.best .name { color: var(--accent); font-weight: 600; }
.in .bar .fill { transform: scaleX(var(--w)); }

.markets { display: grid; gap: 10px; }
.mkt { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.mkt strong { font-weight: 600; font-size: .95rem; }
.mkt .sels { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.mkt .sel { font: 500 .78rem var(--mono); background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 4px 8px; white-space: nowrap; }
.mkt .sel b { font-weight: 600; margin-left: 6px; }
.mkt.more { justify-content: center; border-style: dashed; color: var(--muted); background: transparent; font-weight: 500; }


/* trust (dark band) */
.trust { background: var(--ink); color: #f1f3f7; padding: 120px 0; }
.trust-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 80px; align-items: start; }
.trust h2 em { color: #9fb0ff; }
.trust-points { display: grid; gap: 40px; }
.trust-points > div { display: grid; grid-template-columns: 44px 1fr; column-gap: 20px; row-gap: 6px; }
.trust-points .icon { grid-row: span 2; width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: #ffffff10; stroke: #9fb0ff; }
.trust-points p { color: #b8c0cc; }
.icon { fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

/* coverage */
.sports { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 56px; }
.sport { padding: 32px; }
.sport-icon { width: 40px; height: 40px; fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 22px; }
.sport h3 { font-family: var(--serif); font-weight: 400; font-size: 2rem; }
.sport p { color: var(--ink-2); margin-top: 10px; font-size: .98rem; }
.sport.soon { background: transparent; box-shadow: none; border-style: dashed; border-color: var(--line-strong); display: flex; flex-direction: column; }
.sport.soon h3 { font-size: 1.6rem; }
.sport.soon .link { margin-top: auto; padding-top: 18px; }
.books { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.books li { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); height: 96px; display: grid; place-items: center; font-family: var(--sans); font-weight: 600; letter-spacing: -.02em; font-size: 1.2rem; color: var(--ink); transition: background .25s var(--ease); }
.books li:hover { background: var(--surface); }
.fine { font-size: .82rem; color: var(--muted); margin-top: 20px; }

/* access */
.access { padding: 128px 0; background: var(--paper-2); border-top: 1px solid var(--line); }
.access-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.access .ticks { margin-top: 36px; }
.form-card { padding: 32px; }
.form-card label, legend { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 10px; }
.form-card .quick { margin-top: 0; max-width: none; box-shadow: none; }
.details { display: grid; gap: 22px; }
.details[hidden], .thanks[hidden], form[hidden] { display: none; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; min-height: 38px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: .9rem; color: var(--ink-2); background: var(--surface); transition: all .15s var(--ease); }
.chip:hover span { border-color: var(--ink-2); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
textarea { width: 100%; border: 1px solid var(--line-strong); border-radius: 12px; padding: 12px 14px; font: 1rem var(--sans); color: var(--ink); background: var(--surface); resize: vertical; }
textarea:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.details label[for=msg] { margin-bottom: -12px; }
.done-head { display: flex; gap: 14px; align-items: flex-start; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.icon.ok { width: 32px; height: 32px; flex: none; stroke: var(--up); }
.thanks { text-align: center; padding: 32px 0; }
.thanks .icon.ok { margin: 0 auto 14px; width: 44px; height: 44px; }
.thanks h3 { font-family: var(--serif); font-weight: 400; font-size: 2rem; }
.hp { position: absolute; left: -9999px; }

/* faq */
.faq-wrap { max-width: 880px; }
.faq-wrap .section-head { margin-bottom: 40px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0; font-size: 1.2rem; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 300 1.8rem/1 var(--sans); color: var(--accent); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); padding: 0 48px 28px 0; max-width: 68ch; }

/* footer */
.footer { border-top: 1px solid var(--line); padding: 36px 0; font-size: .88rem; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }

/* reveal */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* responsive */
@media (max-width: 1024px) {
  .hero-grid, .feature, .trust-grid, .access-grid { grid-template-columns: 1fr; gap: 48px; }
  .feature.reverse .feature-copy { order: 0; }
  .sports { grid-template-columns: 1fr 1fr; }
  .books { grid-template-columns: repeat(4, 1fr); }
  .numbers-grid { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .numbers-grid > div:nth-child(3) { border-left: 0; padding-left: 0; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .nav-links a:not(.btn) { display: none; }
  .hero { padding-top: 40px; }
  .section, .access { padding: 88px 0; }
  .trust { padding: 88px 0; }
  .section-head { margin-bottom: 48px; }
  .quick { flex-direction: column; }
  .quick .btn { width: 100%; }
  .board { padding: 16px 14px 10px; }
  .board-table td { padding: 0 4px; font-size: .85rem; }
  .board-table td .px { min-width: 0; padding: 3px 5px; }
  .sports { grid-template-columns: 1fr; }
  .books { grid-template-columns: repeat(2, 1fr); }
  .books li { height: 72px; font-size: 1.05rem; }
  .numbers-grid > div { padding: 0 0 0 16px; }
  .numbers-grid > div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .bar { grid-template-columns: 84px 1fr 44px; }
  .mkt { flex-direction: column; align-items: flex-start; }
  .mkt .sels { justify-content: flex-start; }
  .faq details p { padding-right: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
