/* DRAFT ONLY. Shared styles for Your Policy Answers. Red/white/blue, deliberately
   not a dark-navy help-center look: no dark navy/blue-900 gradient hero, no frosted
   pill badge, no green CTAs, no centered help-center silhouette, no rounded icon-card
   grid. Light paper field, Old Glory blue type (#002868, not #1E3A8A / #0A3161), Old
   Glory red buttons (#BF0A30), squared corners, typographic lists, warm charcoal footer.
   Atkinson Hyperlegible, no italics, no green, no gold, no orange. Nothing is live. */
@font-face{
  font-family:"Atkinson Hyperlegible";
  src:url("fonts/AtkinsonHyperlegible-Regular.ttf") format("truetype");
  font-weight:400;
  font-style:normal;
  font-display:swap;
}
@font-face{
  font-family:"Atkinson Hyperlegible";
  src:url("fonts/AtkinsonHyperlegible-Bold.ttf") format("truetype");
  font-weight:700;
  font-style:normal;
  font-display:swap;
}

:root{
  --bg:#F6F3EC;
  --paper:#FFFFFF;
  --band:#EDE6D8;
  --ink:#1A1A1A;
  --muted:#3A3A3A;
  --line:#D4CDBF;
  --accent:#002868;
  --accent-dark:#001C4A;
  --on-accent:#FFFFFF;
  --btn:#BF0A30;
  --btn-hover:#9B0828;
  --on-btn:#FFFFFF;
  --hero-start:#F6F3EC;
  --hero-end:#F6F3EC;
  --footer:#1C1916;
  --footer-ink:#FFFFFF;
  --fine:#F3EFE6;
  --agent:#E8E0D4;
  --ph-bg:#F8D6DB;
  --ph-ink:#7A0A1C;
  --red:#BF0A30;
  --radius:4px;
  --sticky-h:88px;
  --tap:52px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:"Atkinson Hyperlegible",system-ui,sans-serif;
  color:var(--ink);
  background:var(--bg);
  font-size:20px;
  line-height:1.6;
  font-weight:400;
  font-style:normal;
}
em,i,h1,h2,h3,h4,.who,.card .idx,.legal h1{font-style:normal}
img{max-width:100%;display:block}
h1,h2,h3,h4{
  font-family:"Atkinson Hyperlegible",system-ui,sans-serif;
  font-weight:700;
  letter-spacing:-0.01em;
  line-height:1.2;
  color:var(--accent);
  font-style:normal;
}
a{color:var(--accent)}
a:hover{color:var(--accent-dark)}
.skip{
  position:absolute;left:-999px;top:0;
  background:var(--accent);color:#fff;padding:12px 16px;z-index:100;
  font-weight:700;
}
.skip:focus{left:8px;top:8px}
.wrap{max-width:980px;margin:0 auto;padding:0 22px}
.ph{
  background:var(--ph-bg);
  color:var(--ph-ink);
  padding:0 4px;
  border-radius:3px;
  font-weight:700;
}
.btn .ph{
  background:transparent;
  color:var(--on-btn);
  padding:0 2px;
  border-radius:0;
  text-decoration:underline;
  text-underline-offset:3px;
}
footer .ph, .topbar .ph{
  background:var(--btn);
  color:var(--on-btn);
}

/* Buttons — large tap targets, strong red with white bold text */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-height:var(--tap);
  background:var(--btn);
  color:var(--on-btn);
  text-decoration:none;
  font-family:"Atkinson Hyperlegible",system-ui,sans-serif;
  font-weight:700;
  letter-spacing:.01em;
  border:0;
  border-radius:var(--radius);
  padding:16px 28px;
  font-size:20px;
}
.btn:hover{background:var(--btn-hover);color:var(--on-btn)}
.btn-ghost{
  background:var(--btn);
  color:var(--on-btn);
  border:0;
  padding:12px 18px;
  font-size:18px;
  min-height:var(--tap);
}
.btn-ghost:hover{background:var(--btn-hover);color:var(--on-btn)}
.btn svg{flex:0 0 auto}

