/* =========================================================
   12bet — Best Come Sports Main Stylesheet
   LAYOUT_007 (Editorial Trophy Spotlight) · DARK only · COLOR_GOLD_TROPHY · TYPO_006
   Brand: 12bet (betting company, action-oriented)
   Different from iplfantasypro (Scoreboard Portal),
   iplsupercontest (SaaS App), playcomesports (Indigo App),
   rupee1fantasy (Editorial Longform)
   ========================================================= */

@import url("./variables.css");

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; max-width: 100%; }

body {
  background: var(--background);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; display: block; }

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--t-fast);
}
a:hover { color: var(--accent); }

ul, ol { margin: 0; padding: 0; }
button { font: inherit; cursor: pointer; }

/* ---------- Typography (TYPO_006 — Sora display + Inter body) ---------- */
h1, h2, h3, h4, h5, h6 {
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.18;
  margin: 0 0 var(--s-4);
  letter-spacing: -0.018em;
}

h1 {
  font-size: clamp(34px, 4.5vw, 56px);
  line-height: 1.06;
  letter-spacing: -0.025em;
  font-family: var(--font-display);
}
h1 em { color: var(--accent); font-style: normal; }
h2 {
  font-size: clamp(26px, 3vw, 34px);
  letter-spacing: -0.018em;
  margin-bottom: var(--s-5);
  font-family: var(--font-display);
}
h2 em { color: var(--accent); font-style: normal; }
h3 { font-size: 22px; line-height: 1.32; font-weight: 700; }
h4 { font-size: 18px; line-height: 1.4; font-weight: 700; }
p  { margin: 0 0 var(--s-4); color: var(--text); line-height: 1.7; }

.eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 5px 12px;
  border: 1px solid var(--accent-border);
  border-radius: var(--r-pill);
  background: rgba(255, 215, 0, 0.08);
  font-family: var(--font-mono);
}

.muted { color: var(--muted); }
.muted-2 { color: var(--muted-2); }
.strong { color: var(--text-strong); }

/* ---------- Layout container ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--s-5);
}
.container--md { max-width: var(--container-md); }
.container--sm { max-width: var(--container-sm); }

section {
  position: relative;
  padding: var(--s-9) 0;
  background: var(--background);
}
section + section { border-top: 1px solid var(--soft-border); }

.section-head {
  margin-bottom: var(--s-7);
  max-width: 760px;
}
.section-head h2 { margin-bottom: var(--s-3); }
.section-head p  { color: var(--muted); font-size: 17px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: var(--z-header);
  background: var(--overlay);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--soft-border);
  height: var(--header-h);
  display: flex;
  align-items: center;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-5);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  color: var(--text);
  letter-spacing: -0.01em;
}
.brand-mark {
  width: 36px; height: 36px;
  border-radius: 9px;
  background: var(--gradient-cta);
  display: grid; place-items: center;
  color: var(--inverse);
  font-weight: 900;
  font-size: 14px;
  box-shadow: var(--shadow-glow);
  letter-spacing: -0.02em;
}
.brand-name { color: var(--text); }
.brand-name em { color: var(--accent); font-style: normal; font-weight: 900; }

.primary-nav {
  display: flex; align-items: center;
  gap: 4px;
}
.primary-nav a {
  color: var(--text-muted);
  padding: 8px 12px;
  border-radius: var(--r-md);
  font-size: 15px;
  font-weight: 600;
  transition: color var(--t-fast), background var(--t-fast);
}
.primary-nav a:hover { color: var(--accent); background: rgba(255, 215, 0, 0.06); }
.primary-nav a.is-active { color: var(--accent); background: rgba(255, 215, 0, 0.10); }

.header-cta { display: flex; align-items: center; gap: 10px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  padding: 12px 18px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  background: transparent;
  color: var(--text);
  transition: transform var(--t-fast), background var(--t-fast), border-color var(--t-fast), color var(--t-fast);
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--gradient-cta);
  color: var(--inverse);
  box-shadow: var(--shadow-md);
}
.btn-primary:hover { color: var(--inverse); box-shadow: var(--shadow-lg); }
.btn-ghost {
  color: var(--text);
  border-color: var(--border);
  background: rgba(255, 215, 0, 0.02);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-accent {
  background: var(--gradient-accent);
  color: var(--inverse);
}
.btn-block { width: 100%; }
.btn-lg { padding: 16px 26px; font-size: 16px; }
.btn-sm { padding: 9px 14px; font-size: 14px; }

/* ---------- CLEAN hamburger (only rule) ---------- */
.hamburger {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #F8FAFC;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
  z-index: 70;
}
.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Mobile drawer (full viewport) ---------- */
.mobile-drawer {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background: var(--background);
  z-index: 55;
  padding: 80px 24px 32px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  display: none;
  overscroll-behavior: contain;
}
.mobile-drawer.is-open { display: block !important; }

