/* =====================================================================
   permainanin.com — Mint Scorecard design system
   Factory selection: LAYOUT 034 Editorial Longform Hub, HOMEPAGE 118,
   MENU 063, COLOR 002 Mint Scorecard, TYPOGRAPHY 011 Manrope,
   CTA 019. Visual contract: split-screen hero, utility-dashboard
   rhythm, sharp-editorial geometry, background-media image language,
   compact-left navigation, layered-photo-notes as the recurring
   signature device, soft-editorial panels, premium-editorial type,
   filterable-topic-desk interaction.
   ===================================================================== */

:root {
  /* Mint Scorecard palette */
  --bg: #F2FAF6;
  --bg-2: #E8F5ED;
  --surface: #FFFFFF;
  --surface-2: #FFFFFF;
  --primary: #087A5B;        /* emerald */
  --primary-strong: #05553E;
  --primary-soft: #D4EBE0;
  --primary-ink: #04382A;
  --accent: #B05C0F;          /* warm orange (AA on white) */
  --accent-strong: #9C520F;   /* deeper warm orange (AA on light + soft) */
  --accent-soft: #FBE5CF;
  --ink: #0F2A21;
  --ink-strong: #08221A;
  --muted: #4B5C56;
  --muted-2: #8C9994;
  --border: #C9DDD3;
  --border-soft: #E2EEE8;
  --positive: #087A5B;
  --warning: #9C520F;
  --danger: #9B2C2C;
  --shadow-card: 0 1px 2px rgba(8, 34, 26, 0.05), 0 10px 28px rgba(8, 34, 26, 0.05);
  --shadow-strong: 0 6px 18px rgba(8, 34, 26, 0.08), 0 24px 56px rgba(8, 34, 26, 0.10);
  --radius-card: 14px;
  --radius-pill: 999px;
  --radius-lg: 22px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-7: 32px;
  --space-8: 40px;
  --space-9: 56px;
  --space-10: 72px;
  --maxw: 1240px;
  --header-height: 72px;
  --z-header: 220;
  --z-drawer: 200;
  --z-sticky-cta: 240;
  --font-display: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Lora", Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  font-size: 18px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-strong); text-decoration: underline; text-underline-offset: 3px; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--ink-strong);
  line-height: 1.18;
  letter-spacing: -0.012em;
  margin: 0 0 var(--space-4);
  word-wrap: break-word;
  overflow-wrap: normal;
}
h1 { font-size: clamp(34px, 4.6vw, 54px); font-weight: 700; }
h2 { font-size: clamp(26px, 3.2vw, 38px); font-weight: 700; }
h3 { font-size: clamp(19px, 2.2vw, 24px); font-weight: 600; }
h4 { font-size: 18px; font-weight: 600; }
p { margin: 0 0 var(--space-4); min-width: 0; }
ul, ol { padding-left: 22px; margin: 0 0 var(--space-4); }
li { margin-bottom: 6px; }

