:root{
  --bg: #0a0c11;
  --surface: #12161f;
  --surface-2: #181d2a;
  --navy: #101a33;
  --border: rgba(255,255,255,0.09);
  --blue: #3a5cff;
  --blue-soft: rgba(58,92,255,0.14);
  --blue-text: #9fb0ff;
  --yellow: #f0c230;
  --yellow-dark: #c99a1d;
  --text: #eef0f5;
  --muted: #949ba9;
  --neg: #e2574c;
  --neg-soft: rgba(226,87,76,0.14);
}
*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:'Inter', sans-serif;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3,h4{
  font-family:'Inter', sans-serif;
  font-weight:700;
  letter-spacing:-0.015em;
  margin:0;
}
.mono{ font-family:'IBM Plex Mono', monospace; }
a{ color:inherit; }
.wrap{ max-width:1100px; margin:0 auto; padding:0 28px; }

/* ===== NAV ===== */
header.topbar{
  position:sticky; top:0; z-index:50;
  background:rgba(10,12,17,0.92);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--border);
}
.topbar-inner{
  max-width:1100px; margin:0 auto; padding:0 28px;
  display:flex; align-items:center; justify-content:space-between;
  height:66px;
}
.brand{ display:flex; align-items:baseline; gap:10px; color:var(--text); text-decoration:none; }
.brand .mark{ width:9px;height:9px; background:var(--yellow); display:inline-block; }
.brand-name{ font-family:'Inter', sans-serif; font-weight:700; font-size:19px; letter-spacing:-0.01em; }
.brand-sub{ font-family:'IBM Plex Mono', monospace; font-size:10px; color:var(--muted); letter-spacing:0.1em; text-transform:uppercase; }

