/* Self-hosted Latin subsets (SIL Open Font License) */
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 300 700; font-display: swap; src: url(/assets/fonts/fraunces.woff2) format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 400; font-display: swap; src: url(/assets/fonts/fraunces-italic.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 600; font-display: swap; src: url(/assets/fonts/inter.woff2) format("woff2"); }
/* TeacherPayGuide design system ------------------------------------------- */
:root {
  --ink: #121a2b;
  --ink-2: #1b2640;
  --ink-3: #27344f;
  --paper: #faf7f2;
  --paper-2: #f2ede4;
  --paper-3: #e8e1d4;
  --thread: #e4553b;
  --thread-btn: #c4432b;
  --thread-soft: #f6c9bf;
  --amber: #f0a35a;
  --teal: #176e6e;
  --teal-soft: #d6ecec;

  --bg: var(--paper);
  --bg-2: var(--paper-2);
  --bg-3: var(--paper-3);
  --fg: #1a2233;
  --fg-2: #4b5567;
  --fg-3: #5c6678;
  --line: rgba(26, 34, 51, .12);
  --line-strong: rgba(26, 34, 51, .24);
  --card: #ffffff;
  --shadow: 0 1px 2px rgba(18,26,43,.05), 0 12px 32px -16px rgba(18,26,43,.25);

  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 14px;
  --ease: cubic-bezier(.2,.7,.2,1);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f1522; --bg-2: #141c2e; --bg-3: #1b2439;
    --fg: #eef0f4; --fg-2: #b6bdcb; --fg-3: #7f889b;
    --line: rgba(238,240,244,.1); --line-strong: rgba(238,240,244,.22);
    --card: #161f33; --thread-soft: #4a2a25; --teal-soft: #163a3a; --teal: #5cc4c4;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 16px 40px -20px rgba(0,0,0,.6);
  }
}
:root[data-theme="dark"] {
  --bg: #0f1522; --bg-2: #141c2e; --bg-3: #1b2439;
  --fg: #eef0f4; --fg-2: #b6bdcb; --fg-3: #7f889b;
  --line: rgba(238,240,244,.1); --line-strong: rgba(238,240,244,.22);
  --card: #161f33; --thread-soft: #4a2a25; --teal-soft: #163a3a; --teal: #5cc4c4;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 16px 40px -20px rgba(0,0,0,.6);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font-family: var(--sans); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p a, li a, td a { color: var(--teal); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
p a:hover, li a:hover { color: var(--thread); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.01em; font-variation-settings: "opsz" 120; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4.4rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4, .h-label { font-family: var(--sans); font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--fg-3); font-weight: 600; margin-bottom: .9em; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--thread-btn); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.eyebrow { font-family: var(--sans); font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--thread); margin-bottom: 1rem; }
.eyebrow--light { color: #ffd9cf; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--fg-2); max-width: 60ch; line-height: 1.55; }
.muted { color: var(--fg-2); }
.small { font-size: .9rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5em; padding: .85em 1.35em; border-radius: 999px;
  background: var(--thread-btn); color: #fff; font-weight: 600; font-size: .95rem; border: 0; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
  box-shadow: 0 8px 24px -12px rgba(228,85,59,.7);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(228,85,59,.8); }
.btn--small { padding: .6em 1.05em; font-size: .85rem; }
.btn--ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--fg); }
.btn--light { background: #fff; color: var(--ink); box-shadow: none; }
.btn--light:hover { box-shadow: 0 10px 30px -14px rgba(0,0,0,.6); }
.link-arrow { font-weight: 600; color: var(--thread); display: inline-flex; align-items: center; gap: .35em; }
.link-arrow::after { content: "→"; transition: transform .25s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid var(--line); }
.site-header__row { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--fg); }
.brand__mark { flex: none; }
.brand__word { font-family: var(--serif); font-size: 1.35rem; letter-spacing: -.02em; font-weight: 400; font-variation-settings: "opsz" 40; }
.brand__word b { font-weight: 600; position: relative; }
.brand__word b::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 2px; background: repeating-linear-gradient(90deg, var(--thread) 0 6px, transparent 6px 10px); }
.brand__word--lg { font-size: 1.8rem; display: inline-block; margin-bottom: 14px; }
.nav__list { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; align-items: center; }
.nav__item { position: relative; display: flex; align-items: center; }
.nav__link { white-space: nowrap; padding: 8px 10px; border-radius: 8px; font-size: .92rem; font-weight: 500; color: var(--fg-2); transition: color .2s, background .2s; position: relative; }
.nav__link:hover { color: var(--fg); }
.nav__link, .menu__link, .menu__states a, .menu__feature { text-decoration: none; }
.has-menu .nav__link { padding-right: 4px; }
.nav__caret { background: none; border: 0; color: var(--fg-3); width: 22px; height: 30px; display: grid; place-items: center; cursor: pointer; border-radius: 6px; padding: 0; }
.nav__caret svg { transition: transform .25s var(--ease); }
.nav__caret:hover { color: var(--fg); }
.nav__link::after { content: ""; position: absolute; left: 10px; right: 4px; bottom: 2px; height: 2px; background: var(--thread); transform: scaleX(0); transition: transform .3s var(--ease); transform-origin: left; }
.nav__item:not(.has-menu) .nav__link::after { right: 10px; }
body[data-section="states"] [data-nav="states"] .nav__link, body[data-section="salary"] [data-nav="salary"] .nav__link, body[data-section="credit"] [data-nav="credit"] .nav__link, body[data-section="providers"] [data-nav="providers"] .nav__link, body[data-section="resources"] [data-nav="resources"] .nav__link, body[data-section="about"] [data-nav="about"] .nav__link { color: var(--fg); }
body[data-section="states"] [data-nav="states"] .nav__link::after, body[data-section="salary"] [data-nav="salary"] .nav__link::after, body[data-section="credit"] [data-nav="credit"] .nav__link::after, body[data-section="providers"] [data-nav="providers"] .nav__link::after, body[data-section="resources"] [data-nav="resources"] .nav__link::after, body[data-section="about"] [data-nav="about"] .nav__link::after { transform: scaleX(1); }

