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

/* ---------- 0. Self-hosted fonts (replaces Google Fonts external stylesheet) ---------- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/inter-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/inter-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/inter-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/inter-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/assets/fonts/inter-800.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Serif Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/dm-serif-display-400.woff2') format('woff2');
}

/* ---------- 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: 13px 18px; font-size: 13px; min-height: 44px; box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; }
.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;
  align-items: center;
  gap: 26px;
  font-size: 14px;
  flex-wrap: nowrap;
}
/* 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); }
/* .nav-links a's specificity otherwise beats .btn-gold, washing the mobile-menu
   "Take the Assessment" button's text down to near-illegible pale gray on gold
   (~1.9:1 contrast). Restore the same dark navy every other gold button uses. */
.nav-links a.btn-gold { color: var(--navy-deep); }

/* Legacy: the nav-break element was removed 2026-09-24 so all menu items
   sit on one line; rule kept harmless in case a cached page still has it. */
.nav-break { display: none; }

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

/* Single-line nav: tighten spacing on narrower desktops (981–1120px) so all
   six links, the CTA and search fit on one row before the hamburger takes
   over at 980px. */
@media (min-width: 981px) and (max-width: 1120px) {
  .site-nav { gap: 12px; }
  .nav-links { gap: 14px; font-size: 13.5px; }
}

/* ---- Header search ---- */
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.search-toggle {
  width: 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.22);
  background: transparent;
  color: #D8DEE8;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  flex-shrink: 0;
}
.search-toggle:hover, .search-toggle[aria-expanded="true"] { background: rgba(255,255,255,0.1); color: var(--gold); border-color: var(--gold); }

.search-overlay {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 99;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}
.search-overlay[hidden] { display: none; }

.search-panel { max-width: 1240px; margin: 0 auto; padding: 20px var(--gutter-x); }

.search-form {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--slate);
  color: var(--muted);
}
.search-form:focus-within { border-color: var(--gold); color: var(--navy); }
.search-form svg { flex-shrink: 0; }
.search-form input[type="search"] {
  flex: 1;
  border: none;
  background: none;
  outline: none;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  padding: 6px 0;
}
.search-form input[type="search"]::-webkit-search-cancel-button { display: none; }
.search-close {
  flex-shrink: 0;
  width: 26px; height: 26px;
  display: inline-flex; align-items: center; justify-content: center;
  border: none;
  background: none;
  color: var(--muted);
  cursor: pointer;
  border-radius: 999px;
}
.search-close:hover { background: var(--slate-2); color: var(--navy); }

.search-results {
  margin-top: 12px;
  max-height: min(60vh, 480px);
  overflow-y: auto;
}
.search-result {
  display: block;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  color: var(--ink);
  text-decoration: none;
  transition: background 0.15s;
}
.search-result:hover, .search-result.is-active { background: var(--slate); }
.search-result .search-result-category {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin-bottom: 2px;
}
.search-result .search-result-title { font-weight: 600; font-size: 15px; color: var(--ink); }
.search-result .search-result-desc {
  font-size: 13.5px;
  color: var(--muted);
  margin-top: 2px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.search-results .search-empty, .search-results .search-hint {
  padding: 10px 14px;
  font-size: 13.5px;
  color: var(--muted);
}
.search-result-source {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 7px;
  border-radius: 999px;
  background: var(--slate-2);
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.03em;
  vertical-align: middle;
}
.search-external-icon {
  display: inline-block;
  margin-left: 4px;
  vertical-align: -1px;
  color: var(--muted);
}

@media (max-width: 560px) {
  .search-panel { padding: 16px var(--gutter-x); }
  .search-result .search-result-desc { display: none; }
}

.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,
.hero .display-title {
  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, .hero .display-title 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 {
  position: relative;
  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-video-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  cursor: pointer;
}
.hero-card-video-trigger:hover,
.hero-card-video-trigger:focus-visible {
  color: #fff;
}
.hero-card-video-trigger:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.hero-card-video-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--gold);
  color: var(--navy-deep);
  border-radius: 999px;
  padding: 3px 9px 3px 8px;
  font-size: 10px;
  letter-spacing: 0.5px;
  font-weight: 700;
  text-transform: uppercase;
}
/* ============================================================
   Site video popup (George: "Where are you starting from?")
   Auto-opens once per browser session on the homepage, and can
   be reopened manually via the hero-card "Watch Again" trigger.
   ============================================================ */
