/* Fantafeat — Sandstone Matchday editorial system
   Palette: Light Color 004 — Sandstone Matchday
   Layout: Minimal Authority Blog (LAYOUT_024)
   Typography: Inter + Noto Sans Devanagari (TYPOGRAPHY_015)
*/

:root {
  --primary: #9C3B1B;
  --primary-deep: #8C361B;
  --accent: #0B6E69;
  --accent-deep: #064A46;
  --background: #FFF8F2;
  --surface: #FFFFFF;
  --surface-2: #FCE8D7;
  --surface-3: #F4DEC9;
  --text: #312019;
  --text-soft: #4A3A2F;
  --muted: #745D50;
  --border: #EBCDBA;
  --border-strong: #D4A47A;
  --shadow: 0 1px 2px rgba(49, 32, 25, 0.04), 0 8px 24px rgba(49, 32, 25, 0.06);
  --shadow-strong: 0 4px 12px rgba(49, 32, 25, 0.08), 0 20px 48px rgba(49, 32, 25, 0.12);
  --radius-sm: 6px;
  --radius: 14px;
  --radius-lg: 22px;
  --max: 1240px;
  --gutter: clamp(16px, 3vw, 32px);
  --section-pad: clamp(48px, 7vw, 96px);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Inter', 'Noto Sans Devanagari', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 18px;
  line-height: 1.65;
  color: var(--text);
  background: var(--background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, picture, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--primary); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--primary-deep); text-decoration: underline; }
button { font-family: inherit; cursor: pointer; }

