:root {
  color-scheme: light;
  --ink: #172c36;
  --ink-soft: #31434c;
  --muted: #52616a;
  --paper: #f5f4ef;
  --white: #fff;
  --amber: #edb34f;
  --amber-light: #fbefd8;
  --sage: #e9efeb;
  --line: #c6cfcf;
  --blue: #164f67;
  --measure: 66ch;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 1rem; }
body { margin: 0; background: var(--paper); color: var(--ink); line-height: 1.6; }
a { color: var(--blue); text-underline-offset: .18em; text-decoration-thickness: .08em; }
button, summary { font: inherit; }
button { cursor: pointer; }
a, button, summary { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #8b4c06; outline-offset: 4px; }
img { max-width: 100%; height: auto; }
h1, h2, h3, p, figure, ul, dl, dd { margin: 0; }
h1, h2, h3 { line-height: 1.2; }
[hidden] { display: none !important; }
.skip-link { position: fixed; top: .6rem; left: .6rem; z-index: 30; display: flex; align-items: center; min-height: 48px; padding: .7rem 1rem; background: var(--amber); color: var(--ink); transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); }
.masthead { color: var(--white); background: var(--ink); }
.masthead__inner { max-width: 1240px; padding: .9rem 1rem; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.masthead__name { min-height: 48px; display: flex; align-items: center; gap: .75rem; color: var(--white); text-decoration: none; }
.masthead__symbol { width: 25px; display: grid; gap: 5px; }
.masthead__symbol span { display: block; height: 3px; background: var(--amber); }
.masthead__symbol span:nth-child(2) { width: 75%; }
.masthead__word { font-size: 1.2rem; line-height: 1.4; font-weight: 720; }
.masthead__domain { display: block; font-size: 16px; font-weight: 400; color: #d4dfe2; overflow-wrap: anywhere; }
.masthead__tag { display: none; font-size: 16px; color: #d4dfe2; }
.masthead a:focus-visible, .masthead summary:focus-visible { outline-color: var(--amber); outline-offset: -3px; }
.topic-nav { border-top: 1px solid #4c616c; background: #253c47; }
.topic-nav__inner { position: relative; max-width: 1208px; margin: auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.topic-menu { min-width: 0; }
.topic-menu__toggle { list-style: none; cursor: pointer; min-height: 54px; padding: .65rem .65rem; display: flex; align-items: center; justify-content: center; gap: .4rem; font-size: 16px; text-align: center; }
.topic-menu__toggle::-webkit-details-marker, .source-drawer__toggle::-webkit-details-marker { display: none; }
.topic-menu__mark { color: var(--amber); }
.topic-menu[open] .topic-menu__toggle { background: var(--amber); color: var(--ink); }
.topic-menu[open] .topic-menu__mark { color: var(--ink); transform: rotate(180deg); }
.topic-menu__drawer { position: absolute; top: 100%; left: 0; right: 0; z-index: 12; padding: 1rem; background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--amber); box-shadow: 0 12px 25px #172c3620; color: var(--ink); }
.topic-menu[open] { position: static; }
.topic-menu[open]:focus-within .topic-menu__drawer { z-index: 14; }
.topic-menu__note { font-size: 16px; font-weight: 650; margin: 0 .7rem .5rem; }
.topic-menu__list { list-style: none; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: .1rem; }
.topic-menu__link { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-width: 0; min-height: 48px; padding: .65rem .7rem; font-size: 17px; overflow-wrap: anywhere; text-decoration: none; border-bottom: 1px solid #e2e7e7; }
.topic-menu__link[aria-current="page"] { background: var(--amber-light); color: var(--ink); font-weight: 700; }
.topic-menu__arrow { flex-shrink: 0; color: var(--muted); }
.guide-main { max-width: 1240px; padding: 0 1rem 3rem; margin: auto; }
.breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: .7rem; padding-top: .7rem; font-size: 16px; }
.breadcrumb__link { display: inline-flex; align-items: center; min-height: 44px; }
.breadcrumb__separator { color: var(--muted); }
.breadcrumb__current { color: var(--muted); }
.intro { padding: 1.2rem 0 1.7rem; border-bottom: 1px solid var(--line); }
.intro__eyebrow { font-size: 16px; color: var(--muted); margin-bottom: .7rem; font-weight: 650; }
.intro__title { font-size: clamp(2rem, 7.8vw, 3.2rem); font-weight: 760; letter-spacing: -.035em; max-width: 22ch; text-wrap: balance; }
.intro__lead { margin-top: 1rem; max-width: 61ch; font-size: 1.12rem; color: var(--ink-soft); line-height: 1.6; }
.intro--home { padding-top: 2rem; display: grid; gap: 1.8rem; }
.intro--home .intro__title { max-width: 18ch; }
.intro__actions { margin-top: 1.4rem; display: flex; align-items: center; flex-wrap: wrap; gap: .8rem 1.1rem; }
.guide-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 48px; padding: .75rem 1rem; background: var(--amber); border: 1px solid #a96c16; border-radius: 3px; color: var(--ink); font-weight: 700; text-decoration: none; }
.guide-button__arrow { font-size: 1.2rem; }
.text-link { display: inline-flex; align-items: center; gap: .6rem; min-height: 48px; padding: .55rem .15rem; font-size: 17px; }
.text-link__arrow { flex-shrink: 0; }
.still-life { min-width: 0; }
.still-life__frame { background: #e1e8e3; border: 1px solid #c1cec6; overflow: hidden; }
.still-life__image { display: block; width: 100%; aspect-ratio: 6 / 5; object-fit: cover; color: var(--ink-soft); font-size: 16px; line-height: 1.5; }
.still-life__caption { margin-top: .6rem; font-size: 16px; color: var(--muted); }
.still-life--wide { max-width: 100%; margin: 1.4rem 0 2rem; }
.still-life--wide .still-life__image { aspect-ratio: 3 / 2; }
.reading-layout { display: flex; flex-direction: column; gap: 2.5rem; }
.prose { min-width: 0; }
.chapter { padding-top: 2.2rem; }
.chapter + .chapter { margin-top: 1rem; border-top: 1px solid var(--line); }
.chapter__title { font-size: clamp(1.5rem, 5.4vw, 1.85rem); letter-spacing: -.025em; margin-bottom: 1rem; text-wrap: balance; max-width: 32ch; }
.prose__paragraph { margin-top: .85rem; max-width: var(--measure); overflow-wrap: break-word; }
.question-list { padding-left: 1.25rem; margin: 1.1rem 0; }
.question-list__item { padding-left: .2rem; margin: .7rem 0; max-width: var(--measure); }
.question-list__item::marker { color: #945b14; }
.callout { margin: 1.35rem 0; padding: 1.2rem; border-left: 5px solid var(--amber); background: var(--white); border-top: 1px solid var(--line); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.callout--question { background: var(--sage); border-left-color: #456956; }
.callout--pause { background: var(--amber-light); border-left-color: #956116; }
.callout__label { font-size: 16px; text-transform: uppercase; letter-spacing: .06em; font-weight: 650; margin-bottom: .5rem; color: var(--muted); }
.callout__title { font-size: 1.25rem; font-weight: 700; }
.callout .prose__paragraph { margin-top: .7rem; }
.care-path { margin-top: 1.5rem; border: 1px solid var(--line); background: var(--white); }
.care-path__stop { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .2rem 1rem; padding: 1rem 1.1rem; min-height: 84px; text-decoration: none; color: var(--ink); }
.care-path__stop + .care-path__stop { border-top: 1px solid var(--line); }
.care-path__name { font-weight: 700; font-size: 1.1rem; }
.care-path__note { grid-column: 1; color: var(--muted); font-size: 17px; }
.care-path__arrow { grid-column: 2; grid-row: 1 / 3; color: var(--blue); font-size: 1.25rem; }
.topic-shelf { display: grid; gap: 0; border: 1px solid var(--line); background: var(--white); }
.topic-shelf__item { display: block; padding: 1.25rem; color: var(--ink); text-decoration: none; }
.topic-shelf__item + .topic-shelf__item { border-top: 1px solid var(--line); }
.topic-shelf__title { font-size: 1.25rem; max-width: 23ch; }
.topic-shelf__text { margin-top: .75rem; color: var(--ink-soft); font-size: 17px; }
.topic-shelf__cue { margin-top: 1rem; display: flex; align-items: center; justify-content: space-between; font-size: 16px; color: var(--blue); text-decoration: underline; text-underline-offset: .2em; }
.source-drawer { margin-top: 1.6rem; border-top: 2px solid var(--ink-soft); border-bottom: 1px solid var(--line); }
.source-drawer__toggle { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 56px; padding: .85rem .3rem; font-size: 17px; font-weight: 650; cursor: pointer; list-style: none; }
.source-drawer__mark { font-size: 1.5rem; line-height: 1; width: 20px; flex-shrink: 0; text-align: center; }
.source-drawer[open] .source-drawer__mark { transform: rotate(45deg); }
.source-drawer__body { padding: .25rem .3rem 1rem; }
.source-drawer__links { list-style: none; padding: 0; margin-top: .7rem; }
.source-link { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 48px; padding: .8rem .5rem; font-size: 17px; border-top: 1px solid var(--line); }
.source-link__arrow { flex-shrink: 0; }
.meaning-list { padding-top: .2rem; }
.meaning-list__term { margin-top: 1.3rem; font-size: 1.2rem; font-weight: 750; border-bottom: 1px solid var(--line); padding-bottom: .5rem; }
.meaning-list__answer { margin-bottom: 1.8rem; }
.bill-list { display: grid; grid-template-columns: 1fr; gap: .25rem; margin: 1.5rem 0; border-top: 1px solid var(--line); }
.bill-list__term { font-weight: 720; padding-top: 1rem; font-size: 1.1rem; }
.bill-list__question { padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.comparison { margin-top: 1.2rem; }
.comparison__controls { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: .75rem; }
.comparison__button { min-height: 48px; padding: .65rem .8rem; border: 1px solid #7b8d96; border-radius: 3px; background: var(--white); color: var(--ink); font-size: 17px; }
.comparison__button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.comparison__status { font-size: 16px; color: var(--muted); margin-bottom: .8rem; }
.comparison__panels { display: grid; gap: 1rem; }
.comparison__panel { padding: 1.2rem; background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--amber); }
.comparison__label { margin-bottom: .5rem; color: var(--muted); font-size: 16px; }
.comparison__title { font-size: 1.2rem; }
.chapter-index { order: -1; padding-top: 1.4rem; }
.chapter-index__nav { border-left: 3px solid var(--line); padding-left: .9rem; }
.chapter-index__label { font-size: 16px; font-weight: 700; margin-bottom: .4rem; }
.chapter-index__link { display: flex; align-items: center; min-height: 44px; padding: .55rem 0; font-size: 16px; }
.chapter-index__note { display: none; }
.next-read { padding-top: 1.2rem; margin-top: 2.2rem; border-top: 1px solid var(--line); }
.next-read__label { font-size: 16px; color: var(--muted); }
.next-read__link { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 56px; padding: .7rem 0; font-size: 1.2rem; font-weight: 700; }
.next-read__arrow { text-decoration: none; }
.guide-footer { background: var(--ink); color: #d4dfe2; border-top: 5px solid var(--amber); }
.guide-footer__inner { max-width: 1240px; margin: auto; padding: 1.5rem 1rem 2rem; }
.guide-footer__statement { max-width: 64ch; font-size: 17px; }
.guide-footer__nav { display: grid; gap: .2rem; margin-top: 1rem; }
.guide-footer__link { display: flex; align-items: center; min-height: 48px; padding: .65rem 0; color: var(--white); font-size: 16px; }
.guide-footer__link:focus-visible { outline-color: var(--amber); }
@media (hover: hover) {
  .topic-menu__link:hover, .source-link:hover { background: var(--sage); }
  .care-path__stop:hover, .topic-shelf__item:hover { background: #fff8e9; }
  .guide-button:hover { background: #f6c774; }
  .comparison__button:hover { border-color: var(--ink); }
  .chapter-index__link:hover { color: var(--ink); }
}
@media (min-width: 680px) {
  .masthead__inner, .guide-main, .guide-footer__inner { padding-left: 2rem; padding-right: 2rem; }
  .masthead__tag { display: block; }
  .topic-menu__toggle { font-size: 17px; }
  .topic-menu { position: relative; }
  .topic-menu[open] { position: relative; }
  .topic-menu__drawer { min-width: 100%; }
  .intro { padding-top: 1.6rem; padding-bottom: 2rem; }
  .intro--home { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; padding-top: 2.6rem; gap: 2rem; }
  .intro--home .intro__title { font-size: clamp(2.6rem, 4.2vw, 3.7rem); }
  .topic-shelf { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .topic-shelf__item + .topic-shelf__item { border-top: 0; border-left: 1px solid var(--line); }
  .topic-shelf__item { display: flex; flex-direction: column; }
  .topic-shelf__cue { margin-top: auto; padding-top: 1.4rem; }
  .bill-list { grid-template-columns: 10rem 1fr; gap: 0; }
  .bill-list__term { padding: 1rem .6rem 1rem 0; border-bottom: 1px solid var(--line); }
  .bill-list__question { padding: 1rem 0; }
  .comparison__panels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .comparison--single .comparison__panels { grid-template-columns: minmax(0, 1fr); }
  .guide-footer__nav { display: flex; flex-wrap: wrap; gap: .4rem 2rem; }
}
@media (min-width: 1020px) {
  :root { font-size: 18px; }
  .masthead__inner { padding-top: 1rem; padding-bottom: 1rem; }
  .topic-nav__inner { padding: 0 2rem; }
  .topic-menu__toggle { justify-content: flex-start; padding-left: 0; gap: 1.2rem; }
  .topic-menu[open] .topic-menu__toggle { padding-left: 1rem; }
  .reading-layout { display: grid; grid-template-columns: minmax(0, 1fr) 15rem; gap: 3rem; align-items: start; }
  .chapter-index { order: 0; padding-top: 2.3rem; position: sticky; top: 1.5rem; }
  .chapter-index__note { display: block; max-width: 24ch; font-size: 16px; color: var(--muted); margin-top: 1rem; }
  .prose { max-width: var(--measure); }
  .guide--home .reading-layout { grid-template-columns: minmax(0, 1fr); }
  .guide--home .prose { max-width: none; }
  .guide--home .chapter-index { display: none; }
  .guide--home .chapter { padding-top: 2.6rem; }
  .care-path { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .care-path__stop { min-height: 174px; display: flex; flex-direction: column; align-items: flex-start; gap: .6rem; padding: 1.1rem; }
  .care-path__stop + .care-path__stop { border-top: 0; border-left: 1px solid var(--line); }
  .care-path__note { line-height: 1.5; }
  .care-path__arrow { margin-top: auto; }
  .intro--home .still-life { max-width: 490px; }
  .callout { padding: 1.4rem 1.6rem; }
  .guide-footer__inner { padding-top: 1.7rem; padding-bottom: 2rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print {
  body { background: white; color: black; }
  .masthead, .chapter-index, .intro__actions, .comparison__controls, .next-read, .guide-footer__nav, .skip-link { display: none; }
  .guide-main { padding: 0; }
  .reading-layout, .intro--home, .comparison__panels { display: block; }
  .prose, .intro__title { max-width: none; }
  .chapter, .callout { break-inside: avoid; }
  .guide-footer { background: white; color: black; border-top: 1px solid black; }
}
