
/* ============================================================
   RESET & ROOT
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --c-primary: #1A0A2E;
  --c-secondary: #F5A623;
  --c-ink: #0D0D0D;
  --c-bg: #100720;
  --c-surface: #1e1040;
  --c-surface-2: #2a175a;
  --c-text: #e8dff8;
  --c-text-muted: #9a8bbf;
  --c-border: #3a2566;
  --c-amber-dim: #c47a0f;
  --font: 'Space Grotesk', 'Segoe UI', system-ui, sans-serif;
  --radius: 10px;
  --max-w: 1200px;
  --header-h: 72px;
  --transition: 0.25s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  background: var(--c-bg);
  color: var(--c-text);
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }

a { color: var(--c-secondary); text-decoration: underline; }
a:hover { color: #ffc84d; }

/* Body copy links distinct */
.page-content a, .article-body a {
  color: var(--c-secondary);
  text-decoration: underline;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4 {
  font-family: var(--font);
  font-weight: 700;
  line-height: 1.15;
  color: #fff;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.5rem); }
h4 { font-size: 1.05rem; }

p { margin-bottom: 1.1rem; }
p:last-child { margin-bottom: 0; }

ul, ol { padding-left: 1.4rem; margin-bottom: 1rem; }
li { margin-bottom: 0.4rem; }

table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.4rem;
  font-size: 0.95rem;
}
th {
  background: var(--c-surface-2);
  color: var(--c-secondary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.6rem 0.8rem;
  text-align: left;
  border-bottom: 2px solid var(--c-border);
}
td {
  padding: 0.55rem 0.8rem;
  border-bottom: 1px solid var(--c-border);
  color: var(--c-text);
}
tr:nth-child(even) td { background: rgba(255,255,255,0.03); }

blockquote {
  border-left: 4px solid var(--c-secondary);
  padding: 0.8rem 1.2rem;
  background: var(--c-surface);
  margin: 1.4rem 0;
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--c-text-muted);
  font-style: italic;
}

/* ============================================================
   EYEBROW
   ============================================================ */
small.eyebrow {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-secondary);
  margin-bottom: 0.5rem;
}

/* Stage badge */
.stage-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  margin-bottom: 0.75rem;
  background: var(--c-surface-2);
  color: var(--c-secondary);
  border: 1px solid var(--c-secondary);
}

/* ============================================================
   SITE WRAP
   ============================================================ */
.site-wrap { min-height: 100vh; display: flex; flex-direction: column; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(16, 7, 32, 0.96);
  border-bottom: 1px solid var(--c-border);
  backdrop-filter: blur(8px);
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.2rem;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  flex-shrink: 0;
  min-height: 44px;
}

.brand-icon-text {
  width: 36px;
  height: 36px;
  background: var(--c-secondary);
  color: var(--c-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: 6px;
  flex-shrink: 0;
}

.brand-icon { width: 36px; height: 36px; border-radius: 6px; }

.brand-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Nav */
.primary-nav {
  flex: 1;
  overflow: hidden;
}

.nav-row {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}
.nav-row::-webkit-scrollbar { display: none; }

.nav-row a {
  white-space: nowrap;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--c-text-muted);
  text-decoration: none;
  padding: 0.5rem 0.6rem;
  border-radius: 4px;
  transition: color var(--transition), background var(--transition);
  min-height: 44px;
  display: flex;
  align-items: center;
}
.nav-row a:hover, .nav-row a[aria-current] {
  color: var(--c-secondary);
  background: rgba(245,166,35,0.08);
}

/* CTA buttons */
.header-ctas {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 1.1rem;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  white-space: nowrap;
}

.cta-signup {
  background: var(--c-secondary);
  color: var(--c-ink);
  border: 2px solid var(--c-secondary);
}
.cta-signup:hover {
  background: #ffc84d;
  border-color: #ffc84d;
  color: var(--c-ink);
}

.cta-login {
  background: transparent;
  color: var(--c-secondary);
  border: 2px solid var(--c-secondary);
}
.cta-login:hover {
  background: rgba(245,166,35,0.12);
  color: #ffc84d;
  border-color: #ffc84d;
}

/* Nav toggle (mobile) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--c-border);
  border-radius: 6px;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--c-text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   PARALLAX HERO (home)
   ============================================================ */
.parallax-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: var(--header-h);
}

.parallax-bg {
  position: absolute;
  inset: -20%;
  background-repeat: repeat;
  will-change: transform;
}