/* Typography */
h1, h2, h3, h4 {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  letter-spacing: -0.01em;
  margin: 0 0 .6em;
  line-height: 1.18;
}
h1 {
  font-size: clamp(34px, 5vw, 60px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.05;
}
h2 {
  font-size: clamp(26px, 3.4vw, 36px);
  font-weight: 700;
}
h3 {
  font-size: clamp(20px, 2.4vw, 24px);
  font-weight: 700;
}
p { margin: 0 0 1em; }

/* Layout primitives */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section { padding: var(--section-pad) 0; }
.section--tight { padding: calc(var(--section-pad) * 0.6) 0; }
.section--alt { background: var(--surface-2); }
.section--paper { background: var(--surface); }
.section--ink { background: var(--text); color: var(--background); }
.section--ink h1, .section--ink h2, .section--ink h3 { color: #fff; }
.section--ink .eyebrow--accent { color: #FFD7B0; }
.section--ink .card .num { color: #FFD7B0; }
.section--ink .card a.more { color: #FFD7B0; }
.section--ink .card a.more:hover { color: #fff; }

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 14px;
}
.eyebrow--accent { color: var(--accent); }

.lede {
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.6;
  color: var(--text-soft);
  max-width: 68ch;
}

/* Header / Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 300;
  background: rgba(255, 248, 242, 0.92);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}
.brand-mark {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--primary);
  color: #fff;
  display: grid; place-items: center;
  font-weight: 800; font-size: 18px;
  letter-spacing: -0.02em;
  box-shadow: inset 0 -2px 0 var(--primary-deep);
}
.brand-name {
  font-size: 18px; font-weight: 800; letter-spacing: -0.01em;
  color: var(--text);
}
.brand-tag {
  display: block; font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted);
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  flex: 1;
  justify-content: center;
}
.main-nav a {
  color: var(--text);
  font-weight: 600;
  font-size: 15px;
  padding: 8px 4px;
  border-bottom: 2px solid transparent;
  transition: border-color .15s ease;
}
.main-nav a:hover { text-decoration: none; border-bottom-color: var(--primary); color: var(--primary); }
.main-nav a.active { border-bottom-color: var(--primary); color: var(--primary); }
.header-right {
  display: flex; align-items: center; gap: 10px;
}
.header-cta-ghost {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 14px; border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: transparent; color: var(--text); font-weight: 600; font-size: 14px;
  text-decoration: none;
}
.header-cta-ghost:hover { background: var(--surface-2); text-decoration: none; }
.header-cta {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 18px; border-radius: 999px;
  background: var(--primary); color: #fff; font-weight: 700; font-size: 14px;
  text-decoration: none; border: 1px solid var(--primary-deep);
}
.header-cta:hover { background: var(--primary-deep); color: #fff; text-decoration: none; }

.hamburger {
  display: none;
  background: none; border: none;
  width: 44px; height: 44px;
  padding: 0;
  position: relative; z-index: 500;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--text);
  margin: 5px auto;
  transition: transform .2s ease, opacity .2s ease;
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-drawer {
  display: none;
  position: fixed; inset: 0;
  background: var(--background);
  z-index: 200;
  padding: 84px 24px 100px;
  overflow-y: auto;
  flex-direction: column;
  gap: 6px;
}
.mobile-drawer.open { display: flex; }
.mobile-drawer a {
  font-size: 19px; font-weight: 600;
  padding: 14px 0;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  text-decoration: none;
}
.mobile-drawer a.cta-mobile {
  margin-top: 16px;
  background: var(--primary); color: #fff;
  text-align: center; padding: 14px 20px; border-radius: 12px;
  border: none; font-size: 16px;
  display: block;
}

/* Sticky Mobile Affiliate CTA */
.mobile-sticky-cta {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0;
  z-index: 240;
  background: rgba(255, 248, 242, 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 10px 14px calc(env(safe-area-inset-bottom, 12px) + 10px);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 18px rgba(49, 32, 25, 0.08);
}
.mobile-sticky-cta a {
  display: block; width: 100%;
  background: var(--primary); color: #fff !important;
  text-align: center;
  font-weight: 700; font-size: 16px; letter-spacing: 0.02em;
  padding: 14px 20px; border-radius: 12px;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid var(--primary-deep);
}

/* HERO — typographic-poster */
.hero {
  position: relative;
  padding: clamp(56px, 9vw, 110px) 0 clamp(56px, 8vw, 100px);
  background:
    linear-gradient(180deg, rgba(255, 248, 242, 0) 0%, rgba(252, 232, 215, 0.6) 100%),
    radial-gradient(1200px 600px at 80% -10%, rgba(11, 110, 105, 0.07), transparent 60%),
    var(--background);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; top: 24px; right: -60px;
  width: 480px; height: 480px;
  background: var(--surface-2);
  border-radius: 50%;
  filter: blur(0);
  opacity: .6;
  z-index: 0;
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: end;
}
.hero-chapter {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: clamp(90px, 14vw, 180px);
  line-height: 0.85;
  letter-spacing: -0.05em;
  color: var(--primary);
  opacity: 0.16;
  display: block;
  margin-bottom: -30px;
}
.hero h1 {
  font-size: clamp(36px, 5.6vw, 64px);
  line-height: 1.05;
  margin: 0 0 18px;
}
.hero-lede {
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.55;
  color: var(--text-soft);
  max-width: 52ch;
  margin: 0 0 28px;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700; font-size: 15px;
  text-decoration: none;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-primary { background: var(--primary); color: #fff; border-color: var(--primary-deep); }
.btn-primary:hover { background: var(--primary-deep); color: #fff; text-decoration: none; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn-ghost:hover { background: var(--surface-2); text-decoration: none; }
.btn-accent { background: var(--accent); color: #fff; border-color: var(--accent-deep); }
.btn-accent:hover { background: var(--accent-deep); color: #fff; text-decoration: none; }

.hero-trust {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow);
}
.hero-trust h2 { font-size: 14px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted); margin-bottom: 14px; }
.hero-trust ul { list-style: none; padding: 0; margin: 0; }
.hero-trust li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; line-height: 1.4;
  padding: 8px 0; border-bottom: 1px dashed var(--border);
  color: var(--text-soft);
}
.hero-trust li:last-child { border-bottom: none; }
.hero-trust .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent); margin-top: 8px; flex-shrink: 0;
}

/* Trust strip */
.trust-strip {
  background: var(--text);
  color: var(--background);
  padding: 18px 0;
  border-top: 1px solid var(--text);
  border-bottom: 1px solid var(--text);
}
.trust-strip-inner {
  display: flex; gap: 28px; flex-wrap: wrap; justify-content: space-between; align-items: center;
}
.trust-strip span { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
.trust-strip span::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
}

/* Section header */
.sec-head {
  display: flex; align-items: end; justify-content: space-between;
  gap: 24px; margin-bottom: 32px; flex-wrap: wrap;
}
.sec-head .sec-head-text { max-width: 60ch; }
.sec-head .sec-head-aside { font-size: 14px; color: var(--muted); font-weight: 600; }

/* Card grid */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.cards-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column;
  min-width: 0;
}
.card h3 { font-size: 18px; margin-bottom: 8px; }
.card p { font-size: 15px; color: var(--text-soft); margin: 0 0 12px; }
.card .num {
  font-weight: 800; font-size: 28px; color: var(--primary);
  letter-spacing: -0.02em; line-height: 1;
  display: inline-block;
  margin-bottom: 12px;
}
.card a.more { font-size: 14px; font-weight: 700; color: var(--primary); }

/* Featured card */
.feat-card {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(20px, 4vw, 48px);
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 36px);
  box-shadow: var(--shadow);
}
.feat-card .feat-img {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--surface-3);
}
.feat-card .feat-img img { width: 100%; height: 100%; object-fit: cover; }
.feat-card h2 { margin-bottom: 12px; }

/* Ranked list */
.rank-list { counter-reset: rank; }
.rank-item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 90px;
  gap: 18px; align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.rank-item:last-child { border-bottom: none; }
.rank-item .rank-num {
  font-size: 38px; font-weight: 800; color: var(--primary);
  letter-spacing: -0.04em; line-height: 1;
}
.rank-item h3 { font-size: 17px; margin: 0 0 4px; }
.rank-item .meta { font-size: 13px; color: var(--muted); }
.rank-item .pick {
  text-align: right;
  font-weight: 700;
  font-size: 13px;
  color: var(--accent);
  background: rgba(11, 110, 105, 0.08);
  padding: 6px 10px; border-radius: 999px;
}

/* Split axis */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 40px);
  align-items: center;
}
.split .split-img {
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface-3);
}
.split .split-img img { width: 100%; height: 100%; object-fit: cover; }

