/* Layout: calm single column, wide hero split, cards only for clinics/conditions */
:root {
  --bg: #f5f8f7;
  --surface: #ffffff;
  --ink: #12303a;
  --muted: #4a6670;
  --accent: #0f766e;
  --accent-ink: #ffffff;
  --sun: #f4c542;
  --line: #d6e2df;
  --warn-bg: #fff4e5;
  --warn-ink: #7a3e00;
  --display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0e1c20; --surface: #15282e; --ink: #e6f0ee; --muted: #a4bcb8;
    --accent: #3cc2b3; --accent-ink: #062521; --sun: #f4c542; --line: #26404a;
    --warn-bg: #3a2a12; --warn-ink: #ffd9a3; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0e1c20; --surface: #15282e; --ink: #e6f0ee; --muted: #a4bcb8;
  --accent: #3cc2b3; --accent-ink: #062521; --sun: #f4c542; --line: #26404a;
  --warn-bg: #3a2a12; --warn-ink: #ffd9a3; color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.65 var(--body); }
img { max-width: 100%; }
a { color: var(--accent); }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.15; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 700; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.45rem, 3vw, 1.9rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 500; }
p { margin: 0; }

.wrap { max-width: 68rem; margin: 0 auto; padding-inline: max(16px, 4vw); }
main section { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
main section .wrap { display: grid; gap: 1.5rem; }
.band { background: var(--surface); border-block: 1px solid var(--line); }

.eyebrow { font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); }
.lede { font-size: 1.2rem; color: var(--muted); max-width: 40rem; }
.small { font-size: 0.9rem; color: var(--muted); }
.fill { background: var(--sun); color: #1a1a1a; padding: 0 0.3em; border-radius: 3px; font-weight: 600; }

/* Header */
.site-head { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.head-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 2rem; padding-block: 0.9rem; }
.brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; color: var(--ink); }
.brand strong { display: block; font-family: var(--display); font-size: 1.15rem; }
.brand small { display: block; color: var(--muted); font-size: 0.85rem; }
.brand-mark { width: 2.4rem; height: 2.4rem; border-radius: 50%; flex: none;
  background: radial-gradient(circle at 35% 40%, var(--sun) 0 22%, transparent 23%), var(--accent); }
nav { display: flex; flex-wrap: wrap; gap: 0.25rem 1.1rem; }
nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 0.98rem; padding-block: 0.25rem; border-bottom: 2px solid transparent; }
nav a:hover { color: var(--ink); }
nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--accent); }

/* Buttons */
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.btn { display: inline-block; background: var(--accent); color: var(--accent-ink); text-decoration: none; font-weight: 600;
  padding: 0.8rem 1.4rem; border-radius: 999px; border: 2px solid var(--accent); transition: transform .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--accent); }
.center-cta { text-align: center; padding-top: 0.5rem; }

/* Hero */
.hero-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: center; gap: 2.5rem !important; }
.hero-grid > div { display: grid; gap: 1.25rem; }
.breath-card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 1.5rem; display: grid; gap: 0.9rem; }
.breath-card ul { list-style: none; margin: 0; padding: 0; display: grid; }
.breath-card li { display: grid; gap: 0.1rem; padding-block: 0.7rem; border-top: 1px solid var(--line); }
.breath-card li span { font-family: var(--display); font-weight: 700; font-size: 1.1rem; }
.breath-card li em { font-style: normal; color: var(--muted); font-size: 0.95rem; }

/* Lists */
.ticks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); gap: 0.75rem 2rem; }
.ticks li { position: relative; padding-left: 1.8rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 0.8rem; height: 0.8rem; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 3px color-mix(in srgb, var(--sun) 30%, transparent); }
.prose .ticks { grid-template-columns: 1fr; }

.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: 1.5rem; }
.steps li { counter-increment: s; display: grid; gap: 0.5rem; align-content: start; }
.steps li::before { content: counter(s); font-family: var(--display); font-weight: 700; font-size: 1rem; width: 2.2rem; height: 2.2rem; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: var(--accent-ink); }
.steps p { color: var(--muted); }

/* Clinics & conditions */
.clinics, .cond-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); gap: 1.25rem; }
.clinic, .cond { background: var(--bg); border: 1px solid var(--line); border-radius: 16px; padding: 1.4rem; display: grid; gap: 0.5rem; align-content: start; }
.cond { background: var(--surface); }
.clinics { max-width: 30rem; }
.cond h2 { font-size: 1.3rem; }
.cond p { color: var(--muted); }
.when { font-weight: 600; color: var(--accent); }

/* Inner pages */
.page-head { background: var(--surface); border-bottom: 1px solid var(--line); }
.page-head .wrap { gap: 0.9rem !important; }
.prose { display: grid; gap: 1.1rem; max-width: 42rem; }
.prose h2 { margin-top: 0.75rem; }
.two-col { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: start; gap: 2.5rem !important; }
.side-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 1.5rem; display: grid; gap: 0.75rem; }
.urgent-card { background: var(--warn-bg); color: var(--warn-ink); border-color: transparent; }
.contact-list { display: grid; gap: 1.5rem; }
.big { font-family: var(--display); font-size: clamp(1.2rem, 3vw, 1.6rem); font-weight: 500; overflow-wrap: anywhere; }

/* Footer */
.site-foot { background: var(--ink); color: var(--bg); padding-block: 2.5rem 1.5rem; }
.site-foot a { color: var(--bg); }
.foot-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: 1.5rem 2.5rem; }
.foot-grid > div { display: grid; gap: 0.4rem; align-content: start; font-size: 0.95rem; }
.foot-name { font-family: var(--display); font-weight: 700; font-size: 1.1rem; }
.urgent { background: color-mix(in srgb, var(--sun) 18%, transparent); border-radius: 12px; padding: 1rem; }
.legal { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid color-mix(in srgb, var(--bg) 25%, transparent); font-size: 0.85rem; opacity: 0.8; }

@media (max-width: 760px) {
  .hero-grid, .two-col { grid-template-columns: 1fr; }
  .site-head { position: static; }
}
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } }
