/* Dr Safe Health — shared styles
   Layout concept: a deep-navy hero with a pharmacy-label card, then airy light sections;
   each specialty clinic carries its own color as a quiet accent. */
@font-face { font-family: "Geist"; src: url("fonts/geist-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Geist"; src: url("fonts/geist-sans-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Geist"; src: url("fonts/geist-sans-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Geist"; src: url("fonts/geist-sans-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("fonts/geist-mono-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("fonts/geist-mono-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("fonts/instrument-serif-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("fonts/instrument-serif-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
/* Fonts are self-hosted (SIL Open Font License) so no page makes a third-party request. */
:root {
  --bg: #f6f8f9;
  --surface: #ffffff;
  --ink: #0b1b2e;
  --muted: #56667a;
  --line: #e2e8ee;
  --accent: #0f7a68;
  --accent-ink: #ffffff;
  --accent-soft: #e3f3ef;
  --hero-bg: #0a1a2c;
  --hero-ink: #f2f6fa;
  --hero-muted: #9fb2c6;
  --hero-glow: #1f8f7a;
  --warn-bg: #fff4e5;
  --warn-ink: #8a4b00;
  --todo: #fff1a8;
  --shadow: 0 1px 2px rgba(11, 27, 46, .04), 0 12px 32px -12px rgba(11, 27, 46, .14);
  --c-weight: #0f7a68;
  --c-hair: #9a6235;
  --c-derm: #b04a72;
  --c-peptide: #3d5fb8;
  --c-urgent: #c25a1f;
  --c-mmj: #4f7d28;
  --font-display: "Geist", "Inter", "Segoe UI", system-ui, sans-serif;
  --font-body: "Geist", "Inter", "Segoe UI", system-ui, sans-serif;
  --font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --font-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --radius: 18px;
  --wrap: 1160px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #08121e; --surface: #0f1c2c; --ink: #e9eff5; --muted: #9db0c3; --line: #1d2d40;
    --accent: #4fd1b4; --accent-ink: #04201a; --accent-soft: #11332e;
    --hero-bg: #050d17; --hero-ink: #f2f6fa; --hero-muted: #9fb2c6; --hero-glow: #1a7d6b;
    --warn-bg: #3a2a12; --warn-ink: #f6cf94; --todo: #5a4f12;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 12px 32px -12px rgba(0,0,0,.6);
    --c-weight: #4fd1b4; --c-hair: #dba273; --c-derm: #ec8fb3; --c-peptide: #93acf0; --c-urgent: #f29a66; --c-mmj: #a3d072;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #08121e; --surface: #0f1c2c; --ink: #e9eff5; --muted: #9db0c3; --line: #1d2d40;
  --accent: #4fd1b4; --accent-ink: #04201a; --accent-soft: #11332e;
  --hero-bg: #050d17; --hero-ink: #f2f6fa; --hero-muted: #9fb2c6; --hero-glow: #1a7d6b;
  --warn-bg: #3a2a12; --warn-ink: #f6cf94; --todo: #5a4f12;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 12px 32px -12px rgba(0,0,0,.6);
  --c-weight: #4fd1b4; --c-hair: #dba273; --c-derm: #ec8fb3; --c-peptide: #93acf0; --c-urgent: #f29a66; --c-mmj: #a3d072;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; }
a { color: var(--accent); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.08; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.4rem); font-weight: 600; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); font-weight: 600; letter-spacing: -0.03em; }
h3 { font-size: 1.15rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }
p { margin: 0; }
.serif { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: 24px; }
.eyebrow { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }
.todo { background: var(--todo); padding: 0 4px; border-radius: 4px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--surface); padding: 8px 12px; z-index: 50; }

/* Header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; letter-spacing: -0.02em; }
.brand-mark { width: 32px; height: 32px; border-radius: 10px; background: linear-gradient(140deg, var(--accent), color-mix(in srgb, var(--accent) 55%, var(--ink))); color: var(--accent-ink); display: grid; place-items: center; font-family: var(--font-mono); font-size: 0.82rem; font-weight: 500; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--muted); text-decoration: none; font-size: 0.95rem; white-space: nowrap; transition: color .15s ease; }
.nav a:hover { color: var(--ink); }
.nav .btn { color: var(--accent-ink); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); padding: 6px 12px; font: inherit; cursor: pointer; }
@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--surface); border-bottom: 1px solid var(--line); padding: 8px 24px 18px; box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
  .nav .btn { margin-top: 14px; text-align: center; border-bottom: 0; }
}

/* Buttons */
.btn { display: inline-block; white-space: nowrap; background: var(--accent); color: var(--accent-ink); text-decoration: none; font-weight: 600; font-size: 0.98rem; padding: 14px 24px; border-radius: 999px; border: 1px solid transparent; box-shadow: 0 6px 20px -8px color-mix(in srgb, var(--accent) 70%, transparent); transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 26px -8px color-mix(in srgb, var(--accent) 80%, transparent); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); box-shadow: none; }
.btn-ghost:hover { box-shadow: none; border-color: var(--muted); }
.btn-sm { padding: 9px 18px; font-size: 0.92rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Sections */
section { padding-block: 104px; }
@media (max-width: 700px) { section { padding-block: 72px; } }
.section-head { display: grid; gap: 14px; margin-bottom: 48px; max-width: 720px; }
.alt { background: var(--surface); }

/* Hero (always deep navy) */
.hero { position: relative; overflow: hidden; background: var(--hero-bg); color: var(--hero-ink); padding-block: 96px 112px; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; background: radial-gradient(closest-side, color-mix(in srgb, var(--hero-glow) 55%, transparent), transparent 70%); z-index: -1; }
.hero::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(color-mix(in srgb, var(--hero-ink) 5%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--hero-ink) 5%, transparent) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 65%); -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 65%); z-index: -1; }
.hero .eyebrow { color: color-mix(in srgb, var(--hero-glow) 45%, var(--hero-ink)); }
.hero .lede { color: var(--hero-muted); }
.hero .serif { color: color-mix(in srgb, var(--hero-glow) 35%, var(--hero-ink)); }
.hero .btn { background: var(--hero-ink); color: var(--hero-bg); box-shadow: 0 10px 30px -10px rgba(0,0,0,.6); }
.hero .btn-ghost { background: transparent; color: var(--hero-ink); border-color: color-mix(in srgb, var(--hero-ink) 25%, transparent); }
.hero .btn-ghost:hover { border-color: var(--hero-ink); }
.hero-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 64px; align-items: center; }
.hero-copy { display: grid; gap: 26px; min-width: 0; }
.states { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 0.92rem; color: var(--muted); }
.hero .states { color: var(--hero-muted); }
.chip { font-family: var(--font-mono); font-size: 0.74rem; border: 1px solid var(--line); border-radius: 999px; padding: 4px 11px; color: var(--ink); background: var(--surface); }
.hero .chip { background: color-mix(in srgb, var(--hero-ink) 8%, transparent); border-color: color-mix(in srgb, var(--hero-ink) 18%, transparent); color: var(--hero-ink); }
@media (max-width: 880px) { .hero-grid { grid-template-columns: 1fr; gap: 48px; } .hero { padding-block: 72px 80px; } }

/* Rx label card — the signature element */
.rx { position: relative; background: #ffffff; color: #0b1b2e; border-radius: 16px; font-family: var(--font-mono); font-size: 0.82rem; box-shadow: 0 30px 60px -20px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.06); min-width: 0; transform: rotate(1.2deg); transition: transform .4s ease; }
.rx:hover { transform: rotate(0deg) translateY(-4px); }
.rx::before { content: ""; position: absolute; inset: 14px -14px -14px 14px; border-radius: 16px; background: color-mix(in srgb, var(--hero-ink) 10%, transparent); border: 1px solid color-mix(in srgb, var(--hero-ink) 14%, transparent); z-index: -1; }
.rx-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 22px; border-bottom: 1px solid #0b1b2e; }
.rx-top b { font-family: var(--font-serif); font-style: italic; font-weight: 400; font-size: 2rem; line-height: 1; color: #0f7a68; }
.rx-top span { letter-spacing: 0.08em; font-size: 0.72rem; }
.rx dl { margin: 0; display: grid; grid-template-columns: auto 1fr; }
.rx dt, .rx dd { margin: 0; padding: 11px 22px; border-bottom: 1px dashed #d9e1e8; }
.rx dt { color: #6a7a8d; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.68rem; padding-top: 13px; padding-right: 8px; }
.rx dd { color: #0b1b2e; }
.rx-foot { display: flex; justify-content: space-between; gap: 12px; padding: 14px 22px; font-size: 0.7rem; color: #6a7a8d; }

/* Trust strip */
.trust { background: var(--surface); border-bottom: 1px solid var(--line); }
.trust-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 28px; padding-block: 22px; font-size: 0.92rem; color: var(--muted); }
.trust-row b { color: var(--ink); font-weight: 600; }
@media (max-width: 700px) { .trust-row { display: grid; grid-template-columns: 1fr 1fr; } }

/* Clinic cards */
.clinics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 980px) { .clinics { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .clinics { grid-template-columns: 1fr; } }
.clinic { --c: var(--accent); position: relative; overflow: hidden; display: grid; grid-template-rows: auto auto 1fr auto; gap: 12px; padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.alt .clinic { background: var(--bg); }
.clinic::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 120px; background: radial-gradient(120% 100% at 0% 0%, color-mix(in srgb, var(--c) 14%, transparent), transparent 70%); pointer-events: none; }
.clinic:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--c) 45%, var(--line)); box-shadow: 0 24px 48px -20px color-mix(in srgb, var(--c) 45%, transparent); }
.clinic .tag { position: relative; display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--c); }
.clinic .tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 18%, transparent); }
.clinic h3 { font-size: 1.3rem; position: relative; }
.clinic p { color: var(--muted); font-size: 0.97rem; position: relative; }
.clinic .go { position: relative; font-weight: 600; font-size: 0.94rem; color: var(--c); }

