/* Shared styles for the server-rendered landing pages (NFL API, NBA API ...).
   Same tokens and components as the homepage, so the pages read as one site. */
:root {
  --bg: #030504; --panel: rgba(255, 255, 255, 0.03); --panel-2: rgba(255, 255, 255, 0.05);
  --line: rgba(255, 255, 255, 0.07); --line-strong: rgba(255, 255, 255, 0.13);
  --emerald: #10b981; --emerald-2: #34d399; --emerald-3: #6ee7b7; --glow: rgba(16, 185, 129, 0.32);
  --text: #eaf0f6; --muted: #8b98a7; --dim: #5b6672;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', monospace;
  --radius: 18px; --radius-lg: 24px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', system-ui, sans-serif; color: var(--text); background: var(--bg); line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { color: var(--emerald-2); }
.bg { position: fixed; inset: 0; z-index: -2; background:
  radial-gradient(40% 36% at 12% 6%, rgba(16, 185, 129, 0.16), transparent 62%),
  radial-gradient(32% 32% at 90% 12%, rgba(20, 130, 95, 0.1), transparent 60%), var(--bg); }
.wrap { width: min(1140px, calc(100% - 32px)); margin: 0 auto; }

header.nav { position: sticky; top: 0; z-index: 50; padding-top: 16px; background: linear-gradient(var(--bg) 60%, transparent); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 12px 11px 18px; background: rgba(9, 13, 17, 0.66); backdrop-filter: blur(16px) saturate(150%); -webkit-backdrop-filter: blur(16px) saturate(150%); border: 1px solid var(--line); border-radius: 15px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 700; letter-spacing: -0.02em; font-size: 1.08rem; color: var(--text); text-decoration: none; }
.brand .mark { width: 32px; height: 32px; border-radius: 9px; background: radial-gradient(circle at 50% 30%, rgba(16, 185, 129, 0.28), rgba(7, 10, 14, 0.9)); border: 1px solid var(--line-strong); display: grid; place-items: center; box-shadow: 0 0 20px var(--glow); }
.brand .mark img { display: block; width: 22px; height: 22px; }
.brand .sub { color: var(--muted); font-weight: 500; }
.nav-links { display: flex; gap: 26px; align-items: center; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 0.9rem; font-weight: 500; }
.nav-links a:hover { color: var(--text); }
.burger { display: none; }
@media (max-width: 860px) {
  .brand { margin-right: auto; }
  .nav-inner { position: relative; gap: 10px; }
  .burger { flex-shrink: 0; display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 40px; padding: 0 11px; cursor: pointer; border: 1px solid var(--line-strong); border-radius: 11px; background: var(--panel-2); }
  .burger span { display: block; height: 2px; width: 21px; background: var(--text); border-radius: 2px; }
  .nav-links { display: none; position: absolute; top: calc(100% + 10px); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 3px; padding: 10px; border: 1px solid var(--line); border-radius: 14px; background: #070809; z-index: 60; }
  .nav-links a { padding: 12px 14px; border-radius: 9px; font-size: 1rem; }
  .nav-toggle:checked ~ .nav-links { display: flex; }
}
@media (max-width: 420px) {
  .nav-inner { padding-left: 14px; }
  .nav-inner > .btn { padding: 9px 12px; font-size: 0.84rem; }
}
@media (max-width: 380px) { .brand .sub { display: none; } }

.btn { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.92rem; padding: 10px 18px; border-radius: 11px; text-decoration: none; border: 1px solid transparent; transition: transform 0.18s ease, box-shadow 0.2s ease, border-color 0.2s; white-space: nowrap; }
.btn-primary { background: linear-gradient(135deg, var(--emerald-2), var(--emerald)); color: #04120c; box-shadow: 0 8px 26px var(--glow); }
.btn-primary:hover { transform: translateY(-2px); }
.btn-ghost { background: transparent; border-color: var(--line-strong); color: var(--text); }
.btn-ghost:hover { border-color: rgba(52, 211, 153, 0.5); }
.btn-lg { padding: 13px 22px; font-size: 1rem; }

.crumbs { margin-top: 30px; font-size: 0.84rem; color: var(--dim); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--text); }

.hero { padding: 40px 0 24px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--emerald-3); font-weight: 600; padding: 7px 15px; border-radius: 100px; background: rgba(16, 185, 129, 0.07); border: 1px solid rgba(52, 211, 153, 0.2); }
h1 { font-weight: 800; font-size: clamp(2.3rem, 6vw, 4rem); line-height: 1.05; letter-spacing: -0.035em; margin: 20px 0 18px; }
h1 .grad { background: linear-gradient(115deg, var(--emerald-3), #ffffff 48%, var(--emerald-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { max-width: 720px; color: var(--muted); font-size: 1.12rem; }
.hero-cta { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.hero-note { margin-top: 14px; color: var(--dim); font-size: 0.84rem; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 40px; align-items: start; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }

.code-win { overflow: hidden; border-radius: var(--radius-lg); border: 1px solid var(--line); background: rgba(255,255,255,0.02); box-shadow: 0 30px 80px rgba(0,0,0,0.45); min-width: 0; }
.code-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.code-bar .d { width: 11px; height: 11px; border-radius: 50%; }
.code-bar .d.r { background: #ff5f57; } .code-bar .d.y { background: #febc2e; } .code-bar .d.g { background: #28c840; }
.code-bar span.t { margin-left: 8px; color: var(--muted); font-size: 0.78rem; font-family: var(--mono); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
pre { margin: 0; padding: 18px 20px; font-family: var(--mono); font-size: 0.8rem; line-height: 1.65; overflow-x: auto; color: #cdd6e0; max-height: 460px; }
pre .c { color: #56616f; }

section { padding: 56px 0; }
section > h2, .sec-title { font-weight: 700; font-size: clamp(1.6rem, 3.6vw, 2.3rem); letter-spacing: -0.03em; margin-bottom: 10px; }
.sec-sub { color: var(--muted); max-width: 720px; margin-bottom: 26px; }

.ticks { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 28px; }
.ticks li { display: flex; gap: 10px; color: #cdd6e0; font-size: 0.95rem; }
.ticks li::before { content: ''; flex: 0 0 8px; height: 8px; margin-top: 8px; border-radius: 50%; background: var(--emerald-2); box-shadow: 0 0 10px var(--glow); }
@media (max-width: 680px) { .ticks { grid-template-columns: minmax(0, 1fr); } }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
table { width: 100%; border-collapse: collapse; font-size: 0.9rem; min-width: 640px; }
th { text-align: left; color: var(--muted); font-weight: 600; font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.05em; padding: 12px 16px; border-bottom: 1px solid var(--line-strong); }
td { padding: 11px 16px; border-bottom: 1px solid var(--line); vertical-align: top; color: #cdd6e0; }
tr:last-child td { border-bottom: 0; }
td code { font-family: var(--mono); font-size: 0.8rem; color: var(--emerald-3); white-space: nowrap; }
.plan { display: inline-block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; padding: 3px 9px; border-radius: 100px; border: 1px solid var(--line-strong); color: var(--muted); white-space: nowrap; }
.plan.free { color: var(--emerald-3); border-color: rgba(52, 211, 153, 0.4); background: rgba(16, 185, 129, 0.08); }
.plan.pro { color: #7dd3fc; border-color: rgba(125, 211, 252, 0.35); }
.plan.all-access { color: #fbbf24; border-color: rgba(251, 191, 36, 0.35); }

.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.plan-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.plan-card.featured { border-color: rgba(108, 255, 143, 0.45); background: linear-gradient(180deg, rgba(108, 255, 143, 0.06), var(--panel)); }
.plan-card .name { font-weight: 700; color: var(--emerald-3); }
.plan-card .price { font-size: 1.9rem; font-weight: 800; letter-spacing: -0.02em; }
.plan-card .price small { font-size: 0.8rem; color: var(--muted); font-weight: 400; }
.plan-card p { color: var(--muted); font-size: 0.9rem; flex: 1; }
.plan-card .btn { justify-content: center; margin-top: 8px; }
@media (max-width: 860px) { .plans { grid-template-columns: minmax(0, 1fr); } }

.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: var(--panel); padding: 16px 18px; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--emerald-2); font-weight: 700; }
.faq details[open] summary::after { content: '–'; }
.faq details p { color: var(--muted); margin-top: 10px; font-size: 0.95rem; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { text-decoration: none; color: #cdd6e0; font-size: 0.88rem; padding: 7px 14px; border-radius: 100px; border: 1px solid var(--line-strong); background: var(--panel); }
.chips a:hover { border-color: rgba(52, 211, 153, 0.5); color: var(--text); }
.chips a.on { color: var(--emerald-3); border-color: rgba(52, 211, 153, 0.45); }

.cta-band { text-align: center; padding: 56px 24px; margin: 20px 0 10px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(16, 185, 129, 0.08), transparent); }
.cta-band h2 { font-weight: 700; font-size: clamp(1.7rem, 4vw, 2.5rem); letter-spacing: -0.03em; }
.cta-band p { color: var(--muted); margin: 10px auto 24px; max-width: 520px; }
.cta-band .hero-cta { justify-content: center; }

footer { padding: 42px 0 52px; border-top: 1px solid var(--line); margin-top: 40px; color: var(--muted); font-size: 0.88rem; }
.foot-grid { display: grid; grid-template-columns: 1.2fr repeat(3, 1fr); gap: 24px; }
.foot-grid h3 { color: var(--text); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 10px; }
.foot-grid a { display: block; color: var(--muted); text-decoration: none; padding: 3px 0; }
.foot-grid a:hover { color: var(--text); }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