/* Hero — light paper field, left-aligned, deep flag-blue type (not a dark gradient). */
.hero{
  background:var(--bg);
  color:var(--ink);
  padding:36px 0 48px;
  text-align:left;
  border-bottom:0;
}
.hero .wordmark{
  font-size:15px;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--accent);
  margin:0 0 16px;
  font-weight:700;
}
.badge{
  display:inline-block;
  border:0;
  border-bottom:3px solid var(--red);
  border-radius:0;
  color:var(--accent);
  padding:0 0 6px;
  font-size:15px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  margin:0 0 18px;
  background:transparent;
  max-width:100%;
  line-height:1.3;
  text-align:left;
}
.badge .pip{display:none}
.hero h1{
  font-size:clamp(36px, 6.5vw, 52px);
  font-weight:700;
  margin:0 0 16px;
  font-style:normal;
}
.hero h1{color:var(--accent)}
.hero .lead{
  max-width:34em;
  margin:0 0 28px;
  font-size:22px;
  color:var(--ink);
  font-weight:400;
}
.hero .btn{min-width:min(100%, 360px);font-size:22px;padding:18px 28px;min-height:56px}
.hero .hero-note{
  margin:18px 0 0;
  font-size:18px;
  color:var(--muted);
}
.hero-phone{
  margin:14px 0 0;
  font-size:18px;
  color:var(--muted);
}
.hero-phone a{
  color:var(--accent);
  font-weight:700;
  text-decoration:none;
}
.hero-phone a:hover{text-decoration:underline;text-underline-offset:3px}

/* First screen: header + hero fill the viewport; topics start below the fold.
   Padding under the hero keeps the big call button clear of the sticky bar. */
.first-screen{
  min-height:100vh;
  min-height:100svh;
  display:flex;
  flex-direction:column;
  background:var(--bg);
  color:var(--ink);
  border-top:6px solid var(--red);
}
header.mast{
  flex:0 0 auto;
  background:transparent;
  border-bottom:0;
  padding:10px 0;
}
header.mast .wrap{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:16px;
  max-width:1100px;
}
header.mast .wrap:has(.brand){
  justify-content:space-between;
}
header.mast .brand{
  color:var(--accent);
  font-size:18px;
}
header.mast .mast-call{
  padding:10px 16px;
  font-size:18px;
  min-height:48px;
  gap:8px;
}
.first-screen .hero{
  flex:1 1 auto;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:28px 0 calc(var(--sticky-h) + 20px);
  background:transparent;
  color:var(--ink);
  border-bottom:0;
  text-align:left;
}
.first-screen .hero .wrap{
  width:100%;
}

/* Below-the-fold icon cards: big type, short one-line descriptions, lots of space. */
.icon-cards{
  display:grid;
  grid-template-columns:1fr;
  gap:22px;
  margin-top:8px;
}
.icon-cards.cols-3{
  grid-template-columns:1fr;
}
.icon-card{
  background:var(--paper);
  border:1px solid var(--line);
  border:0;
  border-bottom:1px solid var(--line);
  border-radius:0;
  padding:22px 0;
  display:grid;
  grid-template-columns:52px 1fr;
  align-items:flex-start;
  column-gap:16px;
  box-shadow:none;
  background:transparent;
}
.icon-card .ico{
  color:var(--accent);
  margin:0 0 16px;
  flex:0 0 auto;
}
.icon-card h3{
  margin:0 0 8px;
  font-size:26px;
  line-height:1.25;
  font-style:normal;
}
.icon-card p{
  margin:0;
  font-size:20px;
  line-height:1.45;
  color:var(--ink);
  max-width:28em;
}
.icon-card .num,
.steps-list li::before{
  width:48px;height:48px;
  background:var(--accent);
  color:#fff;
  font-weight:700;
  font-size:22px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:0;
  line-height:1;
}
.icon-card .num{margin:0;grid-row:1 / span 2}
.icon-card h3,.icon-card p{grid-column:2}
.icon-cards{gap:0;border-top:2px solid var(--accent)}
.steps-list{
  list-style:none;
  padding:0;
  margin:16px 0 0;
  counter-reset:step;
  display:grid;
  gap:20px;
}
.steps-list li{
  counter-increment:step;
  display:grid;
  grid-template-columns:48px 1fr;
  gap:16px;
  align-items:start;
  font-size:20px;
}
.steps-list li::before{
  content:counter(step);
}
.steps-list li > *{grid-column:2;min-width:0}
.steps-list strong{display:block;font-size:24px;color:var(--accent);margin:0 0 4px}
.cta-row{margin-top:36px;text-align:left}

