/* ==========================================================================
   Gold IRA Money – global styles
   ========================================================================== */

:root {
  --vault: #10282a;
  --vault-deep: #0b1c1d;
  --vault-2: #173a3c;
  --vault-3: #1e4a4c;
  --line: rgba(247, 240, 221, 0.14);
  --line-strong: rgba(247, 240, 221, 0.28);
  --gold: #e6b84a;
  --gold-light: #f7d77a;
  --gold-deep: #b8862a;
  --ivory: #f7f0dd;
  --mist: #b4c7c1;
  --ink: #1a1405;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --container: 72rem;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --radius-lg: 1.5rem;
  --radius-pill: 999px;
  --header-h: 4.5rem;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--vault-deep);
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--ivory); outline-offset: 3px; border-radius: 0.25rem; }

.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: absolute; left: 1rem; top: -4rem;
  padding: 0.6rem 1rem; background: var(--gold); color: var(--ink);
  border-radius: 0.5rem; font-weight: 600; z-index: 100;
}
.skip-link:focus { top: 1rem; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font: 600 1.05rem/1 var(--font-body);
  padding: 1.05rem 1.6rem;
  border-radius: var(--radius-pill);
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn-sm { font-size: 0.95rem; padding: 0.75rem 1.2rem; }
.btn-gold {
  background: var(--gold); color: var(--ink);
  box-shadow: 0 0.6rem 1.6rem rgba(230, 184, 74, 0.28);
}
.btn-gold:hover { background: #f2c85e; transform: translateY(-2px); }
.btn-ghost { color: var(--ivory); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 28, 29, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  position: relative;
  min-height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.brand {
  display: inline-flex; align-items: center; gap: 0.7rem;
  text-decoration: none; font-family: var(--font-display); font-weight: 700;
  font-size: 1.3rem; letter-spacing: -0.01em; white-space: nowrap;
}
.brand em { font-style: normal; color: var(--gold); }
.brand-mark {
  width: 1.75rem; height: 1.75rem; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff3c4 0%, var(--gold) 38%, var(--gold-deep) 100%);
  box-shadow: inset 0 0 0 2px rgba(255, 246, 205, 0.55), 0 0 0 1px rgba(0, 0, 0, 0.3), 0 0.25rem 0.75rem rgba(230, 184, 74, 0.35);
  position: relative;
}
.brand-mark::after {
  content: ""; position: absolute; inset: 0.45rem; border-radius: 50%;
  border: 1.5px solid rgba(90, 58, 6, 0.55);
}
.site-nav { display: flex; gap: 1.4rem; }
.site-nav a {
  text-decoration: none; color: var(--mist); font-weight: 500; font-size: 0.92rem; white-space: nowrap;
  padding: 0.35rem 0; border-bottom: 1.5px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.site-nav a:hover { color: var(--ivory); border-color: var(--gold); }
.header-actions { display: flex; align-items: center; gap: 0.75rem; }

.nav-toggle {
  display: none; position: relative; width: 2.75rem; height: 2.75rem; padding: 0;
  background: transparent; border: 1.5px solid var(--line-strong); border-radius: 0.75rem;
  cursor: pointer;
}
.nav-toggle span {
  position: absolute; left: 50%; top: 50%; width: 1.15rem; height: 2px; margin: -1px 0 0 -0.575rem;
  background: var(--ivory); border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle span:nth-child(1) { transform: translateY(-0.4rem); }
.nav-toggle span:nth-child(3) { transform: translateY(0.4rem); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: rotate(-45deg); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(60rem 30rem at 85% -10%, rgba(230, 184, 74, 0.18), transparent 60%),
    radial-gradient(40rem 28rem at -10% 110%, rgba(23, 58, 60, 0.9), transparent 65%),
    var(--vault);
  padding: clamp(3rem, 7vw, 6rem) 0 clamp(2.5rem, 5vw, 4rem);
}
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(247, 240, 221, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247, 240, 221, 0.035) 1px, transparent 1px);
  background-size: 4rem 4rem;
  -webkit-mask-image: radial-gradient(70rem 40rem at 50% 20%, #000 20%, transparent 75%);
  mask-image: radial-gradient(70rem 40rem at 50% 20%, #000 20%, transparent 75%);
}
.hero-ring {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(230, 184, 74, 0.22);
}
.hero-ring-1 { width: 48rem; height: 48rem; right: -14rem; top: -22rem; }
.hero-ring-2 { width: 34rem; height: 34rem; right: -7rem; top: -15rem; border-color: rgba(230, 184, 74, 0.12); }

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  margin: 0 0 1.25rem;
  padding: 0.45rem 0.9rem 0.45rem 0.6rem;
  border: 1px solid var(--line); border-radius: var(--radius-pill);
  background: rgba(247, 240, 221, 0.04);
  font-size: 0.82rem; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; color: var(--mist);
}
.eyebrow-dot {
  width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--gold);
  box-shadow: 0 0 0 0.3rem rgba(230, 184, 74, 0.18);
}

.hero-title {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(3.25rem, 8.5vw, 6.5rem);
  line-height: 0.92;
  letter-spacing: -0.025em;
  color: var(--ivory);
}
.hero-title-accent {
  display: block;
  font-style: italic; font-weight: 700;
  color: var(--gold);
  background: linear-gradient(100deg, var(--gold-deep) 0%, var(--gold) 30%, #fff3c4 48%, var(--gold) 66%, var(--gold-deep) 100%);
  background-size: 250% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: sheen 2.4s 0.3s ease-out forwards;
  /* keep the italic overhang and the "y" descender from being clipped by background-clip */
  padding: 0 0.08em 0.14em 0;
  margin-bottom: -0.14em;
}
@keyframes sheen { to { background-position: 0% 0; } }

.hero-lede {
  margin: 0 0 2rem; max-width: 34rem;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem); line-height: 1.55;
}

.hero-points { list-style: none; margin: 0 0 2.25rem; padding: 0; max-width: 36rem; }
.hero-points li {
  display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start;
  padding: 1rem 0; border-top: 1px solid var(--line);
}
.hero-points li:last-child { border-bottom: 1px solid var(--line); }
.point-num {
  font-family: var(--font-display); font-weight: 700; font-size: 0.95rem;
  color: var(--gold); padding-top: 0.2rem; min-width: 1.6rem;
}
.hero-points strong {
  display: block; font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; margin-bottom: 0.2rem;
}
.hero-points span { color: var(--mist); line-height: 1.5; font-size: 0.98rem; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem 1rem; align-items: center; }

/* ---- Projection panel ---- */
.calc {
  position: relative;
  background: linear-gradient(160deg, var(--vault-3) 0%, var(--vault-2) 60%);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 3vw, 2rem);
  box-shadow: 0 2rem 4rem rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(247, 240, 221, 0.08);
}
.calc::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none;
  background: linear-gradient(135deg, rgba(230, 184, 74, 0.45), transparent 35%, transparent 65%, rgba(230, 184, 74, 0.2));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  padding: 1px;
}
.calc-head { display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start; margin-bottom: 0.5rem; }
.calc-head h2 { margin: 0 0 0.25rem; font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; line-height: 1.15; }
.calc-head p { margin: 0 0 0.75rem; color: var(--mist); font-size: 0.95rem; line-height: 1.45; }
.calc-badge {
  flex: none; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--gold); border: 1px solid rgba(230, 184, 74, 0.45); border-radius: var(--radius-pill);
  padding: 0.3rem 0.65rem; margin-top: 0.2rem;
}

.calc-stage {
  position: relative; height: 14rem; margin-bottom: 1rem;
  display: flex; align-items: flex-end; justify-content: center;
  border-bottom: 1px solid var(--line);
}
.calc-stage-shadow {
  position: absolute; left: 50%; bottom: -0.35rem; width: 11rem; height: 1.2rem; margin-left: -5.5rem;
  border-radius: 50%; background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.5), transparent 70%);
}
.calc-stack { position: relative; width: 9rem; height: 100%; z-index: 1; }
.coin {
  position: absolute; left: 50%; width: 8rem; height: 1.6rem; margin-left: -4rem;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--gold-light) 0%, var(--gold) 45%, var(--gold-deep) 100%);
  box-shadow: inset 0 -3px 0 rgba(90, 58, 6, 0.45), inset 0 2px 0 rgba(255, 246, 205, 0.7), 0 2px 4px rgba(0, 0, 0, 0.35);
}
.coin.is-top::after {
  content: ""; position: absolute; inset: 0.3rem 0.9rem; border-radius: 50%;
  border: 1.5px solid rgba(90, 58, 6, 0.4);
}
.coin.coin-drop { animation: coin-drop 0.45s cubic-bezier(0.3, 1.4, 0.5, 1) both; }
@keyframes coin-drop {
  from { transform: translateY(-2.5rem) var(--shift, translateX(0)); opacity: 0; }
  to   { transform: translateY(0) var(--shift, translateX(0)); opacity: 1; }
}

.calc-result { margin: 0 0 1rem; }
.calc-result-label { display: block; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mist); margin-bottom: 0.2rem; }
.calc-result output {
  display: block; font-family: var(--font-display); font-weight: 900;
  font-size: clamp(2rem, 4.5vw, 2.75rem); color: var(--gold); line-height: 1.05;
  font-variant-numeric: tabular-nums;
}
.calc-result small { color: var(--mist); font-size: 0.9rem; }

