/* ============================================================
   FundingDependency.com — Site-wide stylesheet
   Design system carried forward from Journey Assessment prototype
   and the Caring-for-a-Parent landing page. "Trusted advisor" feel.
   ============================================================ */

/* ---------- 1. Design tokens ---------- */
:root {
  --navy:        #0F2C4C;
  --navy-dark:   #0A1F38;
  --navy-deep:   #071528;
  --gold:        #C89B3C;
  --gold-soft:   #E4C078;
  --gold-text:   #7C5E20; /* WCAG AA-safe (5.6:1+ against #f5f7fa, 6:1+ against white) gold for small text on light backgrounds */
  --slate:       #F5F7FA;
  --slate-2:     #EDF1F6;
  --border:      #DDE3EB;
  --ink:         #1A2332;
  --muted:       #5B6577;
  --white:       #FFFFFF;
  --red:         #B94A48;
  --amber-bg:    #FFF7E6;
  --amber-border:#E9C879;
  --green:       #2D6A4F;

  --font-display: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 12px;

  --gutter-x: clamp(24px, 5vw, 64px);

  --shadow-card: 0 1px 2px rgba(15, 44, 76, 0.04), 0 4px 12px rgba(15, 44, 76, 0.05);
  --shadow-lg:   0 4px 12px rgba(15, 44, 76, 0.08), 0 12px 32px rgba(15, 44, 76, 0.10);
}

/* ---------- 2. Base reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, textarea, select { font: inherit; color: inherit; }
table { border-collapse: collapse; width: 100%; }

.serif { font-family: var(--font-display); font-weight: 400; }

:focus-visible {
  outline: 3px solid var(--gold-soft);
  outline-offset: 2px;
  border-radius: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.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;
}

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--navy-deep); color: #fff;
  padding: 12px 18px; z-index: 200;
  border-radius: 0 0 var(--radius-sm) 0;
  font-size: 14px; font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { left: 0; }

/* ---------- 3. Layout containers ---------- */
.container         { max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter-x); }
.container-narrow  { max-width: 860px;  margin: 0 auto; padding: 0 var(--gutter-x); }
.container-text    { max-width: 720px;  margin: 0 auto; padding: 0 var(--gutter-x); }

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-block;
  padding: 15px 26px;
  font: 600 15px/1 var(--font-body);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: transform .15s ease, background-color .15s ease, color .15s ease, border-color .15s ease;
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
}
.btn-sm  { padding: 9px 18px; font-size: 13px; }
.btn-lg  { padding: 18px 34px; font-size: 17px; }
.btn-block { display: block; width: 100%; }
.btn:focus-visible { outline: 3px solid var(--gold-soft); outline-offset: 2px; }
.btn:disabled { opacity: .45; cursor: not-allowed; }

.btn-gold  { background: var(--gold); color: var(--navy-deep); font-weight: 700; }
.btn-gold:hover:not(:disabled) { background: #B88C33; transform: translateY(-1px); }

.btn-ghost {
  color: #fff;
  border-color: rgba(255,255,255,0.35);
  background: transparent;
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); }