.layer-1 {
  background: radial-gradient(ellipse at 60% 40%, #2d1060 0%, #1A0A2E 55%, #0a0418 100%);
  z-index: 0;
}

.layer-2 {
  background:
    radial-gradient(circle at 20% 80%, rgba(245,166,35,0.12) 0%, transparent 45%),
    radial-gradient(circle at 80% 20%, rgba(100,60,200,0.18) 0%, transparent 40%);
  z-index: 1;
  animation: layerDrift 18s ease-in-out infinite alternate;
}

.layer-3 {
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 60px,
    rgba(245,166,35,0.03) 60px,
    rgba(245,166,35,0.03) 61px
  );
  z-index: 2;
}

@keyframes layerDrift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(2%, 3%) scale(1.04); }
}

.hero-copy {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 820px;
  padding: 3rem 1.5rem 2rem;
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-secondary);
  margin-bottom: 1rem;
}

.hero-h1 {
  font-size: clamp(2.2rem, 6vw, 4.2rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.2rem;
  text-shadow: 0 2px 30px rgba(0,0,0,0.5);
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--c-text-muted);
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.hero-cta { font-size: 0.88rem; padding: 0 2rem; min-height: 52px; }

.hero-img-wrap {
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: 900px;
  margin-top: 2rem;
}

.hero-img { width: 100%; border-radius: var(--radius); }

.hero-deco-numeral {
  position: absolute;
  bottom: -0.1em;
  left: 50%;
  transform: translateX(-50%);
  font-size: clamp(5rem, 18vw, 14rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(245,166,35,0.04);
  white-space: nowrap;
  pointer-events: none;
  z-index: 3;
  line-height: 1;
  user-select: none;
}

/* ============================================================
   ARTICLE HERO BAND
   ============================================================ */
.article-hero-band {
  position: relative;
  padding-top: var(--header-h);
  min-height: 320px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.article-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1A0A2E 0%, #2d1060 60%, #150830 100%);
  z-index: 0;
}
.article-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -55deg,
    transparent,
    transparent 80px,
    rgba(245,166,35,0.025) 80px,
    rgba(245,166,35,0.025) 81px
  );
}

.article-hero-content {
  position: relative;
  z-index: 5;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 2.5rem 1.5rem 1.5rem;
  width: 100%;
}

.article-h1, .faq-h1, .inner-h1 {
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  margin-bottom: 0.75rem;
  color: #fff;
}

.article-hero-img-wrap {
  position: relative;
  z-index: 5;
  max-width: 640px;
  width: 100%;
  margin: 0 auto;
  padding: 0 1.5rem 1.5rem;
}

.article-hero-img { border-radius: var(--radius); }

/* FAQ hero */
.faq-hero {
  position: relative;
  padding-top: var(--header-h);
  min-height: 260px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.faq-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, #1A0A2E 0%, #311470 50%, #1A0A2E 100%);
  z-index: 0;
}

.faq-hero-content {
  position: relative;
  z-index: 5;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 2.5rem 1.5rem 1.5rem;
  width: 100%;
}

/* Inner hero (about/privacy) */
.inner-hero {
  position: relative;
  padding-top: var(--header-h);
  min-height: 220px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.inner-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #1A0A2E 0%, #24114a 100%);
  z-index: 0;
}

.inner-hero-content {
  position: relative;
  z-index: 5;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 2rem 1.5rem 1.5rem;
  width: 100%;
}

/* ============================================================
   BYLINE
   ============================================================ */
.byline {
  font-size: 0.82rem;
  color: var(--c-text-muted);
  margin-top: 0.5rem;
  margin-bottom: 0;
}
.byline strong { color: var(--c-text); }
.byline time { color: var(--c-secondary); }

/* ============================================================
   MAIN CONTENT
   ============================================================ */
.site-main {
  flex: 1;
  padding: 2.5rem 0 3rem;
}

.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.2rem;
}

.content-section {}

.content-article.with-sidebar {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
}

/* Sidebar to the LEFT */
.sidebar {
  width: 240px;
  min-width: 220px;
  flex-shrink: 0;
  order: -1;
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
  max-height: calc(100vh - var(--header-h) - 3rem);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--c-border) transparent;
}

.sidebar-inner {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 1.2rem;
}

.sidebar-heading {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.sidebar-links {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}

.sidebar-links li { margin-bottom: 0; }

.sidebar-links a {
  display: block;
  padding: 0.45rem 0.6rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--c-text-muted);
  text-decoration: none;
  border-radius: 4px;
  transition: color var(--transition), background var(--transition);
  min-height: 44px;
  display: flex;
  align-items: center;
  line-height: 1.3;
}
.sidebar-links a:hover {
  color: var(--c-secondary);
  background: rgba(245,166,35,0.07);
}

