/* Evosion Medical Intelligence: landing + thank-you (V5, owner-approved mockup).
   Deep forest teal on warm off-white, DM Serif Display headlines, Inter text, Caveat for the few handwritten notes.
   Real photography, thin borders, restrained radii and shadows. Motion: hover/press feedback only. */

@font-face { font-family: "DMSerif Fallback"; src: local("Georgia"), local("Times New Roman"), local("Liberation Serif"); size-adjust: 106%; }
@font-face { font-family: "Inter Fallback"; src: local("Arial"), local("ArialMT"), local("Liberation Sans"); size-adjust: 107%; }
@font-face { font-family: "Caveat Fallback"; src: local("Comic Sans MS"), local("Bradley Hand"), local("Segoe Print"); size-adjust: 82%; }

:root {
  --teal: #073B38;
  --teal-2: #092E2D;
  --teal-3: #0F4E4A;
  --paper: #F8F8F5;
  --sage: #E8F0ED;
  --sage-2: #DCE7E2;
  --blue: #275D76;
  --text: #17272C;
  --muted: #546368;
  --white: #FFFFFF;
  --border: #E3E9E6;
  --border-2: #CFD9D5;
  --red: #B42318;
  --amber: #A15C07;
  --green: #1F7A4D;
  --pin: #2F6FD0;

  /* names shared with the form/thank-you components */
  --ink: var(--text);
  --dim: #5E6C70;
  --rule: var(--border);
  --rule-2: var(--border-2);
  --accent: var(--teal);
  --fill: var(--teal);
  --band: var(--sage);
  --slate: #5B6B7F;
  --danger: var(--red);
  --bg: var(--paper);
  --surface: var(--white);
  --line: var(--border);
  --line-2: var(--border-2);
  --signal: var(--teal);
  --signal-rgb: 7, 59, 56;
  --brand: var(--teal);
  --brand-deep: var(--teal);
  --rival-fill: var(--pin);
  --demand-fill: #E7A64A;

  --serif: "DM Serif Display", "DMSerif Fallback", Georgia, serif;
  --sans: "Inter", "Inter Fallback", -apple-system, "Segoe UI", Arial, sans-serif;
  --hand: "Caveat", "Caveat Fallback", "Bradley Hand", cursive;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --font: var(--sans);

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --max: 1290px;
  --gutter: 20px;
  --header-h: 72px;
  --r: 14px;
  --shadow: 0 1px 2px rgba(9, 46, 45, 0.05), 0 18px 40px -26px rgba(9, 46, 45, 0.28);
}
@media (min-width: 640px) { :root { --gutter: 32px; } }
@media (min-width: 1200px) { :root { --gutter: 75px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); background: var(--paper); }
body { margin: 0; background: var(--paper); color: var(--text); font-family: var(--sans); font-size: 1rem; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
p, figure, dl, dd, ol, ul, h1, h2, h3, h4 { margin: 0; }
ol, ul { padding: 0; list-style: none; }
h1, h2, h3, h4 { font-weight: 400; color: var(--text); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.sr-only { position: absolute !important; 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: 12px; top: -48px; z-index: 200; background: var(--teal); color: #fff; padding: 10px 14px; border-radius: 8px; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.ic { width: 18px; height: 18px; flex: none; }

/* ---------- type ---------- */
.eyebrow { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: #3B4A4E; line-height: 1.4; }
.eyebrow--light { color: rgba(255, 255, 255, 0.82); }
.h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.6rem, 6.2vw, 4.1rem); line-height: 1.04; letter-spacing: -0.012em; color: var(--text); text-wrap: balance; }
.h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 4.2vw, 2.9rem); line-height: 1.08; letter-spacing: -0.008em; text-wrap: balance; }
.h2--light, .lede--light { color: #fff; }
.lede { font-size: clamp(1.02rem, 1.4vw, 1.18rem); line-height: 1.55; color: #33454A; max-width: 36rem; }
.lede--light { color: rgba(255, 255, 255, 0.86); }
.body { color: #3E4F54; max-width: 30rem; }
.fine { font-size: 0.85rem; color: var(--muted); }
.small { font-size: 0.875rem; }
.muted { color: var(--muted); }
.micro { font-size: 0.8rem; color: var(--muted); }
.link { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(7, 59, 56, 0.35); background: none; border: 0; padding: 0; cursor: pointer; }
@media (hover: hover) and (pointer: fine) { .link:hover { text-decoration-color: currentColor; } }
.hand { font-family: var(--hand); font-weight: 500; color: #2B3A3E; line-height: 1.15; }
.hand .smile { display: inline-block; width: 22px; height: 22px; margin: 4px 0 0 30%; color: currentColor; }
.hand__arr { display: inline-block; color: currentColor; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 26px;
  border-radius: 999px; border: 1px solid transparent; font-weight: 500; font-size: 0.98rem; line-height: 1.2; text-align: center;
  text-decoration: none; cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms var(--ease-out);
}
.btn:active { transform: scale(0.98); }
.btn .arr { width: 16px; height: 16px; flex: none; }
.btn svg:not(.arr) { width: 16px; height: 16px; flex: none; }
.btn--dark, .btn--primary { background: var(--teal); color: #fff; }
.btn--outline, .btn--ghost { background: #fff; border-color: var(--border-2); color: var(--text); }
.btn--soft { background: var(--sage); color: var(--text); border-color: var(--sage-2); }
.btn--white { background: #fff; color: var(--text); }
.btn--ghostlight { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.75); }
.btn--sm { min-height: 42px; padding: 0 20px; font-size: 0.9rem; }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-busy="true"] { opacity: 0.65; cursor: progress; }
@media (hover: hover) and (pointer: fine) {
  .btn--dark:hover, .btn--primary:hover { background: var(--teal-3); }
  .btn--outline:hover, .btn--ghost:hover { border-color: var(--text); }
  .btn--soft:hover { background: var(--sage-2); }
  .btn--white:hover { background: var(--sage); }
  .btn--ghostlight:hover { background: rgba(255, 255, 255, 0.08); }
}
.actions { display: flex; flex-wrap: wrap; gap: 12px 14px; align-items: center; }
.lbl-s { display: none; }
@media (max-width: 374px) { .lbl-l { display: none; } .lbl-s { display: inline; } }

/* ---------- header ---------- */
.hdr { position: sticky; top: 0; z-index: 60; height: var(--header-h); background: rgba(248, 248, 245, 0.92); border-bottom: 1px solid transparent; transition: background-color 200ms ease, border-color 200ms ease; }
.hdr.is-stuck { background: rgba(248, 248, 245, 0.97); border-bottom-color: var(--border); }
.hdr__in { height: 100%; display: flex; align-items: center; gap: 20px; }
.hdr__brand { display: flex; align-items: center; margin-right: auto; min-height: 44px; }
.hdr__brand img { height: 26px; width: auto; }
.hdr__nav { display: none; }
.hdr__nav a:not(.btn) { font-size: 0.875rem; color: #2B3A3E; text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .hdr__nav a:not(.btn):hover { color: var(--teal); text-decoration: underline; text-underline-offset: 4px; } }
.hdr__navcta { display: none; }
.hdr__menu { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--border-2); border-radius: 999px; background: #fff; cursor: pointer; }
.hdr__menu .ic { width: 20px; height: 20px; }
.hdr__cta { display: none; }
@media (min-width: 400px) { .hdr__cta { display: inline-flex; } }
@media (max-width: 1023px) {
  .hdr__nav.is-open { display: grid; position: absolute; top: var(--header-h); left: 0; right: 0; padding: 8px var(--gutter) 20px; background: var(--paper); border-bottom: 1px solid var(--border); box-shadow: var(--shadow); }
  .hdr__nav.is-open a:not(.btn) { padding: 13px 0; border-bottom: 1px solid var(--border); font-size: 1rem; }
  .hdr__nav.is-open .hdr__navcta { display: inline-flex; margin-top: 14px; }
}
@media (min-width: 1024px) {
  .hdr__nav { display: flex; gap: 30px; margin-right: auto; }
  .hdr__menu { display: none; }
  .hdr__cta { display: inline-flex; }
}

/* ---------- sections ---------- */
.sec { padding: 72px 0; }
@media (min-width: 1000px) { .sec { padding: 96px 0; } }
.sec--sage { background: var(--sage); }
.sec--paper { background: var(--paper); }
.sec--ruled { padding-top: 0; }
.sec--ruled > .wrap { border-top: 1px solid var(--border); padding-top: 64px; }
@media (min-width: 1000px) { .sec--ruled > .wrap { padding-top: 72px; } }
.split { display: grid; gap: 32px; }
.split__copy { display: grid; gap: 16px; align-content: start; justify-items: start; min-width: 0; }
.split__copy .btn { margin-top: 10px; }
.center-head { position: relative; display: grid; gap: 12px; justify-items: center; text-align: center; margin-bottom: 40px; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: #F6F4F0; margin-top: calc(var(--header-h) * -1); padding-top: var(--header-h); }
.hero__bg { position: relative; height: 300px; overflow: hidden; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 66% 30%; }
.hero__in { position: relative; display: grid; gap: 26px; padding-top: 28px; padding-bottom: 28px; }
.hero__copy { display: grid; gap: 18px; justify-items: start; order: -1; }
.hero__copy .lede { max-width: 31rem; }
.hero__copy .actions { margin-top: 6px; }
.cred { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 18px; }
.cred li { display: inline-flex; align-items: center; gap: 9px; font-size: 0.8rem; color: #3E4F54; }
.cred .ic { width: 22px; height: 22px; color: var(--teal); }
.hand--hero { display: none; }
.hero { display: flex; flex-direction: column; }
.hero__bg { order: 2; }
.hero__in { order: 1; }
.dash { position: relative; z-index: 3; background: #fff; border: 1px solid var(--border); border-radius: 16px; box-shadow: 0 30px 60px -32px rgba(9, 46, 45, 0.4); padding: 16px; margin: -120px var(--gutter) 0; order: 3; }
@media (max-width: 999px) { .hero__in { padding-bottom: 32px; } .hero { padding-bottom: 32px; } }
@media (min-width: 1000px) {
  .hero { display: block; min-height: 700px; padding-bottom: 0; }
  .hero__bg { position: absolute; inset: 0; height: auto; }
  .hero__bg img { object-position: 50% 30%; }
  .hero__in { display: block; min-height: 700px; padding-top: 72px; padding-bottom: 60px; }
  .hero__copy { max-width: 620px; position: relative; z-index: 2; }
  .hero__copy .lede { max-width: 30rem; }
  .hand--hero { display: block; position: absolute; z-index: 2; right: calc(var(--gutter) + 22px); top: 26px; width: 170px; font-size: 1.6rem; transform: rotate(-4deg); }
  .dash { position: absolute; right: var(--gutter); bottom: -34px; width: 540px; margin: 0; }
}
@media (min-width: 1440px) { .hero__bg img { object-position: 50% 30%; } }
.dash__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.dash__name { font-family: var(--serif); font-size: 1.3rem; line-height: 1.2; color: var(--text); }
.dash__addr { display: flex; align-items: center; gap: 6px; font-size: 0.78rem; color: var(--muted); margin-top: 2px; }
.dash__addr .ic { width: 13px; height: 13px; color: var(--teal); }
.dash__ill { font-size: 0.72rem; color: var(--muted); white-space: nowrap; }
.dash__tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0; }
.dash__tabs span { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 11px; border-radius: 999px; background: #F2F5F4; border: 1px solid var(--border); font-size: 0.72rem; color: #3E4F54; }
.dash__tabs .ic { width: 12px; height: 12px; }
.dash__tabs .is-on { background: var(--teal); border-color: var(--teal); color: #fff; }
.dash__body { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 10px; }
.dash__map { position: relative; min-height: 220px; border-radius: 10px; overflow: hidden; background: #EAF0EC; border: 1px solid var(--border); }
@media (min-width: 1000px) { .dash__map { min-height: 262px; } }
.dash__kpis { display: grid; gap: 8px; align-content: start; }
.dash__kpis li { padding: 9px 11px; border: 1px solid var(--border); border-radius: 10px; display: grid; gap: 1px; }
.dash__kpis b { font-size: 1.15rem; font-weight: 600; color: var(--text); line-height: 1.2; }
.dash__kpis span { font-size: 0.7rem; color: var(--muted); line-height: 1.3; }
.dash__kpis .dash__opp { background: var(--sage); border-color: var(--sage); }
.dash__kpis .dash__opp b { font-size: 0.8rem; color: var(--teal); }
@media (max-width: 479px) { .dash__body { grid-template-columns: 1fr; } .dash__kpis { grid-template-columns: 1fr 1fr; } .dash__kpis .dash__opp { grid-column: 1 / -1; } }

/* ---------- 3: paths ---------- */
#paths { padding-top: 96px; }
@media (min-width: 1000px) { #paths { padding-top: 110px; } }
.hand--paths { display: none; }
@media (min-width: 1000px) { .hand--paths { display: block; position: absolute; right: 0; top: -14px; width: 190px; font-size: 1.45rem; text-align: left; transform: rotate(-6deg); } .hand--paths .hand__arr--down { width: 18px; height: 26px; margin: 2px 0 0 120px; } }
.paths { display: grid; gap: 18px; }
@media (min-width: 760px) { .paths { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pcard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-radius: var(--r); padding: 12px; min-width: 0; }
.pcard__img { aspect-ratio: 16 / 8.2; border-radius: 9px; overflow: hidden; background: var(--sage); }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; }
.pcard__body { display: flex; flex-direction: column; gap: 12px; padding: 16px 6px 6px; flex: 1; }
.pcard__title { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 12px; align-items: center; }
.pcard__title h3 { font-family: var(--serif); font-size: 1.28rem; line-height: 1.2; }
.pcard__cat { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue); margin-top: 3px; }
.pcard__desc { font-size: 0.92rem; color: #3E4F54; line-height: 1.55; }
.pcard__price { margin-top: auto; padding-top: 6px; min-height: 64px; }
.pcard__amt { font-size: 1.75rem; font-weight: 600; color: var(--text); line-height: 1.1; }
.pcard__amt small { font-size: 0.75rem; font-weight: 500; }
.pcard__custom { font-size: 1.02rem; font-weight: 500; color: var(--blue); }
.pcard__small { font-size: 0.76rem; color: var(--muted); }
.pcard .btn { margin-top: 4px; }
.tico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--border-2); color: var(--teal); background: #fff; flex: none; }
.tico .ic { width: 22px; height: 22px; }

/* ---------- assessment (the form) ---------- */
.assess { display: grid; gap: 32px; }
@media (min-width: 1000px) { .assess { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; } }
.assess__head { display: grid; gap: 16px; align-content: start; }
@media (min-width: 1000px) { .assess__head { position: sticky; top: calc(var(--header-h) + 24px); } }
.assess__notes { display: grid; gap: 10px; margin-top: 6px; }
.assess__notes li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; font-size: 0.9rem; color: #3E4F54; }
.assess__notes .ic { width: 16px; height: 16px; color: var(--teal); margin-top: 3px; }

/* ---------- 4: sample report ---------- */
@media (min-width: 1000px) { .split--report { grid-template-columns: minmax(0, 0.62fr) minmax(0, 1fr); gap: 48px; align-items: center; } }
.glance { background: #F1F4F2; border: 1px solid var(--border); border-radius: 16px; padding: 14px; }
.glance__note { text-align: right; font-size: 0.72rem; color: var(--muted); margin-bottom: 10px; }
.glance__grid { display: grid; gap: 10px; }
@media (min-width: 560px) { .glance__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .glance__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.glance__grid li, .checks4 li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 14px; align-items: center; padding: 14px 16px; background: #fff; border: 1px solid var(--border); border-radius: 12px; }
.glance__grid .tico, .checks4 .tico { width: 52px; height: 52px; background: var(--sage); border-color: var(--sage); }
.glance__grid small, .checks4 small { display: block; font-size: 0.8rem; color: #3E4F54; }
.glance__grid b, .checks4 b { display: block; font-size: 1.02rem; font-weight: 600; line-height: 1.3; }
.st-red { color: var(--red); } .st-amber { color: var(--amber); } .st-green { color: var(--green); }

/* ---------- 5: website analysis ---------- */
.webx { display: grid; gap: 36px; }
@media (min-width: 1100px) { .webx { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr) minmax(0, 0.78fr); gap: 36px; align-items: center; } }
.webx__copy .h2 { max-width: 14ch; }
.hand--web { display: flex; align-items: flex-start; gap: 6px; font-size: 1.45rem; max-width: 17rem; transform: rotate(-3deg); margin: 6px 0 0 4px; }
.hand--web .hand__arr--up { width: 28px; height: 28px; margin-top: 16px; flex: none; }
.webx__stage { position: relative; display: grid; justify-items: center; padding: 8px 0; }
@media (min-width: 640px) { .webx__stage { grid-template-columns: auto auto; align-items: center; justify-content: center; gap: 0; } }
.phone { width: 232px; padding: 9px; border-radius: 36px; background: #15191B; box-shadow: 0 30px 60px -30px rgba(9, 46, 45, 0.55); }
.phone__screen { border-radius: 28px; overflow: hidden; background: #fff; }
.phone__bar { display: flex; justify-content: space-between; align-items: center; padding: 8px 16px 4px; font-size: 0.62rem; font-weight: 600; color: #222; }
.phone__notch { width: 64px; height: 16px; border-radius: 10px; background: #15191B; }
.ps__nav { display: flex; justify-content: space-between; align-items: center; padding: 6px 12px; border-bottom: 1px solid #EEF1F0; }
.ps__logo { display: flex; align-items: center; gap: 6px; font-size: 0.66rem; font-weight: 600; color: #1E4B5E; line-height: 1.15; }
.ps__logo .ic { width: 18px; height: 18px; color: #1E4B5E; }
.ps__menu { display: grid; gap: 3px; }
.ps__menu i { display: block; width: 14px; height: 1.6px; background: #1E4B5E; }
.ps__hero { padding: 14px 14px 12px; background: #F3F6F5; }
.ps__hero p { font-family: var(--serif); font-size: 1.2rem; line-height: 1.15; color: #1E4B5E; margin-bottom: 10px; }
.ps__btn { display: inline-block; padding: 6px 12px; border-radius: 5px; background: #1E4B5E; color: #fff; font-size: 0.62rem; font-weight: 600; }
.ps__img { height: 150px; overflow: hidden; }
.ps__img img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 30%; }
.finding-card { position: relative; z-index: 2; width: min(100%, 250px); margin-top: -40px; padding: 16px; background: #fff; border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow); }
@media (min-width: 640px) { .finding-card { margin: -60px 0 0 -26px; align-self: center; } }
.finding-card__p { display: flex; align-items: center; gap: 7px; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red); }
.dot-red { width: 10px; height: 10px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.15); }
.finding-card__t { font-weight: 600; font-size: 0.98rem; line-height: 1.3; margin-top: 6px; }
.finding-card__d { font-size: 0.82rem; color: var(--muted); margin-top: 8px; line-height: 1.5; }
.finding-card__btn { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; padding: 4px 0; border: 0; background: none; font-size: 0.82rem; font-weight: 500; color: var(--text); cursor: pointer; }
.finding-card__btn .arr { width: 14px; height: 14px; transition: transform 160ms ease; }
.finding-card__btn[aria-expanded="true"] .arr { transform: rotate(90deg); }
.finding-card__more { display: grid; gap: 8px; margin-top: 8px; padding-top: 10px; border-top: 1px solid var(--border); font-size: 0.82rem; color: #3E4F54; }
.finding-card__ill { font-size: 0.72rem; color: var(--muted); font-style: italic; }
.checks4 { display: grid; gap: 10px; align-content: center; }
.checks4 em { display: block; font-style: normal; font-size: 0.85rem; color: #3E4F54; }
@media (min-width: 640px) and (max-width: 1099px) { .checks4 { grid-template-columns: 1fr 1fr; } }

/* ---------- 6: competitors ---------- */
.compx { display: grid; gap: 30px; }
@media (min-width: 1100px) { .compx { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.15fr) minmax(0, 0.75fr); gap: 32px; align-items: start; } }
.compx__canvas { height: 300px; border-radius: 12px; overflow: hidden; background: #EAF0EC; border: 1px solid var(--border); }
@media (min-width: 1100px) { .compx__canvas { height: 320px; } }
.legend { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 10px; font-size: 0.75rem; color: #3E4F54; }
.lg { display: inline-flex; align-items: center; gap: 7px; }
.lg i { display: block; width: 11px; height: 11px; border-radius: 50%; }
.lg--you i { background: var(--teal); }
.lg--other i { background: var(--pin); box-shadow: 0 0 0 3px rgba(47, 111, 208, 0.2); width: 8px; height: 8px; }
.lg--ring i { border: 1.5px dashed #6A7A7E; }
.lg--ill { margin-left: auto; color: var(--muted); font-style: italic; }
.nearby { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 16px; }
.nearby__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 4px; }
.nearby__head p { font-size: 0.85rem; font-weight: 500; }
.nearby__head a { font-size: 0.82rem; font-weight: 500; color: var(--blue); text-decoration: none; }
.nearby li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--border); }
.nearby li:last-child { border-bottom: 0; }
.nearby .tico { width: 40px; height: 40px; background: var(--sage); border-color: var(--sage); }
.nearby .tico .ic { width: 18px; height: 18px; }
.nearby b { display: block; font-size: 0.9rem; font-weight: 500; line-height: 1.3; }
.nearby small { font-size: 0.8rem; color: var(--muted); }
.star { color: #C98A12; }
.nearby__note { margin-top: 8px; font-size: 0.72rem; color: var(--muted); }

/* demo map markers */
.pin5 { background: none; border: 0; }
.pin5 svg { width: 22px; height: 28px; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.25)); }
.pin5--you svg { width: 34px; height: 42px; }

/* ---------- 7: how it works ---------- */
.how__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 40px; }
.how__head > div { display: grid; gap: 14px; }
.hand--how { display: none; }
@media (min-width: 900px) { .hand--how { display: block; font-size: 1.5rem; transform: rotate(-6deg); margin-right: 6%; } .hand--how .hand__arr--side { width: 46px; height: 24px; margin: 0 0 0 40px; } }
.steps { display: grid; gap: 0; counter-reset: s; }
.step { position: relative; display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 4px 16px; padding-bottom: 26px; }
.step__n { grid-row: span 2; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--border-2); background: #fff; font-size: 1rem; font-weight: 500; color: var(--text); position: relative; z-index: 1; }
.step b { font-weight: 500; font-size: 1rem; line-height: 1.35; padding-top: 6px; }
.step p { font-size: 0.88rem; color: var(--muted); max-width: 22rem; }
.step::before { content: ""; position: absolute; left: 27px; top: 54px; bottom: 0; width: 1px; background: var(--border-2); }
.step:last-child::before { display: none; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
  .step { grid-template-columns: 1fr; gap: 12px; padding: 0; }
  .step__n { grid-row: auto; }
  .step b { padding-top: 0; }
  .step::before { left: 66px; right: -10px; top: 27px; bottom: auto; width: auto; height: 1px; }
  .step::after { content: ""; position: absolute; right: -10px; top: 23px; width: 8px; height: 8px; border-top: 1px solid var(--border-2); border-right: 1px solid var(--border-2); transform: rotate(45deg); }
  .step:last-child::before, .step:last-child::after { display: block; }
}

/* ---------- 8: report includes ---------- */
@media (min-width: 1000px) { .split--inc { grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr); gap: 56px; align-items: start; } .inc { padding-left: 40px; border-left: 1px solid var(--border); } }
.inc { display: grid; gap: 18px; }
.inc__toggle { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border: 1px solid var(--border); border-radius: 999px; background: #fff; justify-self: start; }
.inc__toggle button { min-height: 36px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; font-size: 0.82rem; font-weight: 500; color: #3E4F54; cursor: pointer; }
.inc__toggle button.is-on { background: var(--teal); color: #fff; }
.inc__grid { display: grid; gap: 14px 22px; }
@media (min-width: 560px) { .inc__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .inc__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.inc__grid li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; align-items: center; font-size: 0.86rem; color: #2B3A3E; transition: opacity 180ms ease; }
.inc__grid .tico { width: 40px; height: 40px; background: var(--sage); border-color: var(--sage); }
.inc__grid .tico .ic { width: 18px; height: 18px; }
.inc__grid li.is-dim { opacity: 0.3; }
.inc__note { font-size: 0.8rem; color: var(--muted); max-width: 46rem; }

/* ---------- 9: portal ---------- */
@media (min-width: 1000px) { .split--portal { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 64px; align-items: center; } }
.laptop { position: relative; }
.laptop__screen { border: 10px solid #1C2224; border-bottom-width: 14px; border-radius: 14px 14px 4px 4px; background: #fff; overflow: hidden; aspect-ratio: 16 / 10; }
.laptop__base { height: 14px; margin: 0 -6%; border-radius: 0 0 14px 14px; background: linear-gradient(#D5DAD8, #B9C0BD); }
.laptop__cap { margin-top: 10px; font-size: 0.75rem; color: var(--muted); text-align: center; }
.pd { display: grid; grid-template-columns: 22% 1fr; height: 100%; font-size: clamp(0.5rem, 0.95vw, 0.72rem); }
.pd__side { background: var(--teal-2); color: rgba(255, 255, 255, 0.75); padding: 10px 8px; display: grid; gap: 6px; align-content: start; }
.pd__logo { color: #fff; font-weight: 600; margin-bottom: 6px; }
.pd__side i { font-style: normal; padding: 4px 6px; border-radius: 5px; }
.pd__side i.on { background: rgba(255, 255, 255, 0.12); color: #fff; }
.pd__main { padding: 10px 12px; display: grid; gap: 8px; align-content: start; background: #F7F9F8; }
.pd__top { display: flex; justify-content: space-between; }
.pd__top span { color: var(--muted); font-style: italic; }
.pd__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.pd__kpis div { background: #fff; border: 1px solid var(--border); border-radius: 6px; padding: 6px; display: grid; }
.pd__kpis small { color: var(--muted); }
.pd__kpis b { font-size: 1.3em; }
.pd__kpis em { font-style: normal; color: var(--green); }
.pd__chart, .pd__tasks { background: #fff; border: 1px solid var(--border); border-radius: 6px; padding: 6px; }
.pd__chart svg { width: 100%; height: 60px; }
.pd__tasks p { display: flex; gap: 6px; align-items: center; padding: 2px 0; }
.pd__tasks i { width: 8px; height: 8px; border-radius: 50%; border: 1px solid var(--muted); }
.pd__tasks i.ok { background: var(--green); border-color: var(--green); }
.ticks { display: grid; gap: 9px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.95rem; color: #2B3A3E; }
.ticks .ic { width: 16px; height: 16px; color: var(--teal); margin-top: 4px; }

/* ---------- FAQ ---------- */
@media (min-width: 1000px) { .split--faq { grid-template-columns: minmax(0, 0.6fr) minmax(0, 1fr); gap: 56px; align-items: start; } }

/* ---------- 11: final CTA ---------- */
.final { position: relative; overflow: hidden; background: var(--teal); color: #fff; isolation: isolate; }
.final__photo { height: 220px; }
.final__photo img { width: 100%; height: 100%; object-fit: cover; }
.final__in { position: relative; z-index: 2; display: grid; gap: 16px; justify-items: start; padding-top: 44px; padding-bottom: 56px; }
.final .h2 { max-width: 16ch; }
.hand--final { position: absolute; z-index: 3; right: 18px; top: 140px; width: 130px; font-size: 1.3rem; color: #fff; transform: rotate(-8deg); text-shadow: 0 1px 6px rgba(0, 0, 0, 0.45); }
@media (min-width: 1000px) {
  .final { min-height: 420px; display: flex; align-items: center; }
  .final__photo { position: absolute; top: 0; bottom: 0; right: 0; width: 46%; height: auto; clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%); }
  .final__in { padding-top: 84px; padding-bottom: 84px; }
  .final .h2 { max-width: 20ch; font-size: clamp(2.2rem, 3.4vw, 3rem); }
  .hand--final { right: 34px; top: auto; bottom: 34px; width: 150px; font-size: 1.55rem; }
}

/* ---------- footer ---------- */
.ftr { background: var(--teal-2); color: rgba(255, 255, 255, 0.82); font-size: 0.875rem; padding: 44px 0 calc(28px + env(safe-area-inset-bottom)); }
.ftr a { color: rgba(255, 255, 255, 0.86); text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .ftr a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; } }
.ftr__top { display: grid; gap: 22px; padding-bottom: 26px; border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
@media (min-width: 900px) { .ftr__top { grid-template-columns: auto 1fr auto; align-items: center; gap: 48px; } }
.ftr__logo img { height: 26px; width: auto; }
.ftr__nav, .ftr__legal { display: flex; flex-wrap: wrap; gap: 8px 28px; align-items: center; }
.ftr__social .ic { width: 20px; height: 20px; }
.ftr__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 18px; font-size: 0.8rem; }
.ftr__fine { margin-top: 14px; font-size: 0.72rem; color: rgba(255, 255, 255, 0.62); }
.ftr__fine, .ftr__bottom p { max-width: none; }

/* ---------- form, lookup map, consent, thank-you (component blocks) ---------- */
/* ---------- 4: the form ---------- */

.panel { background: var(--white); border: 1px solid var(--rule-2); border-radius: 4px; }
.wz { overflow: hidden; box-shadow: 0 1px 2px rgba(22, 24, 27, 0.04), 0 10px 30px -22px rgba(22, 24, 27, 0.25); }
.wz__bar { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; align-items: center; gap: 8px; padding: 8px 12px; border-bottom: 1px solid var(--rule); }
.wz__back[hidden] { display: block !important; visibility: hidden; }
.wz__meta { display: grid; gap: 6px; justify-items: center; }
.wz__count { font-family: var(--mono); font-size: 0.75rem; color: var(--muted); }
.wz__prog { display: flex; gap: 4px; width: min(200px, 100%); }
.wz__prog i { flex: 1; height: 2px; background: var(--rule); }
.wz__prog i.on { background: var(--accent); }
.wz__body { padding: 24px 20px 26px; }
@media (min-width: 640px) { .wz__body { padding: 32px 36px 36px; } }
.wz__step { display: grid; gap: 18px; }
.wz__h { font-family: var(--serif); font-weight: 400; font-size: clamp(1.4rem, 4.4vw, 1.75rem); line-height: 1.15; outline: none; text-wrap: balance; }
.wz__hint { color: var(--muted); font-size: 0.95rem; margin-top: -8px; }
.iconbtn { width: 44px; height: 44px; display: grid; place-items: center; border: 0; background: transparent; color: var(--muted); cursor: pointer; }
.iconbtn svg { width: 20px; height: 20px; }

.choices { display: grid; gap: 10px; }
@media (min-width: 720px) { .choices { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.choice {
  appearance: none; -webkit-appearance: none; width: 100%; text-align: left; cursor: pointer;
  display: grid; grid-template-columns: 32px minmax(0, 1fr) 16px; gap: 14px; align-items: center;
  padding: 16px; border: 1px solid var(--rule-2); border-radius: 3px; background: var(--white);
  -webkit-tap-highlight-color: transparent; transition: border-color 150ms ease;
}
.choice .intent__icon { display: block; color: var(--accent); }
.choice .intent__icon svg { width: 28px; height: 28px; }
.choice b { display: block; font-weight: 600; font-size: 1rem; color: var(--ink); line-height: 1.3; }
.choice span.s { display: block; font-size: 0.86rem; color: var(--muted); margin-top: 2px; }
.choice > svg { width: 16px; height: 16px; color: var(--dim); }
.choice[aria-pressed="true"] { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
@media (hover: hover) and (pointer: fine) { .choice:hover { border-color: var(--ink); } }
@media (min-width: 720px) {
  .choice { grid-template-columns: 1fr; align-content: start; gap: 12px; padding: 20px; min-height: 168px; }
  .choice > svg { display: none; }
}

.form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label, .field .lbl { font-size: 0.9rem; font-weight: 600; color: var(--ink); }
.field .opt, .chipset .opt { color: var(--muted); font-weight: 400; }
.input {
  width: 100%; min-height: 48px; padding: 0 12px; border: 1px solid var(--rule-2); border-radius: 2px;
  background: var(--white); font-size: 1rem; color: var(--ink);
}
select.input {
  appearance: none; -webkit-appearance: none; padding-right: 36px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%23555a60' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
}
.input::placeholder { color: #8c9096; }
.input:focus { outline: 2px solid var(--accent); outline-offset: -1px; border-color: var(--accent); }
.input[aria-invalid="true"] { border-color: var(--danger); }
.field__err { font-size: 0.85rem; color: var(--danger); }
.field__err:empty { display: none; }
.row2 { display: grid; gap: 16px; }
@media (min-width: 560px) { .row2 { grid-template-columns: 1fr 1fr; } }

.chipset { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.chipset legend { padding: 0; margin-bottom: 8px; font-size: 0.9rem; font-weight: 600; color: var(--ink); }
.cb { position: relative; display: inline-flex; }
.cb input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.cb span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid var(--rule-2); border-radius: 2px; background: var(--white); font-size: 0.92rem; color: var(--text); }
.cb input:checked + span { border-color: var(--accent); color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); font-weight: 600; }
.cb input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.check { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; align-items: start; font-size: 0.9rem; color: var(--text); cursor: pointer; }
.check input { appearance: none; -webkit-appearance: none; width: 20px; height: 20px; margin: 2px 0 0; border: 1px solid var(--ink); border-radius: 2px; background: var(--white); display: grid; place-items: center; cursor: pointer; }
.check input::after { content: ""; width: 10px; height: 6px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); opacity: 0; }
.check input:checked { background: var(--accent); border-color: var(--accent); }
.check input:checked::after { opacity: 1; }
.check input[aria-invalid="true"] { border-color: var(--danger); }
.check a { color: var(--ink); }

.delivery { display: block; padding: 12px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.delivery__ic { display: none; }
.delivery b { display: block; font-weight: 600; color: var(--ink); font-size: 0.95rem; }
.delivery div > span { display: block; font-size: 0.85rem; color: var(--muted); }
.note-inline, .wz .note { font-family: var(--sans); font-style: normal; font-size: 0.85rem; color: var(--muted); max-width: none; display: flex; gap: 8px; }
.wz .note svg { width: 14px; height: 14px; flex: none; margin-top: 3px; color: var(--dim); }
.wz__foot { display: grid; gap: 10px; padding-top: 4px; }
.sum { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.sum span { font-size: 0.85rem; color: var(--muted); }
.sum b { font-family: var(--mono); font-size: 1.15rem; font-weight: 500; color: var(--ink); white-space: nowrap; }
.sum b .small { font-family: var(--sans); color: var(--muted); font-weight: 400; }
.secure { display: flex; justify-content: center; align-items: center; gap: 6px; font-size: 0.8rem; color: var(--muted); }
.secure svg { width: 12px; height: 12px; }
.alert { padding: 12px 14px; border: 1px solid var(--danger); border-radius: 2px; background: var(--white); color: var(--danger); font-size: 0.92rem; }
.alert--info { border-color: var(--rule-2); color: var(--text); }
.notice { grid-column: 1 / -1; margin-bottom: 20px; }
.done { gap: 14px; }
.done .lede { font-size: 1.05rem; }

.stage { display: grid; gap: 14px; min-width: 0; }
.stage:empty { display: none; }
.status { display: flex; align-items: center; gap: 10px; padding: 14px 0; font-size: 0.95rem; color: var(--muted); }
.panel.status { padding: 14px 16px; }
.spinner { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--rule); border-top-color: var(--accent); animation: spin 800ms linear infinite; flex: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.empty { padding: 18px; display: grid; gap: 12px; justify-items: start; border: 1px dashed var(--rule-2); border-radius: 3px; }
.empty p { color: var(--muted); font-size: 0.95rem; }
.results { display: grid; border-top: 1px solid var(--rule); }
.results > .micro { padding: 10px 0; }
.pick {
  appearance: none; -webkit-appearance: none; width: 100%; text-align: left; cursor: pointer;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center;
  padding: 12px 10px; border: 0; border-bottom: 1px solid var(--rule); background: transparent;
}
.pick__pin { display: none; }
.pick__name { font-weight: 600; font-size: 0.98rem; color: var(--ink); line-height: 1.3; overflow-wrap: anywhere; }
.pick__addr { font-size: 0.85rem; color: var(--muted); overflow-wrap: anywhere; }
.pick__meta { font-family: var(--mono); font-size: 0.78rem; color: var(--muted); text-align: right; white-space: nowrap; }
.pick__meta b { color: var(--ink); font-weight: 500; }
.pick[aria-pressed="true"] { background: var(--band); box-shadow: inset 3px 0 0 var(--accent); }
@media (hover: hover) and (pointer: fine) { .pick:hover { background: var(--band); } }
.selist { display: grid; gap: 8px; }
.selected { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 14px; border: 1px solid var(--rule-2); border-radius: 2px; background: var(--white); }
.selected .pick__pin { display: none; }
.selected .iconbtn { width: 36px; height: 36px; }
.star { color: var(--amber); }

.market { overflow: hidden; }
.market__map { position: relative; height: 320px; background: var(--band); border-bottom: 1px solid var(--rule); }
@media (min-width: 1000px) { .market__map { height: 400px; } }
.market__map .leaflet-container { width: 100%; height: 100%; background: var(--band); font-family: var(--sans); }
.market__map .leaflet-tile-pane { filter: saturate(0.6); }
.market__hud { position: absolute; z-index: 500; left: 10px; right: 10px; top: 10px; display: flex; gap: 8px; justify-content: space-between; flex-wrap: wrap; pointer-events: none; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 8px; border: 1px solid var(--rule-2); border-radius: 2px; background: var(--white); font-family: var(--mono); font-size: 0.7rem; color: var(--text); white-space: nowrap; }
.chip .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--fill); }
.market__body { padding: 18px; display: grid; gap: 16px; }
@media (min-width: 640px) { .market__body { padding: 22px; } }
.clinic-card { display: grid; gap: 4px; }
.clinic-card h3 { font-family: var(--serif); font-size: 1.3rem; font-weight: 500; overflow-wrap: anywhere; }
.clinic-card p { color: var(--muted); font-size: 0.9rem; overflow-wrap: anywhere; }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--rule); }
.kpi { padding: 12px 10px 12px 0; display: grid; gap: 2px; align-content: end; min-width: 0; }
.kpi + .kpi { padding-left: 12px; border-left: 1px solid var(--rule); }
.kpi b { font-family: var(--mono); font-size: 1.4rem; font-weight: 500; color: var(--ink); line-height: 1.1; }
.kpi b small { display: block; font-family: var(--sans); font-size: 0.72rem; font-weight: 400; color: var(--muted); }
.kpi span { font-size: 0.78rem; color: var(--muted); line-height: 1.3; }
.rivals { display: grid; border-top: 1px solid var(--rule); }
.rival { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 0; border: 0; border-bottom: 1px solid var(--rule); background: none; width: 100%; text-align: left; cursor: pointer; }
.rival.is-active { background: var(--band); }
.rival__n { font-family: var(--mono); font-size: 0.72rem; color: var(--dim); }
.rival__name { font-size: 0.92rem; font-weight: 500; color: var(--ink); overflow-wrap: anywhere; }
.rival__sub { font-size: 0.78rem; color: var(--muted); font-family: var(--mono); }
.rival__km { font-family: var(--mono); font-size: 0.8rem; color: var(--muted); white-space: nowrap; }
.source { font-family: var(--mono); font-size: 0.75rem; color: var(--dim); display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.source svg { display: none; }
.market__foot { display: grid; gap: 10px; }
.lf-you, .lf-rival { background: none; border: 0; }
.lf-you i { display: block; width: 16px; height: 16px; border-radius: 50%; background: var(--fill); border: 3px solid #fff; box-shadow: 0 0 0 1px var(--fill); }
.lf-rival i { display: block; width: 11px; height: 11px; border-radius: 50%; background: var(--slate); border: 2px solid #fff; }
.lf-rival.is-active i { border-color: var(--ink); }
.leaflet-tooltip.lf-tip { background: var(--white); color: var(--ink); border: 1px solid var(--rule-2); border-radius: 2px; box-shadow: none; font-family: var(--sans); font-size: 0.78rem; padding: 5px 8px; }
.leaflet-tooltip.lf-tip::before { display: none; }
.leaflet-control-attribution { font-size: 0.6rem !important; background: rgba(255, 255, 255, 0.85) !important; }
.leaflet-bar a { border-radius: 0 !important; }
.ring-label { background: none; border: 0; font-family: var(--mono); font-size: 10px; color: var(--muted); white-space: nowrap; }

/* ---------- FAQ ---------- */

.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 16px 0; min-height: 44px; font-family: var(--serif); font-size: 1.18rem; color: var(--ink); line-height: 1.35; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 14px; height: 14px; flex: none; color: var(--ink); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq .a { padding: 0 0 18px; color: var(--text); max-width: 65ch; display: grid; gap: 10px; }
.faq .a a { color: var(--ink); }

/* ---------- Mobile CTA dock ---------- */

.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: var(--paper); border-top: 1px solid var(--rule-2); transform: translateY(110%); transition: transform 200ms var(--ease-out); pointer-events: none; }
.dock.is-on { transform: none; pointer-events: auto; }
.dock .btn { width: 100%; }
@media (min-width: 900px) { .dock { display: none; } }

/* ---------- Mock banner (test only) ---------- */

.mockbar { position: fixed; z-index: 100000; left: 0; right: 0; top: 0; background: repeating-linear-gradient(-45deg, #f2c14e 0 12px, #e5b23c 12px 24px); color: #1a1300; text-align: center; font-family: var(--mono); font-size: 0.68rem; font-weight: 600; padding: 5px 8px; }
body.is-mock { padding-top: 26px; }
body.is-mock .hdr { top: 26px; }

/* ---------- Thank-you page ---------- */

.ty { min-height: calc(100svh - var(--header-h)); display: grid; align-content: center; padding: 48px 0 80px; }
.ty__card { max-width: 580px; margin: 0 auto; padding: 28px 22px; display: grid; gap: 18px; }
@media (min-width: 640px) { .ty__card { padding: 40px; } }
.ty__badge { width: 36px; height: 36px; display: grid; place-items: center; color: var(--accent); border: 1px solid var(--accent); border-radius: 50%; }
.ty__badge svg { width: 18px; height: 18px; }
.ty__card .h2 { font-size: clamp(1.7rem, 5vw, 2.2rem) !important; }
.ty__rows { display: grid; border-top: 1px solid var(--ink); margin: 0; }
.ty__rows div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--rule); font-size: 0.95rem; }
.ty__rows dt { color: var(--muted); font-size: 0.85rem; }
.ty__rows dd { margin: 0; color: var(--ink); overflow-wrap: anywhere; }
.ty__steps { display: grid; gap: 10px; counter-reset: s; }
.ty__steps li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 10px; font-size: 0.95rem; color: var(--text); }
.ty__steps li::before { counter-increment: s; content: counter(s, decimal-leading-zero); font-family: var(--mono); font-size: 0.78rem; color: var(--accent); padding-top: 3px; }
.ty__steps strong { color: var(--ink); font-weight: 600; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Consent card ---------- */

.evo-cc { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 99999; display: grid; gap: 12px; padding: 14px 16px; background: var(--white); color: var(--text); font-size: 0.875rem; line-height: 1.5; border: 1px solid var(--ink); border-radius: 3px; }
.evo-cc[hidden] { display: none; }
@media (min-width: 641px) { .evo-cc { right: auto; left: 18px; bottom: 18px; width: 360px; } }
.evo-cc__text { margin: 0; }
.evo-cc__link { color: var(--ink); text-underline-offset: 2px; }
.evo-cc__actions { display: flex; gap: 8px; }
.evo-cc__btn { appearance: none; -webkit-appearance: none; cursor: pointer; font: inherit; font-weight: 600; flex: 1 1 0; min-height: 42px; padding: 0 14px; border-radius: 2px; border: 1px solid var(--ink); }
.evo-cc__btn--yes { background: var(--ink); color: #fff; }
.evo-cc__btn--no { background: var(--white); color: var(--ink); }


/* component overrides in the V5 system */
.panel { border-radius: 16px; border-color: var(--border); }
.wz { box-shadow: var(--shadow); }
.wz__h { font-family: var(--serif); }
.choice { border-radius: 12px; border-color: var(--border); }
.choice .intent__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--border-2); color: var(--teal); }
.choice .intent__icon svg { width: 22px; height: 22px; }
.choice[aria-pressed="true"] { border-color: var(--teal); box-shadow: inset 0 0 0 1px var(--teal); background: #F4F8F6; }
.input { border-radius: 10px; border-color: var(--border-2); }
.input:focus { outline: 2px solid var(--blue); border-color: var(--blue); }
.cb span { border-radius: 999px; }
.cb input:checked + span { border-color: var(--teal); color: var(--teal); box-shadow: inset 0 0 0 1px var(--teal); background: #F4F8F6; }
.check input { border-radius: 4px; border-color: #6A7A7E; }
.check input:checked { background: var(--teal); border-color: var(--teal); }
.wz__prog i.on { background: var(--teal); }
.wz .note, .note { display: flex; gap: 8px; font-size: 0.85rem; color: var(--muted); }
.wz .note svg, .note svg { width: 14px; height: 14px; flex: none; margin-top: 3px; }
.sum b { font-family: var(--sans); font-weight: 600; }
.pick { border-radius: 0; }
.pick[aria-pressed="true"] { box-shadow: inset 3px 0 0 var(--teal); background: #F4F8F6; }
.selected { border-radius: 12px; }
.market { border-radius: 16px; }
.market__map .leaflet-tile-pane { filter: none; }
.chip { border-radius: 999px; font-family: var(--sans); font-size: 0.72rem; }
.chip .dot { background: var(--teal); }
.kpis { border-top-color: var(--text); }
.kpi b, .rival__km, .rival__n, .rival__sub, .pick__meta, .source, .wz__count, .ring-label { font-family: var(--sans); }
.lf-you i { background: var(--teal); box-shadow: 0 0 0 1px var(--teal); }
.lf-rival i { background: var(--pin); }
.alert { border-radius: 10px; }
.ty__badge { border-color: var(--teal); color: var(--teal); }
.ty__steps li::before { font-family: var(--sans); color: var(--teal); }
.ty__card .h2 { font-family: var(--serif); }
.faq { border-top-color: var(--text); }
.faq summary { font-family: var(--sans); font-weight: 500; font-size: 1.02rem; }
.evo-cc { border-radius: 14px; border-color: var(--border-2); box-shadow: var(--shadow); }
.evo-cc__btn { border-radius: 999px; }
.evo-cc__btn--yes { background: var(--teal); border-color: var(--teal); }
.dock { background: rgba(248, 248, 245, 0.97); }
.hdr__tag { display: none; }

/* ---- refinements after side-by-side #1 ---- */
.hdr__brand img { height: 30px; }
@media (min-width: 1000px) {
  .hero { overflow: visible; z-index: 2; }
  .hero__bg img { width: 128%; max-width: none; margin-left: -28%; object-position: 60% 28%; }
  .hero__in { min-height: 690px; }
  .dash { bottom: -28px; }
  .dash__map { min-height: 228px; }
  #paths { padding-top: 92px; }
}
@media (min-width: 1000px) { .sec { padding: 80px 0; } .sec--ruled { padding-top: 0; } .sec--ruled > .wrap { padding-top: 56px; } }
.webx__copy .h2, .compx .h2 { max-width: none; font-size: clamp(2rem, 3.1vw, 2.6rem); }
.phone { width: 250px; }
.ps__img { height: 170px; }
.compx__canvas .leaflet-tile-pane, .dash__map .leaflet-tile-pane { filter: saturate(0.5) brightness(1.05) contrast(0.95); }
.hand--how { display: none; }
@media (min-width: 900px) { .hand--how { display: grid; justify-items: end; } .hand--how .hand__arr--side { margin: 2px 30px 0 0; } }
@media (min-width: 1000px) {
  .final { min-height: 360px; }
  .final__photo { width: 44%; }
  .final .h2 { max-width: none; font-size: clamp(2.2rem, 3.2vw, 2.85rem); }
  .final__in { padding-top: 64px; padding-bottom: 64px; }
}

/* ---- refinements after side-by-side #2 ---- */
@media (min-width: 1000px) {
  .hero__bg img { width: 113%; margin-left: -13%; object-position: 50% 18%; }
  .hdr { background: transparent; }
  .hdr.is-stuck { background: rgba(248, 248, 245, 0.97); }
}
.pcard__title h3 { font-size: clamp(1.25rem, 1.7vw, 1.5rem); }
.pcard__cat { font-size: 0.74rem; }
.pcard__desc { font-size: 0.98rem; }
.pcard__amt { font-size: 2rem; }
.pcard__custom { font-size: 1.1rem; }
.pcard__small { font-size: 0.8rem; }
@media (min-width: 1000px) { .paths { gap: 22px; } .pcard { padding: 14px; } .pcard__body { padding: 18px 8px 8px; gap: 14px; } }
@media (min-width: 1000px) {
  .hero, .hero__in { min-height: 640px; }
  .hero__in { padding-top: 64px; padding-bottom: 44px; }
  .dash { bottom: -14px; }
  .cred { flex-wrap: nowrap; width: max-content; gap: 26px; }
  .cred li { font-size: 0.78rem; }
}
@media (min-width: 1000px) { .hero__copy .h1 { max-width: 11.5ch; } }
.laptop__base { margin: 0 -3%; }
@media (min-width: 1000px) { .laptop__base { margin: 0 -6%; } }
/* mobile hero: copy, then photo, then the dashboard card overlapping the photo's lower edge */
@media (max-width: 999px) {
  .hero { display: flex; flex-direction: column; padding-bottom: 36px; }
  .hero__in { display: contents; }
  .hero__copy { order: 1; padding: 24px var(--gutter) 28px; }
  .hero__bg { order: 2; height: 300px; }
  .hero__bg img { object-position: 64% 22%; }
  .dash { order: 3; margin: -90px var(--gutter) 0; }
  .hand--hero { display: none; }
}
.ftr__bottom a { text-decoration: underline; text-underline-offset: 3px; }

/* ---- laptop range (1024–1439): the copy column stops short of the dashboard card ---- */
@media (min-width: 1000px) {
  .hero { --dash-w: 540px; }
  .dash { width: var(--dash-w); }
  .hero__copy { max-width: min(620px, calc(100% - var(--dash-w) - 48px)); }
  .cred { flex-wrap: wrap; width: auto; gap: 10px 22px; }
}
@media (min-width: 1000px) and (max-width: 1439px) {
  .hero { --dash-w: clamp(420px, 37vw, 520px); }
  .hero__copy .h1 { font-size: clamp(2.6rem, 4.6vw, 4.1rem); }
  .dash__map { min-height: 200px; }
}



/* ---------- drawn illustrative maps (hero card + competitors), V5 teal ---------- */
.scan { position: relative; overflow: hidden; background: #EEF3F1; contain: layout paint; }
.scan svg.scan__map { position: absolute; inset: 0; width: 100%; height: 100%; }
.scan__sweep { position: absolute; left: 50%; top: 50%; width: 160%; aspect-ratio: 1; margin: -80% 0 0 -80%; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(7, 59, 56, 0) 0deg, rgba(7, 59, 56, 0) 300deg, rgba(31, 155, 142, 0.18) 356deg, rgba(7, 59, 56, 0) 360deg);
  opacity: 0; pointer-events: none; }
.scan.is-scanning .scan__sweep { animation: sweep 1700ms linear forwards; }
@keyframes sweep { 0% { transform: rotate(-90deg); opacity: 0; } 10% { opacity: 1; } 85% { opacity: 1; } 100% { transform: rotate(270deg); opacity: 0; } }
.mk { cursor: pointer; }
.mk circle.hit { fill: transparent; }
.mk .core { transition: transform 160ms var(--ease-out); transform-box: fill-box; transform-origin: center; }
.mk-rival .core { fill: var(--pin); stroke: #fff; stroke-width: 1.6; }
.mk-named .ring { fill: rgba(47, 111, 208, 0.14); stroke: none; transition: transform 160ms var(--ease-out); transform-box: fill-box; transform-origin: center; }
.mk-you .core { fill: var(--teal); stroke: #fff; stroke-width: 2.2; }
.mk-you .halo { fill: none; stroke: var(--teal); stroke-opacity: 0.45; }
.mk.is-active .core { stroke: var(--text); transform: scale(1.25); }
.mk.is-active .ring { transform: scale(1.4); }
.reveal-mk { opacity: 0; }
.scan.is-ready .reveal-mk { opacity: 1; transition: opacity 220ms var(--ease-out); transition-delay: var(--d, 0ms); }
.demand-pulse { transform-box: fill-box; transform-origin: center; }
.scan.is-live .demand-pulse { animation: dpulse 3200ms var(--ease-out) infinite; animation-delay: var(--pd, 0ms); }
@keyframes dpulse { 0% { transform: scale(0.6); opacity: 0.7; } 70%, 100% { transform: scale(1.5); opacity: 0; } }
.scan__tip { position: absolute; z-index: 3; transform: translate(-50%, calc(-100% - 12px)); opacity: 0; pointer-events: none; background: #fff;
  border: 1px solid var(--border); border-radius: 8px; padding: 6px 10px; font-size: 0.75rem; line-height: 1.35; white-space: nowrap; box-shadow: var(--shadow);
  transition: opacity 140ms var(--ease-out); }
.scan__tip.is-open { opacity: 1; }
.scan__tip b { display: block; font-weight: 600; color: var(--text); }
.scan__tip span { color: var(--muted); font-size: 0.7rem; }
.map-ill { position: absolute; left: 8px; bottom: 8px; z-index: 2; padding: 2px 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.9); border: 1px solid var(--border);
  font-size: 0.66rem; color: var(--muted); pointer-events: none; }
.compx__canvas { height: 300px; }
@media (min-width: 1100px) { .compx__canvas { height: 320px; } }
.lg--demand i { background: radial-gradient(#1F9B8E, rgba(47, 179, 163, 0.25)); width: 12px; height: 12px; }
.nearby li[data-i] { cursor: pointer; border-radius: 8px; transition: background-color 160ms ease; }
.nearby li[data-i]:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.nearby li.is-active { background: var(--sage); }
@media (hover: hover) and (pointer: fine) { .nearby li[data-i]:hover { background: #F2F6F4; } }

/* ---------- "From evidence to action": ECG trace through the steps ---------- */
.steps-wrap { position: relative; }
.steps__ecg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 0; }
.steps__line { fill: none; stroke: var(--teal); stroke-opacity: 0.55; stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.steps-wrap.is-in .steps__line { transition: stroke-dashoffset 1600ms cubic-bezier(0.77, 0, 0.175, 1); stroke-dashoffset: 0; }
.steps__dot { opacity: 0; transition: opacity 300ms ease; }
.steps__dot circle { fill: #1F9B8E; }
.steps__dot .halo { fill-opacity: 0.2; }
.steps-wrap.is-live .steps__dot { opacity: 1; }
.steps { position: relative; z-index: 1; }
.step::before, .step::after { display: none !important; }
.step__n { background: #fff; }

/* ---------- floating medical icons ---------- */
.floaters { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.floater { position: absolute; width: var(--s); height: var(--s); color: var(--teal); opacity: 0.16;
  animation: drift var(--t) ease-in-out var(--delay) infinite alternate; }
@keyframes drift { from { transform: translate3d(0, 0, 0) rotate(0deg); } to { transform: translate3d(var(--dx), var(--dy), 0) rotate(var(--r)); } }
.floater--t1, .floater--t2 { display: none; }
@media (min-width: 1100px) { .floater--t1 { display: block; } }
@media (min-width: 1200px) { .floater--t2 { display: block; } }
.center-head .floaters { inset: 0; }
.is-off .floater { animation-play-state: paused; }
.final .floater { color: #fff; opacity: 0.18; }
.final .floaters { z-index: 1; }
.final__in { z-index: 2; }
@media (max-width: 999px) { .hero > .floaters { display: none; } }

@media (prefers-reduced-motion: reduce) {
  .floater, .scan.is-live .demand-pulse, .scan.is-scanning .scan__sweep { animation: none; }
  .scan.is-ready .reveal-mk { transition: none; }
  .steps__line, .steps-wrap.is-in .steps__line { transition: none; stroke-dashoffset: 0; }
  .steps__dot { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:active { transform: none; }
  .btn, .hdr, .inc__grid li, .dock, .finding-card__btn .arr { transition: none; }
  .spinner { animation-duration: 1600ms; }
}
@media print { .hdr, .dock, .evo-cc { display: none; } }