/* Utility classes */
.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;
}
.kicker {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--accent-strong);
  margin-bottom: 12px;
}
.kicker-emerald { color: var(--primary-strong); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 15.5px;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--accent);
  color: #FFFFFF;
  border-color: var(--accent-strong);
  box-shadow: 0 2px 0 var(--accent-strong);
}
.btn-primary:hover { background: var(--accent-strong); color: #FFFFFF; }
.btn-secondary {
  background: var(--primary);
  color: #FFFFFF;
  border-color: var(--primary-strong);
}
.btn-secondary:hover { background: var(--primary-strong); color: #FFFFFF; }
.btn-ghost {
  background: transparent;
  color: var(--ink-strong);
  border-color: var(--border);
}
.btn-ghost:hover { background: var(--bg-2); }
.btn-outline-light {
  background: transparent;
  color: #FFFFFF;
  border-color: rgba(255,255,255,0.42);
}
.btn-outline-light:hover { background: rgba(255,255,255,0.10); color: #FFFFFF; }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-lg { padding: 16px 26px; font-size: 17px; }
.btn-full { width: 100%; }

/* Container */
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Header / Nav (compact-left) ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: rgba(242, 250, 246, 0.94);
  -webkit-backdrop-filter: saturate(180%) blur(8px);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--border-soft);
}
.site-header .container {
  display: flex;
  align-items: center;
  gap: 18px;
  height: var(--header-height);
}
.brand-mark {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink-strong);
  min-width: 0;
}
.brand-mark:hover { text-decoration: none; }
.brand-glyph {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--primary);
  color: #FFFFFF;
  display: grid; place-items: center;
  font-weight: 700;
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}
.brand-name {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  color: var(--ink-strong);
  line-height: 1;
}
.brand-tag {
  display: block;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 4px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.main-nav a {
  display: inline-flex; align-items: center;
  padding: 9px 13px;
  border-radius: var(--radius-pill);
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 600;
}
.main-nav a:hover { background: var(--bg-2); text-decoration: none; color: var(--ink-strong); }
.main-nav a.cta {
  background: var(--accent);
  color: #FFFFFF;
  margin-left: 8px;
  font-weight: 700;
  border: 1px solid var(--accent-strong);
}
.main-nav a.cta:hover { background: var(--accent-strong); color: #FFFFFF; }

.hamburger {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 10px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-left: auto;
  position: relative;
  z-index: 320;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink-strong);
  border-radius: 2px;
  position: relative;
  transition: transform 200ms ease, opacity 200ms ease, top 200ms ease;
}
.hamburger span::before,
.hamburger span::after {
  content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: var(--ink-strong); border-radius: 2px;
}
.hamburger span::before { top: -7px; }
.hamburger span::after { top: 7px; }

/* Mobile drawer */
.mobile-drawer {
  position: fixed;
  top: 0; right: 0;
  left: auto;
  width: min(86vw, 360px);
  height: 100dvh;
  background: var(--bg);
  z-index: var(--z-drawer);
  display: none;
  flex-direction: column;
  padding: 88px 24px 130px;
  overflow-y: auto;
  transform: translateX(105%);
  visibility: hidden;
  pointer-events: none;
}
.mobile-drawer.open {
  display: flex;
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}
.mobile-drawer a {
  display: block;
  padding: 14px 0;
  color: var(--ink-strong);
  font-size: 17px;
  font-weight: 600;
  border-bottom: 1px solid var(--border-soft);
}
.mobile-drawer a:hover { text-decoration: none; color: var(--primary); }
.mobile-drawer .drawer-cta { margin-top: 24px; }

/* ===== HERO: split-screen rules-led cover ===== */
.hero {
  position: relative;
  padding: 56px 0 36px;
  background: var(--bg);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 90% -10%, rgba(226, 130, 34, 0.10), transparent 50%),
    radial-gradient(circle at 10% 110%, rgba(8, 122, 91, 0.10), transparent 55%);
}
.hero .container {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  aspect-ratio: 5 / 4;
  box-shadow: var(--shadow-card);
}
.hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-frame .note {
  position: absolute;
  background: rgba(255,255,255,0.95);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 14px;
  box-shadow: var(--shadow-card);
  font-size: 13.5px;
  color: var(--ink-strong);
  max-width: 220px;
}
.hero-frame .note b {
  display: block;
  color: var(--accent-strong);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.hero-frame .note-1 { left: 22px; top: 22px; }
.hero-frame .note-2 { right: 22px; bottom: 22px; }

.hero-eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--primary-strong);
  display: inline-block;
  margin-bottom: 18px;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 4px;
}
.hero h1 { font-family: var(--font-display); margin-bottom: 16px; }
.hero h1 em { font-family: var(--font-serif); font-style: italic; color: var(--primary-strong); font-weight: 600; }
.hero-standfirst {
  font-size: 19px;
  color: var(--muted);
  margin-bottom: 26px;
  max-width: 58ch;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  padding-top: 22px;
  border-top: 1px dashed var(--border);
  font-size: 14px;
  color: var(--muted);
}
.hero-trust b { color: var(--ink-strong); font-size: 20px; font-family: var(--font-display); }