.mobile-drawer .drawer-section {
  display: block;
  padding: 14px 0;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--soft-border);
  font-size: 16px;
  font-weight: 600;
}
.mobile-drawer .drawer-section:hover { color: var(--accent); }

.mobile-drawer .drawer-social {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--soft-border);
}
.drawer-social-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 8px;
}
.drawer-social-row { display: flex; gap: 10px; flex-wrap: wrap; }
.drawer-social-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.12);
  color: var(--accent);
  border: 1px solid var(--accent-border);
  text-decoration: none;
}
.drawer-social-icon:hover { background: var(--accent); color: var(--inverse); }
.drawer-social-icon svg { width: 18px; height: 18px; }

.mobile-drawer .drawer-cta {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--soft-border);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.drawer-cta a {
  display: block;
  text-align: center;
  padding: 14px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
}
.drawer-cta .btn-primary { background: var(--gradient-cta); color: var(--inverse); }
.drawer-cta .btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--border); }

/* Show / hide header CTA + hamburger */
@media (max-width: 899px) {
  .primary-nav { display: none !important; }
  .header-cta .btn-ghost,
  .header-cta .btn-primary { display: none !important; }
  .hamburger { display: inline-flex !important; }
  body { padding-top: var(--header-h); }
}
@media (min-width: 900px) {
  .hamburger { display: none !important; }
  .mobile-drawer, .mobile-drawer.is-open { display: none !important; }
  .header-cta .btn-ghost,
  .header-cta .btn-primary { display: inline-flex; }
  body { padding-top: var(--header-h); }
}

/* ---------- Social row ---------- */
.social-row { display: flex; gap: 10px; margin-top: var(--s-3); flex-wrap: wrap; }
.social-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.12);
  color: var(--accent);
  border: 1px solid var(--accent-border);
  transition: all 0.2s;
  text-decoration: none;
}
.social-icon:hover {
  background: var(--accent);
  color: var(--inverse);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}
.social-icon svg { width: 18px; height: 18px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(64px, 12vw, 140px) 0 clamp(48px, 8vw, 80px);
  background: var(--gradient-hero);
  overflow: hidden;
  border-top: 1px solid var(--soft-border);
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 480px at 14% 18%, rgba(212, 175, 55, 0.16), transparent 60%),
    radial-gradient(720px 380px at 90% 12%, rgba(255, 215, 0, 0.10), transparent 65%),
    radial-gradient(540px 320px at 50% 100%, rgba(212, 175, 55, 0.08), transparent 60%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--s-8);
  align-items: center;
  position: relative;
}
.hero-copy h1 { margin-bottom: var(--s-4); }
.hero-copy h1 em { color: var(--accent); font-style: normal; }
.hero-lede {
  color: var(--text-muted);
  font-size: 19px;
  max-width: 56ch;
  margin-bottom: var(--s-6);
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-trust {
  background: var(--gradient-tile);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--s-6);
  position: relative;
  overflow: hidden;
}
.hero-trust::after {
  content: "";
  position: absolute; right: -50px; top: -50px;
  width: 200px; height: 200px;
  background: radial-gradient(closest-side, rgba(255, 215, 0, 0.18), transparent);
  border-radius: 50%;
}
.hero-trust h3 { margin-bottom: var(--s-3); font-size: 18px; }
.hero-trust ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.hero-trust li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--text-muted);
}
.hero-trust li::before {
  content: "";
  flex-shrink: 0;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--gradient-cta);
  display: grid; place-items: center;
  color: var(--inverse);
  font-weight: 900;
  font-size: 12px;
  margin-top: 2px;
  background-image: var(--gradient-cta);
}
.hero-trust li .check {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--gradient-cta);
  display: grid; place-items: center;
  color: var(--inverse);
  font-weight: 900;
  font-size: 12px;
  margin-top: 2px;
}