body.site-video-popup-open { overflow: hidden; }
.site-video-popup {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.site-video-popup[hidden] { display: none; }
.site-video-popup-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(7, 21, 40, 0.82);
}
.site-video-popup-frame {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 880px;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: var(--radius-md);
  border: 1px solid rgba(228, 192, 120, 0.4);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.site-video-popup-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #000;
}
.site-video-popup-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(228, 192, 120, 0.5);
  background: rgba(7, 21, 40, 0.85);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.site-video-popup-close:hover,
.site-video-popup-close:focus-visible {
  background: var(--navy-dark);
  outline: none;
}
.site-video-popup-end-actions {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: rgba(7, 21, 40, 0.88);
  text-align: center;
  padding: 24px;
}
.site-video-popup-end-actions[hidden] { display: none; }
.site-video-popup-play-prompt {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 100%;
  background: rgba(7, 21, 40, 0.55);
  border: 0;
  cursor: pointer;
  color: #fff;
  padding: 24px;
  transition: background-color 0.15s ease;
}
.site-video-popup-play-prompt:hover,
.site-video-popup-play-prompt:focus-visible {
  background: rgba(7, 21, 40, 0.7);
  outline: none;
}
.site-video-popup-play-prompt[hidden] { display: none; }
.site-video-popup-play-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy-deep);
  font-size: 28px;
  line-height: 1;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}
.site-video-popup-play-text {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}
.site-video-popup-end-text {
  color: #fff;
  font-family: var(--font-display);
  font-size: 22px;
  margin: 0;
}
.site-video-popup-end-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
@media (max-width: 560px) {
  .site-video-popup { padding: 12px; }
  .site-video-popup-end-text { font-size: 18px; }
}
.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,
.page-header .display-title {
  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 p:last-child { margin-bottom: 0; }
.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; }
.pillar-learn-btn {
  margin-top: 6px; padding: 8px 16px; font-size: 13px;
  min-height: 44px; box-sizing: border-box;
  display: inline-flex; align-items: center; justify-content: center;
}

/* 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,
.journey-band .journey-heading {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.15;
  margin-bottom: 16px;
}
.journey-band h2 em, .journey-band .journey-heading 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,
.close-cta p.cta-heading {
  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; }
.form-card-title { font-family: var(--font-display); font-size: 22px; color: var(--navy-deep); margin: 0 0 18px; font-weight: 400; letter-spacing: 0.04em; }
.contact-info-card p { font-size: 15px; color: var(--muted); margin-bottom: 14px; line-height: 1.6; }
.contact-location-row {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  margin-top: 4px;
}
.contact-location-row p { margin-bottom: 0; }
.contact-portrait-photo {
  display: block;
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(228,192,120,0.35);
  flex-shrink: 0;
}
@media (max-width: 480px) {
  .contact-location-row { flex-direction: column; align-items: center; text-align: center; }
  .contact-portrait-photo { width: 160px; height: 160px; }
}

/* ---------- 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: fixed;
    top: 100%; left: 0; right: 0; bottom: 0;
    background: var(--navy-deep);
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 0;
    padding: 12px 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    z-index: 950;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  /* .nav-break's flex-basis:100% trick is desktop-row-only (see base rule);
     in mobile's column flex it must not create a wrapped "line", so give
     it no basis/growth here — it renders as an ordinary zero-height item. */
  .nav-links .nav-break { flex: 0 0 auto; }
  .nav-links.is-open { display: flex; }
  /* Solid background + full remaining-viewport height (top set inline by
     site.js to the header's actual bottom edge) means no page content is
     visible behind/beneath the open panel. Lock the page underneath too. */
  body.nav-open { overflow: hidden; }
  /* The floating "Ask a Question" bubble outranks the panel's own z-index,
     so hide it while the mobile menu is open instead of letting it float
     on top of the open menu. */
  body.nav-open .qa-bot { display: none; }
  .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, .hero .display-title, .page-header .display-title { font-size: 30px; }
  .hero h1.kicker, .page-header h1.kicker { font-size: 12px; }
  .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; }
}