/* ===== Pillars utility rail (centered, 6 columns) ===== */
.pillars-rail {
  background: var(--bg);
  border-block: 1px solid var(--border-soft);
  padding: 28px 0;
}
.pillars-head {
  text-align: center;
  margin-bottom: 18px;
}
.pillars-head h2 {
  font-size: clamp(20px, 2.4vw, 26px);
  margin: 0 0 8px;
  color: var(--ink-strong);
}
.pillars-head p { color: var(--muted); margin: 0; font-size: 14.5px; }
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.pillar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px 14px;
  text-align: center;
  text-decoration: none;
  color: var(--ink-strong);
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}
.pillar:hover { transform: translateY(-2px); border-color: var(--primary); box-shadow: var(--shadow-card); text-decoration: none; }
.pillar .p-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 28px;
  color: var(--primary);
  line-height: 1;
}
.pillar .p-label { font-weight: 700; font-size: 15px; }
.pillar .p-sub { font-size: 12px; color: var(--muted); }

/* ===== Section primitives ===== */
.section {
  padding: 64px 0;
  position: relative;
}
.section + .section { border-top: 1px solid var(--border-soft); }
.section-head {
  max-width: 760px;
  margin-bottom: 32px;
}
.section-head .num {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--accent-strong);
  background: var(--accent-soft);
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
}
.section-head h2 { margin-bottom: 12px; }
.section-head p { color: var(--muted); font-size: 17.5px; margin: 0; }

.band-mint { background: var(--bg-2); }
.band-paper { background: #F6FBF7; }

/* ===== Chapter signature: layered-photo-notes ===== */
.chapter {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
}
.chapter-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.chapter-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.chapter-photo .photo-note {
  position: absolute;
  background: rgba(255,255,255,0.96);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 16px;
  box-shadow: var(--shadow-card);
  font-size: 13.5px;
  color: var(--ink-strong);
  max-width: 280px;
}
.chapter-photo .photo-note b {
  display: block;
  font-family: var(--font-display);
  color: var(--primary-strong);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.photo-note.n1 { left: 24px; top: 24px; }
.photo-note.n2 { right: 24px; top: 26%; }
.photo-note.n3 { left: 36%; bottom: 24px; }
.photo-note.n4 { right: 24px; bottom: 24px; }

.chapter-body {
  padding: 36px 36px 32px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 36px;
  align-items: start;
}
.chapter-body .chapter-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--accent-strong);
  display: inline-block;
  margin-bottom: 10px;
}
.chapter-body h2 { margin-bottom: 10px; }
.chapter-body p { font-size: 17px; }
.chapter-side {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
}
.chapter-side h3, .chapter-side h4 { font-size: 14px; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 12px; font-weight: 600; }
.chapter-side ul { list-style: none; padding: 0; margin: 0; }
.chapter-side li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border-soft);
  font-size: 14.5px;
}
.chapter-side li:last-child { border-bottom: 0; }
.chapter-side .meld-tag {
  display: inline-block;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-weight: 700;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  font-size: 11.5px;
  margin-right: 6px;
  letter-spacing: 0.04em;
}
.chapter-side .meld-tag.pure { background: var(--primary-soft); color: var(--primary-strong); }
.chapter-side .meld-tag.impure { background: var(--accent-soft); color: var(--accent-strong); }
.chapter-side .meld-tag.set { background: #FFE2D2; color: #8E4910; }

/* ===== Filterable topic desk ===== */
.desk {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  align-items: start;
}
.desk .filters {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  position: sticky;
  top: calc(var(--header-height) + 24px);
}
.desk .filters h3, .desk .filters h4 {
  font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-bottom: 12px;
}
.desk .filters label {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 8px; border-radius: 10px;
  font-size: 14.5px; cursor: pointer;
}
.desk .filters label:hover { background: var(--bg-2); }
.desk .filters input { accent-color: var(--primary); }
.desk .filters .count { margin-left: auto; color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }

.desk .cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.desk .card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.desk .card:hover { border-color: var(--primary); box-shadow: var(--shadow-card); text-decoration: none; }
.desk .card .tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary-strong);
  background: var(--primary-soft);
  padding: 4px 9px;
  border-radius: var(--radius-pill);
}
.desk .card .tag.amber { background: var(--accent-soft); color: var(--accent-strong); }
.desk .card .tag.live { background: #D8F1E1; color: #115C42; }
.desk .card h3 { font-size: 17px; margin: 0; line-height: 1.3; }
.desk .card p { font-size: 14.5px; color: var(--muted); margin: 0; }
.desk .card .meta-row {
  display: flex; gap: 12px; margin-top: auto;
  font-size: 12.5px; color: var(--muted);
  border-top: 1px dashed var(--border);
  padding-top: 10px;
}

/* ===== Platform review portfolio ===== */
.review-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.review-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.review-photo {
  position: relative;
  height: 200px;
  overflow: hidden;
}
.review-photo img { width: 100%; height: 100%; object-fit: cover; }
.review-photo .verdict {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--primary);
  color: #FFFFFF;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.04em;
}
.review-body { padding: 24px; }
.review-body h3 { margin: 0 0 8px; font-size: 19px; }
.review-body .stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 14px 0 16px;
  padding: 14px;
  background: var(--bg-2);
  border-radius: 12px;
}
.review-body .stats div { text-align: center; }
.review-body .stats b {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--primary-strong);
}
.review-body .stats span { font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.review-body .evidence {
  font-size: 14px; color: var(--muted);
  border-left: 3px solid var(--accent);
  padding-left: 14px;
  margin: 14px 0;
}
.review-body p { font-size: 15px; }

/* ===== Verification ledger ===== */
.ledger {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.ledger-row {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  align-items: start;
  padding: 22px 26px;
  border-bottom: 1px solid var(--border-soft);
  border-right: 1px solid var(--border-soft);
}
.ledger-row:nth-child(2n) { border-right: 0; }
.ledger-row:nth-last-child(-n+2) { border-bottom: 0; }
.ledger-row .led-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 28px;
  color: var(--accent-strong);
  line-height: 1;
}
.ledger-row h3, .ledger-row h4 { margin: 0 0 6px; font-size: 16.5px; }
.ledger-row p { margin: 0; font-size: 14.5px; color: var(--muted); }

/* ===== Quiet helpline ===== */
.helpline {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 36px;
  align-items: center;
  min-width: 0;
}
.helpline > * { min-width: 0; }
.helpline .num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(64px, 12vw, 110px);
  color: var(--primary-soft);
  line-height: 1;
}
.helpline h2 { margin-bottom: 8px; }
.helpline .resources {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}
.helpline .resources .r {
  background: var(--bg-2);
  border-radius: 12px;
  padding: 14px 16px;
  min-width: 0;
  overflow-wrap: anywhere;
}
|.helpline .resources .r b { display: block; font-family: var(--font-display); color: var(--primary-strong); font-size: 17px; margin-bottom: 2px; }
.helpline .resources .r span { color: var(--muted); font-size: 13.5px; }