/* Steps — a real sequence */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
@media (max-width: 880px) { .steps { grid-template-columns: 1fr; } }
.steps li { counter-increment: step; display: grid; gap: 10px; align-content: start; }
.steps li::before { content: counter(step); width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-serif); font-style: italic; font-size: 1.4rem; color: var(--accent); background: var(--accent-soft); margin-bottom: 8px; }
.steps p { color: var(--muted); }

/* Feature list */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
@media (max-width: 980px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }
.feature { display: grid; gap: 10px; align-content: start; min-width: 0; }
.feature p { color: var(--muted); font-size: 0.97rem; }
.ficon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); margin-bottom: 6px; }
.ficon svg { width: 22px; height: 22px; }

/* Doctor */
.doctor { display: grid; grid-template-columns: 280px 1fr; gap: 56px; align-items: center; }
@media (max-width: 760px) { .doctor { grid-template-columns: 1fr; gap: 32px; } }
.portrait { aspect-ratio: 4/5; max-width: 280px; width: 100%; border-radius: 24px; background: linear-gradient(160deg, var(--accent-soft), color-mix(in srgb, var(--accent) 30%, var(--surface))); display: grid; place-items: center; box-shadow: var(--shadow); }
.portrait span { font-family: var(--font-serif); font-style: italic; font-size: 4.5rem; color: var(--accent); }
.doctor-copy { display: grid; gap: 16px; max-width: 62ch; min-width: 0; }
.doctor-copy p { color: var(--muted); }
.creds { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }

