/* ============================================================
   Gonzo's Quest Guide — Main Stylesheet
   Kinetic Typography · Deep Indigo Canvas · Amber & Teal
   ============================================================ */


/* ── Custom Properties ─────────────────────────────────────── */
:root {
  --c-primary:   #1A1A4E;
  --c-secondary: #F5A623;
  --c-ink:       #2EC4B6;
  --c-bg:        #0f0f30;
  --c-surface:   #1e1e54;
  --c-surface2:  #252568;
  --c-text:      #e8e8f4;
  --c-muted:     #9090b8;
  --c-border:    #2e2e72;
  --c-white:     #ffffff;

  --radius-card: 28px;
  --radius-btn:  100px;

  --font-head: 'Lexend', system-ui, sans-serif;
  --font-body: 'Source Sans 3', system-ui, sans-serif;

  --nav-width: 240px;
  --header-h: 64px;

  --transition: 0.3s cubic-bezier(.4,0,.2,1);
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  background: var(--c-bg);
  color: var(--c-text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--c-ink); text-decoration: underline; }
a:hover { color: var(--c-secondary); }
ul, ol { padding-left: 1.4em; }
button { cursor: pointer; font-family: var(--font-body); }

/* ── Screen-reader only ─────────────────────────────────────── */
.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;
}

/* ── Announce strip ─────────────────────────────────────────── */
.announce-strip {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: var(--c-primary);
  border-bottom: 1px solid var(--c-border);
  text-align: center;
  font-size: 12px;
  font-family: var(--font-head);
  letter-spacing: .06em;
  color: var(--c-muted);
  padding: 5px 16px;
  height: 28px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── Site shell ─────────────────────────────────────────────── */
.site-shell {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding-top: 28px;
}

/* ── Header ─────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 28px;
  left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(26,26,78,.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--c-border);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Brand name: must meet 44px tap-target height on all viewports */
.brand-name {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16px;
  color: var(--c-white);
  text-decoration: none;
  letter-spacing: -.01em;
  white-space: nowrap;
  padding: 0 4px;
}
.brand-name:hover { color: var(--c-secondary); }
.logo-mark { border-radius: 8px; }

/* nav-details / toggle */
.nav-details {
  flex: 1;
  position: relative;
}
.nav-toggle {
  list-style: none;
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 8px;
  background: transparent;
  border: 1px solid var(--c-border);
  color: var(--c-text);
  cursor: pointer;
  user-select: none;
}
.nav-toggle::-webkit-details-marker { display: none; }
.hamburger-icon,
.hamburger-icon::before,
.hamburger-icon::after {
  display: block;
  width: 20px; height: 2px;
  background: var(--c-text);
  border-radius: 2px;
  position: relative;
  transition: var(--transition);
}
.hamburger-icon::before,
.hamburger-icon::after {
  content: '';
  position: absolute;
  left: 0;
}
.hamburger-icon::before { top: -6px; }
.hamburger-icon::after  { top:  6px; }
.nav-details[open] .hamburger-icon { background: transparent; }
.nav-details[open] .hamburger-icon::before { transform: translateY(6px) rotate(45deg); }
.nav-details[open] .hamburger-icon::after  { transform: translateY(-6px) rotate(-45deg); }

.nav-menu {
  list-style: none;
  display: flex;
  gap: 4px;
  padding: 0;
  margin: 0;
}
.nav-menu li a {
  display: block;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 500;
  color: var(--c-text);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: var(--radius-btn);
  white-space: nowrap;
  transition: background var(--transition), color var(--transition);
}
.nav-menu li a:hover,
.nav-menu li a[aria-current="page"] {
  background: var(--c-surface2);
  color: var(--c-secondary);
}

/* Header CTAs */
.header-ctas {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-shrink: 0;
}
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .02em;
  border-radius: var(--radius-btn);
  padding: 10px 18px;
  min-height: 44px;
  text-decoration: none;
  transition: all var(--transition);
  white-space: nowrap;
}
.cta-signup {
  background: var(--c-secondary);
  color: var(--c-primary);
  border: 2px solid var(--c-secondary);
}
.cta-signup:hover {
  background: #e0941a;
  border-color: #e0941a;
  color: var(--c-primary);
}
.cta-login {
  background: transparent;
  color: var(--c-secondary);
  border: 2px solid var(--c-secondary);
}
.cta-login:hover {
  background: var(--c-secondary);
  color: var(--c-primary);
}

