/* Better Odds Club — marketing site. Same "daily club" look as the app. */
:root {
  color-scheme: light;
  --bg: #F4F6F3; --panel: #FFFFFF; --ink: #14201C; --muted: #56635D; --line: #E0E6E2;
  --brand: #0F5C4A; --brand-deep: #0B4A3B; --brand-soft: #E3EBE6; --on-brand-muted: #CFE6DD;
  --sun: #FFC94A; --sun-soft: #FFF1C7; --sun-ink: #4A3A00; --bad: #B42318;
  --display: "Bricolage Grotesque", Inter, system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 Inter, system-ui, -apple-system, "Segoe UI", sans-serif; }
a { color: var(--brand); } a:hover { color: var(--brand-deep); }
img, svg { display: block; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }

/* Header */
.top { position: sticky; top: 0; z-index: 10; background: rgba(244,246,243,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.brand { font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: -0.02em; color: var(--brand); text-decoration: none; }
.top nav { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.top nav a.link { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 14px; padding: 8px 12px; border-radius: 99px; }
.top nav a.link:hover { background: var(--brand-soft); color: var(--brand); }
@media (max-width: 720px) { .top nav a.link { display: none; } }

/* Buttons and form */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 99px; border: 1.5px solid var(--brand);
  background: var(--brand); color: #fff; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn:hover { background: var(--brand-deep); color: #fff; }
.btn.sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn.ghost { background: transparent; color: var(--brand); }
.btn.sun { background: var(--sun); border-color: var(--sun); color: var(--ink); }
.btn.sun:hover { background: #F5BB2E; }
.btn:disabled { opacity: .6; cursor: default; }
label { font-size: 13px; font-weight: 600; display: block; margin-bottom: 5px; }
input[type=email], select { width: 100%; min-height: 50px; padding: 0 14px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); font: inherit; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; font-weight: 400; line-height: 1.45; }
.check input { width: 20px; height: 20px; margin: 0; flex-shrink: 0; accent-color: var(--brand); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Hero */
.hero { padding: 48px 0 32px; }
.hero .wrap { display: grid; gap: 28px; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: start; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: minmax(0, 1fr); } .hero { padding-top: 28px; } }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px; border-radius: 16px; background: var(--sun-soft); color: #6B4E00; font-size: 13px; font-weight: 600; }
h1 { font-family: var(--display); font-weight: 800; font-size: clamp(40px, 7vw, 68px); line-height: 1; letter-spacing: -0.03em; margin: 16px 0 16px; }
h1 .hl { color: var(--brand); }
.lead { font-size: 18px; color: #2E3A35; max-width: 34em; margin: 0 0 24px; }
.signup { background: var(--panel); border-radius: 24px; padding: 20px; display: grid; gap: 14px; max-width: 520px; box-shadow: 0 1px 0 var(--line); }
.signup .row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 10px; }
@media (max-width: 480px) { .signup .row { grid-template-columns: minmax(0, 1fr); } }
.signup .fine { font-size: 12px; color: var(--muted); margin: 0; }
.msg { border-radius: 14px; padding: 12px 14px; font-size: 14px; }
.msg.ok { background: var(--brand-soft); color: var(--brand-deep); }
.msg.err { background: #FDECEA; color: var(--bad); }
.done { text-align: left; }
.done .big { font-family: var(--display); font-weight: 800; font-size: 28px; color: var(--brand); margin: 0; }
.social { font-size: 14px; color: var(--muted); margin: 12px 0 0; }

.card-green { background: var(--brand); color: #fff; border-radius: 28px; padding: 24px; display: grid; gap: 16px; }
.card-green .sub { color: var(--on-brand-muted); font-size: 14px; }
.card-green .title { font-family: var(--display); font-weight: 800; font-size: 30px; line-height: 1.08; letter-spacing: -0.02em; }
.card-green .title .hl { color: var(--sun); }
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tile { background: var(--brand-deep); border-radius: 16px; padding: 14px; }
.tile .k { font-size: 12px; color: var(--on-brand-muted); }
.tile .v { font-family: var(--display); font-weight: 800; font-size: clamp(18px, 4.6vw, 26px); white-space: nowrap; font-variant-numeric: tabular-nums; }
.tile.sun { background: var(--sun); color: var(--ink); } .tile.sun .k { color: var(--sun-ink); }

/* Sections */
section.block { padding: 56px 0; }
section.block.alt { background: var(--panel); }
h2 { font-family: var(--display); font-weight: 800; font-size: clamp(28px, 4.5vw, 44px); line-height: 1.05; letter-spacing: -0.02em; margin: 0 0 12px; }
.intro { color: var(--muted); font-size: 17px; max-width: 40em; margin: 0 0 28px; }
.grid3 { display: grid; gap: 14px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 820px) { .grid3 { grid-template-columns: minmax(0, 1fr); } }
.feature { background: var(--panel); border-radius: 22px; padding: 22px; }
section.alt .feature { background: var(--bg); }
.feature .n { width: 40px; height: 40px; border-radius: 20px; background: var(--brand-soft); color: var(--brand); display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 800; margin-bottom: 12px; }
.feature h3 { font-family: var(--display); font-size: 20px; margin: 0 0 6px; }
.feature p { margin: 0; color: #3E4A44; font-size: 15px; }

/* Comparison */
.vs { background: var(--panel); border-radius: 24px; padding: 8px 20px; }
.vs .r { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.vs .r:last-child { border-bottom: 0; }
.vs .name { font-weight: 600; } .vs .odds { font-size: 13px; color: var(--muted); }
.vs .x { font-family: var(--display); font-weight: 800; font-size: 22px; color: var(--brand); text-align: right; white-space: nowrap; }
.vs .x small { font-family: Inter, sans-serif; font-weight: 500; font-size: 13px; color: var(--muted); display: block; }
.vs .us { background: var(--brand-soft); margin: 0 -20px; padding: 14px 20px; border-radius: 16px; border-bottom: 0; }

/* Calculator */
.calc { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
@media (max-width: 860px) { .calc { grid-template-columns: minmax(0, 1fr); } }
.slider { background: var(--bg); border-radius: 24px; padding: 22px; }
.slider .members { font-family: var(--display); font-weight: 800; font-size: clamp(34px, 6vw, 52px); color: var(--brand); line-height: 1; font-variant-numeric: tabular-nums; }
input[type=range] { width: 100%; height: 44px; accent-color: var(--brand); }
.ticks { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); }
.presets { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.presets button { min-height: 36px; padding: 0 14px; border-radius: 99px; border: 1.5px solid var(--line); background: #fff; font: inherit; font-size: 13px; font-weight: 600; color: var(--ink); cursor: pointer; }
.presets button[aria-pressed=true] { border-color: var(--brand); background: var(--brand); color: #fff; }
.results { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.res { border-radius: 18px; padding: 16px; background: var(--brand); color: #fff; }
.res .k { font-size: 13px; color: var(--on-brand-muted); }
.res .v { font-family: var(--display); font-weight: 800; font-size: clamp(20px, 3.4vw, 30px); font-variant-numeric: tabular-nums; white-space: nowrap; }
.res.sun { background: var(--sun); color: var(--ink); } .res.sun .k { color: var(--sun-ink); }
.res.soft { background: var(--brand-soft); color: var(--ink); } .res.soft .k { color: var(--muted); } .res.soft .v { color: var(--brand); }
.note { font-size: 13px; color: var(--muted); margin: 14px 0 0; }

/* FAQ */
.faq details { background: var(--panel); border-radius: 18px; margin-bottom: 10px; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 20px; font-weight: 600; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--brand); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0; padding: 0 20px 18px; color: #3E4A44; }

/* CTA band + footer */
.band { background: var(--brand); color: #fff; border-radius: 28px; padding: 36px 28px; display: grid; gap: 16px; justify-items: start; }
.band h2 { color: #fff; } .band h2 .hl { color: var(--sun); }
.band p { color: var(--on-brand-muted); margin: 0; }
footer { padding: 36px 0 48px; color: var(--muted); font-size: 13px; }
footer .wrap { display: grid; gap: 10px; }
footer .links { display: flex; gap: 16px; flex-wrap: wrap; }
.page { max-width: 720px; margin: 0 auto; padding: 40px 20px 60px; }
.page h1 { font-size: clamp(32px, 6vw, 48px); }
.page h2 { font-size: 22px; margin-top: 28px; }