/* ---------- Compliance strip ---------- */
.compliance {
  padding: var(--s-4) 0;
  background: var(--surface);
  border-top: 1px solid var(--soft-border);
  border-bottom: 1px solid var(--soft-border);
  font-size: 13px;
  color: var(--text-muted);
}
.compliance .container {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
}
.compliance .pill {
  border: 1px solid var(--border);
  padding: 3px 10px;
  border-radius: var(--r-pill);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text);
  background: var(--surface-2);
}
.compliance .pill--warn { color: var(--accent); border-color: var(--accent-border); }
.compliance a { color: var(--accent); }

/* ---------- Trophy cards (LAYOUT_007 spotlight) ---------- */
.spotlight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
}
.spotlight-card {
  background: var(--gradient-tile);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--s-6);
  position: relative;
  overflow: hidden;
  transition: transform var(--t-fast), border-color var(--t-fast);
}
.spotlight-card:hover { transform: translateY(-4px); border-color: var(--accent); }
.spotlight-card .spotlight-num {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.02em;
}
.spotlight-card .spotlight-label {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-top: 8px;
  font-weight: 700;
}
.spotlight-card p {
  margin: var(--s-4) 0 0;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ---------- Hub cards (1:1 aspect, 8 hubs) ---------- */
.hub-tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-4);
}
.hub-card {
  background: var(--gradient-tile);
  border: 1px solid var(--soft-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--text);
  transition: transform var(--t-fast), border-color var(--t-fast);
}
.hub-card:hover { transform: translateY(-3px); border-color: var(--accent); }
.hub-card__art {
  aspect-ratio: 1 / 1;
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
  background: var(--surface-2);
}
.hub-card__body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.hub-card .ttl, .hub-card h3 {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
}
.hub-card .sub, .hub-card__sub {
  font-size: 10px;
  color: var(--accent);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.hub-card__desc { font-size: 12.5px; color: var(--muted); line-height: 1.5; }
@media (max-width: 1199px) { .hub-tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 599px) { .hub-tiles { grid-template-columns: 1fr; } }

/* ---------- Money table ---------- */
.money-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.money-table th, .money-table td {
  padding: 12px 14px;
  text-align: left;
  font-size: 14px;
  border-bottom: 1px solid var(--soft-border);
}
.money-table th {
  background: var(--surface-2);
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 800;
}
.money-table tbody tr:nth-child(even) { background: rgba(255, 255, 255, 0.015); }
.money-table tbody tr:hover { background: rgba(255, 215, 0, 0.05); }
.money-table .pos { color: var(--accent); font-weight: 800; font-variant-numeric: tabular-nums; }
.money-table .neg { color: #F87171; font-weight: 700; font-variant-numeric: tabular-nums; }

/* ---------- Leaderboard (trophy-style) ---------- */
.lb-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.lb-head, .lb-row {
  display: grid;
  grid-template-columns: 64px 1fr 120px 120px 110px;
  align-items: center;
  padding: 12px 16px;
  gap: 8px;
  font-size: 15px;
}
.lb-head {
  background: var(--surface-2);
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  border-bottom: 1px solid var(--border);
}
.lb-row { border-bottom: 1px solid var(--soft-border); }
.lb-row:last-child { border-bottom: none; }
.lb-row:nth-child(odd) { background: rgba(255, 255, 255, 0.015); }
.lb-row .rank {
  display: inline-grid; place-items: center;
  width: 32px; height: 32px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  font-weight: 800;
  font-size: 14px;
  color: var(--text);
}
.lb-row .rank--1 { color: var(--accent); border-color: var(--accent); background: rgba(255, 215, 0, 0.10); }
.lb-row .rank--2 { color: var(--text-muted); }
.lb-row .rank--3 { color: #D08A4A; }
.lb-row .name { color: var(--text); font-weight: 700; }
.lb-row .team { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); }
.lb-row .team::before {
  content: ""; width: 18px; height: 18px;
  border-radius: 4px;
  background: var(--gradient-cta);
  opacity: 0.85;
}
.lb-row .pts {
  color: var(--accent);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

/* ---------- CTA banner (download app) ---------- */
.cta-banner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--s-7);
  align-items: center;
  background: var(--gradient-tile);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--s-8);
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute; right: -60px; top: -60px;
  width: 220px; height: 220px;
  background: radial-gradient(closest-side, rgba(255, 215, 0, 0.22), transparent);
  border-radius: 50%;
  pointer-events: none;
}
.cta-banner h2 { margin-bottom: var(--s-3); }
.cta-banner p { color: var(--text-muted); margin-bottom: var(--s-5); }
.cta-banner-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Steps list ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
}
.step {
  background: var(--gradient-tile);
  border: 1px solid var(--soft-border);
  border-radius: var(--r-lg);
  padding: var(--s-5);
  position: relative;
}
.step .step-num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.16em;
}
.step h3 { font-size: 18px; margin-top: 8px; }
.step p { font-size: 14px; color: var(--text-muted); margin: 0; }
@media (max-width: 899px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Media flow (money pages — 6 separate sections) ---------- */
.media-flow {
  display: flex;
  flex-direction: column;
  gap: 56px;
  margin-top: var(--s-5);
}
.media-step {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-7);
  align-items: center;
  padding: 28px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.media-step:first-child { border-top: none; padding-top: var(--s-3); }
.media-step--reverse { direction: rtl; }
.media-step--reverse > * { direction: ltr; }
.media-step__text { display: flex; flex-direction: column; gap: 12px; }
.media-step__num {
  font-size: 14px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.18em;
  font-family: var(--font-mono);
}
.media-step__text h3 { font-size: 22px; font-weight: 700; margin: 0; }
.media-step__text p { font-size: 15px; line-height: 1.65; color: var(--text-muted); margin: 0; }
.media-step .media-item {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--soft-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  padding: var(--s-3);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform var(--t-fast), border-color var(--t-fast);
}
.media-step .media-item:hover { border-color: var(--accent); transform: translateY(-3px); }
.media-step .media-item img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--r-md);
  display: block;
}
.media-step .media-item figcaption {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  font-weight: 500;
}
@media (max-width: 899px) {
  .media-step, .media-step--reverse {
    grid-template-columns: 1fr !important;
    direction: ltr;
    gap: var(--s-4);
    padding: 20px 0;
  }
}

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 14px; margin-top: var(--s-5); }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--soft-border);
  border-radius: var(--r-lg);
  padding: 18px 22px;
}
.faq-item h3 { font-size: 17px; font-weight: 700; margin: 0 0 8px; color: var(--accent); }
.faq-item p { font-size: 15px; color: var(--text-muted); margin: 0; line-height: 1.65; }
.faq-item p + p { margin-top: 8px; }

