/* ==========================================================================
   indiasportsfantasy.com — L02 Stats Dashboard Layout
   V9 FSL11 row 55 — Indian multi-sport fantasy platform
   COMPLETELY NEW CSS — NOT derived from sister sites
   Palette: midnight blue (#0B1437) + electric orange (#FF6B1A) + gold (#FFB627)
   Fonts: JetBrains Mono (data/UI), IBM Plex Sans (body), Space Grotesk (display)
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px));
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { width: auto; height: auto; }
.hero-grid > *, .card-grid > *, .inline-image-row > *, .site-footer .footer-grid > * { min-width: 0; }
.inline-image-row img { display: block; width: 100%; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: transparent; }
ul, ol { list-style: none; }
code, kbd, samp, .mono { font-family: var(--font-mono); }

/* ============================================================
   CSS VARIABLES — L02 Stats Dashboard palette
   ============================================================ */
:root {
  /* Palette */
  --midnight-950: #060B22;
  --midnight-900: #0B1437;
  --midnight-800: #131E4F;
  --midnight-700: #1B2A6B;
  --midnight-600: #243887;
  --electric-orange: #FF6B1A;
  --electric-orange-hot: #FF8438;
  --electric-orange-deep: #E54E00;
  --gold-500: #FFB627;
  --gold-400: #FFC757;
  --gold-300: #FFD888;
  --ink-100: #E8ECF7;
  --ink-200: #C7D0E8;
  --ink-300: #9BA6C8;
  --ink-400: #6B7799;
  --ink-500: #4B5577;
  --cyan-500: #4FE0C0;
  --rose-500: #FF5C8A;
  --lime-500: #B6F36B;

  /* Semantic tokens */
  --bg: var(--midnight-950);
  --surface: var(--midnight-900);
  --surface-2: var(--midnight-800);
  --surface-elev: rgba(255, 107, 26, 0.06);
  --border: rgba(155, 166, 200, 0.16);
  --border-soft: rgba(155, 166, 200, 0.08);
  --border-strong: rgba(255, 107, 26, 0.36);
  --primary: var(--electric-orange);
  --primary-hot: var(--electric-orange-hot);
  --primary-deep: var(--electric-orange-deep);
  --accent: var(--gold-500);
  --text: var(--ink-100);
  --text-soft: var(--ink-300);
  --text-dim: var(--ink-400);

  /* Fonts */
  --font-display: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  --font-body: 'IBM Plex Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  /* Layout tokens */
  --container: 1320px;
  --header-h: 76px;
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 14px;
  --r-pill: 999px;
  --shadow-card: 0 1px 0 rgba(255, 107, 26, 0.06), 0 12px 32px rgba(6, 11, 34, 0.42);
  --shadow-glow: 0 0 0 1px rgba(255, 107, 26, 0.45), 0 8px 28px rgba(255, 107, 26, 0.18);

  /* Gradients */
  --gradient-cta: linear-gradient(135deg, var(--electric-orange) 0%, var(--gold-500) 100%);
  --gradient-stat: linear-gradient(180deg, rgba(255, 107, 26, 0.18) 0%, rgba(11, 20, 55, 0) 100%);
  --gradient-page: radial-gradient(ellipse at top, rgba(36, 56, 135, 0.32) 0%, rgba(6, 11, 34, 0) 60%);

  /* Spacing */
  --gap-xs: 8px;
  --gap-sm: 12px;
  --gap-md: 20px;
  --gap-lg: 32px;
  --gap-xl: 56px;
}

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; width: 100%; }
.skip-link {
  position: fixed; top: 0; left: -9999px; background: var(--gradient-cta);
  color: var(--midnight-950); padding: 12px 18px; z-index: 9999; font-weight: 700;
  font-family: var(--font-mono); text-decoration: none;
}
.skip-link:focus { left: 8px; top: 8px; }