/* FAQ */
.faq { display: grid; max-width: 820px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; padding: 22px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+" / ""; flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); color: var(--accent); font-weight: 400; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 48px 22px 0; color: var(--muted); }

/* CTA band */
.cta-band { position: relative; overflow: hidden; isolation: isolate; background: var(--hero-bg); color: var(--hero-ink); border-radius: 28px; padding: 64px; display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; }
.cta-band::before { content: ""; position: absolute; right: -10%; top: -60%; width: 60%; height: 220%; background: radial-gradient(closest-side, color-mix(in srgb, var(--hero-glow) 55%, transparent), transparent); z-index: -1; }
.cta-band p { color: var(--hero-muted); }
.cta-band .btn { background: var(--hero-ink); color: var(--hero-bg); }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; padding: 40px 28px; } }

/* Notices */
.notice { background: var(--warn-bg); color: var(--warn-ink); border-radius: 12px; padding: 14px 18px; font-size: 0.95rem; }

/* Clinic page */
.clinic-hero { --c: var(--accent); position: relative; overflow: hidden; isolation: isolate; padding-block: 88px 80px; background: var(--hero-bg); color: var(--hero-ink); }
.clinic-hero::before { content: ""; position: absolute; right: -15%; top: -40%; width: 70%; height: 180%; background: radial-gradient(closest-side, color-mix(in srgb, var(--c) 45%, transparent), transparent); z-index: -1; }
.clinic-hero .wrap { display: grid; gap: 22px; }
.clinic-hero .eyebrow { color: color-mix(in srgb, var(--c) 60%, var(--hero-ink)); }
.clinic-hero .lede { color: var(--hero-muted); }
.clinic-hero .btn { background: var(--hero-ink); color: var(--hero-bg); box-shadow: 0 10px 30px -10px rgba(0,0,0,.6); }
.clinic-hero .btn-ghost { background: transparent; color: var(--hero-ink); border-color: color-mix(in srgb, var(--hero-ink) 25%, transparent); }
.clinic-hero .states { color: var(--hero-muted); }
.clinic-hero .chip { background: color-mix(in srgb, var(--hero-ink) 8%, transparent); border-color: color-mix(in srgb, var(--hero-ink) 18%, transparent); color: var(--hero-ink); }
.crumbs { font-size: 0.88rem; color: var(--hero-muted); }
.crumbs a { color: var(--hero-muted); text-decoration: none; }
.crumbs a:hover { color: var(--hero-ink); }
.treat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.treat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 8px; align-content: start; box-shadow: var(--shadow); }
.treat p { color: var(--muted); font-size: 0.96rem; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
@media (max-width: 760px) { .two-col { grid-template-columns: 1fr; gap: 40px; } }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.ticks li { padding-left: 34px; position: relative; color: var(--muted); }
.ticks li::before { content: "✓" / ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 0.75rem; background: var(--accent-soft); color: var(--accent); font-weight: 700; }
.ticks.no li::before { content: "✕" / ""; background: var(--warn-bg); color: var(--warn-ink); }

/* Legal */
.legal { max-width: 760px; display: grid; gap: 18px; }
.legal h1 { font-size: clamp(2.2rem, 4.5vw, 3.2rem); }
.legal h2 { font-size: 1.35rem; margin-top: 20px; letter-spacing: -0.02em; }
.legal p, .legal li { color: var(--muted); }
.legal ul { margin: 0; padding-left: 22px; display: grid; gap: 8px; }
.draft-banner { background: var(--todo); color: var(--ink); padding: 10px 20px; text-align: center; font-size: 0.9rem; font-weight: 600; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding-block: 64px 36px; font-size: 0.94rem; color: var(--muted); background: var(--surface); }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; }
@media (max-width: 880px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-grid h4 { font-family: var(--font-mono); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); margin: 0 0 14px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-grid a { color: var(--muted); text-decoration: none; }
.foot-grid a:hover { color: var(--ink); }
.fine { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: 0.82rem; line-height: 1.6; }

/* ---- v3 additions ---- */
.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; }
.sel { user-select: all; font-weight: 600; color: var(--ink); }
.h3 { font-size: 1.15rem; }
.tight-top { padding-top: 0; }
.cta-copy { display: grid; gap: 10px; }
.col { display: grid; gap: 18px; align-content: start; min-width: 0; }
.treat-grid { list-style: none; padding: 0; margin: 0; }
ul.creds { list-style: none; padding: 0; margin: 4px 0 0; }
.portrait { overflow: hidden; }
.portrait img { width: 100%; height: 100%; object-fit: cover; display: block; }
address { font-style: normal; line-height: 1.7; }
.foot-brand { display: grid; gap: 14px; align-content: start; }
.foot-h { font-family: var(--font-mono); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); margin: 0 0 14px; line-height: 1.4; }
.fine-key { color: var(--ink); }