/* Pillar closing lead-capture CTA -- shown once at the end of the full
   article (not gating any content), so it's a plain centered card
   rather than an absolutely-positioned overlay on a blur wall. */
.pillar-closing-gate { background: var(--slate); }
.gate-card-static {
  position: static;
  margin: 0 auto;
}

/* 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;
}
/* Collapsible row descriptions (Who We Help decision table): native
   <details> so the text stays in the HTML for crawlers and works without JS. */
table.decision-table .decision-row-more { margin-top: 4px; }
table.decision-table .decision-row-more summary {
  display: inline-flex; align-items: center; gap: 6px;
  cursor: pointer; list-style: none;
  font-size: 12.5px; font-weight: 600; color: var(--gold-text);
  border-radius: 4px; padding: 2px 0;
}
table.decision-table .decision-row-more summary::-webkit-details-marker { display: none; }
table.decision-table .decision-row-more summary::after {
  content: ""; width: 6px; height: 6px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px); transition: transform .2s ease;
}
table.decision-table .decision-row-more[open] summary::after { transform: rotate(-135deg) translate(-1px, -1px); }
table.decision-table .decision-row-more summary:hover { color: var(--navy-deep); text-decoration: underline; }
table.decision-table .decision-row-more summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
table.decision-table .decision-row-more .less-label,
table.decision-table .decision-row-more[open] .more-label { display: none; }
table.decision-table .decision-row-more[open] .less-label { display: inline; }
table.decision-table .decision-row-more .decision-row-desc { margin-top: 6px; }
@media (prefers-reduced-motion: reduce) {
  table.decision-table .decision-row-more summary::after { transition: none; }
}
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; opacity: .8;
  width: 32px; height: 32px; min-width: 32px; min-height: 32px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
}
.qa-bot-close:hover { opacity: 1; }

.qa-bot-gate { padding: 18px 18px 20px; overflow-y: auto; }
.qa-bot-hs-form { min-height: 360px; }
.qa-bot-hs-form .hs-form-frame { width: 100%; }
.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; }

/* AI assistant answers (added 2026-10-20) */
.qa-bot-ai p { margin: 0 0 8px; }
.qa-bot-ai ul { margin: 0 0 8px; padding-left: 18px; }
.qa-bot-ai li { margin-bottom: 4px; }
.qa-bot-cite { font-size: 10.5px; line-height: 0; margin-left: 1px; }
.qa-bot-cite a { font-weight: 700; text-decoration: none; padding: 0 2px; }
.qa-bot-sources { margin-top: 10px; padding-top: 8px; border-top: 1px solid var(--border); }
.qa-bot-sources-label {
  display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; color: var(--gold-text); margin-bottom: 4px;
}
.qa-bot-sources ol { margin: 0; padding-left: 18px; font-size: 12.5px; }
.qa-bot-sources li { margin-bottom: 2px; }
.qa-bot-disclaimer { margin: 10px 0 0 !important; font-size: 11.5px; color: var(--muted); }
.qa-bot-typing { 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: 12px; border-radius: 50%; }
  .qa-bot-panel { right: -4px; width: calc(100vw - 24px); }
}

/* Reserve clear space at the foot of the main content column on narrow
   screens so the fixed "Ask a Question" bubble never sits on top of
   trailing body copy or the calculator Back/Next buttons -- it floats
   in dead space above the footer instead of over live content/controls. */
@media (max-width: 760px) {
  main#main { padding-bottom: 84px; }
}