/* Responsible-play helpline grid (scoped override for inline styles) */
.rp-resources {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}
.rp-resources .r {
  background: var(--bg-2);
  border-radius: 12px;
  padding: 14px 16px;
  min-width: 0;
  overflow-wrap: anywhere;
}
.rp-resources .r b { display: block; font-family: var(--font-display); color: var(--primary-strong); font-size: 17px; margin-bottom: 2px; }
.rp-resources .r span { color: var(--muted); font-size: 13.5px; }

/* ===== Dated briefing block ===== */
.briefs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.brief {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: 14px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.brief .date {
  font-family: var(--font-display);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--accent-strong);
  font-weight: 700;
}
.brief h3 { margin: 0; font-size: 17px; line-height: 1.3; }
.brief p { margin: 0; font-size: 14.5px; color: var(--muted); }
.brief .source {
  margin-top: auto; font-size: 12.5px; color: var(--muted);
  border-top: 1px dashed var(--border);
  padding-top: 10px;
}

/* ===== FAQ desk ===== */
.faq-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
}
.faq-item h3, .faq-item h4 {
  margin: 0 0 8px;
  font-size: 16.5px;
  color: var(--ink-strong);
}
.faq-item p {
  margin: 0 0 8px;
  font-size: 14.5px;
  color: var(--ink);
}
.faq-item .cite {
  font-size: 12.5px;
  color: var(--muted);
  font-style: italic;
}

/* ===== Sourcing colophon ===== */
.colophon {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.colophon .col h3, .colophon .col h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 8px;
}
.colophon .col p { font-size: 14px; color: var(--ink); margin: 0; line-height: 1.55; }
.colophon .col b { font-family: var(--font-display); color: var(--primary-strong); font-size: 22px; }