.calc-split {
  height: 0.5rem; border-radius: var(--radius-pill); overflow: hidden;
  background: linear-gradient(90deg, var(--gold), var(--gold-deep));
}
.calc-split-contrib {
  display: block; height: 100%; background: var(--ivory); opacity: 0.85;
  transition: width 0.3s ease;
}
.calc-legend { display: flex; gap: 1.25rem; margin: 0.5rem 0 1.25rem; font-size: 0.8rem; color: var(--mist); }
.calc-legend i { display: inline-block; width: 0.6rem; height: 0.6rem; border-radius: 2px; margin-right: 0.4rem; vertical-align: -1px; }
.calc-legend .is-contrib { background: var(--ivory); opacity: 0.85; }
.calc-legend .is-growth { background: var(--gold); }

.calc-field { margin-bottom: 1rem; }
.calc-field:last-child { margin-bottom: 0; }
.calc-field label { display: flex; justify-content: space-between; font-size: 0.95rem; font-weight: 500; margin-bottom: 0.45rem; }
.calc-field label b { color: var(--gold); font-weight: 600; font-variant-numeric: tabular-nums; }

/* Range inputs: track fill driven by --pct from JS */
.calc input[type="range"] {
  --pct: 50%;
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 1.5rem; margin: 0; background: transparent; cursor: pointer;
}
.calc input[type="range"]::-webkit-slider-runnable-track {
  height: 0.35rem; border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--gold) var(--pct), rgba(247, 240, 221, 0.16) var(--pct));
}
.calc input[type="range"]::-moz-range-track {
  height: 0.35rem; border-radius: var(--radius-pill); background: rgba(247, 240, 221, 0.16);
}
.calc input[type="range"]::-moz-range-progress { height: 0.35rem; border-radius: var(--radius-pill); background: var(--gold); }
.calc input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 1.25rem; height: 1.25rem; margin-top: -0.45rem; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff3c4, var(--gold) 55%, var(--gold-deep));
  border: 2px solid var(--vault-2);
  box-shadow: 0 0 0 1px rgba(230, 184, 74, 0.6), 0 0.25rem 0.6rem rgba(0, 0, 0, 0.4);
}
.calc input[type="range"]::-moz-range-thumb {
  width: 1.25rem; height: 1.25rem; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff3c4, var(--gold) 55%, var(--gold-deep));
  border: 2px solid var(--vault-2);
  box-shadow: 0 0 0 1px rgba(230, 184, 74, 0.6), 0 0.25rem 0.6rem rgba(0, 0, 0, 0.4);
}

/* ---- Proof strip ---- */
.proof-strip {
  list-style: none; margin: clamp(2.5rem, 5vw, 4rem) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line); border-radius: 1.25rem; overflow: hidden;
  background: rgba(247, 240, 221, 0.03);
}
.proof-strip li { padding: 1.25rem 1.5rem; border-left: 1px solid var(--line); }
.proof-strip li:first-child { border-left: 0; }
.proof-strip strong {
  display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.35rem;
  color: var(--gold); line-height: 1.1; margin-bottom: 0.3rem;
}
.proof-strip li > span:last-child { color: var(--mist); font-size: 0.9rem; line-height: 1.4; }

.hero-fine { margin: 1.5rem 0 0; font-size: 0.82rem; line-height: 1.5; color: var(--mist); }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 64rem) {
  .proof-strip { grid-template-columns: repeat(2, 1fr); }
  .proof-strip li:nth-child(odd) { border-left: 0; }
  .proof-strip li:nth-child(n + 3) { border-top: 1px solid var(--line); }
}

@media (max-width: 64rem) {
  .site-nav {
    position: absolute; left: calc(-1 * var(--gutter)); right: calc(-1 * var(--gutter)); top: 100%;
    display: none; flex-direction: column; gap: 0;
    background: var(--vault-deep); border-bottom: 1px solid var(--line);
    padding: 0.5rem var(--gutter) 1rem;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 0.85rem 0; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: inline-flex; }
  .header-actions .btn { display: none; }

  .hero-inner { grid-template-columns: 1fr; }
  .hero-ring-1 { width: 30rem; height: 30rem; right: -12rem; top: -14rem; }
  .hero-ring-2 { display: none; }
}

@media (max-width: 36rem) {
  .btn { width: 100%; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .proof-strip { grid-template-columns: 1fr; }
  .proof-strip li { border-left: 0; border-top: 1px solid var(--line); }
  .proof-strip li:first-child { border-top: 0; }
  .calc-stage { height: 11rem; }
  .calc-head { flex-direction: column-reverse; gap: 0.6rem; }
  .calc-badge { align-self: flex-start; margin-top: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-title-accent { animation: none; background-position: 0% 0; }
  .coin.coin-drop { animation: none; }
  .btn, .calc-split-contrib { transition: none; }
}

/* ==========================================================================
   Article (light reading surface)
   ========================================================================== */
:root {
  --paper: #f7f0dd;
  --paper-2: #fffaf0;
  --ink-2: #203334;
  --ink-soft: #4a5e5f;
  --line-dark: rgba(16, 40, 42, 0.12);
}

.article {
  background:
    radial-gradient(50rem 24rem at 100% 0%, rgba(230, 184, 74, 0.16), transparent 60%),
    var(--paper);
  color: var(--ink-2);
  padding: clamp(3rem, 7vw, 6rem) 0 clamp(3rem, 6vw, 5rem);
}
.article-inner {
  display: grid;
  grid-template-columns: 16rem minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

/* ---- Table of contents ---- */
.toc {
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
  max-height: calc(100vh - var(--header-h) - 3rem);
  overflow: auto;
  padding-right: 0.5rem;
}
.toc summary {
  list-style: none; cursor: default;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold-deep); margin-bottom: 0.9rem;
}
.toc summary::-webkit-details-marker { display: none; }
.toc ul { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line-dark); }
.toc li.toc-label {
  margin: 1rem 0 0.25rem; padding-left: 1rem;
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft);
}
.toc a {
  display: block; padding: 0.45rem 0 0.45rem 1rem; margin-left: -2px;
  border-left: 2px solid transparent;
  text-decoration: none; color: var(--ink-soft); font-size: 0.92rem; line-height: 1.35;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.toc a:hover { color: var(--vault); }
.toc a.is-active { color: var(--vault); border-color: var(--gold); font-weight: 600; }

/* ---- Body ---- */
.article-body { max-width: 46rem; }
.article-section {
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid var(--line-dark);
  scroll-margin-top: calc(var(--header-h) + 1rem);
}
.article-section:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.article-section h3, .article-section h4 { scroll-margin-top: calc(var(--header-h) + 1rem); }

.section-label {
  display: inline-flex; align-items: center; gap: 0.5rem;
  margin: 0 0 1rem; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-deep);
}
.section-label::before { content: ""; width: 1.5rem; height: 2px; background: var(--gold); }

.article-section h2 {
  margin: 0 0 1.1rem;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.9rem, 4vw, 2.6rem); line-height: 1.1; letter-spacing: -0.015em;
  color: var(--vault);
}
.article-section h2::after {
  content: ""; display: block; width: 3.5rem; height: 3px; margin-top: 1rem;
  background: linear-gradient(90deg, var(--gold), var(--gold-deep));
}
.article-section h3 {
  margin: 2.5rem 0 0.75rem;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.35rem, 2.4vw, 1.7rem); line-height: 1.2; color: var(--vault);
}
.article-section p { margin: 0 0 1.1rem; font-size: 1.05rem; line-height: 1.7; color: var(--ink-2); }
.article-section p strong { color: var(--vault); }

/* Numbered steps */
.steps {
  list-style: none; counter-reset: step; margin: 1.25rem 0 1.75rem; padding: 0;
  display: grid; gap: 0.8rem;
}
.steps li {
  counter-increment: step;
  display: grid; grid-template-columns: 2.5rem 1fr; gap: 1rem; align-items: start;
  padding: 1.1rem 1.25rem;
  background: var(--paper-2); border: 1px solid var(--line-dark); border-radius: 1rem;
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  width: 2.5rem; height: 2.5rem; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1rem;
  color: var(--gold-deep); background: rgba(230, 184, 74, 0.2);
}
.steps strong {
  display: block; margin-bottom: 0.2rem;
  font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; line-height: 1.25; color: var(--vault);
}
.steps span { display: block; grid-column: 2; color: var(--ink-soft); line-height: 1.6; }
.steps li::before { grid-row: 1 / span 2; }

/* Headword definitions */
.headwords { list-style: none; margin: 1.25rem 0 1.75rem; padding: 0; border-top: 1px solid var(--line-dark); }
.headwords li {
  display: grid; grid-template-columns: minmax(9rem, 12rem) 1fr; gap: 1rem;
  padding: 0.95rem 0; border-bottom: 1px solid var(--line-dark);
}
.headwords strong {
  position: relative; padding-left: 1.15rem;
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; line-height: 1.35; color: var(--vault);
}
.headwords strong::before {
  content: ""; position: absolute; left: 0; top: 0.5em; width: 0.5rem; height: 0.5rem;
  background: var(--gold); transform: rotate(45deg);
}
.headwords span { color: var(--ink-soft); line-height: 1.6; }