.btn-ghost-dark {
  color: var(--navy);
  border-color: var(--navy);
  background: transparent;
}
.btn-ghost-dark:hover:not(:disabled) { background: var(--navy); color: #fff; }

/* .close-cta sections render on a dark navy-deep background; some pages apply
   .btn-ghost-dark (meant for light backgrounds) there by mistake, which drops
   contrast to ~1.3:1 (navy text on navy-deep bg). Force the light-on-dark
   ghost-button treatment whenever it appears inside a dark CTA banner. */
.close-cta .btn-ghost-dark {
  color: #fff;
  border-color: rgba(255,255,255,0.35);
}
.close-cta .btn-ghost-dark:hover:not(:disabled) { background: rgba(255,255,255,0.08); color: #fff; }

.btn-link {
  background: transparent;
  color: var(--navy);
  padding: 8px 14px;
  font-weight: 500;
  border: none;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}
.btn-link:hover { color: var(--navy-deep); }

.cta-row { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.cta-row-center { justify-content: center; }

/* ---------- 5. Header + nav ---------- */
.site-header { background: var(--navy-deep); color: #fff; position: sticky; top: 0; z-index: 50; }
.site-nav {
  max-width: 1240px;
  margin: 0 auto;
  padding: 14px var(--gutter-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; letter-spacing: .3px; text-decoration: none; color: #fff; font-size: 15px;
  flex-shrink: 0;
}
.brand-mark { color: var(--gold); display: flex; }
.brand-dot { color: var(--gold); }

.nav-links {
  display: flex;
  gap: 26px;
  font-size: 14px;
  flex-wrap: wrap;
}
/* Mobile-only CTA duplicate inside the nav dropdown — hidden at desktop
   widths where .nav-links displays inline; shown only inside the collapsed
   hamburger menu (see the ≤980px breakpoint below). */
.nav-cta-mobile-item { display: none; }
.nav-links a {
  color: #D8DEE8;
  text-decoration: none;
  font-weight: 500;
  padding: 4px 0;
  white-space: nowrap;
}
.nav-links a:hover, .nav-links a:focus-visible { color: #fff; }
.nav-links a.is-active { color: var(--gold); }

/* Forces "Resources" to always wrap onto the same line as "About George"
   at desktop widths where the nav overflows to a second row, regardless of
   how much space is left at the end of the first row. */
.nav-break { flex-basis: 100%; width: 100%; height: 0; margin: 0; padding: 0; list-style: none; }

.nav-cta { flex-shrink: 0; white-space: nowrap; }

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 40px; height: 40px;
  padding: 8px;
  cursor: pointer;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: #fff;
  margin: 5px 0;
  border-radius: 1px;
}

/* Resources dropdown submenu (desktop hover/focus, mobile always-open). */
.nav-item.has-submenu { position: relative; }
.nav-link-parent { display: inline-flex; align-items: center; gap: 4px; }
.nav-caret { font-size: 10px; color: #9AA6B8; transition: transform .15s ease; position: relative; top: 1px; }
.nav-item.has-submenu:hover .nav-caret,
.nav-item.has-submenu:focus-within .nav-caret { transform: rotate(-180deg); color: #fff; }
.nav-submenu {
  list-style: none;
  margin: 0;
  padding: 8px;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--navy-deep);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 28px rgba(0,0,0,0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .15s ease, transform .15s ease, visibility .15s ease;
  z-index: 70;
}
.nav-item.has-submenu:hover .nav-submenu,
.nav-item.has-submenu:focus-within .nav-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-submenu li { padding: 0; }
.nav-submenu a {
  display: block;
  padding: 9px 12px;
  border-radius: 6px;
  font-size: 13.5px;
  white-space: nowrap;
}
.nav-submenu a:hover, .nav-submenu a:focus-visible { background: rgba(255,255,255,0.08); }
.nav-submenu a.is-active { color: var(--gold); }

.breadcrumb {
  background: var(--slate);
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  color: var(--muted);
  padding: 12px 0;
}
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--navy); }
.crumb-sep { margin: 0 8px; color: #B8BFCB; }
.crumb-current { color: var(--navy); font-weight: 600; }

/* ---------- 6. Kicker + shared section typography ---------- */
.kicker {
  display: inline-block;
  color: var(--gold-text);
  font-size: 12px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 20px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--gold);
}
.section-kicker {
  display: block;
  color: var(--gold-text);
  font-size: 12px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 14px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.15;
  color: var(--navy-deep);
  margin-bottom: 14px;
  letter-spacing: -0.3px;
}
.section-title-sm {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 28px);
  line-height: 1.2;
  color: var(--navy-deep);
  margin-bottom: 10px;
}
.section-lede {
  font-size: 17px;
  color: var(--muted);
  max-width: 720px;
  margin-bottom: 44px;
  line-height: 1.6;
}
.section-lede-sm {
  font-size: 15px;
  color: var(--muted);
  max-width: 640px;
  margin-bottom: 24px;
  line-height: 1.6;
}

/* ---------- 7. Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: #fff;
  padding: 72px 0 64px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 45%;
  background: radial-gradient(circle at 70% 40%, rgba(200,155,60,0.18) 0%, transparent 60%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 56px;
  align-items: center;
  position: relative;
}
.hero-inner.hero-solo { grid-template-columns: 1fr; max-width: 760px; }
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.5px;
  margin-bottom: 22px;
}
.hero h1 em { color: var(--gold-soft); font-style: italic; }
.hero .lede {
  font-size: 18px;
  color: #D3DBE6;
  max-width: 560px;
  margin-bottom: 30px;
  line-height: 1.6;
}

.hero-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(228, 192, 120, 0.4);
  border-radius: var(--radius-md);
  padding: 32px;
  backdrop-filter: blur(8px);
}
.hero-card .subhead {
  font-size: 13px;
  color: var(--gold-soft);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 6px;
}
.hero-card-title {
  font-family: var(--font-display);
  font-size: 22px;
  margin-bottom: 8px;
}
.hero-card p { color: #C9D2DF; font-size: 14px; margin-bottom: 18px; }
.hero-card-list li {
  padding: 9px 0;
  border-bottom: 1px solid rgba(255,255,255,0.09);
}
.hero-card-list li:last-child { border-bottom: none; }
.hero-card-list li a {
  color: #E8EDF3;
  text-decoration: none;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-card-list li a:hover { color: #fff; }
.hero-card-list li a::before {
  content: "\2192";
  color: var(--gold);
  font-weight: 700;
}

/* Page header (interior pages, smaller than home hero) */
.page-header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: #fff;
  padding: 52px 0 48px;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: "";
  position: absolute; top: 0; right: 0; bottom: 0; width: 40%;
  background: radial-gradient(circle at 70% 40%, rgba(200,155,60,0.16) 0%, transparent 60%);
  pointer-events: none;
}
.page-header-inner { position: relative; max-width: 760px; }

.state-hero-graphic-svg {
  position: absolute;
  top: 50%;
  right: 6%;
  transform: translateY(-50%);
  width: 200px;
  max-height: 78%;
  opacity: 0.92;
  pointer-events: none;
  z-index: 0;
}
.state-hero-graphic-svg path,
.state-hero-graphic-svg circle {
  fill: var(--flag-color, #5B6B7F);
  stroke: rgba(255,255,255,0.75);
  stroke-width: 2;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
@media (max-width: 900px) {
  .state-hero-graphic-svg { display: none; }
}

.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.15;
  margin-bottom: 14px;
  letter-spacing: -0.4px;
}
.page-header .lede { color: #D3DBE6; font-size: 17px; line-height: 1.6; max-width: 640px; }
.page-header .tag-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }

/* Decorative hero banner strip (auto-generated, brand-matched) */
.hero-banner { width: 100%; overflow: hidden; background: var(--navy-deep); line-height: 0; }
.hero-banner img { display: block; width: 100%; height: auto; max-height: 200px; object-fit: cover; object-position: left center; }
@media (max-width: 640px) { .hero-banner img { max-height: 130px; } }

.tag-chip {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .5px;
  color: var(--navy-deep);
  background: var(--gold-soft);
  padding: 6px 12px;
  border-radius: 999px;
}

/* ---------- 8. Triage strip (shared component) ---------- */
.triage {
  background: var(--amber-bg);
  border-top: 3px solid var(--gold);
  padding: 40px 0;
}
.triage h2 {
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--navy-deep);
  margin-bottom: 6px;
}
.section-sub { color: var(--muted); margin-bottom: 22px; font-size: 15px; }

.triage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.triage-card {
  background: #fff;
  border: 1px solid var(--amber-border);
  border-left: 5px solid var(--gold);
  padding: 22px 24px;
  border-radius: var(--radius-sm);
}
.triage-card .tag {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 8px;
  display: block;
}
.triage-card.triage-mid .tag  { color: var(--gold-text); }
.triage-card.triage-plan .tag { color: var(--green); }
.triage-card h3 { font-size: 17px; color: var(--navy-deep); margin-bottom: 8px; font-weight: 700; }
.triage-card p  { font-size: 14px; color: var(--ink); margin-bottom: 12px; }
.triage-card a  {
  font-size: 13px;
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1.5px solid var(--gold);
  padding-bottom: 1px;
}
.triage-card a:hover { color: var(--navy-deep); }

/* ---------- 9. Generic content sections ---------- */
.section { padding: 72px 0; }
.section-alt { background: var(--slate); }
.section-tight { padding: 48px 0; }

/* Two-column card grids */
.signs-grid, .two-col-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.card-basic {
  background: #fff;
  padding: 28px 30px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}
.card-basic h3 {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--navy);
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
  font-weight: 400;
}
.card-basic li {
  padding: 10px 0 10px 22px;
  font-size: 15px;
  color: var(--ink);
  position: relative;
  border-bottom: 1px solid var(--slate-2);
}
.card-basic li:last-child { border-bottom: none; }
.card-basic li::before {
  content: "";
  position: absolute;
  left: 0; top: 18px;
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
}

/* Pillar shortlist / grid (used on who-we-help and pillars hub) */
.pillars-intro {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 44px;
}
.pillars-intro .section-lede { margin-bottom: 0; }
.pillars-note {
  background: var(--slate);
  border-left: 4px solid var(--gold);
  padding: 22px 24px;
  font-size: 14px;
  color: var(--ink);
  line-height: 1.6;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.pillars-note strong { color: var(--navy-deep); }

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.pillar-grid.pillar-grid-3 { grid-template-columns: repeat(3, 1fr); }
.pillar {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px 28px;
  background: #fff;
  display: flex;
  gap: 22px;
  align-items: flex-start;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.pillar:hover {
  transform: translateY(-2px);
  border-color: var(--gold-soft);
  box-shadow: var(--shadow-card);
}
.pillar .num {
  font-family: var(--font-display);
  font-size: 40px;
  color: var(--gold-text);
  line-height: 1;
  min-width: 40px;
  flex-shrink: 0;
}
.pillar h3 { font-size: 17px; color: var(--navy-deep); margin-bottom: 8px; font-weight: 700; }
.pillar h3 a { color: inherit; text-decoration: none; }
.pillar h3 a:hover { color: var(--navy); }
.pillar p { font-size: 14px; color: var(--muted); margin-bottom: 10px; line-height: 1.55; }
.pillar .best-for { font-size: 12px; color: var(--navy); font-weight: 600; letter-spacing: 0.3px; }
.pillar .best-for-label { color: var(--muted); font-weight: 500; }

/* Journey band */
.journey-band {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: #fff;
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}
.journey-band::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft), var(--gold));
}
.journey-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 52px;
  align-items: center;
}
.journey-band h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.15;
  margin-bottom: 16px;
}
.journey-band h2 em { color: var(--gold-soft); font-style: italic; }
.journey-band p { color: #CDD5E1; font-size: 16px; margin-bottom: 26px; max-width: 560px; }
.journey-features { display: grid; gap: 14px; margin-bottom: 30px; }
.journey-features li {
  display: flex;
  gap: 14px;
  color: #E4E9F1;
  font-size: 15px;
  align-items: flex-start;
}
.journey-features .bullet {
  color: var(--gold);
  font-weight: 700;
  min-width: 22px;
}
.journey-stat-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(228,192,120,0.35);
  border-radius: var(--radius-md);
  padding: 32px 30px;
  text-align: center;
}
.journey-stat-card .big {
  font-family: var(--font-display);
  font-size: 72px;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}