/* ── Main content offset ────────────────────────────────────── */
.site-main {
  margin-top: calc(28px + var(--header-h));
  flex: 1;
}

/* ── Hero — Home ─────────────────────────────────────────────── */
.hero-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 32px 60px;
  position: relative;
  background:
    radial-gradient(ellipse 60% 50% at 70% 40%, rgba(46,196,182,.08) 0%, transparent 70%),
    radial-gradient(ellipse 50% 60% at 20% 60%, rgba(245,166,35,.06) 0%, transparent 70%),
    var(--c-bg);
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg, transparent, transparent 79px,
    rgba(46,196,182,.04) 80px
  );
  pointer-events: none;
}
.hero-inner {
  max-width: 760px;
  position: relative;
  z-index: 1;
}
.hero-eyebrow {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--c-ink);
  margin-bottom: 20px;
}
.hero-h1 {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.03em;
  margin-bottom: 24px;
  background: linear-gradient(135deg, var(--c-white) 30%, var(--c-secondary) 70%, var(--c-ink) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 1.15rem;
  color: var(--c-muted);
  max-width: 580px;
  margin-bottom: 32px;
  line-height: 1.7;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 32px;
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--c-border);
  text-transform: uppercase;
  font-family: var(--font-head);
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .05em;
  padding: 6px 14px;
  border-radius: var(--radius-btn);
}
.badge-amber {
  background: rgba(245,166,35,.18);
  color: var(--c-secondary);
  border: 1px solid rgba(245,166,35,.35);
}
.badge-teal {
  background: rgba(46,196,182,.15);
  color: var(--c-ink);
  border: 1px solid rgba(46,196,182,.3);
}
.badge-outline {
  background: transparent;
  color: var(--c-muted);
  border: 1px solid var(--c-border);
}

/* ── Kinetic heading (inner pages) ──────────────────────────── */
.kinetic-h1 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.025em;
  background: linear-gradient(120deg, var(--c-white) 40%, var(--c-secondary) 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}
.kinetic-label {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--c-ink);
  margin-bottom: 16px;
}

/* ── Page hero (inner) ───────────────────────────────────────── */
.page-hero {
  padding: 64px 32px 48px;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(46,196,182,.06) 0%, transparent 60%),
    var(--c-bg);
  border-bottom: 1px solid var(--c-border);
}
.page-hero-inner { max-width: 860px; }

/* ── Eyebrow + small headings ───────────────────────────────── */
.eyebrow,
small.eyebrow {
  display: block;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--c-ink);
  margin-bottom: 10px;
}