/* ============================================================
   HEADER — Topbar with monospace brand + tab nav
   ============================================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  background: rgba(6, 11, 34, 0.92);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
  padding-top: env(safe-area-inset-top, 0px);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%; gap: 24px;
}
.brand {
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--text); text-decoration: none; flex-shrink: 0;
}
.brand-mark {
  width: 42px; height: 42px;
  background: var(--gradient-cta);
  display: grid; place-items: center;
  font-family: var(--font-mono); font-weight: 700;
  font-size: 16px; color: var(--midnight-950);
  border-radius: 6px;
  position: relative;
  letter-spacing: -0.02em;
}
.brand-mark::before {
  content: '';
  position: absolute; inset: -2px;
  border: 1.5px solid var(--gold-500);
  border-radius: 8px;
  opacity: 0.4;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-family: var(--font-display); font-weight: 700;
  font-size: 18px; letter-spacing: -0.02em; color: var(--text);
}
.brand-name .em { color: var(--electric-orange); font-family: var(--font-mono); font-weight: 600; }
.brand-tag {
  font-family: var(--font-mono); font-size: 10px;
  color: var(--ink-400); letter-spacing: 0.06em;
  text-transform: uppercase; margin-top: 2px;
}
.brand-tag .live { color: var(--lime-500); }

/* Tab nav (top horizontal nav) */
.tab-nav { display: flex; align-items: center; gap: 4px; }
.tab-nav a {
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  color: var(--ink-300); padding: 8px 12px;
  border-radius: var(--r-sm); transition: all .15s ease;
  text-transform: uppercase; letter-spacing: 0.04em;
}
.tab-nav a:hover { color: var(--electric-orange); background: var(--surface-elev); }
.tab-nav a.is-active { color: var(--electric-orange); background: var(--surface-elev); border-bottom: 2px solid var(--electric-orange); }

.header-right { display: inline-flex; align-items: center; gap: 10px; }
.header-cta {
  font-family: var(--font-mono); font-size: 12px; font-weight: 600;
  color: var(--midnight-950); padding: 10px 16px;
  background: var(--gradient-cta); border-radius: var(--r-sm);
  text-transform: uppercase; letter-spacing: 0.04em;
}
.header-cta:hover { filter: brightness(1.08); }
.header-cta-ghost {
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  color: var(--text); padding: 9px 14px;
  border: 1px solid var(--border); border-radius: var(--r-sm);
  text-transform: uppercase; letter-spacing: 0.04em;
}
.header-cta-ghost:hover { border-color: var(--electric-orange); color: var(--electric-orange); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column; justify-content: center;
  gap: 5px; width: 44px; height: 44px; padding: 10px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-sm); cursor: pointer;
}
.hamburger span {
  display: block; width: 100%; height: 2px;
  background: var(--electric-orange); border-radius: 1px;
  transition: all .2s ease;
}

/* Mobile drawer */
.mobile-drawer {
  display: none; position: fixed; inset: 0; z-index: 50;
  background: rgba(6, 11, 34, 0.98);
  flex-direction: column; justify-content: center; align-items: center;
  gap: 12px; padding: 80px 24px 60px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .2s ease, visibility .2s ease;
}
.mobile-drawer.open, .mobile-drawer.is-open {
  display: flex !important;
  opacity: 1; visibility: visible; pointer-events: auto;
}
.mobile-drawer a {
  font-family: var(--font-mono); font-size: 18px; font-weight: 500;
  color: var(--ink-200); padding: 14px 24px; min-width: 240px; text-align: center;
  border: 1px solid var(--border); border-radius: var(--r-sm);
  text-transform: uppercase; letter-spacing: 0.06em;
}
.mobile-drawer a:hover, .mobile-drawer a.is-active {
  color: var(--electric-orange); border-color: var(--electric-orange);
}

/* ============================================================
   HERO — L02 Stats Dashboard: ticker + KPIs + sparkline preview
   ============================================================ */
.hero {
  position: relative;
  background: var(--gradient-page), var(--midnight-950);
  border-bottom: 1px solid var(--border);
  padding: 64px 0 80px;
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 107, 26, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 107, 26, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-banner {
  position: relative;
  width: 100%;
  max-height: 360px;
  overflow: hidden;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--border);
}
.hero-banner img {
  display: block;
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  object-position: center;
}
.hero-top {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 32px; gap: 16px; flex-wrap: wrap;
}
.hero-eyebrow {
  font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  color: var(--ink-300); text-transform: uppercase; letter-spacing: 0.1em;
  display: inline-flex; align-items: center; gap: 8px;
}
.hero-eyebrow .pulse {
  display: inline-block; width: 8px; height: 8px;
  background: var(--lime-500); border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(182, 243, 107, 0.18);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(182, 243, 107, 0.18); }
  50% { box-shadow: 0 0 0 8px rgba(182, 243, 107, 0.0); }
}
.hero-time { font-family: var(--font-mono); font-size: 11px; color: var(--ink-400); letter-spacing: 0.06em; }

