:root {
  --bg: #0a0e13;
  --surface: #111821;
  --surface-2: #17202c;
  --bezel: #1e2937;
  --border: #233042;
  --ring: #1a2533;
  --text: #e8eef5;
  --muted: #8a99ab;
  --faint: #5d6b7c;
  --accent: #1fd17a;
  --accent-hover: #5fe3a2;
  --ink: #04210f;
  --live: #ff5a5f;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif; -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--accent); }
a:hover { color: var(--accent-hover); }
h1, h2, h3, p { margin: 0; }
.accent { color: var(--accent); }
.muted { color: var(--muted); }
.num { font-variant-numeric: tabular-nums; }
.wrap { width: min(1248px, 100% - 48px); margin: 0 auto; }
.wrap.narrow { width: min(760px, 100% - 48px); }
section[id] { scroll-margin-top: 20px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; border-radius: 12px;
  background: var(--accent); color: var(--ink); font-weight: 800; text-decoration: none; white-space: nowrap;
  transition: transform 0.12s, background 0.12s;
}
.btn:hover { background: var(--accent-hover); color: var(--ink); transform: translateY(-1px); }
.btn-lg { height: 58px; padding: 0 30px; font-size: 17px; }
.btn-sm { height: 44px; padding: 0 20px; font-size: 15px; border-radius: 10px; }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--border); font-weight: 700; }
.btn-ghost:hover { background: var(--surface); color: var(--text); }