/* ===== Final CTA strip ===== */
.final-cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-strong) 100%);
  border-radius: var(--radius-lg);
  padding: 44px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 28px;
  align-items: center;
  color: #FFFFFF;
}
.final-cta h2 { color: #FFFFFF; margin-bottom: 8px; }
.final-cta p { color: rgba(255,255,255,0.88); font-size: 17px; margin: 0; }
.final-cta .actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
.final-cta .btn-primary { background: var(--accent); color: #FFFFFF; border-color: var(--accent-strong); }
.final-cta .btn-primary:hover { background: #9C520F; color: #FFFFFF; }
.final-cta .btn-ghost { background: transparent; color: #FFFFFF; border-color: rgba(255,255,255,0.42); }
.final-cta .btn-ghost:hover { background: rgba(255,255,255,0.10); color: #FFFFFF; }

/* ===== Footer ===== */
.site-footer {
  background: var(--primary-ink);
  color: rgba(255,255,255,0.86);
  padding: 56px 0 24px;
  margin-top: 80px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 36px;
}
.site-footer h2, .site-footer h4 { color: #FFFFFF; font-size: 14px; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 14px; font-weight: 700; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: 8px; font-size: 14px; }
.site-footer a { color: rgba(255,255,255,0.92); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,0.42); }
.site-footer a:hover { color: #FFFFFF; text-decoration: underline; text-underline-offset: 3px; }
.site-footer p { color: rgba(255,255,255,0.7); font-size: 14px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.16);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: rgba(255,255,255,0.62);
}
.social-row { display: flex; gap: 10px; margin-top: 14px; }
.social-row a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.16); display: grid; place-items: center;
  color: #FFFFFF; font-weight: 700; text-decoration: none;
  border: 1px solid rgba(255,255,255,0.28);
}
.social-row a:hover { background: #FFFFFF; color: var(--primary-ink); text-decoration: none; }

/* ===== Sticky mobile bottom CTA ===== */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: var(--z-sticky-cta);
  background: rgba(242, 250, 246, 0.97);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--border);
  padding: 12px 16px;
  padding-bottom: max(12px, env(safe-area-inset-bottom));
}
.mobile-cta .btn { width: 100%; }

/* ===== Article pages ===== */
.page-hero {
  background: var(--bg-2);
  border-bottom: 1px solid var(--border-soft);
  padding: 56px 0 36px;
}
.page-hero .kicker {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--accent-strong);
  display: inline-block;
  margin-bottom: 12px;
}
.page-hero h1 { margin-bottom: 16px; max-width: 22ch; }
.page-hero .lede { font-size: 19px; color: var(--muted); max-width: 64ch; margin: 0 0 18px; }
.page-hero .meta { display: flex; gap: 16px; flex-wrap: wrap; font-size: 13.5px; color: var(--muted); padding-top: 14px; border-top: 1px dashed var(--border); }
.page-hero .meta b { color: var(--ink-strong); }

.prose {
  max-width: 760px;
  margin: 0 auto;
}
.prose h2 { margin-top: 36px; }
.prose h3 { margin-top: 28px; }
.prose p { font-size: 18px; line-height: 1.75; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose figure { margin: 28px 0; }
.prose figure img { width: 100%; border-radius: 12px; border: 1px solid var(--border); }
.prose figcaption { font-size: 13.5px; color: var(--muted); margin-top: 8px; font-style: italic; }
.prose blockquote {
  border-left: 4px solid var(--accent);
  padding: 4px 0 4px 18px;
  margin: 22px 0;
  font-style: italic;
  color: var(--ink-strong);
}
.prose ul li, .prose ol li { font-size: 17.5px; }
.prose .toc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 24px;
  margin: 22px 0 32px;
}
.prose .toc h4 { margin-bottom: 8px; font-size: 13.5px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.prose .toc ol { padding-left: 22px; margin: 0; }
.prose .toc a { font-size: 15px; }
section[id] { scroll-margin-top: 88px; }

/* Money page layout (FAQ + sidebar) */
.with-side {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 36px;
  align-items: start;
}
.side-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
  position: sticky; top: calc(var(--header-height) + 24px);
}
.side-card h4 { font-size: 13.5px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-bottom: 12px; }
.side-card ul { list-style: none; padding: 0; margin: 0; }
.side-card li { padding: 8px 0; border-bottom: 1px solid var(--border-soft); font-size: 14.5px; }
.side-card li:last-child { border-bottom: 0; }
.side-card a { font-weight: 600; }

/* Comparison / rules table */
.compare {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}
.compare table { width: 100%; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--border-soft); }
.compare thead th { background: var(--bg-2); color: var(--ink-strong); font-weight: 700; }
.compare tr:last-child td { border-bottom: 0; }
.compare .check { color: var(--positive); font-weight: 700; }