.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 56px; align-items: start;
}
.hero h1 {
  font-family: var(--font-display); font-size: clamp(38px, 5vw, 68px);
  font-weight: 700; line-height: 1.05; letter-spacing: -0.025em;
  margin-bottom: 24px; color: var(--text);
}
.hero h1 .em {
  color: var(--electric-orange); font-family: var(--font-mono); font-weight: 600;
}
.hero-lede {
  font-size: 18px; line-height: 1.55; color: var(--ink-200);
  margin-bottom: 32px; max-width: 580px;
}
.hero-cta-row { display: inline-flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }

/* Buttons */
.btn {
  font-family: var(--font-mono); font-size: 13px; font-weight: 600;
  padding: 14px 22px; border-radius: var(--r-sm); transition: all .15s ease;
  display: inline-flex; align-items: center; gap: 8px;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.btn-primary { background: var(--gradient-cta); color: var(--midnight-950); box-shadow: var(--shadow-glow); }
.btn-primary:hover { transform: translateY(-1px); filter: brightness(1.08); }
.btn-ghost { border: 1px solid var(--border); color: var(--text); }
.btn-ghost:hover { border-color: var(--electric-orange); color: var(--electric-orange); }
.btn-sm { font-size: 11px; padding: 8px 14px; }

/* KPI row */
.hero-kpis {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 12px; padding: 20px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-md);
}
.kpi {
  display: flex; flex-direction: column; gap: 4px;
  padding: 12px; border-left: 2px solid var(--electric-orange);
  background: linear-gradient(180deg, rgba(255, 107, 26, 0.08) 0%, rgba(11, 20, 55, 0) 100%);
}
.kpi-label {
  font-family: var(--font-mono); font-size: 10px; color: var(--ink-400);
  text-transform: uppercase; letter-spacing: 0.08em;
}
.kpi-value {
  font-family: var(--font-mono); font-size: 24px; font-weight: 700;
  color: var(--electric-orange); line-height: 1;
}
.kpi-delta {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--lime-500); display: inline-flex; align-items: center; gap: 3px;
}
.kpi-delta.down { color: var(--rose-500); }

/* Ticker */
.ticker {
  display: flex; overflow: hidden;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 14px 0;
  margin-bottom: 32px; position: relative;
}
.ticker::before, .ticker::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 80px;
  pointer-events: none; z-index: 2;
}
.ticker::before { left: 0; background: linear-gradient(90deg, var(--midnight-900) 0%, transparent 100%); }
.ticker::after { right: 0; background: linear-gradient(270deg, var(--midnight-900) 0%, transparent 100%); }
.ticker-track {
  display: inline-flex; gap: 36px; padding: 0 36px;
  animation: ticker-scroll 60s linear infinite;
  white-space: nowrap;
}
@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.ticker-item {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 12px;
  color: var(--ink-300);
}
.ticker-item .t-name { color: var(--text); font-weight: 600; }
.ticker-item .t-score { color: var(--electric-orange); }
.ticker-item .t-status { font-size: 10px; padding: 2px 6px; border-radius: 3px; background: var(--surface-2); }
.ticker-item .t-status.live { background: rgba(255, 92, 138, 0.16); color: var(--rose-500); }

/* Hero dashboard panel */
.hero-dash {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 24px;
  box-shadow: var(--shadow-card);
}
.dash-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 18px;
}
.dash-title {
  font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  color: var(--electric-orange); text-transform: uppercase; letter-spacing: 0.08em;
}
.dash-meta { font-family: var(--font-mono); font-size: 10px; color: var(--ink-400); }
.dash-list { display: flex; flex-direction: column; gap: 14px; }
.dash-row {
  display: grid; grid-template-columns: auto 1fr auto auto;
  align-items: center; gap: 12px; padding: 10px 0;
  border-bottom: 1px dashed var(--border-soft);
}
.dash-row:last-child { border-bottom: 0; }
.dash-rank {
  font-family: var(--font-mono); font-size: 11px; font-weight: 700;
  color: var(--ink-400); width: 24px;
}
.dash-rank.top { color: var(--gold-500); }
.dash-name { font-size: 14px; font-weight: 600; color: var(--text); }
.dash-team { font-family: var(--font-mono); font-size: 10px; color: var(--ink-400); display: block; }
.dash-spark { width: 80px; height: 28px; }
.dash-pts {
  font-family: var(--font-mono); font-size: 14px; font-weight: 700;
  color: var(--electric-orange); text-align: right;
}