/* Story rail — horizontal scroll-snap */
.story-rail-wrap { position: relative; }
.story-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 320px);
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 10px;
  scrollbar-width: thin;
}
.story-rail > * { scroll-snap-align: start; }
.story-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  display: flex; flex-direction: column;
  min-width: 0;
}
.story-card .img {
  aspect-ratio: 4/3;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--surface-3);
  margin-bottom: 14px;
}
.story-card .img img { width: 100%; height: 100%; object-fit: cover; }
.story-card h3 { font-size: 17px; margin: 0 0 6px; }
.story-card p { font-size: 14px; color: var(--text-soft); margin: 0 0 10px; }
.story-card .meta { font-size: 12px; color: var(--muted); font-weight: 600; }

.rail-controls {
  position: absolute; top: -52px; right: 0;
  display: flex; gap: 6px;
}
.rail-controls button {
  width: 36px; height: 36px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text);
  font-size: 16px;
}

/* Stat tiles */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  text-align: left;
}
.stat .v {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--primary);
  line-height: 1;
}
.stat .l { font-size: 13px; color: var(--muted); margin-top: 6px; font-weight: 600; }

/* Tables */
.t-table {
  width: 100%;
  border-collapse: separate; border-spacing: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 15px;
}
.t-table th, .t-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.t-table th { background: var(--surface-2); font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-soft); }
.t-table tr:last-child td { border-bottom: none; }
.t-table tr:hover td { background: var(--surface-2); }
.t-table-wrap { overflow-x: auto; }