/* Pill / chip */
.chip {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--primary-soft);
  color: var(--primary-strong);
  font-size: 12.5px;
  font-weight: 700;
  margin-right: 6px;
}
.chip-amber { background: var(--accent-soft); color: var(--accent-strong); }

/* Hub nav (inline linked list inside article) */
.hub-nav {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
  margin: 28px 0;
}
.hub-nav h3 { margin: 0 0 12px; font-size: 16px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.hub-nav ol { list-style: none; padding: 0; margin: 0; counter-reset: hub; column-count: 2; column-gap: 20px; }
.hub-nav li { counter-increment: hub; padding: 8px 0; border-bottom: 1px dashed var(--border-soft); break-inside: avoid; font-size: 14.5px; }
.hub-nav li::before { content: counter(hub, decimal-leading-zero) " · "; color: var(--accent-strong); font-weight: 700; }

/* ===== Responsive ===== */
@media (max-width: 1080px) {
  .hero .container { grid-template-columns: 1fr; gap: 32px; }
  .desk { grid-template-columns: 1fr; }
  .desk .filters { position: static; }
  .desk .cards { grid-template-columns: repeat(2, 1fr); }
  .review-grid { grid-template-columns: 1fr; }
  .faq-list { grid-template-columns: 1fr; }
  .colophon { grid-template-columns: repeat(2, 1fr); gap: 18px; padding: 28px; }
  .chapter-body { grid-template-columns: 1fr; gap: 24px; padding: 28px; }
  .briefs { grid-template-columns: 1fr; }
  .with-side { grid-template-columns: 1fr; }
  .side-card { position: static; }
  .ledger { grid-template-columns: 1fr; }
  .ledger-row { border-right: 0; }
  .ledger-row:nth-last-child(2) { border-bottom: 1px solid var(--border-soft); }
  .pillars-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .final-cta { grid-template-columns: 1fr; padding: 32px; }
  .final-cta .actions { justify-content: flex-start; }
  .helpline { grid-template-columns: 1fr; padding: 28px; }
  .helpline .num { font-size: 80px; }
}

@media (max-width: 900px) {
  .pillars-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-frame { aspect-ratio: 4/3; }
}

@media (max-width: 720px) {
  .main-nav { display: none; }
  .hamburger { display: flex; }
  body { font-size: 17px; }
  .container { padding: 0 16px; }
  .hero { padding: 28px 0 22px; }
  .section { padding: 44px 0; }
  .page-hero { padding: 28px 0 22px; }
  .pillars-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .pillar { padding: 14px 10px; }
  .pillar .p-num { font-size: 22px; }
  .pillar .p-label { font-size: 14px; }
  .desk .cards { grid-template-columns: 1fr; }
  .colophon { grid-template-columns: 1fr; gap: 16px; padding: 22px; }
  .chapter-body { padding: 22px; gap: 18px; }
  .final-cta { padding: 24px; border-radius: 18px; }
  .helpline { grid-template-columns: minmax(0, 1fr); padding: 20px 18px; gap: 14px; }
  .helpline .num { text-align: center; font-size: 56px; }
  .helpline .resources { grid-template-columns: minmax(0, 1fr); }
  .helpline .resources .r { padding: 12px 14px; }
  .rp-resources { grid-template-columns: minmax(0, 1fr); }
  .rp-resources .r { padding: 12px 14px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .mobile-cta { display: block; }
  body { padding-bottom: 92px; }
  .photo-note.n1, .photo-note.n2, .photo-note.n3, .photo-note.n4 { display: none; }
}

@media (max-width: 480px) {
  .pillars-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .trust-strip { grid-template-columns: 1fr; }
  .hero-frame { aspect-ratio: 1/1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation-duration: 0.001ms !important; }
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}