/* Dropdown panels */
.menu { position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, 6px); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .2s var(--ease), transform .25s var(--ease), visibility 0s .25s; z-index: 60; }
.menu::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.menu__inner { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 1fr); gap: 8px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 24px 60px -24px rgba(18,26,43,.45), 0 2px 6px rgba(18,26,43,.06); padding: 14px; width: max-content; max-width: min(760px, calc(100vw - 32px)); }
.menu--states .menu__inner { grid-auto-columns: auto; grid-template-columns: minmax(0, 1fr) 220px; width: 820px; max-width: calc(100vw - 32px); }
.menu--providers { left: auto; right: -60px; transform: translateY(6px); }
.menu--states { left: -20px; transform: translateY(6px); }
.has-menu:hover > .menu, .has-menu:focus-within > .menu, .has-menu.is-open > .menu { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); transition: opacity .2s var(--ease), transform .25s var(--ease), visibility 0s; }
.has-menu:hover > .menu--providers, .has-menu:focus-within > .menu--providers, .has-menu.is-open > .menu--providers,
.has-menu:hover > .menu--states, .has-menu:focus-within > .menu--states, .has-menu.is-open > .menu--states { transform: none; }
.has-menu:hover .nav__caret svg, .has-menu.is-open .nav__caret svg { transform: rotate(180deg); }
.menu__col { display: flex; flex-direction: column; gap: 2px; padding: 6px; }
.menu__col--side, .menu__col--feature { background: var(--bg-2); border-radius: 12px; padding: 12px; }
.menu__label { font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-3); margin: 4px 8px 8px; }
.menu__link { display: block; padding: 9px 10px; border-radius: 10px; transition: background .15s; }
.menu__link:hover, .menu__link:focus-visible { background: var(--bg-2); }
.menu__col--side .menu__link:hover { background: var(--card); }
.menu__link strong { display: block; font-size: .92rem; font-weight: 600; color: var(--fg); }
.menu__link span { display: block; font-size: .8rem; color: var(--fg-3); line-height: 1.35; margin-top: 2px; }
.menu__states { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px 2px; }
.menu__states a { display: flex; align-items: center; gap: 7px; padding: 4px 6px; border-radius: 8px; font-size: .84rem; color: var(--fg-2); white-space: nowrap; }
.menu__states a:hover { background: var(--bg-2); color: var(--fg); }
.menu__abbr { font-family: var(--serif); font-size: .82rem; width: 30px; height: 24px; border-radius: 6px; display: grid; place-items: center; background: var(--bg-2); color: var(--fg); flex: none; }
.menu__states a:hover .menu__abbr { background: var(--thread-soft); color: var(--thread); }
.menu__feature { display: block; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; margin-bottom: 8px; transition: border-color .2s, transform .2s var(--ease); }
.menu__feature:hover { border-color: var(--thread); transform: translateY(-1px); }
.menu__feature strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.08rem; color: var(--fg); }
.menu__feature span { display: block; font-size: .8rem; color: var(--fg-3); line-height: 1.35; margin-top: 2px; }
.menu__note { font-size: .74rem; color: var(--fg-3); margin: 4px 2px 0; line-height: 1.4; }
.menu__note a { color: var(--fg-2); text-decoration: underline; text-underline-offset: 2px; }