.sidebar-cta {
  width: 100%;
  font-size: 0.72rem;
  min-height: 40px;
  padding: 0 0.8rem;
  margin-top: 0.5rem;
}

.sidebar-trust { margin-top: 1rem; }
.sidebar-trust a {
  display: block;
  font-size: 0.78rem;
  color: var(--c-text-muted);
  text-decoration: underline;
  padding: 0.2rem 0;
}

/* Article body */
.article-body {
  flex: 1;
  min-width: 0;
}

/* ============================================================
   PAGE CONTENT (injected HTML)
   ============================================================ */
.page-content h2 { margin-top: 2.2rem; margin-bottom: 0.8rem; }
.page-content h3 { margin-top: 1.6rem; margin-bottom: 0.6rem; }
.page-content h4 { margin-top: 1.2rem; margin-bottom: 0.4rem; }
.page-content p { margin-bottom: 1.1rem; }
.page-content ul, .page-content ol { margin-bottom: 1rem; }
.page-content table { margin: 1.4rem 0; }
.page-content img { border-radius: var(--radius); margin: 1.2rem 0; }

/* ============================================================
   CHILD PAGES (dl/dt/dd structure)
   ============================================================ */
.child-pages {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--c-border);
}

.child-pages h2 { margin-bottom: 1.2rem; }

.page-dl {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0;
}

.page-dl dt {
  margin-top: 1rem;
}

.page-dl dt a {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  padding: 0.75rem 1rem;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius) var(--radius) 0 0;
  transition: background var(--transition), border-color var(--transition);
  min-height: 44px;
  display: flex;
  align-items: center;
}
.page-dl dt a:hover {
  background: var(--c-surface-2);
  border-color: var(--c-secondary);
  color: var(--c-secondary);
}

.page-dl dd {
  font-size: 0.88rem;
  color: var(--c-text-muted);
  padding: 0.6rem 1rem 0.75rem;
  background: rgba(30,16,64,0.5);
  border: 1px solid var(--c-border);
  border-top: none;
  border-radius: 0 0 var(--radius) var(--radius);
  margin: 0 0 0.25rem;
  line-height: 1.5;
}

/* ============================================================
   FAQ SPECIFIC
   ============================================================ */
.faq-intro { margin-bottom: 1.8rem; }
.faq-intro h2 { margin-bottom: 0; }

.faq-body .page-content details {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  margin-bottom: 0.8rem;
  overflow: hidden;
}

.faq-body .page-content summary {
  padding: 1rem 1.2rem;  font-weight: 700;
  cursor: pointer;
  list-style: none;
  color: #fff;
  font-size: 0.95rem;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.faq-body .page-content details[open] summary {
  color: var(--c-secondary);
  border-bottom: 1px solid var(--c-border);
}

.faq-body .page-content details > *:not(summary) {
  padding: 1rem 1.2rem;
  font-size: 0.92rem;
  color: var(--c-text-muted);
}

/* ============================================================
   AUTHOR SECTION
   ============================================================ */
.author-section {
  margin-top: 2.5rem;
  padding: 1.5rem;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-left: 4px solid var(--c-secondary);
  border-radius: var(--radius);
}

.author-name {
  font-size: 1.3rem;
  margin-bottom: 0.3rem;
}

.author-credentials {
  font-size: 0.82rem;
  color: var(--c-secondary);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.author-bio {
  font-size: 0.92rem;
  color: var(--c-text-muted);
  line-height: 1.7;
  margin-bottom: 0;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #0a0416;
  border-top: 1px solid var(--c-border);
  margin-top: 2rem;
}

/* footer > section direct children */
.site-footer > section { width: 100%; }

.footer-cta-block {
  text-align: center;
  padding: 3.5rem 1.5rem;
  background: linear-gradient(135deg, #1A0A2E 0%, #2a1260 100%);
  border-bottom: 1px solid var(--c-border);
}

.footer-cta-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-secondary);
  margin-bottom: 0.5rem;
}

.footer-cta-heading {
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: #fff;
  margin-bottom: 1.5rem;
}

.footer-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
}

.footer-brand-col {}

.footer-brand-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  margin-bottom: 1rem;
  min-height: 44px;
}