/* Compounded medication notice */
.compound { padding-block: 28px; background: var(--accent-soft); border-top: 1px solid var(--line); }
.compound p { max-width: 80ch; font-size: 0.95rem; color: var(--ink); }

/* Pricing */
.price-wrap { display: grid; }
.price-table { overflow-x: auto; max-width: 760px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.price-table table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.price-table th, .price-table td { text-align: left; padding: 16px 22px; border-bottom: 1px solid var(--line); vertical-align: top; }
.price-table thead th { font-family: var(--font-mono); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.price-table tbody th { font-weight: 500; }
.price-table td { text-align: right; font-weight: 600; white-space: nowrap; font-size: 1.05rem; }
.price-table thead th:last-child { text-align: right; }
.price-table tr:last-child th, .price-table tr:last-child td { border-bottom: 0; }
.gfe-inline { margin-top: 20px; max-width: 760px; font-size: 0.92rem; color: var(--muted); }

/* Contact */
.page-head { padding-block: 80px 48px; }
.page-head .section-head { margin-bottom: 0; }
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-form { display: grid; gap: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); min-width: 0; }
@media (max-width: 520px) { .contact-form { padding: 22px; } }
.phi-warning { background: var(--warn-bg); color: var(--warn-ink); border-radius: 12px; padding: 14px 18px; font-size: 0.95rem; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: 0.95rem; }
.field input, .field select, .field textarea { font: inherit; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; width: 100%; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.field [aria-invalid="true"] { border-color: var(--warn-ink); }
.field.check { grid-template-columns: auto 1fr; align-items: start; gap: 10px; }
.field.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--accent); }
.field.check label { font-weight: 400; }
.hint { font-size: 0.85rem; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form .btn { justify-self: start; cursor: pointer; font: inherit; font-weight: 600; }
.form-status { min-height: 1.5em; font-weight: 600; }
.form-status:empty { display: none; }
.contact-side { display: grid; gap: 20px; min-width: 0; }
.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: grid; gap: 12px; }
.contact-card p { color: var(--muted); font-size: 0.96rem; }
.contact-card:focus { outline: 2px solid var(--accent); outline-offset: 3px; }
.draft-note { font-family: var(--font-mono); font-size: 0.74rem !important; text-transform: uppercase; letter-spacing: 0.1em; color: var(--warn-ink) !important; }
.incl { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; max-width: 760px; margin-top: 28px; }
.incl > div { display: grid; gap: 12px; align-content: start; min-width: 0; }
@media (max-width: 600px) { .incl { grid-template-columns: 1fr; } }
.incl-todo { margin-top: 16px; justify-self: start; font-size: 0.85rem; }
.legal h3 { font-size: 1.05rem; margin-top: 8px; }