.site-header__actions { display: flex; align-items: center; gap: 10px; }
.theme-toggle { background: none; border: 1px solid var(--line); color: var(--fg-2); width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; }
.theme-toggle:hover { color: var(--fg); border-color: var(--line-strong); }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; flex-direction: column; gap: 6px; align-items: center; justify-content: center; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--fg); transition: transform .3s var(--ease); }
@media (max-width: 1180px) {
  .nav { display: none; position: absolute; left: 0; right: 0; top: 68px; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px; max-height: calc(100vh - 68px); overflow-y: auto; box-shadow: 0 20px 40px -24px rgba(18,26,43,.35); }
  .nav.is-open { display: block; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__item { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
  .nav__item:last-child { border-bottom: 0; }
  .nav__link { flex: 1; padding: 14px 4px; font-size: 1.05rem; color: var(--fg); }
  .nav__link::after { display: none; }
  .nav__caret { width: 44px; height: 44px; }
  .menu, .menu--providers { position: static; transform: none; opacity: 1; visibility: visible; pointer-events: auto; display: none; width: 100%; transition: none; }
  .has-menu:hover > .menu, .has-menu:focus-within > .menu { transform: none; }
  .has-menu:not(.is-open) > .menu { display: none; }
  .has-menu.is-open > .menu { display: block; }
  .has-menu:hover .nav__caret svg { transform: none; }
  .has-menu.is-open .nav__caret svg { transform: rotate(180deg); }
  .menu::before { display: none; }
  .menu__inner, .menu--states .menu__inner { display: block; width: auto; max-width: none; box-shadow: none; border: 0; padding: 0 0 12px; background: transparent; }
  .menu__col { padding: 0; margin-bottom: 10px; }
  .menu__col--side, .menu__col--feature { padding: 10px; }
  .menu__states { grid-template-columns: repeat(2, 1fr); }
  .nav-toggle { display: flex; }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .site-header__actions .btn { display: none; }
}

/* Hero --------------------------------------------------------------- */
.hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; isolation: isolate; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero__glow { position: absolute; inset: 0; z-index: 0; background: radial-gradient(60% 50% at 70% 60%, rgba(228,85,59,.22), transparent 70%), radial-gradient(40% 40% at 20% 20%, rgba(31,138,138,.18), transparent 70%); pointer-events: none; }
.hero__inner { position: relative; z-index: 1; padding: clamp(72px, 11vw, 150px) 0 clamp(80px, 10vw, 130px); max-width: 760px; }
.hero h1 { color: #fff; margin-bottom: .45em; }
.hero h1 em { font-style: italic; color: #ffb3a3; font-weight: 400; }
.hero .lede { color: rgba(255,255,255,.78); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; align-items: center; }
.hero__cta .btn--ghost { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35); }
.hero__cta .btn--ghost:hover { box-shadow: inset 0 0 0 1.5px #fff; }
.hero__proof { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 44px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.14); }
.hero__proof div { font-size: .85rem; color: rgba(255,255,255,.6); }
.hero__proof strong { display: block; font-family: var(--serif); font-size: 1.6rem; color: #fff; font-weight: 500; line-height: 1.1; }
.hero--short .hero__inner { padding: clamp(56px, 8vw, 96px) 0 clamp(48px, 7vw, 80px); }

/* State finder in hero */
.finder { display: flex; gap: 8px; max-width: 520px; margin-top: 28px; position: relative; }
.finder input { flex: 1; min-width: 0; padding: 14px 18px; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.08); color: #fff; font: inherit; font-size: 1rem; outline: none; }
.finder input::placeholder { color: rgba(255,255,255,.5); }
.finder input:focus { border-color: #fff; background: rgba(255,255,255,.12); }
.finder__list { position: absolute; top: calc(100% + 8px); left: 0; right: 0; background: var(--card); color: var(--fg); border-radius: 14px; box-shadow: var(--shadow); padding: 6px; display: none; z-index: 5; max-height: 280px; overflow: auto; }
.finder__list.is-open { display: block; }
.finder__list a { display: flex; justify-content: space-between; padding: 10px 12px; border-radius: 8px; font-size: .95rem; }
.finder__list a:hover, .finder__list a:focus { background: var(--bg-2); }
.finder__list a span { color: var(--fg-3); font-size: .8rem; }

/* Sections ----------------------------------------------------------- */
.section { padding: clamp(56px, 8vw, 110px) 0; }
.section--tight { padding: clamp(40px, 5vw, 64px) 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: clamp(28px, 4vw, 48px); flex-wrap: wrap; }
.section-head h2 { margin: 0; max-width: 20ch; }
.section-head p { margin: 0; color: var(--fg-2); max-width: 46ch; }
.band { background: var(--bg-2); }
.band--ink { background: var(--ink); color: #fff; }
.band--ink h2, .band--ink h3 { color: #fff; }
.band--ink p { color: rgba(255,255,255,.75); }
.band--thread { background: linear-gradient(120deg, #c8452e, var(--thread) 45%, #f07a4a); color: #fff; }
.band--thread h2 { color: #fff; }
.band--thread p { color: rgba(255,255,255,.85); }
.hairline { height: 1px; background: var(--line); }

/* How it works: numbered dots on one hairline */
.steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; padding-top: 28px; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 10px; height: 1px; background: var(--line-strong); }
.step { position: relative; }
.step__n { position: absolute; top: -28px; left: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--thread-btn); color: #fff; font-size: .75rem; font-weight: 600; display: grid; place-items: center; box-shadow: 0 0 0 6px var(--bg); }
.band .step__n { box-shadow: 0 0 0 6px var(--bg-2); }
.step h3 { margin-top: 8px; }
.step p { color: var(--fg-2); margin: 0; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; gap: 28px; } .steps::before { display: none; } .step__n { position: static; margin-bottom: 10px; box-shadow: none; } }

/* State tiles */
.state-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.state-tile { position: relative; display: block; padding: 14px 14px 12px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s; }
.state-tile.is-live:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--thread); }
.state-tile:not(.is-live) { opacity: .55; cursor: default; }
.state-tile__abbr { font-family: var(--serif); font-size: 1.5rem; font-weight: 500; display: block; line-height: 1; }
.state-tile__name { display: block; font-weight: 600; font-size: .9rem; margin-top: 6px; }
.state-tile__meta { display: block; font-size: .74rem; color: var(--fg-3); margin-top: 2px; line-height: 1.3; }
.state-tile__tag { position: absolute; top: 10px; right: 10px; font-size: .62rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--thread); background: var(--thread-soft); padding: 3px 7px; border-radius: 999px; }
.state-tile__tag--soon { color: var(--fg-3); background: var(--bg-2); }
.state-grid--home { grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 8px; }
.state-grid--home .state-tile { padding: 12px 12px 10px; }
.state-grid--home .state-tile__meta { display: none; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }
.card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__kicker { font-size: .74rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); margin-bottom: 12px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--fg-2); font-size: .97rem; flex: 1; }
.card__meta { font-size: .8rem; color: var(--fg-3); margin-top: 8px; }
.card--feature { grid-column: span 2; grid-row: span 2; justify-content: end; background: var(--ink); color: #fff; border: 0; min-height: 380px; position: relative; overflow: hidden; }
.card--feature h3 { color: #fff; font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.card--feature p { color: rgba(255,255,255,.75); flex: 0; }
.card--feature .card__kicker { color: #ffb3a3; }
.card--feature::before { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 60% at 100% 0%, rgba(228,85,59,.35), transparent 70%); }
.card--feature > * { position: relative; }
@media (max-width: 900px) { .card--feature { grid-column: span 2; grid-row: auto; min-height: 280px; } }
@media (max-width: 600px) { .card--feature { grid-column: auto; } }

/* Thread strip (home: why) */
.strip { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (max-width: 860px) { .strip { grid-template-columns: 1fr; } }
.checks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 34px; color: var(--fg-2); }
.checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--thread-soft); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' fill='none' stroke='%23e4553b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.checks strong { color: var(--fg); }

/* Fact panel ("The path") */
.thread-panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); position: relative; }
.thread-panel::before { content: ""; position: absolute; left: 28px; top: 70px; bottom: 36px; width: 2px; background: repeating-linear-gradient(180deg, var(--thread) 0 8px, transparent 8px 14px); }
.thread-panel .h-label { margin-bottom: 18px; }
.thread-panel ol { list-style: none; margin: 0; padding: 0 0 0 36px; display: grid; gap: 18px; }
.thread-panel li { position: relative; font-size: .95rem; color: var(--fg-2); }
.thread-panel li::before { content: ""; position: absolute; left: -41px; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: var(--thread); box-shadow: 0 0 0 4px var(--card); }
.thread-panel li strong { display: block; color: var(--fg); font-weight: 600; }
.thread-panel .src { font-size: .78rem; color: var(--fg-3); }

/* Provider CTA */
.provider-cta { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(24px, 4vw, 48px); align-items: center; background: var(--bg-2); border-radius: 20px; padding: clamp(24px, 4vw, 44px); margin: clamp(40px, 6vw, 72px) 0; border: 1px solid var(--line); }
@media (max-width: 860px) { .provider-cta { grid-template-columns: 1fr; } }
.provider-cta__text p { color: var(--fg-2); margin: 0; }
.provider-cta__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .provider-cta__cards { grid-template-columns: 1fr; } }
.provider-card { display: flex; flex-direction: column; gap: 6px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 20px; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s; }
.provider-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--thread); }
.provider-card__name { font-family: var(--serif); font-size: 1.25rem; font-weight: 500; }
.provider-card__line { color: var(--fg-2); font-size: .9rem; flex: 1; }
.provider-card__go { color: var(--thread); font-weight: 600; font-size: .85rem; margin-top: 8px; }