.footer-brand-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer-blurb {
  font-size: 0.85rem;
  color: var(--c-text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.footer-rg {
  font-size: 0.72rem;
  color: #6a5a8a;
  line-height: 1.5;
  border-top: 1px solid var(--c-border);
  padding-top: 0.8rem;
  margin-bottom: 0;
}

.footer-links-col {}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 1rem;
}

.footer-nav a {
  font-size: 0.82rem;
  color: var(--c-text-muted);
  text-decoration: none;
  padding: 0.3rem 0;
  min-height: 44px;
  display: flex;
  align-items: center;
  transition: color var(--transition);
}
.footer-nav a:hover { color: var(--c-secondary); }

.footer-trust {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  border-top: 1px solid var(--c-border);
  padding-top: 0.8rem;
}

.footer-trust a {
  font-size: 0.78rem;
  color: var(--c-text-muted);
  text-decoration: underline;
  padding: 0.25rem 0;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.footer-trust a:hover { color: var(--c-secondary); }

.footer-bottom {
  text-align: center;
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--c-border);
}

.footer-copy {
  font-size: 0.75rem;
  color: #4a3870;
  margin-bottom: 0;
}

/* ============================================================
   SCROLL REVEAL ANIMATION
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.55s ease, transform 0.55s ease;
  }
  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }

  .stagger-list > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
  }
  .stagger-list.visible > *:nth-child(1) { transition-delay: 0.05s; }
  .stagger-list.visible > *:nth-child(2) { transition-delay: 0.12s; }
  .stagger-list.visible > *:nth-child(3) { transition-delay: 0.19s; }
  .stagger-list.visible > *:nth-child(4) { transition-delay: 0.26s; }
  .stagger-list.visible > *:nth-child(5) { transition-delay: 0.33s; }
  .stagger-list.visible > *:nth-child(n+6) { transition-delay: 0.4s; }
  .stagger-list.visible > * { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   RESPONSIVE — DESKTOP ADJUSTMENTS
   ============================================================ */
@media (min-width: 1024px) {
  .sidebar { width: 260px; min-width: 240px; }
  .content-article.with-sidebar { gap: 2.5rem; }
}

/* ============================================================
   RESPONSIVE — TABLET (769px–1023px)
   ============================================================ */
@media (max-width: 1023px) {
  .sidebar { width: 200px; min-width: 180px; }
}

/* ============================================================
   RESPONSIVE — MOBILE (≤768px)
   ============================================================ */
@media (max-width: 768px) {

  /* Header collapses nav */
  .header-inner {
    flex-wrap: wrap;
    padding: 0 0.9rem;
    gap: 0.5rem;
  }

  .brand-link { flex: 1; }
  .brand-name { font-size: 0.78rem; }

  .nav-toggle { display: flex; }

  .primary-nav {
    display: none;
    width: 100%;
    order: 10;
    background: #110822;
    border-top: 1px solid var(--c-border);
    padding: 0.5rem 0;
  }

  .primary-nav.open { display: block; }

  .nav-row {
    flex-direction: column;
    gap: 0;
    overflow-x: visible;
  }

  .nav-row a {
    width: 100%;
    border-radius: 0;
    padding: 0.75rem 1rem;
    font-size: 0.82rem;
    border-bottom: 1px solid rgba(255,255,255,0.04);
  }

  /* Keep CTAs visible on one row with brand+toggle */
  .header-ctas {
    gap: 0.35rem;
    order: 5;
  }

  .cta {
    font-size: 0.68rem;
    padding: 0 0.65rem;
    min-height: 36px;
    border-radius: 6px;
  }

  /* Make header overall ≤120px when nav is closed */
  .site-header { height: auto; min-height: var(--header-h); max-height: none; }
  .header-inner { min-height: var(--header-h); }

  /* Content layout: stack sidebar below on mobile */
  .content-article.with-sidebar {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    min-width: unset;
    position: static;
    max-height: none;
    order: 1;
  }

  .article-body { order: 0; }

  /* Footer columns stack */
  .footer-columns {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.8rem 1rem;
  }

  .hero-h1 { font-size: 1.9rem; }
  .article-h1, .faq-h1, .inner-h1 { font-size: 1.5rem; }

  .site-main { padding: 1.8rem 0 2rem; }
  .wrap { padding: 0 0.9rem; }

  .page-dl { gap: 0; }
}

/* ============================================================
   MOBILE SMALL (≤375px)
   ============================================================ */
@media (max-width: 375px) {
  html, body { overflow-x: hidden; }
  body { font-size: 16px; }
  .brand-name { display: none; }
  .header-inner { max-width: 100%; overflow: hidden; }
  .cta { font-size: 0.65rem; padding: 0 0.5rem; }
  .hero-h1 { font-size: 1.65rem; }
}

/* ============================================================
   PARALLAX SCROLL (JS-driven via will-change)
   ============================================================ */
.layer-1, .layer-2, .layer-3 {
  will-change: transform;
}

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