/* Long-form guides and FAQ: typographic numbered blocks, not rounded icon cards. */
.guide-list{
  list-style:none;
  padding:0;
  margin:16px 0 0;
  counter-reset:guide;
  border-top:2px solid var(--accent);
}
.guide-list > li{
  counter-increment:guide;
  display:grid;
  grid-template-columns:48px 1fr;
  column-gap:16px;
  padding:28px 0;
  border-bottom:1px solid var(--line);
}
.guide-list > li::before{
  content:counter(guide);
  width:48px;height:48px;
  background:var(--accent);
  color:#fff;
  font-weight:700;
  font-size:22px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:0;
  line-height:1;
  grid-row:1 / span 2;
}
.guide-list h3{
  margin:0 0 8px;
  font-size:26px;
  line-height:1.25;
  grid-column:2;
}
.guide-list p{
  margin:0;
  font-size:20px;
  line-height:1.55;
  color:var(--ink);
  max-width:38em;
  grid-column:2;
}
.guide-list.compact > li{padding:20px 0}
.guide-list.compact p{font-size:19px}
.faq-list{
  margin:16px 0 0;
  padding:0;
  border-top:2px solid var(--accent);
}
.faq-list > div{
  padding:22px 0;
  border-bottom:1px solid var(--line);
}
.faq-list dt{
  font-family:"Atkinson Hyperlegible",system-ui,sans-serif;
  font-weight:700;
  font-size:24px;
  color:var(--accent);
  margin:0 0 8px;
  line-height:1.25;
}
.faq-list dd{
  margin:0;
  font-size:20px;
  line-height:1.55;
  color:var(--ink);
  max-width:38em;
}
footer a{
  color:#FFFFFF;
  text-decoration:underline;
  text-underline-offset:3px;
}
footer .contact{margin:0 0 16px}

@media (min-width:800px){
  .icon-cards,.icon-cards.cols-3{grid-template-columns:1fr;max-width:40em}
  .icon-card{padding:22px 0}
  .icon-card h3{font-size:28px}
  header.mast .mast-call{font-size:20px;padding:12px 20px;min-height:var(--tap)}
  .first-screen .hero h1{font-size:clamp(44px, 4.5vw, 56px)}
  .first-screen .hero .lead{font-size:24px;max-width:28em;margin:0 0 28px;text-align:left}
  .first-screen .hero .hero-call{font-size:24px;min-height:64px;padding:20px 36px;min-width:min(100%, 420px)}
}

/* Legal-page / index header — light paper, not a navy bar */
.topbar{
  background:var(--bg);
  color:var(--ink);
  padding:16px 0;
  border-top:6px solid var(--red);
  border-bottom:1px solid var(--line);
}
.topbar .wrap{display:flex;align-items:center;justify-content:space-between;gap:16px}
.topbar .brand{
  font-family:"Atkinson Hyperlegible",system-ui,sans-serif;
  font-size:20px;
  font-weight:700;
  color:var(--accent);
  text-decoration:none;
}
.topbar .brand span{
  display:block;
  font-size:14px;
  letter-spacing:.04em;
  text-transform:uppercase;
  color:var(--muted);
  font-style:normal;
  font-weight:700;
}

/* Index header: light bar, flag-blue wordmark, red call button */
header.site-header{
  background:var(--bg);
  border-bottom:1px solid var(--line);
  border-top:6px solid var(--red);
}
header.site-header .brand{color:var(--accent)}
header.site-header .brand span{color:var(--muted)}

header.site-header .wrap{
  display:flex;align-items:center;justify-content:space-between;
  padding-top:16px;padding-bottom:16px;gap:16px;
}
.brand{
  font-weight:700;font-size:22px;letter-spacing:0;
  color:var(--ink);text-decoration:none;
}
.brand span{color:var(--muted);font-weight:700;font-size:15px;display:block;letter-spacing:.04em;text-transform:uppercase}

/* Sections */
section{padding:56px 0}
section.alt, section.band{background:var(--band)}
.kicker{
  font-size:15px;
  font-weight:700;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--accent);
  margin:0 0 8px;
}
h2{font-size:clamp(28px, 4.2vw, 38px);margin:0 0 14px}
.intro{color:var(--ink);margin:0 0 28px;max-width:38em;font-size:20px}

/* Checklist */
.topics-panel{
  background:var(--paper);
  border:1px solid var(--line);
  border-left:6px solid var(--red);
  border-radius:var(--radius);
  padding:28px 28px 20px;
}
ul.checks{list-style:none;padding:0;margin:0;display:grid;gap:0}
ul.checks li{
  display:grid;
  grid-template-columns:28px 1fr;
  gap:14px;
  align-items:flex-start;
  padding:16px 0;
  border-bottom:1px solid var(--line);
  font-size:20px;
}
ul.checks li:last-child{border-bottom:0}
ul.checks .mark{
  width:24px;height:24px;
  border:2px solid var(--accent);
  color:var(--accent);
  display:flex;align-items:center;justify-content:center;
  font-size:16px;font-weight:700;
  margin-top:4px;
}
.topics .cta-row{margin-top:28px;text-align:center}