/* Page header (inner pages) */
.page-head { padding: clamp(48px, 7vw, 88px) 0 clamp(28px, 4vw, 48px); }
.page-head h1 { max-width: 18ch; }
.crumbs { display: flex; gap: 8px; font-size: .82rem; color: var(--fg-3); margin-bottom: 20px; flex-wrap: wrap; }
.crumbs a { color: var(--fg-2); }
.crumbs span::before { content: "/"; margin-right: 8px; color: var(--line-strong); }
.crumbs span:first-child::before { display: none; }

/* State guide layout */
.guide { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.guide__aside { position: sticky; top: 90px; display: grid; gap: 18px; }
/* One column on small screens: the aside sits above the article and scrolls with it */
@media (max-width: 960px) { .guide { grid-template-columns: minmax(0, 1fr); } .guide__aside { order: -1; position: static; } }
.prose { max-width: 70ch; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 2.2em; padding-top: 1.2em; border-top: 1px solid var(--line); }
.prose h2:first-of-type { margin-top: 0; border: 0; padding-top: 0; }
.prose h3 { margin-top: 1.8em; }
.prose p, .prose li { color: var(--fg-2); }
.prose strong { color: var(--fg); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose blockquote { margin: 1.6em 0; padding: 1em 1.4em; border-left: 3px solid var(--thread); background: var(--bg-2); border-radius: 0 12px 12px 0; font-family: var(--serif); font-size: 1.15rem; color: var(--fg); }
.prose blockquote cite { display: block; font-family: var(--sans); font-size: .8rem; color: var(--fg-3); margin-top: .6em; font-style: normal; }
.cite { font-size: .8rem; color: var(--fg-3); }
table td:first-child { min-width: 150px; }
.notes { margin: 24px 0 0; display: grid; gap: 14px; }
.notes dt { font-weight: 600; margin-top: 8px; }
.notes dd { margin: 4px 0 0; color: var(--fg-2); max-width: 72ch; }
.cite a { color: var(--fg-3); }
.scope-note { font-size: .8rem; line-height: 1.5; color: var(--fg-3); margin: -1.6em 0 2.2em; max-width: 72ch; }
.scope-note a { color: var(--fg-3); }
.callout { border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; background: var(--card); margin: 1.6em 0; display: grid; grid-template-columns: 28px 1fr; gap: 14px; }
.callout__icon { width: 28px; height: 28px; border-radius: 50%; background: var(--teal-soft); color: var(--teal); display: grid; place-items: center; font-weight: 700; font-size: .9rem; }
.callout--warn .callout__icon { background: var(--thread-soft); color: var(--thread); }
.callout p { margin: 0; font-size: .95rem; }
.callout strong { display: block; margin-bottom: 2px; }

.facts { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.facts .h-label { margin-bottom: 14px; }
.facts dl { margin: 0; display: grid; gap: 12px; }
.facts dt { font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-3); font-weight: 600; }
.facts dd { margin: 2px 0 0; font-weight: 500; font-size: .95rem; }
.facts dd small { display: block; font-weight: 400; color: var(--fg-3); font-size: .78rem; }
.toc { background: var(--bg-2); border-radius: var(--radius); padding: 20px 22px; }
.toc ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: .9rem; }
.toc a { color: var(--fg-2); }
.toc a:hover { color: var(--thread); }
.updated { font-size: .8rem; color: var(--fg-3); display: flex; gap: 6px; align-items: center; }
.updated::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); margin: 1.5em 0; }
table { width: 100%; border-collapse: collapse; font-size: .93rem; }
th, td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-3); font-weight: 600; background: var(--bg-2); }
tr:last-child td { border-bottom: 0; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pill { display: inline-block; font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; background: var(--teal-soft); color: var(--teal); }
.pill--featured { background: var(--thread-soft); color: var(--thread); }

/* Districts list */
.districts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 1.5em 0; }
@media (max-width: 640px) { .districts { grid-template-columns: 1fr; } }
.district { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; }
.district h3 { font-size: 1.1rem; margin: 0 0 6px; }
.district p { font-size: .9rem; margin: 0 0 8px; }
.district .cite { display: block; }

