/* PatientEngine — site styles
   Colors and fonts live in :root below. Change them there and the whole site updates.
   Icons come from /img/icons.svg (one file, each icon is a <symbol>). */

:root {
  --navy: #12263a;        /* headings, dark panels */
  --navy-2: #1b3a52;
  --teal: #137b73;        /* buttons and links (5.1:1 on white) */
  --teal-dark: #0f6660;
  --mint: #e2f3f0;        /* icon tiles, soft panels */
  --mint-2: #c8ebe5;
  --mint-bright: #7fe0d3; /* accents on navy */
  --amber: #a86a0c;       /* "where patients get lost" signals */
  --amber-soft: #fff1d9;
  --page: #ffffff;
  --alt: #f2f7f6;
  --text: #23384a;
  --muted: #566b7a;
  --border: #d9e5e4;
  --focus: #12263a;
  --max: 1180px;
  --display: 'Bricolage Grotesque', 'Arial Black', Arial, sans-serif;
  --body: 'Figtree', Arial, sans-serif;
  font-family: var(--body);
  font-size: 17px;
  color: var(--text);
  background: var(--page);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body { margin: 0; line-height: 1.6; overflow-x: hidden; }
a { color: var(--teal); }
a:hover { color: var(--teal-dark); }
button, input, select, textarea { font: inherit; }
img, svg, iframe { max-width: 100%; }
p { margin: 0 0 16px; }

.container { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }

/* Icons: <svg class="i"><use href="/img/icons.svg#name"/></svg> */
.i { width: 1em; height: 1em; flex: none; fill: currentColor; vertical-align: -0.15em; }
.icon-tile { width: 52px; height: 52px; flex: none; border-radius: 16px; background: var(--mint); color: var(--teal); display: grid; place-items: center; }
.icon-tile .i { width: 28px; height: 28px; }
.icon-tile.warn { background: var(--amber-soft); color: var(--amber); }
.icon-tile.dark { background: var(--navy); color: var(--mint-bright); }
.icon-tile.big { width: 76px; height: 76px; border-radius: 22px; }
.icon-tile.big .i { width: 40px; height: 40px; }

/* Accessibility */
.skip { position: absolute; left: -9999px; top: 8px; background: #fff; padding: 10px 14px; z-index: 50; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.footer :focus-visible, .on-navy :focus-visible, .cta :focus-visible, .consent :focus-visible, .featured :focus-visible, .live :focus-visible { outline-color: #fff; }
.cta .form-wrap :focus-visible { outline-color: var(--focus); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Type */
h1, h2, h3, .h3 { font-family: var(--display); color: var(--navy); font-weight: 750; line-height: 1.08; letter-spacing: -0.03em; margin: 0 0 14px; text-wrap: balance; }
h1 { font-size: clamp(40px, 7vw, 74px); font-weight: 800; letter-spacing: -0.045em; line-height: 1; margin-bottom: 22px; }
h2 { font-size: clamp(30px, 4.4vw, 46px); }
h3, .h3 { font-size: 21px; line-height: 1.2; letter-spacing: -0.02em; }
.lead { font-size: clamp(18px, 2vw, 21px); line-height: 1.55; color: #3d5363; max-width: 36em; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--teal); font-weight: 700; font-size: 16px; margin-bottom: 12px; }
.eyebrow .i { font-size: 20px; }
.muted { color: var(--muted); }
.micro { font-size: 14px; color: var(--muted); }
.center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mt-32 { margin-top: 32px; }
strong, b { font-weight: 700; }

/* Buttons: pill shaped, at least 48px tall for easy tapping */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 12px 24px; border: 2px solid var(--teal); border-radius: 999px; background: var(--teal); color: #fff; text-decoration: none; font-weight: 700; font-size: 16px; line-height: 1.2; text-align: center; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
.button .i { font-size: 20px; }
.button:hover { background: var(--teal-dark); border-color: var(--teal-dark); color: #fff; }
.button.secondary { background: #fff; color: var(--navy); border-color: var(--navy); }
.button.secondary:hover { background: var(--navy); color: #fff; }
.button.light { background: #fff; color: var(--navy); border-color: #fff; }
.button.light:hover { background: var(--mint); border-color: var(--mint); color: var(--navy); }
.button.ghost { background: transparent; color: #fff; border-color: #ffffff8c; }
.button.ghost:hover { background: #ffffff1f; color: #fff; }
.button.block { display: flex; width: 100%; }
.button[disabled] { opacity: .65; cursor: wait; }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--teal); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; text-decoration-color: var(--mint-2); }
.text-link:hover { text-decoration-color: currentColor; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 14px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 30; background: #fffffff2; border-bottom: 1px solid var(--border); }
.header-inner { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); font: 800 21px var(--display); letter-spacing: -0.04em; white-space: nowrap; }
.brand:hover { color: var(--navy); }
.brand-mark { width: 36px; height: 36px; flex: none; }
.brand b { color: var(--teal); font-weight: inherit; }
.nav { display: none; gap: 26px; align-items: center; }
.nav a { color: var(--navy); text-decoration: none; font-size: 16px; font-weight: 600; white-space: nowrap; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--teal); }
.nav a[aria-current="page"] { color: var(--teal); border-bottom-color: currentColor; }
.nav .nav-cta { display: none; }
.header-inner > .button { white-space: nowrap; }
.menu-button { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px; background: #fff; color: var(--navy); border: 2px solid var(--navy); border-radius: 999px; font-weight: 700; cursor: pointer; }
.menu-button .i { font-size: 20px; }
.menu-button .i-close { display: none; }
.menu-button[aria-expanded="true"] .i-open { display: none; }
.menu-button[aria-expanded="true"] .i-close { display: block; }

/* Sections */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.alt { background: var(--alt); }
.section-heading { max-width: 720px; margin-bottom: 36px; }
.section-heading.center { margin-inline: auto; text-align: center; }
.section-heading > p { color: var(--muted); font-size: 18px; }
.grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.prose { max-width: 760px; }
.prose h2 { font-size: 27px; margin-top: 36px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 6px; }

/* Home hero */
.hero { padding: clamp(40px, 7vw, 88px) 0 clamp(56px, 7vw, 100px); }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-size: 15px; font-weight: 600; }
.hero-points li { display: inline-flex; align-items: center; gap: 7px; }
.hero-points .i { color: var(--teal); font-size: 19px; }

/* The one-inquiry timeline (hero centerpiece) */
.live { margin: 0 16px 16px 0; position: relative; background: var(--navy); color: #fff; border-radius: 28px; padding: 26px 24px 22px; box-shadow: 16px 16px 0 var(--mint); }
.live-title { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; margin-bottom: 16px; }
.live-title b { font: 700 19px var(--display); letter-spacing: -0.02em; }
.live-title span { font-size: 13px; color: #b8cad6; }
.live ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.live li { position: relative; display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 8px 0; }
.live li:not(:last-child)::after { content: ""; position: absolute; left: 19px; top: 50px; bottom: -6px; width: 2px; background: #ffffff26; }
.live-icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #ffffff14; color: var(--mint-bright); }
.live-icon .i { width: 22px; height: 22px; }
.live-icon.warn { background: #f2b33d26; color: #f6c35b; }
.live-icon.done { background: var(--mint-bright); color: var(--navy); }
.live small { display: block; color: #9fb7c6; font-size: 13px; font-weight: 600; }
.live p { margin: 0; line-height: 1.4; }
.live .bubble { display: inline-block; margin-top: 6px; background: #fff; color: var(--navy); border-radius: 14px 14px 14px 4px; padding: 8px 12px; font-size: 15px; }
.live-note { margin: 12px 0 0; font-size: 13px; color: #9fb7c6; }

/* main.js adds data-animate, then .is-visible when the card scrolls into view.
   Without JavaScript (or with reduced motion) every step simply shows. */
@media (prefers-reduced-motion: no-preference) {
  .live[data-animate] li { opacity: 0; }
  .live.is-visible li { animation: step-in .5s cubic-bezier(.2,.7,.2,1) both; }
  .live.is-visible li:nth-child(1) { animation-delay: .25s; }
  .live.is-visible li:nth-child(2) { animation-delay: .75s; }
  .live.is-visible li:nth-child(3) { animation-delay: 1.25s; }
  .live.is-visible li:nth-child(4) { animation-delay: 1.75s; }
  .live.is-visible li:nth-child(5) { animation-delay: 2.25s; }
  .live.is-visible li:nth-child(6) { animation-delay: 2.75s; }
  @keyframes step-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
}

/* Channel strip */
.channels { padding: 26px 0; border-block: 1px solid var(--border); background: #fff; }
.channels-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 34px; }
.channels-label { color: var(--muted); font-weight: 600; font-size: 15px; width: 100%; text-align: center; }
.channel { display: inline-flex; align-items: center; gap: 9px; color: var(--navy); font-weight: 700; font-size: 16px; }
.channel .i { font-size: 24px; }

/* Leaks (problem list) */
.split { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: start; }
.rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.row { display: flex; gap: 18px; align-items: flex-start; background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 20px; }
.row h3 { margin-bottom: 4px; font-size: 20px; }
.row p { margin: 0; color: var(--muted); }

/* Two pillars: get patients / keep patients */
.pillar { background: #fff; border: 1px solid var(--border); border-radius: 26px; padding: clamp(22px, 3vw, 34px); }
.pillar.on-navy { background: var(--navy); border-color: var(--navy); color: #dbe6ee; }
.pillar.on-navy h3, .pillar.on-navy h2 { color: #fff; }
.pillar-head { display: flex; gap: 16px; align-items: center; margin-bottom: 12px; }
.pillar-head h3, .pillar-head h2 { margin: 0; font-size: clamp(23px, 2.6vw, 28px); }
.pillar > p { color: var(--muted); }
.pillar.on-navy > p { color: #c4d3de; }
.pillar.on-navy a.text-link { color: var(--mint-bright); text-decoration-color: #7fe0d366; }
.svc-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 8px; }
.svc-link { display: flex; gap: 14px; align-items: center; padding: 14px; border-radius: 16px; text-decoration: none; color: var(--navy); background: var(--alt); border: 1px solid transparent; }
.svc-link:hover { border-color: var(--teal); color: var(--navy); }
.svc-link .icon-tile { width: 44px; height: 44px; border-radius: 13px; background: #fff; }
.svc-link .icon-tile .i { width: 24px; height: 24px; }
.svc-link b { display: block; font-size: 17px; }
.svc-link span { display: block; font-size: 15px; color: var(--muted); line-height: 1.4; }
.svc-link .go { margin-left: auto; color: var(--teal); font-size: 20px; }
.on-navy .svc-link { background: #ffffff10; color: #fff; }
.on-navy .svc-link:hover { border-color: var(--mint-bright); color: #fff; }
.on-navy .svc-link span { color: #b8cad6; }
.on-navy .svc-link .icon-tile { background: var(--mint-bright); color: var(--navy); }
.on-navy .svc-link .go { color: var(--mint-bright); }
.band { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between; border: 2px dashed var(--mint-2); border-radius: 22px; padding: 20px 24px; background: #fff; }
.band > div { display: flex; gap: 16px; align-items: center; }
.band p { margin: 0; }

/* Generic cards */
.card { background: #fff; border: 1px solid var(--border); border-radius: 22px; padding: 26px; }
.card > :last-child { margin-bottom: 0; }
.card p { color: var(--muted); }
.card .icon-tile { margin-bottom: 16px; }
.card.navy { background: var(--navy); border-color: var(--navy); color: #c4d3de; }
.card.navy h2, .card.navy h3 { color: #fff; }
.card.navy p { color: #c4d3de; }
.card.navy .eyebrow { color: var(--mint-bright); }
.card-row h2 { font-size: clamp(26px, 3vw, 34px); }
.card.navy a.text-link { color: var(--mint-bright); text-decoration-color: #7fe0d366; }
.card.navy .checks li, .on-navy .checks li { color: #dbe6ee; }
.card.navy .checks li::before, .on-navy .checks li::before { background-color: #7fe0d326; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%237fe0d3' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.card-row { display: flex; flex-wrap: wrap; gap: 20px 28px; align-items: center; }
.card-row > div { flex: 1 1 320px; }

/* Check lists */
.checks { list-style: none; padding: 0; margin: 14px 0 20px; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23137b73' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.checks li.plus { padding-left: 0; font-weight: 700; color: var(--navy); }
.checks li.plus::before { display: none; }

/* Service page "what we do" list */
.feature-list { display: grid; grid-template-columns: 1fr; gap: 14px; list-style: none; margin: 0; padding: 0; }
.feature-list li { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 20px; }
.feature-list .tick { width: 32px; height: 32px; flex: none; border-radius: 50%; background: var(--mint); color: var(--teal); display: grid; place-items: center; }
.feature-list .tick .i { width: 20px; height: 20px; }
.feature-list h3 { font-size: 19px; margin-bottom: 4px; }
.feature-list p { margin: 0; color: var(--muted); }

/* Inner page hero */
.page-hero { padding: clamp(40px, 6vw, 72px) 0 clamp(36px, 5vw, 60px); background: var(--alt); border-bottom: 1px solid var(--border); }
.page-hero h1 { font-size: clamp(36px, 5.6vw, 58px); }
.page-hero-grid { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: center; }
.hero-art { display: none; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 15px; font-weight: 600; margin-bottom: 14px; color: var(--muted); }
.crumbs a { color: var(--teal); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs .i { font-size: 15px; color: #8aa0ad; }

/* Funnel infographic */
.infographic { background: #fff; border: 1px solid var(--border); border-radius: 26px; padding: clamp(20px, 3vw, 34px); }
.funnel { display: grid; gap: 8px; max-width: 840px; margin-inline: auto; }
.f-row { display: flex; justify-content: center; }
.f-bar { width: var(--w); color: #fff; border-radius: 16px; padding: 14px 18px; text-align: center; display: grid; gap: 2px; }
.f-bar.w100 { --w: 100%; background: var(--navy); }
.f-bar.w78 { --w: 78%; background: var(--navy-2); }
.f-bar.w58 { --w: 58%; background: #17585e; }
.f-bar.w42 { --w: 42%; background: var(--teal); }
.f-bar b { font: 700 18px var(--display); letter-spacing: -0.02em; }
.f-bar span { font-size: 14px; color: #dcebee; }
.f-gap { justify-self: center; display: inline-flex; align-items: center; gap: 7px; font-size: 14px; line-height: 1.35; font-weight: 700; color: #7a4d06; background: var(--amber-soft); border-radius: 999px; padding: 6px 14px; text-align: center; }
.f-gap .i { color: var(--amber); font-size: 17px; }
.infographic-cta { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 14px 18px; align-items: center; justify-content: center; }
.infographic-cta p { margin: 0; color: var(--muted); font-weight: 600; }

/* Steps (real sequences only) */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 14px; }
.steps li { position: relative; background: #fff; border: 1px solid var(--border); border-radius: 22px; padding: 22px; }
.steps .num { position: absolute; top: 18px; right: 20px; font: 800 34px var(--display); color: var(--mint-2); letter-spacing: -0.04em; line-height: 1; }
.steps h3 { margin: 14px 0 6px; font-size: 20px; }
.steps p { margin: 0; color: var(--muted); font-size: 16px; }
.loop-note { margin-top: 18px; display: flex; gap: 12px; align-items: center; justify-content: center; text-align: center; font-weight: 600; color: var(--navy); }
.loop-note .i { color: var(--teal); font-size: 24px; }

/* Proof */
.stat { font: 800 clamp(40px, 5vw, 54px) var(--display); color: var(--teal); letter-spacing: -0.04em; line-height: 1; margin: 12px 0 6px; }
.tag { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--teal); background: var(--mint); border-radius: 999px; padding: 4px 12px; margin-bottom: 12px; }

/* Chips (who we help, what we track) */
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--border); border-radius: 999px; padding: 9px 16px; font-weight: 600; color: var(--navy); font-size: 16px; }
.chips .i { color: var(--teal); font-size: 18px; }

/* CTA band */
.cta { position: relative; z-index: 0; overflow: hidden; background: var(--navy); color: #fff; border-radius: 30px; padding: clamp(28px, 5vw, 52px); display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.cta::after { content: ""; position: absolute; z-index: -1; right: -70px; top: -70px; width: 240px; height: 240px; border-radius: 50%; border: 38px solid #7fe0d31a; pointer-events: none; }
.cta h2 { color: #fff; margin-bottom: 10px; }
.cta p { margin: 0; color: #c9d7e1; font-size: 18px; max-width: 40em; }
.cta .eyebrow { color: var(--mint-bright); }
.cta-form { display: grid; grid-template-columns: 1fr; gap: 30px; align-items: start; }
.cta.cta-form { display: grid; }
.cta-form > div > ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; color: #dbe6ee; }
.cta-form > div > ul li { display: flex; gap: 10px; align-items: flex-start; }
.cta-form > div > ul .i { color: var(--mint-bright); font-size: 21px; margin-top: 2px; }
.cta .form-wrap p { color: var(--muted); font-size: 14px; }
.cta .form-wrap a { color: var(--teal); }
.cta .form-wrap .error { color: #9e2a2b; }
.cta .form-wrap .success { color: #126b43; }

/* Forms */
.form-wrap { background: #fff; border: 1px solid var(--border); border-radius: 24px; padding: clamp(20px, 3vw, 30px); color: var(--text); max-width: 860px; }
.form-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.field { display: grid; gap: 6px; align-content: start; }
.field label, .field legend { font-size: 15px; font-weight: 700; color: var(--navy); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid #a9bac3; border-radius: 14px; background: #fff; color: var(--text); font-size: 16px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--teal); }
.field textarea { min-height: 120px; }
.field input:user-invalid, .field select:user-invalid { border-color: #9e2a2b; }
fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }
.checkbox-group { display: grid; grid-template-columns: 1fr; gap: 4px 18px; margin-top: 4px; }
.checkbox-group label { display: flex; gap: 10px; align-items: center; min-height: 40px; font-weight: 500; color: var(--text); font-size: 16px; cursor: pointer; }
.checkbox-group input { width: 20px; height: 20px; flex: none; accent-color: var(--teal); }
.form-status { margin: 12px 0 0; font-weight: 600; }
.form-status:empty { display: none; }
.error { color: #9e2a2b; }
.success { color: #126b43; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.notice { border-left: 4px solid var(--teal); padding: 14px 18px; background: var(--mint); border-radius: 0 12px 12px 0; }
.next-steps { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 14px; counter-reset: n; }
.next-steps li { display: flex; gap: 14px; align-items: flex-start; }
.next-steps li::before { counter-increment: n; content: counter(n); flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--teal); color: #fff; font-weight: 800; display: grid; place-items: center; }

/* Pricing */
.price-grid { display: grid; grid-template-columns: 1fr; gap: 26px; max-width: 640px; margin-inline: auto; align-items: stretch; }
.price-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-radius: 28px; padding: clamp(24px, 3vw, 32px); }
.price-card.featured { background: var(--navy); border-color: var(--navy); color: #dbe6ee; box-shadow: 0 30px 60px -32px #12263a99; }
.price-card.featured h2, .price-card.featured .price { color: #fff; }
.price-badge { position: absolute; top: -15px; left: 28px; display: inline-flex; align-items: center; gap: 6px; background: var(--mint-bright); color: var(--navy); font-size: 14px; font-weight: 800; border-radius: 999px; padding: 5px 14px; }
.price-card h2 { font-size: 28px; margin: 0 0 6px; }
.price-card > p { color: var(--muted); margin-bottom: 18px; }
.price-card.featured > p { color: #b8cad6; }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; font: 800 clamp(44px, 5vw, 54px) var(--display); color: var(--navy); letter-spacing: -0.045em; line-height: 1; margin: 0; }
.price small { font: 600 17px var(--body); letter-spacing: 0; color: var(--muted); }
.featured .price small { color: #b8cad6; }
.setup-fee { display: flex; align-items: center; gap: 8px; margin: 14px 0 0; font-weight: 600; color: var(--navy); }
.setup-fee .i { color: var(--teal); font-size: 20px; }
.featured .setup-fee { color: #fff; }
.featured .setup-fee .i { color: var(--mint-bright); }
.due { margin: 6px 0 0; font-size: 14px; color: var(--muted); }
.price-card.featured .due { color: #b8cad6; }
.price-card hr { border: 0; border-top: 1px solid var(--border); margin: 22px 0 16px; width: 100%; }
.price-card.featured hr { border-top-color: #ffffff26; }
.list-title { display: flex; align-items: center; gap: 8px; font-weight: 800; color: var(--navy); margin: 0 0 4px; }
.list-title .i { color: var(--teal); font-size: 20px; }
.featured .list-title { color: #fff; }
.featured .list-title .i { color: var(--mint-bright); }
.price-card .checks { margin-bottom: 8px; }
.featured .checks li { color: #dbe6ee; }
.featured .checks li.plus { color: #fff; }
.featured .checks li::before { background-color: #7fe0d326; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%237fe0d3' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.price-card .push { margin-top: auto; padding-top: 18px; }
.addons { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 12px; }
.addons li { display: flex; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 18px 20px; }
.addons h3 { font-size: 18px; margin: 0 0 2px; }
.addons p { margin: 0; color: var(--muted); font-size: 15px; }
.addons .cost { margin-left: auto; text-align: right; font: 800 22px var(--display); color: var(--navy); letter-spacing: -0.03em; white-space: nowrap; }
.addons .cost small { display: block; font: 600 13px var(--body); color: var(--muted); letter-spacing: 0; }

/* Case studies */
.case-stats { display: grid; grid-template-columns: 1fr; gap: 10px; margin: 18px 0; }
.case-stats div { background: var(--alt); border-radius: 14px; padding: 14px; }
.case-stats dt { font-size: 14px; color: var(--muted); }
.case-stats dd { margin: 2px 0 0; font: 800 24px var(--display); color: var(--navy); }
blockquote { margin: 18px 0 0; padding: 16px 20px; border-left: 4px solid var(--teal); background: var(--alt); border-radius: 0 14px 14px 0; font-style: italic; }
blockquote p { color: var(--text); margin: 0; }
blockquote cite { display: block; margin-top: 8px; font-style: normal; font-weight: 700; font-size: 15px; color: var(--navy); }

/* FAQ */
.faq-list { display: grid; gap: 10px; }
details { background: #fff; border: 1px solid var(--border); border-radius: 18px; }
summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 56px; padding: 14px 20px; font-weight: 700; font-size: 17px; color: var(--navy); cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--mint); color: var(--teal); display: grid; place-items: center; font-size: 22px; font-weight: 600; transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 0; padding: 0 20px 18px; color: var(--muted); }

/* Booking embed */
.booking-frame { width: 100%; min-height: 720px; border: 1px solid var(--border); border-radius: 20px; background: #fff; }

/* Footer */
.footer { background: var(--navy); color: #dbe6ee; padding: 56px 0 26px; }
.footer a { color: #dbe6ee; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 30px; }
.footer .brand { color: #fff; }
.footer .brand b { color: var(--mint-bright); }
.footer .micro { color: #b8cad6; margin-top: 14px; max-width: 34em; }
.footer-title { font: 700 17px var(--display); color: #fff; margin-bottom: 10px; }
.footer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; font-size: 16px; }
.footer-list a { display: inline-block; padding: 5px 0; }
.footer-contact { display: grid; gap: 6px; margin-top: 14px; }
.footer-contact a { display: inline-flex; align-items: center; gap: 8px; padding: 4px 0; }
.footer-contact .i { width: 18px; height: 18px; flex: none; }
.socials { display: flex; gap: 10px; margin-top: 16px; }
.socials a { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); color: #fff; }
.socials a:hover { background: var(--teal); border-color: var(--teal); color: #fff; }
.socials .i { width: 20px; height: 20px; }
.contact-direct .footer-contact { margin-top: 8px; }
.contact-direct .footer-contact a { color: var(--navy); font-weight: 600; }
.contact-direct .footer-contact .i { color: var(--teal); }
.contact-direct .socials a { border-color: var(--mint-2); color: var(--navy); }
.contact-direct .socials a:hover { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: space-between; align-items: center; font-size: 14px; color: #b8cad6; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; }
.footer-bottom nav a, .link-button { display: inline-block; padding: 10px 0; min-height: 44px; }
.link-button { background: none; border: 0; color: #dbe6ee; cursor: pointer; font-size: 14px; }
.link-button:hover { text-decoration: underline; }
.footer hr { border: 0; border-top: 1px solid #ffffff26; margin: 30px 0 12px; }

/* Cookie consent banner */
.consent { position: fixed; z-index: 40; left: 16px; right: 16px; bottom: 16px; max-width: 560px; background: var(--navy); color: #dbe6ee; border-radius: 20px; padding: 20px 22px; box-shadow: 0 18px 45px #0006; }
.consent p { margin: 0 0 14px; font-size: 15px; }
.consent a { color: #fff; }
.consent .actions { margin: 0; }
.consent .button { min-height: 44px; padding: 9px 20px; }

/* Placeholder note for unfinished proof */
.placeholder-note { border: 1px dashed #c9861c; background: #fff8ea; color: #6b4a06; border-radius: 12px; padding: 12px 16px; font-size: 14px; }

/* ---------- Small phones ---------- */
@media (max-width: 560px) {
  .actions .button, .infographic-cta .button, .cta .button, .band .button { width: 100%; }
  .addons li { flex-wrap: wrap; }
  .addons .cost { margin-left: 68px; text-align: left; }
  .live { padding: 22px 18px 18px; border-radius: 24px; }
  .live { margin: 0 10px 10px 0; box-shadow: 10px 10px 0 var(--mint); }
  .f-bar { width: max(var(--w), 74%); padding: 12px 14px; }
  .svc-link .go { display: none; }
  .consent .button { flex: 1; }
}

/* ---------- Large phones and up ---------- */
@media (min-width: 640px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
  .field.full { grid-column: 1 / -1; }
  .checkbox-group { grid-template-columns: 1fr 1fr; }
  .case-stats { grid-template-columns: repeat(3, 1fr); }
  .channels-label { width: auto; }
}

/* ---------- Tablets ---------- */
@media (min-width: 760px) {
  .grid, .grid.two, .grid.three, .grid.four { grid-template-columns: repeat(2, 1fr); }
  .grid.cases { grid-template-columns: 1fr; max-width: 920px; }
  .feature-list { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .addons { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .cta { flex-direction: row; align-items: center; justify-content: space-between; }
  .cta .button { flex: none; }
  .page-hero-grid { grid-template-columns: 1fr auto; gap: 48px; }
  .hero-art { display: grid; place-items: center; width: 200px; height: 200px; border-radius: 48px; background: #fff; border: 1px solid var(--border); color: var(--teal); }
  .hero-art .i { width: 96px; height: 96px; }
}

/* ---------- Laptops and desktops ---------- */
@media (min-width: 1024px) {
  .nav { display: flex; }
  .header-inner { gap: 20px; }
  .menu-button { display: none; }
  .hero-grid { grid-template-columns: 1.08fr .92fr; gap: 64px; }
  .split { grid-template-columns: .9fr 1.1fr; gap: 56px; }
  .grid.three { grid-template-columns: repeat(3, 1fr); }
  .grid.four { grid-template-columns: repeat(4, 1fr); }
  .steps.four { grid-template-columns: repeat(4, 1fr); }
  .steps.three { grid-template-columns: repeat(3, 1fr); }
  .feature-list { grid-template-columns: repeat(3, 1fr); }
  .feature-list li { flex-direction: column; }
  .price-grid { grid-template-columns: repeat(3, 1fr); max-width: none; gap: 20px; }
  .price-card.featured { transform: translateY(-12px); }
  .addons { grid-template-columns: repeat(3, 1fr); }
  .addons li { flex-direction: column; align-items: flex-start; }
  .addons .cost { margin-left: 0; text-align: left; margin-top: auto; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; }
  .cta-form { grid-template-columns: .9fr 1.1fr; gap: 48px; }
}

/* ---------- Phone + tablet menu (below 1024px) ---------- */
@media (max-width: 1023px) {
  .header-inner { height: 68px; }
  .nav { position: absolute; top: 68px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--border); padding: 8px 20px 20px; flex-direction: column; align-items: stretch; gap: 0; box-shadow: 0 18px 30px -12px #12263a33; max-height: calc(100vh - 68px); overflow-y: auto; }
  .nav:not([hidden]) { display: flex; }
  .nav a { padding: 14px 4px; font-size: 18px; border-bottom: 1px solid var(--border); }
  .nav a[aria-current="page"] { border-bottom-color: var(--border); }
  .nav .nav-cta { display: flex; margin-top: 16px; color: #fff; border: 2px solid var(--teal); }
  .header-inner > .button { display: none; }
}

/* Tablets have room for the audit button beside the menu button */
@media (min-width: 600px) and (max-width: 1023px) {
  .header-inner > .button { display: inline-flex; min-height: 44px; padding: 9px 18px; font-size: 15px; margin-left: auto; }
  .nav .nav-cta { display: none; }
}

/* Laptops: tighter menu spacing so it fits on one line */
@media (min-width: 1024px) and (max-width: 1199px) {
  .nav { gap: 18px; }
  .nav a { font-size: 15px; }
  .header-inner > .button { padding-inline: 18px; }
}

/* Very small phones (320-360px) */
@media (max-width: 360px) {
  .container { width: calc(100% - 28px); }
  .header-inner { gap: 10px; }
  .brand { font-size: 19px; gap: 8px; }
  .brand-mark { width: 32px; height: 32px; }
  .menu-button { padding: 8px 12px; }
  .live { padding: 20px 14px 16px; }
  .card, .pillar, .price-card { padding: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
}