/* ---------- Trophy figure (single big trophy) ---------- */
.trophy-figure {
  background: var(--gradient-tile);
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  padding: var(--s-7);
  display: grid;
  place-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.trophy-figure::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(closest-side at 50% 30%, rgba(255, 215, 0, 0.18), transparent 70%);
  pointer-events: none;
}
.trophy-figure img {
  width: 100%;
  max-width: 480px;
  height: auto;
  border-radius: var(--r-md);
  position: relative;
  z-index: 1;
}
.trophy-figure figcaption {
  margin-top: var(--s-4);
  font-size: 14px;
  color: var(--text-muted);
  position: relative;
  z-index: 1;
}

/* ---------- Footer ---------- */
.footer-brand {
  background: var(--background-2);
  border-top: 1px solid var(--soft-border);
  padding: var(--s-9) 0 var(--s-6);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: var(--s-6);
}
.footer-col h3, .footer-col h4 { color: var(--text); font-size: 13px; font-weight: 800; margin: 0 0 14px; letter-spacing: 0.06em; text-transform: uppercase; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin: 0 0 8px; line-height: 1.5; }
.footer-col a { color: var(--text-muted); text-decoration: none; font-size: 13.5px; }
.footer-col a:hover { color: var(--accent); }
.footer-col p { color: var(--text-muted); font-size: 13.5px; line-height: 1.55; margin: 0 0 12px; }
.footer-bottom {
  padding-top: var(--s-5);
  margin-top: var(--s-6);
  border-top: 1px solid var(--soft-border);
  color: var(--muted-2);
  font-size: 12px;
  line-height: 1.6;
}
.footer-bottom a { color: var(--accent); }