nav.tabs{ display:flex; gap:4px; align-items:center; }
nav.tabs a{
  color:var(--muted);
  font-family:'Inter', sans-serif; font-weight:500;
  font-size:13.5px;
  padding:9px 14px;
  border-radius:7px;
  text-decoration:none;
  transition:color .15s ease, background .15s ease;
}
nav.tabs a:hover{ color:var(--text); background:var(--surface); }
nav.tabs a.active{ color:#0a0c11; background:var(--yellow); font-weight:600; }

.nav-toggle{
  display:none; background:none; border:1px solid var(--border); border-radius:7px;
  color:var(--text); width:38px; height:38px; cursor:pointer; font-size:16px;
}
@media (max-width:760px){
  nav.tabs{
    display:none; position:absolute; top:66px; left:0; right:0;
    background:var(--bg); border-bottom:1px solid var(--border);
    flex-direction:column; align-items:stretch; padding:10px 20px 18px; gap:2px;
  }
  nav.tabs.open{ display:flex; }
  nav.tabs a{ padding:12px 10px; }
  .nav-toggle{ display:block; }
}

/* ===== PAGE HERO (small, used on inner pages) ===== */
.page-hero{
  background:
    radial-gradient(ellipse 800px 400px at 10% -20%, rgba(58,92,255,0.22), transparent 60%),
    var(--bg);
  border-bottom:1px solid var(--border);
  padding:56px 0 44px;
}
.eyebrow{
  font-family:'IBM Plex Mono', monospace;
  font-size:11.5px; letter-spacing:0.13em; text-transform:uppercase;
  color:var(--yellow);
  margin-bottom:16px;
  display:flex; align-items:center; gap:10px;
}
.eyebrow::before{ content:""; width:22px; height:1px; background:var(--yellow); }
.page-hero h1{ font-size:clamp(30px,4.4vw,46px); line-height:1.12; max-width:760px; }
.page-hero p.lede{ font-size:16px; line-height:1.6; max-width:560px; color:var(--muted); margin-top:16px; font-weight:400; }

/* ===== BIG HOME HERO ===== */
.hero{
  position:relative;
  background:
    radial-gradient(ellipse 900px 500px at 15% -10%, rgba(58,92,255,0.28), transparent 60%),
    radial-gradient(ellipse 700px 500px at 90% 10%, rgba(240,194,48,0.10), transparent 55%),
    var(--bg);
  overflow:hidden;
  border-bottom:1px solid var(--border);
}
.hero-inner{ max-width:1100px; margin:0 auto; padding:80px 28px 52px; position:relative; z-index:2; }
.pitch-svg{ position:absolute; inset:0; width:100%; height:100%; z-index:1; opacity:0.5; }
.hero h1{ font-size:clamp(34px, 5.4vw, 58px); line-height:1.1; max-width:740px; }
.hero h1 .accent{ color:var(--yellow); }
.hero p.lede{ font-size:17px; line-height:1.65; max-width:540px; color:var(--muted); margin-top:22px; font-weight:400; }
.hero-cta{ margin-top:30px; display:flex; gap:14px; flex-wrap:wrap; }

.btn{
  display:inline-block;
  font-family:'Inter', sans-serif; font-weight:600;
  font-size:14px; padding:13px 24px; border-radius:7px;
  text-decoration:none; cursor:pointer; border:1px solid transparent;
}
.btn-primary{ background:var(--yellow); color:#12140c; }
.btn-primary:hover{ background:var(--yellow-dark); }
.btn-ghost{ border-color:var(--border); color:var(--text); background:rgba(255,255,255,0.02); }
.btn-ghost:hover{ border-color:rgba(255,255,255,0.3); }

.scoreline{ margin-top:52px; display:flex; gap:0; flex-wrap:wrap; border-top:1px solid var(--border); }
.scoreline .stat{ flex:1 1 150px; padding:18px 22px 4px 0; border-right:1px solid var(--border); }
.scoreline .stat:last-child{ border-right:none; }
.scoreline .stat .num{ font-family:'IBM Plex Mono', monospace; font-size:25px; font-weight:600; color:var(--text); }
.scoreline .stat .lbl{ font-family:'IBM Plex Mono', monospace; font-size:10px; letter-spacing:0.06em; text-transform:uppercase; color:var(--muted); }

.marker{
  position:absolute; width:8px; height:8px; border-radius:50%;
  background:var(--yellow);
  box-shadow:0 0 0 0 rgba(240,194,48,0.6);
  animation:pulse 2.6s ease-out infinite;
}
@keyframes pulse{
  0%{ box-shadow:0 0 0 0 rgba(240,194,48,0.5); }
  70%{ box-shadow:0 0 0 14px rgba(240,194,48,0); }
  100%{ box-shadow:0 0 0 0 rgba(240,194,48,0); }
}
@media (prefers-reduced-motion: reduce){
  .marker{ animation:none; }
  html{ scroll-behavior:auto; }
}

/* ===== SECTIONS ===== */
.section{ padding:68px 0; }
.section + .section{ border-top:1px solid var(--border); }
.section.tint{ background:var(--surface); }
.section-head{ margin-bottom:34px; max-width:620px; }
.section-head h2{ font-size:clamp(24px,3.2vw,34px); color:var(--text); }
.section-head p{ color:var(--muted); margin-top:12px; line-height:1.6; font-size:15px;}

.grid-2{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.grid-3{ display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.grid-4{ display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
@media (max-width: 760px){ .grid-2, .grid-3, .grid-4{ grid-template-columns:1fr; } }
@media (max-width: 900px) and (min-width:761px){ .grid-4{ grid-template-columns:1fr 1fr; } }

.card{ background:var(--surface); border:1px solid var(--border); border-radius:10px; padding:24px 22px; }
.card h3{ font-family:'Inter',sans-serif; font-weight:600; font-size:16px; color:var(--text); margin-bottom:8px;}
.card p{ color:var(--muted); font-size:13.5px; line-height:1.6; margin:0;}

.cloud{ display:flex; flex-wrap:wrap; gap:9px; margin-top:6px; }
.cloud .pill{
  font-family:'IBM Plex Mono', monospace; font-size:12px;
  color:var(--text); background:var(--surface); border:1px solid var(--border);
  padding:7px 13px; border-radius:999px;
}
.cloud .pill.hi{ border-color:rgba(240,194,48,0.5); color:var(--yellow); }

.process{ margin-top:8px; }
.process .step{ display:grid; grid-template-columns:42px 1fr; gap:16px; padding:20px 0; border-bottom:1px solid var(--border); }
.process .step:first-child{ border-top:1px solid var(--border); }
.process .step .n{
  font-family:'IBM Plex Mono', monospace; font-size:12px; color:var(--yellow);
  border:1px solid rgba(240,194,48,0.4); width:32px; height:32px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
}
.process .step h4{ font-weight:600; font-size:15.5px; color:var(--text); margin:2px 0 4px;}
.process .step p{ color:var(--muted); font-size:14px; margin:0; line-height:1.55; max-width:600px;}

.quote-strip{ background:var(--navy); padding:48px 0; border-top:1px solid var(--border); border-bottom:1px solid var(--border);}
.quote-strip .wrap{ display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:22px;}
.quote-strip p{ font-weight:600; font-size:clamp(19px,2.4vw,25px); max-width:680px; margin:0; color:var(--text);}
.quote-strip .who{ font-family:'IBM Plex Mono', monospace; font-size:11.5px; color:var(--yellow); margin-top:9px; letter-spacing:0.04em;}

footer{ background:var(--bg); color:var(--muted); border-top:1px solid var(--border); padding:26px 0; font-family:'IBM Plex Mono', monospace; font-size:11px; }
footer .wrap{ display:flex; justify-content:space-between; flex-wrap:wrap; gap:8px;}

/* ===== REPORT / STATS COMPONENTS ===== */
.case-head{
  display:flex; justify-content:space-between; align-items:flex-end; flex-wrap:wrap; gap:16px;
  border-bottom:1px solid var(--border); padding-bottom:16px; margin-bottom:30px;
}
.case-head .score{ font-family:'IBM Plex Mono', monospace; font-size:28px; color:var(--text); font-weight:600; }
.case-head .meta{ font-family:'IBM Plex Mono', monospace; font-size:11px; color:var(--muted); text-transform:uppercase; letter-spacing:0.06em;}

.stat-block{ background:var(--surface); border:1px solid var(--border); border-radius:10px; padding:20px; }
.stat-block .big{ font-family:'IBM Plex Mono', monospace; font-size:30px; color:var(--yellow); font-weight:600; line-height:1;}
.stat-block .lbl{ font-family:'IBM Plex Mono', monospace; font-size:10px; text-transform:uppercase; letter-spacing:0.06em; color:var(--muted); margin-top:8px;}
.stat-block .sub{ font-size:12.5px; color:var(--muted); margin-top:9px; line-height:1.5;}

.barrow{ display:grid; grid-template-columns:150px 1fr 84px; align-items:center; gap:12px; padding:8px 0; }
.barrow .name{ font-size:13px; color:var(--text); }
.bartrack{ background:var(--surface-2); height:11px; border-radius:6px; position:relative; overflow:hidden;}
.barfill{ height:100%; background:var(--blue); border-radius:6px; }
.barfill.amber{ background:var(--yellow); }
.barrow .val{ font-family:'IBM Plex Mono', monospace; font-size:12px; text-align:right; color:var(--muted);}

table.linetable{ width:100%; border-collapse:collapse; font-size:13px; margin-top:6px;}
table.linetable th, table.linetable td{ text-align:left; padding:10px 10px; border-bottom:1px solid var(--border); }
table.linetable th{ font-family:'IBM Plex Mono', monospace; font-size:10px; text-transform:uppercase; letter-spacing:0.05em; color:var(--muted); }
table.linetable td.num{ font-family:'IBM Plex Mono', monospace; }

.tag{
  display:inline-block; font-family:'IBM Plex Mono', monospace; font-size:10px;
  text-transform:uppercase; letter-spacing:0.06em;
  background:var(--surface-2); color:var(--text); border:1px solid var(--border);
  padding:4px 10px; margin-right:6px; border-radius:999px;
}

/* ===== SHOT MAP ===== */
.shotmap-wrap{ display:grid; grid-template-columns:1.2fr 0.8fr; gap:28px; align-items:center; }
@media (max-width:760px){ .shotmap-wrap{ grid-template-columns:1fr; } }
.shotmap-svg{ width:100%; height:auto; background:var(--surface); border:1px solid var(--border); border-radius:12px; }
.legend{ display:flex; flex-direction:column; gap:12px; }
.legend .row{ display:flex; align-items:center; gap:10px; font-size:13.5px; color:var(--text); }
.legend .dot{ width:11px; height:11px; border-radius:50%; flex:none; }
.legend .dot.score{ background:var(--yellow); }
.legend .dot.wide{ background:none; border:2px solid var(--muted); }

/* ===== PLAYERS / DATABASE ===== */
.filter-row{ display:flex; gap:8px; flex-wrap:wrap; margin-bottom:28px; }
.filter-btn{
  font-family:'IBM Plex Mono', monospace; font-size:12px; text-transform:uppercase; letter-spacing:0.05em;
  background:var(--surface); border:1px solid var(--border); color:var(--muted);
  padding:8px 16px; border-radius:999px; cursor:pointer;
}
.filter-btn.active{ background:var(--yellow); color:#12140c; border-color:var(--yellow); font-weight:600; }

.player-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:18px; }
@media (max-width:760px){ .player-grid{ grid-template-columns:1fr; } }
.player-card{ background:var(--surface); border:1px solid var(--border); border-radius:12px; padding:22px; }
.player-card .ph{ display:flex; justify-content:space-between; align-items:flex-start; margin-bottom:16px; }
.player-card .num{ font-family:'IBM Plex Mono', monospace; font-size:22px; color:var(--yellow); font-weight:600; }
.player-card .posn{
  font-family:'IBM Plex Mono', monospace; font-size:10px; text-transform:uppercase; letter-spacing:0.06em;
  color:var(--muted); background:var(--surface-2); border:1px solid var(--border); padding:4px 10px; border-radius:999px;
}
.bench-row{ margin-bottom:14px; }
.bench-row:last-child{ margin-bottom:0; }
.bench-row .top{ display:flex; justify-content:space-between; font-size:12.5px; margin-bottom:6px; }
.bench-row .top .label{ color:var(--text); }
.bench-row .top .delta{ font-family:'IBM Plex Mono', monospace; font-size:11.5px; padding:1px 7px; border-radius:999px; }
.bench-row .top .delta.pos{ color:var(--blue-text); background:var(--blue-soft); }
.bench-row .top .delta.neg{ color:var(--neg); background:var(--neg-soft); }
.bench-track{ position:relative; height:10px; background:var(--surface-2); border-radius:5px; overflow:visible; }
.bench-fill{ height:100%; border-radius:5px; background:var(--blue); }
.bench-fill.below{ background:#4a5164; }
.bench-tick{ position:absolute; top:-3px; width:2px; height:16px; background:var(--yellow); }

.db-note{ background:var(--navy); border:1px solid var(--border); border-radius:12px; padding:26px 24px; margin-top:36px; }
.db-note h3{ font-size:16px; margin-bottom:8px; }
.db-note p{ color:var(--muted); font-size:13.5px; line-height:1.65; margin:0; max-width:720px;}

/* ===== PRICING ===== */
.pricing-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
@media (max-width:900px){ .pricing-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .pricing-grid{ grid-template-columns:1fr; } }
.price-card{ background:var(--surface); border:1px solid var(--border); border-radius:10px; padding:24px 20px; display:flex; flex-direction:column; }
.price-card.featured{ border-color:rgba(240,194,48,0.55); background:linear-gradient(180deg, rgba(240,194,48,0.06), var(--surface) 40%); }
.price-card .badge-pop{
  display:inline-block; background:rgba(240,194,48,0.15); color:var(--yellow);
  font-family:'IBM Plex Mono', monospace; font-size:10px; text-transform:uppercase;
  letter-spacing:0.06em; padding:4px 10px; margin-bottom:14px; align-self:flex-start; border-radius:999px;
}
.price-card .badge-pop.blue{ background:var(--blue-soft); color:var(--blue-text); }
.price-card .tier{ font-family:'IBM Plex Mono', monospace; font-size:11px; text-transform:uppercase; letter-spacing:0.06em; color:var(--muted); }
.price-card .price{ font-weight:700; font-size:32px; color:var(--text); margin:8px 0 2px; }
.price-card .price span{ font-family:'IBM Plex Mono', monospace; font-size:12px; color:var(--muted); font-weight:400; }
.price-card ul{ list-style:none; padding:0; margin:14px 0 4px; flex:1; }
.price-card li{ font-size:13px; color:var(--text); padding:8px 0; border-bottom:1px solid var(--border); display:flex; gap:9px; align-items:flex-start; line-height:1.4; }
.price-card li::before{ content:"—"; color:var(--yellow); font-weight:700; }

/* ===== ACCESSIBILITY ===== */
.access-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
@media (max-width:900px){ .access-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .access-grid{ grid-template-columns:1fr; } }
.access-card .ico{
  width:36px; height:36px; border-radius:50%; background:var(--blue-soft); color:var(--blue-text);
  display:flex; align-items:center; justify-content:center; font-family:'IBM Plex Mono', monospace; font-size:13px; margin-bottom:13px;
}
.access-card h4{ font-weight:600; font-size:15px; margin:0 0 6px; color:var(--text); }
.access-card p{ color:var(--muted); font-size:13px; line-height:1.6; margin:0; }

/* ===== CONTACT ===== */
.contact-grid{ display:grid; grid-template-columns:1.1fr 0.9fr; gap:44px; }
@media (max-width:760px){ .contact-grid{ grid-template-columns:1fr; } }
.contact-card{ background:var(--navy); border:1px solid var(--border); border-radius:12px; padding:32px 28px; }
.contact-card .email{ font-family:'IBM Plex Mono', monospace; font-size:18px; color:var(--yellow); word-break:break-all; }
.contact-card p{ color:var(--muted); font-size:14px; line-height:1.6; }
.field{ margin-bottom:15px; }
.field label{ display:block; font-family:'IBM Plex Mono', monospace; font-size:10px; text-transform:uppercase; letter-spacing:0.06em; color:var(--muted); margin-bottom:6px;}
.field input, .field textarea{
  width:100%; border:1px solid var(--border); background:var(--surface); border-radius:6px;
  padding:11px 12px; font-family:'Inter', sans-serif; font-size:13.5px; color:var(--text);
}
.field input:focus, .field textarea:focus{ outline:none; border-color:var(--blue); }
.field textarea{ min-height:105px; resize:vertical; }

/* ===== REVIEWS ===== */
.review-card{ background:var(--surface); border:1px solid var(--border); border-left:3px solid var(--yellow); border-radius:10px; padding:24px; margin-bottom:16px; }
.review-card .stars{ color:var(--yellow); font-size:13px; letter-spacing:2px; margin-bottom:11px;}
.review-card p.txt{ font-size:14.5px; line-height:1.6; color:var(--text); margin:0 0 11px;}
.review-card .who{ font-family:'IBM Plex Mono', monospace; font-size:11px; color:var(--muted); text-transform:uppercase; letter-spacing:0.05em;}
.review-note{ border:1px dashed var(--border); border-radius:10px; padding:20px; text-align:center; color:var(--muted); font-size:13.5px; }