.journey-stat-card .lbl {
  font-size: 13px;
  color: #B8C1CE;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 20px;
}
.journey-stat-card .desc {
  font-size: 14px;
  color: #D8DEE8;
  margin-bottom: 22px;
  line-height: 1.55;
}

/* Resource cards */
.resource-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.resource-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease;
}
.resource-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}
.resource-card .type {
  font-size: 11px;
  color: var(--gold-text);
  letter-spacing: 1.8px;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 10px;
}
.resource-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--navy-deep);
  margin-bottom: 10px;
  line-height: 1.25;
  font-weight: 400;
}
.resource-card p { font-size: 14px; color: var(--muted); flex-grow: 1; margin-bottom: 16px; line-height: 1.55; }
.resource-card a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
  font-size: 14px;
  border-bottom: 1.5px solid var(--gold);
  padding-bottom: 2px;
  align-self: flex-start;
}
.resource-card a:hover { color: var(--navy-deep); }

/* Evidence Hub — claim / source / date-checked / explanation cards */
.evidence-intro-box {
  background: var(--slate);
  border-left: 4px solid var(--gold);
  padding: 20px 24px;
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 32px;
}
.evidence-intro-box strong { color: var(--navy-deep); }
.evidence-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.evidence-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 26px;
  box-shadow: var(--shadow-card);
}
.evidence-card .claim {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 400;
  color: var(--navy-deep);
  line-height: 1.35;
  margin-bottom: 12px;
}
.evidence-card .evidence-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--slate-2);
}
.evidence-card .evidence-meta strong { color: var(--navy); font-weight: 600; }
.evidence-card .evidence-meta a { color: var(--navy); text-decoration: none; border-bottom: 1px solid var(--gold); }
.evidence-card .evidence-meta a:hover { color: var(--gold); }
.evidence-card .explanation { font-size: 14.5px; color: var(--ink); line-height: 1.65; margin: 0; }

/* About page — quick facts strip */
.about-quickfacts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 32px 0 0;
}
.about-quickfacts .fact {
  background: var(--slate);
  border-radius: var(--radius-sm);
  padding: 18px 16px;
  text-align: center;
}
.about-quickfacts .fact .num {
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--navy-deep);
  display: block;
  margin-bottom: 4px;
}
.about-quickfacts .fact .label {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
}

/* About page — career timeline */
.about-timeline { display: grid; gap: 22px; margin: 28px 0; }
.about-timeline .entry {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--slate-2);
}
.about-timeline .entry:last-child { border-bottom: none; padding-bottom: 0; }
.about-timeline .year {
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--gold-soft);
  background: var(--navy-deep);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  text-align: center;
  height: fit-content;
}
.about-timeline .detail h3 {
  font-size: 16px;
  color: var(--navy-deep);
  margin: 0 0 6px;
}
.about-timeline .detail p {
  font-size: 14.5px;
  color: var(--ink);
  line-height: 1.65;
  margin: 0 0 6px;
}
.about-timeline .detail .src {
  font-size: 12.5px;
  color: var(--muted);
}
.about-timeline .detail .src a { color: var(--navy); text-decoration: none; border-bottom: 1px solid var(--gold); }
.about-timeline .detail .src a:hover { color: var(--gold); }

/* About page — portrait photo */
.about-portrait-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 1;
  border-radius: var(--radius-lg);
}

/* About page — social/profile link row */
.about-profile-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }

/* Related reading band */
.related-reading {
  background: var(--slate);
  padding: 56px 0;
  border-top: 1px solid var(--border);
}
.related-reading .btn { margin-top: 6px; }
.related-reading-blog-links {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.related-reading-blog-heading {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin: 0 0 10px;
}
.related-reading-blog-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.related-reading-blog-list a {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy-deep);
  text-decoration: none;
}
.related-reading-blog-list a:hover { color: var(--gold-text); text-decoration: underline; }

/* Closing CTA */
.close-cta {
  background: var(--navy-deep);
  color: #fff;
  padding: 72px 0;
  text-align: center;
}
.close-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 14px;
  line-height: 1.15;
}
.close-cta p {
  color: #C9D2DF;
  font-size: 17px;
  max-width: 640px;
  margin: 0 auto 30px;
}

/* ---------- 10. Pillar detail page ---------- */
.pillar-detail-grid {
  display: grid;
  grid-template-columns: 2.1fr 1fr;
  gap: 48px;
  align-items: start;
  padding: 56px 0 72px;
}
.pillar-body-content { min-width: 0; }
.pillar-body-content h2 {
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--navy-deep);
  margin: 44px 0 16px;
  font-weight: 400;
}
.pillar-body-content h2:first-child { margin-top: 0; }
.pillar-body-content p {
  font-size: 16px;
  color: var(--ink);
  margin-bottom: 18px;
  line-height: 1.7;
  max-width: 68ch;
}
.pillar-body-content ul { margin-bottom: 18px; display: grid; gap: 10px; }
.pillar-body-content ul li {
  font-size: 15px;
  color: var(--ink);
  line-height: 1.6;
  padding-left: 22px;
  position: relative;
}
.pillar-body-content ul li::before {
  content: "\25C6";
  color: var(--gold);
  font-size: 11px;
  position: absolute;
  left: 0;
  top: 3px;
}
.stat-callout {
  background: var(--slate);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 20px 24px;
  margin: 24px 0;
  font-size: 15px;
  color: var(--ink);
  line-height: 1.6;
}
.stat-callout strong { color: var(--navy-deep); }
.supply-callout { border-left-color: var(--navy); }
.supply-state-note { display: block; margin-top: 8px; font-size: 13px; color: var(--muted); font-style: italic; line-height: 1.5; }