/* ============================================================
   SECTIONS — band + cards
   ============================================================ */
.band { padding: 64px 0; }
.band-elev-1 { background: var(--midnight-900); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.band-elev-2 { background: var(--surface); }

.band-header { max-width: 760px; margin-bottom: 36px; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  color: var(--electric-orange); text-transform: uppercase; letter-spacing: 0.1em;
  margin-bottom: 12px;
  padding: 4px 10px; background: var(--surface-elev);
  border-radius: var(--r-sm); border-left: 2px solid var(--electric-orange);
}
.band-header h2 {
  font-family: var(--font-display); font-size: clamp(26px, 3vw, 38px);
  font-weight: 700; line-height: 1.15; letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.band-header h2 .em { color: var(--electric-orange); font-family: var(--font-mono); }
.band-header .lede { font-size: 16px; line-height: 1.65; color: var(--ink-200); }

/* Section visual hero image */
.section-visual {
  margin: 24px 0;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--border);
}
.section-visual img {
  width: 100%; height: 320px;
  object-fit: cover; display: block;
}

/* Card grid system - L02 Stats Dashboard */
.card-grid { display: grid; gap: 16px; }
.card-grid-2 { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); }
.card-grid-3 { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); }
.card-grid-4 { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); }
.card-grid-5 { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); }

.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 22px;
  display: flex; flex-direction: column; gap: 12px;
  transition: all .15s ease;
}
.card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}
.card .ico {
  width: 40px; height: 40px; border-radius: var(--r-sm);
  display: grid; place-items: center;
  font-family: var(--font-mono); font-size: 14px; font-weight: 700;
  background: var(--surface-elev); color: var(--electric-orange);
}
.card .ico.orange { background: rgba(255, 107, 26, 0.16); color: var(--electric-orange); }
.card .ico.gold { background: rgba(255, 182, 39, 0.16); color: var(--gold-500); }
.card .ico.blue { background: rgba(79, 224, 192, 0.14); color: var(--cyan-500); }
.card .ico.rose { background: rgba(255, 92, 138, 0.14); color: var(--rose-500); }
.card h3 { font-family: var(--font-display); font-size: 17px; font-weight: 600; color: var(--text); line-height: 1.3; }
.card p { font-size: 14px; line-height: 1.55; color: var(--ink-300); }
.card .meta {
  font-family: var(--font-mono); font-size: 10px; color: var(--ink-400);
  text-transform: uppercase; letter-spacing: 0.06em;
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 8px; border-top: 1px dashed var(--border-soft);
}
.card .meta .num { color: var(--electric-orange); font-weight: 700; }

/* Stat card */
.stat-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 22px;
  display: flex; flex-direction: column; gap: 6px;
  position: relative; overflow: hidden;
}
.stat-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--electric-orange);
}
.stat-card .num {
  font-family: var(--font-mono); font-size: 36px; font-weight: 700;
  color: var(--electric-orange); line-height: 1;
}
.stat-card .label {
  font-family: var(--font-mono); font-size: 10px; font-weight: 600;
  color: var(--ink-400); text-transform: uppercase; letter-spacing: 0.08em;
}
.stat-card .desc { font-size: 13px; color: var(--ink-300); margin-top: 4px; }

/* Data card with chart */
.data-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 20px;
  display: flex; flex-direction: column; gap: 12px;
}
.data-card .title {
  font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  color: var(--electric-orange); text-transform: uppercase; letter-spacing: 0.08em;
}
.data-card .v {
  font-family: var(--font-mono); font-size: 22px; font-weight: 700;
  color: var(--text); line-height: 1;
}
.data-card .delta { font-family: var(--font-mono); font-size: 11px; color: var(--lime-500); }
.data-card .spark { width: 100%; height: 40px; }