/* ---------- Nav ---------- */
.nav { display: flex; align-items: center; justify-content: space-between; padding: 32px 0; position: relative; z-index: 2; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.logo:hover { color: var(--text); }
.mark {
  width: 40px; height: 40px; border-radius: 11px; background: var(--accent); color: var(--ink);
  display: grid; place-items: center; font-weight: 800; font-size: 17px; letter-spacing: -0.5px; flex: none;
}
.mark.sm { width: 30px; height: 30px; border-radius: 8px; font-size: 12px; }
.word { font-weight: 800; font-size: 20px; letter-spacing: -0.4px; }
.nav-links { display: flex; align-items: center; gap: 32px; font-size: 15px; font-weight: 600; }
.nav-links a:not(.btn) { color: var(--muted); text-decoration: none; }
.nav-links a:not(.btn):hover { color: var(--text); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 24px 0 80px; margin-top: -104px; padding-top: 128px; }
.rings span { position: absolute; border-radius: 50%; border: 1px solid var(--ring); pointer-events: none; }
.rings span:nth-child(1) { width: 820px; height: 820px; right: -160px; top: 120px; }
.rings span:nth-child(2) { width: 460px; height: 460px; right: 20px; top: 300px; }
.hero-grid { display: flex; align-items: center; justify-content: space-between; gap: 48px; position: relative; }
.hero-copy { max-width: 640px; display: flex; flex-direction: column; gap: 28px; }
.kicker {
  display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent);
}
.kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; }
h1 { font-size: clamp(48px, 7.2vw, 92px); line-height: 0.95; font-weight: 900; letter-spacing: -0.045em; }
.lede { font-size: clamp(17px, 1.6vw, 21px); line-height: 1.5; color: var(--muted); max-width: 560px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }
.chips { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 14px; color: var(--muted); font-weight: 500; }
.chips li + li::before { content: '•'; color: #3a4757; margin-right: 28px; }

/* ---------- Phone mockups ---------- */
.phone {
  width: 360px; flex: none; border-radius: 48px; background: var(--bezel); padding: 10px; color: var(--text);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.phone-hero { width: 384px; border-radius: 52px; padding: 11px; margin-right: 60px; box-shadow: 0 40px 120px rgba(31, 209, 122, 0.18), 0 20px 60px rgba(0, 0, 0, 0.6); }
.phone-dark { background: var(--bg); box-shadow: 0 30px 60px rgba(4, 33, 15, 0.35); }
.screen { border-radius: 38px; background: var(--bg); overflow: hidden; display: flex; flex-direction: column; min-height: 700px; }
.phone-hero .screen { border-radius: 42px; min-height: 760px; }
.app-head { padding: 44px 16px 14px; background: var(--surface); border-bottom: 1px solid var(--border); display: flex; flex-direction: column; gap: 14px; }
.app-head-row { flex-direction: row; align-items: center; justify-content: space-between; padding-top: 40px; }
.app-brand { display: flex; align-items: center; gap: 10px; }
.app-brand b { font-weight: 800; font-size: 14px; display: block; }
.app-brand small { font-size: 10.5px; color: var(--muted); }
.app-stats { display: flex; gap: 24px; }
.app-stats small, .app-head .right small { display: block; font-size: 9.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.app-stats b { font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums; }
.app-head .right { text-align: right; }
.app-head .right b { font-size: 16px; font-weight: 700; }
.app-body { padding: 12px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.label { font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-top: 2px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.card.pad { padding: 10px; }
.row { display: flex; justify-content: space-between; align-items: center; font-size: 13.5px; }
.bar { height: 6px; border-radius: 3px; background: var(--bezel); overflow: hidden; }
.bar.thick { height: 8px; border-radius: 4px; }
.bar i { display: block; height: 100%; background: var(--accent); border-radius: inherit; }
.matchup-mini { padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.game-head { display: flex; justify-content: space-between; padding: 8px 12px; font-size: 11px; color: var(--muted); border-bottom: 1px solid var(--border); }
.game-head b { color: var(--text); font-weight: 600; }
.live { color: var(--live); font-weight: 700; }
.odds-grid { display: grid; grid-template-columns: minmax(0, 1fr) repeat(3, 58px); gap: 5px; align-items: center; }
.game .odds-grid { padding: 10px 12px; }
.team { font-weight: 700; font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.team small { color: var(--faint); font-weight: 500; font-size: 10.5px; }
.odd {
  height: 38px; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--border);
  display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 10.5px;
}
.odd .price { color: var(--accent); font-weight: 600; }
.odd.on { background: var(--accent); border-color: var(--accent); color: var(--ink); font-weight: 700; }
.score { display: flex; justify-content: space-between; align-items: center; padding: 6px 12px; font-size: 13px; }
.score:last-child { padding-bottom: 12px; }
.score:nth-child(2) { padding-top: 12px; }
.score .big { font-size: 17px; font-weight: 800; }
.slipbar {
  margin: auto 14px 18px; height: 50px; border-radius: 12px; background: var(--accent); color: var(--ink);
  display: flex; align-items: center; justify-content: space-between; padding: 0 16px; font-size: 13px; font-weight: 700;
}
.slip { border-color: var(--accent); padding: 12px; display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.slip .row { font-size: 12px; }
.slip-picks { font-size: 11px; color: var(--muted); display: flex; flex-direction: column; gap: 4px; }
.slip-btn { height: 40px; border-radius: 10px; background: var(--accent); color: var(--ink); display: grid; place-items: center; font-size: 12px; font-weight: 800; }
.matchup-big { padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.label-row { font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.vs-row { display: flex; justify-content: space-between; align-items: flex-end; }
.vs-row small { display: block; font-size: 12px; color: var(--muted); font-weight: 600; }
.vs-row b { font-size: 25px; font-weight: 800; letter-spacing: -0.5px; }
.vs-row .right { text-align: right; }
.vs { font-size: 12px; color: var(--faint); font-weight: 700; padding-bottom: 6px; }
.matchup-big > small { font-size: 11px; }
.standings .st { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-bottom: 1px solid var(--border); font-size: 12px; }
.standings .st:last-child { border-bottom: 0; }
.standings .st.me { background: rgba(31, 209, 122, 0.08); }
.standings .rk { width: 16px; color: var(--faint); font-weight: 700; }
.standings b { flex: 1; }
.standings .rec { color: var(--muted); }
.standings .pl { width: 74px; text-align: right; font-weight: 700; }
.pos { color: var(--accent); }
.neg { color: var(--live); }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section-head { display: flex; flex-direction: column; gap: 18px; margin-bottom: 40px; }
h2 { font-size: clamp(36px, 4.6vw, 58px); line-height: 1; font-weight: 900; letter-spacing: -0.04em; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.steps li { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.num-badge { width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: var(--ink); display: grid; place-items: center; font-weight: 900; font-size: 18px; margin-bottom: 8px; }
.steps h3 { font-size: 21px; font-weight: 800; letter-spacing: -0.3px; }
.steps p { color: var(--muted); line-height: 1.5; }

.panel { border-radius: 28px; padding: 64px; display: flex; align-items: center; justify-content: space-between; gap: 48px; overflow: hidden; }
.panel.reverse { flex-direction: row-reverse; }
.panel-green { background: var(--accent); color: var(--ink); }
.panel-dark { background: var(--surface); border: 1px solid var(--border); }
.panel-copy { max-width: 480px; display: flex; flex-direction: column; gap: 20px; }
.panel-copy p { font-size: 19px; line-height: 1.5; font-weight: 500; }
.panel-green .panel-copy p { font-weight: 600; }
.panel-dark .panel-copy p { color: var(--muted); }
.ticks { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; font-size: 16px; font-weight: 600; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.4; }
.ticks li::before { content: '✓'; flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 900; }
.panel-green .ticks li::before { background: var(--ink); color: var(--accent); }
.panel-dark .ticks li { color: var(--text); font-weight: 500; }
.panel-dark .ticks li::before { background: rgba(31, 209, 122, 0.15); color: var(--accent); }

.faq { display: flex; flex-direction: column; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 18px 22px; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--accent); font-size: 22px; line-height: 1; font-weight: 600; }
.faq details[open] summary::after { content: '–'; }
.faq p { color: var(--muted); line-height: 1.6; margin-top: 10px; }

.final {
  text-align: center; display: flex; flex-direction: column; align-items: center; gap: 22px;
  padding: 72px 24px; border-radius: 28px; border: 1px solid var(--border);
  background: radial-gradient(ellipse at 50% 120%, rgba(31, 209, 122, 0.22), transparent 60%), var(--surface);
}
.final .lede { max-width: 480px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); padding: 40px 0 56px; margin-top: 40px; }
.footer-grid { display: flex; flex-direction: column; gap: 14px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.footer .mark { width: 32px; height: 32px; font-size: 13px; border-radius: 9px; }
.footer .word { font-size: 17px; }
.footer p { max-width: 640px; }
.footer .small { font-size: 13px; color: var(--faint); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .phone-hero { margin-right: 0; }
  .panel { padding: 48px; }
}
@media (max-width: 900px) {
  .hero-grid { flex-direction: column; align-items: flex-start; }
  .phone-hero { align-self: center; }
  .steps { grid-template-columns: 1fr; }
  .panel, .panel.reverse { flex-direction: column; align-items: stretch; padding: 40px 28px; }
  .panel .phone { align-self: center; }
}
@media (max-width: 640px) {
  .wrap, .wrap.narrow { width: calc(100% - 32px); }
  .nav { padding: 20px 0; }
  .nav-links { gap: 18px; }
  .nav-links a[href^="#"] { display: none; }
  .hero { margin-top: -84px; padding-top: 108px; padding-bottom: 48px; }
  .rings { display: none; }
  .hero-copy { gap: 22px; }
  .btn-lg { width: 100%; }
  .chips li + li::before { margin-right: 10px; }
  .chips { gap: 8px 10px; }
  .phone, .phone-hero { width: 100%; max-width: 340px; }
  .screen, .phone-hero .screen { min-height: 0; }
  .odds-grid { grid-template-columns: minmax(0, 1fr) repeat(3, 52px); }
  .section { padding: 48px 0; }
  .panel, .panel.reverse { border-radius: 22px; padding: 32px 20px; }
  .steps li { padding: 22px; }
  .final { padding: 48px 20px; border-radius: 22px; }
}