/* Financial-aid indicator: header (dark bg) + hub panel (light bg) variants */
.aid-indicator {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(228,192,120,0.45);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-top: 20px;
  max-width: 640px;
}
.aid-indicator-icon {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
  margin-top: 1px;
}
.aid-indicator[data-aid="yes"] .aid-indicator-icon { background: var(--gold-soft); color: var(--navy-deep); }
.aid-indicator[data-aid="na"] .aid-indicator-icon { background: rgba(255,255,255,0.18); color: #fff; }
.aid-indicator-body { flex: 1; min-width: 0; }
.aid-indicator-title { font-weight: 700; font-size: 14.5px; color: #fff; margin: 0 0 4px; letter-spacing: .1px; }
.aid-indicator-programs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.aid-indicator-programs li { font-size: 13.5px; color: #D3DBE6; line-height: 1.5; }
.aid-indicator-programs a { color: var(--gold-soft); text-decoration: underline; text-underline-offset: 2px; }
.aid-indicator-programs a:hover { color: #fff; }
.aid-indicator-sep { opacity: .55; margin: 0 4px; }

/* Published dollar-amount line, nested inside an .aid-indicator-programs li */
.aid-amount {
  margin-top: 5px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
}
.aid-amount-value { color: var(--gold-soft); font-weight: 700; font-size: 13.5px; }
.aid-amount-type { font-size: 12px; color: #9FB0C6; font-style: italic; }
.aid-amount-cite { font-size: 12px; color: var(--gold-soft); text-decoration: underline; text-underline-offset: 2px; }
.aid-amount-cite:hover { color: #fff; }
.aid-amount-note { flex: 1 1 100%; font-size: 12px; color: #9FB0C6; line-height: 1.5; margin-top: 1px; }

/* Compact hub-panel variant (light background) */
.state-panel-aid {
  margin: 4px 0 18px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--slate);
  font-size: 13.5px;
  line-height: 1.55;
}
.state-panel-aid[data-aid="yes"] { border-left: 4px solid var(--green); }
.state-panel-aid[data-aid="na"] { border-left: 4px solid var(--border); }
.state-panel-aid strong { color: var(--navy-deep); }
.state-panel-aid a { color: var(--navy); text-decoration: underline; text-underline-offset: 2px; }
.state-panel-aid a:hover { color: var(--gold); }

/* Case study section */
.case-study-card {
  background: var(--slate);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px 28px;
  margin: 20px 0 28px;
}
.case-study-card .case-study-eyebrow {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--gold-soft);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.case-study-intro { font-size: 15.5px; line-height: 1.65; color: var(--ink); }
.case-study-timeline { list-style: none; margin: 20px 0; padding: 0; border-left: 3px solid var(--gold-soft); }
.case-study-timeline li { position: relative; padding: 2px 0 20px 22px; }
.case-study-timeline li::before {
  content: "";
  position: absolute; left: -8px; top: 6px;
  width: 13px; height: 13px; border-radius: 50%;
  background: var(--navy); border: 2px solid var(--gold-soft);
}
.case-study-timeline li:last-child { padding-bottom: 0; }
.case-study-stage-title { font-weight: 700; color: var(--navy-deep); font-size: 15.5px; margin-bottom: 2px; }
.case-study-stage-meta { font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.case-study-stage-note { font-size: 14px; color: var(--ink); line-height: 1.55; margin-bottom: 6px; }
.case-study-stage-cost { font-size: 14.5px; font-weight: 700; color: var(--navy); }
.case-study-stage-cost .stage-cost-total { color: var(--navy-deep); }
.case-study-total {
  background: var(--navy-deep);
  color: #fff;
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 20px 0;
}
.case-study-total .total-figure { font-family: var(--font-display); font-size: clamp(26px, 3.4vw, 34px); color: var(--gold-soft); font-weight: 700; }
.case-study-total p { color: #D3DBE6; font-size: 14px; margin-top: 6px; }
.case-study-disclaimer {
  font-size: 12.5px;
  color: var(--muted);
  border-top: 1px solid var(--border);
  padding-top: 14px;
  margin-top: 18px;
  line-height: 1.6;
}

/* Hub-page case-study teaser (below the map, swaps with state selection) */
.case-study-teaser {
  margin-top: 28px;
  background: var(--slate);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-md);
  padding: 26px 30px;
}
.case-study-teaser .case-study-eyebrow {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--gold-soft);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.case-study-teaser-title { font-family: var(--font-display); font-size: 22px; color: var(--navy-deep); margin: 0 0 10px; }
.case-study-teaser-body { font-size: 15px; line-height: 1.6; color: var(--ink); margin-bottom: 16px; }
.case-study-teaser-total {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  background: var(--navy-deep);
  color: #fff;
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  margin-bottom: 16px;
}
.case-study-teaser-total .total-figure { font-family: var(--font-display); font-size: 24px; font-weight: 700; color: var(--gold-soft); }
.case-study-teaser-total .total-caption { font-size: 13px; color: #D3DBE6; line-height: 1.4; }
.data-table-wrap { overflow-x: auto; margin: 24px 0 32px; border: 1px solid var(--border); border-radius: var(--radius-md); }
.data-table { font-size: 14px; }
.data-table th, .data-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--border); }
.data-table th { background: var(--slate); color: var(--navy-deep); font-weight: 700; font-size: 12.5px; letter-spacing: .3px; text-transform: uppercase; white-space: nowrap; }
.data-table td { color: var(--ink); }
.data-table tr:last-child td { border-bottom: none; }

/* Medicare/Medicaid/State-Aid "what each program pays" table (hub + state pages) */
/* Eligibility footnotes when placed near the map (hub) / state hero (state pages), above the case study + table */
.pay-table-footnotes-top { margin: 0 0 32px; }
.pay-table-footnotes-top .pay-table-footnotes { max-width: 720px; }
/* On the hub, the footnotes live inside .state-map-col so they're narrowed to
   the map's own column width, directly under the map -- not the full container. */
.state-map-col .pay-table-footnotes-top { margin: 14px 0 0; }
.state-map-col .pay-table-footnotes-top .pay-table-footnotes { max-width: none; background: #fff; }
.pay-table-wrap { margin: 20px 0 32px; }
.pay-table-wrap .data-table-wrap { margin: 0 0 14px; overflow-x: visible; }
.pay-table-wrap .data-table { table-layout: fixed; width: 100%; }
.pay-table-wrap .data-table th:nth-child(1), .pay-table-wrap .data-table td:nth-child(1) { width: 14%; }
.pay-table-wrap .data-table th:nth-child(2), .pay-table-wrap .data-table td:nth-child(2) { width: 24%; }
.pay-table-wrap .data-table th:nth-child(3), .pay-table-wrap .data-table td:nth-child(3) { width: 30%; }
.pay-table-wrap .data-table th:nth-child(4), .pay-table-wrap .data-table td:nth-child(4) { width: 32%; }
.pay-table-wrap .data-table th { white-space: normal; }
.pay-table-wrap .data-table td { vertical-align: top; word-wrap: break-word; overflow-wrap: break-word; }
.pay-cell-value { font-weight: 700; color: var(--navy-deep); font-size: 13.5px; line-height: 1.5; }
.pay-cell-value.cost-na { font-weight: 400; color: var(--muted); font-style: italic; }
.pay-cell-note { font-size: 12px; color: var(--muted); line-height: 1.5; margin-top: 5px; }
.pay-cell-pct { font-size: 12.5px; color: var(--navy); line-height: 1.5; margin-top: 6px; font-weight: 500; }
.pay-cell-pct strong { font-weight: 800; }
.pay-cell-note a, .pay-cell-cite { color: var(--navy); text-decoration: underline; text-underline-offset: 2px; }
.pay-cell-note a:hover, .pay-cell-cite:hover { color: var(--gold); }
.pay-cell-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.pay-cell-list li { font-size: 13px; color: var(--ink); line-height: 1.5; }
.pay-cell-list a { color: var(--navy); text-decoration: underline; text-underline-offset: 2px; }
.pay-cell-list a:hover { color: var(--gold); }
.pay-asterisk { color: var(--gold); font-weight: 800; }
.pay-table-footnotes {
  background: var(--slate);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
}
.pay-table-footnotes-title { font-weight: 700; font-size: 12.5px; color: var(--navy-deep); margin: 0 0 8px; text-transform: uppercase; letter-spacing: .3px; }
.pay-table-footnotes ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.pay-table-footnotes li { font-size: 12.5px; color: var(--muted); line-height: 1.6; }
.pay-table-footnotes strong { color: var(--navy); }
.pay-table-footnotes-pointer { font-size: 12px; color: var(--muted); font-style: italic; line-height: 1.5; margin: 10px 0 0; }

/* Hub-page swappable panel wrapper for the pay table (below case-study teaser) */
.pay-table-panel {
  margin-top: 28px;
  background: #fff;
  border: 1px solid var(--border);
  border-left: 4px solid var(--navy);
  border-radius: var(--radius-md);
  padding: 26px 30px;
}
.pay-table-eyebrow {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: #fff;
  background: var(--navy);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.pay-table-title { font-family: var(--font-display); font-size: 22px; color: var(--navy-deep); margin: 0 0 10px; }
.pay-table-intro { font-size: 14.5px; line-height: 1.6; color: var(--ink); margin-bottom: 4px; }
@media (max-width: 767px) {
  .pay-table-wrap .data-table-wrap { overflow-x: auto; }
  .pay-table-wrap .data-table { table-layout: auto; width: auto; min-width: 620px; }
  .pay-table-wrap .data-table th, .pay-table-wrap .data-table td { width: auto; }
}
@media (max-width: 640px) {
  .pay-table-panel { padding: 20px 18px; }
  .pay-cell-list, .pay-cell-note, .pay-cell-value { font-size: 12.5px; }
}

.pillar-sidebar { display: grid; gap: 20px; align-self: start; position: sticky; top: 96px; }
.sidebar-card {
  background: var(--slate);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
}
.sidebar-card h3 { font-size: 15px; color: var(--navy-deep); margin-bottom: 10px; font-weight: 700; }
.sidebar-card p { font-size: 13.5px; color: var(--muted); line-height: 1.55; margin-bottom: 14px; }
.sidebar-card .btn { width: 100%; }
.sidebar-card ul { display: grid; gap: 8px; }
.sidebar-card ul li a {
  font-size: 13.5px;
  color: var(--navy);
  text-decoration: none;
  display: block;
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
}
.sidebar-card ul li:last-child a { border-bottom: none; }
.sidebar-card ul li a:hover { color: var(--navy-deep); text-decoration: underline; }
.sidebar-card.card-dark { background: var(--navy-deep); border-color: var(--navy); }
.sidebar-card.card-dark h3 { color: #fff; }
.sidebar-card.card-dark p { color: #C9D2DF; }

.when-applies-list { display: grid; gap: 10px; margin-bottom: 0 !important; }
.when-applies-list li { font-size: 13.5px !important; }

/* Compliance disclosure (inline, non-footer contexts e.g. assessment results) */
.compliance-box {
  background: var(--slate);
  border-left: 4px solid var(--navy);
  padding: 22px 26px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 44px 0;
}
.compliance-box h3 {
  font-size: 12px;
  color: var(--navy-deep);
  letter-spacing: 1.8px;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 8px;
}
.compliance-box p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

/* ---------- 11. About page ---------- */
.about-hero-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: center; }
.about-portrait {
  aspect-ratio: 1/1;
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-dark) 60%, var(--navy-deep) 100%);
  border: 1px solid rgba(228,192,120,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.about-portrait::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(200,155,60,0.25) 0%, transparent 55%);
}
.about-portrait-initials {
  font-family: var(--font-display);
  font-size: 96px;
  color: var(--gold-soft);
  position: relative;
  letter-spacing: -2px;
}
.credentials-list { display: grid; gap: 14px; margin: 28px 0; }
.credentials-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--ink);
  padding: 14px 18px;
  background: var(--slate);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--gold);
}
.credentials-list .cred-num { color: var(--gold-text); font-weight: 700; font-family: var(--font-display); font-size: 18px; min-width: 24px; }

/* ---------- 12. Contact form ---------- */
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: start; }
.form-card {
  background: var(--slate);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.form-row { margin-bottom: 20px; }
.form-row label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy-deep);
  margin-bottom: 8px;
}
.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="tel"],
.form-row textarea {
  width: 100%;
  padding: 13px 16px;
  font: 400 15px var(--font-body);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
}
.form-row input:focus, .form-row textarea:focus {
  outline: 3px solid var(--gold-soft);
  outline-offset: 1px;
  border-color: var(--gold);
}
.form-row textarea { min-height: 120px; resize: vertical; }
.form-checkbox { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink); }
.form-checkbox input { margin-top: 3px; flex-shrink: 0; width: 16px; height: 16px; }
.form-note {
  font-size: 13px;
  color: var(--muted);
  background: var(--amber-bg);
  border: 1px solid var(--amber-border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-top: 20px;
  line-height: 1.55;
}
.contact-info-card { padding-top: 4px; }
.contact-info-card h2 { font-family: var(--font-display); font-size: 22px; color: var(--navy-deep); margin-bottom: 14px; font-weight: 400; }
.contact-info-card p { font-size: 15px; color: var(--muted); margin-bottom: 14px; line-height: 1.6; }

/* ---------- 12b. Blog & FAQ ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 8px; }
.blog-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px 24px 24px;
  box-shadow: var(--shadow-card);
}
.blog-card .blog-date {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--gold-text);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}
.blog-card h3 { font-size: 18px; color: var(--navy-deep); margin-bottom: 10px; font-weight: 700; line-height: 1.3; }
.blog-card h3 a { color: inherit; text-decoration: none; }
.blog-card h3 a:hover { color: var(--navy); text-decoration: underline; }
.blog-card p { font-size: 14px; color: var(--muted); flex-grow: 1; margin-bottom: 16px; line-height: 1.55; }
.blog-card a.read-more {
  color: var(--navy);
  font-weight: 600;
  font-size: 13.5px;
  text-decoration: none;
}
.blog-card a.read-more:hover { color: var(--gold); }
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  font-size: 13.5px;
  color: var(--muted);
  margin: 4px 0 8px;
}
.article-meta strong { color: var(--navy-deep); }
.article-body { font-size: 16.5px; line-height: 1.8; color: var(--ink); }
.article-body h2 { font-family: var(--font-display); font-size: 26px; color: var(--navy-deep); margin: 40px 0 16px; font-weight: 400; }
.article-body h3 { font-size: 19px; color: var(--navy-deep); margin: 28px 0 12px; font-weight: 700; }
.article-body p { margin-bottom: 18px; }
.article-body ul, .article-body ol { margin: 0 0 18px 22px; }
.article-body li { margin-bottom: 8px; }
.article-body a { color: var(--navy); text-decoration: underline; text-decoration-color: var(--border); }
.article-body a:hover { text-decoration-color: var(--navy); }
.citation-box {
  background: var(--slate);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  margin: 28px 0;
  font-size: 14.5px;
  color: var(--ink);
  line-height: 1.65;
}
.citation-box strong { color: var(--navy-deep); }
.blog-tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 4px; }
.blog-tag {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--navy);
  background: var(--slate-2);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 5px 12px;
}
.faq-list { display: grid; gap: 12px; margin-top: 8px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 24px;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy-deep);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 22px;
  color: var(--gold-text);
  flex-shrink: 0;
  font-family: var(--font-display);
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item[open] summary { border-bottom: 1px solid var(--border); }
.faq-answer { padding: 4px 24px 20px; font-size: 15px; color: var(--ink); line-height: 1.7; }
.faq-answer p { margin-bottom: 12px; }
.faq-answer a { color: var(--navy); }

/* ---------- 13. Footer ---------- */
.site-footer {
  background: #050D19;
  color: #8994A5;
  padding: 36px 0 26px;
  font-size: 12px;
  text-align: center;
  border-top: 3px solid var(--gold);
  line-height: 1.6;
}
.footer-inner { display: flex; flex-direction: column; gap: 18px; align-items: center; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; }
.footer-links a { color: #B8C1CE; text-decoration: none; font-size: 13px; font-weight: 500; }
.footer-links a:hover { color: var(--gold-soft); }
.footer-nap { max-width: 780px; color: #8994A5; font-size: 9pt; margin: 4px 0 0; }
.disclosure { max-width: 780px; color: var(--muted); }
/* .disclosure also appears inside the dark site-footer (in addition to
   light-background page sections); var(--muted) fails contrast there, so
   restore the footer-safe gray already proven against the dark footer bg. */
.site-footer .disclosure { color: #8994A5; }
.site-footer strong { color: #B8C1CE; }
.footer-credit { max-width: 780px; color: #8994A5; font-size: 9pt; margin-top: 4px; }
.footer-credit a { color: #B8C1CE; text-decoration: underline; }
.footer-credit a:hover { color: var(--gold-soft); }

/* ============================================================
   14. RESPONSIVE — tablet (<= 900px) and mobile (<= 640px)
   ============================================================ */

@media (max-width: 900px) {
  .hero { padding: 56px 0 48px; }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .triage-grid, .signs-grid, .two-col-grid, .pillar-grid, .pillar-grid.pillar-grid-3, .resource-grid, .blog-grid, .evidence-grid {
    grid-template-columns: 1fr;
  }
  .about-quickfacts { grid-template-columns: repeat(2, 1fr); }
  .about-timeline .entry { grid-template-columns: 1fr; gap: 8px; }
  .about-timeline .year { width: fit-content; }
  .pillars-intro { grid-template-columns: 1fr; gap: 20px; }
  .journey-inner { grid-template-columns: 1fr; gap: 32px; }
  .section, .close-cta { padding: 56px 0; }
  .pillar-detail-grid { grid-template-columns: 1fr; gap: 40px; }
  .pillar-sidebar { position: static; }
  .about-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-portrait { max-width: 280px; margin: 0 auto; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* Nav switches to hamburger mode starting at 980px — the nav-links + CTA
   combination no longer fits inline below roughly 960px (measured), so the
   collapse happens with headroom above the 900px content-stacking breakpoint
   to avoid a wrapped, overlapping nav bar on tablet widths. */
@media (max-width: 980px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--navy-deep);
    flex-direction: column;
    gap: 0;
    padding: 12px 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    z-index: 60;
  }
  .nav-links.is-open { display: flex; }
  .nav-links li { padding: 0; width: 100%; }
  .nav-links a { display: block; padding: 12px 24px; }
  .nav-toggle { display: block; }
  .site-nav { position: relative; flex-wrap: nowrap; }
  .nav-cta { display: none; }
  .nav-links li.nav-cta-mobile-item { display: block; width: calc(100% - 48px); margin: 8px 24px 4px; list-style: none; box-sizing: border-box; }
  .nav-links a.nav-cta-mobile { display: block; text-align: center; width: 100%; box-sizing: border-box; padding: 13px 20px; }

  /* Resources submenu: no hover on touch, so render it as an always-open,
     indented nested list right under "Resources" instead of a dropdown. */
  .nav-caret { display: none; }
  .nav-submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    border-radius: 0;
    background: rgba(0,0,0,0.15);
    padding: 0;
    margin: 0 0 4px;
  }
  .nav-submenu a { padding: 10px 24px 10px 40px; font-size: 13.5px; color: #C3CBD8; }
}

@media (max-width: 640px) {
  .brand-text { font-size: 13.5px; }

  .hero h1, .page-header h1 { font-size: 30px; }
  .hero .lede, .page-header .lede { font-size: 16px; }
  .cta-row .btn { width: 100%; text-align: center; }

  .card-basic { padding: 22px 20px; }
  .pillar { flex-direction: column; gap: 12px; }
  .pillar .num { font-size: 32px; }
  .footer-links { gap: 12px 16px; }
  .disclosure { font-size: 11.5px; }
}

/* ============================================================
   15. Accessibility helpers
   ============================================================ */
a, button, [role="button"], input, textarea, select {
  transition: color .15s ease, background-color .15s ease, border-color .15s ease, box-shadow .15s ease;
}

/* ============================================================
   16. Subscription wall (pillar detail gate)
   ============================================================ */
.gate-container {
  position: relative;
  margin-top: 8px;
}
.gate-content-blur {
  filter: blur(5px);
  user-select: none;
  pointer-events: none;
  max-height: 480px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, black 25%, transparent 92%);
  mask-image: linear-gradient(to bottom, black 25%, transparent 92%);
}
.gate-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 48px;
}
.gate-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 32px 28px;
  max-width: 420px;
  width: 92%;
  text-align: center;
}
.gate-lock {
  color: var(--gold);
  margin: 0 auto 12px;
}
.gate-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--navy);
  margin: 0 0 10px;
}
.gate-card > p {
  font-size: 14.5px;
  color: var(--muted);
  margin: 0 0 4px;
  line-height: 1.5;
}
.gate-form { margin-top: 18px; text-align: left; }
.gate-form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-top: 14px;
  margin-bottom: 5px;
}
.gate-req { color: var(--red); }
.gate-opt { color: var(--muted); font-weight: 400; }
.gate-form input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
}
.gate-form input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200, 155, 60, 0.18);
}
.gate-form .btn { margin-top: 18px; }
.gate-disclaimer {
  font-size: 11.5px;
  color: var(--muted);
  margin: 12px 0 0;
  line-height: 1.4;
}
.gate-field-error {
  border-color: var(--red) !important;
}