/* Articles */
.article-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.article-row { display: grid; grid-template-columns: 110px 1fr auto; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line); align-items: center; }
.article-row:hover h3 { color: var(--thread); }
.article-row h3 { margin: 0 0 6px; transition: color .2s; }
.article-row p { margin: 0; color: var(--fg-2); font-size: .95rem; }
.article-row time { font-size: .82rem; color: var(--fg-3); }
.article-row .pill { justify-self: end; }
@media (max-width: 640px) { .article-row { grid-template-columns: 1fr; gap: 8px; } .article-row .pill { justify-self: start; } }
.article-head { max-width: 760px; padding: clamp(48px, 7vw, 88px) 0 clamp(24px, 4vw, 40px); }
.article-head h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
.byline { display: flex; align-items: center; gap: 12px; color: var(--fg-3); font-size: .88rem; margin-top: 18px; }
.byline__avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-family: var(--serif); font-size: .95rem; }
.article-body { max-width: 720px; }
.article-body .prose p { font-size: 1.05rem; line-height: 1.7; }
.article-body .prose h2 { border: 0; padding-top: 0; margin-top: 1.8em; }

/* Resources */
.res-group { margin-bottom: clamp(32px, 5vw, 56px); }
.res-group h2 { margin-bottom: 8px; }
.res-group > p { color: var(--fg-2); margin-bottom: 20px; }
.res-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 12px; }
.res { display: grid; grid-template-columns: 1fr auto; gap: 12px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; transition: border-color .2s, transform .25s var(--ease); }
.res:hover { border-color: var(--thread); transform: translateY(-2px); }
.res strong { display: block; font-weight: 600; }
.res span { display: block; color: var(--fg-3); font-size: .84rem; margin-top: 2px; }
.res small { color: var(--teal); font-size: .74rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }

/* Newsletter band */
.newsletter { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; padding: clamp(48px, 7vw, 80px) var(--gutter); }
@media (max-width: 860px) { .newsletter { grid-template-columns: 1fr; } }
.newsletter h2 { margin-bottom: .4em; }
.newsletter p { margin: 0; }
.newsletter__form { display: flex; gap: 10px; position: relative; flex-wrap: wrap; }
.newsletter__form input { flex: 1; min-width: 220px; padding: 14px 18px; border-radius: 999px; border: 0; font: inherit; }
.newsletter__done { display: none; width: 100%; margin: 8px 0 0; color: #fff; font-weight: 600; }
.newsletter__form.is-done input, .newsletter__form.is-done .btn { display: none; }
.newsletter__form.is-done .newsletter__done { display: block; }

/* Footer */
.site-footer { background: var(--ink); color: rgba(255,255,255,.72); padding: clamp(48px, 6vw, 80px) 0 32px; }
.site-footer__grid { display: grid; grid-template-columns: 1.5fr 1.2fr 1fr 1fr; gap: 40px; }
@media (max-width: 900px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; } }
.site-footer .brand__word { color: #fff; }
.site-footer p { font-size: .92rem; max-width: 44ch; }
.site-footer .disclosure { font-size: .82rem; color: rgba(255,255,255,.5); }
.site-footer .disclosure a { color: rgba(255,255,255,.75); }
.site-footer .h-label { color: rgba(255,255,255,.5); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer ul a { color: rgba(255,255,255,.8); font-size: .92rem; text-decoration: none; display: inline-block; padding: 4px 0; }
.site-footer ul a:hover { color: #fff; }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: .8rem; color: rgba(255,255,255,.62); }

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; } .reveal[data-delay="2"] { transition-delay: .2s; } .reveal[data-delay="3"] { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* Stitched divider */
.stitch { height: 2px; background: repeating-linear-gradient(90deg, var(--thread) 0 10px, transparent 10px 18px); opacity: .7; }

/* ---- Editorial components (2026-11 polish) ---------------------------- */
.page-head .lede + .byline, .article-head .byline { margin-top: 22px; }
.byline { display: flex; align-items: center; gap: 12px; color: var(--fg-3); font-size: .86rem; margin-top: 18px; }
.byline__avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; flex: none; }
.byline__text { display: flex; flex-direction: column; line-height: 1.4; }
.byline__text a { color: var(--fg); font-weight: 600; text-decoration: none; }
.byline__text a:hover { color: var(--thread); }
.byline__sep { margin: 0 4px; opacity: .6; }

.answer { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 24px 26px 20px; margin: 0 0 2.4em; box-shadow: var(--shadow); overflow: hidden; }
.answer::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(180deg, var(--thread), var(--amber)); }
.prose .answer h2, .answer h2 { font-family: var(--sans); font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--thread); margin: 0 0 10px; padding: 0; border: 0; line-height: 1.4; }
.answer__q { font-family: var(--serif); font-size: clamp(1.25rem, 2.2vw, 1.5rem); line-height: 1.25; color: var(--fg); margin: 0 0 10px; }
.prose .answer p { color: var(--fg); }
.answer p:last-child { margin-bottom: 0; }
.answer .cite { margin-top: 12px; color: var(--fg-3); }
.prose h2.after-answer, .prose .answer + h2 { margin-top: 0; border: 0; padding-top: 0; }

