/* FindCare design system: "Public Health, Warmly" (direction C, Sep 2026).
   One typeface (Atkinson Hyperlegible Next, drawn by the Braille Institute so
   letters are never confused), care teal on white with aqua surfaces, 4px
   corners everywhere, amber only for unknown facts. Hand-written, no build
   step: edit this file, then collectstatic. See docs/design-system.md. */

:root {
  --teal: #0b5b55;
  --teal-dark: #0b3f3b;
  --teal-mid: #3fa99a;
  --aqua: #e7f2f0;
  --aqua-2: #c5e2de;
  --ink: #152726;
  --muted: #4c605e;
  --line: #c9d9d6;
  --line-2: #9dbdb8;
  --amber: #7a4e00;
  --amber-bg: #fff3d1;
  --amber-line: #e6c77c;
  --bg: #ffffff;
  --tint: #f4f8f7;
  --focus: #0e7c74;
  --r: 4px;
  --font: "Atkinson Hyperlegible Next", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Atkinson Hyperlegible Mono", ui-monospace, Menlo, monospace;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.5 var(--font); -webkit-font-smoothing: antialiased; }
@media (max-width: 640px) { body { font-size: 16.5px; } }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
h1, h2, h3 { margin: 0; letter-spacing: -.015em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
.wrap { max-width: 1180px; margin: 0 auto; padding-inline: 24px; }
@media (max-width: 640px) { .wrap { padding-inline: 16px; } }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--teal); color: #fff; padding: 10px 14px; border-radius: var(--r); z-index: 100; }
.skip:focus { top: 8px; }
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }
.small { font-size: 14.5px; color: var(--muted); }
.stack { display: grid; gap: 16px; align-content: start; }

/* Type scale */
.h1 { font-weight: 800; font-size: clamp(34px, 5.2vw, 58px); line-height: 1.04; letter-spacing: -.02em; }
.h1-sm { font-weight: 800; font-size: clamp(30px, 4vw, 42px); line-height: 1.08; letter-spacing: -.02em; }
.h2 { font-weight: 800; font-size: 22px; line-height: 1.2; }
.sub { font-size: clamp(16.5px, 1.6vw, 19px); color: var(--muted); max-width: 620px; }
.eyebrow { font-weight: 700; font-size: 13.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--teal); }

/* Brand lockup */
.lockup { display: inline-flex; align-items: center; gap: 9px; color: var(--teal); text-decoration: none; }
.lockup svg { width: 30px; height: 30px; flex: none; }
.lockup .wm { font-weight: 800; font-size: 24px; letter-spacing: -.02em; line-height: 1; }
.lockup .by { font-size: 12px; color: var(--muted); align-self: flex-end; padding-bottom: 2px; }