/* Quick-answer block (H4 questions) */
.qa {
  margin: 2rem 0; padding: 1.5rem 1.75rem;
  background: var(--vault); color: var(--ivory);
  border-radius: 1.25rem; border-left: 4px solid var(--gold);
  box-shadow: 0 1rem 2.5rem rgba(16, 40, 42, 0.18);
}
.qa::before {
  content: "Quick answer"; display: block; margin-bottom: 0.5rem;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold);
}
.qa h4 {
  margin: 0 0 0.7rem;
  font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; line-height: 1.25; color: var(--gold-light);
}
.qa p { color: var(--ivory); font-size: 1rem; margin-bottom: 0.8rem; }
.qa p:last-child { margin-bottom: 0; }

/* ---- Footer ---- */
.site-footer {
  background: var(--vault-deep); color: var(--mist);
  border-top: 1px solid var(--line);
  padding: 2.5rem 0;
  font-size: 0.85rem; line-height: 1.6;
}
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; align-items: center; }
.footer-inner .brand { font-size: 1.1rem; }

/* ---- Article responsive ---- */
@media (max-width: 64rem) {
  .article-inner { grid-template-columns: 1fr; gap: 2rem; }
  .toc {
    position: static; max-height: none; overflow: visible; padding: 1rem 1.25rem;
    background: var(--paper-2); border: 1px solid var(--line-dark); border-radius: 1rem;
  }
  .toc summary { cursor: pointer; margin: 0; display: flex; justify-content: space-between; align-items: center; }
  .toc summary::after { content: "+"; font-size: 1.1rem; line-height: 1; color: var(--vault); }
  .toc[open] summary { margin-bottom: 0.9rem; }
  .toc[open] summary::after { content: "–"; }
}
@media (max-width: 36rem) {
  .headwords li { grid-template-columns: 1fr; gap: 0.3rem; }
  .steps li { grid-template-columns: 2.1rem 1fr; padding: 1rem; }
  .steps li::before { width: 2.1rem; height: 2.1rem; font-size: 0.9rem; }
  .qa { padding: 1.25rem 1.25rem; }
}

/* ==========================================================================
   Trust elements + reviews
   ========================================================================== */
.trust {
  position: relative;
  background:
    radial-gradient(50rem 26rem at 10% 0%, rgba(230, 184, 74, 0.12), transparent 60%),
    linear-gradient(180deg, var(--vault-deep) 0%, var(--vault-2) 100%);
  color: var(--ivory);
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(3.5rem, 7vw, 6rem);
  border-top: 1px solid var(--line);
}

/* ---- Trust grid ---- */
.trust-grid {
  list-style: none; margin: 0 0 clamp(3rem, 6vw, 5rem); padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
}
.trust-grid li {
  display: grid; gap: 0.6rem; align-content: start;
  padding: 1.5rem 1.4rem;
  background: rgba(247, 240, 221, 0.04);
  border: 1px solid var(--line); border-radius: 1.25rem;
  transition: border-color 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}
.trust-grid li:hover { border-color: rgba(230, 184, 74, 0.5); background: rgba(247, 240, 221, 0.06); transform: translateY(-2px); }
.trust-icon {
  width: 2.75rem; height: 2.75rem; border-radius: 0.9rem; margin-bottom: 0.4rem;
  display: grid; place-items: center; color: var(--gold);
  background: rgba(230, 184, 74, 0.14); border: 1px solid rgba(230, 184, 74, 0.35);
}
.trust-icon svg { width: 1.4rem; height: 1.4rem; }
.trust-grid strong { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; line-height: 1.25; }
.trust-grid span:last-child { color: var(--mist); font-size: 0.95rem; line-height: 1.55; }

/* ---- Reviews ---- */
.reviews {
  display: grid; grid-template-columns: minmax(0, 20rem) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 4rem); align-items: start;
}
.eyebrow-light { background: transparent; border-color: var(--line); }
.reviews-intro h2 {
  margin: 0 0 1rem;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.9rem, 3.6vw, 2.6rem); line-height: 1.08; letter-spacing: -0.015em;
}
.reviews-lede { margin: 0 0 1.5rem; color: var(--mist); line-height: 1.6; }

.rating-summary { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 0.75rem; }
.rating-score {
  font-family: var(--font-display); font-weight: 900; font-size: 2.75rem; line-height: 1; color: var(--gold);
  font-variant-numeric: tabular-nums;
}
.rating-note { display: block; color: var(--mist); font-size: 0.85rem; margin-top: 0.3rem; }
.reviews-sample-note {
  margin: 0 0 1.5rem; font-size: 0.78rem; line-height: 1.45; color: var(--mist);
  padding-left: 0.75rem; border-left: 2px solid var(--gold-deep);
}

/* Stars */
.stars { display: inline-flex; gap: 0.2rem; }
.stars i {
  width: 1rem; height: 1rem; display: inline-block; background: var(--gold);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}
.stars i.is-empty { background: rgba(247, 240, 221, 0.22); }
.stars i.is-half { background: linear-gradient(90deg, var(--gold) 50%, rgba(247, 240, 221, 0.22) 50%); }

.reviews-controls { display: flex; gap: 0.6rem; }
.reviews-btn {
  width: 2.75rem; height: 2.75rem; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center; color: var(--ivory);
  background: transparent; border: 1.5px solid var(--line-strong);
  transition: border-color 0.15s ease, color 0.15s ease, background-color 0.15s ease;
}
.reviews-btn svg { width: 1.2rem; height: 1.2rem; }
.reviews-btn:hover { border-color: var(--gold); color: var(--gold); }
.reviews-btn[disabled] { opacity: 0.35; cursor: default; }

/* Track */
.reviews-track {
  list-style: none; margin: 0; padding: 0.25rem 0.25rem 1rem;
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(18rem, 22rem); gap: 1rem;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: thin; scrollbar-color: rgba(230, 184, 74, 0.5) transparent;
  -webkit-overflow-scrolling: touch;
}
.reviews-track::-webkit-scrollbar { height: 6px; }
.reviews-track::-webkit-scrollbar-thumb { background: rgba(230, 184, 74, 0.45); border-radius: 999px; }
.reviews-track::-webkit-scrollbar-track { background: transparent; }

.review {
  scroll-snap-align: start;
  display: grid; grid-template-rows: auto 1fr auto; gap: 1rem;
  padding: 1.5rem;
  background: linear-gradient(160deg, var(--vault-3) 0%, var(--vault-2) 70%);
  border: 1px solid var(--line-strong); border-radius: 1.25rem;
  box-shadow: 0 1.25rem 2.5rem rgba(0, 0, 0, 0.28);
}
.review blockquote { margin: 0; position: relative; padding-top: 0.5rem; }
.review blockquote::before {
  content: "\201C"; position: absolute; left: -0.15rem; top: -1.1rem;
  font-family: var(--font-display); font-size: 3.5rem; line-height: 1; color: rgba(230, 184, 74, 0.35);
}
.review blockquote p { margin: 0; font-size: 1.02rem; line-height: 1.6; color: var(--ivory); }
.review footer {
  display: grid; grid-template-columns: auto 1fr auto; gap: 0.75rem; align-items: center;
  padding-top: 1rem; border-top: 1px solid var(--line);
}
.review-avatar {
  width: 2.5rem; height: 2.5rem; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 0.85rem; color: var(--ink);
  background: radial-gradient(circle at 35% 30%, #fff3c4, var(--gold) 55%, var(--gold-deep));
}
.review footer b { display: block; font-weight: 600; font-size: 0.95rem; }
.review footer small { display: block; color: var(--mist); font-size: 0.8rem; }
.review-tag {
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--mist); border: 1px solid var(--line); border-radius: var(--radius-pill); padding: 0.25rem 0.55rem;
}

/* ---- Trust responsive ---- */
@media (max-width: 64rem) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews { grid-template-columns: 1fr; }
  .reviews-track { grid-auto-columns: minmax(17rem, 20rem); }
}
@media (max-width: 36rem) {
  .trust-grid { grid-template-columns: 1fr; }
  .reviews-track { grid-auto-columns: 85%; }
}
@media (prefers-reduced-motion: reduce) {
  .reviews-track { scroll-behavior: auto; }
  .trust-grid li { transition: none; }
}

/* ==========================================================================
   Motion: reveal on scroll, parallax, progress, icons
   ========================================================================== */

/* Reading progress bar */
.scroll-progress {
  position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%;
  transform-origin: 0 50%; transform: scaleX(var(--progress, 0));
  background: linear-gradient(90deg, var(--gold-deep), var(--gold), #fff3c4);
  pointer-events: none;
}

/* Header tightens once the page scrolls */
.site-header { transition: background-color 0.25s ease, box-shadow 0.25s ease; }
.header-inner { transition: min-height 0.25s ease; }
.site-header.is-scrolled { background: rgba(11, 28, 29, 0.94); box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.25); }
.site-header.is-scrolled .header-inner { min-height: 3.75rem; }