/* Policy type cards */
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.card{
  background:var(--paper);
  border:1px solid var(--line);
  border-top:4px solid var(--red);
  border-radius:var(--radius);
  padding:22px 22px 24px;
}
.card .idx{
  font-style:normal;
  color:var(--accent);
  font-size:18px;
  font-weight:700;
  margin:0 0 8px;
}
.card h3{margin:0 0 10px;font-size:24px}
.card p{margin:0;color:var(--ink);font-size:18px}
.card ul{margin:10px 0 0;padding:0 0 0 18px;color:var(--ink);font-size:18px}
.card li{margin:0 0 4px}
.num-badge{
  display:inline-flex;width:36px;height:36px;border-radius:50%;
  background:var(--band);color:var(--accent);
  align-items:center;justify-content:center;font-weight:700;margin-bottom:10px;
}

/* Components */
.comp-list{display:grid;gap:14px}
.comp{
  display:grid;
  grid-template-columns:140px 1fr;
  gap:18px;
  background:var(--paper);
  border:1px solid var(--line);
  border-top:4px solid var(--red);
  border-radius:var(--radius);
  padding:22px;
}
.comp h3{margin:0;font-size:22px;align-self:start}
.comp p{margin:0;color:var(--ink)}

/* Ongoing */
.ongoing-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;border:0;background:transparent}
.og{padding:26px 24px;background:var(--paper);border:1px solid var(--line);border-top:4px solid var(--red);border-radius:var(--radius);box-shadow:none}
.og:last-child{border-right:0}
.og h3{margin:0 0 10px;font-size:22px}
.og p{margin:0;color:var(--ink);font-size:18px}

/* Index extras */
.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.twocol{display:grid;grid-template-columns:1fr 1fr;gap:26px}
ul.ticks{list-style:none;padding:0;margin:0}
ul.ticks li{padding-left:32px;position:relative;margin:0 0 12px}
ul.ticks li:before{content:"\2713";position:absolute;left:0;color:var(--accent);font-weight:700}
.notice{
  background:var(--paper);
  border-left:6px solid var(--red);
  border-radius:var(--radius);
  padding:20px 22px;
  font-size:19px;
}
.states{font-size:18px;color:var(--muted)}
.callcard{
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:26px;
  text-align:center;
}
.callcard .num{
  font-size:32px;font-weight:700;margin:6px 0 14px;color:var(--ink);
  display:block;text-decoration:none;
}
.callcard p{margin:0 0 14px;color:var(--muted);font-size:18px}
.hero-split{padding:48px 0 calc(var(--sticky-h) + 16px)}
.hero-split .wrap{display:grid;grid-template-columns:1.3fr 1fr;gap:34px;align-items:center;text-align:left}
.hero-split h1{font-size:clamp(32px, 5vw, 44px);margin:0 0 16px}
.hero-split .lead{font-size:20px;margin:0 0 22px;max-width:none}

/* Footer */
footer{
  background:var(--footer);
  color:var(--footer-ink);
  padding:40px 0 calc(var(--sticky-h) + 28px);
  font-size:18px;
  line-height:1.6;
}
footer.legal-footer{padding-bottom:36px}
footer h4, footer .who{
  font-size:28px;
  color:#fff;
  margin:0 0 4px;
  font-weight:700;
  font-style:normal;
}
footer .role{margin:0 0 6px;color:var(--agent);font-weight:700}
footer .license{margin:0 0 16px;color:var(--fine);font-size:18px}
footer nav{display:flex;flex-wrap:wrap;gap:10px 20px;margin:0 0 8px}
footer nav a{
  color:#FFFFFF;
  text-decoration:underline;
  text-underline-offset:3px;
  padding:8px 0;
  min-height:44px;
  display:inline-flex;
  align-items:center;
}
.fineprint{
  margin-top:20px;
  padding-top:16px;
  border-top:1px solid rgba(255,255,255,.28);
  font-size:16px;
  line-height:1.55;
  color:var(--fine);
}
.copyright{
  margin:16px 0 0;
  font-size:16px;
  color:var(--fine);
}
/* Optional agent line: light on charcoal footer. */
.agent-line{
  margin:10px 0 0;
  font-size:11px;
  line-height:1.5;
  color:var(--agent);
  letter-spacing:0;
}
.legal .agent-line, .doc-agent{
  margin-top:28px;
  padding-top:14px;
  border-top:1px solid var(--line);
  font-size:16px;
  line-height:1.5;
  color:var(--muted);
}