/* Cinematic break (signature device) */
.cinematic-break {
  position: relative;
  padding: clamp(72px, 9vw, 120px) 0;
  background: linear-gradient(135deg, var(--text) 0%, #1a0f0a 100%);
  color: var(--background);
  overflow: hidden;
}
.cinematic-break::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(800px 400px at 80% 30%, rgba(182, 75, 40, 0.25), transparent 60%);
}
.cinematic-break .cb-inner { position: relative; }
.cinematic-break .chapter-mark {
  font-size: clamp(72px, 12vw, 160px);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--primary);
  opacity: 0.85;
  line-height: 1;
  margin-bottom: 8px;
}
.cinematic-break h2 {
  color: #fff;
  font-size: clamp(28px, 4vw, 44px);
  margin: 0 0 14px;
}
.cinematic-break p { color: rgba(255, 248, 242, 0.85); max-width: 64ch; font-size: 17px; }

/* FAQ */
.faq {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq details { border-bottom: 1px solid var(--border); }
.faq details:last-child { border-bottom: none; }
.faq summary {
  cursor: pointer; list-style: none;
  padding: 18px 22px;
  font-weight: 700; font-size: 16px;
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; font-weight: 400; color: var(--primary); }
.faq details[open] summary::after { content: "−"; }
.faq details > *:not(summary) { padding: 0 22px 22px; }
.faq details p { color: var(--text-soft); margin: 0; }

/* Steps list */
.steps { counter-reset: step; }
.step {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 16px; align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.step:last-child { border-bottom: none; }
.step .n {
  counter-increment: step;
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--surface-2); color: var(--primary);
  font-weight: 800; font-size: 18px;
  display: grid; place-items: center;
  border: 1px solid var(--border-strong);
}
.step h3 { font-size: 17px; margin: 0 0 4px; }
.step p { font-size: 14px; color: var(--text-soft); margin: 0; }

/* Feature row (CTA panels) */
.feature-row {
  background: linear-gradient(135deg, var(--surface-2) 0%, var(--surface-3) 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 48px);
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 24px; align-items: center;
}
.feature-row h2 { margin-bottom: 12px; }
.feature-row p { color: var(--text-soft); margin-bottom: 18px; }
.feature-row .cta-stack { display: flex; gap: 12px; flex-wrap: wrap; }

/* Banner */
.banner {
  background: var(--text);
  color: var(--background);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 44px);
}
.banner h2 { color: #fff; }
.banner p { color: rgba(255, 248, 242, 0.85); margin-bottom: 16px; max-width: 60ch; }
.banner .btn-ghost { border-color: rgba(255, 248, 242, 0.4); color: #fff; }
.banner .btn-ghost:hover { background: rgba(255, 248, 242, 0.1); }

/* Footer */
.site-footer {
  background: var(--text);
  color: rgba(255, 248, 242, 0.78);
  padding: 64px 0 32px;
  font-size: 15px;
}
.site-footer h3 {
  color: #fff; font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase;
  margin: 0 0 16px;
}
.footer-cols {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin-bottom: 40px;
}
.footer-cols ul { list-style: none; padding: 0; margin: 0; }
.footer-cols li { padding: 4px 0; }
.footer-cols a { color: rgba(255, 248, 242, 0.78); font-size: 14px; }
.footer-cols a:hover { color: var(--surface-2); text-decoration: underline; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 248, 242, 0.16);
  font-size: 13px;
  flex-wrap: wrap;
}
.footer-bottom p { margin: 0; }
.socials { display: flex; gap: 12px; }
.socials a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255, 248, 242, 0.1);
  display: grid; place-items: center;
  color: #fff;
}
.socials a:hover { background: var(--primary); text-decoration: none; }
.disclaimer {
  margin-top: 24px;
  padding: 20px;
  background: rgba(255, 248, 242, 0.05);
  border: 1px solid rgba(255, 248, 242, 0.12);
  border-radius: 12px;
  font-size: 12.5px;
  line-height: 1.55;
  color: rgba(255, 248, 242, 0.65);
}