/* Step cards */
.step-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 22px;
  display: flex; flex-direction: column; gap: 10px;
  position: relative;
}
.step-card .step-num {
  font-family: var(--font-mono); font-size: 11px; font-weight: 700;
  color: var(--electric-orange); background: var(--surface-elev);
  padding: 4px 10px; border-radius: var(--r-sm); display: inline-block;
  width: fit-content;
}
.step-card h4 { font-family: var(--font-display); font-size: 18px; font-weight: 600; color: var(--text); }
.step-card p { font-size: 14px; color: var(--ink-300); line-height: 1.55; }

/* Loose card */
.loose-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 22px;
  display: flex; flex-direction: column; gap: 12px;
}

/* Risk card */
.risk-card {
  background: linear-gradient(135deg, rgba(255, 92, 138, 0.08) 0%, rgba(11, 20, 55, 0) 100%);
  border: 1px solid rgba(255, 92, 138, 0.24); border-radius: var(--r-md);
  padding: 22px;
}
.risk-card h4 {
  font-family: var(--font-display); font-size: 18px; font-weight: 600;
  color: var(--rose-500); margin-bottom: 8px;
}
.risk-card p { font-size: 14px; color: var(--ink-300); }

/* Comparison card */
.comparison-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 20px;
  display: flex; flex-direction: column; gap: 8px;
}
.comparison-card .name { font-family: var(--font-display); font-size: 16px; font-weight: 600; color: var(--text); }
.comparison-card .row {
  display: flex; justify-content: space-between;
  font-family: var(--font-mono); font-size: 12px;
  padding: 4px 0; border-bottom: 1px dashed var(--border-soft);
}
.comparison-card .row:last-child { border-bottom: 0; }
.comparison-card .row .k { color: var(--ink-400); }
.comparison-card .row .v { color: var(--electric-orange); font-weight: 600; }

/* Inline image row */
.inline-image-row {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  gap: 14px; margin: 24px 0;
}
.inline-image-row .img-card {
  border-radius: var(--r-md); overflow: hidden;
  border: 1px solid var(--border); background: var(--surface);
}
.inline-image-row .img-card img { width: 100%; height: 180px; object-fit: cover; }
.inline-image-row .img-card .caption {
  padding: 12px 14px; font-family: var(--font-mono);
  font-size: 11px; color: var(--ink-300); text-transform: uppercase; letter-spacing: 0.06em;
}

/* FAQ grid */
.faq-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 14px; }
.faq-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 20px;
}
.faq-card h4 {
  font-family: var(--font-display); font-size: 16px; font-weight: 600;
  color: var(--electric-orange); margin-bottom: 10px;
}
.faq-card p { font-size: 14px; color: var(--ink-300); line-height: 1.55; }

/* Testimonial */
.testimonial-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 22px;
  display: flex; flex-direction: column; gap: 14px;
}
.testimonial-card .q { font-size: 14px; color: var(--ink-200); line-height: 1.55; font-style: italic; }
.testimonial-card .who {
  display: flex; align-items: center; gap: 10px;
  border-top: 1px dashed var(--border-soft); padding-top: 12px;
}
.testimonial-card .avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--gradient-cta); display: grid; place-items: center;
  font-family: var(--font-mono); font-weight: 700; font-size: 13px;
  color: var(--midnight-950);
}
.testimonial-card .name { font-size: 13px; font-weight: 600; color: var(--text); }
.testimonial-card .place { font-family: var(--font-mono); font-size: 10px; color: var(--ink-400); }

/* Pricing card */
.pricing-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 24px;
  display: flex; flex-direction: column; gap: 12px;
  position: relative;
}
.pricing-card.featured {
  border-color: var(--electric-orange);
  box-shadow: var(--shadow-glow);
}
.pricing-card.featured::before {
  content: 'RECOMMENDED'; position: absolute; top: -10px; left: 20px;
  font-family: var(--font-mono); font-size: 10px; font-weight: 700;
  color: var(--midnight-950); background: var(--gradient-cta);
  padding: 4px 10px; border-radius: var(--r-sm);
  letter-spacing: 0.08em;
}
.pricing-card .tier {
  font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  color: var(--electric-orange); text-transform: uppercase; letter-spacing: 0.08em;
}
.pricing-card .price {
  font-family: var(--font-mono); font-size: 32px; font-weight: 700;
  color: var(--text); line-height: 1;
}
.pricing-card .price .unit { font-size: 14px; color: var(--ink-400); margin-left: 4px; }
.pricing-card ul { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; }
.pricing-card ul li {
  font-size: 13px; color: var(--ink-200);
  padding-left: 18px; position: relative;
}
.pricing-card ul li::before {
  content: '+'; position: absolute; left: 0; top: 0;
  font-family: var(--font-mono); color: var(--electric-orange); font-weight: 700;
}