/* ── Stage label ─────────────────────────────────────────────── */
.stage-label {
  display: inline-block;
  font-size: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: var(--radius-btn);
  margin-bottom: 12px;
}
.stage-awareness    { background: rgba(46,196,182,.2);  color: var(--c-ink); }
.stage-consideration { background: rgba(245,166,35,.2); color: var(--c-secondary); }
.stage-decision     { background: rgba(255,80,80,.15);  color: #ff7070; }

/* ── Byline ──────────────────────────────────────────────────── */
.byline {
  font-size: 14px;
  color: var(--c-muted);
  margin-top: 12px;
  font-family: var(--font-head);
  font-weight: 400;
  letter-spacing: .01em;
}
.byline time { color: var(--c-secondary); }

/* ── Content article layout (sidebar + main) ─────────────────── */
.content-section {
  display: grid;
  grid-template-columns: var(--nav-width) 1fr;
  gap: 0;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
  align-items: start;
}

/* ── Sidebar ─────────────────────────────────────────────────── */
.sidebar {
  position: sticky;
  top: calc(28px + var(--header-h) + 24px);
  align-self: start;
  padding: 32px 20px 32px 32px;
  min-height: 200px;
}
.sidebar-inner {
  background: var(--c-surface);
  border-radius: var(--radius-card);
  padding: 24px;
  border: 1px solid var(--c-border);
}
.sidebar-heading {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  color: var(--c-text);
  margin-bottom: 14px;
  letter-spacing: -.01em;
}
.sidebar-links {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sidebar-links li a {
  display: flex;
  align-items: center;
  font-size: 13px;
  color: var(--c-muted);
  text-decoration: none;
  padding: 8px 8px;
  border-radius: 8px;
  transition: background var(--transition), color var(--transition);
  line-height: 1.4;
  min-height: 44px;
}
.sidebar-links li a:hover {
  background: var(--c-surface2);
  color: var(--c-text);
}
.sidebar-cta-block {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--c-border);
}
.sidebar-cta {
  width: 100%;
  margin-top: 8px;
  font-size: 12px;
  padding: 10px 12px;
}

/* ── Main content ────────────────────────────────────────────── */
.main-content {
  padding: 48px 48px 48px 32px;
  min-width: 0;
}

/* ── Prose ───────────────────────────────────────────────────── */
.prose {
  max-width: 720px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--c-text);
}
.prose h2 {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--c-white);
  margin: 2.2em 0 .6em;
  padding-top: .4em;
}
.prose h3 {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--c-text);
  margin: 1.8em 0 .5em;
}
.prose p { margin-bottom: 1.2em; }
.prose ul, .prose ol {
  margin-bottom: 1.2em;
  padding-left: 1.6em;
}
.prose li { margin-bottom: .4em; }
.prose a {
  color: var(--c-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.prose a:hover { color: var(--c-secondary); }
.prose strong { color: var(--c-white); font-weight: 600; }
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.6em;
  font-size: 15px;
}
.prose th {
  background: var(--c-surface2);
  color: var(--c-secondary);
  font-family: var(--font-head);
  font-weight: 600;
  padding: 10px 14px;
  text-align: left;
  border-bottom: 2px solid var(--c-border);
}
.prose td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--c-border);
  color: var(--c-text);
}
.prose tr:last-child td { border-bottom: none; }
.prose blockquote {
  border-left: 3px solid var(--c-secondary);
  margin: 1.6em 0;
  padding: 12px 20px;
  background: var(--c-surface);
  border-radius: 0 12px 12px 0;
  color: var(--c-muted);
  font-style: italic;
}
.prose img {
  border-radius: 16px;
  margin: 1.6em 0;
}

/* ── FAQ prose ────────────────────────────────────────────────── */
.faq-prose .prose h2,
.faq-prose h2 {
  color: var(--c-secondary);
  font-size: 1.25rem;
}

/* ── Lead text ────────────────────────────────────────────────── */
.lead-text {
  font-size: 1.1rem;
  color: var(--c-muted);
  line-height: 1.7;
  margin-bottom: 2em;
}

/* ── Cards ────────────────────────────────────────────────────── */
.card-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin: 24px 0;
}
.featured-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--c-surface);
  border-radius: var(--radius-card);
  padding: 24px;
  text-decoration: none;
  color: var(--c-text);
  border: 1px solid var(--c-border);
  transition: transform var(--transition), border-color var(--transition);
}
.featured-card:hover {
  transform: translateY(-4px);
  border-color: var(--c-secondary);
  color: var(--c-text);
}
.featured-card small.eyebrow { margin-bottom: 4px; }
.featured-card strong {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  color: var(--c-white);
  line-height: 1.35;
}
.featured-card span {
  font-size: 13px;
  color: var(--c-muted);
  line-height: 1.5;
}