/* Unlocked state: reveal content, remove overlay */
.gate-container.is-unlocked .gate-overlay { display: none; }
.gate-container.is-unlocked .gate-content-blur {
  filter: none;
  user-select: auto;
  pointer-events: auto;
  max-height: none;
  overflow: visible;
  -webkit-mask-image: none;
  mask-image: none;
}

@media (max-width: 640px) {
  .gate-card { padding: 26px 20px; }
  .gate-content-blur { max-height: 360px; }
}

/* Situation-page state cross-link list (Situation -> State -> Need resolution) */
.state-cross-link-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px 32px;
}
.state-cross-link-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border, #e5e7eb);
  font-size: 14px;
  line-height: 1.5;
}
.state-cross-link-list li a:first-child {
  font-weight: 700;
  color: var(--navy-deep);
}
@media (max-width: 720px) {
  .state-cross-link-list { grid-template-columns: 1fr; }
}

/* Scenario (flagship worked-example) page */
.scenario-profile {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.scenario-profile li {
  background: var(--slate, #f6f7fb);
  border-radius: 10px;
  padding: 14px 16px;
}
.scenario-profile .scenario-profile-label {
  display: block;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-bottom: 4px;
}
.scenario-profile .scenario-profile-value {
  font-weight: 700;
  color: var(--navy-deep);
  font-size: 15px;
}
.scenario-chain {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 20px 0;
}
.scenario-chain a {
  background: var(--navy-deep);
  color: #fff;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
}
.scenario-chain a:hover { opacity: 0.88; }
.scenario-chain .chain-arrow { color: var(--muted); font-size: 14px; }

/* Decision tables: real static HTML <table> mapping Situation/Profile -> Funding Pillars.
   Rendered server-side, no JS required to see or parse the data. */
.decision-table-wrap {
  overflow-x: auto;
  margin: 24px 0;
  border: 1px solid var(--border);
  border-radius: 10px;
}
table.decision-table {
  width: 100%;
  min-width: 640px;
  font-size: 14.5px;
  border-collapse: collapse;
}
table.decision-table caption {
  text-align: left;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  padding: 14px 18px 8px;
}
table.decision-table thead th {
  background: var(--navy-deep);
  color: #fff;
  text-align: left;
  padding: 12px 18px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
}
table.decision-table tbody th,
table.decision-table tbody td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  text-align: left;
  font-weight: 400;
}
table.decision-table tbody tr:last-child th,
table.decision-table tbody tr:last-child td {
  border-bottom: none;
}
table.decision-table tbody th {
  font-weight: 700;
  color: var(--navy-deep);
  white-space: nowrap;
}
table.decision-table tbody th a {
  color: var(--navy-deep);
  text-decoration: underline;
}
table.decision-table .decision-row-desc {
  display: block;
  font-weight: 400;
  color: var(--muted);
  font-size: 12.5px;
  white-space: normal;
  margin-top: 3px;
  max-width: 280px;
}
table.decision-table tbody td a {
  color: var(--navy-deep);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
}
table.decision-table tbody td a:hover { color: var(--gold); }

/* Supporting Articles grid (pillar pages) — a real static link grid to
   already-published blog posts, guides, and state-specific topic pages
   that support this pillar. */
.supporting-articles { margin-top: 44px; }
.supporting-articles-title { font-size: 20px; color: var(--navy-deep); margin-bottom: 16px; }
.article-chip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  list-style: none;
  padding: 0;
}
.article-chip {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  background: #fff;
}
.article-chip-kind {
  display: inline-block;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--gold-text);
  font-weight: 700;
  margin-bottom: 6px;
}
.article-chip a {
  display: block;
  font-size: 14px;
  color: var(--navy-deep);
  font-weight: 600;
  text-decoration: none;
  line-height: 1.4;
}
.article-chip a:hover { text-decoration: underline; color: var(--navy); }