/* ===================== FUN THEME (v6) =====================
   Concept: a warm, sunny clinic. Each clinic owns a bright color; the hero is
   a light canvas with soft color blobs, a tilted Rx card and a marker highlight. */
@font-face { font-family: "Bricolage Grotesque"; src: url("fonts/bricolage-grotesque-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Bricolage Grotesque"; src: url("fonts/bricolage-grotesque-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-display: swap; }
:root {
  --font-display: "Bricolage Grotesque", "Geist", "Segoe UI", system-ui, sans-serif;
  --bg: #fff8f0; --surface: #ffffff; --ink: #1e1745; --muted: #5d5878; --line: #efe4d6;
  --accent: #1e1745; --accent-ink: #ffffff; --accent-soft: #f3eefe;
  --coral: #ff6a4d; --sun: #ffc93c; --mint: #22c79a; --sky: #3aa0ff; --grape: #8a5cff; --pink: #ff5fa8;
  --c-weight: #0b7d5c; --c-hair: #b4520a; --c-derm: #c4266f; --c-peptide: #6a3cf0; --c-urgent: #1769c2; --c-mmj: #4f7d28;
  --hero-bg: #fff8f0; --hero-ink: #1e1745; --hero-muted: #5d5878; --hero-glow: #ff6a4d;
  --shadow: 0 2px 0 rgba(30,23,69,.06), 0 18px 40px -22px rgba(30,23,69,.35);
  --radius: 24px;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --bg: #15102e; --surface: #1f1940; --ink: #f6f2ff; --muted: #bdb5dc; --line: #342b5e;
  --accent: #ffc93c; --accent-ink: #1e1745; --accent-soft: #2d2556;
  --c-weight: #4fe0b2; --c-hair: #ffad66; --c-derm: #ff8fc4; --c-peptide: #b9a0ff; --c-urgent: #7cc2ff; --c-mmj: #a3d072;
  --hero-bg: #15102e; --hero-ink: #f6f2ff; --hero-muted: #bdb5dc;
  --shadow: 0 18px 40px -22px rgba(0,0,0,.7); color-scheme: dark; } }
:root[data-theme="dark"] {
  --bg: #15102e; --surface: #1f1940; --ink: #f6f2ff; --muted: #bdb5dc; --line: #342b5e;
  --accent: #ffc93c; --accent-ink: #1e1745; --accent-soft: #2d2556;
  --c-weight: #4fe0b2; --c-hair: #ffad66; --c-derm: #ff8fc4; --c-peptide: #b9a0ff; --c-urgent: #7cc2ff; --c-mmj: #a3d072;
  --hero-bg: #15102e; --hero-ink: #f6f2ff; --hero-muted: #bdb5dc;
  --shadow: 0 18px 40px -22px rgba(0,0,0,.7); color-scheme: dark; }

h1, h2 { font-weight: 800; letter-spacing: -0.03em; }
h3 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.01em; }
.eyebrow { color: var(--ink); background: var(--sun); display: inline-block; justify-self: start; padding: 5px 12px; border-radius: 999px; font-weight: 500; color: #1e1745; }

/* Buttons: ink pill with a playful offset color shadow */
.btn { background: var(--accent); color: var(--accent-ink); box-shadow: 4px 4px 0 var(--coral); border: 2px solid var(--accent); }
.btn:hover { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 var(--coral); }
.btn:active { transform: translate(2px,2px); box-shadow: 1px 1px 0 var(--coral); }
.btn-ghost { background: var(--surface); color: var(--ink); border: 2px solid var(--ink); box-shadow: 4px 4px 0 var(--sun); }
.btn-ghost:hover { box-shadow: 6px 6px 0 var(--sun); border-color: var(--ink); }
.nav .btn { color: var(--accent-ink); box-shadow: 3px 3px 0 var(--coral); }
.brand-mark { background: conic-gradient(from 200deg, var(--coral), var(--sun), var(--mint), var(--sky), var(--grape), var(--pink), var(--coral)); color: #1e1745; font-weight: 600; }

/* Hero: light canvas with color blobs */
.hero { background: var(--hero-bg); color: var(--ink); }
.hero::before { inset: -30% -15% auto auto; background:
  radial-gradient(closest-side at 30% 40%, color-mix(in srgb, var(--pink) 45%, transparent), transparent 70%),
  radial-gradient(closest-side at 70% 30%, color-mix(in srgb, var(--sun) 55%, transparent), transparent 70%),
  radial-gradient(closest-side at 60% 75%, color-mix(in srgb, var(--sky) 40%, transparent), transparent 70%); }
.hero::after { background-image: radial-gradient(color-mix(in srgb, var(--grape) 30%, transparent) 1.5px, transparent 1.6px); background-size: 22px 22px; mask-image: radial-gradient(ellipse at 15% 85%, #000 0%, transparent 45%); -webkit-mask-image: radial-gradient(ellipse at 15% 85%, #000 0%, transparent 45%); }
.hero .lede { color: var(--muted); }
.hero .serif { color: var(--ink); background: linear-gradient(transparent 62%, color-mix(in srgb, var(--sun) 85%, transparent) 62%, color-mix(in srgb, var(--sun) 85%, transparent) 92%, transparent 92%); padding-inline: 4px; }
.hero .btn { background: var(--accent); color: var(--accent-ink); box-shadow: 4px 4px 0 var(--coral); }
.hero .btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--ink); box-shadow: 4px 4px 0 var(--sun); }
.hero .states { color: var(--muted); }
.hero .chip { background: var(--surface); border: 2px solid var(--ink); color: var(--ink); }
.shapes { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.shape { position: absolute; border-radius: 50%; animation: bob 7s ease-in-out infinite; }
.shape.s1 { width: 70px; height: 70px; background: var(--mint); left: 4%; top: 14%; }
.shape.s2 { width: 34px; height: 34px; background: var(--coral); left: 46%; top: 8%; animation-delay: -2s; }
.shape.s3 { width: 120px; height: 120px; border: 14px solid var(--grape); background: transparent; right: 3%; bottom: 6%; animation-delay: -4s; }
.shape.s4 { width: 22px; height: 22px; background: var(--sun); left: 40%; bottom: 12%; animation-delay: -1s; }
@keyframes bob { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-14px) } }
@media (max-width: 880px) { .shape.s3 { width: 70px; height: 70px; border-width: 9px; } .shape.s1 { display: none; } }

/* Rx card: sticker vibe */
.rx { border: 2px solid #1e1745; box-shadow: 10px 10px 0 var(--grape); transform: rotate(2deg); }
.rx::before { display: none; }
.rx::after { content: "Doctor-led"; position: absolute; top: -18px; right: -14px; background: var(--pink); color: #1e1745; font-family: var(--font-display); font-weight: 800; font-size: 0.9rem; padding: 10px 14px; border-radius: 999px; border: 2px solid #1e1745; transform: rotate(10deg); }
.rx-top { border-bottom: 2px solid #1e1745; background: #fff4d6; border-radius: 14px 14px 0 0; }
.rx-top b { color: #c4266f; }

/* Trust strip: colorful pills */
.trust { background: var(--bg); border: 0; }
.trust-row { justify-content: center; gap: 12px; }
.trust-row span { padding: 8px 16px; border-radius: 999px; border: 2px solid var(--ink); background: var(--surface); color: var(--ink); }
.trust-row span:nth-child(1) { box-shadow: 3px 3px 0 var(--mint); }
.trust-row span:nth-child(2) { box-shadow: 3px 3px 0 var(--sky); }
.trust-row span:nth-child(3) { box-shadow: 3px 3px 0 var(--sun); }
.trust-row span:nth-child(4) { box-shadow: 3px 3px 0 var(--pink); }
@media (max-width: 700px) { .trust-row { grid-template-columns: 1fr; } .trust-row span { text-align: center; } }

/* Clinic cards: tinted, bold */
.clinic { background: color-mix(in srgb, var(--c) 9%, var(--surface)); border: 2px solid var(--ink); box-shadow: 6px 6px 0 var(--c); }
.alt .clinic { background: color-mix(in srgb, var(--c) 9%, var(--surface)); }
.clinic::before { display: none; }
.clinic:hover { transform: translate(-3px,-3px) rotate(-0.6deg); border-color: var(--ink); box-shadow: 9px 9px 0 var(--c); }
.clinic .tag { color: var(--c); font-weight: 600; }
.clinic p { color: var(--muted); }
.clinic .go { display: inline-block; justify-self: start; background: var(--c); color: var(--surface); padding: 6px 14px; border-radius: 999px; }

/* Sections */
.alt { background: color-mix(in srgb, var(--grape) 7%, var(--bg)); }

/* Steps: each a different color */
.steps li::before { width: 56px; height: 56px; font-family: var(--font-display); font-style: normal; font-weight: 800; font-size: 1.5rem; color: #1e1745; border: 2px solid #1e1745; }
.steps li:nth-child(1)::before { background: var(--sun); }
.steps li:nth-child(2)::before { background: var(--mint); }
.steps li:nth-child(3)::before { background: var(--pink); }

/* Feature icons: rainbow tiles */
.ficon { color: #1e1745; border: 2px solid #1e1745; }
.feature:nth-child(1) .ficon { background: var(--mint); }
.feature:nth-child(2) .ficon { background: var(--sun); }
.feature:nth-child(3) .ficon { background: var(--sky); }
.feature:nth-child(4) .ficon { background: var(--pink); }

/* Doctor */
.portrait { border: 2px solid var(--ink); box-shadow: 10px 10px 0 var(--sun); transform: rotate(-1.5deg); }
.chip { border: 2px solid var(--ink); background: var(--surface); }

/* FAQ */
.faq summary::after { background: var(--sun); color: #1e1745; border: 2px solid #1e1745; font-weight: 700; }

/* CTA band: sunset gradient */
.cta-band { background: linear-gradient(120deg, #6a3cf0 0%, #c4266f 55%, #d9401f 100%); color: #ffffff; border: 2px solid #1e1745; box-shadow: 10px 10px 0 var(--sun); }
.cta-band::before { display: none; }
.cta-band h2 { color: #ffffff; }
.cta-band p { color: #fff1f6; }
.cta-band .btn { background: #ffffff; color: #1e1745; border-color: #1e1745; box-shadow: 4px 4px 0 #1e1745; }

/* Compounded notice */
.compound { background: color-mix(in srgb, var(--sun) 28%, var(--bg)); border-top: 2px dashed color-mix(in srgb, var(--ink) 30%, transparent); }

/* Clinic page hero: bright tint of the clinic color */
.clinic-hero { background: color-mix(in srgb, var(--c) 14%, var(--bg)); color: var(--ink); border-bottom: 2px solid var(--ink); }
.clinic-hero::before { right: -10%; top: -50%; width: 55%; height: 200%; background: radial-gradient(closest-side, color-mix(in srgb, var(--c) 35%, transparent), transparent); }
.clinic-hero .eyebrow { background: var(--c); color: var(--surface); }
.clinic-hero .lede, .clinic-hero .states, .crumbs, .crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--ink); }
.clinic-hero .btn { background: var(--ink); color: var(--surface); border-color: var(--ink); box-shadow: 4px 4px 0 var(--c); }
.clinic-hero .btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--ink); box-shadow: 4px 4px 0 var(--sun); }
.clinic-hero .chip { background: var(--surface); border-color: var(--ink); color: var(--ink); }
.treat { border: 2px solid var(--ink); box-shadow: 5px 5px 0 color-mix(in srgb, var(--grape) 60%, var(--surface)); }
.price-table { border: 2px solid var(--ink); box-shadow: 8px 8px 0 var(--mint); }
.contact-form, .contact-card { border: 2px solid var(--ink); box-shadow: 8px 8px 0 var(--sky); }
.site-footer { background: var(--surface); border-top: 2px solid var(--ink); }
@media (prefers-reduced-motion: reduce) { .shape { animation: none; } }
:root { --hl: var(--sun); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --hl: #8a5cff; } }
:root[data-theme="dark"] { --hl: #8a5cff; }
.hero .serif { background: linear-gradient(transparent 62%, var(--hl) 62%, var(--hl) 92%, transparent 92%); }