/* Header and footer */
.site-h { border-bottom: 1px solid var(--line); background: #fff; }
.site-h .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 66px; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.navlink { display: inline-flex; align-items: center; gap: 6px; padding: 8px 10px; font-size: 15px; font-weight: 500; text-decoration: none; border-radius: var(--r); min-height: 40px; }
.navlink:hover { background: var(--aqua); }
.navlink.lang { border: 1.5px solid var(--ink); }
.count-badge { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; background: var(--teal); color: #fff; font-size: 12px; font-weight: 700; border-radius: 10px; }
.count-badge[hidden] { display: none; }
@media (max-width: 700px) { .site-h .hide-sm { display: none; } .lockup .by { display: none; } }
.site-f { border-top: 1px solid var(--line); margin-top: 48px; background: var(--tint); }
.site-f .wrap { padding-block: 26px 44px; display: grid; gap: 14px; font-size: 14.5px; color: var(--muted); }
.site-f .row { display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; }
.site-f a { text-underline-offset: 3px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; font-size: 16px; line-height: 1.2; padding: 12px 18px; background: var(--teal); color: #fff; border: 1.5px solid var(--teal); border-radius: var(--r); text-decoration: none; white-space: nowrap; min-height: 46px; }
.btn:hover { background: var(--teal-dark); border-color: var(--teal-dark); }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--aqua); border-color: var(--ink); }
.btn-sm { font-size: 14.5px; padding: 8px 12px; min-height: 40px; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; pointer-events: none; }
.btn.is-on { background: var(--aqua); color: var(--teal); border-color: var(--teal); }
.linklike { background: none; border: 0; padding: 0; color: var(--teal); text-decoration: underline; text-underline-offset: 3px; font-weight: 500; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

/* Form controls */
.field { width: 100%; border: 1.5px solid var(--ink); border-radius: var(--r); padding: 12px 14px; font-size: 17px; background: #fff; min-height: 48px; }
.select { border: 1.5px solid var(--ink); border-radius: var(--r); padding: 8px 10px; background: #fff; font-size: 15px; font-weight: 700; min-height: 40px; }
.help { font-size: 14.5px; color: var(--muted); }
.notice { font-size: 15px; color: var(--amber); background: var(--amber-bg); border: 1px solid var(--amber-line); border-radius: var(--r); padding: 10px 12px; }
.notice-info { font-size: 15px; background: var(--aqua); border: 1px solid var(--aqua-2); border-radius: var(--r); padding: 10px 12px; }
.form { display: grid; gap: 14px; max-width: 560px; }
.form label { display: grid; gap: 6px; font-weight: 700; font-size: 15.5px; }
.form input, .form textarea { border: 1.5px solid var(--ink); border-radius: var(--r); padding: 11px 12px; font-size: 16px; background: #fff; font-weight: 400; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Guided flow */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px; display: grid; gap: 14px; text-align: left; }
@media (max-width: 640px) { .card { padding: 16px; } }
.prog { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.prog b { height: 5px; background: var(--aqua-2); border-radius: 3px; display: block; }
.prog b.on { background: var(--teal); }
.q { font-weight: 700; font-size: clamp(21px, 2.2vw, 25px); line-height: 1.15; letter-spacing: -.01em; }
.q-sm { font-weight: 700; font-size: 19px; line-height: 1.2; }
.flow-step { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 14px; }
.flow-step > legend { padding: 0; float: left; width: 100%; }
.flow-step > legend + * { clear: both; }
.js .flow[data-mode="steps"] .flow-step:not(.is-current) { display: none; }
.js .flow[data-mode="steps"] .flow-nav-nojs { display: none; }
.flow-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.no-js .flow-nav-js { display: none; }
.opts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.opts.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 760px) { .opts, .opts.two { grid-template-columns: 1fr; gap: 8px; } }
.opt { position: relative; border: 1.5px solid var(--line-2); background: #fff; padding: 13px 14px; border-radius: var(--r); display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2px 8px; text-align: left; cursor: pointer; min-height: 56px; }
.opt:hover { border-color: var(--teal); }
.opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opt b { font-size: 16.5px; }
.opt span { font-size: 14px; color: var(--muted); grid-column: 1; }
.opt em { font-style: normal; color: var(--teal); font-size: 19px; grid-row: 1 / span 2; grid-column: 2; }
.opt:has(input:checked) { border-color: var(--teal); background: var(--aqua); box-shadow: inset 0 0 0 1px var(--teal); }
.opt:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.opt.big { padding: 20px 18px; }
.opt.big b { font-size: 19px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; display: inline-flex; align-items: center; border: 1.5px solid var(--line-2); background: #fff; padding: 9px 13px; font-size: 15.5px; font-weight: 500; border-radius: var(--r); cursor: pointer; min-height: 44px; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip:has(input:checked), .chip[aria-pressed="true"] { border-color: var(--teal); background: var(--aqua); color: var(--teal); box-shadow: inset 0 0 0 1px var(--teal); }
.chip:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.reveal { display: grid; gap: 12px; }
.js .reveal[data-when]:not(.is-open) { display: none; }
.suggest { display: grid; gap: 6px; }
.suggest:empty { display: none; }
.suggest button { text-align: left; }

/* Home layouts */
.pad { padding-block: 56px 44px; }
@media (max-width: 640px) { .pad { padding-block: 28px 24px; } }
.center { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; gap: 22px; }
.center > .card, .center > .steps, .center > form { width: 780px; max-width: 100%; }
.trust { display: flex; gap: 9px; align-items: center; font-size: 14.5px; color: var(--muted); text-align: left; }
.center .trust { justify-content: center; }
.trust i { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); flex: none; }
.band-aqua { background: var(--aqua); }
.split { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 44px; align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 24px; } }
.browse { border-top: 1px solid var(--line); }
.browse .wrap { padding-block: 18px 26px; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 15px; }
.browse a { text-decoration-color: #8fa9a5; text-underline-offset: 3px; }
.sentence { font-weight: 700; font-size: clamp(25px, 3.6vw, 42px); line-height: 1.7; letter-spacing: -.015em; max-width: 1000px; }
.blank { position: relative; display: inline-flex; align-items: center; gap: 6px; border-bottom: 3px solid var(--teal); padding: 0 6px 1px; color: var(--teal); background: var(--aqua); border-radius: var(--r) var(--r) 0 0; line-height: 1.25; vertical-align: baseline; }
.blank.is-placeholder { color: var(--muted); font-weight: 500; }
.blank::after { content: "\25BE"; font-size: .55em; color: var(--teal); }
.blank select { position: absolute; inset: 0; opacity: 0; width: 100%; cursor: pointer; font-size: 16px; }
.blank:focus-within { outline: 3px solid var(--focus); outline-offset: 2px; }
.blank-input { position: relative; display: inline-block; vertical-align: baseline; }
.blank-input input { font: inherit; color: var(--teal); background: var(--aqua); border: 0; border-bottom: 3px solid var(--teal); border-radius: var(--r) var(--r) 0 0; padding: 0 6px 1px; width: 9ch; min-width: 6ch; max-width: 100%; line-height: 1.25; }
.blank-input input::placeholder { color: var(--muted); font-weight: 500; }
.blank-input .suggest { position: absolute; left: 0; top: calc(100% + 6px); z-index: 20; width: min(420px, 90vw); background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 6px; box-shadow: 0 6px 20px rgba(11, 63, 59, .14); font-size: 16px; letter-spacing: 0; text-align: left; }
.steps { display: grid; gap: 10px; text-align: left; }
.st { border: 1px solid var(--line); background: #fff; border-radius: var(--r); }
.st > .st-h { display: flex; align-items: center; gap: 12px; padding: 14px 16px; font-weight: 700; font-size: 18px; width: 100%; background: none; border: 0; text-align: left; }
.st .n { width: 28px; height: 28px; display: grid; place-items: center; background: var(--aqua-2); color: var(--teal); font-size: 14px; flex: none; border-radius: var(--r); }
.st.is-open .n, .st.is-done .n { background: var(--teal); color: #fff; }
.st .st-hint { margin-left: auto; font-weight: 400; font-size: 15px; color: var(--muted); text-align: right; }
.st.is-done .st-hint { color: var(--teal); font-weight: 700; }
.st .st-b { padding: 0 16px 16px; display: grid; gap: 12px; }
.js .st:not(.is-open) .st-b { display: none; }
.map-hero { position: relative; overflow: hidden; }
.map-hero > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-hero > .over { position: relative; }
.on-map { background: rgba(255, 255, 255, .9); padding: 6px 14px; border-radius: var(--r); }
.tri { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; width: 100%; text-align: left; }
@media (max-width: 900px) { .tri { grid-template-columns: 1fr; } }

/* Answer rows */
.ans { display: grid; gap: 7px; }
.ans-row { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 9px; align-items: start; font-size: 15.5px; }
.ic { width: 20px; height: 20px; display: grid; place-items: center; font-weight: 700; font-size: 12px; margin-top: 1px; border-radius: var(--r); }
.ic-ok { background: var(--teal); color: #fff; }
.ic-unk { background: var(--amber-bg); color: var(--amber); border: 1px solid var(--amber); }
.call-ask { color: var(--amber); font-weight: 700; }

/* Results */
.rhead { border-bottom: 1px solid var(--line); }
.rhead .wrap { padding-block: 18px; display: grid; gap: 12px; }
.rsent { font-weight: 700; font-size: clamp(21px, 2.6vw, 28px); line-height: 1.7; letter-spacing: -.01em; }
.rtools { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.rtools .count { margin-right: auto; font-size: 15px; color: var(--muted); }
.rgrid { display: grid; grid-template-columns: minmax(0, 1fr) 440px; }
@media (max-width: 960px) { .rgrid { grid-template-columns: 1fr; } .rmap { display: none; } }
.rlist { padding: 4px 32px 40px 0; min-width: 0; }
.wrap.rwrap { padding-right: 0; }
@media (max-width: 960px) { .rlist { padding: 4px 0 90px; } .wrap.rwrap { padding-right: 16px; } }
.rcard { padding: 18px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; }
.rcard.is-hl { background: linear-gradient(90deg, var(--aqua), #fff 70%); }
.num { width: 26px; height: 26px; display: grid; place-items: center; background: var(--teal); color: #fff; font-weight: 700; font-size: 13px; border-radius: var(--r); }
.rcard.is-dim .num { background: var(--muted); }
.rcard h3 { font-size: 19px; font-weight: 700; }
.rcard h3 a { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px; }
.rcard h3 a:hover { text-decoration-color: var(--teal); }
.meta { font-size: 14.5px; color: var(--muted); }
.cmp-box { display: inline-flex; align-items: center; gap: 6px; font-size: 14.5px; font-weight: 500; padding: 8px 4px; min-height: 40px; }
.cmp-box input { width: 18px; height: 18px; accent-color: var(--teal); }
.rmap { position: sticky; top: 0; height: 100vh; border-left: 1px solid var(--line); background: #eef3f1; }
.map-canvas { width: 100%; height: 100%; background: #eef3f1; }
.map-fab { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 30; box-shadow: 0 2px 10px rgba(0, 0, 0, .22); display: none; }
@media (max-width: 960px) { .js .map-fab { display: inline-flex; } }
.map-sheet { position: fixed; inset: 0; z-index: 1000; background: #fff; display: grid; grid-template-rows: auto 1fr; }
.map-sheet[hidden] { display: none; }
.map-sheet .top { display: flex; justify-content: space-between; align-items: center; padding: 10px 16px; border-bottom: 1px solid var(--line); gap: 10px; }
.cmp-bar { position: fixed; right: 18px; bottom: 18px; z-index: 31; display: flex; gap: 8px; align-items: center; background: var(--ink); color: #fff; padding: 8px 8px 8px 14px; border-radius: var(--r); box-shadow: 0 4px 16px rgba(0, 0, 0, .25); font-size: 15px; }
.cmp-bar[hidden] { display: none; }
@media (max-width: 960px) { .cmp-bar { right: 12px; bottom: 76px; } }
.empty-state { padding: 40px 0; display: grid; gap: 12px; justify-items: start; }
.pager { display: flex; gap: 12px; align-items: center; justify-content: space-between; padding-top: 20px; flex-wrap: wrap; }

/* Map pins (Leaflet divIcons) */
.pin { width: 28px; height: 28px; display: grid; place-items: center; background: var(--teal); color: #fff; font: 700 12.5px/1 var(--font); border: 2px solid #fff; border-radius: var(--r); box-shadow: 0 1px 3px rgba(0, 0, 0, .28); }
.pin.is-dim { background: #6c7f7c; }
.pin.is-hl { background: var(--amber); transform: scale(1.2); }
.pin-group { width: auto; min-width: 28px; padding: 0 6px; }
.you-dot { width: 18px; height: 18px; border-radius: 50%; background: #2f6fed; border: 3px solid #fff; box-shadow: 0 0 0 6px rgba(47, 111, 237, .18); }
.leaflet-container { font-family: var(--font); }
.leaflet-popup-content { font-size: 14.5px; line-height: 1.4; }
.leaflet-popup-content a { color: var(--teal); font-weight: 700; }

/* Profile */
.crumb { padding-top: 16px; font-size: 14.5px; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.crumb a { text-underline-offset: 3px; }
.ptop { padding-block: 12px 28px; display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; }
@media (max-width: 900px) { .ptop { grid-template-columns: 1fr; gap: 20px; } }
.answer { background: var(--aqua); border: 1px solid var(--aqua-2); border-radius: var(--r); padding: 18px 20px; display: grid; gap: 12px; }
.answer-h { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.answer-h h2 { font-size: 20px; font-weight: 800; }
.answer-h form { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.src { font-size: 13.5px; color: var(--muted); }
.side { display: grid; gap: 12px; align-content: start; }
.minimap { height: 180px; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: #eef3f1; }
.photo { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.claim-box { border: 1px solid var(--line); border-radius: var(--r); padding: 16px; display: grid; gap: 8px; }
.tabs { display: flex; gap: 22px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tabs a { padding: 12px 0; text-decoration: none; font-weight: 500; font-size: 15.5px; white-space: nowrap; border-bottom: 3px solid transparent; }
.tabs a:hover { border-bottom-color: var(--aqua-2); }
.psec { padding-block: 26px; border-bottom: 1px solid var(--line); display: grid; gap: 12px; align-content: start; scroll-margin-top: 12px; }
.psec ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.psec .cols { columns: 2; column-gap: 32px; display: block; }
.psec .cols li { margin-bottom: 6px; break-inside: avoid; }
@media (max-width: 640px) { .psec .cols { columns: 1; } }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
@media (max-width: 760px) { .two-col { grid-template-columns: 1fr; gap: 0; } }
.faq { border: 1px solid var(--line); border-radius: var(--r); }
.faq summary { padding: 12px 14px; font-weight: 700; cursor: pointer; }
.faq p { padding: 0 14px 14px; color: var(--muted); }
.hours-list { list-style: none; padding: 0 !important; font-family: var(--mono); font-size: 15px; }
.sticky-actions { position: sticky; bottom: 0; background: #fff; border-top: 1px solid var(--line); padding: 10px 16px; display: none; gap: 8px; z-index: 20; }
@media (max-width: 760px) { .sticky-actions { display: flex; } .sticky-actions .btn { flex: 1; } }

/* Tables and sheets */
.tbl { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); }
table { border-collapse: collapse; width: 100%; min-width: 620px; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
thead th { background: var(--aqua); font-size: 16px; }
tbody th { font-weight: 700; width: 170px; color: var(--muted); }
.sheet { border: 1px solid var(--line); border-radius: var(--r); padding: 28px; display: grid; gap: 18px; max-width: 820px; background: #fff; }
.sheet-item { border-top: 1px solid var(--line); padding-top: 14px; display: grid; gap: 6px; break-inside: avoid; }

/* Hubs */
.hub-head { padding-block: 32px 20px; display: grid; gap: 12px; }
.link-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px 24px; padding: 0; margin: 0; list-style: none; }
.link-grid a { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.link-grid a:hover { color: var(--teal); }
.link-grid .n { color: var(--muted); font-size: 14.5px; }
.cta-band { background: var(--aqua); border: 1px solid var(--aqua-2); border-radius: var(--r); padding: 18px 20px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }

@media (prefers-reduced-motion: no-preference) {
  .opt, .chip, .btn, .navlink { transition: background-color .12s, border-color .12s; }
}

@media print {
  .site-h, .site-f, .no-print, .map-fab, .cmp-bar, .sticky-actions { display: none !important; }
  body { font-size: 12pt; }
  .sheet { border: 0; padding: 0; max-width: none; }
  a { text-decoration: none; }
}
.no-js .js-only { display: none !important; }
.no-js .blank select { position: static; opacity: 1; font-size: .6em; }
.no-js .blank > span, .no-js .blank::after { display: none; }
.reveal-inline { display: inline; }
.js .reveal-inline[data-when]:not(.is-open) { display: none; }
.js .flow[data-mode="accordion"] .flow-nav-js { display: none; }
.suggest .opt.is-active { border-color: var(--teal); background: var(--aqua); }
.leaflet-tile-pane { filter: grayscale(1) contrast(.92) brightness(1.04); }
.you-dot { display: block; }