/* ── Child links row ─────────────────────────────────────────── */
.child-links-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 32px 0;
}
.child-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1 1 240px;
  min-width: 200px;
  background: var(--c-surface);
  border-radius: var(--radius-card);
  padding: 20px;
  text-decoration: none;
  color: var(--c-text);
  border: 1px solid var(--c-border);
  transition: border-color var(--transition), transform var(--transition);
}
.child-block:hover {
  border-color: var(--c-ink);
  transform: translateY(-3px);
  color: var(--c-text);
}
.child-block > strong {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  color: var(--c-white);
  line-height: 1.3;
}
.child-block > span {
  font-size: 13px;
  color: var(--c-muted);
  line-height: 1.5;
}

/* ── Rank preview ─────────────────────────────────────────────── */
.rank-preview {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 24px;
}
.rank-highlight {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--c-surface);
  border-radius: 14px;
  padding: 12px 20px;
  border: 1px solid var(--c-border);
}
.rank-pos {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 20px;
  color: var(--c-secondary);
  min-width: 32px;
  text-align: center;
}
.rank-name {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 500;
  color: var(--c-text);
}

/* ── Compare banner ───────────────────────────────────────────── */
.compare-banner {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

/* ── Section block ────────────────────────────────────────────── */
.section-block {
  margin: 40px 0;
}
.section-block h2 {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--c-white);
  margin-bottom: 20px;
  letter-spacing: -.02em;
}

/* ── Author article ───────────────────────────────────────────── */
.author-section {
  background: var(--c-surface);
  border-radius: var(--radius-card);
  padding: 32px;
  margin-bottom: 40px;
  border: 1px solid var(--c-secondary);
}
.author-section h2 {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--c-white);
  margin-bottom: 8px;
  letter-spacing: -.02em;
}
.author-credentials {
  font-size: 14px;
  color: var(--c-secondary);
  margin-bottom: 14px;
}
.author-bio {
  font-size: 16px;
  color: var(--c-muted);
  line-height: 1.7;
}

/* ── Trust links block ────────────────────────────────────────── */
.trust-links-block {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--c-border);
}
.trust-link {
  font-size: 14px;
  font-family: var(--font-head);
  color: var(--c-muted);
  text-decoration: underline;
}
.trust-link:hover { color: var(--c-ink); }

/* ── Reveal animations ────────────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  .reveal-fade {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s ease, transform .6s ease;
  }
  .reveal-fade.is-visible {
    opacity: 1;
    transform: translateY(0);
  }
  .reveal-card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .5s ease var(--delay, 0ms),
                transform .5s ease var(--delay, 0ms);
  }
  .reveal-card.is-visible {
    opacity: 1;
    transform: translateY(0);
  }
  .kinetic-h1 {
    animation: shimmer-gradient 4s ease infinite alternate;
  }
  @keyframes shimmer-gradient {
    0%   { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
  }
}

/* ── Footer ───────────────────────────────────────────────────── */
.site-footer {
  background: var(--c-primary);
  border-top: 1px solid var(--c-border);
  padding: 48px 40px 24px;
}
.footer-brand-row {
  margin-bottom: 32px;
}
.footer-wordmark {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 3rem);
  letter-spacing: -.04em;
  background: linear-gradient(90deg, var(--c-white), var(--c-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 32px;
}
.footer-dl dt {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-bottom: 12px;
}
.footer-dl dd {
  margin: 0 0 4px;
}
/* Every footer dd link gets a generous tap target */
.footer-dl dd a {
  display: flex;
  align-items: center;
  color: var(--c-muted);
  text-decoration: none;
  font-size: 14px;
  min-height: 44px;
  padding: 6px 4px;
  border-radius: 6px;
  transition: color var(--transition);
  line-height: 1.4;
}
.footer-dl dd a:hover { color: var(--c-ink); }
.rg-notice {
  font-size: 12px;
  color: var(--c-muted);
  line-height: 1.6;
  border-left: 2px solid var(--c-secondary);
  padding: 6px 0 6px 10px;
  margin-top: 4px;
}
.footer-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--c-border);
  font-size: 13px;
  color: var(--c-muted);
}
.footer-bottom-bar a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--c-muted);
  text-decoration: underline;
  margin-right: 12px;
  padding: 4px 0;
}
.footer-bottom-bar a:hover { color: var(--c-ink); }