/* Sticky bar: static label + Talk to an Agent. No hours, no availability script. */
.sticky{
  position:fixed;
  left:0;right:0;bottom:0;
  z-index:20;
  background:var(--paper);
  border-top:3px solid var(--red);
  padding:12px 16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  box-shadow:0 -6px 18px rgba(26,26,26,.12);
}
.sticky-label{
  font-size:18px;
  font-weight:700;
  color:var(--ink);
  line-height:1.3;
}
.sticky .btn{
  padding:14px 22px;
  font-size:20px;
  flex:0 0 auto;
  min-height:var(--tap);
  white-space:nowrap;
}

/* Legal article pages */
.legal{background:var(--bg);padding:48px 0 64px}
.legal .wrap{max-width:760px}
.legal h1{font-size:clamp(32px, 5vw, 48px);margin:0 0 8px;font-style:normal}
.legal .effective{color:var(--muted);margin:0 0 28px;font-size:18px}
.legal h2{font-size:26px;margin:28px 0 10px}
.legal p,.legal li{font-size:20px;color:var(--ink)}
.legal p{margin:0 0 14px}
.legal ol{padding-left:22px}
.legal li{margin:0 0 8px}
.legal .back{display:inline-block;margin-bottom:22px;font-size:18px;color:var(--accent);padding:8px 0}

@media (max-width:760px){
  body{font-size:19px}
  section{padding:42px 0}
  .cards,.ongoing-grid,.comp,.grid3,.twocol,.hero-split .wrap{grid-template-columns:1fr}
  .ongoing-grid{border:0;background:transparent;gap:12px}
  .og{border:1px solid var(--line);border-top:4px solid var(--red);background:var(--paper);border-radius:var(--radius);padding:20px}
  .comp{gap:8px}
  .hero{padding:28px 0 40px}
  .first-screen .hero{padding:20px 0 calc(var(--sticky-h) + 16px)}
  .hero .btn,.hero-split .btn,.first-screen .hero .hero-call{width:100%;max-width:420px}
  .topics-panel{padding:20px 16px 12px}
  footer nav{gap:8px 16px}
  .topbar .btn{flex:0 0 auto;white-space:nowrap}
  /* Keep the index header call button visible and on one line. */
  header.site-header .wrap{flex-wrap:wrap}
  header.site-header .btn{
    flex:1 1 100%;
    white-space:nowrap;
    justify-content:center;
    max-width:100%;
  }
  header.mast .mast-call{display:inline-flex}
  .icon-card h3{font-size:24px}
  .icon-card p{font-size:19px}
  section.topics,section.types,section.components,section.ongoing{padding:48px 0}
  .sticky-label{font-size:15px;max-width:46%}
  .sticky .btn{font-size:16px;padding:12px 14px}
  .guide-list h3,.faq-list dt{font-size:22px}
  .guide-list p,.faq-list dd{font-size:19px}
  header.mast .brand{font-size:16px}
  header.mast .brand span{font-size:12px}
}
@media (max-width:400px){
  .sticky{gap:8px;padding:10px 12px}
  .sticky-label{font-size:14px}
  .sticky .btn{font-size:15px;padding:10px 12px}
}

@media (max-height:700px){
  header.mast{padding:8px 0}
  header.mast .mast-call{min-height:44px;font-size:17px;padding:8px 14px}
  .first-screen .hero{padding:16px 0 calc(var(--sticky-h) + 12px)}
  .first-screen .badge{margin-bottom:12px;font-size:14px;padding:0 0 4px}
  .first-screen .hero h1{font-size:32px;margin:0 0 10px}
  .first-screen .hero .lead{font-size:19px;margin:0 0 16px}
  .first-screen .hero .hero-call{font-size:20px;padding:14px 22px;min-height:52px}
  .first-screen .hero-phone{margin:10px 0 0;font-size:16px}
}
@media (min-width:800px) and (max-height:850px){
  .first-screen .hero{padding:24px 0 calc(var(--sticky-h) + 20px)}
  .first-screen .hero h1{font-size:48px}
  .first-screen .hero .lead{font-size:22px;margin:0 0 22px}
}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
}

/* Used only for full-page preview captures so the sticky sits under the footer. */
body.screenshot .sticky{position:static;box-shadow:none}
body.screenshot footer{padding-bottom:36px}