/* Sources list (pillar pages) — the authoritative external links already
   cited inline in the pillar's own content, surfaced as one visible list. */
.pillar-sources { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border); }
.pillar-sources-title { font-size: 16px; color: var(--navy-deep); margin-bottom: 10px; }
.pillar-sources-list { display: grid; gap: 8px; font-size: 13.5px; color: var(--muted); list-style: none; padding: 0; }
.pillar-sources-list a { color: var(--navy); text-decoration: underline; text-decoration-color: var(--gold-soft); }
.pillar-sources-list a:hover { color: var(--navy-deep); }

@media (max-width: 900px) {
  .article-chip-grid { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------
   Sitewide "Ask a Question" widget (qa-bot.js). No LLM/API backend --
   client-side keyword search over /assets/qa-index.json, gated by the
   same name/email(+optional phone) pattern as .gate-form elsewhere,
   reusing .gate-form/.gate-req/.gate-opt/.gate-field-error/.gate-disclaimer
   styles from the pillar/state gates above for visual consistency.
   ------------------------------------------------------------ */
.qa-bot { position: fixed; right: 20px; bottom: 20px; z-index: 900; font-family: var(--font-body); }

.qa-bot-toggle {
  display: flex; align-items: center; gap: 8px;
  background: var(--navy-deep); color: #fff;
  border: none; border-radius: 999px;
  padding: 14px 20px; font: 600 14px/1 var(--font-body);
  cursor: pointer; box-shadow: var(--shadow-lg);
  transition: transform .15s ease, background .15s ease;
}
.qa-bot-toggle:hover { background: var(--navy); transform: translateY(-1px); }
.qa-bot-toggle:focus-visible { outline: 3px solid var(--gold-soft); outline-offset: 2px; }
.qa-bot-toggle-icon { color: var(--gold); flex-shrink: 0; }
.qa-bot-panel:not([hidden]) {
  position: absolute; right: 0; bottom: calc(100% + 12px);
  width: min(380px, calc(100vw - 40px));
  max-height: min(600px, calc(100vh - 120px));
  background: #fff; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); border: 1px solid var(--border);
  display: flex; flex-direction: column; overflow: hidden;
}

.qa-bot-header {
  background: var(--navy-deep); color: #fff;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; flex-shrink: 0;
}
.qa-bot-header-title { font-family: var(--font-display); font-size: 17px; font-weight: 400; }
.qa-bot-close {
  background: none; border: none; color: #fff; font-size: 22px; line-height: 1;
  cursor: pointer; padding: 0 4px; opacity: .8;
}
.qa-bot-close:hover { opacity: 1; }

.qa-bot-gate { padding: 18px 18px 20px; overflow-y: auto; }
.qa-bot-gate-intro { font-size: 13.5px; color: var(--muted); margin: 0 0 4px; line-height: 1.5; }
.qa-bot-gate-form { margin-top: 14px; }

.qa-bot-chat:not([hidden]) { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.qa-bot-messages {
  flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 12px;
  min-height: 220px;
}
.qa-bot-msg { max-width: 90%; font-size: 13.5px; line-height: 1.5; }
.qa-bot-msg p:first-child { margin-top: 0; }
.qa-bot-msg p:last-child { margin-bottom: 0; }
.qa-bot-msg-bot {
  align-self: flex-start; background: var(--cream, #F7F3EC); color: var(--navy-deep);
  border-radius: var(--radius-md); padding: 10px 14px;
}
.qa-bot-msg-user {
  align-self: flex-end; background: var(--navy-deep); color: #fff;
  border-radius: var(--radius-md); padding: 10px 14px; font-weight: 500;
}
.qa-bot-msg-bot a { color: var(--navy); text-decoration: underline; text-decoration-color: var(--gold-soft); }

.qa-bot-results { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.qa-bot-result {
  display: flex; flex-direction: column; gap: 2px; text-decoration: none;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 10px 12px; transition: border-color .15s ease;
}
.qa-bot-result:hover { border-color: var(--gold); }
.qa-bot-result-kind {
  font-size: 10.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: var(--gold-text); text-decoration: none;
}
.qa-bot-result-title { font-size: 13.5px; font-weight: 700; color: var(--navy-deep); text-decoration: none; }
.qa-bot-result-excerpt { font-size: 12.5px; color: var(--muted); text-decoration: none; }
.qa-bot-hint { margin: 8px 0 0; font-size: 12px; color: var(--muted); font-style: italic; }

.qa-bot-input-row {
  display: flex; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--border); flex-shrink: 0;
}
.qa-bot-input {
  flex: 1; padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--radius-sm);
  font: 400 13.5px var(--font-body); color: var(--navy-deep);
}
.qa-bot-input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200,155,60,.15); }
.qa-bot-disclaimer { font-size: 11px; color: var(--muted); text-align: center; padding: 0 16px 12px; margin: 0; }

@media (max-width: 480px) {
  .qa-bot { right: 12px; bottom: 12px; }
  .qa-bot-toggle-label { display: none; }
  .qa-bot-toggle { padding: 14px; border-radius: 50%; }
  .qa-bot-panel { right: -4px; width: calc(100vw - 24px); }
}

/* ---------- 20. State map explorer (/states/ index) ---------- */
.state-map-explorer {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 40px;
  align-items: start;
  padding: 8px 0 8px;
}
.state-map-col {
  background: var(--slate);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
}
.state-map-caption {
  font-size: 13px;
  color: var(--muted);
  text-align: center;
  margin-top: 10px;
}
.us-map-svg { width: 100%; height: auto; display: block; overflow: visible; }
.state-shape {
  fill: var(--flag-color, var(--slate-2));
  stroke: var(--white);
  stroke-width: 1.25;
  transition: stroke 0.15s ease, stroke-width 0.15s ease, filter 0.15s ease;
  cursor: pointer;
}
.state-link { cursor: pointer; }
.state-link:focus-visible .state-shape,
.state-link:focus-visible .state-dc-dot {
  outline: 2px solid var(--navy);
  outline-offset: 1px;
}
/* Fill always shows the state's flag color; hover/active are indicated with
   a stroke + drop-shadow so the flag color itself is never obscured. */
.state-link:hover .state-shape:not(.is-active),
.state-link:hover .state-dc-dot:not(.is-active) {
  stroke: var(--gold);
  stroke-width: 2.25;
  filter: drop-shadow(0 1px 3px rgba(15, 23, 42, 0.35));
}
.state-shape.is-active {
  stroke: var(--navy-deep);
  stroke-width: 2.75;
  filter: drop-shadow(0 2px 5px rgba(15, 23, 42, 0.45));
}
.state-shape-dc-sliver { fill: var(--flag-color, var(--slate-2)); stroke: var(--white); stroke-width: 1; pointer-events: none; }
.state-dc-dot {
  fill: var(--flag-color, var(--navy));
  stroke: var(--white);
  stroke-width: 1.5;
  transition: stroke 0.15s ease, stroke-width 0.15s ease, filter 0.15s ease;
  cursor: pointer;
}
.state-dc-dot.is-active {
  stroke: var(--navy-deep);
  stroke-width: 2.5;
  filter: drop-shadow(0 2px 5px rgba(15, 23, 42, 0.45));
}
.us-map-labels { pointer-events: none; }
.state-abbr-label {
  font-family: inherit;
  font-weight: 700;
  fill: #10192E;
  text-anchor: middle;
  dominant-baseline: middle;
  paint-order: stroke fill;
  stroke: rgba(255, 255, 255, 0.9);
  stroke-width: 2.5px;
  stroke-linejoin: round;
  letter-spacing: 0.2px;
  pointer-events: none;
  user-select: none;
}

.state-map-related-reading {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.state-map-related-reading-title {
  font-size: 19px;
  line-height: 1.25;
  margin: 6px 0 8px;
  color: var(--navy);
}
.state-map-related-reading-lede {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 14px;
}

.state-panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 28px;
  min-height: 100%;
}
.state-panel-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--gold-text);
  margin-bottom: 8px;
  display: block;
}
.state-panel h2 {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--navy-deep);
  font-weight: 400;
  margin-bottom: 10px;
  line-height: 1.2;
}
.state-panel-desc {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 20px;
}
.state-panel-topics {
  display: grid;
  gap: 8px;
  margin-bottom: 22px;
  list-style: none;
  padding: 0;
}
.state-panel-topics li { border-bottom: 1px solid var(--border); padding-bottom: 8px; }
.state-panel-topics li:last-child { border-bottom: none; padding-bottom: 0; }
.state-panel-topics a {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  padding: 4px 0;
}
.state-panel-topics a:hover { color: var(--gold); text-decoration: underline; }
.state-panel-topics .topic-short {
  display: block;
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
  margin-top: 2px;
}
.ltc-partnership-mark {
  color: var(--gold);
  font-weight: 700;
  cursor: help;
}
.tax-incentive-link {
  display: inline;
  color: var(--navy);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--gold-soft);
}
.tax-incentive-link:hover { color: var(--gold); }
.ltc-partnership-legend {
  font-size: 12px;
  color: var(--muted);
  margin-top: -6px;
  margin-bottom: 18px;
}
.state-panel-topics .ltc-partnership-legend { margin-bottom: 14px; }
.state-panel-cta {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: var(--radius-md);
  text-decoration: none;
}
.state-panel-cta:hover { background: var(--navy-dark); }

