/* ============================================================
   Cash Eruption Hub — Neumorphic Soft-UI Design System
   Palette: #c8e0f4 (primary/blue) · #f5e0e8 (secondary/pink) · #171f26 (ink)
   Typography: Abril Fatface (headings) · Merriweather (body)
   ============================================================ */


/* ── Custom properties ──────────────────────────────────────── */
:root {
  --c-primary: #c8e0f4;
  --c-secondary: #f5e0e8;
  --c-ink: #171f26;
  --c-bg: #d4e8f7;
  --c-bg-alt: #f7e8f0;
  --c-surface: #cde3f5;
  --c-surface-dark: #b8d4ec;
  --c-muted: #5a6878;
  --c-accent: #e85d8a;
  --c-accent2: #4a90d9;
  --c-white: #ffffff;

  --neu-shadow-out:
    -6px -6px 14px rgba(255,255,255,0.75),
     6px  6px 14px rgba(0,0,0,0.12);
  --neu-shadow-in:
    inset -4px -4px 10px rgba(255,255,255,0.7),
    inset  4px  4px 10px rgba(0,0,0,0.1);
  --neu-shadow-hover:
    -8px -8px 18px rgba(255,255,255,0.8),
     8px  8px 18px rgba(0,0,0,0.15);

  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 20px;
  --font-head: 'Abril Fatface', Georgia, serif;
  --font-body: 'Merriweather', Georgia, serif;
  --max-content: 780px;
  --sidebar-w: 240px;
  --header-h: 64px;
  --strip-h: 36px;
  --transition: 150ms ease;
}

/* ── 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.7;
  color: var(--c-ink);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; border-radius: var(--radius-sm); }
a { color: var(--c-accent2); text-decoration: underline; }
a:hover { color: var(--c-accent); }
ul { list-style: none; }
table { border-collapse: collapse; width: 100%; }

/* ── Announcement strip ──────────────────────────────────────── */
.announcement-strip {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--strip-h);
  background: linear-gradient(90deg, var(--c-ink) 0%, #2a3b4c 100%);
  color: var(--c-primary);
  font-size: 12px;
  font-family: var(--font-body);
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  font-weight: 700;
}

/* ── Site header ─────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: var(--strip-h);
  left: 0; right: 0;
  height: var(--header-h);
  background: var(--c-bg);
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
  z-index: 900;
  display: flex;
  flex-direction: column;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 20px;
  height: var(--header-h);
}

.brand-logo {
  font-family: var(--font-head);
  font-size: 18px;
  color: var(--c-ink);
  text-decoration: none;
  letter-spacing: -0.01em;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  /* Ensure tap target meets 44px minimum */
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.brand-logo:hover { color: var(--c-accent); }