/* ── Home div ─────────────────────────────────────────────── */
.home-article { display: flex; flex-direction: column; }

/* ── Inner div ────────────────────────────────────────────── */
.inner-article { display: flex; flex-direction: column; }

/* ── Hero image ───────────────────────────────────────────────── */
.hero-img {
  max-width: 100%;
  border-radius: 16px;
  margin-top: 20px;
}

/* ── Faq intro ────────────────────────────────────────────────── */
.faq-intro { margin-bottom: 8px; }

/* ── Desktop nav visibility ───────────────────────────────────── */
@media (min-width: 769px) {
  .nav-details { position: static; }
  .nav-details > summary.nav-toggle { display: none; }
  .nav-menu {
    display: flex;
    flex-wrap: wrap;
  }
}

/* ── Mobile ≤768px ────────────────────────────────────────────── */
@media (max-width: 768px) {
  :root { --nav-width: 0px; }

  .announce-strip { font-size: 11px; }

  .site-header {
    gap: 8px;
    padding: 0 12px;
    height: 56px;
  }
  :root { --header-h: 56px; }

  .brand-name {
    font-size: 14px;
    /* min-height: 44px already set globally; ensure it holds on mobile */
    min-height: 44px;
  }

  .nav-details { position: static; flex: 0 0 auto; }
  .nav-toggle { display: flex; }
  .nav-menu {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: calc(28px + 56px);
    left: 0; right: 0;
    background: var(--c-primary);
    border-bottom: 1px solid var(--c-border);
    padding: 16px;
    gap: 4px;
    max-height: calc(100vh - 84px);
    overflow-y: auto;
    z-index: 99;
  }
  .nav-menu li a {
    font-size: 15px;
    padding: 12px 16px;
    min-height: 44px;
    display: flex;
    align-items: center;
    border-radius: 10px;
    white-space: normal;
  }

  .header-ctas { gap: 6px; }
  .cta {
    font-size: 12px;
    padding: 8px 12px;
    min-height: 44px;
  }

  .hero-section { padding: 48px 20px 40px; min-height: auto; }
  .hero-h1 { font-size: clamp(1.8rem, 8vw, 3rem); }
  .hero-scroll-hint { display: none; }

  .page-hero { padding: 40px 20px 32px; }
  .kinetic-h1 { font-size: clamp(1.4rem, 6vw, 2.2rem); }

  .content-section {
    grid-template-columns: 1fr;
  }
  .sidebar {
    position: static;
    padding: 0 20px 8px;
    order: 2;
  }
  .sidebar-links li a {
    min-height: 44px;
    padding: 10px 8px;
  }
  .main-content {
    padding: 24px 20px;
    order: 1;
  }

  /* Footer mobile: stack and ensure tap targets */
  .footer-cols { grid-template-columns: 1fr; gap: 24px; }
  .site-footer { padding: 36px 20px 20px; }
  .footer-bottom-bar { flex-direction: column; align-items: flex-start; gap: 8px; }
  .footer-wordmark { font-size: 1.6rem; }
  .footer-dl dd a {
    min-height: 44px;
    padding: 8px 4px;
    font-size: 15px;
  }
  .footer-bottom-bar a {
    min-height: 44px;
    font-size: 14px;
    padding: 8px 0;
  }

  .card-row { grid-template-columns: 1fr; }
  .child-links-row { flex-direction: column; }
  .child-block { flex: none; min-width: 0; }
}

/* ── Very small: 375px check ─────────────────────────────────── */
@media (max-width: 400px) {
  .cta { font-size: 11px; padding: 8px 10px; }
  .hero-h1 { font-size: 1.7rem; }
  .main-content { padding: 20px 16px; }
  .footer-dl dd a { min-height: 44px; font-size: 14px; }
  .footer-bottom-bar a { min-height: 44px; }
  .brand-name { font-size: 13px; min-height: 44px; }
}

a[data-cta],button[aria-controls]{min-height:44px;min-width:44px;box-sizing:border-box}main p a{text-decoration:underline}