.takeaways { background: var(--bg-2); border-radius: 16px; padding: 20px 24px; margin: 0 0 2.2em; }
.takeaways .h-label { margin-bottom: 10px; }
.takeaways ul { margin: 0; padding-left: 1.1em; }
.takeaways li { margin-bottom: .45em; color: var(--fg); }

.steps-list { counter-reset: s; list-style: none; padding: 0 !important; margin: 1.4em 0; display: grid; gap: 14px; }
.steps-list > li { counter-increment: s; position: relative; padding: 16px 18px 16px 62px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; margin: 0 !important; }
.steps-list > li::before { content: counter(s); position: absolute; left: 18px; top: 16px; width: 30px; height: 30px; border-radius: 50%; background: var(--thread-btn); color: #fff; font-weight: 700; font-size: .85rem; display: grid; place-items: center; }
.steps-list > li strong:first-child { display: block; color: var(--fg); margin-bottom: 2px; }

.faq-list { margin-top: 2.4em; }
.faq { border-top: 1px solid var(--line); }
.faq:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; font-weight: 600; color: var(--fg); position: relative; font-size: 1.02rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 24px; width: 10px; height: 10px; border-right: 2px solid var(--fg-3); border-bottom: 2px solid var(--fg-3); transform: rotate(45deg); transition: transform .25s var(--ease); }
.faq[open] summary::after { transform: rotate(-135deg); top: 28px; }
.faq summary:hover { color: var(--thread); }
.faq > div { padding: 0 0 16px; }
.faq > div p { margin-bottom: .7em; }

.sources { padding-left: 1.3em !important; font-size: .92rem; }
.sources li { margin-bottom: .7em !important; }
.sources .checked { display: inline-block; font-size: .76rem; color: var(--fg-3); white-space: nowrap; }
.review-note { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .82rem; color: var(--fg-3); border-top: 1px solid var(--line); padding-top: 14px; margin-top: 1.8em; }
.review-note a { color: var(--fg-2); }

.district__src { display: block; font-size: .78rem; color: var(--fg-3); margin-top: 6px; }
.district__src a { color: var(--teal); }
.district__tag { display: inline-block; font-size: .66rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); background: var(--teal-soft); padding: 2px 7px; border-radius: 999px; margin-bottom: 8px; }
.district ul { margin: 6px 0 8px; padding-left: 1.1em; font-size: .9rem; }
.district li { margin-bottom: .25em; }

.related { margin: clamp(48px, 7vw, 80px) 0 0; padding-top: 28px; border-top: 1px solid var(--line); }
.related__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); gap: 14px; }
.rel-card { display: flex; flex-direction: column; gap: 6px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px; transition: transform .25s var(--ease), border-color .25s, box-shadow .25s; }
.rel-card:hover { transform: translateY(-3px); border-color: var(--thread); box-shadow: var(--shadow); }
.rel-card__kicker { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); }
.rel-card__title { font-family: var(--serif); font-size: 1.15rem; line-height: 1.2; color: var(--fg); }
.rel-card__desc { font-size: .84rem; color: var(--fg-3); line-height: 1.45; }

/* Featured provider box (on guides and articles) */
.featured-box { background: var(--bg-2); border: 1px solid var(--line); border-radius: 20px; padding: clamp(22px, 3.5vw, 36px); margin: clamp(40px, 6vw, 64px) 0; }
.featured-box__head { display: flex; justify-content: space-between; gap: 16px; align-items: end; flex-wrap: wrap; margin-bottom: 18px; }
.featured-box__head h2, .prose .featured-box__head h2 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); margin: 0; padding: 0; border: 0; }
.featured-box__head p { margin: 0; color: var(--fg-2); font-size: .95rem; max-width: 56ch; }
.featured-box__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 640px) { .featured-box__cards { grid-template-columns: 1fr; } }
.fcard { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 20px; position: relative; transition: border-color .25s, box-shadow .25s, transform .25s var(--ease); }
.fcard:hover { border-color: var(--thread); box-shadow: var(--shadow); transform: translateY(-2px); }
.fcard__top { display: flex; justify-content: space-between; gap: 10px; align-items: start; }
.fcard__name { font-family: var(--serif); font-size: 1.3rem; line-height: 1.15; color: var(--fg); }
.fcard__facts { list-style: none; padding: 0 !important; margin: 12px 0 14px; display: grid; gap: 6px; font-size: .88rem; }
.fcard__facts li { margin: 0 !important; padding-left: 18px; position: relative; color: var(--fg-2); }
.fcard__facts li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
.fcard__actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: auto; }
.fcard__actions a { text-decoration: none; }
.prose .fcard__actions a.btn { color: #fff; }
.fcard__actions .btn--ghost, .prose .fcard__actions a.btn--ghost { color: var(--fg); }
.featured-box__foot { display: flex; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; margin-top: 16px; font-size: .84rem; color: var(--fg-3); }
.featured-box__foot a { color: var(--fg-2); }

/* Provider directory */
.dir-group { font-size: clamp(1.25rem, 2vw, 1.5rem); margin: 2.2em 0 .8em; display: flex; align-items: baseline; gap: 10px; }
.dir { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.dir-card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 20px; }
.dir-card header { display: flex; justify-content: space-between; gap: 10px; align-items: start; margin-bottom: 8px; }
.dir-card h4 { font-family: var(--serif); font-size: 1.15rem; text-transform: none; letter-spacing: -.01em; color: var(--fg); font-weight: 500; margin: 0; line-height: 1.2; }
.dir-card p { font-size: .9rem; color: var(--fg-2); margin: 0 0 10px; }
.dir-card__who { font-size: .82rem !important; }
.dir-card__who span { font-weight: 700; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-3); margin-right: 6px; }
.dir-card__links { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: auto; padding-top: 8px; border-top: 1px solid var(--line); font-size: .84rem; }
.dir-card__links a { color: var(--teal); font-weight: 600; }
.dir-card__links a:hover { color: var(--thread); }