/* Page shell (subpages) */
.page-hero {
  padding: clamp(40px, 6vw, 72px) 0 clamp(24px, 3vw, 40px);
  background: linear-gradient(180deg, rgba(252, 232, 215, 0.5) 0%, transparent 100%);
}
.page-hero h1 { max-width: 22ch; }
.page-hero .lede { max-width: 64ch; }

.breadcrumb {
  font-size: 13px; color: var(--muted);
  margin-bottom: 18px;
  display: flex; gap: 8px; align-items: center;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb span { color: var(--text-soft); }
.breadcrumb .sep { color: var(--border-strong); }

.prose { max-width: 76ch; }
.prose h2 {
  margin-top: 1.4em;
  font-size: clamp(24px, 2.6vw, 30px);
}
.prose h3 { margin-top: 1.2em; font-size: 20px; }
.prose p { margin: 0 0 1.05em; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 1.1em; }
.prose li { margin-bottom: 6px; }
.prose img { border-radius: var(--radius); margin: 24px 0; }
.prose figure { margin: 24px 0; }
.prose figcaption { font-size: 13px; color: var(--muted); padding-top: 8px; }

.cta-inline {
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 22px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  margin: 28px 0;
}
.cta-inline h3 { margin: 0 0 4px; font-size: 18px; }
.cta-inline p { margin: 0; font-size: 14px; color: var(--text-soft); }

/* Responsive */
@media (max-width: 1024px) {
  .cards-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .hero-inner { grid-template-columns: minmax(0, 1fr); }
  .hero-trust { max-width: 480px; }
  .feat-card { grid-template-columns: minmax(0, 1fr); }
  .feat-card .feat-img { aspect-ratio: 16/10; max-height: 360px; }
  .feature-row { grid-template-columns: minmax(0, 1fr); }
  .split { grid-template-columns: minmax(0, 1fr); }
  .rank-item { grid-template-columns: 48px minmax(0, 1fr) 80px; gap: 12px; }
}

@media (max-width: 720px) {
  body { font-size: 16.5px; padding-bottom: 78px; }
  .main-nav, .header-right { display: none; }
  .hamburger { display: block; }
  .mobile-sticky-cta { display: block; }
  .hero { padding: 56px 0 48px; }
  .hero-inner { grid-template-columns: minmax(0, 1fr) !important; }
  .hero h1 { font-size: 32px; }
  .hero-chapter { font-size: 90px; margin-bottom: -16px; }
  .hero-trust { max-width: 100%; }
  .cards-3, .cards-4 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .footer-cols { grid-template-columns: 1fr; gap: 24px; }
  .cinematic-break { padding: 64px 0; }
  .rail-controls { display: none; }
  .story-rail { grid-auto-columns: 78%; }
  section[id] { scroll-margin-top: 80px; }
}

@media (max-width: 430px) {
  :root { --gutter: 16px; }
  h1 { font-size: 30px; }
  h2 { font-size: 24px; }
  .hero h1 { font-size: 32px; }
  .hero-cta .btn { flex: 1 1 auto; justify-content: center; }
  .cta-inline { grid-template-columns: 1fr; }
  .cta-inline .btn { width: 100%; justify-content: center; }
  .feature-row .cta-stack .btn { width: 100%; justify-content: center; }
  .rank-item { grid-template-columns: 40px minmax(0, 1fr); gap: 12px; }
  .rank-item .pick { grid-column: 2; text-align: left; }
  .btn { white-space: nowrap; padding: 13px 18px; }
}

/* Accessibility */
:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; border-radius: 4px; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}