/* ── Menu toggle ─────────────────────────────────────────────── */
.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  border: none;
  background: var(--c-bg);
  border-radius: var(--radius-sm);
  box-shadow: var(--neu-shadow-out);
  cursor: pointer;
  flex-shrink: 0;
  padding: 10px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.menu-toggle:active {
  box-shadow: var(--neu-shadow-in);
  transform: scale(0.96);
}
.burger-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--c-ink);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.menu-toggle[aria-expanded="true"] .burger-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .burger-bar:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .burger-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Header CTAs ─────────────────────────────────────────────── */
.header-ctas {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: box-shadow var(--transition), transform var(--transition);
  white-space: nowrap;
}
.cta-signup {
  background: linear-gradient(145deg, var(--c-accent), #c04070);
  color: var(--c-white);
  box-shadow: var(--neu-shadow-out);
}
.cta-signup:hover {
  box-shadow: var(--neu-shadow-hover);
  color: var(--c-white);
  text-decoration: none;
}
.cta-login {
  background: var(--c-bg);
  color: var(--c-accent2);
  border: 2px solid var(--c-accent2);
  box-shadow: var(--neu-shadow-out);
}
.cta-login:hover {
  box-shadow: var(--neu-shadow-hover);
  color: var(--c-accent2);
  text-decoration: none;
}
.cta:active { transform: scale(0.96); box-shadow: var(--neu-shadow-in); }

/* ── Inline nav (desktop) ────────────────────────────────────── */
.inline-nav {
  display: none;
  padding: 0 20px 0 72px;
  height: 40px;
  align-items: center;
  border-top: 1px solid rgba(0,0,0,0.06);
  overflow: hidden;
}
.inline-nav p {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: nowrap;
  overflow-x: auto;
}
.inline-nav a {
  font-size: 13px;
  font-weight: 700;
  font-family: var(--font-body);
  color: var(--c-muted);
  text-decoration: none;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: background var(--transition), color var(--transition);
}
.inline-nav a:hover,
.inline-nav a[aria-current="page"] {
  background: var(--c-primary);
  color: var(--c-ink);
}

/* ── Overlay nav ─────────────────────────────────────────────── */
.overlay-nav {
  position: fixed;
  inset: 0;
  background: rgba(23,31,38,0.97);
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 250ms ease;
}
.overlay-nav.is-open {
  opacity: 1;
  pointer-events: all;
}
.overlay-nav nav p {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}
.overlay-nav a {
  font-family: var(--font-head);
  font-size: 28px;
  color: var(--c-primary);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color var(--transition);
}
.overlay-nav a:hover { color: var(--c-secondary); }
.overlay-close {
  position: absolute;
  top: calc(var(--strip-h) + 12px);
  right: 20px;
  font-size: 36px;
  line-height: 1;
  background: none;
  border: none;
  color: var(--c-primary);
  cursor: pointer;
  padding: 8px;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  transition: color var(--transition);
}
.overlay-close:hover { color: var(--c-secondary); }

/* ── Page layout wrapper ─────────────────────────────────────── */
.page-wrapper {
  display: flex;
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
  padding: calc(var(--strip-h) + var(--header-h) + 40px) 24px 60px;
}

/* ── Sidebar ─────────────────────────────────────────────────── */
.sidebar {
  width: var(--sidebar-w);
  flex-shrink: 0;
  order: -1;
}
.sidebar-inner {
  position: sticky;
  top: calc(var(--strip-h) + var(--header-h) + 20px);
  padding: 24px;
}
.sidebar h3 {
  font-family: var(--font-head);
  font-size: 16px;
  color: var(--c-ink);
  margin-bottom: 14px;
}
.sidebar ul { display: flex; flex-direction: column; gap: 6px; }
.sidebar ul li a {
  display: flex;
  align-items: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--c-muted);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  min-height: 44px;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
}
.sidebar ul li a:hover {
  background: var(--c-primary);
  color: var(--c-ink);
  box-shadow: var(--neu-shadow-out);
}
.rg-sidebar {
  margin-top: 20px;
  padding: 12px;
  background: linear-gradient(145deg, var(--c-bg-alt), var(--c-secondary));
  border-radius: var(--radius-sm);
  box-shadow: var(--neu-shadow-in);
}
.rg-sidebar p {
  font-size: 11px;
  color: var(--c-muted);
  line-height: 1.5;
  font-style: italic;
}
.sidebar-back { margin-top: 16px; }
.sidebar-back a {
  font-size: 13px;
  font-weight: 700;
  color: var(--c-accent2);
  text-decoration: none;
}
.sidebar-back a:hover { color: var(--c-accent); }

/* ── Main column ─────────────────────────────────────────────── */
.main-col { flex: 1; min-width: 0; }

/* ── Neumorphic card ─────────────────────────────────────────── */
.neu-card {
  background: linear-gradient(145deg, var(--c-bg), var(--c-surface));
  border-radius: var(--radius);
  box-shadow: var(--neu-shadow-out);
  transition: box-shadow var(--transition);
}
.neu-card:hover { box-shadow: var(--neu-shadow-hover); }