/* ------------------------------------------------------------
   19b. Sitewide "Visually Impaired? Read Aloud" control (Web Speech
   API text-to-speech, WCAG 2.1 AA / ADA Title III accessibility).
   Docked in the header as a slim row directly below the logo/nav row
   (not a floating button), with a visitor-dismissible close (×)
   button. Uses the same underlying controls markup as before.
   ------------------------------------------------------------ */
.header-read-aloud {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  gap: 12px;
  padding: 7px var(--gutter-x);
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,.1);
  font-family: var(--font-body);
}
.header-read-aloud[hidden] { display: none; }

.header-read-aloud .read-aloud-toggle {
  display: flex; align-items: center; gap: 8px;
  background: transparent; color: var(--gold-soft);
  border: 1px solid rgba(255,255,255,.28); border-radius: 999px;
  padding: 6px 16px; font: 600 12.5px/1 var(--font-body);
  cursor: pointer; box-shadow: none;
  min-height: 44px; box-sizing: border-box;
  transition: background .15s ease, color .15s ease;
}
.header-read-aloud .read-aloud-toggle:hover { background: rgba(255,255,255,.1); color: #fff; }
.header-read-aloud .read-aloud-toggle:focus-visible { outline: 3px solid var(--gold-soft); outline-offset: 2px; }
.header-read-aloud .read-aloud-icon { color: var(--gold); flex-shrink: 0; }

.header-read-aloud .read-aloud-controls {
  display: flex; align-items: center; gap: 4px;
  background: transparent; border-radius: 999px;
  padding: 0; box-shadow: none;
}
.read-aloud-controls[hidden] { display: none; }
.read-aloud-btn {
  display: flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0;
  background: transparent; border: none; color: #fff;
  cursor: pointer; transition: background .15s ease;
}
.read-aloud-btn:hover { background: rgba(255,255,255,.14); }
.read-aloud-btn:focus-visible { outline: 2px solid var(--gold-soft); outline-offset: 2px; }
.read-aloud-speed {
  width: auto; padding: 0 10px; font: 600 12px/1 var(--font-body); color: var(--gold-soft);
}

.read-aloud-close {
  position: absolute; right: var(--gutter-x); top: 50%; transform: translateY(-50%);
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0;
  background: transparent; border: none; color: rgba(255,255,255,.55);
  font-size: 17px; line-height: 1; cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.read-aloud-close:hover { background: rgba(255,255,255,.14); color: #fff; }
.read-aloud-close:focus-visible { outline: 2px solid var(--gold-soft); outline-offset: 2px; }

@media (max-width: 480px) {
  .header-read-aloud { padding: 6px 44px 6px var(--gutter-x); gap: 8px; }
  .header-read-aloud .read-aloud-label { display: none; }
  .header-read-aloud .read-aloud-toggle { padding: 6px 10px; border-radius: 50%; }
}

/* ------------------------------------------------------------
   19c. Right-click / copy-paste protection + notification toast.
   Body gets .copy-protected on every page except blog and FAQ pages
   (set via copy_protect=False in templates.py's page_shell()). Form
   fields stay selectable/pastable via the explicit override below.
   ------------------------------------------------------------ */
/* 2026-10-20 (Kim): selection allowed for accessibility; copy/cut still
   intercepted by copy-protect.js. */
body.copy-protected {
  -webkit-user-select: text;
  -moz-user-select: text;
  user-select: text;
}
body.copy-protected input,
body.copy-protected textarea,
body.copy-protected select,
body.copy-protected [contenteditable="true"] {
  -webkit-user-select: text;
  -moz-user-select: text;
  user-select: text;
}

.copy-protect-toast {
  position: fixed; left: 50%; top: 0;
  transform: translateX(-50%) translateY(-8px);
  z-index: 950;
  background: var(--navy-deep); color: #fff;
  font: 600 14px/1.4 var(--font-body);
  padding: 12px 22px; border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
  max-width: calc(100vw - 32px); text-align: center;
}
.copy-protect-toast.is-visible {
  opacity: .6; visibility: visible; transform: translateX(-50%) translateY(0);
}

@media (max-width: 480px) {
  .copy-protect-toast { font-size: 13px; padding: 10px 16px; }
}

/* ---------- 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; }
}

/* Journey Assessment invitation on /pillars/<slug>/ pages (2026-10-23).
   Small non-modal card: no backdrop, no scroll lock, closable. Shown once
   per session after 40% scroll by assets/assessment-gate.js. Replaced
   a full-page gate that hid content from people but not crawlers. */
.assessment-gate-modal {
  position: fixed;
  right: 20px;
  bottom: 92px; /* clears the Ask a Question button */
  z-index: 900;
  width: min(360px, calc(100vw - 32px));
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .25s ease, transform .25s ease;
}
.assessment-gate-modal.is-visible { opacity: 1; transform: none; }
.assessment-gate-modal[hidden] { display: none; }
.assessment-gate-modal-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 4px solid var(--gold);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 22px 22px 16px;
  text-align: left;
}
.assessment-gate-modal-card h3 {
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 1.25;
  color: var(--navy);
  margin: 0 28px 8px 0;
}
.assessment-gate-modal-card > p {
  font-size: 14.5px;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}
.assessment-gate-modal-card .btn.btn-block { margin-top: 14px; width: 100%; }
.assessment-gate-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  border-radius: 50%;
}
.assessment-gate-close:hover { color: var(--navy); background: var(--cream, #f6f3ec); }
.assessment-gate-close:focus-visible,
.assessment-gate-modal-back:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }
.assessment-gate-modal-back {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 8px;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 14px;
  color: var(--muted);
  cursor: pointer;
  text-align: center;
}
.assessment-gate-modal-back:hover { color: var(--navy); text-decoration: underline; }

@media (max-width: 640px) {
  .assessment-gate-modal { right: 12px; left: 12px; bottom: 80px; width: auto; }
  .assessment-gate-modal-card { padding: 18px 18px 12px; }
  .assessment-gate-modal-card h3 { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  .assessment-gate-modal { transition: none; transform: none; }
}

/* ============================================================
   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; }
}

.thank-you-video-wrap {
  margin: 28px 0 30px;
}
.thank-you-video-wrap video {
  background: #000;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}
.video-transcript {
  max-width: 640px;
  margin-top: 12px;
  font-size: 0.9375rem;
}
.video-transcript summary {
  cursor: pointer;
  font-weight: 600;
  color: inherit;
}
.video-transcript p {
  margin: 8px 0 0;
  line-height: 1.5;
}

/* Thank-you page: headline block spans the full page width and is justified */
.hero-inner.hero-full {
  max-width: 100%;
  width: 100%;
}
.hero-copy-justify {
  width: 100%;
}
.hero-copy-justify .lede {
  text-align: left;
  max-width: 100%;
  width: 100%;
}
.hero-copy-justify h1,
.hero-copy-justify .display-title,
.hero-copy-justify h2 {
  text-align: center;
  max-width: 100%;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

/* HubSpot sign-up forms (form f5b93305) inside gates and popups */
.gate-hs-form { min-height: 360px; }
.gate-hs-form .hs-form-frame { width: 100%; }
.gate-lead-thanks { font-weight: 600; margin: 12px 0 0; }

/* HubSpot forms on phones (2026-09-29): the form's own style already pads
   40px inside its iframe, so the surrounding cards slim down on small
   screens to give the fields full width. */
@media (max-width: 640px) {
  .form-card { padding: 20px 10px; }
  .gate-card { padding: 24px 12px; }
  .qa-bot-gate { padding: 14px 8px 16px; }
}

/* Post-submission redirect countdown (assets/site.js FDRedirect). Colors
   inherit from the surrounding card so contrast matches its text. */
.fd-redirect-note { margin: 12px 0 0; font-size: 0.95rem; line-height: 1.5; color: inherit; }
.fd-redirect-stay { background: none; border: 0; padding: 0; margin-left: 4px; font: inherit; font-weight: 700; color: inherit; text-decoration: underline; cursor: pointer; }
.fd-redirect-stay:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; border-radius: 2px; }
.fd-redirect-note--floating { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 10000; background: #10233f; color: #fff; padding: 12px 16px; border-radius: 10px; box-shadow: 0 8px 24px rgba(0,0,0,.35); max-width: calc(100vw - 32px); }

/* Chat keyword links + "Topics in your question" (assets/chat-keywords.js) */
.qa-bot-topics .chat-kw-topics-label { margin: 0 0 6px; font-weight: 600; font-size: 12.5px; }
.qa-bot-topics .chat-kw-topics-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.qa-bot-topics .chat-kw-topic { display: inline-block; padding: 5px 10px; border: 1px solid var(--gold); border-radius: 999px; background: #fff; color: var(--navy); font-size: 12.5px; line-height: 1.3; text-decoration: none; }
.qa-bot-topics .chat-kw-topic:hover, .qa-bot-topics .chat-kw-topic:focus-visible { background: var(--navy); border-color: var(--navy); color: #fff; }
.qa-bot-topics .chat-kw-topic:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.qa-bot-msg-bot a.chat-kw-link { font-weight: 600; }

/* Footer link lists for crawl paths to pillars and posts (2026-10-23) */
.footer-sitemap { margin: 18px 0 6px; text-align: center; }
.footer-sitemap-heading { margin: 12px 0 6px; font-size: 13px; font-weight: 600; letter-spacing: .02em; }
.footer-sitemap-heading a { color: inherit; text-decoration: none; }
.footer-sitemap-heading a:hover { text-decoration: underline; }
.footer-sitemap-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 16px; font-size: 13px; }
.footer-sitemap-list a { color: inherit; opacity: .85; text-decoration: none; }
.footer-sitemap-list a:hover { opacity: 1; text-decoration: underline; }

/* Resources: cost of care by state (2026-10-23) */
.state-cost-list { list-style: none; margin: 14px 0 0; padding: 0; columns: 3 180px; column-gap: 24px; }
.state-cost-list li { margin: 0 0 6px; break-inside: avoid; }
.state-cost-list a { font-weight: 500; }

/* Facebook follow link (footer) */
.footer-social { margin: 4px 0 0; text-align: center; }
.footer-social-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 4px; color: #D6DCE5; font-size: 13px; font-weight: 600; text-decoration: none; }
.footer-social-link:hover { color: var(--gold-soft); text-decoration: underline; text-underline-offset: 2px; }
.footer-social-link:focus-visible { outline: 2px solid var(--gold-soft, #E8C77A); outline-offset: 2px; border-radius: 4px; }
.footer-social-icon { width: 18px; height: 18px; flex: 0 0 18px; }

/* Pillar card gateway (2026-10-25) */
.pillar .pillar-lock, .pillar-lock-table {
  font-size: 12px; font-weight: 600; color: var(--gold-text);
  margin: 10px 0 0; letter-spacing: .2px;
}
.pillar-gateway {
  position: fixed; inset: 0; z-index: 10000;
  background: rgba(7, 21, 40, .62);
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.pillar-gateway[hidden] { display: none; }
html.pillar-gateway-open { overflow: hidden; }
.pillar-gateway-card {
  position: relative; background: #fff; color: var(--ink);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  max-width: 480px; width: 100%; padding: 32px 28px 24px; text-align: left;
}
.pillar-gateway-kicker {
  display: block; font-size: 12px; font-weight: 700; letter-spacing: .6px;
  text-transform: uppercase; color: var(--gold-text); margin-bottom: 8px;
}
.pillar-gateway-card h2 {
  font-family: var(--font-display); font-size: 26px; line-height: 1.2;
  color: var(--navy-deep); margin: 0 0 12px; font-weight: 400;
}
.pillar-gateway-card p { font-size: 15px; line-height: 1.6; color: var(--muted); margin: 0 0 20px; }
.pillar-gateway-close {
  position: absolute; top: 10px; right: 12px; width: 40px; height: 40px;
  border: 0; background: transparent; font-size: 28px; line-height: 1;
  color: var(--muted); cursor: pointer; border-radius: 50%;
}
.pillar-gateway-close:hover, .pillar-gateway-close:focus-visible { background: var(--slate); color: var(--navy-deep); }
.pillar-gateway-later {
  display: block; width: 100%; margin-top: 10px; padding: 10px; border: 0;
  background: transparent; color: var(--navy); font: inherit; font-size: 14px;
  text-decoration: underline; cursor: pointer; min-height: 44px;
}
@media (max-width: 480px) { .pillar-gateway-card { padding: 28px 20px 18px; } .pillar-gateway-card h2 { font-size: 22px; } }
.pillar-lock-table { font-size: 13px; margin-top: 12px; }
.hero-card .pillar-lock-hero { color: var(--gold-soft); font-size: 13px; font-weight: 600; margin: 12px 0 0; }

/* Heading fixes 2026-10-28: keyword H1s styled as kickers; slogans/boilerplate as styled <p>s */
.display-title, .journey-heading, p.cta-heading, p.section-title-sm { font-weight: 700; text-wrap: balance; }
h1.kicker,
.hero h1.kicker,
.page-header h1.kicker,
.hero-copy-justify h1.kicker {
  font-family: inherit;
  font-size: 12px;
  line-height: inherit;
  letter-spacing: 2.5px;
  margin-bottom: 20px;
  width: auto;
}
.journey-band p.journey-heading { color: inherit; max-width: none; }
.close-cta p.cta-heading { color: inherit; font-size: clamp(28px, 4vw, 40px); max-width: none; margin: 0 0 14px; }

/* ---------- Header: two-row layout (matches the Adaptive Marketing Group header) ----------
   Row 1: logo (serif name with gold accent and a small-caps subtitle) on the left, the
   assessment button and search on the right. Row 2: the menu, centered under a thin rule. */
.brand { letter-spacing: 0; gap: 12px; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 10px; flex: none;
  background: rgba(255,255,255,.12); align-items: center; justify-content: center;
}
.brand-mark svg { width: 26px; height: 26px; }
.brand-text { display: flex; flex-direction: column; min-width: 0; font-size: inherit; }
.brand-name {
  font-family: var(--font-display); font-weight: 400; font-size: 1.3rem; line-height: 1.1;
  color: #fff; white-space: nowrap;
}
.brand-accent { color: var(--gold); }
.brand-sub {
  display: block; margin-top: 3px; font-size: .68rem; font-weight: 600; line-height: 1.2;
  letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.68); white-space: nowrap;
}
@media (min-width: 981px) {
  .site-nav { flex-wrap: wrap; row-gap: 0; padding-top: 14px; padding-bottom: 0; }
  .brand { order: 1; margin-right: auto; }
  .nav-cta { order: 2; }
  .search-toggle { order: 2; }
  .nav-links {
    order: 3; flex-basis: 100%; flex-wrap: wrap; justify-content: center;
    gap: 4px 30px; margin-top: 12px; padding: 10px 0 12px;
    border-top: 1px solid rgba(255,255,255,.1); font-size: 15px;
  }
  .nav-links a { position: relative; padding: 6px 0; }
  .nav-links a:not(.btn)::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
    background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .2s ease;
  }
  .nav-links a:not(.btn):hover::after, .nav-links a:not(.btn):focus-visible::after, .nav-links a.is-active::after { transform: scaleX(1); }
}
@media (min-width: 981px) and (max-width: 1120px) {
  .nav-links { gap: 4px 22px; font-size: 14px; }
}
/* Phones and tablets: logo, search and menu button on one row; the name wraps
   to "Funding / Long-Term Care" when space is tight and the subtitle hides. */
@media (max-width: 980px) {
  .brand { flex: 1 1 auto; }
  .brand-name { font-size: 1.15rem; }
}
@media (max-width: 560px) {
  .brand { gap: 9px; }
  .brand-mark { width: 34px; height: 34px; }
  .brand-mark svg { width: 22px; height: 22px; }
  .brand-name { font-size: 1.05rem; white-space: normal; }
  .brand-accent { white-space: nowrap; }
  .brand-sub { display: none; }
}
@media (prefers-reduced-motion: reduce) { .nav-links a::after { transition: none; } }