/* Provider profile */
.profile-facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; margin: 1.6em 0; }
.profile-facts div { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.profile-facts dt { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-3); font-weight: 700; }
.profile-facts dd { margin: 4px 0 0; font-family: var(--serif); font-size: 1.3rem; color: var(--fg); line-height: 1.15; }
.profile-facts dd small { display: block; font-family: var(--sans); font-size: .76rem; color: var(--fg-3); margin-top: 4px; }

/* Payback calculator */
.calc { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 22px; margin: 1.6em 0; box-shadow: var(--shadow); }
.calc__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }
.calc label { display: flex; flex-direction: column; gap: 6px; font-size: .84rem; font-weight: 600; color: var(--fg-2); }
.calc input { font: inherit; font-size: 1rem; padding: 11px 14px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--bg); color: var(--fg); }
.calc input:focus { outline: 2px solid var(--thread); outline-offset: 1px; }
.calc__out { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.calc__out div { background: var(--bg-2); border-radius: 12px; padding: 12px 14px; }
.calc__out span { display: block; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-3); font-weight: 700; }
.calc__out strong { display: block; font-family: var(--serif); font-size: 1.5rem; font-weight: 500; color: var(--fg); margin-top: 2px; }

/* Trust bar */
.trustbar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: 16px; background: var(--card); overflow: hidden; }
.trustbar div { padding: 18px 20px; border-right: 1px solid var(--line); }
.trustbar div:last-child { border-right: 0; }
.trustbar strong { display: block; font-family: var(--serif); font-size: 1.05rem; font-weight: 500; color: var(--fg); }
.trustbar span { font-size: .84rem; color: var(--fg-3); }
@media (max-width: 860px) { .trustbar { grid-template-columns: 1fr 1fr; } .trustbar div:nth-child(2) { border-right: 0; } .trustbar div:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
@media (max-width: 480px) { .trustbar { grid-template-columns: 1fr; } .trustbar div { border-right: 0; border-bottom: 1px solid var(--line); } .trustbar div:last-child { border-bottom: 0; } }

.site-footer__states { grid-template-columns: 1fr 1fr; column-gap: 14px; margin-bottom: 10px !important; }
.site-footer__sub { margin-top: 26px; }
.renewal-table td:first-child, .renewal-table tbody th { white-space: nowrap; }
.renewal-table tbody th { text-align: left; font-weight: inherit; }
.compare-table td:first-child { white-space: nowrap; }
.compare-table .pill { margin-left: 4px; vertical-align: 1px; }
/* Price columns hug their figures; text columns get the room */
.compare-table:not(.fit-table) .num { width: 1%; padding-left: 24px; }
.compare-table:not(.fit-table) td:not(.num):not(:first-child) { min-width: 11rem; }
.compare-table td.num .small { display: inline-block; white-space: normal; min-width: 9rem; line-height: 1.4; }
@media (max-width: 640px) { .compare-table td:first-child { white-space: normal; } }

/* Wide article body (compare, directory, renewal hub): tables run full width, text keeps its measure */
.article-body--wide { max-width: none; }
.prose--wide { max-width: none; }
.prose--wide > p, .prose--wide > ul, .prose--wide > ol, .prose--wide > h2, .prose--wide > h3, .prose--wide > .answer, .prose--wide > .callout, .prose--wide > .takeaways { max-width: 72ch; }
.prose .cards { grid-template-columns: repeat(2, 1fr); margin: 1.4em 0; }
@media (max-width: 600px) { .prose .cards { grid-template-columns: 1fr; } }
.profile-head { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 14px; }

/* Header CTA never wraps */
.site-header .btn { white-space: nowrap; }

/* Repeated promo headings are styled like h2 but are not headings (one outline per page) */
.featured-box__title, .band__title { font-family: var(--serif); font-weight: 500; line-height: 1.1; letter-spacing: -.01em; font-variation-settings: "opsz" 120; color: var(--fg); margin: 0; }
.featured-box__head .featured-box__title { font-size: clamp(1.35rem, 2.4vw, 1.75rem); max-width: none; color: var(--fg); }
.band__title { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin: 0 0 .5em; }
.band--thread .band__title { color: #fff; }

/* Answer block: label + question heading */
.answer__label { font-family: var(--sans); font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--thread); margin: 0 0 10px; line-height: 1.4; }
.prose .answer h2.answer__q, .answer h2.answer__q { font-family: var(--serif); font-size: clamp(1.25rem, 2.2vw, 1.5rem); font-weight: 500; letter-spacing: -.005em; text-transform: none; line-height: 1.25; color: var(--fg); margin: 0 0 10px; }

/* ---- district guides ---------------------------------------------------- */
.district-index { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; margin: 1em 0 1.75em; }
.district-link { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: inherit; transition: border-color .15s, transform .15s; }
.district-link:hover { border-color: var(--teal); transform: translateY(-1px); }
.district-link__name { font-family: var(--serif, Georgia, serif); font-size: 1.08rem; font-weight: 600; color: var(--fg); }
.district-link__desc { font-size: .86rem; line-height: 1.45; color: var(--fg-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.district-index__title { margin-top: 1.5em; }
.district-state { padding: 28px 0 8px; border-top: 1px solid var(--line); }
.district-state__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.district-state__head h2 { margin: 0; }
.district-siblings { margin-top: 2.5em; }
.fit-table caption { caption-side: top; text-align: left; font-size: .8rem; color: var(--fg-3); padding: 12px 16px 8px; }
.fit-table th[scope="row"] { font-weight: 600; text-align: left; vertical-align: top; }
.fit-table td { vertical-align: top; }
.fit-local { display: block; font-weight: 400; font-size: .78rem; color: var(--fg-3); margin-top: 4px; line-height: 1.35; }
.fit-note { border-left: 3px solid var(--teal); padding: 12px 16px; background: var(--bg-2); border-radius: 0 8px 8px 0; }
.partner-list { margin: .6em 0 1em; }
.partner-list li { margin: .35em 0; }
.report-form { display: grid; gap: 6px; max-width: 640px; margin-top: 1.5em; }
.report-form label { font-weight: 600; margin-top: 12px; }
.report-form input, .report-form textarea { font: inherit; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--bg); color: inherit; width: 100%; box-sizing: border-box; }
.report-form textarea { resize: vertical; }
.report-form .btn { justify-self: start; margin-top: 16px; }
.report-form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.report-status { padding: 14px 16px; border-radius: 10px; background: var(--bg-2); }
.report-form[hidden] { display: none; }

/* Home: pick your mission */
.missions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.mission { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 28px 26px 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); color: var(--fg); text-decoration: none; overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease); }
.mission:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.mission::after { content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; background: var(--m-soft); opacity: .7; }
.mission > * { position: relative; z-index: 1; }
.mission--salary { --m: var(--thread); --m-soft: var(--thread-soft); --m-ink: color-mix(in srgb, var(--thread) 70%, var(--fg)); }
.mission--renew { --m: var(--teal); --m-soft: var(--teal-soft); --m-ink: color-mix(in srgb, var(--teal) 70%, var(--fg)); }
.mission--both { --m: var(--amber); --m-soft: color-mix(in srgb, var(--amber) 22%, transparent); --m-ink: color-mix(in srgb, var(--amber) 50%, var(--fg)); }
.mission__icon { color: var(--m); }
.mission__kicker { font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--m-ink); }
.mission h3 { margin: 0; font-size: 1.45rem; }
.mission p { color: var(--fg-2); margin: 0; flex: 1; }
.mission__go { margin-top: 10px; font-weight: 600; color: var(--m-ink); }
.mission__go::after { content: " \2192"; transition: margin .2s var(--ease); }
.mission:hover .mission__go::after { margin-left: 4px; }
@media (max-width: 900px) { .missions { grid-template-columns: 1fr; } }