/* ── Buttons ─────────────────────────────────────────────────── */
.neu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: box-shadow var(--transition), transform var(--transition);
  letter-spacing: 0.02em;
}
.btn-primary {
  background: linear-gradient(145deg, var(--c-accent), #c04070);
  color: var(--c-white);
  box-shadow: var(--neu-shadow-out);
}
.btn-primary:hover {
  box-shadow: var(--neu-shadow-hover);
  color: var(--c-white);
  text-decoration: none;
}
.btn-secondary {
  background: var(--c-bg);
  color: var(--c-accent2);
  border: 2px solid var(--c-accent2);
  box-shadow: var(--neu-shadow-out);
}
.btn-secondary:hover {
  box-shadow: var(--neu-shadow-hover);
  color: var(--c-accent2);
  text-decoration: none;
}
.neu-btn:active { transform: scale(0.97); box-shadow: var(--neu-shadow-in); }

/* ── Hero div (home) ─────────────────────────────────────── */
.hero-section {
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding: 60px 0 40px;
}
.hero-inner {
  display: flex;
  gap: 48px;
  align-items: center;
  width: 100%;
}
.hero-copy {
  flex: 1;
  min-width: 0;
}
.hero-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--c-accent);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.hero-copy h1 {
  font-family: var(--font-head);
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1.1;
  color: var(--c-ink);
  margin-bottom: 20px;
}
.hero-desc {
  font-size: 18px;
  color: var(--c-muted);
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 520px;
}
.hero-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.badge {
  padding: 6px 14px;
  background: linear-gradient(145deg, var(--c-primary), var(--c-surface));
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: var(--c-ink);
  box-shadow: var(--neu-shadow-out);
  letter-spacing: 0.02em;
}
.hero-copy .btn-primary,
.hero-copy .btn-secondary { margin-right: 12px; margin-bottom: 8px; }

/* ── Volcano chip illustration ───────────────────────────────── */
.hero-illustration {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.volcano-chip {
  width: 160px;
  height: 160px;
  background: linear-gradient(145deg, var(--c-secondary), var(--c-bg-alt));
  border-radius: 50%;
  box-shadow:
    -10px -10px 25px rgba(255,255,255,0.8),
     10px  10px 25px rgba(0,0,0,0.15),
    inset -4px -4px 10px rgba(255,255,255,0.6),
    inset  4px  4px 10px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  position: relative;
}
.chip-label {
  font-family: var(--font-head);
  font-size: 22px;
  color: var(--c-ink);
  line-height: 1.1;
  text-align: center;
}

/* ── Page hero (category/inner) ──────────────────────────────── */
.page-hero, .cat-hero, .inner-header, .entry-header {
  padding: 40px 0 32px;
  border-bottom: 2px solid var(--c-surface-dark);
  margin-bottom: 32px;
}
.page-hero h1, .cat-hero h1, .inner-header h1, .entry-header h1 {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.15;
  color: var(--c-ink);
  margin-bottom: 14px;
}
.page-hero .hero-desc, .cat-hero .hero-desc {
  font-size: 17px;
  color: var(--c-muted);
}

/* ── Byline ─────────────────────────────────────────────────── */
.byline {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--c-muted);
  font-weight: 400;
  margin-top: 12px;
  font-style: italic;
}
.byline-sep { color: var(--c-surface-dark); }
.stage-badge {
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-style: normal;
}
.stage-awareness { background: var(--c-primary); color: var(--c-ink); }
.stage-consideration { background: var(--c-secondary); color: var(--c-ink); }
.stage-decision { background: linear-gradient(145deg, var(--c-accent), #c04070); color: #fff; }

/* ── Breadcrumb ─────────────────────────────────────────────── */
.breadcrumb { margin-bottom: 16px; }
.breadcrumb p {
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: 13px;
  color: var(--c-muted);
  flex-wrap: wrap;
}
.breadcrumb a {
  color: var(--c-accent2);
  text-decoration: none;
  font-weight: 700;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.breadcrumb a:hover { text-decoration: underline; }

/* ── Body content ────────────────────────────────────────────── */
.content-section { padding: 8px 0; }
.body-content {
  max-width: var(--max-content);
  font-size: 17px;
  line-height: 1.75;
  color: var(--c-ink);
}
.body-content h2 {
  font-family: var(--font-head);
  font-size: 26px;
  color: var(--c-ink);
  margin: 40px 0 14px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--c-surface-dark);
}
.body-content h3 {
  font-family: var(--font-head);
  font-size: 21px;
  color: var(--c-ink);
  margin: 30px 0 10px;
}
.body-content h2 span, .body-content h3 span { display: inline; }
.body-content p { margin-bottom: 18px; }
.body-content ul, .body-content ol {
  padding-left: 20px;
  margin-bottom: 18px;
}
.body-content ul { list-style: disc; }
.body-content ol { list-style: decimal; }
.body-content li { margin-bottom: 8px; line-height: 1.65; }
.body-content a { color: var(--c-accent2); font-weight: 700; text-decoration: underline; }
.body-content a:hover { color: var(--c-accent); }
.body-content strong { font-weight: 700; }
.body-content em { font-style: italic; }
.body-content table {
  width: 100%;
  margin-bottom: 24px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--neu-shadow-out);
}
.body-content th {
  background: linear-gradient(145deg, var(--c-ink), #2a3b4c);
  color: var(--c-primary);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  padding: 12px 16px;
  text-align: left;
  letter-spacing: 0.03em;
}
.body-content td {
  padding: 12px 16px;
  background: var(--c-bg);
  border-bottom: 1px solid var(--c-surface-dark);
  font-size: 15px;
}
.body-content tr:last-child td { border-bottom: none; }
.body-content tr:nth-child(even) td { background: var(--c-surface); }
.body-content blockquote {
  margin: 24px 0;
  padding: 20px 24px;
  background: linear-gradient(145deg, var(--c-primary), var(--c-surface));
  border-radius: var(--radius-sm);
  box-shadow: var(--neu-shadow-in);
  font-style: italic;
  color: var(--c-muted);
  border-left: 4px solid var(--c-accent2);
}

/* ── Heading decoration (h2 > span, h3 > span) ───────────────── */
h2 > span, h3 > span {
  display: inline;
  position: relative;
}

/* ── Cards grid ──────────────────────────────────────────────── */
.cards-section { margin: 48px 0; }
.cards-section > h2 {
  font-family: var(--font-head);
  font-size: 28px;
  color: var(--c-ink);
  margin-bottom: 24px;
}
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.small-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }

.home-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  overflow: hidden;
  border-radius: 0;
}
.home-card h3, .home-card h4 {
  font-family: var(--font-head);
  font-size: 18px;
  color: var(--c-ink);
  line-height: 1.2;
}
.home-card h3 span, .home-card h4 span { display: inline; }
.home-card h3 a, .home-card h4 a {
  color: var(--c-ink);
  text-decoration: none;
}
.home-card h3 a:hover, .home-card h4 a:hover { color: var(--c-accent); }
.home-card p { font-size: 14px; color: var(--c-muted); line-height: 1.55; flex: 1; }
.card-count { font-size: 12px; font-weight: 700; color: var(--c-accent2); }
.card-link {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--c-accent2);
  text-decoration: none;
  letter-spacing: 0.03em;
  min-height: 44px;
}
.card-link:hover { color: var(--c-accent); text-decoration: underline; }
.card-accent {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--c-accent), var(--c-accent2));
}

