/* The Mobile Doctor: public site.
 * Flat and typographic. Solid colours, hairline rules, small radii, no shadows,
 * no gradients, no webfonts, no third-party requests. */

:root {
  color-scheme: light;
  --ink: #0a0a0a; --ink-2: #141414; --ink-3: #1f1f1f;
  --line: #e0e6ea; --bg: #fff; --bg-2: #f3f8fb;
  --brand: #0070ac; --brand-d: #005a8c; --brand-soft: #e7f2f9; --teal: #00a5c2; --teal-soft: #e6f6f9;
  --red: #d6382b; --red-d: #b52c21;
  --r: 6px; --max: 1200px;
  --font: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body.site { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: clip; }
:where(.site) :where(a) { color: inherit; text-decoration: none; }
.site img, .site svg { max-width: 100%; }
.ico { width: 1.1rem; height: 1.1rem; flex: none; }
.wrap { width: min(var(--max), 100% - 32px); margin-inline: auto; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: var(--r); font: inherit; font-weight: 600; font-size: .97rem; border: 1px solid transparent; cursor: pointer; white-space: nowrap; transition: background-color .15s, border-color .15s, transform .1s; }
.btn:active { transform: translateY(1px); }
.btn-primary { color: #fff; background: var(--brand); }
.btn-primary:hover { background: var(--brand-d); }
.btn-ghost { background: #fff; border-color: #c9cfd5; color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-sos { color: #fff; background: var(--red); }
.btn-sos:hover { background: var(--red-d); }
.btn-light { background: #fff; color: var(--brand-d); }
.btn-light:hover { background: var(--bg-2); }
.btn-outline-light { color: #fff; border-color: rgba(255,255,255,.55); }
.btn-outline-light:hover { border-color: #fff; }
.btn-sm { min-height: 36px; padding: 0 13px; font-size: .9rem; }

/* Hero */
.hero { padding: clamp(24px, 4vw, 48px) 0 clamp(24px, 4vw, 40px); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(24px, 5vw, 60px); align-items: start; }
h1.display { font-size: clamp(2.3rem, 5vw, 3.7rem); line-height: 1.04; letter-spacing: -.03em; margin: 0 0 14px; font-weight: 700; }
.lead { font-size: clamp(1.02rem, 1.5vw, 1.15rem); color: var(--ink-2); max-width: 48ch; margin: 0 0 20px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; }
.sos-line { margin: 14px 0 0; color: var(--ink-3); font-size: .93rem; }
.sos-line a { color: var(--red-d); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* Finder (interactive) */
.finder { border: 1px solid var(--ink); border-radius: var(--r); background: #fff; }
.finder-h { padding: 12px 14px 0; }
.finder-h h2 { margin: 0 0 2px; font-size: 1.05rem; }
.finder-h p { margin: 0; color: var(--ink-3); font-size: .9rem; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 14px; }
.chip { font: inherit; font-size: .9rem; font-weight: 550; padding: 6px 12px; border: 1px solid #c9cfd5; border-radius: 999px; background: #fff; color: var(--ink-2); cursor: pointer; transition: background-color .12s, border-color .12s, color .12s; }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip.sos[aria-pressed="true"] { background: var(--red); border-color: var(--red); }
.finder-bar { display: flex; gap: 8px; padding: 0 14px 12px; flex-wrap: wrap; align-items: center; }
.finder-bar .note { color: var(--ink-3); font-size: .85rem; flex: 1; min-width: 12em; }
.results { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); min-height: 168px; max-height: 288px; overflow: auto; }
.results li { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.results li:last-child { border-bottom: 0; }
.results .t { flex: 1; min-width: 0; }
.results b { display: block; font-size: .95rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.results small { color: var(--ink-3); font-size: .84rem; text-transform: capitalize; }
.results .d { color: var(--ink-2); font-size: .88rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.results .call { color: var(--brand); font-weight: 600; font-size: .88rem; }
.results .call:hover { text-decoration: underline; }
.results .msg { display: block; padding: 18px 14px; color: var(--ink-2); font-size: .94rem; }
.results .msg a { color: var(--brand); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.skel { height: 14px; border-radius: 3px; background: var(--bg-2); animation: pulse 1.1s ease-in-out infinite alternate; }
@keyframes pulse { to { opacity: .45; } }

/* Sections */
section.s { padding: clamp(24px, 4vw, 44px) 0; }
section.alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.kicker { margin: 0 0 6px; color: var(--ink-3); font-weight: 600; font-size: .82rem; letter-spacing: .05em; text-transform: uppercase; }
h2.title { font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1.12; letter-spacing: -.02em; margin: 0 0 8px; font-weight: 700; max-width: 24ch; }
.sub { color: var(--ink-2); font-size: 1rem; max-width: 58ch; margin: 0; }
.head { margin-bottom: clamp(14px, 2.5vw, 22px); }

.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); }
.fact { padding: 12px 16px; border-left: 1px solid var(--line); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact b { display: block; font-size: .95rem; } .fact small { color: var(--ink-3); font-size: .85rem; }

/* Services: interactive rows */
.list2 { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(20px, 5vw, 56px); border-top: 1px solid var(--ink); }
.item { display: block; padding: 12px 4px; border-bottom: 1px solid var(--line); transition: background-color .12s, padding .12s; }
a.item:hover { background: var(--bg-2); padding-left: 10px; }
.item h3 { margin: 0 0 2px; font-size: 1rem; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.item h3 .go .ico { color: var(--ink); opacity: 0; transition: opacity .12s; }
a.item:hover h3 .go .ico { opacity: 1; }
.item p { margin: 0; color: var(--ink-2); font-size: .94rem; }
.item.red h3 { color: var(--red-d); }

/* Emergency band */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 5vw, 56px); align-items: start; }
.steps-v { list-style: none; margin: 0; padding: 0; counter-reset: s; border-top: 1px solid var(--ink); }
.steps-v li { counter-increment: s; display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.steps-v li::before { content: ""; flex: none; width: 8px; height: 8px; margin: .5em .6em 0 .2em; border-radius: 50%; background: var(--brand); }
.steps-v b { color: var(--ink); }

/* Numbered columns */
.nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 4vw, 40px); counter-reset: n; }
.num { counter-increment: n; border-top: 1px solid var(--ink); padding-top: 10px; }
.num::before { content: none; }
.num h3 { margin: 0 0 4px; font-size: 1.1rem; } .num p { margin: 0; color: var(--ink-2); }

/* Audience tabs (interactive) */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.tab { font: inherit; font-weight: 600; font-size: .95rem; padding: 10px 14px; border: 0; background: none; color: var(--ink-3); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--brand); }
.panel-t { padding: 16px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 5vw, 56px); align-items: start; }
.panel-t[hidden] { display: none; }
.panel-t h3 { margin: 0 0 6px; font-size: 1.3rem; letter-spacing: -.01em; }
.panel-t p { margin: 0 0 12px; color: var(--ink-2); max-width: 46ch; }
.panel-t ul { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.panel-t li { padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); display: flex; gap: 10px; align-items: flex-start; }
.panel-t li .ico { margin-top: 3px; color: var(--brand); width: 1rem; height: 1rem; }

.stats { display: flex; flex-wrap: wrap; gap: 8px 40px; }
.stat b { display: block; font-size: 1.8rem; letter-spacing: -.02em; line-height: 1.1; font-variant-numeric: tabular-nums; } .stat span { color: var(--ink-3); font-size: .9rem; }

.logos { display: flex; flex-wrap: wrap; gap: 8px; }
.logo-tile { display: grid; place-items: center; width: 150px; height: 60px; padding: 8px 12px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.logo-tile:hover { border-color: var(--ink); }
.logo-tile img { max-height: 100%; object-fit: contain; }
.empty-note { color: var(--ink-3); margin: 0; }

/* FAQ */
.faq { max-width: 760px; border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 13px 0; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; }
.faq summary:hover { color: var(--brand); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; font-size: 1.3rem; line-height: 1; color: var(--ink-3); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0 0 13px; color: var(--ink-2); max-width: 62ch; }

/* Closing */
.closing { background: var(--brand); color: #fff; border-radius: var(--r); padding: clamp(20px, 4vw, 32px); display: flex; flex-wrap: wrap; gap: 14px 32px; align-items: center; justify-content: space-between; }
.closing h2 { margin: 0 0 4px; font-size: clamp(1.4rem, 2.6vw, 1.9rem); letter-spacing: -.02em; line-height: 1.15; }
.closing p { margin: 0; color: #d6e8f6; }

.disclaimer { margin-top: 14px; padding: 10px 14px; border: 1px solid #e3d9b8; background: #fbf7e8; color: #5d4a0a; border-radius: var(--r); font-size: .9rem; }

/* About */
.page-hero { padding: clamp(24px, 4vw, 44px) 0 clamp(16px, 3vw, 26px); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.3rem); line-height: 1.05; letter-spacing: -.03em; margin: 0 0 10px; font-weight: 700; max-width: 18ch; }
.arow { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(16px, 5vw, 56px); padding: 16px 0; border-top: 1px solid var(--line); }
.arow.first { border-top: 1px solid var(--ink); }
.arow h2 { margin: 0; font-size: clamp(1.25rem, 2.2vw, 1.6rem); letter-spacing: -.02em; line-height: 1.15; font-weight: 700; }
.arow p { margin: 0 0 8px; color: var(--ink-2); max-width: 60ch; }
.checks { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 4px; }
.checks li { display: flex; gap: 9px; align-items: flex-start; color: var(--ink-2); }
.checks .ico { margin-top: 4px; width: 1rem; height: 1rem; color: var(--brand); }


@media (max-width: 960px) {
  .hero-grid, .split, .arow, .panel-t { grid-template-columns: minmax(0, 1fr); }
  .list2, .nums { grid-template-columns: minmax(0, 1fr); }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(odd) { border-left: 0; padding-left: 0; }
}
@media (max-width: 520px) {
  .btn { width: 100%; }
  .finder-bar .btn { width: auto; }
  .cta-row { flex-direction: column; }
  .fact small { display: none; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } html { scroll-behavior: auto; } }

/* ---------- Brand layer ---------- */

/* Hero: full-bleed brand blue */
.hero { background: var(--brand); color: #fff; border-bottom: 0; padding: clamp(28px, 5vw, 60px) 0 clamp(32px, 5vw, 56px); }
.hero h1.display { color: #fff; }
.hero .lead { color: #d7eaf6; }
.hero .btn-primary { background: #fff; color: var(--brand-d); }
.hero .btn-primary:hover { background: var(--bg-2); }
.hero .btn-ghost { background: transparent; border-color: rgba(255,255,255,.6); color: #fff; }
.hero .btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.hero .sos-line { color: #fff; }
.hero .sos-line a { color: #fff; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 18px 0 0; padding: 0; list-style: none; color: #e4f1f9; font-size: .92rem; font-weight: 500; }
.hero-badges li { display: inline-flex; align-items: center; gap: 7px; }
.hero-badges .ico { color: #7fd8e8; }
.finder { border-color: transparent; }
.chip[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); }
.facts { background: #fff; }
.fact .ico { color: var(--teal); margin-bottom: 4px; display: block; }

/* Service rows get a teal icon */
.item h3 { justify-content: flex-start; }
.item h3 .lead-ico { color: var(--teal); }
.item.red h3 .lead-ico { color: var(--red); }
.item h3 .go { margin-left: auto; }
a.item:hover h3 { color: var(--brand); }

/* Photo bands */
.photo { margin: 0; border-radius: 8px; overflow: hidden; background: var(--bg-2); }
.photo img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.band { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 5vw, 56px); align-items: center; }
.band.rev .photo { order: 2; }
.tag-red { display: inline-block; background: var(--red); color: #fff; font-size: .75rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 3px 9px; border-radius: 3px; margin-bottom: 8px; }
.tag-teal { display: inline-block; background: var(--teal-soft); color: #00778c; font-size: .75rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 3px 9px; border-radius: 3px; margin-bottom: 8px; }
section.alt { background: var(--bg-2); }
.closing { background: var(--brand); }
@media (max-width: 960px) {
  .band { grid-template-columns: minmax(0, 1fr); }
  .band.rev .photo { order: 0; }
}

/* ---------- Small type, sitewide ---------- */
html { font-size: 14px; }
h1.display { font-size: clamp(2rem, 3.8vw, 2.9rem); line-height: 1.08; letter-spacing: -.025em; margin: 0 0 10px; max-width: none; }
.page-hero h1 { font-size: clamp(2rem, 3.8vw, 2.9rem); }
.lead { font-size: 1.05rem; margin: 0 0 16px; max-width: 44ch; }
h2.title { font-size: clamp(1.4rem, 2.4vw, 1.85rem); margin-bottom: 6px; }
.sub { font-size: .98rem; }
.btn { min-height: 40px; padding: 0 16px; font-size: .95rem; }
.btn-sm { min-height: 34px; padding: 0 12px; font-size: .9rem; }
.item p, .num p, .faq details p, .panel-t p { font-size: .95rem; }

/* ---------- Hero fixes ---------- */
.hero { padding: 26px 0 30px; }
.hero-grid { align-items: center; }
.hero .lead { color: #fff; opacity: .92; }
.hero-badges { color: #fff; margin-top: 16px; font-size: .95rem; }
.hero-badges .ico { color: #fff; }
/* the finder is a white card inside the blue hero: it must not inherit the hero's white text */
.finder { color: var(--ink); background: #fff; }
.finder .btn-ghost { background: #fff; border-color: #b5bcc3; color: var(--ink); }
.finder .btn-ghost:hover { border-color: var(--ink); background: #fff; }
.finder-h h2 { color: var(--ink); }
.finder-h p, .finder-bar .note { color: var(--ink-2); text-align: left; }
.results b { color: var(--ink); }
.results small { color: var(--ink-2); }
.results { min-height: 150px; max-height: 270px; }

.hero-photo { margin: 18px 0 0; border-radius: 8px; overflow: hidden; max-width: 520px; }
.hero-photo img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }


/* ================= Split-screen hero (dark | brand blue) with the nurse across the middle ================= */
.hero2 { position: relative; overflow: hidden; background: #0c0e10; color: #fff; height: clamp(520px, 43vw, 620px); }
.h2-l, .h2-r { position: absolute; top: 0; bottom: 0; }
.h2-l { left: 0; width: 50%; background: #0c0e10; }
.h2-r { right: 0; width: 50%; background: var(--brand); }
.h2-l::before, .h2-r::before { content: ""; position: absolute; inset: 0; background: url("/assets/img/ambulance-sunset-1200.jpg") center / cover no-repeat; }
.h2-l::before { filter: grayscale(1) brightness(.42) contrast(1.15); }
.h2-r::before { background-position: 70% center; mix-blend-mode: luminosity; opacity: .28; }
.h2-in { position: relative; z-index: 2; width: min(1200px, 100% - 32px); height: 100%; margin-inline: auto; display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
.h2-copy { padding-right: 250px; }
.h2-kicker { margin: 0 0 12px; color: #4fd3e6; font-size: .95rem; font-weight: 600; letter-spacing: .01em; }
.hero2 h1 { margin: 0; font-size: clamp(2.1rem, 3.6vw, 3.1rem); line-height: 1.06; letter-spacing: -.025em; font-weight: 700; max-width: 7.6em; color: #fff; }
.h2-side { padding-left: 250px; max-width: 480px; }
.h2-count { display: flex; align-items: baseline; gap: 2px; margin-bottom: 18px; }
.h2-count b { font-size: 2rem; font-weight: 500; line-height: 1; font-variant-numeric: tabular-nums; }
.h2-count span { font-size: .85rem; opacity: .75; }
.h2-slides { min-height: 92px; }
.h2-slide p { margin: 0 0 14px; font-size: .95rem; line-height: 1.7; color: #fff; }
.h2-slide[hidden] { display: none; }
.h2-slide.is-on { animation: h2in .45s ease both; }
@keyframes h2in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.h2-more, .h2-link { display: inline-block; color: #fff; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding-bottom: 4px; border-bottom: 1px solid rgba(255,255,255,.7); }
.h2-more:hover, .h2-link:hover { border-bottom-color: #fff; }
.h2-ctas { display: flex; align-items: center; gap: 18px; margin-top: 22px; }
.btn-pill { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 22px; border-radius: 999px; background: #fff; color: var(--brand-d); font-size: .92rem; font-weight: 700; transition: background-color .15s, transform .1s; }
.btn-pill:hover { background: #e9f3f9; }
.btn-pill:active { transform: translateY(1px); }
.h2-nurse { position: absolute; z-index: 1; left: 50%; bottom: 0; transform: translateX(-50%); height: 94%; width: auto; pointer-events: none; }
.h2-nurse img { display: block; height: 100%; width: auto; max-width: none; }
.h2-trust { position: absolute; z-index: 2; left: max(16px, calc((100% - 1200px) / 2)); bottom: 22px; margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; font-size: .85rem; color: #fff; }
.h2-trust li { display: flex; align-items: center; gap: 8px; }
.h2-place { position: absolute; z-index: 2; right: max(16px, calc((100% - 1200px) / 2)); bottom: 22px; font-size: .8rem; color: #fff; opacity: .85; }

@media (max-width: 960px) {
  .hero2 { height: auto; padding: 28px 0 74px; background: var(--brand); }
  .h2-l { display: none; }
  .h2-r { width: 100%; }
  .h2-in { grid-template-columns: minmax(0, 1fr); gap: 18px; align-items: start; }
  .h2-copy, .h2-side { padding: 0; max-width: none; }
  .h2-nurse { display: none; }
  .h2-trust { position: relative; z-index: 2; left: auto; bottom: auto; margin: 18px 16px 0; flex-direction: row; flex-wrap: wrap; gap: 6px 16px; }
  .h2-place { display: none; }
}


/* ---------- Forms on site pages (contact, partners) ---------- */
.card-form { display: grid; gap: 14px; padding: 20px; border: 1px solid var(--ink); border-radius: 8px; background: #fff; }
.card-form h2 { margin: 0; font-size: 1.25rem; letter-spacing: -.01em; }
.muted { color: var(--ink-2); font-size: .88rem; margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fld { position: relative; }
.fld input, .fld textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: #fff; border: 1px solid #b5bcc3; border-radius: 6px; padding: 22px 12px 8px; min-height: 50px; transition: border-color .12s; resize: vertical; }
.fld textarea { min-height: 116px; }
.fld input:focus, .fld textarea:focus { outline: none; border-color: var(--ink); box-shadow: none; }
.fld label { position: absolute; left: 13px; top: 15px; font-size: .95rem; color: var(--ink-2); pointer-events: none; transform-origin: left top; transition: transform .12s, color .12s; }
.fld input:focus ~ label, .fld input:not(:placeholder-shown) ~ label, .fld textarea:focus ~ label, .fld textarea:not(:placeholder-shown) ~ label, .fld-file label { transform: translateY(-10px) scale(.78); }
.fld input:focus ~ label, .fld textarea:focus ~ label { color: var(--ink); }
.fld-file input { padding-top: 26px; cursor: pointer; font-size: .9rem; }
.fld-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.card-form .btn { width: 100%; }
.card-form a { color: var(--ink); }
@media (max-width: 520px) { .fld-row { grid-template-columns: 1fr; } }

/* ---------- Long-form legal text ---------- */
.legal { max-width: 760px; padding: 28px 0 40px; color: var(--ink); line-height: 1.7; }
.legal h1 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); letter-spacing: -.02em; line-height: 1.1; margin: 0 0 6px; }
.legal h2 { font-size: 1.25rem; letter-spacing: -.01em; margin: 28px 0 8px; padding-top: 18px; border-top: 1px solid var(--line); }
.legal h3 { font-size: 1.02rem; margin: 18px 0 4px; }
.legal p, .legal li { color: var(--ink); }
.legal ul, .legal ol { padding-left: 1.3em; margin: 8px 0; }
.legal a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.legal table { width: 100%; border-collapse: collapse; margin: 10px 0; font-size: .92rem; }
.legal th, .legal td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.notice-red { margin: 16px 0; padding: 11px 14px; border: 1px solid #f0c4c1; background: #fdeeed; color: #5a1410; border-radius: 6px; font-size: .92rem; }


/* ================= Hero v2: bigger, dynamic ================= */
.hero2 { height: clamp(620px, 52vw, 760px); }
.h2-bgs { position: absolute; top: 0; bottom: 0; overflow: hidden; }
.h2-bgs.h2-l { left: 0; width: 50%; background: #0c0e10; }
.h2-bgs.h2-r { right: 0; width: 50%; background: var(--brand); }
.h2-bgs i { position: absolute; inset: -16px; background-size: cover; background-position: center; opacity: 0; transition: opacity .9s ease; will-change: transform; }
.h2-bgs i.on { opacity: 1; }
.h2-l i { filter: grayscale(1) brightness(.42) contrast(1.15); }
.h2-r i { mix-blend-mode: luminosity; }
.h2-r i.on { opacity: .2; }
.h2-l::before, .h2-r::before { display: none; }

.h2-copy { padding-right: 330px; position: relative; min-height: 260px; display: flex; align-items: center; }
.h2-cs { position: absolute; left: 0; right: 330px; }
.h2-cs[hidden] { display: none; }
.h2-cs.is-on { animation: h2up .6s cubic-bezier(.2,.7,.2,1) both; }
@keyframes h2up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.h2-kicker { font-size: 1.15rem; margin: 0 0 14px; }
.hero2 h1, .h2-h { margin: 0; font-size: clamp(2.7rem, 4.8vw, 4.1rem); line-height: 1.04; letter-spacing: -.03em; font-weight: 700; color: #fff; max-width: 7.2em; }

.h2-side { padding-left: 330px; max-width: 600px; }
.h2-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 10px; }
.h2-count b { font-size: 2.8rem; font-weight: 500; }
.h2-count span { font-size: 1rem; }
.h2-arrows { display: flex; gap: 6px; }
.h2-arrow { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.55); background: transparent; color: #fff; display: grid; place-items: center; cursor: pointer; transition: background-color .15s, border-color .15s; }
.h2-arrow:hover { background: rgba(255,255,255,.16); border-color: #fff; }
.h2-arrow:first-child svg { transform: rotate(180deg); }
.h2-bar { height: 2px; background: rgba(255,255,255,.28); margin-bottom: 18px; overflow: hidden; }
.h2-bar span { display: block; height: 100%; width: 0; background: #fff; }
.h2-bar span.run { animation: h2bar var(--h2-dur, 7s) linear forwards; }
@keyframes h2bar { from { width: 0; } to { width: 100%; } }
.hero2.is-paused .h2-bar span { animation-play-state: paused; }
.h2-slides { min-height: 130px; position: relative; }
.h2-slide p { font-size: 1.12rem; line-height: 1.65; margin: 0 0 16px; }
.h2-slide[hidden] { display: none; }
.h2-more, .h2-link { font-size: .85rem; }
.btn-pill { min-height: 48px; padding: 0 28px; font-size: 1rem; }
.h2-ctas { margin-top: 22px; }

.h2-nurse { height: 100%; bottom: 0; left: 50%; transform: translateX(-50%); animation: h2nurse .9s cubic-bezier(.2,.7,.2,1) both; }
.h2-nurse img { transition: transform .25s ease-out; will-change: transform; }
@keyframes h2nurse { from { opacity: 0; transform: translateX(-50%) translateY(30px); } to { opacity: 1; transform: translateX(-50%); } }

.h2-trust { font-size: .95rem; gap: 8px; bottom: 28px; }
.h2-place { font-size: .88rem; bottom: 30px; }

/* ================= Live availability band ================= */
.live { padding: 36px 0 28px; background: #fff; }
.live-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 8px 24px; margin-bottom: 18px; }
.live-head .title { margin: 0; }
.live-at { margin: 0; color: var(--ink-2); font-size: .88rem; }
.live-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); }
.live-card { display: flex; flex-direction: column; gap: 2px; padding: 18px 20px 16px; border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background-color .15s; }
.live-card:first-child { border-left: 0; padding-left: 0; }
.live-card:hover { background: var(--bg-2); }
.live-ico { color: var(--teal); margin-bottom: 8px; }
.live-ico .ico { width: 1.5rem; height: 1.5rem; }
.live-n { font-size: clamp(2.6rem, 4.6vw, 3.6rem); font-weight: 700; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; color: var(--brand); }
.live-l { font-size: 1rem; font-weight: 600; margin-top: 4px; }
.live-cta { margin-top: 10px; display: inline-flex; align-items: center; gap: 6px; font-size: .88rem; font-weight: 600; color: var(--brand); }
.live-card:hover .live-cta { text-decoration: underline; text-underline-offset: 3px; }
.live-n.bump { animation: bump .6s ease; }
@keyframes bump { 40% { transform: scale(1.08); } }

@media (max-width: 960px) {
  .hero2 { height: auto; }
  .h2-bgs.h2-l { display: none; }
  .h2-bgs.h2-r { width: 100%; }
  .h2-copy { padding: 0; min-height: 170px; }
  .h2-cs { right: 0; }
  .hero2 h1, .h2-h { font-size: clamp(2.2rem, 9vw, 3rem); max-width: 10em; }
  .h2-side { padding-left: 0; max-width: none; }
  .h2-count b { font-size: 2.2rem; }
  .h2-place { display: none; }
  .live-grid { grid-template-columns: repeat(2, 1fr); }
  .live-card:nth-child(odd) { border-left: 0; padding-left: 0; }
}
@media (prefers-reduced-motion: reduce) { .h2-nurse, .h2-cs.is-on { animation: none; } .h2-bgs i { transition: none; } }

/* widths tuned for the larger nurse */
.h2-copy { padding-right: 300px; }
.h2-cs { right: 300px; }
.h2-side { padding-left: 300px; max-width: none; }
.btn-pill, .h2-link, .h2-more { white-space: nowrap; }
@media (max-width: 960px) { .h2-copy { padding: 0; } .h2-cs { right: 0; } .h2-side { padding-left: 0; } }
@media (max-width: 960px) { .h2-trust { bottom: auto; margin-top: 22px; } .hero2 { padding-bottom: 36px; } }

/* ---- Nurse zoomed in; the bottom of the photo is cropped by the hero edge ---- */
@media (min-width: 961px) {
  .hero2 { height: clamp(600px, 46vw, 700px); }
  .h2-nurse { top: 2%; bottom: auto; height: 136%; }
  .h2-nurse img { height: 100%; }
  .h2-copy { padding-right: 345px; }
  .h2-cs { right: 345px; }
  .h2-side { padding-left: 345px; }
  .hero2 h1, .h2-h { font-size: clamp(2.4rem, 4.2vw, 3.6rem); }
  .h2-slide p { font-size: 1.05rem; }
}


/* ================= Hero: giant wordmark behind the nurse ================= */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hero2 h1.wm { position: absolute; z-index: 1; left: 0; right: 0; top: 50%; transform: translateY(-50%); margin: 0; text-align: center; font-weight: 800; text-transform: uppercase; line-height: .84; letter-spacing: -.045em; color: #fff; font-size: clamp(4.6rem, 13.4vw, 13.5rem); max-width: none; user-select: none; }
.wm-line { display: block; white-space: nowrap; }
/* hover: the letter lifts and lights up, its neighbours ripple */
.h2-nurse { z-index: 2; }


@media (max-width: 960px) {
  .hero2 { height: 300px; padding: 0; }
  .hero2 h1.wm { font-size: clamp(3.4rem, 17vw, 6.5rem); }
}


/* ---- Bigger, softer wordmark; calmer backdrop; single static photo ---- */
.hero2 h1.wm { font-size: clamp(6rem, 17.5vw, 21rem); color: rgba(255,255,255,.72); line-height: .82; }
.h2-l i { filter: grayscale(1) brightness(.62) contrast(.95); }
.h2-bgs.h2-l { background: #2a2e32; }
.h2-r i.on { opacity: .16; }
@media (max-width: 960px) { .hero2 h1.wm { font-size: clamp(3.8rem, 19vw, 7.5rem); } .hero2 { height: 330px; } }


/* ---- Hero: a single photo, a single colour across the full width ---- */
.h2-bgs.h2-one { left: 0; right: 0; width: 100%; background: var(--brand); }
.h2-one i { filter: none; mix-blend-mode: luminosity; opacity: .32; background-position: center 60%; }
.hero2 { background: var(--brand); }
.hero2 h1.wm { color: rgba(255,255,255,.8); }

/* ================= The app section ================= */
.appx { background: #fff; padding: clamp(28px, 4vw, 56px) 0 clamp(36px, 5vw, 72px); }
.appx-panel { position: relative; overflow: hidden; border-radius: 28px; height: clamp(560px, 46vw, 660px); color: #fff;
  background: linear-gradient(120deg, #2b8fe0 0%, #0a74b8 38%, #00507f 72%, #003a5e 100%); }
.appx-word { position: absolute; left: 0; right: 0; top: -2%; text-align: center; font-weight: 800; letter-spacing: -.04em; line-height: .9; white-space: nowrap; font-size: clamp(6rem, 21vw, 21rem); color: rgba(255,255,255,.11); user-select: none; pointer-events: none; }
.appx-stage { position: absolute; inset: 56px 0 0; display: flex; justify-content: center; align-items: flex-start; }
.appx-stage .phone { position: relative; flex: none; }
.appx-stage .phone-main { width: 270px; z-index: 2; transform: none; margin-top: 8px; }
.appx-stage .phone-back { position: relative; width: 230px; margin-left: -70px; margin-top: 56px; right: auto; top: auto; z-index: 1; transform: rotate(5deg); cursor: default; }
.appx-stage .phone-back:hover { z-index: 5; transform: rotate(0deg) translateX(-70px) scale(1.3); }
.appx-stage:has(.phone-back:hover) .phone-main { transform: translateX(-30px) scale(.97); }

/* feature cards: solid white, no glass */
.fc { position: absolute; z-index: 3; width: 226px; padding: 14px; border-radius: 14px; background: #fff; color: var(--ink); display: flex; gap: 12px; align-items: flex-start; outline: 2px solid transparent; transition: scale .3s cubic-bezier(.2,.8,.2,1), outline-color .25s; animation: fcfloat 8s ease-in-out infinite; }
.fc-ico { flex: none; width: 40px; height: 40px; border-radius: 10px; background: #e7f2f9; color: var(--brand); display: grid; place-items: center; }
.fc-ico .ico { width: 1.2rem; height: 1.2rem; }
.fc-t b { display: block; font-size: .98rem; line-height: 1.22; color: var(--ink); }
.fc-t > span { display: block; margin-top: 3px; font-size: .84rem; line-height: 1.4; color: var(--ink); }
.fc.on { outline-color: #4fd3e6; scale: 1.05; }
.fc.on .fc-ico { background: var(--brand); color: #fff; }
.fc-l1 { left: 5%;  top: 15%; } .fc-l2 { left: 9.5%; top: 41%; animation-delay: -2.5s; } .fc-l3 { left: 5%; top: 67%; animation-delay: -5s; }
.fc-r1 { right: 5%; top: 15%; animation-delay: -1.5s; } .fc-r2 { right: 9.5%; top: 41%; animation-delay: -4s; } .fc-r3 { right: 5%; top: 67%; animation-delay: -6.5s; }
@keyframes fcfloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
.appx-fm { display: none; }


/* feature switcher under the panel */
.appx-ctl { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin: 18px 0 8px; }
.app-pill { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; border: 1px solid #c9cfd5; background: #fff; font: inherit; font-size: .95rem; font-weight: 600; color: var(--ink); cursor: pointer; overflow: hidden; transition: background-color .2s, border-color .2s, color .2s; }
.app-pill:hover { border-color: var(--ink); }
.app-pill.is-on { background: var(--brand); border-color: var(--brand); color: #fff; }
.app-pill .ico { width: 1.05rem; height: 1.05rem; }
@keyframes appbar { to { width: 100%; } }
.appx-cap { text-align: center; margin: 0 auto; max-width: 56ch; min-height: 2.9em; font-size: .98rem; }

/* statement + stats */
.appx-about { text-align: center; padding-top: clamp(20px, 3vw, 36px); }
.appx-state { margin: 0 auto; max-width: 24em; font-size: clamp(1.6rem, 3.2vw, 2.5rem); line-height: 1.22; letter-spacing: -.02em; font-weight: 700; }
.appx-state em { font-style: normal; color: var(--brand); }
.appx-sub { margin: 14px auto 0; max-width: 52ch; font-size: 1rem; }
.appx-cta { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 14px 22px; margin-top: 20px; }
.app-stores { display: flex; align-items: center; gap: 8px; }

@media (max-width: 960px) {
  .appx-panel { height: 640px; border-radius: 22px; }
  .appx-stage .phone-main { width: 240px; }
  .appx-stage .phone-back { width: 190px; margin-left: -60px; }
}
@media (max-width: 640px) {
  .appx-panel { height: 560px; }
  .appx-stage .phone-back { display: none; }
  .appx-stage .phone-main { width: 230px; }
}
@media (prefers-reduced-motion: reduce) { .gc, .gc-ring::before, .gc-ring::after { animation: none; } .appx-stage .phone, .app-pill { transition: none; }  }
/* phone frame (shared by both mockups) */
.phone { position: relative; border-radius: 42px; padding: 11px; background: #0b0f14; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.phone-in { position: relative; border-radius: 32px; overflow: hidden; background: #fff; aspect-ratio: 390 / 876; }
.phone-in img { display: block; width: 100%; height: 100%; object-fit: cover; }
.phone-notch { position: absolute; z-index: 4; top: 17px; left: 50%; width: 82px; height: 22px; margin-left: -41px; border-radius: 12px; background: #0b0f14; }
.app-scr { position: absolute; inset: 0; opacity: 0; transform: scale(1.02); transition: opacity .5s ease, transform .6s ease; }
.app-scr.on { opacity: 1; transform: none; }
.app-scr picture, .app-scr img { display: block; width: 100%; height: 100%; }
.appx-stage .phone-back { order: 2; }
@media (prefers-reduced-motion: reduce) { .phone, .app-scr { transition: none; } }

/* status-bar area above the app screenshot so the notch never covers real content */
.phone-in { aspect-ratio: 390 / 876; }
.app-scr { top: 32px; }
.phone-back .phone-in img { margin-top: 32px; height: calc(100% - 32px); }


/* ---- Wordmark: soft spotlight that follows the cursor (text is clipped to a moving gradient) ---- */
.hero2 h1.wm { --mx: -9999px; --my: -9999px; --r: 0px;
  color: transparent;
  background: radial-gradient(circle calc(var(--r) + 1px) at var(--mx) var(--my), #fff 0%, rgba(255,255,255,.97) 30%, rgba(255,255,255,.44) 100%);
  background-color: rgba(255,255,255,.44);
  -webkit-background-clip: text; background-clip: text;
  animation: wmfade .9s ease both; }
@keyframes wmfade { from { opacity: 0; transform: translateY(calc(-50% + 18px)); } to { opacity: 1; transform: translateY(-50%); } }
@supports not ((-webkit-background-clip: text) or (background-clip: text)) { .hero2 h1.wm { color: rgba(255,255,255,.75); background: none; } }
@media (prefers-reduced-motion: reduce) { .hero2 h1.wm { animation: none; } }


/* ---- Back phone: hover to bring it to the front, zoomed ---- */
.phone-back { cursor: default; transition: transform .5s cubic-bezier(.2,.8,.2,1), opacity .3s; will-change: transform; }
.phone-back:hover { z-index: 5; transform: rotate(0deg) translateX(-96px) scale(1.34); opacity: 1; }
.app-stage:has(.phone-back:hover) .phone-main { transform: rotate(-4deg) translateX(-34px) scale(.97); }
.phone-back:hover .phone-in { box-shadow: 0 30px 60px -28px rgba(0,0,0,.45); }
@media (prefers-reduced-motion: reduce) { .phone-back:hover { transform: none; } }

@media (max-width: 1100px) { .fc { width: 200px; } .fc-l1, .fc-l3, .fc-r1, .fc-r3 { left: auto; } .fc-l1, .fc-l3 { left: 2.5%; } .fc-r1, .fc-r3 { right: 2.5%; } .fc-l2 { left: 5%; } .fc-r2 { right: 5%; } }
@media (max-width: 960px) {
  .fc { display: none; }
  .appx-fm { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; list-style: none; margin: 18px 0 0; padding: 0; }
  .appx-fm li { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border: 1px solid var(--line); border-radius: 12px; }
}
@media (max-width: 520px) { .appx-fm { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .fc { animation: none; } }


/* ---- Hover effects for the app section tiles ---- */
.fc { cursor: default; transition: scale .3s cubic-bezier(.2,.8,.2,1), outline-color .25s, background-color .25s; }
.fc[data-f] { cursor: pointer; }
.fc-ico { transition: background-color .25s, color .25s, transform .3s cubic-bezier(.2,.8,.2,1); }
.fc-t b { transition: color .25s; }
@media (hover: hover) {
  .fc:hover { scale: 1.07; z-index: 6; animation-play-state: paused; }
  .fc:hover .fc-ico { background: var(--brand); color: #fff; transform: scale(1.1) rotate(-6deg); }
  .fc:hover .fc-t b { color: var(--brand-d); }

  .appx-fm li { transition: border-color .2s, background-color .2s, translate .25s; }
  .appx-fm li:hover { background: #f3f8fb; translate: 0 -3px; }
  .appx-fm li:hover .fc-ico { background: var(--brand); color: #fff; }

}
@media (prefers-reduced-motion: reduce) { .fc, .fc-ico, .appx-fm li { transition: none; } .fc:hover { scale: 1; } .fc:hover .fc-ico { transform: none; } }

/* ---- Original panel height; smaller phones ---- */
.appx-panel { height: clamp(560px, 46vw, 660px); }
.appx-stage { inset: 0; align-items: center; padding-top: 14px; }
.appx-stage .phone-main { width: 232px; margin-top: 0; }
.appx-stage .phone-back { width: 196px; margin-left: -58px; margin-top: 56px; }
.appx-stage .phone-back:hover { transform: rotate(0deg) translateX(-58px) scale(1.3); }
.fc-l1, .fc-r1 { top: 15%; } .fc-l2, .fc-r2 { top: 41%; } .fc-l3, .fc-r3 { top: 67%; }
@media (max-width: 960px) {
  .appx-panel { height: 640px; }
  .appx-stage .phone-main { width: 214px; }
  .appx-stage .phone-back { width: 170px; margin-left: -50px; }
}
@media (max-width: 640px) {
  .appx-panel { height: 560px; }
  .appx-stage .phone-main { width: 208px; }
}

/* ---- Tighter feature-card spacing: centred cluster, closer to the phones ---- */
.fc-l1, .fc-r1 { top: calc(50% - 176px); }
.fc-l2, .fc-r2 { top: calc(50% - 50px); }
.fc-l3, .fc-r3 { top: calc(50% + 76px); }
.fc-l1, .fc-l3 { left: 10%; }  .fc-l2 { left: 13.5%; }
.fc-r1, .fc-r3 { right: 10%; } .fc-r2 { right: 13.5%; }
@media (max-width: 1100px) {
  .fc-l1, .fc-l3 { left: 3%; } .fc-l2 { left: 5.5%; }
  .fc-r1, .fc-r3 { right: 3%; } .fc-r2 { right: 5.5%; }
}


/* ---- Hero blurs progressively as the page scrolls down (--hb is set from script) ---- */
.hero2 { --hb: 0px; }
.hero2 .h2-bgs i, .hero2 .h2-nurse, .hero2 h1.wm { filter: blur(var(--hb)); }
@media (prefers-reduced-motion: reduce) { .hero2 .h2-bgs i, .hero2 .h2-nurse, .hero2 h1.wm { filter: none; } }

/* ---- Keep the feature cards clear of the big "THE APP" word ---- */
.appx-word { top: 14px; font-size: clamp(5rem, 12.6vw, 12.5rem); line-height: .9; }
.fc-l1, .fc-r1 { top: 206px; }
.fc-l2, .fc-r2 { top: 330px; }
.fc-l3, .fc-r3 { top: 454px; }


/* ================= Video, then trust points (left) + image (right) =================
 * The video starts big in its own space (.va). As you scroll, that space collapses while the video
 * glides into the right-hand slot and dissolves into the image, so no empty gap is ever left behind. */
html { overflow-anchor: none; }   /* layout changes during the animation must not nudge the scroll position */
.vb { background: #fff; display: flex; align-items: center; padding: clamp(16px, 2.5vw, 32px) 0;
  min-height: calc(min(1200px, 100vw - 32px, 54vh * 16 / 9) * 9 / 16 + clamp(16px, 2.5vw, 32px) * 2); }
.vb-grid { width: min(1200px, calc(100% - 32px)); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; }
.vb-facts { list-style: none; margin: 0; padding: 0; opacity: var(--fo, 0); transform: translateX(calc((1 - var(--fo, 0)) * -36px)); }
.vb-facts li { display: flex; align-items: flex-start; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.vf-ico { flex: none; width: 42px; height: 42px; border-radius: 10px; background: #e6f6f9; color: var(--teal); display: grid; place-items: center; }
.vf-ico .ico { width: 1.3rem; height: 1.3rem; }
.vf-t b { display: block; font-size: 1.15rem; letter-spacing: -.01em; }
.vf-t > span { display: block; margin-top: 2px; font-size: 1rem; color: var(--ink); }
.vb-slot { position: relative; aspect-ratio: 16 / 9; }
.vb-img { position: absolute; inset: 0; display: block; overflow: hidden; border-radius: 24px; background: #eaf1f6; opacity: var(--io, .001); }
.vb-img img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.va-frame { position: absolute; inset: 0; z-index: 6; overflow: hidden; background: #fff; border-radius: var(--vr, 24px); opacity: var(--vo, 1);
  transform: translate(var(--vx, 0px), var(--vy, 0px)) scale(var(--vs, 1)); will-change: transform, opacity; }
.va-frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; display: block; }
.va-btn { position: absolute; z-index: 2; right: 18px; bottom: 18px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.7); background: rgba(0,0,0,.4); color: #fff; display: grid; place-items: center; cursor: pointer; padding: 0; transition: background-color .15s, border-color .15s; }
.va-btn:hover { background: rgba(0,0,0,.65); border-color: #fff; }
.va-btn svg { width: 20px; height: 20px; }
.va-btn .vi-play { display: none; }
.va-btn[aria-pressed="true"] .vi-pause { display: none; }
.va-btn[aria-pressed="true"] .vi-play { display: block; }

/* phones and reduced motion: a plain stack (video, trust points, image), no scroll effect, no spacer */
@media (max-width: 960px) {
  .vb { display: block; min-height: 0; padding: 8px 16px 24px; }
  .vb-grid { display: flex; flex-direction: column; width: 100%; gap: 18px; }
  .vb-slot { display: contents; }
  .va-frame { position: relative; inset: auto; order: 1; width: 100%; aspect-ratio: 16 / 9; transform: none; opacity: 1; border-radius: 16px; }
  .vb-facts { order: 2; opacity: 1; transform: none; }
  .vb-img { position: relative; inset: auto; order: 3; width: 100%; aspect-ratio: 16 / 9; opacity: 1; border-radius: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .vb { display: block; min-height: 0; padding: 8px 16px 24px; }
  .vb-grid { display: flex; flex-direction: column; gap: 18px; }
  .vb-slot { display: contents; }
  .va-frame { position: relative; inset: auto; order: 1; width: 100%; aspect-ratio: 16 / 9; transform: none; opacity: 1; border-radius: 16px; }
  .vb-facts { order: 2; opacity: 1; transform: none; }
  .vb-img { position: relative; inset: auto; order: 3; width: 100%; aspect-ratio: 16 / 9; opacity: 1; border-radius: 16px; }
}


/* tighter gap between the app section's button and the video */
.appx { padding-bottom: 20px; }


/* ---- Tabs: the whole button fills with colour as the timer runs ---- */
.app-pill { padding: 0; gap: 0; background: #fff; color: var(--ink); border: 1px solid #c9cfd5; }
.app-pill.is-on { background: #fff; border-color: var(--brand); color: var(--ink); }
.app-pill .ap-c { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; white-space: nowrap; }
.app-pill .ap-c2 { position: absolute; inset: 0; z-index: 2; color: #fff; pointer-events: none; clip-path: inset(0 100% 0 0); }
.app-pill .ap-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; z-index: 0; background: var(--brand); }
.app-pill.is-on .ap-fill { animation: apfill var(--app-dur, 6s) linear forwards; }
.app-pill.is-on .ap-c2 { animation: apclip var(--app-dur, 6s) linear forwards; }
.app-paused .app-pill.is-on .ap-fill, .app-paused .app-pill.is-on .ap-c2 { animation-play-state: paused; }
@keyframes apfill { from { width: 0; } to { width: 100%; } }
@keyframes apclip { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@media (prefers-reduced-motion: reduce) {
  .app-pill.is-on .ap-fill { animation: none; width: 100%; }
  .app-pill.is-on .ap-c2 { animation: none; clip-path: none; }
}


/* ================= Services: dark section ================= */
.svc { background: #0a1118; color: #fff; padding: clamp(36px, 5vw, 64px) 0 clamp(40px, 5.5vw, 72px); }
.svc-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 24px; margin-bottom: clamp(20px, 3vw, 32px); }
.svc-kicker { margin: 0 0 8px; color: #4fd3e6; font-weight: 700; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; }
.svc-title { margin: 0; color: #fff; font-size: clamp(1.9rem, 3.8vw, 3rem); line-height: 1.08; letter-spacing: -.03em; font-weight: 700; max-width: 16ch; }
.svc-cta { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid rgba(255,255,255,.4); color: #fff; font-weight: 600; font-size: .95rem; transition: background-color .2s, border-color .2s, color .2s; }
.svc-cta:hover { background: #fff; border-color: #fff; color: #0a1118; }
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.svc-t { position: relative; overflow: hidden; display: flex; flex-direction: column; min-height: 232px; padding: 18px; border-radius: 18px; background: #111c27; border: 1px solid #1c2b39; color: #fff; isolation: isolate;
  transition: translate .35s cubic-bezier(.2,.8,.2,1), border-color .3s; }
.svc-t::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--brand); transform: translateY(101%); transition: transform .45s cubic-bezier(.2,.8,.2,1); }
.svc-t.is-red::before { background: #d6382b; }
.svc-top { display: flex; align-items: center; justify-content: space-between; }
.svc-n { font-size: .85rem; font-weight: 600; color: #4fd3e6; font-variant-numeric: tabular-nums; transition: color .3s; }
.svc-t.is-red .svc-n { color: #ff8a80; }
.svc-go { width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255,255,255,.28); display: grid; place-items: center; opacity: .7; transition: background-color .3s, color .3s, opacity .3s, rotate .35s; }
.svc-go .ico { width: 1rem; height: 1rem; }
.svc-ico { width: 52px; height: 52px; margin: 22px 0 auto; border-radius: 14px; background: rgba(255,255,255,.08); color: #4fd3e6; display: grid; place-items: center; transition: background-color .3s, color .3s, scale .35s cubic-bezier(.2,.8,.2,1); }
.svc-t.is-red .svc-ico { color: #ff8a80; }
.svc-ico .ico { width: 1.6rem; height: 1.6rem; }
.svc-body { display: block; margin-top: 22px; }
.svc-body b { display: block; font-size: 1.2rem; letter-spacing: -.015em; line-height: 1.2; }
.svc-body > span { display: block; margin-top: 6px; font-size: .95rem; line-height: 1.5; color: #dcecf6; }
@media (hover: hover) {
  .svc-t:hover { translate: 0 -5px; border-color: transparent; }
  .svc-t:hover::before { transform: translateY(0); }
  .svc-t:hover .svc-n { color: #fff; }
  .svc-t:hover .svc-ico { background: #fff; color: var(--brand-d); scale: 1.06; }
  .svc-t.is-red:hover .svc-ico { color: #b52c21; }
  .svc-t:hover .svc-go { background: #fff; color: var(--brand-d); border-color: #fff; opacity: 1; rotate: 45deg; }
}
.svc-t:focus-visible, .svc-cta:focus-visible { outline: 3px solid #4fd3e6; outline-offset: 3px; }
@media (max-width: 1000px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } .svc-t { min-height: 200px; } }
@media (max-width: 560px) { .svc-grid { grid-template-columns: 1fr; } .svc-t { min-height: 0; } .svc-ico { margin: 16px 0 14px; } .svc-title { max-width: none; } }
@media (prefers-reduced-motion: reduce) { .svc-t, .svc-t::before, .svc-ico, .svc-go, .svc-cta { transition: none; } .svc-t:hover { translate: 0 0; } }

/* =====================================================================
 * Phone home page: a compact hero with the nurse, and tight spacing so the
 * page is a short scroll. Larger screens keep the original layout.
 * ===================================================================== */
.mh { display: none; }
@media (max-width: 760px) {
  .hero2 { display: none; }
  .mh { display: block; position: relative; overflow: hidden; margin: 2px 10px 0; border-radius: 22px; padding: 18px 16px 0; min-height: 392px; color: #fff; background: linear-gradient(160deg, #2d9cd6 0%, #0070ac 55%, #00507f 100%); }
  .mh-copy { position: relative; z-index: 2; max-width: 64%; }
  .mh-k { margin: 0 0 6px; font-size: .68rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: #fff; opacity: .92; }
  .mh h1 { margin: 0; font-size: 1.8rem; line-height: 1.08; letter-spacing: -.03em; font-weight: 800; color: #fff; }
  .mh-s { margin: 10px 0 14px; font-size: .86rem; line-height: 1.42; color: #fff; }
  .mh-btns { display: grid; gap: 8px; max-width: 190px; }
  .mh-b { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 16px; border-radius: 12px; font-size: .92rem; font-weight: 700; text-decoration: none; transition: transform .1s; }
  .mh-b:active { transform: scale(.97); }
  .mh-b.w { background: #fff; color: #005a8c !important; }
  .mh-b.o { background: rgba(255, 255, 255, .16); color: #fff !important; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .8); }
  .mh-nurse { position: absolute; z-index: 1; right: -9%; bottom: 0; width: 68%; margin: 0; pointer-events: none; }
  .mh-nurse img { display: block; width: 100%; height: auto; }

  /* tighter sections everywhere */
  section.s { padding: 16px 0; }
  .s h2, .s .h2 { margin-bottom: 8px; font-size: 1.2rem; line-height: 1.2; }
  .wrap { width: calc(100% - 24px); }
  .item, .num { padding: 12px; }
  .steps-v li { padding: 9px 0; gap: 10px; }
  .faq summary { padding: 11px 0; }
  .faq details p { margin-bottom: 11px; }
  .closing { padding: 16px; gap: 10px; }
  .tab { padding: 8px 10px; }

  /* app section: one phone, compact feature list */
  .appx { padding: 14px 0 8px; }
  .appx-panel { height: 400px; border-radius: 20px; }
  .appx-word, .appx-cap, .appx-sub, .appx-stage .phone-back { display: none !important; }
  .appx-stage { inset: 0; padding-top: 16px; }
  .appx-stage .phone-main { width: 190px; }
  .appx-ctl { margin: 12px 0 4px; gap: 6px; }
  .appx-fm { display: grid !important; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
  .appx-fm li { padding: 10px; }
  .appx-fm li small, .appx-fm li p { display: none; }
  .appx-about { padding-top: 12px; }
  .appx-state { font-size: 1.15rem; line-height: 1.3; }
  .appx-cta { margin-top: 12px; gap: 10px 14px; }

  /* video: facts as a compact 2x2 grid under the video, no second picture */
  .vb { padding: 10px 0; }
  .vb-grid { gap: 12px; }
  .vb-img { display: none !important; }
  .vb-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .vb-facts li { padding: 10px; border: 0; border-radius: 12px; background: #f1f6fa; gap: 8px; align-items: center; }
  .vb-facts .vf-t span { display: none; }
  .vb-facts .vf-t b { font-size: .84rem; }

  /* services: two columns, title only */
  .svc { padding: 20px 0 22px; }
  .svc-head { margin-bottom: 12px; gap: 10px; }
  .svc-title { font-size: 1.35rem; }
  .svc-cta { min-height: 40px; padding: 0 16px; font-size: .88rem; }
  .svc-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .svc-t { min-height: 92px; padding: 12px; border-radius: 14px; }
  .svc-n, .svc-go, .svc-body span { display: none !important; }
  .svc-top { min-height: 0; }
  .svc-body b { font-size: .95rem; }
}
@media (prefers-reduced-motion: reduce) { .mh-b { transition: none; } }

/* ---- Phone home: cut the scroll to about three screens ---- */
@media (max-width: 760px) {
  .mh { min-height: 372px; }
  /* app section: one phone, pills, and the button. No feature grid or long sentence. */
  .appx-panel { height: 340px; }
  .appx-stage .phone-main { width: 168px; }
  .appx-fm, .appx-about .appx-state, .appx-about .appx-sub { display: none !important; }
  .appx-about { padding-top: 4px; }
  .appx-cta { margin-top: 8px; }
  /* video: just the video */
  .vb-facts { display: none !important; }
  /* services: a swipeable row, like an app */
  .svc { padding: 16px 0 16px; }
  .svc-head { margin-bottom: 10px; }
  .svc-kicker { display: none; }
  .svc-cta { display: none; }
  .svc-grid { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -12px; padding: 0 12px 2px; scrollbar-width: none; }
  .svc-grid::-webkit-scrollbar { display: none; }
  .svc-t { flex: 0 0 132px; min-height: 96px; scroll-snap-align: start; }
  /* emergency block: no photo, short steps */
  .m-emerg img, .m-emerg picture { display: none !important; }
  .m-emerg .steps-v li { padding: 7px 0; font-size: .86rem; }
  .m-emerg .sub { font-size: .88rem; margin-bottom: 4px; }
  /* "three steps" repeats the above, so skip it on phones */
  .m-steps { display: none; }
  /* consultations: text and buttons only */
  .m-consult img, .m-consult picture { display: none !important; }
  .m-consult p { font-size: .88rem; }
  /* who it is for: one panel, short */
  .m-who ul { display: none; }
  .m-who .head { margin-bottom: 4px; }
  /* partners and stats: hide when they only hold placeholder text */
  .m-stats { padding-block: 10px !important; }
  /* questions: first four */
  .faq details:nth-child(n+5) { display: none; }
  .m-close { padding: 12px 0 18px; }
  .closing { padding: 14px; }
  .closing h2 { font-size: 1.15rem; }
}

/* =====================================================================
 * Phone home page, redesigned (not a squeezed desktop page).
 * Soft app background, white rounded cards, one spacing rhythm: 10px side margins, 12px between blocks.
 * ===================================================================== */
.mx, .m-hd { display: none; }
@media (max-width: 760px) {
  body.site { background: #eef3f7; }
  main#main { display: flex; flex-direction: column; gap: 12px; padding: 2px 10px 6px !important; }

  /* hero stays, a touch calmer */
  .mh { margin: 0; min-height: 360px; }

  /* shortcuts + trust */
  .mx { display: block; margin: 0; }
  .mq { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .mq a { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 4px 12px; border-radius: 18px; background: #fff; color: #0a0a0a; text-decoration: none; transition: transform .1s; }
  .mq a:active { transform: scale(.96); }
  .mq b { font-size: .78rem; font-weight: 700; }
  .mq-i { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; }
  .mq-i svg { width: 22px; height: 22px; }
  .mq-i.b { background: #e3f1f9; color: #005a8c; } .mq-i.p { background: #fde9ec; color: #b4233a; }
  .mq-i.r { background: #fdeceb; color: #c62d20; } .mq-i.g { background: #e3f5ec; color: #0b6b43; }
  .mt { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 8px 0 0; padding: 0; list-style: none; }
  .mt li { display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 10px 4px; border-radius: 14px; background: #fff; text-align: center; font-size: .72rem; font-weight: 700; line-height: 1.2; }
  .mt svg { width: 18px; height: 18px; color: #005a8c; }

  /* section headings (phone) */
  .m-hd { display: block; padding: 0 4px 8px; }
  .m-hd h2 { margin: 0; font-size: 1.15rem; line-height: 1.2; letter-spacing: -.02em; }
  .m-hd p { margin: 3px 0 0; font-size: .84rem; }

  /* app panel */
  .appx { background: transparent; padding: 0; }
  .appx .wrap { width: auto; margin: 0; }
  .appx-panel { height: 330px; }
  .appx-ctl { margin: 10px 0 0; justify-content: center; }
  .appx-about { padding-top: 10px; }
  .appx-cta { margin-top: 0; }
  .appx-cta .btn { width: 100%; justify-content: center; }

  /* video */
  .vb { background: transparent; padding: 0; display: block; }
  .vb-grid { width: auto; margin: 0; }
  .vb-slot { border-radius: 20px; overflow: hidden; }

  /* services (dark band) */
  .svc { margin: 0; border-radius: 22px; padding: 16px 0 14px; }
  .svc .wrap { width: auto; padding: 0 14px; }
  .svc-grid { margin: 0 -14px; padding: 0 14px 2px; }

  /* how it works */
  .mx-b { display: flex; flex-direction: column; gap: 12px; }
  .mw { padding: 14px; border-radius: 22px; background: #fff; }
  .mw .m-hd { padding: 0 0 10px; }
  .mw ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
  .mw li { position: relative; display: flex; align-items: flex-start; gap: 12px; }
  .mw-n { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg, #2d9cd6, #0070ac 52%, #00507f); color: #fff; z-index: 1; }
  .mw-n svg { width: 17px; height: 17px; }
  .mw li b { display: block; font-size: .95rem; line-height: 1.25; }
  .mw li span:not(.mw-n) { display: block; margin-top: 1px; font-size: .82rem; line-height: 1.35; }

  /* emergency card */
  .me { display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; align-items: center; padding: 14px; border-radius: 22px; background: #fdeceb; color: #0a0a0a; }
  .me-i { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #d6382b; color: #fff; }
  .me-i svg { width: 22px; height: 22px; }
  .me b { display: block; font-size: 1rem; }
  .me span:not(.me-i) { display: block; margin-top: 2px; font-size: .82rem; line-height: 1.35; }
  .me-b { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; min-height: 46px; margin-top: 8px; border-radius: 12px; background: #d6382b; color: #fff !important; font-weight: 700; text-decoration: none; }

  /* provider invitation */
  .mj { padding: 14px; border-radius: 22px; background: #fff; }
  .mj b { display: block; font-size: .98rem; line-height: 1.25; }
  .mj span { display: block; margin: 3px 0 12px; font-size: .84rem; line-height: 1.4; }
  .mj-b { display: flex; align-items: center; justify-content: center; min-height: 46px; border-radius: 12px; background: linear-gradient(135deg, #2d9cd6, #0070ac 52%, #00507f); color: #fff !important; font-weight: 700; text-decoration: none; }

  /* retire the desktop-style blocks on phones */
  .m-emerg, .m-steps, .m-consult, .m-who, .m-stats { display: none !important; }

  /* questions + closing */
  section.alt { background: transparent; border: 0; }
  .faq-sec { margin: 0; padding: 14px; border-radius: 22px; background: #fff; }
  .faq-sec .wrap { width: auto; }
  .faq { border-top: 0; }
  .faq summary { padding: 12px 0; font-size: .92rem; }
  .m-close { padding: 0 0 8px; }
  .m-close .wrap { width: auto; }
  .closing { border-radius: 22px; }
}

@media (max-width: 760px) {
  .mh { min-height: 380px; }
  .mh-nurse { width: min(62%, 268px); right: -3%; }
  section.faq-sec { background: #fff; }
}

/* ---- Phone home, round 3: wordmark hero, dark shortcut tiles, light app card ---- */
@media (max-width: 760px) {
  /* hero: the big wordmark sits behind the nurse, as on desktop */
  .mh { position: relative; overflow: hidden; min-height: 0; height: 452px; margin: 0; padding: 0; border-radius: 22px; background: linear-gradient(165deg, #2d9cd6 0%, #0070ac 55%, #00507f 100%); }
  .mh-bg { position: absolute; inset: 0; background-size: cover; background-position: 70% center; mix-blend-mode: luminosity; opacity: .28; }
  .mh-k { position: absolute; z-index: 3; top: 14px; left: 0; right: 0; margin: 0; text-align: center; font-size: .66rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #fff; opacity: .95; }
  .mh-wm { position: absolute; z-index: 1; left: 0; right: 0; top: 52px; margin: 0; text-align: center; font-weight: 800; line-height: .84; letter-spacing: -.045em; color: rgba(255, 255, 255, .74); font-size: clamp(2.7rem, 16.4vw, 4.8rem); user-select: none; }
  .mh-wm span { display: block; }
  .mh-nurse { position: absolute; z-index: 2; left: 50%; bottom: 0; right: auto; width: auto; height: 90%; margin: 0; transform: translateX(-50%); pointer-events: none; }
  .mh-nurse img { display: block; height: 100%; width: auto; max-width: none; }
  .mh::after { content: ""; position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; height: 120px; background: linear-gradient(to top, rgba(0, 45, 85, .78), rgba(0, 45, 85, 0)); pointer-events: none; }
  .mh-btns { position: absolute; z-index: 4; left: 12px; right: 12px; bottom: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; max-width: none; }
  .mh-btns .mh-b:only-child { grid-column: 1 / -1; }
  .mh-b { min-height: 48px; }

  /* shortcut tiles: dark, not white frames */
  .mq a { background: #0c1822; color: #fff; }
  .mq b { color: #fff; }
  .mq-i { background: rgba(255, 255, 255, .09); }
  .mq-i.b { color: #5ec8f0; } .mq-i.p { color: #ff93a8; } .mq-i.r { color: #ff7e72; } .mq-i.g { color: #5fdca4; }
  .mt li { background: #0c1822; color: #fff; }
  .mt svg { color: #5ec8f0; }

  /* app section: one light card holding heading, a pale stage with the phone, chips and the button */
  .appx .wrap { padding: 14px 14px 14px; border-radius: 22px; background: #fff; }
  .appx .m-hd { padding: 0 2px 10px; }
  .appx-panel { height: 300px; border-radius: 18px; background: linear-gradient(180deg, #eaf4fb 0%, #d4e8f5 100%) !important; }
  .appx-panel::before, .appx-panel::after { display: none; }
  .appx-stage { align-items: flex-end; padding: 0; }
  .appx-stage .phone-main { width: 176px; margin-top: 0; transform: translateY(26px); box-shadow: 0 22px 40px -18px rgba(0, 40, 80, .55); }
  .appx-ctl { display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 6px; margin: 12px -2px 0; padding: 0 2px 2px; justify-content: flex-start; scrollbar-width: none; }
  .appx-ctl::-webkit-scrollbar { display: none; }
  .app-pill { flex: none; }
  .appx-about { padding-top: 10px; }
  .appx-cta .btn { width: 100%; justify-content: center; min-height: 46px; }
}

/* Phone hero wordmark: beat the older .mh h1 rule so the big letters sit behind the nurse */
@media (max-width: 760px) {
  .mh h1.mh-wm { font-size: clamp(2.7rem, 16.4vw, 4.8rem); line-height: .84; letter-spacing: -.045em; font-weight: 800; margin: 0; max-width: none; color: rgba(255, 255, 255, .74); top: 70px; }
}

/* Phone hero: the wordmark fills the whole back of the card, behind the nurse */
@media (max-width: 760px) {
  .mh h1.mh-wm { top: 30px; font-size: clamp(3rem, 21.5vw, 5.4rem); line-height: .8; letter-spacing: -.05em; transform: scaleY(1.32); transform-origin: top center; color: rgba(255, 255, 255, .72); }
  /* shortcut + trust icons: one colour, our gradient */
  .mq-i, .mq-i.b, .mq-i.p, .mq-i.r, .mq-i.g { background: linear-gradient(135deg, #2d9cd6 0%, #0070ac 52%, #00507f 100%); color: #fff; }
  .mt svg { box-sizing: content-box; width: 17px; height: 17px; padding: 8px; border-radius: 50%; background: linear-gradient(135deg, #2d9cd6 0%, #0070ac 52%, #00507f 100%); color: #fff; }
  .mt li { gap: 7px; }
}

@media (max-width: 760px) {
  .mh h1.mh-wm { top: 24px; font-size: clamp(3rem, 30vw, 9.6rem); line-height: .79; letter-spacing: -.055em; transform: scaleY(1.1); }
}

@media (max-width: 760px) {
  .mh h1.mh-wm { font-size: clamp(3rem, 26.6vw, 8.6rem); line-height: .8; top: 28px; transform: scaleY(1.16); }
}

/* Phone shortcut + trust tiles: the frame is our gradient, the icons are white */
@media (max-width: 760px) {
  .mq a, .mt li { background: linear-gradient(135deg, #2d9cd6 0%, #0070ac 52%, #00507f 100%); color: #fff; }
  .mq b, .mt li span { color: #fff; }
  .mq-i, .mq-i.b, .mq-i.p, .mq-i.r, .mq-i.g { background: rgba(255, 255, 255, .2); color: #fff; }
  .mt svg { box-sizing: border-box; width: 22px; height: 22px; padding: 0; border-radius: 0; background: none; color: #fff; }
}
/* Notices on the public pages (e.g. "Please complete the security check") */
.site-flash { width: min(640px, calc(100% - 24px)); margin: 12px auto 0; padding: 12px 16px; border-radius: 12px; font-size: .95rem; }
.site-flash.err { background: #fdeceb; color: #7a1a12; }
.site-flash.ok { background: #e3f5ec; color: #0b4a2e; }

@media (max-width: 760px) { .mx-t .mt { margin: 0; } }

/* =====================================================================
 * Phone app section, redone: two whole phones that stand out of a pale panel (an extension of it),
 * never cropped.
 * ===================================================================== */
@media (max-width: 760px) {
  .appx .wrap { padding: 14px 14px 16px; border-radius: 22px; background: #fff; overflow: visible; }
  .appx .m-hd { padding: 0 2px 4px; }
  .appx-panel { position: relative; overflow: visible !important; height: 170px; margin: 74px 0 78px; border-radius: 20px; background: linear-gradient(180deg, #e6f2fa 0%, #cfe5f4 100%) !important; }
  .appx-word { display: none !important; }
  .appx-stage { position: absolute; inset: -66px 0 -70px; display: flex; justify-content: center; align-items: center; padding: 0; }
  .appx-stage .phone { flex: none; box-shadow: 0 18px 34px -16px rgba(0, 40, 80, .55); border-radius: 26px; padding: 6px; }
  .appx-stage .phone-in { border-radius: 20px; }
  .appx-stage .phone-notch { top: 10px; width: 46px; height: 12px; margin-left: -23px; border-radius: 8px; }
  .appx-stage .phone-main { width: 128px; margin: 0; transform: none; z-index: 2; }
  .appx-stage .phone-back { display: block !important; width: 112px; margin: 24px 0 0 -26px; transform: rotate(4deg); z-index: 1; }
  .appx-stage .phone-back:hover { transform: rotate(4deg); }
  .appx-stage:has(.phone-back:hover) .phone-main { transform: none; }
  .appx-ctl { margin: 4px -2px 0; }
  .appx-about { padding-top: 12px; }
}

/* Phone app section: everything centred */
@media (max-width: 760px) {
  .appx .wrap { text-align: center; }
  .appx .m-hd { text-align: center; padding: 0 6px 2px; }
  .appx .m-hd p { margin-left: auto; margin-right: auto; max-width: 30ch; }
  .appx-ctl { flex-wrap: wrap; overflow: visible; justify-content: center; gap: 8px; margin: 2px 0 0; }
  .appx-about, .appx-cta { text-align: center; justify-content: center; }
  .appx-cta .btn { margin: 0 auto; }
}

/* Phone app section: the four tab chips are small and stay on one line */
@media (max-width: 760px) {
  .appx-ctl { flex-wrap: nowrap !important; justify-content: center; gap: 5px !important; margin: 2px -4px 0; }
  .appx-ctl .app-pill { flex: 0 1 auto; min-width: 0; }
  .appx-ctl .app-pill .ap-c, .appx-ctl .app-pill .ap-c2 { padding: 0 9px !important; gap: 4px !important; font-size: .72rem !important; line-height: 1; min-height: 32px; white-space: nowrap; }
  .appx-ctl .app-pill .ico { width: .85rem !important; height: .85rem !important; }
}
@media (max-width: 350px) { .appx-ctl .app-pill .ap-c, .appx-ctl .app-pill .ap-c2 { padding: 0 6px !important; font-size: .68rem !important; } }

/* =====================================================================
 * Phone services: a light card with a tidy two-column grid. Nothing is cut off or swiped.
 * ===================================================================== */
@media (max-width: 760px) {
  .svc { background: #fff; color: #0a0a0a; border-radius: 22px; padding: 16px 12px 14px; }
  .svc .wrap { padding: 0; width: auto; }
  .svc-head { justify-content: center; text-align: center; margin-bottom: 12px; }
  .svc-kicker, .svc-cta { display: none; }
  .svc-title { color: #0a0a0a; font-size: 1.15rem; letter-spacing: -.02em; max-width: none; }
  .svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; overflow: visible; margin: 0; padding: 0; }
  .svc-t { flex: none; min-height: 0; padding: 14px 8px 12px; border: 0; border-radius: 16px; background: #eef3f7; color: #0a0a0a; align-items: center; text-align: center; gap: 8px; scroll-snap-align: none; }
  .svc-t::before { display: none; }
  .svc-top, .svc-go, .svc-body > span { display: none !important; }
  .svc-ico, .svc-t.is-red .svc-ico { width: 44px; height: 44px; margin: 0; border-radius: 50%; background: linear-gradient(135deg, #2d9cd6 0%, #0070ac 52%, #00507f 100%); color: #fff; }
  .svc-ico .ico { width: 1.3rem; height: 1.3rem; }
  .svc-body { display: block; margin: 0; }
  .svc-body b { color: #0a0a0a; font-size: .88rem; line-height: 1.25; }
  .svc-t:active { background: #e1e9ef; }
}

/* =====================================================================
 * Phone questions: separate soft tiles, easy to tap, clear open/close mark.
 * ===================================================================== */
@media (max-width: 760px) {
  .faq-sec { padding: 16px 12px 14px; }
  .faq-sec .head { text-align: center; margin-bottom: 12px; }
  .faq-sec .kicker { display: none; }
  .faq-sec .title { margin: 0; font-size: 1.15rem; letter-spacing: -.02em; }
  .faq { display: grid; gap: 8px; max-width: none; border-top: 0; }
  .faq details { border: 0; border-radius: 14px; background: #eef3f7; padding: 0 14px; }
  .faq summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; font-size: .9rem; font-weight: 700; line-height: 1.3; }
  .faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg, #2d9cd6 0%, #0070ac 52%, #00507f 100%); color: #fff; font-size: 1.1rem; font-weight: 500; line-height: 1; }
  .faq details[open] summary::after { content: "\2212"; }
  .faq details p { margin: 0; padding: 0 0 14px; font-size: .86rem; line-height: 1.5; }
  .faq details:nth-child(n+5) { display: block; }
  .faq details:nth-child(n+6) { display: none; }
}

/* Phone: questions card and closing card sit in the same rhythm as every other block (12px apart, 16px inside) */
@media (max-width: 760px) {
  .faq-sec { padding: 16px 12px; }
  .faq-sec .wrap { padding: 0; width: auto; }
  .faq-sec .head { padding: 0; margin: 0 0 12px; text-align: center; }
  .faq details:last-child { margin-bottom: 0; }
  .m-close { padding: 0; }
  .m-close .wrap { padding: 0; width: auto; }
  .closing { display: block; text-align: center; padding: 20px 16px; border-radius: 22px; }
  .closing h2 { margin: 0 0 6px; font-size: 1.15rem; line-height: 1.25; }
  .closing p { margin: 0; font-size: .88rem; line-height: 1.45; }
  .closing .cta-row { display: grid; gap: 8px; margin-top: 14px; }
  .closing .btn { width: 100%; justify-content: center; min-height: 46px; margin: 0; }
}

/* Phone questions card: real inner padding (section.s was zeroing it) and a full-width centred heading */
@media (max-width: 760px) {
  section.faq-sec { padding: 16px 14px; }
  section.faq-sec .head { width: 100%; text-align: center; }
  section.faq-sec .title { max-width: none; width: 100%; text-align: center; margin: 0; }
}

/* Phone closing card: the two buttons share one line */
@media (max-width: 760px) {
  .closing .cta-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .closing .btn { min-height: 46px; padding: 0 10px; font-size: .86rem; white-space: nowrap; }
  .closing .btn .ico { width: .95rem; height: .95rem; }
}
@media (max-width: 350px) { .closing .btn { font-size: .78rem; padding: 0 6px; } }

/* =====================================================================
 * Phone "Getting started": a dark card with a connected path of three steps and one clear button.
 * ===================================================================== */
@media (max-width: 760px) {
  .mw { padding: 18px 16px 16px; border-radius: 22px; background: #0a1118; color: #fff; }
  .mw .m-hd { padding: 0 0 14px; text-align: center; }
  .mw .m-hd h2 { color: #fff; font-size: 1.15rem; }
  .mw ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; position: relative; }
  .mw li { position: relative; display: flex; align-items: flex-start; gap: 14px; padding-bottom: 18px; }
  .mw li:last-child { padding-bottom: 4px; }
  /* the path joining the steps */
  .mw li:not(:last-child)::before { content: ""; position: absolute; left: 21px; top: 44px; bottom: 2px; width: 2px; border-radius: 1px; background: linear-gradient(to bottom, rgba(79, 211, 230, .65), rgba(79, 211, 230, .12)); }
  .mw-n { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, #2d9cd6 0%, #0070ac 52%, #00507f 100%); color: #fff; box-shadow: 0 0 0 5px #0a1118, 0 0 0 6px rgba(255, 255, 255, .14); z-index: 1; }
  .mw-n svg { width: 20px; height: 20px; }
  .mw li > div { padding-top: 2px; }
  .mw li b { display: block; color: #fff; font-size: 1rem; line-height: 1.25; }
  .mw li span:not(.mw-n) { display: block; margin-top: 3px; color: rgba(255, 255, 255, .82); font-size: .86rem; line-height: 1.4; }
  .mw-b { display: flex; align-items: center; justify-content: center; min-height: 48px; margin-top: 14px; border-radius: 12px; background: #fff; color: #00507f !important; font-weight: 700; text-decoration: none; transition: transform .1s; }
  .mw-b:active { transform: scale(.98); }
}

@media (max-width: 760px) {
  .mw ul { gap: 0 !important; }
  .mw li { padding-bottom: 26px; }
  .mw li:last-child { padding-bottom: 6px; }
  .mw li:not(:last-child)::before { top: 48px; bottom: 4px; }
}

/* Phone hero wordmark: fully inside the card, and held in place while the page scrolls (see site.js) */
@media (max-width: 760px) {
  .mh h1.mh-wm { font-size: clamp(3rem, 24vw, 8rem); line-height: .8; letter-spacing: -.05em; top: 30px; transform: translate3d(0, var(--wm-y, 0px), 0) scaleY(1.22); transform-origin: top center; will-change: transform; }
}

/* Phone wordmark: sized so every letter sits inside the card */
@media (max-width: 760px) {
  .mh h1.mh-wm { font-size: clamp(2.8rem, 21vw, 7.2rem); }
}
/* "Getting started": a small spaced heading, clearly different from the step titles below it */
@media (max-width: 760px) {
  .mw .m-hd { padding: 0 0 18px; }
  .mw .m-hd h2 { font-size: .74rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #4fd3e6; }
  .mw .m-hd h2::after { content: ""; display: block; width: 32px; height: 3px; margin: 9px auto 0; border-radius: 2px; background: linear-gradient(90deg, #2d9cd6, #0070ac); }
}

/* Phone hero: optical centring (the letters' ink, not just their box) and the nurse's head on the centre line */
@media (max-width: 760px) {
  .mh h1.mh-wm { padding-right: .06em; }
  .mh-nurse { transform: translateX(calc(-50% + 10px)); }
}
/* "Getting started": left aligned like the steps beneath it */
@media (max-width: 760px) {
  .mw .m-hd { text-align: left; }
  .mw .m-hd h2 { text-align: left; }
  .mw .m-hd h2::after { margin: 9px 0 0; }
}

/* "Getting started": each step's text is centred against its icon */
@media (max-width: 760px) {
  .mw ul { display: grid !important; gap: 24px !important; }
  .mw li { align-items: center; padding-bottom: 0; }
  .mw li:last-child { padding-bottom: 0; }
  .mw li > div { padding-top: 0; }
  .mw li:not(:last-child)::before { top: 46px; bottom: -22px; }
  .mw-b { margin-top: 20px; }
}

/* Screen-reader-only text (the page still has its heading, it just is not drawn) */
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

/* =====================================================================
 * About page on phones: soft background, white cards, everything centred.
 * ===================================================================== */
@media (max-width: 760px) {
  body.site:has(.m-about) { background: #eef3f7; }
  .m-about-hero, .m-about, .m-about-close { padding: 0 !important; background: transparent !important; border: 0 !important; }
  .m-about-hero .wrap, .m-about .wrap, .m-about-close .wrap { width: auto; }
  /* intro card */
  .m-about-hero .wrap { padding: 22px 16px; border-radius: 22px; background: linear-gradient(160deg, #2d9cd6 0%, #0070ac 55%, #00507f 100%); color: #fff; text-align: center; }
  .m-about-hero .lead { margin: 0 auto; max-width: 34ch; color: #fff; font-size: .98rem; line-height: 1.5; text-align: center; }
  .m-about-hero .cta-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
  .m-about-hero .btn { min-height: 46px; justify-content: center; padding: 0 8px; font-size: .86rem; white-space: nowrap; }
  .m-about-hero .btn-primary { background: #fff !important; background-image: none !important; color: #005a8c; }
  /* one white card per topic */
  .m-about .wrap { display: grid; gap: 12px; }
  .m-about .arow { display: block; padding: 18px 14px 16px; border-radius: 22px; background: #fff; text-align: center; }
  .m-about .arow h2 { margin: 0 0 12px; font-size: 1.15rem; letter-spacing: -.02em; text-align: center; }
  .m-about .arow .photo { margin: 0 0 14px !important; border-radius: 16px; overflow: hidden; }
  .m-about .arow .photo img { display: block; width: 100%; height: auto; }
  .m-about .arow p { margin: 0 auto 14px; max-width: 38ch; font-size: .92rem; line-height: 1.55; text-align: center; }
  .m-about .checks { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
  .m-about .checks li { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 12px; border-radius: 14px; background: #eef3f7; font-size: .86rem; line-height: 1.35; text-align: center; }
  .m-about .checks li .ico { flex: none; width: 1.05rem; height: 1.05rem; color: #0070ac; }
  .m-about .disclaimer { margin: 0; padding: 14px; border-radius: 18px; background: #fff; font-size: .82rem; line-height: 1.5; text-align: center; }
  .m-about-close .wrap { padding: 0; }
}

@media (max-width: 760px) {
  .m-about .arow, .m-about .arow.first { border: 0 !important; box-shadow: none; }
  .m-about .disclaimer { border: 0 !important; background: #fff !important; color: #0a0a0a !important; }
}

/* "Getting started": the icon rings, heading and button all start the same distance from the card's left edge as the button ends from its right edge */
@media (max-width: 760px) {
  .mw ul { padding-left: 6px; }
}

/* =====================================================================
 * Phone form pages (partners, contact): soft background, a centred gradient intro card, and one white form card
 * with filled fields and a clear button.
 * ===================================================================== */
@media (max-width: 760px) {
  body.site:has(.m-form) { background: #eef3f7; }
  .m-form-hero, .m-form { padding: 0 !important; background: transparent !important; border: 0 !important; }
  .m-form-hero .wrap, .m-form .wrap { width: auto; }
  .m-form-hero .wrap { padding: 22px 16px; border-radius: 22px; background: linear-gradient(160deg, #2d9cd6 0%, #0070ac 55%, #00507f 100%); color: #fff; text-align: center; }
  .m-form-hero .kicker { margin: 0 0 8px; color: #fff; opacity: .92; text-align: center; font-size: .7rem; letter-spacing: .14em; }
  .m-form-hero h1 { margin: 0; color: #fff; font-size: 1.45rem; line-height: 1.2; letter-spacing: -.02em; max-width: none; text-align: center; }
  .m-form-hero .lead { margin: 10px auto 0; max-width: 34ch; color: #fff; font-size: .92rem; line-height: 1.5; text-align: center; }

  .m-form .card-form { max-width: none !important; margin: 0 !important; padding: 16px; gap: 10px; border: 0; border-radius: 22px; background: #fff; }
  .m-form .fld input, .m-form .fld textarea { min-height: 56px; padding: 27px 14px 9px; border: 0; border-radius: 14px; background: #eef3f7; font-size: 16px; transition: box-shadow .15s, background-color .15s; }
  .m-form .fld textarea { min-height: 120px; }
  .m-form .fld input:focus, .m-form .fld textarea:focus { background: #fff; box-shadow: inset 0 0 0 2px #0a0a0a; }
  .m-form .fld label { left: 14px; top: 19px; font-size: 1rem; color: #0a0a0a; }
  .m-form .fld input:focus ~ label, .m-form .fld input:not(:placeholder-shown) ~ label, .m-form .fld textarea:focus ~ label, .m-form .fld textarea:not(:placeholder-shown) ~ label, .m-form .fld-file label { transform: translateY(-12px) scale(.76); color: #0a0a0a; }
  .m-form .fld-file input { padding: 31px 12px 10px; font-size: 14px; }
  .m-form .fld-file input::file-selector-button { margin-right: 10px; padding: 7px 14px; border: 0; border-radius: 10px; background: #fff; font: inherit; font-weight: 700; color: #0a0a0a; cursor: pointer; }
  .m-form .card-form .btn { min-height: 50px; border-radius: 14px; font-size: 1rem; }
  .m-form .muted { text-align: center; font-size: .82rem; line-height: 1.5; }
}


/* =====================================================================
 * Partners on the home page: approved partners show their logo; until then, a tidy empty state and a way to apply.
 * ===================================================================== */
.logo-name { font-weight: 700; font-size: .92rem; text-align: center; line-height: 1.2; }
.logos-empty { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.logos-empty span { height: 60px; border-radius: var(--r); background: #eef3f7; }
.partner-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; margin-top: 14px; padding: 0 22px; border-radius: 12px; background: linear-gradient(135deg, #2d9cd6 0%, #0070ac 52%, #00507f 100%); color: #fff !important; font-weight: 700; text-decoration: none; }
@media (max-width: 760px) {
  section.m-partners { display: block !important; padding: 0 !important; background: transparent !important; }
  .m-partners .wrap { width: auto; padding: 18px 14px 16px; border-radius: 22px; background: #fff; text-align: center; }
  .m-partners .head { margin: 0 0 14px; text-align: center; }
  .m-partners .kicker { display: none; }
  .m-partners .title { max-width: none; width: 100%; margin: 0; font-size: 1.15rem; letter-spacing: -.02em; text-align: center; }
  .m-partners .logos { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .m-partners .logo-tile { width: auto; height: 68px; border: 0; border-radius: 14px; background: #eef3f7; }
  .m-partners .logo-tile img { max-height: 44px; max-width: 100%; }
  .m-partners .logos-empty { grid-template-columns: 1fr 1fr; }
  .m-partners .logos-empty span { height: 68px; border-radius: 14px; }
  .m-partners .empty-note { margin: 12px auto 0; max-width: 30ch; font-size: .86rem; line-height: 1.45; color: #0a0a0a; }
  .m-partners .partner-cta { display: flex; width: 100%; min-height: 48px; margin-top: 14px; }
}

/* "Getting started": everything centred. Each step is icon, title, line, stacked on the middle axis. */
@media (max-width: 760px) {
  .mw .m-hd { text-align: center; }
  .mw .m-hd h2 { text-align: center; }
  .mw .m-hd h2::after { margin: 9px auto 0; }
  .mw ul { padding-left: 0 !important; gap: 26px !important; }
  .mw li { flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 0; }
  .mw li > div { padding: 0; max-width: 30ch; }
  .mw li span:not(.mw-n) { margin-top: 3px; }
  /* the path runs straight down the middle to the next icon */
  .mw li:not(:last-child)::before { left: 50%; top: 56px; bottom: auto; height: calc(100% - 56px + 26px - 10px); transform: translateX(-1px); }
}

/* the path between centred steps: a short line in the gap, never through the text */
@media (max-width: 760px) {
  .mw li:not(:last-child)::before { content: none; }
  .mw ul { gap: 6px !important; }
  .mw li:not(:last-child)::after { content: ""; display: block; width: 2px; height: 22px; margin-top: 10px; border-radius: 1px; background: linear-gradient(to bottom, rgba(79, 211, 230, .7), rgba(79, 211, 230, .15)); }
}

/* Phone provider invitation card: centred */
@media (max-width: 760px) {
  .mj { text-align: center; }
  .mj > div { max-width: 32ch; margin: 0 auto; }
  .mj b, .mj span { text-align: center; }
}

/* "Getting started": tighter spacing */
@media (max-width: 760px) {
  .mw { padding: 14px 14px 12px; }
  .mw .m-hd { padding: 0 0 10px; }
  .mw .m-hd h2::after { margin-top: 7px; }
  .mw ul { gap: 2px !important; }
  .mw li { gap: 6px; }
  .mw-n { width: 40px; height: 40px; box-shadow: 0 0 0 4px #0a1118, 0 0 0 5px rgba(255, 255, 255, .14); }
  .mw-n svg { width: 18px; height: 18px; }
  .mw li b { font-size: .95rem; }
  .mw li span:not(.mw-n) { margin-top: 1px; font-size: .82rem; line-height: 1.35; }
  .mw li:not(:last-child)::after { height: 12px; margin-top: 6px; }
  .mw-b { margin-top: 12px; min-height: 46px; }
}


/* Hover styles are for mice. On touch screens a tapped button must not stay in its hover look. */
@media (hover: none) {
  .btn-primary:hover { background: var(--brand); }
  .btn-light:hover { background: #fff; }
  .btn-sos:hover { background: var(--red); }
  .btn-ghost:hover { border-color: #c9cfd5; }
  .btn-outline-light:hover { border-color: rgba(255, 255, 255, .55); }
  .btn-pill:hover { background: #fff; }
}

/* =====================================================================
 * Contact on phones: a short centred intro (no big heading), four contact cards, then the message form card.
 * ===================================================================== */
@media (max-width: 760px) {
  .m-contact-hero .wrap { padding: 18px 16px; text-align: left; }
  .m-contact-hero .lead { margin: 0; max-width: 34ch; }
  .m-contact .wrap.band { display: grid; grid-template-columns: 1fr; gap: 12px; }
  .m-contact .list2 { display: grid; gap: 8px; margin: 0; }
  .m-contact .item { display: block; padding: 14px 14px 13px; border: 0; border-radius: 18px; background: #fff; text-align: left; }
  .m-contact .item h3 { display: flex; flex-direction: row; align-items: center; gap: 10px; margin: 0 0 6px; font-size: 1rem; }
  .m-contact .item h3 .lead-ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, #2d9cd6 0%, #0070ac 52%, #00507f 100%); color: #fff; }
  .m-contact .item h3 .lead-ico .ico { width: 1.15rem; height: 1.15rem; color: #fff; }
  .m-contact .item p { margin: 0; font-size: .88rem; line-height: 1.55; text-align: left; }
  .m-contact .item a { overflow-wrap: anywhere; }
  .m-contact .item.red { background: #fdeceb; }
  .m-contact .item.red h3 { color: #9f1d12; }
  .m-contact .item.red h3 .lead-ico { background: #d6382b; }
  .m-contact .item .go { display: none; }
  .m-contact .card-form h2 { text-align: left; font-size: 1.1rem; }
  .m-contact .card-form > .muted:first-of-type { margin-bottom: 4px; }
}

@media (max-width: 760px) {
  .m-contact .wrap.band, .m-contact .band { border: 0 !important; padding-top: 0; }
  .m-contact .band::before { display: none; }
}

@media (max-width: 760px) {
  .m-contact .list2 { border-top: 0 !important; }
  .m-contact .band { gap: 12px !important; row-gap: 12px !important; }
  .m-contact .band > div:first-child { margin-top: 0; }
}

/* Contact: each email gets a clear label above the address */
.em-list { display: grid; gap: 8px; }
.em { display: grid; gap: 2px; padding: 9px 12px; border-radius: 12px; background: #eef3f7; }
.em-k { font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #005a8c; }
.em a { overflow-wrap: anywhere; font-size: .9rem; }
@media (max-width: 760px) {
  .m-contact-hero .wrap, .m-contact-hero .lead { text-align: left; margin-left: 0; margin-right: 0; max-width: none; }
  .m-contact .card-form .muted { text-align: left; }
}
/* FAQ centred on desktop */
@media (min-width: 761px) {
  .faq-sec .head { text-align: center; }
  .faq-sec .faq { margin-left: auto; margin-right: auto; }
  .faq-sec .faq summary { justify-content: center; text-align: center; position: relative; padding-left: 36px; padding-right: 36px; }
  .faq-sec .faq summary::after { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); }
  .faq-sec .faq details p { margin-left: auto; margin-right: auto; text-align: center; }
}
@media (min-width: 761px) {
  .faq-sec .head .title, .faq-sec .head .kicker { text-align: center; margin-left: auto; margin-right: auto; }
}

/* Getting started: dark band, centred, desktop */
@media (min-width: 761px) {
  section.m-steps { background: #0a1118; color: #fff; padding: 72px 0 80px; }
  .m-steps .head { text-align: center; margin-bottom: 44px; }
  .m-steps .head .title { margin: 0 auto; color: #fff; }
  .m-steps .nums { max-width: 1000px; margin: 0 auto; gap: 40px; position: relative; }
  .m-steps .nums::before { content: ""; position: absolute; top: 28px; left: 16.6%; right: 16.6%; height: 2px; background: linear-gradient(90deg, rgba(79,211,230,.6), rgba(79,211,230,.15)); }
  .m-steps .num { border: 0; padding: 0; text-align: center; position: relative; }
  .m-steps .num-i { display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 18px; border-radius: 50%; background: linear-gradient(135deg, #2d9cd6 0%, #0070ac 52%, #00507f 100%); color: #fff; box-shadow: 0 0 0 6px #0a1118; position: relative; z-index: 1; }
  .m-steps .num-i svg { width: 24px; height: 24px; color: #fff; }
  .m-steps .num h3 { color: #fff; font-size: 1.15rem; margin: 0 0 8px; }
  .m-steps .num p { color: rgba(255,255,255,.82); max-width: 30ch; margin: 0 auto; line-height: 1.55; }
}
@media (max-width: 760px) { .m-steps .num-i { display: none; } }
@media (min-width: 761px) { .m-steps .head .title { max-width: none; white-space: nowrap; } }

/* Who it's for: gradient band, centred, desktop */
@media (min-width: 761px) {
  section.m-who { background: linear-gradient(135deg, #2d9cd6 0%, #0070ac 52%, #00507f 100%); color: #fff; padding: 72px 0 80px; }
  .m-who .head { text-align: center; margin-bottom: 28px; }
  .m-who .head .kicker { color: rgba(255,255,255,.88); }
  .m-who .head .title { color: #fff; margin-left: auto; margin-right: auto; }
  .m-who .tabs { justify-content: center; gap: 8px; border-bottom: 0; overflow: visible; }
  .m-who .tab { margin: 0; padding: 10px 20px; border: 0; border-radius: 999px; background: rgba(255,255,255,.16); color: #fff; font-weight: 700; transition: background-color .15s; }
  .m-who .tab:hover { background: rgba(255,255,255,.28); color: #fff; }
  .m-who .tab[aria-selected="true"] { background: #fff; color: #00507f; }
  .m-who .panel-t { max-width: 920px; margin: 28px auto 0; padding: 0; grid-template-columns: 1fr 1fr; gap: 28px; align-items: stretch; }
  .m-who .panel-t > div { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
  .m-who .panel-t h3 { color: #fff; font-size: 1.6rem; line-height: 1.2; margin-bottom: 10px; }
  .m-who .panel-t p { color: rgba(255,255,255,.9); margin-bottom: 20px; }
  .m-who .panel-t .btn-primary { background: #fff; color: #00507f; }
  .m-who .panel-t ul { border: 0; border-radius: 18px; background: #fff; padding: 8px 22px; display: flex; flex-direction: column; justify-content: center; }
  .m-who .panel-t li { color: #0a0a0a; font-weight: 600; padding: 14px 0; border-bottom: 1px solid #e6edf2; align-items: center; }
  .m-who .panel-t li:last-child { border-bottom: 0; }
  .m-who .panel-t li .ico { margin: 0; flex: none; box-sizing: content-box; width: 14px; height: 14px; padding: 5px; border-radius: 50%; background: linear-gradient(135deg, #2d9cd6, #0070ac 52%, #00507f); color: #fff; }
}
@media (min-width: 761px) {
  section.m-who .panel-t a.btn.btn-primary, section.m-who .panel-t a.btn.btn-primary:hover { background: #fff !important; background-image: none !important; color: #00507f !important; box-shadow: none; }
}

/* Partners: centred, description under the title */
.m-partners .partners-d { margin: 8px auto 0; max-width: 46ch; font-size: .92rem; line-height: 1.5; color: #0a0a0a; text-align: center; }
@media (min-width: 761px) {
  .m-partners .head { text-align: center; }
  .m-partners .head .title { margin-left: auto; margin-right: auto; }
  .m-partners .logos { justify-content: center; }
  .m-partners .wrap { text-align: center; }
}
@media (max-width: 760px) { .m-partners .partners-d { margin-top: 6px; font-size: .86rem; } }
/* FAQ desktop: questions left, plus sign on the same line at the right */
@media (min-width: 761px) {
  .faq-sec .faq summary { justify-content: space-between; align-items: center; text-align: left; padding: 15px 4px; }
  .faq-sec .faq summary::after { position: static; transform: none; flex: none; display: block; width: 20px; text-align: center; line-height: 1; }
  .faq-sec .faq details p { margin-left: 0; margin-right: 0; text-align: left; padding: 0 4px; }
}

/* Partner and About: centred page heading and description on desktop */
@media (min-width: 761px) {
  .m-form-hero .wrap, .m-about-hero .wrap { text-align: center; }
  .m-form-hero h1, .m-about-hero h1 { max-width: none; margin-left: auto; margin-right: auto; }
  .m-form-hero .lead, .m-about-hero .lead { margin-left: auto; margin-right: auto; max-width: 62ch; }
  .m-about-hero .cta-row { justify-content: center; }
}
