@font-face {
  font-family: Geist;
  src: url("geist.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("bricolage.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}
:root {
  color-scheme: light;
  --paper: #f9f8f4;
  --ink: #1d2030;
  --muted: #535463;
  --accent: #27685e;
  --accent-hover: #194e46;
  --accent-soft: #e3eee8;
  --border: #dddbe3;
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --text: Geist, system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 28px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.6 var(--text); }
img { display: block; width: 100%; height: auto; }
button, input { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-underline-offset: .2em; }
a, button, input { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
[hidden] { display: none !important; }
h1, h2, h3, h4, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--display); line-height: 1.04; letter-spacing: -.04em; }
h2 { font-size: clamp(2.15rem, 4vw, 3.55rem); font-weight: 730; }
h3 { font-size: 1.55rem; font-weight: 720; }
h4 { font-weight: 680; font-size: 1.02rem; }
.wrap { width: min(100% - 96px, 1200px); margin-inline: auto; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip:focus { position: absolute; z-index: 3; top: 8px; left: 8px; padding: 8px 14px; background: white; }
.alert-bar { background: #f5e5e4; color: #732f35; font-size: .84rem; }
.alert-content { display: flex; gap: 8px; align-items: center; justify-content: center; min-height: 38px; position: relative; }
.status-dot { width: 7px; height: 7px; flex: 0 0 7px; border-radius: 50%; background: #b2434c; }
.alert-bar a { font-weight: 670; }
.alert-more { position: absolute; right: 0; text-decoration: none; }
.site-header { border-bottom: 1px solid #e6e3df; }
.header-row { display: grid; grid-template-columns: 1fr auto 1fr; min-height: 73px; align-items: center; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 7px; justify-self: start; font: 650 1.5rem/1 var(--text); letter-spacing: -.042em; text-decoration: none; white-space: nowrap; }
.brand-mark { width: 29px; height: 29px; flex: none; }
.header-row nav { display: flex; align-items: center; gap: clamp(14px, 3vw, 42px); }
.header-row nav a, .header-help { text-decoration: none; font-size: .88rem; font-weight: 550; white-space: nowrap; }
.header-row nav a:hover, .header-help:hover, .alert-more:hover { text-decoration: underline; }
.header-help { justify-self: end; padding: 7px 13px; border: 1px solid #e1c3c4; color: #842f3c; border-radius: 8px; }
.header-help span { margin-left: 3px; }
.hero { display: grid; grid-template-columns: 1fr 1.06fr; gap: clamp(28px, 4.4vw, 74px); align-items: center; padding-block: 52px 63px; }
.hero-copy { padding-block: 14px; }
.eyebrow { display: flex; align-items: center; gap: 9px; color: var(--accent); font-size: .72rem; letter-spacing: .12em; font-weight: 700; line-height: 1.4; }
.marker { flex: 0 0 7px; width: 7px; height: 7px; border-radius: 1px; transform: rotate(45deg); background: currentColor; }
.hero h1 { margin-top: 19px; font-size: clamp(3.55rem, 6.5vw, 6.5rem); font-weight: 750; line-height: .93; letter-spacing: -.072em; }
.hero h1 em { color: var(--accent); font-style: normal; }
.hero-deck { margin-top: 23px; max-width: 43ch; font-size: clamp(1rem, 1.4vw, 1.16rem); line-height: 1.6; color: var(--muted); }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 24px; margin-top: 26px; }
.button { min-height: 45px; display: inline-flex; align-items: center; justify-content: center; gap: 13px; border-radius: 9px; padding: 10px 16px; text-decoration: none; font-size: .89rem; line-height: 1.25; font-weight: 650; }
.primary { background: var(--accent); color: #fff; }
.primary:hover { background: var(--accent-hover); }
.text-link { color: var(--accent); font-weight: 650; font-size: .89rem; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.text-link span { margin-left: 4px; }
.hero-art { position: relative; overflow: hidden; background: #222524; border-radius: 23px; aspect-ratio: 1.43; }
.hero-art img { height: 100%; object-fit: cover; object-position: center 33%; }
.library { border-top: 1px solid var(--border); padding-block: 36px 70px; }
.section-head { margin-bottom: 21px; }
.section-head p:not(.eyebrow) { color: var(--muted); max-width: 52ch; margin-top: 10px; }
.library-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; }
.search { position: relative; min-width: 267px; }
.search input { width: 100%; height: 45px; border: 1px solid #d7d3de; color: var(--ink); border-radius: 9px; background: #fff; padding: 8px 13px 8px 38px; font-size: .89rem; }
.search input::placeholder { color: #646373; opacity: 1; }
.magnifier { position: absolute; top: 14px; left: 14px; width: 12px; height: 12px; border: 1.5px solid #656277; border-radius: 50%; pointer-events: none; }
.magnifier::after { content: ""; position: absolute; width: 5px; height: 1.5px; background: #656277; right: -4px; bottom: -2px; transform: rotate(45deg); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.filters button { background: transparent; border: 1px solid #dcd8e3; border-radius: 999px; padding: 7px 13px; color: #4f4b62; font-size: .81rem; font-weight: 550; }
.filters button:hover { border-color: var(--accent); }
.filters button[aria-pressed="true"] { background: var(--accent-soft); color: var(--accent-hover); border-color: var(--accent-soft); font-weight: 670; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.guide-card { display: flex; flex-direction: column; min-height: 201px; padding: 18px 20px 16px; border: 1px solid var(--card-border); border-radius: 15px; background: var(--card-fill); color: var(--ink); text-decoration: none; transition: transform .16s ease, box-shadow .16s ease; }
.guide-card:hover { transform: translateY(-3px); box-shadow: 0 10px 22px #2b224c14; }
.lavender { --card-fill: #f0ecfa; --card-border: #e4dbf7; --card-icon: #ddd2f5; --card-ink: #4f338c; }
.peach { --card-fill: #faeee8; --card-border: #f1ded4; --card-icon: #f3dacd; --card-ink: #883e23; }
.mint { --card-fill: #eaf3ed; --card-border: #d9e9dd; --card-icon: #d1e7da; --card-ink: #245842; }
.blue { --card-fill: #eaf0f9; --card-border: #dce4f3; --card-icon: #d4e1f4; --card-ink: #315283; }
.rose { --card-fill: #f8edf0; --card-border: #f0dce3; --card-icon: #efd8e1; --card-ink: #853c60; }
.sand { --card-fill: #f4efe2; --card-border: #ebe0c7; --card-icon: #ebdfc1; --card-ink: #6f561f; }
.card-top { display: flex; gap: 11px; align-items: center; }
.card-icon { display: grid; place-items: center; width: 38px; height: 38px; flex: 0 0 38px; background: var(--card-icon); color: var(--card-ink); border-radius: 10px; font: 650 1.55rem/1 system-ui, sans-serif; }
.card-kind { color: var(--card-ink); font-size: .67rem; font-weight: 700; letter-spacing: .08em; line-height: 1.25; }
.guide-card h3 { margin-top: 14px; font-size: clamp(1.43rem, 2.4vw, 1.85rem); }
.guide-card h3 small { display: inline-block; margin-left: 3px; font: 500 .74rem/1.4 var(--text); color: var(--muted); letter-spacing: 0; }
.guide-card p { margin-block: 7px 14px; color: var(--muted); font-size: .89rem; line-height: 1.48; }
.card-link { display: flex; justify-content: space-between; gap: 8px; margin-top: auto; color: var(--card-ink); font-size: .8rem; font-weight: 680; }
.card-link span { font-size: 1rem; line-height: 1.25; }
.empty { padding: 20px; background: white; border: 1px dashed var(--border); border-radius: 12px; }
.empty button { border: none; padding: 8px 0; background: transparent; }
.band { background: #eeebf7; padding-block: 63px; border-block: 1px solid #e4dff1; }
.split-head { display: grid; grid-template-columns: 1fr minmax(0, .69fr); gap: 26px; align-items: end; margin-bottom: 28px; }
.split-head .eyebrow { margin-bottom: 9px; }
.split-head p:not(.eyebrow) { margin: 0; }
.checking-grid, .resource-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.method { display: flex; flex-direction: column; align-items: start; padding: 20px; border: 1px solid #e1dcee; background: #fcfbfe; border-radius: 14px; }
.method-type { color: var(--accent); font-size: .68rem; letter-spacing: .08em; font-weight: 700; margin-bottom: 12px; }
.method p { color: var(--muted); font-size: .91rem; margin-block: 9px 13px; }
.method > a, .method-links { margin-top: auto; }
.method-links { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.source-line { margin-top: 13px; color: var(--muted); font-size: .77rem; }
.source-line a { font-weight: 620; }
.kits { margin-top: 45px; }
.kits h3, .strip-panel h3 { font-size: clamp(1.65rem, 3vw, 2.25rem); }
.kit-list { border-top: 1px solid #d7d1e6; }
.kit-row { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; border-bottom: 1px solid #d7d1e6; padding: 13px 0; }
.kit-row p { margin-top: 3px; color: var(--muted); font-size: .91rem; }
.strip-panel { display: grid; grid-template-columns: .85fr 1fr; gap: 25px 45px; margin-top: 32px; background: #fbfafe; padding: clamp(18px, 4vw, 30px); border-radius: 15px; border: 1px solid #e1dcee; }
.strip-panel p { margin-block: 10px 13px; color: var(--muted); font-size: .91rem; }
.strip-panel dl { margin: 0; }
.strip-panel dl div { display: grid; grid-template-columns: 70px 1fr; gap: 10px; padding-block: 8px; border-bottom: 1px solid #e7e2f0; font-size: .88rem; }
.strip-panel dl div:first-child { padding-top: 0; }
.strip-panel dl div:last-child { border-bottom: 0; padding-bottom: 0; }
.strip-panel dt { font-weight: 700; }
.strip-panel dd { margin: 0; color: var(--muted); }
.risk, .resources { padding-block: 65px; }
.measuring { padding-block: 36px 58px; border-top: 1px solid var(--border); }
.measure-links { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.measure-next { margin-top: 10px; }
.risk-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.risk-grid article { border: 1px solid #e5e1da; border-radius: 13px; padding: 21px 23px; background: #fcfbf8; }
.risk-grid p { margin-top: 9px; color: var(--muted); font-size: .95rem; }
.emergency { background: #24233e; color: #fbfaff; padding-block: 58px; }
.emergency a:focus-visible { outline-color: #f7d0d1; }
.emergency-grid { display: grid; grid-template-columns: .86fr 1fr; gap: 28px 62px; align-items: start; }
.emergency .eyebrow { color: #f6bdc4; margin-bottom: 10px; }
.emergency-lead > p:not(.eyebrow) { margin: 13px 0 16px; color: #e5e0ef; max-width: 46ch; }
.emergency-call { background: #f3c7ce; color: #40202e; }
.emergency-call:hover { background: #ffe1e5; }
.emergency-lead .location-note { font-size: .8rem; }
.emergency-steps ol { list-style: none; padding: 0; margin: 0; }
.emergency-steps li { padding: 11px 0 11px 45px; color: #e5e0ef; border-bottom: 1px solid #535069; position: relative; }
.step-number { position: absolute; left: 0; top: 12px; display: grid; place-items: center; width: 29px; height: 29px; border-radius: 7px; background: #454166; color: #faf6ff; font-size: .84rem; font-weight: 650; }
.emergency-steps strong { color: white; }
.emergency .source-line { color: #e1d7f4; }
.poison { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 18px; background: #393652; border: 1px solid #514d6e; padding: 17px 20px; border-radius: 13px; }
.poison p { margin-top: 3px; font-size: .88rem; color: #e8e3f1; }
.poison-call { background: #f8f4ff; color: #30274d; white-space: nowrap; }
.poison-call:hover { background: #e5dbf9; }
.resource-grid a { background: #fff; border: 1px solid #e5e1da; border-radius: 12px; padding: 15px 17px; text-decoration: none; }
.resource-grid a:hover strong { text-decoration: underline; }
.resource-grid strong { color: var(--accent); display: flex; justify-content: space-between; gap: 8px; font-size: .97rem; }
.resource-grid small { display: block; margin-top: 5px; color: var(--muted); font-size: .85rem; }
.footer { border-top: 1px solid #e6e3df; }
.footer-row { min-height: 83px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 16px; }
.footer-row p { font-size: .78rem; color: var(--muted); }
.footer-row .text-link { white-space: nowrap; }
.guide-page { padding-block: 34px 55px; }
.guide-breadcrumb { margin-bottom: 21px; display: inline-block; }
.guide-hero { background: var(--card-fill); border: 1px solid var(--card-border); border-radius: 18px; padding: clamp(24px, 5vw, 46px); }
.guide-hero .eyebrow { color: var(--card-ink); }
.guide-hero h1 { margin-block: 10px; font-size: clamp(2.85rem, 7vw, 5.45rem); font-weight: 750; overflow-wrap: anywhere; }
.guide-hero p:not(.eyebrow) { max-width: 65ch; color: var(--muted); }
.guide-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 25px; padding-top: 20px; border-top: 1px solid var(--card-border); }
.guide-summary div { display: flex; flex-direction: column; }
.guide-summary dt { font-size: .76rem; color: var(--card-ink); font-weight: 690; }
.guide-summary dd { margin: 2px 0 0; font-weight: 640; font-size: .95rem; }
.guide-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(230px, .42fr); gap: clamp(22px, 5vw, 64px); margin-top: 24px; }
.guide-body article { padding-block: 23px; border-bottom: 1px solid var(--border); }
.guide-body h2, .guide-side h2 { font-size: 1.75rem; }
.guide-body p { margin-top: 9px; color: var(--muted); max-width: 70ch; }
.guide-sources { margin-top: 17px; }
.guide-sources summary, .source-details summary { color: var(--accent); cursor: pointer; font-weight: 650; }
.guide-sources ul { display: grid; gap: 6px; padding-left: 20px; color: var(--muted); font-size: .9rem; }
.source-details { margin-top: 14px; font-size: .84rem; }
.emergency .source-details summary { color: #e1d7f4; }
.guide-side { padding-top: 23px; }
.guide-side aside { padding: 19px; border: 1px solid #edd4d6; border-radius: 13px; background: #faecec; color: #662834; }
.guide-side aside p { margin-block: 10px 13px; font-size: .91rem; }
.guide-side .emergency-call { background: #852d41; color: white; }
.guide-side .emergency-call:hover { background: #671f30; }
.guide-side .side-links { display: grid; align-items: start; gap: 9px; margin-top: 17px; }
.guide-side .side-links a { border-bottom: 1px solid var(--border); padding: 8px 3px; }
@media (max-width: 1050px) {
  .alert-more { display: none; }
}
@media (max-width: 860px) {
  .wrap { width: calc(100% - 48px); }
  .hero { gap: 28px; padding-block: 34px 44px; }
  .hero h1 { font-size: clamp(3.4rem, 8vw, 5.1rem); }
  .hero-art { aspect-ratio: 1.03; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .emergency-grid { gap: 25px 30px; }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 32px); }
  .alert-content { min-height: 41px; gap: 4px 7px; padding-block: 6px; flex-wrap: wrap; font-size: .75rem; line-height: 1.4; }
  .header-row { grid-template-columns: 1fr 1fr; min-height: auto; gap: 7px 10px; padding-top: 11px; }
  .header-row nav { grid-column: 1 / -1; grid-row: 2; gap: 20px; overflow: auto; min-height: 39px; }
  .header-row nav a { font-size: .81rem; padding-block: 6px; }
  .header-help { grid-column: 2; grid-row: 1; font-size: .81rem; }
  .hero { grid-template-columns: 1fr; padding-block: 32px; gap: 24px; }
  .hero-copy { padding: 0; }
  .hero h1 { margin-top: 14px; font-size: clamp(3.55rem, 12vw, 5.4rem); }
  .hero-deck { margin-top: 16px; }
  .hero-actions { margin-top: 19px; }
  .hero-art { aspect-ratio: 1.62; border-radius: 16px; }
  .library { padding-block: 28px 40px; }
  .library-head { align-items: stretch; flex-direction: column; gap: 14px; }
  .search { min-width: 0; }
  .cards, .checking-grid, .risk-grid, .resource-grid { grid-template-columns: 1fr; }
  .guide-card { min-height: 170px; }
  .split-head, .strip-panel, .emergency-grid, .guide-layout { grid-template-columns: 1fr; }
  .split-head { gap: 10px; }
  .band, .risk, .resources, .emergency, .measuring { padding-block: 38px; }
  .kit-row { grid-template-columns: 1fr; gap: 4px; }
  .poison, .footer-row { align-items: start; flex-direction: column; }
  .guide-page { padding-top: 20px; }
  .guide-summary { grid-template-columns: 1fr; gap: 10px; margin-bottom: 0; }
  .guide-side { grid-row: 1; padding-top: 0; }
  .guide-layout { gap: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
