:root {
  color-scheme: light;
  --ink: #173f38;
  --teal: #21796b;
  --paper: #f5f2e9;
  --white: #fffdf8;
  --line: #d9dfd5;
  --muted: #596d65;
  --sage: #e7ede4;
  --gold: #e2c78f;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.65 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: inherit; text-underline-offset: 4px; }
button, input, select { font: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid #976319; outline-offset: 4px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.035em; line-height: 1.15; }
h1 { font-size: clamp(2.4rem, 4.4vw, 4rem); }
h2 { font-size: clamp(1.65rem, 2.5vw, 2.25rem); }
h3 { line-height: 1.4; }
em { color: var(--teal); font-weight: 400; }
.eyebrow { display: inline-block; font-size: .68rem; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }
.site-header { min-height: 90px; padding: 18px max(calc((100vw - 1220px) / 2), 24px); display: flex; gap: 28px; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; font-size: 25px; font-weight: 850; letter-spacing: -.9px; line-height: 1.2; white-space: nowrap; }
.brand-mark { display: block; width: 45px; height: 45px; }
.brand-mark svg { width: 100%; height: 100%; }
.primary { display: inline-flex; align-items: center; justify-content: space-between; gap: 30px; background: var(--teal); color: white; border-radius: 10px; text-decoration: none; padding: 12px 21px; font-size: .9rem; font-weight: 650; }
.primary:hover { background: #155d52; }
.hub-wrap, .article-wrap { max-width: 1268px; margin: auto; padding: 36px 24px 64px; }
.site-footer a:focus-visible { outline-color: var(--gold); }
.topic-icon { display: grid; place-items: center; flex: 0 0 46px; width: 46px; height: 46px; border-radius: 13px; color: var(--teal); background: var(--sage); }
.topic-icon svg { width: 27px; height: 27px; }
.browse-title { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.browse-title h2 { margin: 8px 0 0; }
.browse-title > span, .browse-title > a { font-size: .8rem; color: var(--muted); white-space: nowrap; }
.filters { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; margin-bottom: 26px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.filters nav { display: flex; gap: 8px; align-items: center; }
.pill { border: 1px solid var(--line); padding: 10px 16px; border-radius: 30px; text-decoration: none; font-size: .81rem; white-space: nowrap; }
.pill.active { background: var(--ink); border-color: var(--ink); color: white; }
.filters form { display: flex; gap: 8px; flex-wrap: wrap; }
.filters input, .filters select, .filters button { border: 1px solid var(--line); border-radius: 9px; background: var(--white); padding: 11px 12px; font-size: .82rem; color: var(--ink); min-height: 44px; }
.filters input { width: 255px; max-width: 100%; }
.filters button { background: var(--ink); color: white; cursor: pointer; }
.guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.guide-card { background: var(--white); border: 1px solid var(--line); border-radius: 17px; padding: 26px; display: flex; flex-direction: column; transition: transform .18s, box-shadow .18s; }
.guide-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px #173f3810; border-color: #b3c9bc; }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 24px; }
.card-top > span:last-child { font-size: .72rem; color: var(--muted); }
.card-copy { display: flex; flex-direction: column; flex: 1; }
.guide-card h3 { font: 400 1.6rem/1.22 Georgia, serif; letter-spacing: -.025em; margin: 12px 0; }
.guide-card h3 a { text-decoration: none; }
.guide-card h3 a:hover { text-decoration: underline; }
.card-copy > p { font-size: .88rem; color: var(--muted); margin-bottom: 24px; }
.card-meta { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: .76rem; }
.card-meta > span { color: var(--muted); }
.card-meta a { font-weight: 650; text-decoration: none; padding: 4px 0; }
.card-meta a span { margin-left: 8px; }
.help-strip { margin-top: 48px; display: flex; gap: 35px; align-items: center; justify-content: space-between; background: var(--sage); border-radius: 20px; padding: 35px; }
.help-strip h2 { font-size: 1.9rem; margin: 12px 0; }
.help-strip p { margin: 0; max-width: 620px; color: var(--muted); font-size: .9rem; }
.help-strip .primary { flex-shrink: 0; }
.site-footer { background: linear-gradient(115deg, #112f2b, #1a443b); color: var(--white); border-top: 1px solid #8d8059; padding: 36px max(calc((100vw - 1220px) / 2), 24px); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; }
.footer-brand { font-weight: 850; font-size: 24px; text-decoration: none; letter-spacing: -.8px; }
.site-footer p { font-size: .8rem; color: #c9dcd2; margin: 6px 0; }
.site-footer nav { display: flex; gap: 24px; font-size: .82rem; align-items: start; padding-top: 12px; }
.site-footer nav a { text-decoration-color: #7ea99b; }
.site-footer a:hover { color: var(--gold); text-decoration-color: currentColor; }
.site-footer .disclaimer { flex-basis: 100%; max-width: 950px; font-size: .74rem; margin-top: 14px; }
.breadcrumb { display: flex; gap: 12px; font-size: .79rem; margin-bottom: 24px; color: var(--muted); }
.article-header { display: grid; grid-template-columns: 1fr 220px; gap: 40px; align-items: center; padding: 8px 0 32px; border-bottom: 1px solid var(--line); margin-bottom: 36px; }
.article-header h1 { font-size: clamp(2.25rem, 3.8vw, 3.7rem); margin: 14px 0 24px; max-width: 870px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: .75rem; color: var(--muted); }
.article-emblem { height: 205px; border-radius: 50% 50% 15px 15px; background: var(--sage); display: flex; align-items: center; justify-content: center; flex-direction: column; border: 1px solid var(--line); gap: 18px; }
.article-emblem svg { width: 70px; height: 70px; color: var(--teal); }
.article-emblem span { font-size: .55rem; text-align: center; letter-spacing: .14em; }
.article-layout { display: grid; grid-template-columns: 220px minmax(0, 770px); justify-content: space-between; gap: 55px; }
.contents { position: sticky; top: 30px; align-self: start; padding: 4px 0 10px; }
.contents nav { display: grid; gap: 0; border-left: 1px solid #becfc4; margin: 20px 0; }
.contents a { display: block; padding: 8px 0 8px 17px; font-size: .81rem; text-decoration: none; color: var(--muted); }
.contents a:hover { color: var(--ink); border-left: 2px solid var(--teal); margin-left: -1px; background: var(--sage); }
.contents p { font: italic 1.1rem/1.55 Georgia, serif; color: var(--muted); padding-top: 12px; }
.article-body > section { margin-bottom: 36px; }
.article-body p { line-height: 1.8; font-size: 1rem; }
.article-body h2 { font-size: 1.95rem; margin-bottom: 18px; }
.short-answer { background: var(--sage); border: 1px solid #cddcd0; border-radius: 18px; padding: 28px 30px; }
.short-answer p { font-size: 1.14rem; line-height: 1.75; margin: 12px 0 0; }
.practical-section { padding-top: 4px; }
.checklist { padding: 28px; background: var(--white); border: 1px solid var(--line); border-radius: 18px; }
.checklist h2 { margin: 8px 0 10px; }
.checklist ol { list-style: none; padding: 0; margin: 0; counter-reset: check; }
.checklist li { counter-increment: check; display: flex; gap: 17px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: .94rem; }
.checklist li:last-child { border: 0; padding-bottom: 0; }
.checklist li:before { content: counter(check, decimal-leading-zero); font: italic 22px Georgia; color: var(--teal); flex-shrink: 0; }
.product-section > h2 { margin-top: 8px; }
.product-grid { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.product-grid > div { padding: 26px 28px; background: #edf1e9; }
.product-grid > div + div { border-top: 1px solid var(--line); background: var(--white); }
.product-number { font-size: .66rem; letter-spacing: .12em; font-weight: 700; color: var(--teal); }
.product-grid h3 { font-size: 1.1rem; margin: 8px 0 12px; }
.product-grid p { font-size: .96rem; margin-bottom: 0; }
.limits { border-left: 3px solid #b0925b; padding: 4px 0 4px 22px; }
.limits h2 { font: 650 1.05rem/1.4 system-ui, sans-serif; letter-spacing: 0; margin-bottom: 10px; }
.limits p { font-size: .91rem; color: #5d6558; margin: 0; }
.next-step { background: var(--ink); color: var(--white); border-radius: 18px; padding: 30px; }
.next-step .eyebrow { color: var(--gold); }
.next-step h2 { margin: 12px 0; }
.next-step p { font-size: .94rem; color: #e1e9e0; }
.next-step .primary { background: var(--white); color: var(--ink); font-size: .86rem; margin-top: 8px; }
.service-links { font-size: .82rem; margin-top: 22px; }
summary { cursor: pointer; }
.sources > h2 { font: 650 1.2rem/1.4 system-ui, sans-serif; letter-spacing: -.01em; }
.sources > p, .sources > ul { font-size: .86rem; }
.sources ul { list-style: none; padding-left: 0; }
.sources li { margin: 0; padding: 10px 0; border-bottom: 1px solid var(--line); }
.sources a { overflow-wrap: anywhere; }
.author-note { margin-top: 25px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); }
.author-note strong { font-size: .8rem; color: var(--ink); }
.author-note p { font-size: .78rem; margin: 8px 0; }
.related { margin-top: 48px; border-top: 1px solid var(--line); padding-top: 32px; }
.preview-tools { background: #faf0dc; border-bottom: 1px solid #dccca7; padding: 14px max(calc((100vw - 1220px) / 2), 24px); color: #66471c; }
.preview-banner { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: .76rem; }
.preview-banner strong { letter-spacing: .07em; }
.preview-gaps { font-size: .8rem; margin-top: 8px; max-width: 900px; }
.preview-gaps summary { font-weight: 600; padding: 4px 0; }
.preview-gaps li { margin: 12px 0; }
.preview-gaps p { margin: 6px 0; }
.empty { grid-column: 1/-1; padding: 36px 24px; text-align: center; background: var(--white); border: 1px solid var(--line); border-radius: 18px; }
.empty .topic-icon { margin: 0 auto 18px; }
.empty h3 { font: 1.9rem/1.2 Georgia, serif; margin-bottom: 12px; }
.empty p { max-width: 560px; margin: 0 auto 20px; font-size: .93rem; color: var(--muted); }
.empty a { font-size: .9rem; font-weight: 600; }
.page-empty { margin: 48px 5vw; min-height: 45vh; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip:focus { position: fixed; top: 10px; left: 10px; z-index: 10; background: white; padding: 12px; }
@media (max-width: 1000px) {
  .guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-layout { grid-template-columns: 175px minmax(0, 1fr); gap: 30px; }
  .article-header { grid-template-columns: 1fr 160px; gap: 24px; }
  .article-emblem { height: 170px; }
  .help-strip { align-items: start; flex-direction: column; gap: 22px; }
}
@media (max-width: 700px) {
  .site-header { min-height: 78px; gap: 12px; padding: 16px 20px 12px; flex-wrap: wrap; }
  .brand { font-size: 21px; gap: 8px; }
  .brand-mark { width: 38px; height: 38px; }
  .hub-wrap, .article-wrap { padding: 24px 18px 40px; }
  .guide-grid { grid-template-columns: 1fr; gap: 16px; }
  .guide-card { padding: 24px; }
  .browse-title { gap: 12px; margin-bottom: 20px; }
  .browse-title h2 { font-size: 1.85rem; }
  .browse-title > span { font-size: .73rem; }
  .filters { gap: 16px; }
  .filters nav { width: 100%; gap: 6px; }
  .filters .pill { padding: 9px 14px; }
  .filters form { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto; }
  .filters form > label:first-of-type { grid-column: 1/-1; }
  .filters input, .filters select { width: 100%; }
  .help-strip { padding: 26px; margin-top: 30px; }
  .help-strip h2 { font-size: 1.75rem; }
  .site-footer nav { flex-wrap: wrap; gap: 18px; }
  .article-header { display: block; padding-bottom: 24px; margin-bottom: 24px; }
  .article-header h1 { font-size: 2.35rem; margin: 12px 0 20px; }
  .article-emblem { display: none; }
  .article-meta { font-size: .72rem; }
  .article-layout { display: flex; flex-direction: column; gap: 0; }
  .contents { position: static; width: 100%; padding: 0 0 18px; }
  .contents nav { display: flex; flex-wrap: wrap; margin: 8px 0 0; border: 0; gap: 0 14px; }
  .contents a { padding: 5px 0; text-decoration: underline; font-size: .76rem; }
  .contents a:hover { border: 0; margin: 0; }
  .contents > p { display: none; }
  .short-answer, .checklist { padding: 23px; }
  .short-answer p { font-size: 1.05rem; }
  .article-body h2 { font-size: 1.8rem; }
  .article-body p { font-size: .97rem; }
  .article-body > section { margin-bottom: 28px; }
  .product-grid > div { padding: 23px; }
  .limits h2 { font-size: 1.05rem; }
  .limits p { font-size: .9rem; }
  .sources > h2 { font-size: 1.2rem; }
  .author-note p { font-size: .78rem; }
  .next-step { padding: 25px; }
  .primary { max-width: 100%; gap: 16px; }
  .preview-tools { padding: 12px 18px; }
  .related .browse-title { align-items: start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .guide-card { transition: none; }
  .guide-card:hover { transform: none; }
}

/* Contextual product instructions within each guide. */
.product-help { padding: 24px; border: 1px solid var(--line); border-radius: 18px; margin-top: 18px; background: var(--white); }
.product-help > h3 { margin-bottom: 16px; }
.product-help-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.product-help-card { display: flex; flex-direction: column; gap: 12px; padding: 18px; background: var(--sage); border: 1px solid var(--line); border-radius: 12px; text-decoration: none; }
.product-help-card:hover strong { text-decoration: underline; }
.product-help-card > span { font-size: .8rem; color: var(--muted); }
.product-help nav { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 18px; font-size: .88rem; }
.product-help > p { font-size: .87rem; margin: 18px 0 0; color: var(--muted); }
@media (max-width: 760px) {
  .product-help-grid { grid-template-columns: 1fr; }
  .product-help { padding: 20px; }
}

/* A quiet masthead and a short introduction put the guide library first. */
.site-header { min-height: 76px; padding-top: 14px; padding-bottom: 14px; }
.back-home { display: inline-flex; align-items: center; gap: 9px; flex-shrink: 0; padding: 9px 14px; border: 1px solid var(--ink); background: var(--ink); color: var(--white); box-shadow: 0 3px 10px #173f381a; border-radius: 24px; font-size: .85rem; font-weight: 600; text-decoration: none; }
.back-home:hover { background: #112f2b; border-color: #112f2b; box-shadow: 0 5px 12px #173f3826; }
.guides-intro { margin-bottom: 28px; }
.guides-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; }
.guides-intro h1 { font-size: clamp(2.3rem, 4vw, 3.2rem); margin: 0 0 10px; }
.guides-intro p { margin: 0; font-size: 1rem; color: var(--muted); }
.guide-count { color: var(--muted); font-size: .8rem; white-space: nowrap; }
@media (max-width: 700px) {
  .site-header { min-height: 68px; padding: 14px 18px; flex-wrap: nowrap; gap: 10px; }
  .brand { font-size: 18px; }
  .brand-mark { width: 34px; height: 34px; }
  .back-home { font-size: .75rem; padding: 8px; gap: 6px; }
  .guides-intro { margin-bottom: 22px; }
  .guides-intro p { font-size: .93rem; }
}
