/* BenefitBeacon — draft design tokens + styles. Single stylesheet.
   Palette: navy #0A2540 / teal #0F766E / gold #D97706 (rationed) / off-white #F8F7F4.
   Type: Fraunces (display) + Inter (body). Mobile-first. */
/* Self-hosted fonts: Fraunces + Inter variable fonts (SIL Open Font License 1.1). Files in assets/fonts/, downloaded from Google Fonts 2026-11-07. Replaces the Google Fonts CDN links. One variable file per family/subset; font-weight range 100 900 covers all weights used (Fraunces 600/700, Inter 400/600/700). */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(../fonts/fraunces-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(../fonts/fraunces-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(../fonts/inter-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(../fonts/inter-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
:root{
  --navy:#0A2540; --navy-2:#0E3355; --teal:#0F766E; --teal-dark:#0B5E57;
  --gold:#D97706; --bg:#F8F7F4; --surface:#FFFFFF; --ink:#1A202C; --muted:#5B6B7F;
  --line:#E5E7EB; --line-dark:#CBD5E1; --green:#15803D; --amber:#B45309; --red:#B91C1C;
  --radius:16px; --radius-sm:10px; --max:1120px;
  --font-display:"Fraunces",Georgia,"Times New Roman",serif;
  --font-body:"Inter",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  --ease:cubic-bezier(.22,1,.36,1);
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--font-body);
  font-size:17px;line-height:1.65;-webkit-font-smoothing:antialiased}
img,svg{max-width:100%;height:auto}
a{color:var(--teal);text-underline-offset:3px}
a:hover{color:var(--teal-dark)}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,
  summary:focus-visible,[tabindex]:focus-visible{outline:3px solid #B45309;outline-offset:2px}
/* Dark backgrounds keep gold (4.88:1 on navy); the #B45309 default above is for light backgrounds (5.02:1 on white). */
.masthead a:focus-visible,.masthead button:focus-visible,.masthead input:focus-visible,.site-footer a:focus-visible{outline-color:var(--gold)}
h1,h2,h3,h4{font-family:var(--font-display);color:var(--navy);line-height:1.15;margin:0 0 .5em}
h1{font-size:clamp(2rem,5vw,2.5rem)} h2{font-size:clamp(1.5rem,3.5vw,1.75rem)}
h3{font-size:1.25rem} p{margin:0 0 1em}
.lede{font-size:1.125rem;color:#334155}
.muted{color:var(--muted)} .small{font-size:.875rem}
/* Article byline + AI note (GSTD-S15/S16/S17 fix, 2026-11-12) */
.byline{font-size:.875rem;color:var(--muted);margin:.5em 0 .2em}
.ai-note{font-size:.875rem;color:var(--muted);margin:0 0 1em}
.wrap{max-width:var(--max);margin:0 auto;padding:0 1.25rem}
.skip-link{position:absolute;left:1rem;top:-4rem;z-index:200;background:var(--navy);color:#fff;
  padding:.6rem 1rem;border-radius:0 0 var(--radius-sm) var(--radius-sm);text-decoration:none}
.skip-link:focus{top:0;color:#fff}
/* Masthead */
.masthead{background:var(--navy);color:#fff;position:sticky;top:0;z-index:100;
  box-shadow:0 1px 0 rgba(255,255,255,.08)}
.masthead-inner{display:flex;align-items:center;gap:1rem;min-height:64px}
.brand{display:flex;align-items:center;gap:.6rem;color:#fff;text-decoration:none;flex-shrink:0}
.brand-name{font-family:var(--font-display);font-size:1.35rem;font-weight:700;letter-spacing:.01em}
.brand-mark{flex-shrink:0}
.nav-toggle{display:inline-flex;align-items:center;gap:.4rem;margin-left:auto;background:transparent;
  border:1px solid rgba(255,255,255,.4);color:#fff;border-radius:var(--radius-sm);padding:.6rem .85rem;
  font:inherit;font-size:.95rem;cursor:pointer}
.primary-nav{display:none;background:var(--navy-2)}
.primary-nav.open{display:block}
.primary-nav ul{list-style:none;margin:0;padding:.25rem 0}
.primary-nav a{display:block;color:#fff;text-decoration:none;padding:.65rem 1.25rem}
.primary-nav a:hover,.primary-nav a:focus-visible{background:rgba(255,255,255,.08);color:#fff}
.has-menu{position:relative}
.menu-btn{width:100%;text-align:left;background:none;border:0;color:#fff;font:inherit;
  padding:.75rem 1.25rem;cursor:pointer;display:flex;justify-content:space-between;gap:.5rem}
.menu-btn:hover{background:rgba(255,255,255,.08)}
.submenu{display:none;list-style:none;margin:0;padding:0;background:var(--navy)}
.submenu.open{display:block}
.submenu a{padding-left:2rem;font-size:.95rem}
.masthead-search{margin-left:auto;display:none}
.masthead-search input{background:#fff;border:0;border-radius:999px;padding:.5rem 1rem;
  font:inherit;font-size:.95rem;width:11rem}
/* Tool pages carry an inline <style> with button{width:100%;margin-top:18px}
   for their full-width form buttons. That element selector must never
   restyle the masthead buttons: below 640px it stretched the Menu toggle
   into a full-width row of its own (verified live on the retirement tool,
   2026-11-08). Scoped here, it wins on specificity in all 30 tool pages. */
.masthead button{width:auto;margin-top:0}
/* Mobile nav: the nav is a flex item of the nowrap .masthead-inner row. When
   opened it shared that row with the brand + toggle, and min-width:auto kept
   it from shrinking below its min-content width (longest submenu word +
   2rem indent), pushing the row ~21px past a 412px viewport and clipping
   the submenu's right edge ("Immigratio"). Below 960px the nav now wraps
   onto its own full-width row, so the submenu always fits the viewport.
   Desktop (min-width:960px below) still sets flex-wrap:nowrap. */
@media(max-width:959px){
  .masthead-inner{flex-wrap:wrap}
  .primary-nav{flex:1 1 100%;min-width:0}
  .submenu a{overflow-wrap:anywhere}
}
/* Hero */
.hero{background:linear-gradient(135deg,var(--navy) 0%,#0D3A5C 55%,var(--teal-dark) 100%);
  color:#fff;padding:3.5rem 0 3rem;position:relative;overflow:hidden}
.hero::after{content:"";position:absolute;inset:0;pointer-events:none;opacity:.05;
  background-image:radial-gradient(rgba(255,255,255,.9) 1px,transparent 1px);background-size:22px 22px}
.hero h1{color:#fff;max-width:16ch}
.hero p{color:#D6E4EF;max-width:56ch}
.hero-eyebrow{color:var(--gold);font-weight:700;letter-spacing:.08em;text-transform:uppercase;
  font-size:.8rem;margin-bottom:.75rem}
.hero-actions{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:1.5rem}
.btn{display:inline-block;border-radius:999px;padding:.8rem 1.5rem;font-weight:600;
  text-decoration:none;border:2px solid transparent;cursor:pointer;font:inherit;font-size:1rem}
.btn-gold{background:var(--gold);color:var(--navy)}
.btn-gold:hover{background:#C26A05;color:var(--navy)}
.btn-outline{border-color:#fff;color:#fff;background:transparent}
.btn-outline:hover{background:rgba(255,255,255,.12);color:#fff}
.btn-teal{background:var(--teal);color:#fff}
.btn-teal:hover{background:var(--teal-dark);color:#fff}
.btn-navy{background:var(--navy);color:#fff}
.btn-navy:hover{background:var(--navy-2);color:#fff}
/* Sections */
.section{padding:3rem 0}
.section-alt{background:#fff;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.section-head{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:.5rem;margin-bottom:1.5rem}
.section-head h2{margin:0}
.kicker{color:var(--teal);font-weight:700;letter-spacing:.06em;text-transform:uppercase;font-size:.78rem;margin-bottom:.4rem}
.card-grid{display:grid;gap:1rem;grid-template-columns:1fr}
@media(min-width:640px){.card-grid{grid-template-columns:repeat(2,1fr)}}
@media(min-width:960px){.card-grid{grid-template-columns:repeat(3,1fr)}}
.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);
  padding:1.25rem;display:flex;flex-direction:column;box-shadow:0 1px 3px rgba(10,37,64,.06);
  transition:transform .2s var(--ease),box-shadow .2s var(--ease),border-color .2s var(--ease)}
.card:hover{transform:translateY(-3px);box-shadow:0 8px 24px rgba(10,37,64,.12);border-top:3px solid var(--teal)}
.card h3{margin-bottom:.35rem}
.card h3 a{color:var(--navy);text-decoration:none}
.card h3 a:hover{color:var(--teal)}
.card p{color:#334155;flex:1}
.tag{display:inline-block;font-size:.75rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;
  color:var(--teal-dark);background:#E6F2F0;border-radius:999px;padding:.2rem .6rem;margin-bottom:.6rem}
.tag-gold{color:var(--navy);background:#FDF0DC}
.card-link{font-weight:600}
/* Finder */
.finder{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);
  padding:1.5rem;box-shadow:0 1px 3px rgba(10,37,64,.06)}
.finder-steps{display:flex;gap:.5rem;margin-bottom:1.25rem;list-style:none;padding:0}
.finder-steps li{flex:1;height:6px;border-radius:999px;background:var(--line)}
.finder-steps li.done,.finder-steps li.now{background:var(--teal)}
.finder-step[hidden]{display:none}
.field{margin-bottom:1rem}
.field label,.field legend{display:block;font-weight:600;margin-bottom:.4rem;color:var(--navy)}
.field input[type=text],.field input[type=number],.field select,.field textarea{
  width:100%;font:inherit;padding:.65rem .8rem;border:1px solid var(--line-dark);border-radius:var(--radius-sm);background:#fff}
.choice-list{display:grid;gap:.5rem}
.choice-list label{display:flex;gap:.6rem;align-items:flex-start;border:1px solid var(--line);
  border-radius:var(--radius-sm);padding:.7rem .8rem;cursor:pointer;font-weight:400;margin:0}
.choice-list label:has(input:checked){border-color:var(--teal);background:#EAF4F2}
.finder-actions{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:1rem}
.finder-result{border-top:1px solid var(--line);margin-top:1.25rem;padding-top:1.25rem}
.finder-result ul{margin:.5rem 0 1rem;padding-left:1.25rem}
/* Directory */
.directory-tools{display:grid;gap:.75rem;margin-bottom:1.25rem}
.directory-tools .field{min-width:0}
/* Category column widened 1fr -> 1.5fr: at 768px the 1fr track (~138px) cut
   "All categories" to "All categori". 1.5fr gives ~189px at 768px, enough
   for the default option + select chrome; 1920px layout unchanged in kind
   (tracks only grow).
   N-R6-1 (2026-11-07): the same row still clipped at 768px — Status
   "All statuses" read "All status" (1fr ~126px vs ~146px needed) and the
   search placeholder was ellipsised (2fr ~252px vs ~290px needed for the
   31-char placeholder). Fix: Type 1fr -> 1.1fr, Status 1fr -> 1.35fr, and
   the placeholder shortened to "Try SNAP, Medicaid, tax" (~222px needed).
   At 760px (breakpoint edge) the tracks are ~230/172/126/155px against
   needs of ~222/163/121/146px — every field fits with margin; at 768px
   the margins are ~+11/+12/+7/+11px. Below 760px the grid stacks to one
   column, so nothing changes at 412px. */
@media(min-width:760px){.directory-tools{grid-template-columns:2fr 1.5fr 1.1fr 1.35fr}}
.directory-list{list-style:none;margin:0;padding:0;display:grid;gap:.6rem}
@media(min-width:760px){.directory-list{grid-template-columns:1fr 1fr}}
.dir-item{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-sm);
  padding:.9rem 1rem;display:flex;flex-direction:column;gap:.15rem}
.dir-item h3{font-size:1.05rem;margin:0}
.dir-item h3 a{color:var(--navy);text-decoration:none}
.dir-item h3 a:hover{color:var(--teal)}
.dir-meta{font-size:.875rem;color:var(--muted)}
.pill{display:inline-block;font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;
  border-radius:999px;padding:.15rem .55rem;background:#EAF4F2;color:var(--teal-dark)}
.pill-discontinued{background:#FDECEC;color:var(--red)}
.pill-research{background:#FFF4E0;color:#92400E}
.empty-note{background:#FFF4E0;border:1px solid #F3D9A8;border-radius:var(--radius-sm);padding:1rem}
/* Article layout */
.article-layout{display:grid;gap:2rem;padding:2rem 0 3rem}
@media(min-width:960px){.article-layout{grid-template-columns:minmax(0,1fr) 280px}}
.article-body{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:1.5rem}
@media(min-width:640px){.article-body{padding:2rem}}
.article-body h2{border-top:1px solid var(--line);padding-top:1.25rem;margin-top:1.75rem}
.article-body ul,.article-body ol{padding-left:1.4rem}
.article-body li{margin-bottom:.35rem}
.callout{border-left:4px solid var(--teal);background:#EAF4F2;border-radius:0 10px 10px 0;padding:1rem 1.1rem;margin:1.25rem 0}
.callout-amber{border-left-color:var(--gold);background:#FDF3E3}
.fact-row{display:grid;gap:.5rem;grid-template-columns:1fr 1fr;border:1px solid var(--line);
  border-radius:var(--radius-sm);padding:1rem;margin:1rem 0}
.fact-row dt{font-weight:700;color:var(--navy)} .fact-row dd{margin:0}
.breadcrumbs{font-size:.875rem;color:var(--muted);margin-bottom:1rem}
.breadcrumbs a{color:var(--teal)}
.breadcrumbs ol{list-style:none;display:flex;flex-wrap:wrap;gap:.35rem;margin:0;padding:0}
.breadcrumbs li+li::before{content:"/";margin-right:.35rem;color:var(--line-dark)}
.toc{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:1.25rem}
.toc h2{font-size:1.05rem;margin-bottom:.6rem}
.toc ol{margin:0;padding-left:1.25rem}
.toc li{margin-bottom:.35rem}
.sidebar-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);
  padding:1.25rem;margin-bottom:1rem}
.sidebar-card h2{font-size:1.05rem}
.related-list{list-style:none;margin:0;padding:0}
.related-list li{margin-bottom:.5rem}
table.data-table{width:100%;border-collapse:collapse;font-size:.95rem;margin:1rem 0}
.data-table th,.data-table td{border:1px solid var(--line);padding:.6rem .7rem;text-align:left;vertical-align:top}
.data-table th{background:var(--navy);color:#fff}
.data-table tr:nth-child(even) td{background:#F1F5F9}
/* Tabs */
.tabs{margin:1.25rem 0}
.tab-list{display:flex;flex-wrap:wrap;gap:.4rem;list-style:none;margin:0 0 1rem;padding:0}
.tab-list button{font:inherit;font-weight:600;padding:.55rem 1rem;border-radius:999px;cursor:pointer;
  border:1px solid var(--line-dark);background:#fff;color:var(--navy)}
.tab-list button[aria-selected=true]{background:var(--navy);color:#fff;border-color:var(--navy)}
.tab-panel{border:1px solid var(--line);border-radius:var(--radius-sm);padding:1.1rem;background:#fff}
.tab-panel[hidden]{display:none}
/* FAQ */
.faq-list details{border:1px solid var(--line);border-radius:var(--radius-sm);background:#fff;
  padding:.9rem 1rem;margin-bottom:.6rem}
.faq-list summary{font-weight:700;color:var(--navy);cursor:pointer}
/* Forms */
.form-note{font-size:.875rem;color:var(--muted)}
input[type=checkbox]{width:1.1rem;height:1.1rem;accent-color:var(--teal)}
.checklist{list-style:none;margin:0;padding:0}
.checklist li{display:flex;gap:.6rem;align-items:flex-start;border:1px solid var(--line);
  border-radius:var(--radius-sm);padding:.7rem .8rem;margin-bottom:.5rem;background:#fff}
.checklist li.done{background:#EAF4F2}
/* Footer */
.site-footer{background:var(--navy);color:#D6E4EF;margin-top:2rem;padding:2.5rem 0 2rem}
.site-footer h2,.site-footer h3{color:#fff}
.site-footer a{color:#BFE3DE}
.site-footer a:hover{color:#fff}
.footer-grid{display:grid;gap:2rem}
@media(min-width:760px){.footer-grid{grid-template-columns:2fr 1fr 1fr 1fr}}
.footer-grid ul{list-style:none;margin:0;padding:0}
.footer-grid li{margin-bottom:.45rem}
.footer-grid li a{display:inline-block;padding:.4rem 0}
.footer-bottom{border-top:1px solid rgba(255,255,255,.15);margin-top:2rem;padding-top:1.25rem;font-size:.875rem}
.gov-strip{background:#fff;border-top:1px solid var(--line);padding:1.5rem 0}
.gov-strip ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:.4rem .1rem}
.gov-strip li{margin:0}
.gov-strip a{display:inline-block;padding:.5rem .8rem;border:1px solid var(--line);border-radius:999px;
  text-decoration:none;font-size:.9rem;margin:0 .35rem .35rem 0}
.draft-banner{background:#FDF0DC;color:#7C4A03;text-align:center;font-size:.85rem;padding:.45rem 1rem;
  border-bottom:1px solid #F3D9A8}
.status-dot{display:inline-block;width:.6rem;height:.6rem;border-radius:50%;background:var(--green);margin-right:.4rem}
.status-dot.paused{background:var(--amber)}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation:none!important;transition:none!important}
}
/* Subtle animated background (transform/opacity only; never blocks reading).
   Two slow-drifting light shapes inside the hero + a faint grain overlay. */
.hero-blob{position:absolute;border-radius:50%;filter:blur(70px);opacity:.28;pointer-events:none;
  will-change:transform;animation:drift 22s ease-in-out infinite alternate}
.hero-blob-a{width:26rem;height:26rem;background:#0F766E;top:-8rem;right:-6rem}
.hero-blob-b{width:20rem;height:20rem;background:#D97706;bottom:-9rem;left:-5rem;opacity:.16;animation-duration:28s}
@keyframes drift{from{transform:translate3d(0,0,0) scale(1)}to{transform:translate3d(-2.5rem,1.5rem,0) scale(1.08)}}
.hero-inner{position:relative;z-index:1}
.hero-grid{display:grid;gap:2rem;align-items:center}
@media(min-width:960px){.hero-grid{grid-template-columns:1.15fr .85fr}}
.hero-art{margin:0}
.hero-art img{display:block;width:100%;height:auto;border-radius:var(--radius)}
.bg-anim{position:relative;overflow:hidden}
.bg-anim::before{content:"";position:absolute;inset:-40% -10%;pointer-events:none;opacity:.05;
  background:radial-gradient(40rem 18rem at 20% 30%,var(--teal),transparent 70%),
  radial-gradient(36rem 16rem at 85% 70%,var(--gold),transparent 70%);
  animation:pan 32s ease-in-out infinite alternate;will-change:transform}
@keyframes pan{from{transform:translate3d(0,0,0)}to{transform:translate3d(2rem,-1rem,0)}}
.bg-anim>*{position:relative;z-index:1}
/* Images */
.page-art{margin:0 0 1.5rem}
.page-art img{display:block;width:100%;height:auto;border-radius:var(--radius);border:1px solid var(--line)}
.page-art figcaption{font-size:.875rem;color:var(--muted);margin-top:.5rem}
.card-art{margin:0 0 .9rem}
.card-art img{display:block;width:100%;height:9rem;object-fit:cover;border-radius:10px;border:1px solid var(--line)}
@media(min-width:960px){
  .nav-toggle{display:none}
  .primary-nav{display:block;background:transparent}
  .primary-nav>ul{display:flex;align-items:center;padding:0}
  .primary-nav a,.menu-btn{padding:.7rem .8rem}
  .menu-btn{width:auto}
  .submenu{position:absolute;top:100%;left:0;min-width:15rem;box-shadow:0 12px 30px rgba(0,0,0,.25);border-radius:0 0 10px 10px}
  .submenu a{padding:.6rem 1rem}
  .masthead-search{display:block}
  .masthead-inner{flex-wrap:nowrap}
}
/* Masthead search: the 11rem input (176px) shows only "Search programs,"
   of the 31-char placeholder at 1920px. Widened to 17.5rem (280px) once
   the header has room: at >=1160px the .wrap is capped at 1120px, leaving
   ~430px after brand + nav + gaps. Below 1160px the 11rem width stands
   (same truncation as before; no regression). */
/* 960-1159px: the 11rem input truncates the placeholder ("Search programs,"
   cut to "Search programs,"); 12.5rem shows it fully at these widths. */
@media(min-width:960px){.masthead-search input{width:12.5rem}}
@media(min-width:1160px){
  .masthead-search input{width:17.5rem}
}