@media (max-width: 860px) {
  .state-map-explorer { grid-template-columns: 1fr; gap: 24px; }
  .state-panel { min-height: 0; }
}

/* Cost of Care hub: static (non-link) topic list in the map's default
   right-hand panel, and the plain-HTML full state directory below it. */
.state-panel-topics-static strong {
  display: block;
  color: var(--navy-deep);
  font-size: 14.5px;
  font-weight: 700;
}
.state-directory-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px 24px;
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}
.state-directory-list li { border-bottom: 1px solid var(--border); padding-bottom: 8px; }
.state-directory-list a { color: var(--navy); font-size: 14.5px; text-decoration: none; }
.state-directory-list a:hover { color: var(--gold); text-decoration: underline; }
@media (max-width: 720px) {
  .state-directory-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .state-directory-list { grid-template-columns: 1fr; }
}
.cost-na { color: var(--muted); font-style: italic; font-weight: 400; }


/* ============================================================
   18. Evidence Hub "Read more" collapse (resources page).
   ============================================================ */
.evidence-card .evidence-details { margin-top: 2px; }
.evidence-card .evidence-details .evidence-meta { margin-top: 12px; }
.evidence-card .evidence-readmore {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  padding: 2px 0;
}
.evidence-card .evidence-readmore::-webkit-details-marker { display: none; }
.evidence-card .evidence-readmore::after {
  content: "+";
  font-size: 16px;
  color: var(--gold);
  font-family: var(--font-display);
  flex-shrink: 0;
}
.evidence-card .evidence-details[open] .evidence-readmore::after { content: "\2212"; }

