/* Layout: widths, placement, spacing and responsive behavior. */
* { box-sizing: border-box; }
html { scroll-padding-top: 1.5rem; }
body { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
button, input { max-width: 100%; }
[hidden] { display: none !important; }
figure, dl, dd { margin: 0; }
p { margin: 0 0 1.15rem; }
h1, h2, h3 { margin: 0; }
a { overflow-wrap: anywhere; }
.skip-link { position: absolute; left: 1rem; top: -6rem; z-index: 10; min-height: 44px; padding: .7rem 1rem; }
.skip-link:focus { top: 1rem; }
.site-header { padding: 1.4rem 2rem 1.25rem; }
.site-header__nav { max-width: 1232px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 2rem; }
.site-header__links { display: flex; align-items: center; gap: .7rem; }
.site-header__links--right { justify-content: flex-end; }
.site-header__link { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: .6rem .8rem; }
.site-header__home { display: flex; align-items: center; gap: .65rem; min-height: 64px; padding: .25rem .4rem; }
.site-header__mark { display: block; width: 38px; height: 43px; flex: 0 0 38px; position: relative; }
.site-header__mark::after { content: ''; position: absolute; width: 18px; height: 9px; top: 11px; left: 8px; transform: rotate(-44deg); }
.site-header__tagline { display: block; padding-top: .25rem; }
.guide { max-width: 1176px; margin: 0 auto; padding: 0 2rem 5rem; }
.hero { padding: 4.8rem 0 3.5rem; }
.hero--illustrated { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 3rem; align-items: center; }
.hero__words { min-width: 0; }
.hero__eyebrow { margin-bottom: 1.2rem; }
.hero__heading { max-width: 16ch; margin-bottom: 1.5rem; }
.hero__marked { display: block; }
.hero__intro { max-width: 54ch; margin-bottom: 0; }
.hero__figure { width: 100%; max-width: 440px; justify-self: end; }
.hero__caption { margin-top: .25rem; padding: 0 1rem; }
.guide--home .hero { padding-bottom: 1.5rem; }
.guide--home .hero__heading { max-width: 14ch; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin: 0 0 4rem; }
.hero-actions__primary, .hero-actions__secondary { display: inline-flex; align-items: center; justify-content: space-between; gap: 1.4rem; min-height: 54px; padding: .75rem 1.1rem; }
.hero-actions__arrow { flex: 0 0 auto; }
.chapter { display: grid; grid-template-columns: 164px minmax(0, 1fr); gap: 4rem; padding: 3.6rem 0; }
.chapter__signpost { padding-top: .3rem; }
.chapter__label { display: block; max-width: 13ch; }
.chapter__loop { display: block; margin-top: 1.5rem; width: 58px; height: 28px; }
.chapter__content { min-width: 0; max-width: 744px; }
.chapter__heading { max-width: 23ch; margin-bottom: 1.5rem; }
.chapter__summary { padding: 1.2rem 1.5rem; margin: 0 0 2rem; }
.chapter__summary p { margin: 0; max-width: 64ch; }
.chapter__depth p { max-width: 68ch; }
.chapter__depth > :last-child { margin-bottom: 0; }
.note { margin: 1.8rem 0; padding: 1.5rem 1.6rem; }
.note__heading { margin-bottom: .75rem; }
.note p:last-child { margin-bottom: 0; }
.text-link { display: inline-flex; align-items: center; gap: 1rem; min-height: 48px; padding: .5rem .4rem .5rem 0; }
.endnotes { margin-top: 2.3rem; padding-top: 1.2rem; }
.endnotes__heading { margin-bottom: .4rem; }
.endnotes__list { list-style: none; margin: 0; padding: 0; }
.endnotes__link { display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: fit-content; min-height: 46px; padding: .5rem .25rem .5rem 0; }
.endnotes__note { margin: .35rem 0; max-width: 64ch; }
.bill-map { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem; margin-bottom: 1.6rem; }
.bill-map__item { display: block; padding: .7rem .9rem; }
.bill-map__plus { display: block; }
.pathways { padding: 3.4rem 0 0; }
.pathways__intro { display: grid; grid-template-columns: 164px minmax(0, 1fr); gap: 4rem; margin-bottom: 2rem; }
.pathways__label { max-width: 15ch; margin: .25rem 0 0; }
.pathways__heading { max-width: 19ch; }
.pathways__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 3rem; }
.pathways__link { display: block; position: relative; padding: 1.6rem 2.5rem 1.6rem .5rem; min-height: 140px; }
.pathways__title { margin-bottom: .55rem; }
.pathways__text { max-width: 39ch; margin: 0; }
.pathways__arrow { position: absolute; right: .6rem; top: 1.6rem; }
.cost-lines { margin: 1.8rem 0; }
.cost-lines__row { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 1.4rem; padding: 1.25rem 0; }
.cost-lines__name { padding: .25rem .5rem; align-self: start; width: fit-content; }
.question-list { margin: 1.4rem 0 1.6rem; padding: 0; list-style: none; }
.question-list__item { position: relative; padding: 1rem .3rem 1rem 2.2rem; }
.question-list__item::before { position: absolute; content: ''; left: .2rem; top: 1.45rem; width: 11px; height: 11px; }
.next-page { margin-top: 2.5rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 2rem 2.3rem; }
.next-page__label { margin-bottom: .5rem; }
.next-page__heading { max-width: 28ch; }
.next-page__link { display: inline-flex; align-items: center; gap: 1rem; min-height: 52px; padding: .65rem .9rem; flex-shrink: 0; }
.site-footer { padding: 2.8rem 2rem; }
.site-footer__inner { max-width: 1112px; margin: 0 auto; display: flex; align-items: flex-start; justify-content: space-between; gap: 3rem; }
.site-footer__statement { max-width: 43ch; margin: 0; }
.site-footer__links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .3rem 1.2rem; }
.site-footer__link { display: inline-flex; align-items: center; min-height: 48px; padding: .6rem .25rem; }
.glossary__tools { padding: 1.5rem; margin-bottom: 1.5rem; }
.glossary__label { display: block; margin-bottom: .75rem; }
.glossary__controls { display: flex; gap: .75rem; }
.glossary__input { flex: 1 1 auto; min-width: 0; min-height: 52px; padding: .65rem .75rem; }
.glossary__reset { min-height: 52px; padding: .65rem 1rem; flex: 0 0 auto; }
.glossary__help { margin: .7rem 0 .4rem; }
.glossary__status { margin: 0; }
.glossary__entry { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 1.6rem; padding: 1.5rem .2rem; }
.glossary__empty { padding: 1rem; }
.return-links { display: flex; flex-wrap: wrap; gap: 1rem; padding: 0 0 3rem; }
@media (max-width: 1080px) {
  .site-header { padding-inline: 1.4rem; }
  .site-header__nav { gap: 1rem; }
  .site-header__links { gap: .15rem; }
  .site-header__link { padding-inline: .5rem; }
  .site-header__mark { display: none; }
  .hero--illustrated { gap: 1.6rem; }
  .chapter, .pathways__intro { grid-template-columns: 140px minmax(0, 1fr); gap: 2.5rem; }
  .next-page { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 760px) {
  .site-header { padding: .9rem 1.1rem 1rem; }
  .site-header__nav { grid-template-columns: 1fr; gap: .1rem; }
  .site-header__home { grid-row: 1; justify-self: center; margin-bottom: .5rem; }
  .site-header__mark { display: block; }
  .site-header__links { justify-content: space-between; gap: .5rem; }
  .site-header__link { padding-inline: .6rem; flex: 1 1 auto; }
  .guide { padding: 0 1.25rem 3.5rem; }
  .hero { padding: 2.8rem 0 2.3rem; }
  .hero--illustrated { grid-template-columns: 1fr; gap: 2rem; }
  .hero__figure { width: min(100%, 370px); justify-self: center; }
  .hero__heading { max-width: 16ch; }
  .guide--home .hero { padding-bottom: 1.4rem; }
  .guide--home .hero__heading { max-width: 14ch; }
  .hero-actions { margin-bottom: 2.7rem; gap: .75rem; }
  .hero-actions__primary, .hero-actions__secondary { width: 100%; }
  .chapter { grid-template-columns: 1fr; gap: 1rem; padding: 2.6rem 0; }
  .chapter__signpost { display: flex; align-items: center; gap: 1rem; padding: 0; }
  .chapter__label { max-width: none; }
  .chapter__loop { margin: 0; width: 38px; height: 16px; }
  .chapter__heading { margin-bottom: 1.1rem; }
  .chapter__summary { padding: 1rem 1.1rem; margin-bottom: 1.5rem; }
  .note { padding: 1.25rem 1.1rem; }
  .endnotes { margin-top: 1.8rem; }
  .pathways { padding-top: 2.6rem; }
  .pathways__intro { grid-template-columns: 1fr; gap: .6rem; }
  .pathways__label { max-width: none; }
  .pathways__grid { grid-template-columns: 1fr; }
  .pathways__link { min-height: 130px; padding-left: 0; }
  .bill-map { gap: .5rem; }
  .bill-map__item { padding: .55rem .7rem; }
  .cost-lines__row { grid-template-columns: 1fr; gap: .5rem; }
  .question-list__item { padding-right: 0; }
  .next-page { padding: 1.6rem 1.15rem; gap: 1.25rem; }
  .next-page__link { max-width: 100%; }
  .site-footer { padding: 2rem 1.25rem; }
  .site-footer__inner { flex-direction: column; gap: 1.2rem; }
  .site-footer__links { justify-content: flex-start; gap: .1rem 1rem; }
  .glossary__tools { padding: 1.1rem; }
  .glossary__controls { gap: .5rem; }
  .glossary__reset { padding-inline: .8rem; }
  .glossary__entry { grid-template-columns: 1fr; gap: .45rem; }
  .return-links { flex-direction: column; }
}
@media print {
  .site-header, .skip-link, .hero-actions, .next-page, .glossary__tools { display: none; }
  .guide { max-width: none; padding: 0; }
  .hero { padding-top: 0; }
  .chapter { display: block; padding: 1.5rem 0; break-inside: avoid; }
  .chapter__signpost { margin-bottom: .6rem; }
  .hero__figure { max-width: 240px; }
  .site-footer { padding: 1rem 0; }
}