/* ── Child table div ─────────────────────────────────────── */
.child-table-section { margin: 40px 0; }
.child-table-section > h2 {
  font-family: var(--font-head);
  font-size: 26px;
  margin-bottom: 20px;
}
.table-wrap { overflow-x: auto; padding: 0; border-radius: var(--radius); }
.table-wrap table { min-width: 540px; }
.table-wrap th {
  background: linear-gradient(145deg, var(--c-ink), #2a3b4c);
  color: var(--c-primary);
  font-size: 13px;
  font-weight: 700;
  padding: 14px 16px;
  text-align: left;
  letter-spacing: 0.04em;
}
.table-wrap td {
  padding: 12px 16px;
  font-size: 14px;
  background: var(--c-bg);
  border-bottom: 1px solid var(--c-surface-dark);
  vertical-align: top;
}
.table-wrap tr:nth-child(even) td { background: var(--c-surface); }
.table-wrap tr:last-child td { border-bottom: none; }
.tbl-num { width: 36px; color: var(--c-accent2); font-weight: 700; }
.tbl-title a {
  color: var(--c-accent2);
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.tbl-title a:hover { color: var(--c-accent); text-decoration: underline; }
.tbl-desc { color: var(--c-muted); }
.tbl-date { white-space: nowrap; color: var(--c-muted); font-size: 13px; }

/* ── Entry footer CTA ────────────────────────────────────────── */
.entry-footer-cta {
  margin: 48px 0;
  padding: 36px;
  text-align: center;
}
.entry-footer-cta h2 {
  font-family: var(--font-head);
  font-size: 26px;
  margin-bottom: 12px;
}
.entry-footer-cta p {
  font-size: 16px;
  color: var(--c-muted);
  margin-bottom: 24px;
}
.cta-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Author div ──────────────────────────────────────────── */
.author-section {
  margin: 40px 0;
  padding: 36px;
}
.author-section h2 {
  font-family: var(--font-head);
  font-size: 24px;
  margin-bottom: 20px;
}
.author-block { display: flex; gap: 24px; align-items: flex-start; }
.author-details { flex: 1; }
.author-name {
  font-family: var(--font-head);
  font-size: 22px;
  color: var(--c-ink);
  margin-bottom: 4px;
}
.author-credentials {
  font-size: 14px;
  font-weight: 700;
  color: var(--c-accent2);
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}
.author-bio {
  font-size: 16px;
  color: var(--c-muted);
  line-height: 1.7;
}

/* ── Hero image ──────────────────────────────────────────────── */
.entry-hero-img { margin-bottom: 20px; }
.hero-img { width: 100%; max-height: 360px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--neu-shadow-out); }

/* ── Footer ──────────────────────────────────────────────────── */
.site-footer {
  background: linear-gradient(160deg, var(--c-ink) 0%, #1e2d3d 100%);
  color: rgba(200,224,244,0.85);
  padding: 60px 0 0;
  margin-top: 60px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px 48px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-wordmark {
  font-family: var(--font-head);
  font-size: 32px;
  color: var(--c-primary);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 10px;
}
.footer-tagline {
  font-size: 14px;
  color: rgba(200,224,244,0.6);
  line-height: 1.55;
}
.footer-col h4 {
  font-family: var(--font-head);
  font-size: 16px;
  color: var(--c-primary);
  margin-bottom: 14px;
  letter-spacing: 0.04em;
}
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a {
  font-size: 14px;
  color: rgba(200,224,244,0.7);
  text-decoration: none;
  min-height: 44px;
  display: flex;
  align-items: center;
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--c-secondary); }
.footer-contact address {
  font-style: normal;
  font-size: 14px;
  color: rgba(200,224,244,0.7);
  margin-bottom: 12px;
  line-height: 1.6;
}
.footer-contact address strong { color: var(--c-primary); }
.footer-bottom {
  border-top: 1px solid rgba(200,224,244,0.12);
  padding: 24px 32px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.rg-notice {
  font-size: 13px;
  font-weight: 700;
  color: var(--c-secondary);
  letter-spacing: 0.03em;
}
.copyright {
  font-size: 12px;
  color: rgba(200,224,244,0.45);
  line-height: 1.5;
}

/* ── Scroll reveal utility ───────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 500ms ease, transform 500ms ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ── Desktop: show inline nav, two-col header ────────────────── */
@media (min-width: 769px) {
  .site-header {
    height: calc(var(--header-h) + 40px);
  }
  .inline-nav { display: flex; }
  .page-wrapper {
    padding-top: calc(var(--strip-h) + var(--header-h) + 40px + 40px);
  }
}

/* ── Tablet ──────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .hero-inner { gap: 28px; }
  .volcano-chip { width: 120px; height: 120px; }
  .chip-label { font-size: 17px; }
}

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

  .site-header { height: var(--header-h); }
  .inline-nav { display: none !important; }

  .header-inner { gap: 8px; padding: 0 12px; }

  /* Brand logo: keep it compact but always ≥44px tall for tap target */
  .brand-logo {
    font-size: 15px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

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

  .page-wrapper {
    flex-direction: column;
    padding: calc(var(--strip-h) + var(--header-h) + 24px) 16px 48px;
    gap: 0;
  }

  .sidebar { display: none; }

  .hero-section { min-height: auto; padding: 32px 0; }
  .hero-inner { flex-direction: column; gap: 24px; }
  .hero-copy h1 { font-size: 30px; }
  .hero-desc { font-size: 16px; }
  .hero-illustration { display: none; }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 0 20px 40px;
  }
  .footer-brand { grid-column: auto; }
  .footer-wordmark { font-size: 24px; }

  .footer-bottom { padding: 20px; }

  .cards-grid { grid-template-columns: 1fr; }
  .small-grid { grid-template-columns: 1fr; }

  .entry-footer-cta { padding: 24px 16px; }
  .cta-row { flex-direction: column; align-items: stretch; }
  .cta-row .neu-btn { justify-content: center; }

  .author-block { flex-direction: column; }

  .body-content h2 { font-size: 22px; }
  .body-content h3 { font-size: 18px; }

  .table-wrap { border-radius: 0; }
}

/* ── Very small mobile ───────────────────────────────────────── */
@media (max-width: 400px) {
  .brand-logo { font-size: 13px; min-height: 44px; }
  .cta { font-size: 11px; padding: 0 8px; }
}

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