/* CTA band */
.cta-band {
  background: var(--gradient-cta);
  border-radius: var(--r-md); padding: 56px 40px;
  display: flex; flex-direction: column; gap: 16px; align-items: center;
  text-align: center;
}
.cta-band h2 { font-family: var(--font-display); font-size: clamp(28px, 3vw, 40px); font-weight: 700; color: var(--midnight-950); line-height: 1.1; max-width: 720px; }
.cta-band p { font-size: 16px; color: var(--midnight-800); max-width: 600px; }
.cta-band .btn { background: var(--midnight-950); color: var(--electric-orange); }
.cta-band .btn:hover { background: var(--midnight-800); }

/* Tables */
.table-responsive { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--r-md); }
.data-table { width: 100%; border-collapse: collapse; font-family: var(--font-mono); font-size: 13px; }
.data-table th, .data-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--border); }
.data-table th {
  background: var(--surface-2); font-weight: 700; font-size: 11px;
  color: var(--electric-orange); text-transform: uppercase; letter-spacing: 0.08em;
}
.data-table tbody tr:hover { background: var(--surface-elev); }
.data-table .num { color: var(--electric-orange); font-weight: 700; }
.data-table .badge {
  display: inline-block; padding: 2px 8px; border-radius: var(--r-sm);
  background: var(--surface-elev); color: var(--electric-orange);
  font-size: 10px; font-weight: 700; margin-left: 6px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--midnight-900);
  border-top: 1px solid var(--border);
  padding: 56px 0 24px; color: var(--ink-300);
}
.site-footer .footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 32px; margin-bottom: 32px;
}
.site-footer .footer-col h5 {
  font-family: var(--font-mono); font-size: 11px; font-weight: 700;
  color: var(--electric-orange); text-transform: uppercase; letter-spacing: 0.1em;
  margin-bottom: 14px;
}
.site-footer .footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.site-footer .footer-col a {
  font-size: 13px; color: var(--ink-300); transition: color .15s ease;
}
.site-footer .footer-col a:hover { color: var(--electric-orange); }
.site-footer .footer-brand p { font-size: 13px; line-height: 1.55; margin: 12px 0; }
.site-footer .footer-bottom {
  padding-top: 24px; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-family: var(--font-mono); font-size: 11px; color: var(--ink-400);
  flex-wrap: wrap;
}
.site-footer .footer-bottom .legal-links { display: inline-flex; gap: 16px; }
.site-footer .footer-bottom a:hover { color: var(--electric-orange); }
.social-icons { display: inline-flex; gap: 8px; margin-top: 12px; }
.social-icons a {
  width: 36px; height: 36px; border-radius: var(--r-sm);
  background: var(--surface); border: 1px solid var(--border);
  display: grid; place-items: center;
  font-family: var(--font-mono); font-size: 11px; font-weight: 700;
  color: var(--electric-orange);
}
.social-icons a:hover { background: var(--electric-orange); color: var(--midnight-950); border-color: var(--electric-orange); }

/* ============================================================
   RESPONSIVE — Mobile (L02 critical)
   ============================================================ */

