:root {
  --ink: #182b31;
  --ink-deep: #12352f;
  --teal: #15665d;
  --teal-dark: #0b4d45;
  --mint: #dcebe4;
  --paper: #fff;
  --soft: #f2f6f3;
  --line: #d5dfda;
  --muted: #53676b;
  --max: 1200px;
  --font: ui-sans-serif, -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.7 var(--font); -webkit-font-smoothing: antialiased; }
a { color: var(--teal-dark); text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { color: #08776a; }
button { font: inherit; cursor: pointer; }
button, a { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #ac5d21; outline-offset: 4px; }
img, svg { max-width: 100%; }
img { display: block; height: auto; }
h1, h2, h3, h4, p, ul, ol, dl { margin-top: 0; }
h1, h2, h3, h4 { font-family: var(--font); font-weight: 700; letter-spacing: -.025em; line-height: 1.2; overflow-wrap: break-word; }
h1 { font-size: clamp(34px, 3.6vw, 48px); margin-bottom: 20px; }
h2 { font-size: clamp(27px, 2.5vw, 32px); margin-bottom: 18px; }
h3 { font-size: 21px; margin-bottom: 12px; }
p { margin-bottom: 18px; }
ul, ol { padding-left: 24px; margin-bottom: 24px; }
li { margin-bottom: 9px; }
[hidden] { display: none !important; }
.container { width: min(var(--max), calc(100% - 64px)); margin-inline: auto; }
.small { font-size: 14px; line-height: 1.6; }
.muted { color: var(--muted); }
.skip-link { position: fixed; left: 16px; top: -100px; z-index: 100; background: var(--ink); color: #fff; padding: 12px 18px; }
.skip-link:focus { top: 12px; }
.preview-bar { background: var(--ink); color: #fff; font-size: 12px; padding: 7px 16px; text-align: center; }
.preview-bar span { display: inline-block; margin: 0 7px; }
.preview-dot { width: 6px; height: 6px; border-radius: 50%; background: #a1c8b7; vertical-align: middle; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink) !important; text-decoration: none; white-space: nowrap; font-size: 23px; letter-spacing: -.7px; font-weight: 700; min-height: 44px; }
.brand em { font-style: normal; font-weight: 500; color: var(--teal); }
.brand svg { width: 31px; height: 35px; flex-shrink: 0; }
.site-nav { display: flex; align-items: center; gap: 23px; }
.site-nav a { font-size: 14px; text-decoration: none; font-weight: 600; white-space: nowrap; padding: 12px 0; min-height: 48px; }
.site-nav a[aria-current=page] { box-shadow: inset 0 -2px var(--teal); }
.menu-toggle { display: none; }
.eyebrow { margin: 0 0 14px; font-size: 12px; line-height: 1.5; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 16px; border: 1px solid var(--teal); border-radius: 5px; background: var(--teal); color: #fff; text-decoration: none; padding: 11px 18px; font-size: 14px; font-weight: 650; line-height: 1.5; min-height: 48px; text-align: center; }
.button:hover { background: var(--teal-dark); color: #fff; }
.text-link { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 650; text-decoration: none; min-height: 44px; }
.text-link:hover { text-decoration: underline; }
.hero { padding-block: 48px; }
.hero-copy { max-width: 850px; }
.hero h1 { max-width: 800px; }
.hero-deck { max-width: 730px; font-size: 18px; color: var(--muted); margin-bottom: 26px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.hero-visual { margin: 0; min-width: 0; }
.image-wrap { overflow: hidden; border-radius: 6px; background: var(--soft); }
.image-wrap img { width: 100%; height: 335px; object-fit: cover; object-position: 58% center; }
.hero-visual figcaption { font-size: 12px; line-height: 1.5; color: var(--muted); margin-top: 10px; }
.principles { display: flex; flex-wrap: wrap; gap: 16px 32px; padding-block: 17px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.principles span { display: flex; gap: 9px; align-items: center; }
.principles b { width: 5px; height: 5px; background: var(--teal); border-radius: 50%; }
.home-section { padding-block: 54px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 36px; margin-bottom: 28px; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p { max-width: 340px; margin-bottom: 0; color: var(--muted); font-size: 15px; }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.project-link { display: block; text-decoration: none; color: var(--ink); padding: 27px 0; }
.project-link:hover { color: var(--teal); }
.project-icon { width: 54px; height: 42px; color: var(--teal); margin-bottom: 14px; }
.project-link h3 { font-size: 23px; margin-bottom: 10px; }
.project-link p { font-size: 15px; line-height: 1.65; color: var(--muted); margin-bottom: 20px; }
.project-link .go { display: flex; justify-content: space-between; gap: 12px; align-items: center; font-size: 13px; font-weight: 650; }
.project-link .go span { font-size: 22px; }
.spec-feature { background: var(--soft); padding: 38px; border: 1px solid var(--line); border-radius: 6px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 55px; align-items: center; }
.spec-feature h2 { max-width: 420px; }
.spec-feature p { color: var(--muted); max-width: 420px; }
.spec-preview { margin: 0; }
.spec-preview > div { display: grid; grid-template-columns: 75px minmax(0, 1fr); gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.spec-preview > div:first-child { border-top: 1px solid var(--line); }
.spec-preview dt { font-size: 22px; font-weight: 700; color: var(--teal); }
.spec-preview dd { margin: 0; font-size: 14px; color: var(--muted); }
.spec-preview dd strong { display: block; font-size: 15px; color: var(--ink); margin-bottom: 3px; }
.resource-section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 60px; align-items: center; padding-block: 58px; }
.resource-copy p:not(.eyebrow) { color: var(--muted); }
.reference-preview { background: var(--soft); border: 1px solid var(--line); border-radius: 6px; padding: 30px; }
.reference-preview h3 { font-size: 24px; }
.reference-preview dl { margin: 22px 0; }
.reference-preview dl > div { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 15px; border-top: 1px solid var(--line); padding: 12px 0; }
.reference-preview dt { font-weight: 700; color: var(--teal); }
.reference-preview dd { margin: 0; font-size: 15px; }
.reference-preview > p:last-child { color: var(--muted); font-size: 14px; margin-bottom: 0; }
.editorial-banner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 60px; border-top: 1px solid var(--line); padding: 34px 0 48px; }
.editorial-banner h2 { font-size: 28px; margin-bottom: 0; }
.editorial-banner p { font-size: 15px; color: var(--muted); margin-bottom: 10px; }
.site-footer { background: var(--soft); border-top: 1px solid var(--line); padding: 30px 0 24px; }
.footer-top { display: flex; align-items: start; justify-content: space-between; gap: 40px; }
.footer-top p { font-size: 14px; color: var(--muted); margin: 10px 0 0; max-width: 400px; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; font-size: 14px; }
.footer-links a { text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 24px; padding-top: 17px; display: flex; justify-content: space-between; gap: 20px; font-size: 12px; color: var(--muted); }
.footer-bottom p { margin: 0; }
.breadcrumb { font-size: 13px; color: var(--muted); padding-top: 24px; }
.breadcrumb a { text-decoration: none; }
.breadcrumb span { padding: 0 9px; }
.article-hero { max-width: 900px; padding: 32px 0 26px; }
.article-hero h1 { max-width: 850px; font-size: clamp(34px, 3.6vw, 46px); }
.article-hero .deck { font-size: 18px; line-height: 1.7; color: var(--muted); max-width: 780px; margin-bottom: 18px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--muted); font-size: 13px; }
.takeaway { background: var(--soft); border-left: 3px solid var(--teal); padding: 21px 25px; margin-bottom: 38px; max-width: 940px; }
.takeaway .eyebrow { margin-bottom: 6px; }
.takeaway p:last-child { margin: 0; font-size: 17px; line-height: 1.7; max-width: 830px; }
.article-layout { display: grid; grid-template-columns: 210px minmax(0, 780px); gap: 52px; padding-bottom: 56px; }
.contents { font-size: 14px; align-self: start; position: sticky; top: 24px; }
.contents .eyebrow { color: var(--muted); margin-bottom: 14px; }
.contents a { display: block; text-decoration: none; padding: 11px 0; border-top: 1px solid var(--line); line-height: 1.5; }
.contents a:last-child { border-bottom: 1px solid var(--line); }
.article-body { min-width: 0; }
.article-body > section { margin-bottom: 38px; }
.article-body h2 { font-size: 28px; line-height: 1.25; }
.article-body h3 { font-size: 20px; }
.article-body p, .article-body li { font-size: 16px; line-height: 1.75; }
.article-body .small { font-size: 14px; }
.numbered-list > div { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.numbered-list > div:first-child { padding-top: 2px; }
.numbered-list > div > span { font-size: 20px; font-weight: 650; color: var(--teal); }
.numbered-list p { margin: 0; }
.callout { border: 1px solid var(--line); background: var(--soft); padding: 22px 24px; margin: 26px 0; }
.callout h3 { font-size: 16px; }
.callout p:last-child { margin: 0; color: var(--teal-dark); }
.check-list { list-style: none; padding: 0; }
.check-list li { padding: 12px 0 12px 27px; border-bottom: 1px solid var(--line); position: relative; margin: 0; }
.check-list li:before { content: '✓'; position: absolute; left: 1px; color: var(--teal); font-size: 14px; }
.related-note { border-left: 2px solid #9db5aa; padding: 4px 0 4px 22px; margin: 27px 0; }
.related-note .eyebrow { color: var(--muted); margin-bottom: 8px; }
.related-note p:last-child { margin-bottom: 0; }
.compact-grid, .split-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin: 24px 0; }
.compact-grid > div { border-top: 1px solid var(--line); padding-top: 18px; }
.compact-grid p { font-size: 15px; margin: 0; }
.split-list ul { margin: 0; }
.metric-list article { display: grid; grid-template-columns: 105px minmax(0, 1fr); gap: 23px; border-top: 1px solid var(--line); padding: 24px 0; }
.metric-list article:last-child { border-bottom: 1px solid var(--line); }
.metric-list p { margin: 0; }
.metric-symbol { color: var(--teal); font-weight: 700; font-size: 20px; }
.editorial-list li { padding-left: 3px; margin-bottom: 14px; }
.sources { border-top: 1px solid var(--line); padding-top: 26px; }
.sources h2 { font-size: 24px; }
.sources > p { font-size: 14px; color: var(--muted); }
.sources ol { padding-left: 20px; }
.sources li { font-size: 14px; line-height: 1.6; margin-bottom: 16px; overflow-wrap: anywhere; }
.sources li span { display: block; color: var(--muted); font-size: 13px; margin-top: 3px; }
.sources li .source-date { display: inline; color: var(--teal); font-size: 12px; }
.next-steps { background: var(--soft); border-top: 2px solid var(--teal); padding: 22px 25px; margin-top: 30px; }
.next-steps .eyebrow { margin-bottom: 10px; }
.next-steps a { display: flex; justify-content: space-between; gap: 18px; text-decoration: none; padding: 12px 0; font-size: 16px; }
.next-steps a + a { border-top: 1px solid var(--line); }
.reference-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.reference-actions p { font-size: 14px; color: var(--muted); margin: 0; }
.print-button { display: none; }
.js .print-button { display: inline-flex; }
.reference-terms { margin-bottom: 0; }
.reference-terms > div { padding: 20px 0; border-bottom: 1px solid var(--line); }
.reference-terms > div:first-child { border-top: 1px solid var(--line); }
.reference-terms dt { font-size: 19px; line-height: 1.4; font-weight: 700; margin-bottom: 8px; }
.reference-terms dd { margin: 0; font-size: 16px; line-height: 1.75; }
@media (max-width: 1100px) {
  .site-nav { gap: 15px; }
  .site-nav a { font-size: 13px; }

  .hero h1 { font-size: 42px; }
  .image-wrap img { height: 310px; }
  .article-layout { grid-template-columns: 185px minmax(0, 1fr); gap: 36px; }
}
@media (max-width: 900px) {
  .container { width: calc(100% - 48px); }
  .header-inner { min-height: 76px; flex-wrap: wrap; gap: 0; }
  .menu-toggle { border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 14px; padding: 9px 12px; min-height: 44px; border-radius: 4px; align-items: center; gap: 9px; }
  .js .menu-toggle { display: inline-flex; }
  .menu-toggle svg { width: 17px; height: 17px; }
  .site-nav { width: 100%; padding: 8px 0 15px; flex-wrap: wrap; gap: 2px 22px; }
  .js .site-nav:not(.open) { display: none; }
  .site-nav a { font-size: 14px; }
  .hero { padding-block: 40px; }
  .hero h1 { font-size: 38px; }
  .hero-deck { font-size: 17px; }
  .section-heading { align-items: start; }
  .section-heading > p { max-width: 300px; }
  .project-grid { gap: 23px; }
  .project-link h3 { font-size: 21px; }
  .spec-feature { padding: 28px; gap: 32px; }
  .resource-section, .editorial-banner { gap: 32px; }
  .reference-preview { padding: 24px; }
  .article-layout { display: block; }
  .contents { position: static; margin-bottom: 30px; padding-top: 18px; border-top: 1px solid var(--line); max-width: 780px; }
  .contents nav { display: flex; flex-wrap: wrap; gap: 0 22px; }
  .contents a { border: 0 !important; font-size: 14px; padding: 8px 0; }
  .contents .eyebrow { margin-bottom: 7px; }
  .article-body { max-width: 780px; }
  .footer-top { display: block; }
  .footer-links { margin-top: 20px; }
}
@media (max-width: 640px) {
  .container { width: calc(100% - 40px); }
  .preview-bar { font-size: 11px; padding: 7px 6px; }
  .preview-bar span { margin: 0 3px; }
  .header-inner { min-height: 72px; }
  .brand { font-size: 21px; gap: 8px; }
  .brand svg { width: 28px; }
  .menu-toggle { font-size: 13px; gap: 7px; padding-inline: 9px; }
  .hero { padding-block: 32px; }
  .hero h1 { font-size: 36px; max-width: 450px; }
  .hero-deck { font-size: 17px; margin-bottom: 22px; }
  .hero-actions { gap: 10px 16px; }
  .image-wrap img { height: auto; aspect-ratio: 16 / 10; object-position: center; }
  .principles { font-size: 12px; gap: 10px 20px; }
  .home-section { padding-block: 38px; }
  .section-heading { display: block; margin-bottom: 24px; }
  .section-heading > p { margin-top: 14px; max-width: none; }
  .project-grid { display: block; }
  .project-link { padding: 24px 0 24px 62px; position: relative; }
  .project-link + .project-link { border-top: 1px solid var(--line); }
  .project-icon { position: absolute; left: 0; top: 25px; width: 44px; height: 35px; }
  .project-link h3 { font-size: 23px; }
  .project-link p { margin-bottom: 13px; }
  .spec-feature { display: block; padding: 25px 23px; }
  .spec-preview { margin-top: 24px; }
  .spec-preview > div { grid-template-columns: 65px minmax(0, 1fr); gap: 15px; }
  .resource-section { grid-template-columns: minmax(0, 1fr); padding-block: 40px; gap: 28px; }
  .resource-copy { grid-row: 1; }
  .reference-preview { padding: 24px; }
  .reference-preview h3 { font-size: 22px; }
  .reference-preview dl > div { grid-template-columns: 76px minmax(0, 1fr); gap: 12px; }
  .editorial-banner { display: block; padding: 30px 0 38px; }
  .editorial-banner h2 { font-size: 26px; margin-bottom: 18px; }
  .footer-links { gap: 4px 20px; }
  .footer-bottom { display: block; }
  .footer-bottom p + p { margin-top: 6px; }
  .breadcrumb { padding-top: 20px; }
  .article-hero { padding-block: 27px 24px; }
  .article-hero h1 { font-size: 34px; }
  .article-hero .deck { font-size: 17px; }
  .article-meta { font-size: 12px; gap: 5px 14px; }
  .takeaway { padding: 18px 20px; margin-bottom: 30px; }
  .takeaway p:last-child { font-size: 16px; }
  .article-layout { padding-bottom: 40px; }
  .article-body > section { margin-bottom: 32px; }
  .article-body h2 { font-size: 26px; }
  .article-body h3 { font-size: 19px; }
  .numbered-list > div { grid-template-columns: 28px minmax(0, 1fr); gap: 12px; }
  .callout { padding: 20px; }
  .compact-grid, .split-list { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .metric-list article { grid-template-columns: minmax(0, 1fr); gap: 9px; padding-block: 22px; }
  .metric-symbol { font-size: 18px; }
  .sources h2 { font-size: 23px; }
  .next-steps { padding: 19px 22px; }
  .reference-terms dt { font-size: 18px; }
}
@media (max-width: 359px) {
  .container { width: calc(100% - 32px); }
  .brand { font-size: 19px; gap: 6px; }
  .brand svg { width: 25px; }
  .menu-toggle { font-size: 12px; gap: 5px; padding-inline: 7px; }
  .hero h1, .article-hero h1 { font-size: 32px; }
  .project-link { padding-left: 56px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Browser-only guide search; no separate hero or new imagery. */
.local-search { margin-bottom: 32px; }
.search-panel { padding: 28px 30px; background: var(--soft); border: 1px solid var(--line); border-radius: 8px; }
.search-panel h2 { font-size: clamp(25px, 2.5vw, 32px); margin-bottom: 20px; }
#guide-search-form label { display: block; font-size: 15px; font-weight: 650; margin-bottom: 7px; }
.search-controls { display: flex; flex-wrap: wrap; align-items: stretch; gap: 10px; }
.search-controls input { min-width: 0; flex: 1 1 260px; padding: 12px 14px; border: 1px solid #758c85; border-radius: 5px; background: #fff; color: var(--ink); font: inherit; font-size: 16px; min-height: 48px; }
.search-controls input::placeholder { color: #53676b; opacity: 1; }
.search-controls button { min-height: 48px; }
.search-clear { padding: 10px 16px; border: 1px solid #758c85; background: #fff; color: var(--teal-dark); border-radius: 5px; }
.search-help, .search-status { margin: 10px 0 0; font-size: 14px; color: var(--muted); }
.search-status { font-weight: 600; }
.search-browse { display: flex; flex-wrap: wrap; gap: 7px 22px; margin-top: 18px; }
.search-browse a { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; }
.search-results { margin: 20px 0 0; padding: 0; list-style: none; }
.search-results li { padding: 18px 0; border-top: 1px solid var(--line); margin: 0; }
.search-results h3 { margin-bottom: 7px; font-size: 20px; }
.search-results p { margin-bottom: 0; font-size: 15px; }
.search-results .search-result-context { margin-bottom: 4px; color: var(--muted); font-size: 13px; }
.search-results a { overflow-wrap: anywhere; }
@media (max-width: 600px) {
  .search-panel { padding: 22px 20px; }
  .search-controls input { flex-basis: 100%; width: 100%; }
  .search-controls .button { flex: 1; justify-content: center; }
  .search-browse { gap: 3px 18px; }
}

/* Static question paths share the existing search panel and work without JS. */
.question-paths { margin-top: 24px; }
.question-paths h3 { font-size: 18px; margin-bottom: 8px; }
.question-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; margin: 0; padding: 0; list-style: none; }
.question-links li { margin: 0; border-top: 1px solid var(--line); }
.question-links a { display: block; min-height: 44px; padding: 14px 0; text-decoration: none; }
.question-label { display: block; font-size: 15px; font-weight: 650; line-height: 1.5; text-decoration: underline; text-underline-offset: 3px; }
.question-summary { display: block; margin-top: 4px; font-size: 14px; line-height: 1.55; color: var(--muted); }
.question-setting { margin: 8px 0 0; font-size: 14px; }
.question-setting a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
@media (max-width: 640px) {
  .question-links { grid-template-columns: minmax(0, 1fr); }
}