/* Hero icon badges */
.point-icon {
  width: 2.5rem; height: 2.5rem; border-radius: 0.8rem; margin-top: 0.1rem;
  display: grid; place-items: center; color: var(--gold);
  background: rgba(230, 184, 74, 0.12); border: 1px solid rgba(230, 184, 74, 0.35);
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.point-icon svg { width: 1.3rem; height: 1.3rem; }
.hero-points li:hover .point-icon { background: rgba(230, 184, 74, 0.22); transform: translateY(-2px); }

.proof-strip li { display: grid; grid-template-columns: auto 1fr; column-gap: 0.9rem; align-items: start; }
.proof-icon {
  grid-row: 1 / span 2; width: 2.4rem; height: 2.4rem; border-radius: 50%;
  display: grid; place-items: center; color: var(--gold);
  background: rgba(230, 184, 74, 0.12); border: 1px solid rgba(230, 184, 74, 0.3);
}
.proof-icon svg { width: 1.2rem; height: 1.2rem; }
.proof-strip li > strong, .proof-strip li > span:last-child { grid-column: 2; }

.btn-arrow { width: 1.1rem; height: 1.1rem; transition: transform 0.2s ease; }
.btn-gold:hover .btn-arrow { transform: translateX(3px); }

/* Hero entrance (staggered) */
.hero-copy > * { opacity: 0; transform: translateY(1.25rem); animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) forwards; }
.hero-copy > :nth-child(1) { animation-delay: 0.05s; }
.hero-copy > :nth-child(2) { animation-delay: 0.15s; }
.hero-copy > :nth-child(3) { animation-delay: 0.3s; }
.hero-copy > :nth-child(4) { animation-delay: 0.45s; }
.hero-copy > :nth-child(5) { animation-delay: 0.6s; }
.calc { opacity: 0; transform: translateY(1.5rem) scale(0.98); animation: rise-card 0.9s 0.35s cubic-bezier(0.2, 0.7, 0.2, 1) forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes rise-card { to { opacity: 1; transform: none; } }

/* Decorative rings drift slowly; JS adds parallax on top via --py */
.hero-ring { transform: translateY(var(--py, 0)); will-change: transform; }
.hero-ring-1::after, .hero-ring-2::after {
  content: ""; position: absolute; inset: -1px; border-radius: 50%;
  border: 1px solid transparent; border-top-color: rgba(230, 184, 74, 0.5);
  animation: spin 40s linear infinite;
}
.hero-ring-2::after { animation-duration: 28s; animation-direction: reverse; border-top-color: rgba(230, 184, 74, 0.3); }
@keyframes spin { to { transform: rotate(360deg); } }

/* Coin stack idle float + glow pulse on the result */
.calc-stack { animation: float 5s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
.calc-result output.is-bump { animation: bump 0.35s ease; }
@keyframes bump { 40% { transform: scale(1.04); } }

/* Generic reveal-on-scroll (applied by JS) */
.reveal {
  opacity: 0; transform: translateY(1.4rem);
  transition: opacity 0.7s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--d, 0s);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-left { transform: translateX(-1.5rem); }
.reveal-scale { transform: translateY(1rem) scale(0.97); }

/* Section header rule grows in */
.article-section h2::after { transform: scaleX(0); transform-origin: 0 50%; transition: transform 0.8s 0.2s cubic-bezier(0.2, 0.7, 0.2, 1); }
.article-section h2.is-visible::after { transform: scaleX(1); }

/* Step numbers pop */
.steps li.is-visible::before { animation: pop 0.5s 0.15s cubic-bezier(0.3, 1.5, 0.5, 1) both; }
@keyframes pop { from { transform: scale(0.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* Review cards tilt in */
.review.reveal { transform: translateY(1.5rem) rotate(0.6deg); }
.review.reveal.is-visible { transform: none; }

@media (prefers-reduced-motion: reduce) {
  .hero-copy > *, .calc { animation: none; opacity: 1; transform: none; }
  .hero-ring-1::after, .hero-ring-2::after, .calc-stack { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .article-section h2::after { transform: none; transition: none; }
  .steps li.is-visible::before { animation: none; }
  .site-header, .header-inner, .point-icon, .btn-arrow { transition: none; }
}

/* ==========================================================================
   Designed article components
   ========================================================================== */

/* Section head: copy + illustration */
.section-head {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(14rem, 19rem);
  gap: clamp(1.5rem, 3vw, 3rem); align-items: center; margin-bottom: 1rem;
}
.section-head-copy > p:last-child { margin-bottom: 0; }
.section-art { margin: 0; }
.illo { width: 100%; height: auto; filter: drop-shadow(0 1rem 1.5rem rgba(16, 40, 42, 0.18)); }

/* Timeline (H2-level processes) */
.timeline { list-style: none; margin: 1.5rem 0 2rem; padding: 0; position: relative; display: grid; gap: 1rem; }
.timeline::before {
  content: ""; position: absolute; left: 1.45rem; top: 1.5rem; bottom: 1.5rem; width: 2px;
  background: linear-gradient(180deg, var(--gold), rgba(230, 184, 74, 0.15));
}
.timeline li { position: relative; display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; align-items: start; }
.tl-num {
  position: relative; z-index: 1; width: 3rem; height: 3rem; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: var(--ink);
  background: radial-gradient(circle at 35% 30%, #fff3c4, var(--gold) 55%, var(--gold-deep));
  box-shadow: 0 0 0 4px var(--paper), 0 0.5rem 1rem rgba(184, 134, 42, 0.35);
}
.tl-card {
  padding: 1.1rem 1.3rem; background: var(--paper-2); border: 1px solid var(--line-dark); border-radius: 1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.tl-card:hover { transform: translateX(4px); box-shadow: 0 0.75rem 1.5rem rgba(16, 40, 42, 0.1); }
.tl-card strong { display: block; margin-bottom: 0.2rem; font-family: var(--font-display); font-size: 1.15rem; color: var(--vault); }
.tl-card span { color: var(--ink-soft); line-height: 1.6; }

/* Two-column step cards (H3-level) */
.steps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.steps-grid li { grid-template-columns: 2.25rem 1fr; padding: 1rem 1.1rem; }
.steps-grid li::before { width: 2.25rem; height: 2.25rem; font-size: 0.9rem; }
.steps-grid strong { font-size: 1.05rem; }
.steps-grid span { font-size: 0.95rem; }

/* Metal cards */
.metals { list-style: none; margin: 1.5rem 0 2rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(10.5rem, 1fr)); gap: 0.9rem; }
.metal {
  position: relative; display: grid; gap: 0.35rem; align-content: start; padding: 1.1rem 1.1rem 1.2rem;
  background: var(--paper-2); border: 1px solid var(--line-dark); border-radius: 1rem; overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.metal:hover { transform: translateY(-3px); box-shadow: 0 1rem 2rem rgba(16, 40, 42, 0.12); }
.metal-swatch { width: 2.6rem; height: 2.6rem; border-radius: 50%; margin-bottom: 0.3rem; box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.15), inset 0 3px 0 rgba(255, 255, 255, 0.5); }
.metal-gold .metal-swatch { background: radial-gradient(circle at 35% 30%, #fff3c4, #e6b84a 55%, #b8862a); }
.metal-silver .metal-swatch { background: radial-gradient(circle at 35% 30%, #ffffff, #cfd6d8 55%, #8e9a9d); }
.metal-platinum .metal-swatch { background: radial-gradient(circle at 35% 30%, #ffffff, #e3e6e8 55%, #a7b0b4); }
.metal-palladium .metal-swatch { background: radial-gradient(circle at 35% 30%, #ffffff, #d9dcde 55%, #7f8a8e); }
.metal-coins .metal-swatch { background: radial-gradient(circle at 35% 30%, #fff3c4, #e6b84a 50%, #7a5a14); }
.metal strong { font-family: var(--font-display); font-size: 1.15rem; color: var(--vault); }
.metal-fineness { font-style: normal; font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; color: var(--gold-deep); line-height: 1.1; }
.metal-fineness small { display: block; font-family: var(--font-body); font-weight: 500; font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); }
.metal > span:last-child { font-size: 0.9rem; color: var(--ink-soft); line-height: 1.55; }
/* The fifth card (coins and bars) spans the row as a wide card */
.metal-coins { grid-column: 1 / -1; grid-template-columns: auto auto 1fr; column-gap: 1.1rem; align-items: center; }
.metal-coins .metal-swatch { margin-bottom: 0; grid-row: 1 / span 2; }
.metal-coins strong { grid-column: 2; align-self: end; }
.metal-coins .metal-fineness { grid-column: 2; grid-row: 2; align-self: start; }
.metal-coins > span:last-child { grid-column: 3; grid-row: 1 / span 2; }
@media (max-width: 36rem) { .metal-coins { grid-template-columns: auto 1fr; } .metal-coins > span:last-child { grid-column: 1 / -1; grid-row: auto; } }

/* Icon cards (headword lists promoted to a grid) */
.cards { list-style: none; margin: 1.5rem 0 2rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 0.9rem; }
.cards li {
  display: grid; gap: 0.4rem; align-content: start; padding: 1.2rem 1.2rem 1.3rem;
  background: var(--paper-2); border: 1px solid var(--line-dark); border-radius: 1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.cards li:hover { transform: translateY(-3px); border-color: rgba(230, 184, 74, 0.6); box-shadow: 0 1rem 2rem rgba(16, 40, 42, 0.12); }
.card-icon { width: 2.5rem; height: 2.5rem; border-radius: 0.8rem; display: grid; place-items: center; color: var(--gold-deep); background: rgba(230, 184, 74, 0.16); margin-bottom: 0.3rem; }
.card-icon svg { width: 1.3rem; height: 1.3rem; }
.cards strong { font-family: var(--font-display); font-size: 1.1rem; line-height: 1.25; color: var(--vault); }
.cards li > span:last-child { font-size: 0.93rem; color: var(--ink-soft); line-height: 1.55; }

/* Key figures */
.figures { list-style: none; margin: 1.25rem 0 1.75rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); gap: 0.9rem; }
.figures li {
  padding: 1.2rem 1.3rem; border-radius: 1rem; color: var(--ivory);
  background: linear-gradient(160deg, var(--vault-3), var(--vault)); border: 1px solid rgba(230, 184, 74, 0.35);
}
.figures strong { display: block; font-family: var(--font-display); font-weight: 900; font-size: clamp(1.9rem, 3vw, 2.4rem); line-height: 1; color: var(--gold); margin-bottom: 0.4rem; }
.figures span { font-size: 0.88rem; color: var(--mist); line-height: 1.45; }

/* Roles diagram */
.roles { list-style: none; margin: 1.25rem 0 1.75rem; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.75rem; position: relative; }
.roles::before { content: ""; position: absolute; left: 2rem; right: 2rem; top: 1.6rem; height: 2px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.roles li { position: relative; display: grid; gap: 0.3rem; justify-items: center; text-align: center; padding: 0 0.5rem; }
.role-icon {
  width: 3.2rem; height: 3.2rem; border-radius: 50%; display: grid; place-items: center; color: var(--ink);
  background: radial-gradient(circle at 35% 30%, #fff3c4, var(--gold) 55%, var(--gold-deep));
  box-shadow: 0 0 0 5px var(--paper), 0 0.5rem 1rem rgba(184, 134, 42, 0.35); margin-bottom: 0.4rem;
}
.role-icon svg { width: 1.4rem; height: 1.4rem; }
.roles strong { font-family: var(--font-display); font-size: 1rem; color: var(--vault); }
.roles li > span:last-child { font-size: 0.85rem; color: var(--ink-soft); line-height: 1.45; }

/* Dark bands for the three labeled groups */
.article-section.is-band {
  background: radial-gradient(40rem 20rem at 100% 0%, rgba(230, 184, 74, 0.18), transparent 60%), var(--vault);
  color: var(--ivory); border-radius: 1.5rem; border-bottom: 0;
  padding: clamp(1.75rem, 4vw, 3rem); margin-bottom: clamp(2.5rem, 5vw, 4rem);
  box-shadow: 0 2rem 4rem rgba(16, 40, 42, 0.25);
}
.is-band h2, .is-band h3, .is-band .cards strong, .is-band .tl-card strong, .is-band .steps strong { color: var(--ivory); }
.is-band p, .is-band .cards li > span:last-child, .is-band .tl-card span, .is-band .steps span { color: var(--mist); }
.is-band .section-label { color: var(--gold); }
.is-band .cards li, .is-band .tl-card, .is-band .steps li { background: rgba(247, 240, 221, 0.05); border-color: var(--line); }
.is-band .cards li:hover { border-color: rgba(230, 184, 74, 0.6); }
.is-band .card-icon { color: var(--gold); background: rgba(230, 184, 74, 0.14); }
.is-band .tl-num { box-shadow: 0 0 0 4px var(--vault), 0 0.5rem 1rem rgba(0, 0, 0, 0.35); }
.is-band .steps li::before { background: rgba(230, 184, 74, 0.22); color: var(--gold); }
.is-band .qa { background: rgba(0, 0, 0, 0.25); border-left-color: var(--gold); box-shadow: none; }
.is-band .illo { filter: drop-shadow(0 1rem 1.5rem rgba(0, 0, 0, 0.35)); }

/* CTA band */
.cta-band {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(12rem, 0.8fr); gap: clamp(1.5rem, 3vw, 3rem); align-items: center;
  margin: 0 0 clamp(2.5rem, 5vw, 4rem); padding: clamp(1.75rem, 4vw, 3rem);
  border-radius: 1.5rem; color: var(--ivory);
  background: radial-gradient(40rem 20rem at 90% 10%, rgba(230, 184, 74, 0.25), transparent 60%), linear-gradient(160deg, var(--vault-3), var(--vault-deep));
  border: 1px solid rgba(230, 184, 74, 0.35); box-shadow: 0 2rem 4rem rgba(16, 40, 42, 0.25);
}
.cta-band h2 { margin: 0 0 0.75rem; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.15; }
.cta-band p { margin: 0 0 1.5rem; color: var(--mist); font-size: 1rem; }
.cta-band .eyebrow { margin-bottom: 1rem; }
.cta-band-art { margin: 0; }
.illo-cta { filter: drop-shadow(0 1rem 1.5rem rgba(0, 0, 0, 0.4)); }
.cta-band-final { margin-bottom: 0; }

/* Responsive */
@media (max-width: 64rem) {
  .roles { grid-template-columns: repeat(2, 1fr); gap: 1.25rem 0.75rem; }
  .roles::before { display: none; }
}
@media (max-width: 48rem) {
  .section-head { grid-template-columns: 1fr; }
  .section-art { max-width: 18rem; justify-self: center; order: -1; }
  .steps-grid { grid-template-columns: 1fr; }
  .cta-band { grid-template-columns: 1fr; }
  .cta-band-art { max-width: 14rem; justify-self: center; order: -1; }
}
@media (max-width: 36rem) {
  .timeline::before { left: 1.2rem; }
  .timeline li { grid-template-columns: 2.5rem 1fr; gap: 0.75rem; }
  .tl-num { width: 2.5rem; height: 2.5rem; font-size: 0.9rem; }
  .roles { grid-template-columns: 1fr 1fr; }
  .article-section.is-band { padding: 1.5rem 1.1rem; border-radius: 1.1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .tl-card, .metal, .cards li { transition: none; }
}

/* ==========================================================================
   Trust section: intro column + compact 2x2 grid (overrides earlier rules)
   ========================================================================== */
.trust { padding: clamp(2.5rem, 5vw, 4.5rem) 0; }
.trust-inner {
  display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 4vw, 4rem); align-items: center;
}
.trust-intro h2 {
  margin: 0 0 0.9rem; font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.9rem, 3.4vw, 2.6rem); line-height: 1.08; letter-spacing: -0.015em;
}
.trust-intro > p:not(.eyebrow) { margin: 0 0 1.5rem; color: var(--mist); line-height: 1.6; max-width: 28rem; }
.trust-marks { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; }
.trust-marks li {
  font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; line-height: 1; color: var(--gold);
  font-variant-numeric: tabular-nums;
}
.trust-marks small {
  display: block; margin-top: 0.35rem; font-family: var(--font-body); font-weight: 500;
  font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mist);
}

.trust .trust-grid { margin: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem; }
.trust .trust-grid li {
  grid-template-columns: auto 1fr; column-gap: 0.9rem; row-gap: 0.3rem; align-items: start;
  padding: 1.15rem 1.2rem;
}
.trust .trust-grid .trust-icon { grid-row: 1 / span 2; width: 2.5rem; height: 2.5rem; margin: 0; }
.trust .trust-grid strong { grid-column: 2; font-size: 1.08rem; }
.trust .trust-grid span:last-child { grid-column: 2; font-size: 0.92rem; }

@media (max-width: 64rem) {
  .trust-inner { grid-template-columns: 1fr; }
}
@media (max-width: 36rem) {
  .trust .trust-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Second-page components: simple hero, hero quote, callout, compare
   ========================================================================== */
.hero-simple .hero-inner { grid-template-columns: minmax(0, 1fr); }
.hero-simple .hero-copy { max-width: 44rem; }
.hero-simple .hero-lede { max-width: 40rem; }

.hero-quote {
  margin: clamp(2.5rem, 5vw, 4rem) 0 0;
  padding: 1.5rem 1.75rem 1.5rem 2rem;
  border-left: 3px solid var(--gold);
  background: rgba(247, 240, 221, 0.04);
  border-radius: 0 1.25rem 1.25rem 0;
}
.hero-quote p {
  margin: 0 0 0.75rem; font-family: var(--font-display); font-style: italic; font-weight: 600;
  font-size: clamp(1.1rem, 1.8vw, 1.35rem); line-height: 1.5; color: var(--ivory);
}
.hero-quote footer { font-size: 0.92rem; line-height: 1.55; color: var(--mist); }

/* Boxed callout for key H3 answers */
.callout {
  margin: 2rem 0; padding: 1.5rem 1.75rem;
  background: var(--paper-2); border: 1px solid rgba(184, 134, 42, 0.45); border-radius: 1.25rem;
  box-shadow: 0 1rem 2.5rem rgba(16, 40, 42, 0.08);
  position: relative;
}
.callout::before { content: ""; position: absolute; left: 0; top: 1.5rem; bottom: 1.5rem; width: 3px; background: var(--gold); border-radius: 3px; }
.callout h3 { margin-top: 0 !important; font-style: italic; }
.callout p:last-child { margin-bottom: 0; }
.callout .figures { margin-bottom: 1rem; }
.is-band .callout { background: rgba(0, 0, 0, 0.22); border-color: rgba(230, 184, 74, 0.4); box-shadow: none; }

/* Two-column comparison (Coins | Bars) */
.compare {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin: 1.25rem 0 1.75rem;
}
.compare-col {
  padding: 1.25rem 1.4rem; background: var(--paper-2); border: 1px solid var(--line-dark); border-radius: 1rem;
}
.compare-col h4 {
  margin: 0 0 0.6rem; font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: 1.25rem; color: var(--gold-deep);
  display: flex; align-items: center; gap: 0.6rem;
}
.compare-col h4::before { content: ""; width: 0.75rem; height: 0.75rem; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff3c4, var(--gold) 55%, var(--gold-deep)); }
.compare-col p { margin: 0; font-size: 0.98rem; }

@media (max-width: 40rem) {
  .compare { grid-template-columns: 1fr; }
  .hero-quote { padding: 1.25rem 1.1rem 1.25rem 1.25rem; }
}

/* Cross-page nav link */
.site-nav .nav-page { color: var(--gold); }
.site-nav .nav-page::before { content: ""; display: inline-block; width: 1px; height: 0.9em; background: var(--line-strong); margin-right: 1.4rem; vertical-align: -0.1em; }
@media (max-width: 64rem) { .site-nav .nav-page::before { display: none; } }

/* ==========================================================================
   Paper theme (Buy Gold Cash page): palette, type and components from the
   supplied editorial component. Applied via <body class="theme-paper">.
   ========================================================================== */
.theme-paper {
  --vault: #20321F;
  --vault-deep: #182518;
  --vault-2: #2E4536;
  --vault-3: #33503C;
  --gold: #C79A46;
  --gold-light: #E3C27A;
  --gold-deep: #A9843C;
  --ivory: #EFE9D6;
  --mist: #D9D2B9;
  --ink: #1d1a0d;
  --paper: #F7F4EA;
  --paper-2: #FCFAF3;
  --ink-2: #242821;
  --ink-soft: #565B4E;
  --rule: #DED2AE;
  --rule-soft: #E9E1C7;
  --line-dark: #DED2AE;
  --line: rgba(239, 233, 214, 0.14);
  --line-strong: rgba(239, 233, 214, 0.28);
  --font-body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-family: var(--font-body);
  background: var(--paper);
}
.theme-paper .site-header { background: rgba(24, 37, 24, 0.86); }
.theme-paper .site-header.is-scrolled { background: rgba(24, 37, 24, 0.96); }
.theme-paper .btn { font-family: var(--font-body); }

/* ---- Editorial hero ---- */
.theme-paper .hero-editorial {
  background: radial-gradient(120% 160% at 15% -20%, #33503C 0%, var(--vault) 55%, #182518 100%);
  color: var(--ivory);
  padding: clamp(4rem, 9vw, 6rem) 0 clamp(3.5rem, 8vw, 5.25rem);
}
.theme-paper .hero-editorial .hero-inner { grid-template-columns: minmax(0, 1fr); }
.theme-paper .hero-editorial .hero-copy { max-width: 45rem; }
.theme-paper .hero-ring { border-color: rgba(199, 154, 70, 0.28); }
.theme-paper .hero-ring-1 { width: 26rem; height: 26rem; right: -7.5rem; top: -8.75rem; }
.theme-paper .hero-ring-2 { width: 16rem; height: 16rem; right: -2.5rem; top: -3.75rem; border-color: rgba(199, 154, 70, 0.22); }
.theme-paper .hero-ring-1::after, .theme-paper .hero-ring-2::after { border-top-color: rgba(199, 154, 70, 0.55); }
.theme-paper .mark {
  width: 2.5rem; height: 2.5rem; border: 1px solid var(--gold); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; margin-bottom: 2.1rem;
}
.theme-paper .mark span { width: 0.625rem; height: 0.625rem; background: var(--gold); border-radius: 50%; display: block; }
.theme-paper .hero-editorial .hero-title {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(2.4rem, 6vw, 3.8rem); line-height: 1.08; letter-spacing: -0.01em;
  margin: 0 0 1.4rem; color: var(--ivory);
}
.theme-paper .hero-editorial .hero-lede { font-size: 1.15rem; line-height: 1.65; color: var(--mist); max-width: 34em; margin: 0; }

/* ---- Lede quote at the top of the article ---- */
.theme-paper .lede {
  font-family: var(--font-display); font-style: italic; font-weight: 400;
  font-size: 1.3rem; line-height: 1.6; color: var(--vault);
  border-left: 2px solid var(--gold-deep); padding-left: 1.4rem; margin: 0 0 clamp(2.5rem, 5vw, 4rem);
}

/* ---- Article typography (ledger feel) ---- */
.theme-paper .article { background: var(--paper); }
.theme-paper .article-section h2 { font-weight: 500; letter-spacing: -0.01em; }
.theme-paper .article-section h2::after { background: var(--gold-deep); height: 2px; width: 3rem; }
.theme-paper .article-section h3 {
  font-style: italic; font-weight: 500; color: var(--gold-deep);
  font-size: clamp(1.25rem, 2.2vw, 1.5rem); line-height: 1.35;
  margin-top: 2.75rem; padding-top: 1.6rem; border-top: 1px solid var(--rule);
}
.theme-paper .is-band .article-section h3, .theme-paper .is-band h3 { color: var(--gold); border-top-color: var(--line); }
.theme-paper .article-section p { color: var(--ink-2); }
.theme-paper .section-label { color: var(--gold-deep); }
.theme-paper .section-label::before { background: var(--gold-deep); }

/* ---- H4 answers as left-ruled sub blocks (component ".sub") ---- */
.theme-paper .qa {
  background: transparent; color: inherit; border-radius: 0; box-shadow: none;
  border-left: 2px solid var(--rule-soft); padding: 0.25rem 0 0.25rem 1.4rem; margin: 1.5rem 0 2rem;
}
.theme-paper .qa::before { display: none; }
.theme-paper .qa h4 { font-style: italic; font-weight: 500; font-size: 1.1rem; color: var(--vault-2); margin-bottom: 0.5rem; }
.theme-paper .qa p { color: var(--ink-soft); font-size: 0.98rem; max-width: 36em; }
.theme-paper .is-band .qa { border-left-color: rgba(239, 233, 214, 0.25); }
.theme-paper .is-band .qa h4 { color: var(--gold); }
.theme-paper .is-band .qa p { color: var(--mist); }

/* ---- Compare strip (component ".compare") ---- */
.theme-paper .compare { gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: 0; margin-top: 0.5rem; }
.theme-paper .compare-col { background: var(--paper-2); border: 0; border-radius: 0; padding: 1.4rem 1.5rem; }
.theme-paper .compare-col h4 { font-size: 1rem; font-weight: 500; color: var(--gold-deep); }
.theme-paper .compare-col h4::before { display: none; }
.theme-paper .compare-col p { font-size: 0.96rem; line-height: 1.65; }

/* ---- Callout (component ".callout") ---- */
.theme-paper .callout {
  background: var(--paper-2); border: 1px solid var(--rule-soft); border-left: 3px solid var(--vault-2);
  border-radius: 0; box-shadow: none; padding: 1.6rem 1.9rem; margin: 2.5rem 0;
}
.theme-paper .callout::before { display: none; }
.theme-paper .callout h3 { border-top: 0; padding-top: 0; margin-top: 0; color: var(--vault-2); font-size: 1.15rem; }
.theme-paper .callout p { font-size: 1rem; line-height: 1.7; }
.theme-paper .is-band .callout { background: rgba(0, 0, 0, 0.22); border-color: rgba(239, 233, 214, 0.18); border-left-color: var(--gold); }
.theme-paper .is-band .callout h3 { color: var(--gold); }

/* ---- Cards, steps, timeline, figures in the paper palette ---- */
.theme-paper .cards li, .theme-paper .steps li, .theme-paper .tl-card, .theme-paper .metal, .theme-paper .trust-grid li {
  border-color: var(--rule-soft); border-radius: 0.75rem;
}
.theme-paper .cards strong, .theme-paper .steps strong, .theme-paper .tl-card strong, .theme-paper .roles strong { font-weight: 600; }
.theme-paper .card-icon { color: var(--gold-deep); background: rgba(169, 132, 60, 0.14); border-radius: 0.6rem; }
.theme-paper .steps li::before { color: var(--gold-deep); background: rgba(169, 132, 60, 0.18); }
.theme-paper .tl-num { box-shadow: 0 0 0 4px var(--paper), 0 0.5rem 1rem rgba(169, 132, 60, 0.3); }
.theme-paper .figures li { border-radius: 0.75rem; border-color: rgba(199, 154, 70, 0.4); }
.theme-paper .article-section.is-band { border-radius: 1rem; }
.theme-paper .cta-band { border-radius: 1rem; }
.theme-paper .toc summary, .theme-paper .toc li.toc-label { color: var(--gold-deep); }
.theme-paper .toc a.is-active { border-color: var(--gold-deep); }

/* ---- Footer ---- */
.theme-paper .site-footer { background: var(--paper); color: var(--ink-soft); border-top: 1px solid var(--rule); }
.theme-paper .site-footer .brand { color: var(--vault); }

@media (max-width: 36rem) {
  .theme-paper .hero-editorial { padding: 4rem 0 3.5rem; }
  .theme-paper .lede { font-size: 1.15rem; }
}

/* Paper theme: readable text inside the dark band sections */
.theme-paper .article-section.is-band p { color: var(--mist); }
.theme-paper .article-section.is-band h2,
.theme-paper .article-section.is-band .cards strong,
.theme-paper .article-section.is-band .steps strong,
.theme-paper .article-section.is-band .tl-card strong { color: var(--ivory); }
.theme-paper .article-section.is-band h3 { color: var(--gold); border-top-color: var(--line); }
.theme-paper .article-section.is-band .section-label { color: var(--gold); }
.theme-paper .article-section.is-band .section-label::before { background: var(--gold); }
.theme-paper .article-section.is-band .cards li > span:last-child,
.theme-paper .article-section.is-band .steps span,
.theme-paper .article-section.is-band .tl-card span,
.theme-paper .article-section.is-band .qa p,
.theme-paper .article-section.is-band .callout p { color: var(--mist); }
.theme-paper .article-section.is-band .qa h4,
.theme-paper .article-section.is-band .callout h3,
.theme-paper .article-section.is-band .compare-col h4 { color: var(--gold); }
.theme-paper .article-section.is-band .compare { background: var(--line); border-color: var(--line); }
.theme-paper .article-section.is-band .compare-col { background: rgba(0, 0, 0, 0.22); }
.theme-paper .article-section.is-band .compare-col p { color: var(--mist); }
.theme-paper .article-section.is-band .card-icon { color: var(--gold); background: rgba(199, 154, 70, 0.16); }
.theme-paper .article-section.is-band .steps li::before { color: var(--gold); background: rgba(199, 154, 70, 0.2); }
.theme-paper .article-section.is-band .tl-num { box-shadow: 0 0 0 4px var(--vault), 0 0.5rem 1rem rgba(0, 0, 0, 0.35); }

/* Article links and plain (headword-less) step cards */
.article-section p a, .article-section li a { color: var(--gold-deep); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.article-section p a:hover, .article-section li a:hover { color: var(--vault); }
.is-band p a, .is-band li a { color: var(--gold); }
.is-band p a:hover, .is-band li a:hover { color: var(--ivory); }
.steps-plain li > span:only-child { grid-column: 2; color: var(--ink-2); line-height: 1.6; }
.is-band .steps-plain li > span:only-child { color: var(--mist); }
.theme-paper .steps-plain li > span:only-child { color: var(--ink-2); }
.hero-simple .proof-strip + .hero-quote { margin-top: 1.5rem; }

/* ==========================================================================
   Navy theme (How to Save Money for Retirement): palette from the brief's
   mock-up — navy gradient hero, orange accent, white cards, light grey body.
   Applied via <body class="theme-navy">.
   ========================================================================== */
.theme-navy {
  --vault: #1B2A5E;
  --vault-deep: #121C45;
  --vault-2: #243B8A;
  --vault-3: #2E4BA6;
  --gold: #E8622A;
  --gold-light: #F2855A;
  --gold-deep: #C94E1C;
  --ivory: #F6F7FB;
  --mist: #C9D0E6;
  --ink: #ffffff;
  --paper: #F4F6FB;
  --paper-2: #FFFFFF;
  --ink-2: #1B2140;
  --ink-soft: #5A6180;
  --line-dark: rgba(27, 42, 94, 0.12);
  --line: rgba(246, 247, 251, 0.14);
  --line-strong: rgba(246, 247, 251, 0.3);
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --navy-green: #2E9E6B;
  --navy-purple: #4B47B5;
  font-family: var(--font-body);
  background: var(--paper);
}
.theme-navy .site-header { background: rgba(18, 28, 69, 0.86); }
.theme-navy .site-header.is-scrolled { background: rgba(18, 28, 69, 0.96); }
.theme-navy .brand-mark { background: radial-gradient(circle at 35% 30%, #ffd9c7 0%, var(--gold) 45%, var(--gold-deep) 100%); box-shadow: inset 0 0 0 2px rgba(255, 236, 226, 0.55), 0 0 0 1px rgba(0, 0, 0, 0.3), 0 0.25rem 0.75rem rgba(232, 98, 42, 0.35); }
.theme-navy .brand-mark::after { border-color: rgba(120, 40, 10, 0.5); }
.theme-navy .btn-gold { color: #fff; box-shadow: 0 0.6rem 1.6rem rgba(232, 98, 42, 0.3); }
.theme-navy .btn-gold:hover { background: var(--gold-light); }
.theme-navy .btn { font-family: var(--font-body); }

/* ---- Centered hero ---- */
.theme-navy .hero-center {
  background: radial-gradient(70rem 30rem at 50% -20%, rgba(78, 108, 214, 0.55), transparent 60%), linear-gradient(180deg, #1B2A5E 0%, #16224F 60%, #121C45 100%);
  padding: clamp(3rem, 6vw, 4.5rem) 0 0;
  overflow: visible;
}
.theme-navy .hero-center .hero-inner { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.theme-navy .hero-center .hero-copy { max-width: 46rem; }
.theme-navy .hero-center .hero-copy > * { animation-name: rise; }
.theme-navy .eyebrow-pill {
  display: inline-block; margin: 0 0 1.25rem; padding: 0.35rem 0.9rem;
  border: 1px solid rgba(232, 98, 42, 0.6); border-radius: 999px; background: rgba(232, 98, 42, 0.12);
  color: #FFB48F; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; text-transform: none;
}
.theme-navy .hero-center .hero-title {
  font-weight: 700; font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1.12; letter-spacing: -0.015em;
  margin: 0 0 1rem; color: #fff;
}
.theme-navy .hero-center .hero-lede { max-width: 44rem; margin: 0 auto 1.1rem; color: var(--mist); font-size: clamp(1rem, 1.5vw, 1.1rem); }
.theme-navy .crumbs { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; font-size: 0.8rem; color: var(--mist); margin-bottom: 2.5rem; }
.theme-navy .crumbs a { color: var(--mist); text-decoration: none; }
.theme-navy .crumbs a:hover { color: #fff; }
.theme-navy .crumbs span[aria-current] { color: #fff; }
.theme-navy .hero-ring { border-color: rgba(120, 150, 255, 0.18); }
.theme-navy .hero-ring-1::after, .theme-navy .hero-ring-2::after { border-top-color: rgba(232, 98, 42, 0.45); }

/* ---- Progress tracker card ---- */
.theme-navy .tracker {
  position: relative; z-index: 2;
  background: #fff; color: var(--ink-2); border-radius: 1.25rem;
  padding: clamp(1.25rem, 2.5vw, 1.75rem) clamp(1.25rem, 2.5vw, 2rem);
  box-shadow: 0 1.5rem 3rem rgba(18, 28, 69, 0.28);
}
.theme-navy .tracker-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 0.9rem; }
.theme-navy .tracker-head h2 { margin: 0; font-family: var(--font-body); font-weight: 700; font-size: 1rem; display: flex; align-items: center; gap: 0.5rem; }
.theme-navy .tracker-dot { width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--gold); }
.theme-navy .tracker-tag { font-size: 0.72rem; font-weight: 600; color: var(--gold-deep); }
.theme-navy .tracker-bar-row { display: flex; justify-content: space-between; font-size: 0.82rem; color: var(--ink-soft); margin-bottom: 0.5rem; }
.theme-navy .tracker-bar-row strong { color: var(--ink-2); font-weight: 600; }
.theme-navy .tracker-bar { position: relative; height: 0.4rem; border-radius: 999px; background: #E6E9F3; margin-bottom: 1.1rem; }
.theme-navy .tracker-bar span { display: block; height: 100%; width: 12.5%; border-radius: 999px; background: linear-gradient(90deg, var(--gold-deep), var(--gold)); transition: width 0.4s ease; }
.theme-navy .tracker-bar i { position: absolute; top: 50%; left: 12.5%; width: 0.9rem; height: 0.9rem; margin: -0.45rem 0 0 -0.45rem; border-radius: 50%; background: #fff; border: 2px solid var(--gold); box-shadow: 0 0.15rem 0.4rem rgba(0, 0, 0, 0.2); transition: left 0.4s ease; }
.theme-navy .tracker-stages { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.75rem; }
.theme-navy .tracker-stages li { display: grid; gap: 0.4rem; }
.theme-navy .tracker-stages button {
  text-align: left; width: 100%; cursor: pointer; font: inherit; color: inherit;
  display: grid; gap: 0.35rem; padding: 0.9rem 1rem;
  background: #fff; border: 1px solid #E1E5F0; border-radius: 0.9rem;
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.theme-navy .tracker-stages button:hover { transform: translateY(-2px); box-shadow: 0 0.6rem 1.2rem rgba(18, 28, 69, 0.08); }
.theme-navy .stage-top { display: flex; justify-content: space-between; align-items: center; }
.theme-navy .stage-num { width: 1.6rem; height: 1.6rem; border-radius: 50%; display: grid; place-items: center; font-size: 0.78rem; font-weight: 700; color: #fff; background: var(--navy-purple); }
.theme-navy .stage-state { font-size: 0.72rem; font-weight: 600; color: var(--ink-soft); }
.theme-navy .tracker-stages strong { font-weight: 700; font-size: 0.95rem; }
.theme-navy .stage-desc { font-size: 0.8rem; color: var(--ink-soft); line-height: 1.45; }
.theme-navy .stage-link { font-size: 0.78rem; font-weight: 600; color: var(--gold-deep); text-decoration: none; padding-left: 0.25rem; }
.theme-navy .stage-link:hover { text-decoration: underline; }
.theme-navy .tracker-stages li.is-done button { background: #EEF8F2; border-color: #BFE3CF; }
.theme-navy .tracker-stages li.is-done .stage-num { background: var(--navy-green); }
.theme-navy .tracker-stages li.is-done .stage-state { color: var(--navy-green); }
.theme-navy .tracker-stages li.is-current button { background: #FFF2EA; border-color: #F5B899; }
.theme-navy .tracker-stages li.is-current .stage-num { background: var(--gold); }
.theme-navy .tracker-stages li.is-current .stage-state { color: var(--gold-deep); }

/* ---- Gold IRA angle bar ---- */
.theme-navy .angle {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: auto 1fr auto; gap: 1rem 1.25rem; align-items: center;
  margin: 1rem 0 0; padding: 1.25rem 1.5rem;
  background: linear-gradient(90deg, #1B2A5E, #243B8A); color: #fff; border-radius: 1rem;
  border: 1px solid rgba(232, 98, 42, 0.35); box-shadow: 0 1.5rem 3rem rgba(18, 28, 69, 0.3);
  transform: translateY(2.5rem);
}
.theme-navy .angle-check { width: 2.5rem; height: 2.5rem; border-radius: 50%; display: grid; place-items: center; color: #1B2A5E; background: var(--gold); }
.theme-navy .angle-check svg { width: 1.25rem; height: 1.25rem; }
.theme-navy .angle-label { margin: 0 0 0.2rem; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; color: #FFB48F; text-transform: uppercase; }
.theme-navy .angle-text { margin: 0; font-size: 1rem; line-height: 1.5; }
.theme-navy .angle-actions { display: flex; flex-direction: column; gap: 0.5rem; }
.theme-navy .angle-actions .btn { padding: 0.75rem 1.2rem; font-size: 0.92rem; white-space: nowrap; }
.theme-navy .angle-actions .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, 0.45); }
.theme-navy .angle-actions .btn-ghost:hover { border-color: var(--gold); color: var(--gold-light); }

/* ---- Article in the navy theme ---- */
.theme-navy .article { padding-top: clamp(5rem, 9vw, 7rem); background: var(--paper); }
.theme-navy .lede {
  font-family: var(--font-display); font-style: italic; font-weight: 600; font-size: 1.2rem; line-height: 1.6;
  color: var(--vault); border-left: 3px solid var(--gold); padding-left: 1.25rem; margin: 0 0 clamp(2.5rem, 5vw, 4rem);
}
.theme-navy .article-section h2 { color: var(--vault); }
.theme-navy .article-section h2::after { background: linear-gradient(90deg, var(--gold), var(--gold-light)); }
.theme-navy .article-section h3 { color: var(--vault); }
.theme-navy .section-label { color: var(--gold-deep); }
.theme-navy .section-label::before { background: var(--gold); }
.theme-navy .cards li, .theme-navy .steps li, .theme-navy .tl-card { border-color: #E1E5F0; box-shadow: 0 0.25rem 0.75rem rgba(18, 28, 69, 0.04); }
.theme-navy .card-icon { color: var(--gold-deep); background: rgba(232, 98, 42, 0.12); }
.theme-navy .steps li::before { color: #fff; background: var(--navy-purple); }
.theme-navy .tl-num { color: #fff; background: linear-gradient(135deg, var(--gold), var(--gold-deep)); box-shadow: 0 0 0 4px var(--paper), 0 0.5rem 1rem rgba(232, 98, 42, 0.3); }
.theme-navy .timeline::before { background: linear-gradient(180deg, var(--gold), rgba(232, 98, 42, 0.15)); }
.theme-navy .figures li { background: linear-gradient(160deg, var(--vault-3), var(--vault)); border-color: rgba(232, 98, 42, 0.35); }
.theme-navy .figures strong { color: #FFB48F; }
.theme-navy .qa { background: var(--vault); border-left-color: var(--gold); }
.theme-navy .qa::before { color: #FFB48F; }
.theme-navy .qa h4 { color: #fff; }
.theme-navy .article-section.is-band { background: radial-gradient(40rem 20rem at 100% 0%, rgba(232, 98, 42, 0.18), transparent 60%), var(--vault); }
.theme-navy .is-band .section-label, .theme-navy .article-section.is-band h3 { color: #FFB48F; }
.theme-navy .is-band .card-icon { color: #FFB48F; background: rgba(232, 98, 42, 0.18); }
.theme-navy .article-section p a, .theme-navy .article-section li a { color: var(--gold-deep); }
.theme-navy .toc summary, .theme-navy .toc li.toc-label { color: var(--gold-deep); }
.theme-navy .toc a.is-active { border-color: var(--gold); color: var(--vault); }
.theme-navy .cta-band { background: radial-gradient(40rem 20rem at 90% 10%, rgba(232, 98, 42, 0.3), transparent 60%), linear-gradient(160deg, var(--vault-3), var(--vault-deep)); border-color: rgba(232, 98, 42, 0.35); }
.theme-navy .cta-band .eyebrow-dot, .theme-navy .eyebrow-dot { background: var(--gold); box-shadow: 0 0 0 0.3rem rgba(232, 98, 42, 0.18); }
.theme-navy .illo { filter: drop-shadow(0 1rem 1.5rem rgba(18, 28, 69, 0.18)); }

/* ---- Footer ---- */
.theme-navy .site-footer { background: var(--vault-deep); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; }
.footer-nav a { color: var(--mist); text-decoration: none; font-size: 0.88rem; }
.footer-nav a:hover, .footer-nav a[aria-current] { color: var(--ivory); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 64rem) {
  .theme-navy .tracker-stages { grid-template-columns: repeat(2, 1fr); }
  .theme-navy .angle { grid-template-columns: auto 1fr; }
  .theme-navy .angle-actions { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 36rem) {
  .theme-navy .tracker-stages { grid-template-columns: 1fr; }
  .theme-navy .angle { padding: 1.1rem; }
  .theme-navy .angle-actions .btn { width: 100%; }
  .theme-navy .article { padding-top: 5.5rem; }
}

/* Comparison tables (from docx tables) */
.table-wrap { margin: 1.25rem 0 1.75rem; overflow-x: auto; border: 1px solid var(--line-dark); border-radius: 1rem; background: var(--paper-2); }
.compare-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; min-width: 34rem; }
.compare-table th, .compare-table td { padding: 0.9rem 1.1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line-dark); line-height: 1.5; }
.compare-table thead th { background: var(--vault); color: var(--ivory); font-family: var(--font-display); font-weight: 700; font-size: 1rem; border-bottom: 0; }
.compare-table thead th:first-child { color: var(--gold); }
.compare-table tbody th { font-weight: 600; color: var(--vault); width: 11rem; background: rgba(230, 184, 74, 0.08); }
.compare-table tbody td { color: var(--ink-soft); }
.compare-table tbody tr:last-child th, .compare-table tbody tr:last-child td { border-bottom: 0; }
.is-band .table-wrap { background: rgba(0, 0, 0, 0.22); border-color: var(--line); }
.is-band .compare-table th, .is-band .compare-table td { border-color: var(--line); }
.is-band .compare-table tbody th { color: var(--ivory); background: rgba(230, 184, 74, 0.1); }
.is-band .compare-table tbody td { color: var(--mist); }
/* Italic lede on default-theme pages */
.lede { font-family: var(--font-display); font-style: italic; font-weight: 600; font-size: 1.15rem; line-height: 1.6; color: var(--vault); border-left: 3px solid var(--gold); padding-left: 1.25rem; margin: 0 0 clamp(2.5rem, 5vw, 4rem); }

/* Site-wide nav: current page */
.site-nav a[aria-current="page"] { color: var(--ivory); border-color: var(--gold); }

/* Keep wide content (tables) from stretching the single-column article grid on small screens */
.article-inner { grid-template-columns: 16rem minmax(0, 1fr); }
.article-body { min-width: 0; }
.table-wrap { max-width: 100%; }
@media (max-width: 64rem) { .article-inner { grid-template-columns: minmax(0, 1fr); } }

/* ==========================================================================
   Site footer (both sites)
   ========================================================================== */
.site-footer { background: var(--vault-deep); color: var(--mist); border-top: 1px solid var(--line); padding: clamp(2.5rem, 5vw, 4rem) 0 2rem; font-size: 0.9rem; line-height: 1.6; }
.theme-paper .site-footer { background: var(--vault-deep); color: var(--mist); border-top-color: var(--line); }
.theme-paper .site-footer .brand { color: var(--ivory); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: 2rem 3rem; padding-bottom: 2rem; border-bottom: 1px solid var(--line); }
.footer-brand .brand { font-size: 1.2rem; margin-bottom: 0.75rem; }
.footer-brand p { margin: 0; max-width: 24rem; }
.footer-col h2 { margin: 0 0 0.8rem; font-family: var(--font-body); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.footer-col a { color: var(--mist); text-decoration: none; }
.footer-col a:hover, .footer-col a[aria-current] { color: var(--ivory); text-decoration: underline; text-underline-offset: 3px; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem 2rem; padding-top: 1.5rem; font-size: 0.8rem; }
.footer-legal p { margin: 0; max-width: 44rem; }
@media (max-width: 48rem) { .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; } }