@media (max-width: 899px) {
  .footer-grid { grid-template-columns: 1fr 1fr !important; gap: var(--s-5) !important; }
  .footer-col:first-child { grid-column: 1 / -1; }
}
@media (max-width: 599px) {
  .footer-grid { grid-template-columns: 1fr !important; }
}

/* ---------- Blog cards ---------- */
.news-grid { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); margin-top: 24px; }
.blog-card {
  background: var(--surface-2);
  border: 1px solid var(--soft-border);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.18s, border-color 0.18s;
}
.blog-card:hover { transform: translateY(-3px); border-color: var(--accent); }
.blog-card-img { aspect-ratio: 16/9; overflow: hidden; display: block; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-card-body { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.blog-eyebrow { font-size: 11px; font-weight: 800; letter-spacing: 0.14em; color: var(--accent); text-transform: uppercase; }
.blog-date { font-size: 12px; color: var(--muted-2); }
.blog-card h3 { font-size: 17px; margin: 0; line-height: 1.3; }
.blog-card h3 a { color: var(--text); text-decoration: none; }
.blog-card h3 a:hover { color: var(--accent); }
.blog-card p { font-size: 13px; color: var(--text-muted); margin: 0; }
@media (max-width: 899px) { .news-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 599px) { .news-grid { grid-template-columns: 1fr; } }

/* ---------- Skip link ---------- */
.skip-link {
  position: fixed !important;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: var(--inverse);
  padding: 12px 18px;
  z-index: 9999;
  font-weight: 700;
  border-radius: 0 0 8px 0;
  text-decoration: none;
}
.skip-link:focus { left: 8px; top: 8px; outline: 3px solid var(--accent); outline-offset: 2px; }

/* ---------- a11y: underline in-text links ---------- */
body p a, body li a, body dd a, body td a, body article a, body section a {
  text-decoration: underline;
  text-decoration-color: rgba(255, 215, 0, 0.5);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}
body p a:hover, body li a:hover, body dd a:hover, body td a:hover, body article a:hover, body section a:hover {
  text-decoration-color: var(--accent);
}
.btn, .chip, .hub-card, .blog-card, .spotlight-card, .stat-tile, .featured-cta,
.brand, .header-cta a, .drawer-cta a, .drawer-section {
  text-decoration: none !important;
}

/* ---------- a11y: explicit aspect-ratio on images ---------- */
img { display: block; max-width: 100%; height: auto; }
.hub-card__art { aspect-ratio: 1 / 1; }
.blog-card-img { aspect-ratio: 16 / 9; }

/* ---------- Mobile responsive ---------- */
@media (max-width: 899px) {
  .hero-grid, .cta-banner, .spotlight-grid { grid-template-columns: 1fr !important; gap: var(--s-5) !important; }
  .lb-head, .lb-row { font-size: 13px; }
  .lb-head { grid-template-columns: 50px 1fr 80px; }
  .lb-row { grid-template-columns: 50px 1fr 80px; }
  .lb-head > *:nth-child(4), .lb-head > *:nth-child(5),
  .lb-row > *:nth-child(4), .lb-row > *:nth-child(5) { display: none; }
  .steps { grid-template-columns: 1fr !important; }
}

/* ---------- Money-page sections (6 separate sections, NOT one media-grid) ---------- */
.money-section {
  padding: var(--s-8) 0;
  border-top: 1px solid var(--soft-border);
}
.money-section .section-num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 8px;
}
.money-section h2 { font-size: 28px; margin-bottom: var(--s-3); }
.money-section p { color: var(--text-muted); font-size: 16px; max-width: 65ch; }
.money-section .media-item { max-width: 720px; margin: var(--s-4) auto 0; }
/* ---------- Generic card + grid system (added for visual hierarchy) ---------- */
.card {
  background: var(--surface-2, #18181B);
  border: 1px solid rgba(212, 175, 55, 0.18);
  border-radius: 12px;
  padding: 20px;
  transition: transform 0.18s, border-color 0.18s;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.card:hover { transform: translateY(-2px); border-color: rgba(212, 175, 55, 0.45); }
.card .card-eyebrow { font-size: 11px; font-weight: 800; letter-spacing: 0.14em; color: var(--accent, #FFD700); text-transform: uppercase; }
.card h3 { font-size: 18px; margin: 0; color: var(--text, #F8FAFC); line-height: 1.3; }
.card h4 { font-size: 16px; margin: 0; color: var(--text, #F8FAFC); line-height: 1.3; }
.card p { font-size: 14px; color: var(--text-muted, #A1A1AA); margin: 0; line-height: 1.55; }
.card ul { margin: 0; padding-left: 18px; color: var(--text-muted, #A1A1AA); font-size: 14px; line-height: 1.6; }
.card li { margin-bottom: 4px; }

.card-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); margin-top: 24px; }
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }
.card-grid--4 { grid-template-columns: repeat(4, 1fr); }
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 899px) { .card-grid--3, .card-grid--4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 599px) { .card-grid--3, .card-grid--4, .card-grid--2 { grid-template-columns: 1fr; } }

/* ---------- Stat tile (large number) ---------- */
.stat-tile {
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.08), rgba(212, 175, 55, 0.02));
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: 14px;
  padding: 24px 22px;
  text-align: center;
  transition: transform 0.18s, border-color 0.18s;
}
.stat-tile:hover { transform: translateY(-3px); border-color: rgba(212, 175, 55, 0.6); }
.stat-tile .stat-num {
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 38px;
  font-weight: 900;
  color: var(--accent, #FFD700);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.stat-tile .stat-label { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text, #F8FAFC); margin-bottom: 6px; }
.stat-tile .stat-desc { font-size: 13px; color: var(--text-muted, #A1A1AA); line-height: 1.5; }
.stat-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-top: 24px; }
@media (max-width: 599px) { .stat-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Step grid (numbered cards with optional image) ---------- */
.step-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); margin-top: 24px; }
.step-card {
  background: var(--surface-2, #18181B);
  border: 1px solid rgba(212, 175, 55, 0.18);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.18s, border-color 0.18s;
}
.step-card:hover { transform: translateY(-2px); border-color: rgba(212, 175, 55, 0.45); }
.step-card .step-num {
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--accent, #FFD700);
}
.step-card h3 { font-size: 17px; margin: 0; color: var(--text, #F8FAFC); }
.step-card p { font-size: 14px; color: var(--text-muted, #A1A1AA); margin: 0; line-height: 1.55; }
.step-card img { width: 100%; height: auto; border-radius: 8px; border: 1px solid rgba(212, 175, 55, 0.22); margin-top: 4px; }
@media (max-width: 599px) { .step-grid { grid-template-columns: 1fr; } }

/* ---------- Risk grid ---------- */
.risk-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); margin-top: 24px; }
.risk-card {
  background: var(--surface-2, #18181B);
  border: 1px solid rgba(248, 113, 113, 0.25);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 0.18s, border-color 0.18s;
}
.risk-card:hover { transform: translateY(-2px); border-color: rgba(248, 113, 113, 0.55); }
.risk-card .risk-tag { font-size: 11px; font-weight: 800; letter-spacing: 0.14em; color: #F87171; text-transform: uppercase; }
.risk-card h3 { font-size: 17px; margin: 0; color: var(--text, #F8FAFC); }
.risk-card p { font-size: 14px; color: var(--text-muted, #A1A1AA); margin: 0; line-height: 1.55; }
@media (max-width: 599px) { .risk-grid { grid-template-columns: 1fr; } }

/* ---------- Data grid (stat cards for visualization) ---------- */
.data-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-top: 24px; }
.data-card {
  background: var(--surface-2, #18181B);
  border: 1px solid var(--soft-border, rgba(255,255,255,0.08));
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform 0.18s, border-color 0.18s;
}
.data-card:hover { transform: translateY(-2px); border-color: rgba(212, 175, 55, 0.45); }
.data-card .data-label { font-size: 11px; font-weight: 800; letter-spacing: 0.14em; color: var(--accent, #FFD700); text-transform: uppercase; }
.data-card .data-value { font-family: var(--font-mono, ui-monospace, monospace); font-size: 28px; font-weight: 900; color: var(--text, #F8FAFC); line-height: 1.1; }
.data-card p { font-size: 13px; color: var(--text-muted, #A1A1AA); margin: 4px 0 0; line-height: 1.5; }
@media (max-width: 599px) { .data-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Comparison grid ---------- */
.comparison-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); margin-top: 24px; }
.comparison-card {
  background: var(--surface-2, #18181B);
  border: 1px solid rgba(212, 175, 55, 0.18);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.18s, border-color 0.18s;
}
.comparison-card:hover { transform: translateY(-2px); border-color: rgba(212, 175, 55, 0.45); }
.comparison-card .vs-tag { font-size: 11px; font-weight: 800; letter-spacing: 0.14em; color: var(--accent, #FFD700); text-transform: uppercase; }
.comparison-card h3 { font-size: 18px; margin: 0; color: var(--text, #F8FAFC); }
.comparison-card p { font-size: 14px; color: var(--text-muted, #A1A1AA); margin: 0; line-height: 1.55; }
.comparison-card ul { margin: 0; padding-left: 18px; font-size: 13px; color: var(--text-muted, #A1A1AA); line-height: 1.55; }
@media (max-width: 599px) { .comparison-grid { grid-template-columns: 1fr; } }

/* ---------- Analysis grid (blog insight cards) ---------- */
.analysis-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); margin-top: 24px; }
.analysis-card {
  background: var(--surface-2, #18181B);
  border: 1px solid rgba(212, 175, 55, 0.18);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.18s, border-color 0.18s;
}
.analysis-card:hover { transform: translateY(-2px); border-color: rgba(212, 175, 55, 0.45); }
.analysis-card .insight-tag { font-size: 11px; font-weight: 800; letter-spacing: 0.14em; color: var(--accent, #FFD700); text-transform: uppercase; }
.analysis-card h3 { font-size: 17px; margin: 0; color: var(--text, #F8FAFC); }
.analysis-card p { font-size: 14px; color: var(--text-muted, #A1A1AA); margin: 0; line-height: 1.55; }
@media (max-width: 599px) { .analysis-grid { grid-template-columns: 1fr; } }

/* ---------- Inline section image ---------- */
.section-image {
  width: 100%;
  max-width: 720px;
  height: auto;
  margin: 20px auto 0;
  display: block;
  border-radius: 12px;
  border: 1px solid rgba(212, 175, 55, 0.22);
}
.section-image-row {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 20px;
}
.section-image-row img { width: 100%; height: auto; border-radius: 10px; border: 1px solid rgba(212, 175, 55, 0.22); display: block; }

/* ---------- State eligibility card grid (homepage) ---------- */
.state-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-top: 20px; }
.state-card {
  background: var(--surface-2, #18181B);
  border: 1px solid rgba(212, 175, 55, 0.18);
  border-radius: 12px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: transform 0.18s, border-color 0.18s;
}
.state-card:hover { transform: translateY(-2px); border-color: rgba(212, 175, 55, 0.45); }
.state-card .state-name { font-weight: 700; color: var(--text, #F8FAFC); font-size: 15px; }
.state-card .state-status { font-size: 11px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.state-card.is-eligible { border-color: rgba(74, 222, 128, 0.32); }
.state-card.is-eligible .state-status { color: #4ADE80; background: rgba(74, 222, 128, 0.10); }
.state-card.is-restricted { border-color: rgba(248, 113, 113, 0.32); }
.state-card.is-restricted .state-status { color: #F87171; background: rgba(248, 113, 113, 0.10); }
@media (max-width: 599px) { .state-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Mobile responsive for new grids ---------- */
@media (max-width: 899px) {
  .card-grid, .step-grid, .risk-grid, .data-grid, .comparison-grid, .analysis-grid { grid-template-columns: 1fr 1fr !important; }
}
@media (max-width: 599px) {
  .card-grid, .step-grid, .risk-grid, .data-grid, .comparison-grid, .analysis-grid { grid-template-columns: 1fr !important; }
  .stat-tile .stat-num { font-size: 30px; }
}

/* Sticky nav offset */
section[id] { scroll-margin-top: 80px; }


/* Loose content card - wraps h2/h3 + paragraphs in proper card */
.loose-card {
  margin: 24px 0;
  padding: 24px;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.08) 0%, rgba(255, 215, 0, 0.02) 100%);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.loose-card h2, .loose-card h3 {
  color: #FFD700 !important;
  font-weight: 800 !important;
  margin: 0 0 14px 0 !important;
  display: flex;
  align-items: center;
  gap: 10px;
}
.loose-card h2 { font-size: 20px !important; }
.loose-card h3 { font-size: 17px !important; }
.loose-card p {
  color: #D1D5DB !important;
  font-size: 14px !important;
  line-height: 1.7 !important;
  margin: 10px 0 !important;
}
.loose-card a { color: #FFD700 !important; font-weight: 700 !important; }

/* Editorial hub hero fix */

/* Fix EDITORIAL HUBS: .section-head inside .hero should get hero-copy styling */
.hero > .container > .section-head {
  position: relative;
  z-index: 1;
  max-width: 880px;
  text-align: left;
  padding: 0;
}
.hero > .container > .section-head h1 {
  color: #F8FAFC;
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
}
.hero > .container > .section-head h1 em {
  color: #FFD700;
  font-style: normal;
}
.hero > .container > .section-head .eyebrow {
  display: inline-block;
  color: #FFD700;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 14px;
  padding: 6px 14px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 999px;
}
.hero > .container > .section-head p.hero-lede,
.hero > .container > .section-head p:not([class]) {
  color: #D1D5DB;
  font-size: 19px;
  line-height: 1.6;
  max-width: 760px;
  margin-bottom: 24px;
}
.hero > .container > .section-head div[style*="display:flex"] {
  display: flex !important;
  gap: 12px !important;
  flex-wrap: wrap !important;
  margin-top: 18px !important;
}

/* Mobile hero fixes */

/* Mobile hero fixes - hide trust panel + limit hero height */
@media (max-width: 899px) {
  .hero-trust { display: none !important; }
  .hero { 
    min-height: 480px !important; 
    max-height: 720px !important; 
    padding: 80px 0 60px !important;
  }
  .hero img {
    height: 100% !important;
    object-fit: cover !important;
  }
  .hero-lede {
    font-size: 16px !important;
    line-height: 1.5 !important;
  }
  #hero-h {
    font-size: 32px !important;
    line-height: 1.1 !important;
  }
  .hero-cta {
    margin-top: 20px !important;
  }
  .hero-cta .btn {
    flex: 1 1 auto !important;
  }
}