/* Tablet */
@media (max-width: 960px) {
  .tab-nav { display: none; }
  .hamburger { display: inline-flex !important; }
  .header-cta-ghost { display: none; }
  .hero { padding: 48px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero h1 { font-size: clamp(30px, 7vw, 44px); }
  .hero-kpis { grid-template-columns: repeat(2, 1fr); }
  .hero-dash { order: 2; }
  .band { padding: 48px 0; }
  .site-footer .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .card-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .card-grid-5 { grid-template-columns: repeat(2, 1fr); }
  .inline-image-row { grid-template-columns: 1fr 1fr; }
  .section-visual img { height: 240px; }
  .cta-band { padding: 40px 24px; }
  .ticker { padding: 12px 0; }
  .ticker-track { gap: 28px; }
}

/* Mobile */
@media (max-width: 599px) {
  #hero.hero { padding: 24px 0 28px; min-height: 0 !important; max-height: none !important; }
  #hero.hero .hero-grid { display: block; }
  #hero.hero .hero-dash { margin-top: 18px; }
  #hero.hero .hero-cta-row { margin-bottom: 0; }
  .container { padding: 0 16px; }
  .hero { padding: 32px 0 40px; min-height: 480px !important; max-height: 720px !important; }
  .hero h1 { font-size: 28px !important; line-height: 1.15; }
  .hero h1 br { display: none; }
  .hero-lede { font-size: 15px !important; line-height: 1.55; margin-bottom: 24px; }
  .hero-cta-row { flex-direction: column; align-items: stretch; }
  .hero-cta-row .btn { justify-content: center; }
  .hero-kpis { grid-template-columns: repeat(2, 1fr); gap: 8px; padding: 14px; }
  .kpi { padding: 10px; }
  .kpi-value { font-size: 18px; }
  .hero-dash { padding: 18px; }
  .dash-row { grid-template-columns: auto 1fr auto; gap: 8px; padding: 8px 0; }
  .dash-spark { display: none; }
  .band { padding: 40px 0; }
  .band-header { margin-bottom: 24px; }
  .band-header h2 { font-size: 24px !important; }
  .card-grid { grid-template-columns: 1fr !important; gap: 12px; }
  .card-grid-2, .card-grid-3, .card-grid-4, .card-grid-5 { grid-template-columns: 1fr; }
  .inline-image-row { grid-template-columns: 1fr; }
  .section-visual { margin: 16px 0; max-height: 220px; }
  .section-visual img { height: 180px; max-height: 220px; }
  .site-footer { padding: 40px 0 16px; }
  .site-footer .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .site-footer .footer-bottom { flex-direction: column; align-items: flex-start; }
  .table-responsive { font-size: 12px; }
  .data-table th, .data-table td { padding: 10px 12px; }
  .brand-tag { display: none; }
  .brand-name { font-size: 16px; }
  .header-cta { padding: 9px 12px; font-size: 11px; }
  .cta-band { padding: 32px 20px; }
  .cta-band h2 { font-size: 22px !important; }
  .loose-card { max-height: 400px; overflow: hidden; position: relative; }
  .loose-card::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 60px;
    background: linear-gradient(180deg, transparent 0%, var(--surface) 100%);
    pointer-events: none;
  }
  .testimonial-card img, .pricing-card img, .cta-card img { max-height: 180px !important; }
  .step-card img { max-height: 220px !important; }
  .data-card img { max-height: 180px !important; }
  .ticker { padding: 10px 0; margin-bottom: 20px; }
  .ticker-item { font-size: 11px; gap: 6px; }
  .ticker-track { gap: 24px; padding: 0 16px; }
  .brand { gap: 8px; }
  .brand-mark { width: 36px; height: 36px; font-size: 14px; }
  .brand-text { max-width: 200px; }
  .brand-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .stat-card .num { font-size: 28px; }
  .data-card .v { font-size: 18px; }
  .pricing-card .price { font-size: 26px; }
}

/* iOS Safari safe-area */
@supports (-webkit-touch-callout: none) {
  body { padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px)); }
  .site-header { padding-top: env(safe-area-inset-top, 0px); height: calc(var(--header-h) + env(safe-area-inset-top, 0px)); }
  .site-footer { padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px)); }
}


/* News article figures */
.article-hero {
  margin: 0 0 28px;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
}
.article-hero img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
article.band .container > p,
article.band .container > .lede {
  max-width: 760px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-200);
  margin: 0 0 18px;
}
article.band .container > h2 {
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1.25;
  color: var(--ink-50);
  margin: 36px 0 14px;
  max-width: 760px;
}
article.band .container > h3 {
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.3;
  color: var(--electric-orange);
  margin: 28px 0 12px;
  max-width: 760px;
}
article.band .container > ul {
  max-width: 760px;
  margin: 0 0 18px 1.2em;
  color: var(--ink-200);
  line-height: 1.65;
}
article.band .container > ul li { margin-bottom: 8px; }
article.band .inline-image-row .img-card img {
  height: auto;
  min-height: 200px;
  max-height: 360px;
  aspect-ratio: 16 / 9;
}

/* Print */
@media print {
  .site-header, .site-footer, .hamburger, .mobile-drawer { display: none; }
  body { padding-top: 0; background: #fff; color: #000; }
}