/* ============================================================
   19. "View the full guide" mandatory lead-capture modal
   (states index page + expanded gate pages).
   ============================================================ */

/* ============================================================
   17. "View the full guide" mandatory lead-capture modal
   (states index page — separate mechanism from the pillar/state
   subscription wall above; see assets/site.js for the click
   intercept and gate-target-frame submission).
   ============================================================ */
body.full-guide-modal-open { overflow: hidden; }
.full-guide-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 48px 16px;
  overflow-y: auto;
}
.full-guide-modal[hidden] { display: none; }
.full-guide-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 44, 76, 0.55);
}
.full-guide-modal-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 36px 30px 30px;
  max-width: 440px;
  width: 100%;
  text-align: center;
  z-index: 1;
}
.full-guide-modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  font-size: 26px;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
  padding: 4px 8px;
}
.full-guide-modal-close:hover { color: var(--navy); }
.full-guide-modal-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--navy);
  margin: 0 0 10px;
}
.full-guide-modal-card > p {
  font-size: 14.5px;
  color: var(--muted);
  margin: 0 0 4px;
  line-height: 1.5;
}
.full-guide-modal-form { margin-top: 18px; text-align: left; }

@media (max-width: 640px) {
  .full-guide-modal-card { padding: 28px 20px 22px; }
}

/* ============================================================
   20. Automatic on-page-load subscription pop-up for
   /resources/cost-of-care/<state>/ pages (separate from the
   click-triggered full-guide-modal above; own id/classes).
   ============================================================ */
body.cost-popup-modal-open { overflow: hidden; }
.cost-popup-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 48px 16px;
  overflow-y: auto;
}
.cost-popup-modal[hidden] { display: none; }
.cost-popup-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 44, 76, 0.55);
}
.cost-popup-modal-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 36px 30px 30px;
  max-width: 440px;
  width: 100%;
  text-align: center;
  z-index: 1;
}
.cost-popup-modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  font-size: 26px;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
  padding: 4px 8px;
}
.cost-popup-modal-close:hover { color: var(--navy); }
.cost-popup-modal-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--navy);
  margin: 0 0 10px;
}
.cost-popup-modal-card > p {
  font-size: 14.5px;
  color: var(--muted);
  margin: 0 0 4px;
  line-height: 1.5;
}
.cost-popup-modal-form { margin-top: 18px; text-align: left; }

@media (max-width: 640px) {
  .cost-popup-modal-card { padding: 28px 20px 22px; }
}