.planner-teaser { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px 32px; border-radius: var(--radius); background: var(--bg-2); border: 1px dashed var(--line-strong); }
.planner-teaser h2 { margin: 4px 0 8px; font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.planner-teaser p { margin: 0; color: var(--fg-2); max-width: 60ch; }
@media (max-width: 760px) { .planner-teaser { flex-direction: column; align-items: start; padding: 22px 20px; } }

/* Home: lingo decoder */
.lingo { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 0; }
.lingo > div { padding: 18px 20px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
.lingo dt { font-family: var(--serif, inherit); font-weight: 700; font-size: 1.12rem; color: var(--thread); margin-bottom: 4px; }
.lingo dd { margin: 0; color: var(--fg-2); font-size: .95rem; }
@media (max-width: 900px) { .lingo { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .lingo { grid-template-columns: 1fr; } }

/* Directory: need chips, group blurbs, transcript line */
.need-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 6px; }
.need-chips a { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--card); font-size: .9rem; font-weight: 600; text-decoration: none; color: var(--fg); }
.need-chips a:hover { border-color: var(--thread); color: var(--thread); }
.dir-group { scroll-margin-top: 100px; }
.dir-group__blurb { color: var(--fg-2); margin: -4px 0 14px; }
.dir-card__uni { margin: 4px 0 0; font-size: .9rem; }
.dir-card__uni span { display: inline-block; min-width: 82px; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--fg-3, var(--fg-2)); }

/* Planner */
.planner__note { margin: 12px 0 0; font-size: .95rem; color: var(--fg-2); min-height: 1.2em; }

/* Small label headings inside prose keep the label size (audit 11/12) */
.prose h2.h-label, .prose h3.h-label { font-family: var(--sans); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-3); font-weight: 600; margin: 2.4em 0 .9em; padding-top: 0; border: 0; line-height: 1.4; }
/* Wide tables say they scroll on small screens */
@media (max-width: 700px) {
  .table-wrap { position: relative; }
  .table-wrap::before { content: "Swipe to see more →"; display: block; position: sticky; left: 0; padding: 8px 16px 0; font-size: .75rem; color: var(--fg-3); }
}
.district__guide { margin: .4em 0 .8em; font-weight: 600; font-size: .92rem; }
.card--feature .card__art { position: absolute; top: 28px; right: 28px; left: 28px; width: auto; max-width: 420px; margin-left: auto; height: auto; opacity: .9; }
.card--feature .card__art rect { fill: rgba(255,255,255,.07); stroke: rgba(255,255,255,.12); }
.card--feature .card__art rect.on { fill: rgba(228,85,59,.22); stroke: rgba(228,85,59,.45); }
@media (max-width: 600px) { .card--feature .card__art { display: none; } }
.related { margin-bottom: clamp(32px, 5vw, 56px); }
/* District fit table stacks into rows of label + two answers on phones */
@media (max-width: 640px) {
  .table-wrap:has(.fit-table)::before { display: none; }
  .fit-table, .fit-table tbody, .fit-table tr, .fit-table th, .fit-table td { display: block; width: auto; }
  .fit-table thead { display: none; }
  .fit-table tr { border-top: 1px solid var(--line); padding: 12px 16px; }
  .fit-table tbody th[scope="row"] { padding: 0 0 6px; background: none; }
  .fit-table td { padding: 4px 0; border: 0; }
  .fit-table td::before { content: attr(data-label); display: block; font-size: .75rem; font-weight: 600; color: var(--fg-3); text-transform: uppercase; letter-spacing: .08em; }
}
