/* Hallmark - macrostructure: Corporate Operations Manual - tone: grounded B2B - anchor hue: muted navy */
/* ============================================================
 MediDesk | design system (corporate B2B healthcare)
 Palette: deep navy - charcoal - muted teal - soft blue-grey
 Type: Source Sans 3
 ============================================================ */

:root {
 /* neutrals */
 --bg: oklch(98.2% 0.004 242);
 --surface: oklch(99.2% 0.003 242);
 --bg-soft: oklch(95.6% 0.008 245);
 --bg-soft-2: oklch(91.8% 0.012 245);
 --ink: oklch(22% 0.025 245);
 --ink-2: oklch(39% 0.024 245);
 --ink-3: oklch(55% 0.022 245);
 --line: oklch(88.5% 0.01 245);
 --line-2: oklch(80.5% 0.014 245);

 /* status */
 --ok: oklch(50% 0.105 153);
 --ok-soft: oklch(94.5% 0.022 153);
 --warn: oklch(55% 0.105 74);
 --warn-soft: oklch(94.5% 0.035 74);
 --err: oklch(55% 0.105 31);
 --err-soft: oklch(94.5% 0.024 31);

 /* brand, overridden per [data-theme] */
 --primary: oklch(33% 0.06 250);
 --primary-700: oklch(23% 0.052 250);
 --primary-050: oklch(94.5% 0.012 250);
 --primary-100: oklch(88.5% 0.018 250);
 --on-primary: oklch(98.5% 0.004 250);
 --accent: oklch(50% 0.07 205);
 --accent-700: oklch(38% 0.065 205);
 --accent-050: oklch(94% 0.018 205);

 /* shape, restrained, overridden per [data-corners] */
 --r-card: 4px;
 --r-sm: 3px;
 --r-btn: 3px;
 --r-pill: 999px;
 --shadow-sm: none;
 --shadow-md: none;
 --shadow-lg: 0 16px 34px -28px color-mix(in oklab, var(--ink) 30%, transparent);
 --card-border: 1px solid var(--line);

 --wrap: 1200px;
 --gutter: clamp(32px, 6vw, 80px);
 --font: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
 --banner-h: 0px;
 --header-h: 66px; /* header height, mobile */
}

/* ---- Color themes (all restrained / corporate) ---------- */
[data-theme="navy"] { /* Graphite + Teal */
 --primary: oklch(31% 0.025 250);
 --primary-700: oklch(23% 0.022 250);
 --primary-050: oklch(94.5% 0.006 250);
 --primary-100: oklch(88.5% 0.01 250);
 --accent: oklch(50% 0.07 205);
 --accent-700: oklch(38% 0.065 205);
 --accent-050: oklch(94% 0.018 205);
}
[data-theme="forest"] { /* Deep Teal + Green */
 --primary: oklch(35% 0.058 205);
 --primary-700: oklch(25% 0.05 205);
 --primary-050: oklch(94% 0.018 205);
 --primary-100: oklch(88% 0.025 205);
 --accent: oklch(50% 0.105 153);
 --accent-700: oklch(38% 0.095 153);
 --accent-050: oklch(94.5% 0.022 153);
}
[data-theme="slate"] { /* Slate Blue + Muted Green */
 --primary: oklch(38% 0.046 245);
 --primary-700: oklch(28% 0.04 245);
 --primary-050: oklch(94.2% 0.012 245);
 --primary-100: oklch(88.5% 0.018 245);
 --accent: oklch(54% 0.07 172);
 --accent-700: oklch(42% 0.062 172);
 --accent-050: oklch(94.5% 0.018 172);
}

/* ---- Corner styles --------------------------------------- */
[data-corners="rounded"] { --r-card: 6px; --r-sm: 4px; --r-btn: 4px; }
[data-corners="sharp"] { --r-card: 2px; --r-sm: 2px; --r-btn: 3px; }
/* surface: outlined removes shadows for a flatter, document-like feel */
[data-surface="outlined"] {
 --shadow-sm: none;
 --shadow-md: none;
 --shadow-lg: 0 1px 2px rgba(24, 37, 49, .05);
 --card-border: 1px solid var(--line-2);
}

/* ---- Reset / base ---------------------------------------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
 margin: 0;
 font-family: var(--font);
 background: var(--bg);
 color: var(--ink);
 font-size: 15.5px;
 line-height: 1.6;
 -webkit-font-smoothing: antialiased;
 text-rendering: optimizeLegibility;
 overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; letter-spacing: 0; color: var(--ink); font-weight: 750; overflow-wrap: break-word; }
p { margin: 0; overflow-wrap: break-word; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 2px; }

/* ---- Layout helpers -------------------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); min-width: 0; }
.section { padding-block: clamp(64px, 8vw, 104px); }
.section--tight { padding-block: clamp(40px, 5vw, 64px); }
.soft-bg { background: var(--bg-soft); border-block: 1px solid var(--line); }
.primary-bg { background: var(--primary); color: var(--on-primary); }
.eyebrow {
 display: inline-flex; align-items: center; gap: 9px;
 font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
 color: var(--accent-700); margin: 0 0 16px;
}
.eyebrow::before { display: none; }
.primary-bg .eyebrow, .on-primary .eyebrow { color: color-mix(in oklab, var(--accent) 50%, white); }
.primary-bg .eyebrow::before, .on-primary .eyebrow::before { background: color-mix(in oklab, var(--accent) 50%, white); }
.lead { font-size: clamp(1.06rem, 1.8vw, 1.2rem); color: var(--ink-2); line-height: 1.55; }
.muted { color: var(--ink-2); }
.center { text-align: center; }
.section-head { max-width: 720px; }
.section-head.center { margin-inline: auto; }
h2.h2 { font-size: clamp(1.7rem, 3vw, 2.25rem); letter-spacing: -0.02em; }
h3.h3 { font-size: 1.18rem; font-weight: 700; letter-spacing: -0.01em; }
.text-balance { text-wrap: balance; }

/* ---- Buttons --------------------------------------------- */
.btn {
 display: inline-flex; align-items: center; justify-content: center; gap: 9px;
 font-size: .98rem; font-weight: 600; line-height: 1;
 padding: 13px 22px; border-radius: var(--r-btn);
 border: 1px solid transparent; cursor: pointer; transition: background .15s ease, border-color .15s ease, color .15s ease;
 white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; }
.btn-primary { background: var(--primary); color: var(--on-primary); border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-700); border-color: var(--primary-700); }
.btn-secondary { background: var(--surface); color: var(--primary); border-color: var(--line-2); }
.btn-secondary:hover { border-color: var(--primary); background: var(--primary-050); }
.btn-ghost { background: transparent; color: var(--primary); padding-inline: 4px; }
.btn-ghost:hover { color: var(--primary-700); }
.btn-lg { padding: 15px 26px; font-size: 1rem; }
.on-primary .btn-primary { background: #fff; color: var(--primary); border-color: #fff; }
.on-primary .btn-primary:hover { background: var(--primary-050); border-color: var(--primary-050); }
.on-primary .btn-secondary { background: transparent; color: #fff; border-color: color-mix(in oklab, #fff 40%, transparent); }
.on-primary .btn-secondary:hover { border-color: #fff; background: rgba(255,255,255,.08); }

/* ---- Cards ----------------------------------------------- */
.card {
 background: var(--surface); border: var(--card-border); border-radius: var(--r-card);
 box-shadow: var(--shadow-md); padding: 32px;
}
.card-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--primary); margin-top: 14px; font-size: .95rem; }
.card-link svg { width: 15px; height: 15px; transition: transform .15s ease; }
.card:hover .card-link svg, .card-link:hover svg { transform: translateX(3px); }
.card-media {
 width: 100%;
 aspect-ratio: 16 / 10;
 object-fit: cover;
 border-radius: var(--r-sm);
 border: 1px solid var(--line);
 margin-bottom: 18px;
 background: var(--bg-soft);
}
.feature-card--photo .ico { display: none; }

/* icon chip, square, restrained */
.ico {
 width: 42px; height: 42px; border-radius: 7px; display: grid; place-items: center;
 background: var(--primary-050); color: var(--primary); margin-bottom: 16px; flex: none;
 border: 1px solid var(--primary-100);
}
[data-corners="sharp"] .ico { border-radius: 2px; }
.ico svg { width: 21px; height: 21px; }
.ico.accent { background: var(--accent-050); color: var(--accent-700); border-color: color-mix(in oklab, var(--accent) 22%, white); }

/* ---- Grid utilities -------------------------------------- */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---- Header ---------------------------------------------- */
.site-header {
 position: sticky; top: 0; z-index: 60;
 background: var(--surface);
 border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 26px; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.16rem; letter-spacing: -.02em; color: var(--ink); flex-shrink: 0; }
.brand-mark {
 width: 30px; height: 30px; border-radius: 6px; flex: none;
 background: var(--primary); border: 1px solid var(--primary-700);
 display: grid; place-items: center; color: #fff; font-weight: 800; font-size: .95rem;
}
[data-corners="sharp"] .brand-mark { border-radius: 2px; }
.brand-logo { height: 44px; width: auto; display: block; }
.footer-logo { height: 30px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 2px; margin-left: 6px; }
.nav-links a {
 padding: 8px 13px; border-radius: 6px; font-weight: 600; font-size: .95rem; color: var(--ink-2); transition: .15s; white-space: nowrap;
}
.nav-links a:hover { color: var(--ink); background: var(--bg-soft); }
.nav-links a.active { color: var(--primary); }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; background: none; border: none; cursor: pointer; padding: 8px; color: var(--ink); }
.nav-toggle svg { width: 24px; height: 24px; }

/* ---- Footer ---------------------------------------------- */
.site-footer { background: var(--primary-700); color: color-mix(in oklab, #fff 80%, var(--primary-700)); padding-block: 58px 30px; }
.footer-grid { display: grid; grid-template-columns: minmax(240px, 1.45fr) repeat(4, minmax(130px, 1fr)); gap: 34px; }
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.footer-about { font-size: .96rem; line-height: 1.6; max-width: 320px; color: color-mix(in oklab, #fff 68%, var(--primary-700)); }
.footer-col h4 { color: #fff; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 15px; font-weight: 700; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a { font-size: .96rem; color: color-mix(in oklab, #fff 74%, var(--primary-700)); }
.footer-col a:hover { color: #fff; }
.footer-bottom {
 margin-top: 44px; padding-top: 22px; border-top: 1px solid color-mix(in oklab, #fff 16%, transparent);
 display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: center; align-items: center;
 font-size: .88rem; color: color-mix(in oklab, #fff 58%, var(--primary-700));
}
.placeholder-note { font-style: italic; opacity: .85; }

/* ---- Trust strip ----------------------------------------- */
.trust-band { border-bottom: 1px solid var(--line); background: var(--surface); padding-block: 18px; }
.trust-strip { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; }
.trust-item { display: inline-flex; align-items: center; gap: 9px; font-size: .92rem; font-weight: 600; color: var(--ink-2); }
.trust-item svg { width: 18px; height: 18px; color: var(--accent); flex: none; }

.photo-caption {
 font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
 font-size: .72rem; color: var(--ink-3); margin-top: 9px; letter-spacing: .01em;
}
.photo-figure { margin: 0; position: relative; }
.photo-tag {
 position: absolute; top: 10px; left: 10px; z-index: 2;
 font-family: ui-monospace, Menlo, monospace; font-size: .64rem; letter-spacing: .08em; text-transform: uppercase;
 background: var(--surface); color: var(--ink-3); border: 1px solid var(--line);
 padding: 4px 8px; border-radius: 4px;
}

/* ---- Browser-framed app mockup --------------------------- */
.app-frame {
 border: 1px solid var(--line-2); border-radius: var(--r-card); overflow: hidden;
 background: var(--bg-soft); box-shadow: var(--shadow-lg);
}
.app-bar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.app-bar .dots { display: flex; gap: 6px; }
.app-bar .dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); display: block; }
.app-bar .dots i:nth-child(1),
.mockup-bar i:nth-child(1) { background: oklch(67% .2 28); }
.app-bar .dots i:nth-child(2),
.mockup-bar i:nth-child(2) { background: oklch(82% .16 82); }
.app-bar .dots i:nth-child(3),
.mockup-bar i:nth-child(3) { background: oklch(72% .17 147); }
.app-url { margin-left: 8px; font-family: ui-monospace, Menlo, monospace; font-size: .76rem; color: var(--ink-3); background: var(--surface); border: 1px solid var(--line); border-radius: 4px; padding: 3px 10px; }
.app-body { display: grid; grid-template-columns: 170px 1fr; min-height: 420px; }
.app-side { border-right: 1px solid var(--line); padding: 16px 10px; background: var(--surface); display: flex; flex-direction: column; gap: 3px; }
.app-side .side-brand { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: .95rem; color: var(--ink); padding: 4px 8px 18px; }
.app-side .side-brand b { width: 20px; height: 20px; border-radius: 4px; background: var(--primary); color: #fff; display: grid; place-items: center; font-size: .7rem; }
.app-side .side-logo { height: 18px; width: auto; }
.app-side .side-search { display: flex; align-items: center; gap: 6px; margin: 8px 4px 4px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 6px; padding: 5px 8px; font-size: .65rem; color: var(--ink-3); height: 28px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-side .side-search svg { width: 11px; height: 11px; opacity: 0.5; }
.app-side span { padding: 10px 8px 4px; color: var(--ink-3); text-transform: uppercase; letter-spacing: .07em; font-size: .62rem; font-weight: 800; }
.app-side a { display: flex; align-items: center; gap: 9px; padding: 8px 9px; border-radius: 6px; font-size: .82rem; font-weight: 600; color: var(--ink-2); }
.app-side a svg { width: 15px; height: 15px; color: var(--ink-3); }
.app-side a.active { background: #1F5160; color: #fff; }
.app-side a.active svg { color: #fff; }
.app-main { padding: 14px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.app-topline { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; }
.app-topline strong { font-size: .9rem; }
.app-search { min-width: 0; border: 1px solid var(--line); border-radius: 6px; padding: 6px 9px; color: var(--ink-3); font-size: .72rem; }
.app-user { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 7px; padding: 4px 8px; color: var(--ink-2); font-size: .72rem; font-weight: 700; white-space: nowrap; }
.app-user b { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-050); color: var(--accent-700); font-size: .62rem; }
.app-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ah-title { font-weight: 700; font-size: .98rem; color: var(--ink); }
.ah-sub { font-size: .78rem; color: var(--ink-3); margin-top: 2px; }
.stat-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.stat { border: 1px solid var(--line); border-top: 2px solid rgba(31,81,96,0.5); border-radius: 8px; padding: 11px 12px; background: var(--surface); min-width: 0; overflow: hidden; }
.stat.stat-teal { border-top-color: rgba(31,81,96,0.5); }
.stat.stat-amber { border-top-color: rgba(201,122,56,0.6); }
.stat.stat-danger { border-top-color: rgba(182,71,71,0.6); }
.stat.stat-success { border-top-color: rgba(45,106,79,0.6); }
.stat .s-k { display: block; font-size: .68rem; color: var(--ink-3); font-weight: 600; letter-spacing: .01em; line-height: 1.25; }
.stat .s-v { display: block; font-size: 1.26rem; font-weight: 800; color: var(--ink); letter-spacing: -.02em; margin-top: 5px; white-space: nowrap; }
.stat .s-note { display: block; color: var(--ink-3); font-size: .63rem; line-height: 1.25; margin-top: 3px; }
.app-panels { display: grid; grid-template-columns: 1fr; gap: 10px; align-items: stretch; }
.appt-card { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--surface); }
.appt-head { display: flex; align-items: center; justify-content: space-between; padding: 10px 13px; border-bottom: 1px solid var(--line); background: var(--bg-soft); font-size: .8rem; font-weight: 700; color: var(--ink); }
.appt-head span { font-weight: 600; color: var(--ink-3); font-size: .74rem; }
.appt-row { display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 10px; padding: 10px 13px; border-bottom: 1px solid var(--line); font-size: .82rem; }
.appt-row:last-child { border-bottom: none; }
.appt-row .t { font-variant-numeric: tabular-nums; color: var(--ink-3); font-weight: 600; }
.appt-row .nm { color: var(--ink); font-weight: 600; }
.app-note { padding: 8px 14px; font-size: .7rem; color: var(--ink-3); font-style: italic; border-top: 1px solid var(--line); background: var(--bg-soft); }
.risk-panel { border: 1px solid var(--line); border-radius: 8px; background: var(--surface); padding: 12px 13px; }
.risk-title { font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); font-weight: 800; margin-bottom: 9px; }
.risk-grid { display: flex; flex-wrap: wrap; gap: 7px; }
.risk-grid span {
 display: inline-flex; align-items: center; gap: 6px;
 border: 1px solid var(--line); border-radius: 5px; padding: 5px 8px;
 color: var(--ink-2); background: var(--bg-soft); font-size: .72rem; font-weight: 700;
}
.risk-grid span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--warn); }
.risk-list { display: grid; gap: 8px; }
.risk-list div { border: 1px solid var(--line); border-radius: 7px; padding: 9px 10px; background: var(--bg-soft); }
.risk-list strong { display: block; color: var(--ink); font-size: .78rem; }
.risk-list span { display: block; margin-top: 2px; color: var(--ink-3); font-size: .7rem; line-height: 1.25; }

/* ---- Features page -------------------------------------- */
.features-hero-grid {
 display: grid;
 grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr);
 gap: clamp(34px, 5vw, 66px);
 align-items: center;
}
.features-hero-copy {
 min-width: 0;
}
.features-h1 {
 font-size: clamp(2.25rem, 4.6vw, 3.75rem);
 line-height: 1.04;
 font-weight: 800;
 letter-spacing: 0;
 max-width: 13ch;
}
.feature-pill-list {
 list-style: none;
 display: flex;
 flex-wrap: wrap;
 gap: 8px;
 margin: 28px 0 0;
 padding: 22px 0 0;
 border-top: 1px solid var(--line);
}
.feature-pill-list li {
 border: 1px solid var(--line-2);
 background: var(--surface);
 color: var(--ink-2);
 padding: 6px 10px;
 border-radius: var(--r-sm);
 font-size: .86rem;
 font-weight: 700;
}
.feature-dashboard {
 align-self: center;
 box-shadow: 0 22px 48px -34px color-mix(in oklab, var(--ink) 42%, transparent);
 width: 100%;
 min-width: 0;
}
.feature-dashboard .app-body {
 grid-template-columns: 1fr;
 min-height: 0;
}
.feature-dashboard .app-panels {
 grid-template-columns: minmax(0, 1.15fr) minmax(170px, .85fr);
}
.feature-spotlight-copy {
 max-width: none;
 display: grid;
 grid-template-columns: minmax(0, .82fr) minmax(360px, 1.18fr);
 gap: 20px clamp(28px, 5vw, 58px);
 align-items: start;
}
.feature-spotlight-copy > .ico {
 grid-column: 1;
 margin-bottom: 4px;
}
.feature-spotlight-copy > h2,
.feature-spotlight-copy > p {
 grid-column: 1;
}
.feature-spotlight-copy > .bullets {
 grid-column: 2;
 grid-row: 1 / span 4;
 margin-top: 0 !important;
 padding: 22px;
 border: 1px solid var(--line);
 background: var(--surface);
 align-self: center;
}

/* status chips */
.status-chip { display: inline-flex; align-items: center; gap: 4px; font-family: 'JetBrains Mono', 'SFMono-Regular', Consolas, monospace; font-size: 9.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: 0 8px; height: 20px; border-radius: 999px; white-space: nowrap; border: 1px solid transparent; }
.status-chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; }
.s-scheduled { background: rgba(31,81,96,0.1); color: #1F5160; }
.s-scheduled::before { background: #1F5160; }
.s-checked-in { background: rgba(143,191,188,0.25); color: #2c5e5b; }
.s-checked-in::before { background: #2c5e5b; }
.s-in-queue { background: rgba(201,122,56,0.15); color: #C97A38; }
.s-in-queue::before { background: #C97A38; }
.s-in-consultation { background: rgba(58,90,126,0.1); color: #3A5A7E; }
.s-in-consultation::before { background: #3A5A7E; }
.s-completed { background: rgba(75,85,99,0.1); color: #4B5563; }
.s-completed::before { background: #4B5563; }
.s-cancelled { background: rgba(182,71,71,0.1); color: #B64747; }
.s-cancelled::before { background: #B64747; }
.s-no-show { background: rgba(201,122,56,0.15); color: #C97A38; }
.s-no-show::before { background: #C97A38; }
.s-pending { background: rgba(201,122,56,0.15); color: #C97A38; }
.s-pending::before { background: #C97A38; }
.s-approved { background: rgba(45,106,79,0.1); color: #2D6A4F; }
.s-approved::before { background: #2D6A4F; }
.s-declined { background: rgba(182,71,71,0.1); color: #B64747; }
.s-declined::before { background: #B64747; }
.s-expired { background: rgba(75,85,99,0.1); color: #4B5563; }
.s-expired::before { background: #4B5563; }
.s-reminded { display: inline-flex; align-items: center; gap: 2px; font-size: 10px; font-weight: 500; color: #2D6A4F; }
.s-due { background: var(--err-soft); color: var(--err); }
[data-corners="sharp"] .status-chip { border-radius: 2px; }

/* ---- Generic mockup (features spotlights) ---------------- */
.mockup { border: 1px solid var(--line-2); border-radius: var(--r-card); background: var(--surface); box-shadow: var(--shadow-lg); overflow: hidden; }
.mockup-bar { display: flex; align-items: center; gap: 7px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.mockup-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); display: block; }
.mockup-bar .mb-title { margin-left: 10px; font-size: .76rem; font-weight: 600; color: var(--ink-3); font-family: ui-monospace, Menlo, monospace; }
.mockup-body { padding: 18px; }
.mock-label { font-family: ui-monospace, Menlo, monospace; font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); margin-bottom: 12px; }
.mock-tile { border: 1px solid var(--line); border-radius: 6px; background: var(--surface); padding: 14px; min-height: 70px; }
.mock-tile.metric-teal { border-top: 2px solid var(--accent); }
.mock-tile.metric-amber { border-top: 2px solid var(--warn); }
.mock-tile .mt-k { font-size: .72rem; color: var(--ink-3); font-weight: 600; }
.mock-tile .mt-v { font-size: 1.4rem; font-weight: 800; color: var(--ink); margin-top: 4px; letter-spacing: -.02em; }
.mock-tile .mt-s { font-size: .76rem; color: var(--ink-3); margin-top: 2px; }
.mini-top { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 7px; padding: 9px 10px; background: var(--surface); }
.mini-top strong { color: var(--ink); font-size: .86rem; }
.mini-top span { color: var(--ink-3); font-size: .72rem; border: 1px solid var(--line); border-radius: 6px; padding: 5px 8px; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.mini-row { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); font-size: .76rem; }
.mini-row:first-of-type { border-top: none; }
.mini-row span { color: var(--ink-2); }
.mini-row strong { color: var(--ink); }
.mini-table { border: 1px solid var(--line); border-radius: 7px; overflow: hidden; background: var(--surface); }
.mini-table-head, .mini-table-row { display: grid; grid-template-columns: 1.35fr 1fr .8fr; gap: 8px; align-items: center; padding: 9px 10px; }
.mini-table-head { background: var(--bg-soft); color: var(--ink-3); text-transform: uppercase; letter-spacing: .05em; font-size: .62rem; font-weight: 800; }
.mini-table-row { border-top: 1px solid var(--line); color: var(--ink-2); font-size: .72rem; }
.mini-table-row b { color: var(--ink); display: block; font-size: .76rem; }
.mini-table-row small { display: block; color: var(--ink-3); margin-top: 2px; }
.ok-text { color: var(--ok) !important; font-weight: 800; }
.warn-text { color: var(--warn) !important; font-weight: 800; }

/* ---- Pricing --------------------------------------------- */
.price-card { display: flex; flex-direction: column; position: relative; }
.price-card.featured { border-color: var(--primary); box-shadow: var(--shadow-lg); }
.price-card.featured::before {
 content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
 background: var(--primary); border-radius: var(--r-card) var(--r-card) 0 0; pointer-events: none;
}
.price-badge {
 position: absolute; top: -11px; left: 24px;
 background: var(--primary); color: #fff; font-size: .68rem; font-weight: 700;
 padding: 5px 12px; border-radius: 4px; white-space: nowrap; letter-spacing: .04em; text-transform: uppercase;
}
.price-badge.accent { background: var(--surface); color: var(--ink-2); border: 1px solid var(--line-2); }
.plan-name { font-size: 1.1rem; font-weight: 700; }
.plan-for { font-size: .9rem; color: var(--ink-2); margin-top: 6px; min-height: 42px; }
.price-amount { display: flex; align-items: baseline; gap: 4px; margin: 16px 0 4px; }
.price-amount .price-prefix { font-size: .84rem; color: var(--ink-3); font-weight: 700; margin-right: 2px; }
.price-amount .amt { font-size: 2.1rem; font-weight: 800; letter-spacing: -.03em; }
.price-amount .per { font-size: .9rem; color: var(--ink-3); font-weight: 600; }
.price-sub { font-size: .84rem; color: var(--ink-3); min-height: 20px; }
.pricing-reason-card { align-self: start; }
.plan-list { list-style: none; margin: 16px 0 0; padding: 16px 0 0; border-top: 1px solid var(--line); display: grid; gap: 14px; }
.plan-list li { display: flex; gap: 10px; font-size: .92rem; color: var(--ink-2); align-items: flex-start; }
.plan-list svg { width: 16px; height: 16px; color: var(--accent); flex: none; margin-top: 3px; }
.plan-list .head { font-weight: 700; color: var(--ink); font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; }

/* ---- Comparison table ------------------------------------ */
.cmp-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-card); -webkit-overflow-scrolling: touch; }
.cmp-hint { display: none; }
table.cmp { border-collapse: collapse; width: 100%; min-width: 760px; font-size: .92rem; }
table.cmp th, table.cmp td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); }
table.cmp thead th { background: var(--primary); color: #fff; font-weight: 700; position: sticky; top: 0; }
table.cmp thead th.col-feat { background: var(--primary-700); }
table.cmp tbody th { font-weight: 600; color: var(--ink); background: var(--surface); }
table.cmp td { color: var(--ink-2); text-align: center; }
table.cmp td:first-child, table.cmp th:first-child { text-align: left; }
table.cmp tbody tr:nth-child(even) th, table.cmp tbody tr:nth-child(even) td { background: var(--bg-soft); }
table.cmp .yes { color: var(--ok); font-weight: 700; }
table.cmp .no { color: #e74c3c; font-weight: 700; }
table.cmp .basic { color: #e67e22; font-weight: 700; }
table.cmp .advanced { color: #f39c12; font-weight: 700; }
table.cmp td.col-feat { background: var(--primary-050); }
table.cmp tbody tr:nth-child(even) td.col-feat { background: color-mix(in oklab, var(--primary) 8%, var(--bg-soft)); }

/* ---- FAQ ------------------------------------------------- */
.faq { display: grid; gap: 10px; max-width: 820px; margin-inline: auto; }
.faq-item { border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); overflow: hidden; }
.faq-q { width: 100%; text-align: left; background: none; border: none; cursor: pointer; padding: 18px 20px; font-size: 1.02rem; font-weight: 600; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-q .chev { width: 19px; height: 19px; color: var(--accent); transition: transform .2s ease; flex: none; }
.faq-item[open] .faq-q .chev { transform: rotate(180deg); }
.faq-item[open] .faq-q { color: var(--primary); }
.faq-a { padding: 0 20px 20px; color: var(--ink-2); font-size: .98rem; line-height: 1.6; max-width: 70ch; }
.faq-item summary { list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }

/* ---- Workflow ------------------------------------------- */
.flow { display: flex; flex-wrap: wrap; gap: 8px; align-items: stretch; }
.flow-step { flex: 1 1 128px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 14px 14px; box-shadow: var(--shadow-sm); }
.flow-step .n { font-size: .72rem; font-weight: 700; color: var(--accent-700); letter-spacing: .04em; }
.flow-step .t { font-weight: 600; font-size: .95rem; margin-top: 6px; line-height: 1.25; color: var(--ink); }
.flow-arrow { align-self: center; color: var(--line-2); flex: none; }
.flow-arrow svg { width: 18px; height: 18px; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; counter-reset: s; }
.steps li { display: flex; gap: 15px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.steps li:last-child { border-bottom: none; }
.steps li::before {
 counter-increment: s; content: counter(s); flex: none;
 width: 30px; height: 30px; border-radius: 6px; background: var(--primary-050); color: var(--primary);
 font-weight: 700; display: grid; place-items: center; font-size: .9rem; border: 1px solid var(--primary-100);
}
.steps li .st { font-weight: 600; color: var(--ink); }
.steps li .sd { color: var(--ink-2); font-size: .94rem; }

/* ---- CTA band (corporate, flat) -------------------------- */
.cta-band { background: var(--primary); color: var(--on-primary); border-radius: var(--r-card); padding: clamp(36px, 5vw, 56px); border: 1px solid var(--primary-700); }
.cta-band .eyebrow { color: color-mix(in oklab, var(--accent) 50%, white); }
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.15rem); }
.cta-band p { color: color-mix(in oklab, #fff 78%, var(--primary)); max-width: 620px; margin: 14px 0 0; }
.cta-band.center, .cta-band.center p { text-align: center; }
.cta-band.center p { margin-inline: auto; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.cta-band.center .cta-actions { justify-content: center; }

/* ---- Chips ----------------------------------------------- */
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px; border-radius: 5px; font-size: .82rem; font-weight: 600; background: var(--primary-050); color: var(--primary); border: 1px solid var(--primary-100); }
.chip.accent { background: var(--accent-050); color: var(--accent-700); border-color: color-mix(in oklab, var(--accent) 22%, white); }

/* ---- Forms ----------------------------------------------- */
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: .92rem; color: var(--ink); }
.field .req { color: var(--err); }
.field input, .field select, .field textarea {
 font-family: inherit; font-size: .98rem; color: var(--ink); background: var(--surface);
 border: 1px solid var(--line-2); border-radius: var(--r-sm); padding: 12px 14px; width: 100%; transition: .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-050); }
.field textarea { resize: vertical; min-height: 110px; }

/* ---- Policy pages ----------------------------------------- */
.policy-layout { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.policy-doc {
 max-width: 820px;
 min-width: 0;
 color: var(--ink-2);
}
.policy-doc .policy-meta {
 display: flex;
 flex-wrap: wrap;
 gap: 8px;
 margin: 22px 0 0;
}
.policy-content {
 margin-top: 36px;
 border-top: 1px solid var(--line);
 padding-top: 8px;
 min-width: 0;
}
.policy-content h2 {
 font-size: clamp(1.25rem, 2vw, 1.55rem);
 margin: 34px 0 12px;
 color: var(--ink);
}
.policy-content h3 {
 font-size: 1.05rem;
 margin: 24px 0 10px;
 color: var(--ink);
}
.policy-content p {
 margin: 12px 0;
 max-width: 76ch;
}
.policy-content ul {
 margin: 12px 0 18px;
 padding-left: 1.1rem;
 display: grid;
 gap: 7px;
}
.policy-content li { padding-left: .15rem; }
/* policy-table - responsive scrollable table for policy pages */
.policy-table {
 width: 100%;
 border-collapse: collapse;
 font-size: .9rem;
 line-height: 1.5;
}
.policy-table th,
.policy-table td {
 padding: 10px 14px;
 text-align: left;
 vertical-align: top;
 border: 1px solid var(--clr-border, oklch(88% .01 250));
}
.policy-table thead th {
 background: var(--clr-surface-2, oklch(96% .008 250));
 font-weight: 600;
 font-size: .82rem;
 text-transform: uppercase;
 letter-spacing: .03em;
}
.policy-table tbody tr:nth-child(even) td {
 background: var(--clr-surface-1, oklch(98% .004 250));
}
/* wrap for horizontal scroll on mobile - applied in HTML or via JS;
   the overflow must be on a block wrapper, not the table itself */
.table-scroll {
 width: 100%;
 max-width: 100%;
 overflow-x: auto;
 -webkit-overflow-scrolling: touch;
 margin-block: 1.25rem;
}
.table-scroll .policy-table {
 min-width: 520px; /* forces scroll at narrow widths for multi-column tables */
}
.policy-note {
 margin-top: 30px;
 padding: 16px 18px;
 border: 1px solid var(--line);
 border-radius: var(--r-sm);
 background: var(--bg-soft);
 color: var(--ink-2);
 font-size: .95rem;
}
.policy-side {
 position: sticky;
 top: 92px;
 border: 1px solid var(--line);
 border-radius: var(--r-card);
 padding: 16px;
 background: var(--surface);
}
.policy-side h2 {
 font-size: .88rem;
 letter-spacing: .08em;
 text-transform: uppercase;
 color: var(--ink-3);
 margin-bottom: 10px;
}
.policy-nav { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.policy-nav a {
 display: block;
 padding: 8px 9px;
 border-radius: var(--r-sm);
 color: var(--ink-2);
 font-weight: 600;
 font-size: .94rem;
}
.policy-nav a:hover, .policy-nav a.active {
 background: var(--primary-050);
 color: var(--primary);
}
.policy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.policy-grid .card { min-height: 180px; display: flex; flex-direction: column; }
.policy-grid .chip { align-self: flex-start; }
.policy-grid .card-link { margin-top: auto; }
@media (max-width: 900px) {
 .policy-layout { grid-template-columns: 1fr; }
 .policy-side { position: static; order: -1; }
 .policy-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
 .policy-grid { grid-template-columns: 1fr; }
}

/* ---- Misc ------------------------------------------------ */
.hr { height: 1px; background: var(--line); border: none; margin: 0; }
.kicker-row { display: flex; flex-wrap: wrap; gap: 8px; }
.divider-soft { border: none; border-top: 1px solid var(--line); }

/* ============================================================
 Page sections
 ============================================================ */
.hero { padding-block: clamp(40px, 5vw, 72px) clamp(48px, 6vw, 80px); }
.hero-grid { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: clamp(32px, 5vw, 60px); align-items: center; }
.hero-h1 { font-size: clamp(2.1rem, 4.4vw, 3rem); line-height: 1.08; letter-spacing: -0.025em; }
.hero-lead { margin-top: 20px; max-width: 40ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-trust { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 14px; }
.hero-trust li { display: flex; gap: 11px; align-items: flex-start; font-weight: 600; color: var(--ink-2); font-size: .96rem; min-width: 0; overflow-wrap: break-word; }
.hero-trust svg { width: 18px; height: 18px; color: var(--accent); flex: none; margin-top: 2px; }
.audience-proof {
 list-style: none;
 display: flex;
 flex-wrap: wrap;
 gap: 8px;
 margin: 18px 0 0;
 padding: 0;
 max-width: 560px;
}
.audience-proof li {
 display: inline-flex;
 align-items: center;
 min-height: 30px;
 padding: 5px 10px;
 border: 1px solid color-mix(in oklab, var(--accent) 22%, var(--line));
 border-radius: var(--r-sm);
 background: color-mix(in oklab, var(--accent-050) 44%, var(--surface));
 color: var(--ink-2);
 font-size: .86rem;
 font-weight: 750;
 line-height: 1.2;
}
.hero-visual { position: relative; }
@media (max-width: 980px) {
 .hero-grid { grid-template-columns: 1fr; }
 .hero-lead { max-width: none; }
 .features-hero-grid {
 grid-template-columns: 1fr;
 }
 .features-h1 {
 max-width: 16ch;
 }
 .feature-dashboard {
 align-self: auto;
 }
}

/* split layout */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 58px); align-items: center; }
.split-photo { margin: 0; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

@media (max-width: 860px) {
 .feature-spotlight-copy {
 grid-template-columns: 1fr;
 }
 .feature-spotlight-copy > .bullets {
 grid-column: 1;
 grid-row: auto;
 }
}

/* trust list */
.trust-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 13px 22px; }
.trust-list li { display: flex; gap: 11px; align-items: flex-start; font-weight: 600; color: var(--ink); font-size: .98rem; }
.trust-list svg { width: 19px; height: 19px; color: var(--accent); flex: none; margin-top: 2px; }
@media (max-width: 560px) { .trust-list { grid-template-columns: 1fr; } }

/* practice type cards */
.type-card { display: flex; flex-direction: column; }
.type-meta { margin-top: 14px; }
.type-card .card-link { margin-top: auto; padding-top: 14px; }

/* operational proof blocks */
.ops-board {
 border: 1px solid var(--line-2);
 border-radius: var(--r-card);
 background: var(--surface);
 box-shadow: var(--shadow-md);
 padding: 10px;
}
.ops-row {
 display: flex;
 align-items: center;
 justify-content: space-between;
 gap: 18px;
 padding: 16px 18px;
 border-bottom: 1px solid var(--line);
}
.ops-row:last-child { border-bottom: none; }
.ops-row span { color: var(--ink-2); font-weight: 600; }
.ops-row strong { color: var(--ink); font-size: 1.08rem; }

.roi-box {
 border: 1px solid var(--line-2);
 border-radius: var(--r-card);
 background: var(--surface);
 box-shadow: var(--shadow-md);
 padding: 10px;
}
.roi-row {
 display: flex;
 align-items: center;
 justify-content: space-between;
 gap: 18px;
 padding: 15px 18px;
 border-bottom: 1px solid var(--line);
}
.roi-row span { color: var(--ink-2); font-weight: 600; }
.roi-row strong { color: var(--primary); font-size: 1.08rem; }
.roi-note {
 color: var(--ink-2);
 background: var(--bg-soft);
 border-radius: var(--r-sm);
 padding: 14px 16px;
 margin: 10px;
 font-size: .95rem;
}

/* testimonials */
.testimonial { display: flex; flex-direction: column; }
.quote-mark { font-size: 2.4rem; line-height: .6; color: var(--line-2); font-weight: 800; margin-bottom: 10px; font-family: Georgia, serif; }
.t-placeholder { color: var(--ink-3); font-style: italic; font-size: 1rem; line-height: 1.5; flex: 1; }
.t-by { display: flex; align-items: center; gap: 12px; margin-top: 20px; font-size: .88rem; color: var(--ink-2); }
.t-avatar { width: 40px; height: 40px; border-radius: 6px; background: var(--bg-soft-2); flex: none; border: 1px solid var(--line); }

/* feature bullets */
.bullets { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.bullets.cols-2 { grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.bullets li { position: relative; padding-left: 25px; color: var(--ink-2); font-size: .94rem; line-height: 1.4; }
.bullets li::before {
 content: ""; position: absolute; left: 0; top: .38em; width: 14px; height: 14px;
 background: var(--accent-050); border-radius: 3px; border: 1px solid color-mix(in oklab, var(--accent) 22%, white);
 background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f5b64' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
 background-size: 10px; background-repeat: no-repeat; background-position: center;
}
.feat { display: flex; flex-direction: column; }
@media (max-width: 560px) { .bullets.cols-2 { grid-template-columns: 1fr; } }

/* contact page */
.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 56px); align-items: start; }
.contact-layout > * { min-width: 0; }
.contact-photo { margin: 30px 0 0; }
.contact-card { padding: clamp(22px, 3vw, 32px); position: sticky; top: 88px; }
.demo-checklist {
 margin-top: 28px;
 border: 1px solid var(--line);
 border-radius: var(--r-card);
 background: var(--surface);
 padding: 20px;
}
.demo-checklist h2 { font-size: 1.08rem; margin-bottom: 12px; }
.demo-checklist ul { margin: 0; padding-left: 1.1rem; color: var(--ink-2); display: grid; gap: 8px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.form-grid .span-2 { grid-column: 1 / -1; }
.form-success { text-align: center; padding: 22px 8px; }
.success-mark { width: 56px; height: 56px; border-radius: 8px; background: var(--ok-soft); color: var(--ok); display: grid; place-items: center; margin: 0 auto 18px; }
.success-mark svg { width: 28px; height: 28px; }
@media (max-width: 860px) {
 .contact-layout { grid-template-columns: 1fr; }
 .contact-card { position: static; }
 .contact-intro, .contact-card, .demo-checklist { max-width: calc(100vw - (var(--gutter) * 2)); }
 .contact-intro h1 { font-size: clamp(1.8rem, 8vw, 2.25rem) !important; text-wrap: auto; }
 .contact-intro .lead { font-size: 1rem; }
}
@media (max-width: 520px) {
 .contact-intro, .contact-card, .demo-checklist { width: min(100%, 320px); }
}
@media (max-width: 480px) { .form-grid { grid-template-columns: 1fr; } }

/* ---- Responsive ------------------------------------------ */
@media (max-width: 980px) {
 .grid-4 { grid-template-columns: repeat(2, 1fr); }
 .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 860px) {
 .nav-links, .nav-cta .btn-secondary { display: none; }
 .nav-toggle { display: inline-flex; }
 .grid-3 { grid-template-columns: 1fr; }
 .grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
 .nav { gap: 12px; }
 .nav-cta { display: none; }
 .nav-toggle { margin-left: auto; }
}
@media (max-width: 640px) {
 body { font-size: 16px; }
 .grid-4 { grid-template-columns: 1fr; }
 .footer-grid { grid-template-columns: 1fr; }
 .app-body { grid-template-columns: 1fr; }
 .app-side { display: none; }
 .app-topline { grid-template-columns: 1fr; }
 .app-search, .app-user { display: none; }
 .app-panels { grid-template-columns: 1fr; }
 .stat-row { grid-template-columns: 1fr 1fr; }
 .appt-row { grid-template-columns: 48px 1fr; align-items: start; }
 .appt-row .status-chip { grid-column: 2; justify-self: start; white-space: normal; line-height: 1.2; }
}

/* mobile menu */
.mobile-menu { display: none; }
.mobile-menu.open { display: block; }
.mobile-menu {
 position: fixed; inset: calc(var(--banner-h) + 66px) 0 0; z-index: 55; background: var(--bg);
 padding: 20px var(--gutter); border-top: 1px solid var(--line);
}
.mobile-menu a { display: block; padding: 14px 4px; font-size: 1.1rem; font-weight: 600; border-bottom: 1px solid var(--line); color: var(--ink); }
.mobile-menu .btn { width: 100%; margin-top: 20px; }
body.menu-open { overflow: hidden; }

/* ============================================================
 Corporate UI reset
 ============================================================ */

body {
 background: var(--bg);
}

.site-header {
 background: var(--surface);
 box-shadow: none;
}

.nav {
 height: 72px;
}

.nav-links {
 gap: 0;
}

.nav-links a {
 border-radius: 0;
 border-bottom: 2px solid transparent;
 padding: 25px 12px 22px;
}

.nav-links a:hover {
 background: transparent;
 border-bottom-color: var(--line-2);
}

.nav-links a.active {
 border-bottom-color: var(--primary);
}

.btn {
 border-radius: var(--r-btn);
 box-shadow: none;
 transform: none;
 transition: background-color .14s ease-out, border-color .14s ease-out, color .14s ease-out;
}

.btn-primary {
 background: var(--primary);
}

.btn-primary:hover {
 background: color-mix(in oklab, var(--primary) 88%, var(--ink));
}

.btn-secondary {
 background: transparent;
 border-color: var(--line-2);
}

.btn-secondary:hover {
 background: var(--bg-soft);
 border-color: var(--ink-3);
}

.section {
 padding-block: clamp(72px, 9vw, 120px);
}

.section:nth-of-type(even):not(.hero) {
 padding-block: clamp(80px, 10vw, 132px);
}

main > section.section:has(.feature-spotlight-copy):not(.hero) {
 padding-block: clamp(48px, 5.5vw, 72px);
}

.soft-bg {
 background: color-mix(in oklab, var(--bg-soft) 82%, var(--surface));
 border-block: 1px solid var(--line);
}

.section-head {
 max-width: 780px;
}

.section-head.center {
 margin-inline: 0;
 text-align: left;
}

.section-head.center .lead {
 margin-inline: 0;
}

.wrap.section-head {
 max-width: min(var(--wrap), calc(780px + (var(--gutter) * 2)));
 margin-inline: auto;
}

.wrap.section-head.center {
 margin-inline: auto;
 text-align: left;
}

.wrap.section-head.center .hero-actions {
 justify-content: flex-start !important;
}

.eyebrow {
 display: block;
 width: fit-content;
 padding-bottom: 8px;
 border-bottom: 1px solid var(--line-2);
 color: var(--ink-3);
 letter-spacing: .08em;
 margin-bottom: 18px;
}

h2.h2 {
 font-size: clamp(1.55rem, 2.5vw, 2.15rem);
 line-height: 1.14;
}

h3.h3 {
 line-height: 1.2;
}

.lead {
 color: var(--ink-2);
 line-height: 1.5;
 min-width: 0;
 overflow-wrap: anywhere;
}

.hero {
 background: color-mix(in oklab, var(--bg-soft) 72%, var(--surface));
 border-bottom: 1px solid var(--line);
 padding-block: clamp(24px, 3vw, 40px) clamp(52px, 7vw, 96px);
}

.hero-grid {
 grid-template-columns: minmax(0, 1.03fr) minmax(320px, .87fr);
 align-items: stretch;
}

.hero-visuals {
 display: flex;
 flex-direction: column;
 gap: 16px;
 min-width: 0;
 align-self: stretch;
}

.hero-human-photo {
 flex-shrink: 0;
 height: 220px;
 overflow: hidden;
 border-radius: 10px;
}

.hero-human-photo img {
 width: 100%;
 height: 100%;
 object-fit: cover;
 object-position: 50% 58%;
 display: block;
}

.hero-copy {
 align-self: center;
 min-width: 0;
}

.hero-h1 {
 font-size: clamp(1.9rem, 3.2vw, 2.5rem);
 max-width: none;
 line-height: 1.1;
 letter-spacing: -0.015em;
 font-weight: 800;
}

.hero-lead {
 max-width: 58ch;
 margin-top: 24px;
}

.hero-actions {
 gap: 10px;
 margin-top: 30px;
}

.hero-trust {
 margin-top: 32px;
 padding-top: 24px;
 border-top: 1px solid var(--line);
 gap: 10px;
}

.hero-trust li {
 font-weight: 500;
}

.hero-trust svg,
.trust-item svg,
.trust-list svg {
 color: var(--ink-3);
}

.hero .photo-figure {
 background: var(--surface);
 border: 1px solid var(--line-2);
 padding: 10px;
 align-self: stretch;
}

.hero .photo-figure img {
 border-radius: 0;
}

.hero-product-visual {
 align-self: center;
 width: min(100%, 760px);
 margin-left: auto;
 box-shadow: 0 22px 48px -34px color-mix(in oklab, var(--ink) 42%, transparent);
}

.hero-product-visual .app-body {
 grid-template-columns: 120px 1fr;
 min-height: 0;
}

.hero-product-visual .app-side {
 padding: 8px 5px;
 gap: 1px;
 overflow: hidden;
}

.hero-product-visual .app-side .side-brand { padding: 2px 5px 8px; font-size: .68rem; gap: 5px; }
.hero-product-visual .app-side .side-brand b { width: 16px; height: 16px; font-size: .55rem; }
.hero-product-visual .app-side .side-logo { height: 14px; }
.hero-product-visual .app-side .side-search { margin: 2px 2px 4px; padding: 2px 5px; font-size: .5rem; height: 18px; }
.hero-product-visual .app-side .side-search svg { width: 8px; height: 8px; }
.hero-product-visual .app-side span { padding: 5px 5px 1px; font-size: .45rem; }
.hero-product-visual .app-side a { padding: 3px 5px; font-size: .58rem; gap: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-product-visual .app-side a svg { width: 10px; height: 10px; flex-shrink: 0; }

.hero-product-visual .app-main {
 gap: 8px;
 padding: 10px;
}

.hero-product-visual .app-topline {
 display: flex; align-items: center; gap: 8px; padding: 7px 10px;
}
.hero-product-visual .app-topline strong { font-size: .78rem; white-space: nowrap; }
.hero-product-visual .app-search { flex: 1; min-width: 0; font-size: .62rem; padding: 4px 8px; }
.hero-product-visual .app-user { font-size: .62rem; }
.hero-product-visual .app-user b { width: 16px; height: 16px; font-size: .5rem; }

.hero-product-visual .stat-row { grid-template-columns: repeat(4, 1fr); gap: 6px; }
.hero-product-visual .stat { padding: 7px 8px; }
.hero-product-visual .stat .s-k { font-size: .52rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-product-visual .stat .s-v { font-size: 1rem; margin-top: 3px; }
.hero-product-visual .stat .s-note { font-size: .48rem; }

.hero-product-visual .appt-head { font-size: .68rem; padding: 7px 10px; }
.hero-product-visual .appt-head span { font-size: .6rem; }
.hero-product-visual .appt-row { padding: 6px 10px; gap: 6px; font-size: .68rem; display: flex; align-items: center; min-width: 0; }
.hero-product-visual .appt-row .t { font-size: .62rem; width: 36px; }
.hero-product-visual .appt-row .nm { font-size: .68rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.hero-product-visual .status-chip { font-size: 7px; height: 16px; padding: 0 5px; gap: 3px; }
.hero-product-visual .status-chip::before { width: 4px; height: 4px; }

.hero-product-visual .risk-panel { padding: 8px 10px; }
.hero-product-visual .risk-title { font-size: .58rem; margin-bottom: 5px; }
.hero-product-visual .risk-list strong { font-size: .64rem; }
.hero-product-visual .risk-list span { font-size: .56rem; }
.hero-product-visual .risk-list div { padding: 6px 8px; }

.hero-product-visual .app-note { font-size: .56rem; padding: 5px 10px; }

.hero-product-visual .app-panels {
 grid-template-columns: minmax(0, 1.1fr) minmax(150px, .9fr);
}

.hero-product-visual .risk-panel {
 display: flex;
 flex-direction: column;
}

.hero-product-visual .risk-list {
 flex: 1;
}

/* ---- Screenshot images ---------------------------------- */
.screenshot-img {
 display: block; width: 100%; height: auto;
 border: 1px solid var(--line-2); border-radius: var(--r-card);
 box-shadow: var(--shadow-lg);
}
.hero-product-visual .screenshot-img {
 border-radius: var(--r-card);
}

.ai-reception-preview .app-body {
 display: block;
 grid-template-columns: 1fr;
}

.ai-reception-preview .app-main {
 width: 100%;
}

.ai-reception-preview .app-main > div:not(:first-child):not(:last-child) {
 max-width: 88%;
}

.ai-reception-preview .app-main > div:nth-child(3),
.ai-reception-preview .app-main > div:nth-child(5) {
 align-self: flex-end;
}

.ai-reception-preview .app-main > div:last-child {
 flex-wrap: wrap;
}

.trust-band {
 background: var(--surface);
 padding-block: 12px;
}

.trust-strip {
 justify-content: space-between;
 gap: 8px 18px;
}

.trust-item {
 font-size: .86rem;
 color: var(--ink-2);
}

.card {
 border-radius: var(--r-card);
 box-shadow: none;
 padding: 32px;
}

.grid-3:not(.price-row),
.grid-4,
.policy-grid {
 gap: 28px;
 border: 0;
 background: transparent;
}

.grid-3:not(.price-row) > .card,
.grid-4 > .card,
.policy-grid > .card {
 border: 0;
 border-radius: 0;
}

.feature-card--photo .card-media {
 border-radius: 0;
 border: 0;
 border-bottom: 1px solid var(--line);
 margin: -24px -24px 22px;
 width: calc(100% + 48px);
 max-width: none;
 aspect-ratio: 16 / 8.5;
 filter: saturate(.88) contrast(.98);
}

.card-link {
 color: var(--primary);
 border-top: 1px solid var(--line);
 padding-top: 14px;
 width: 100%;
}

.card-link svg {
 display: none;
}

.ico {
 width: 32px;
 height: 32px;
 border-radius: 2px;
 background: transparent;
 border-color: var(--line);
 color: var(--ink-3);
}

.ico svg {
 width: 18px;
 height: 18px;
}

.split {
 grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
}

.split-photo,
.photo-figure {
 border-radius: 0;
 max-width: 100%;
 min-width: 0;
 overflow: hidden;
}

.ops-board,
.roi-box,
.demo-checklist,
.policy-side {
 border-radius: var(--r-card);
 box-shadow: none;
 background: var(--surface);
}

.ops-row,
.roi-row {
 padding: 14px 16px;
}

.flow {
 display: grid;
 grid-template-columns: repeat(8, minmax(92px, 1fr));
 gap: 0;
 border: 1px solid var(--line);
 background: var(--line);
 align-items: stretch;
 overflow-x: auto;
}

.flow-step {
 min-width: 110px;
 border: 0;
 border-radius: 0;
 box-shadow: none;
}

.flow-arrow {
 display: none;
}

.steps li::before {
 border-radius: 2px;
 background: transparent;
}

.price-row {
 gap: 28px;
 border: 0;
 background: transparent;
}

.price-row > .price-card,
.price-card {
 display: flex;
 flex-direction: column;
 align-content: start;
 border-radius: var(--r-card);
 box-shadow: none;
}

.price-card.featured {
 border-color: var(--primary);
 box-shadow: none;
}

.price-card.featured::before {
 display: none;
}

.price-badge {
 position: static;
 align-self: flex-start;
 margin-bottom: 14px;
 border-radius: 2px;
 background: var(--primary);
}

.price-badge.accent {
 background: var(--bg-soft);
}

.price-badge--placeholder {
 visibility: hidden;
}

.price-card .plan-for {
 min-height: 68px;
}

.price-card .price-sub {
 min-height: 40px;
}

.cmp-wrap,
.faq-item,
.field input,
.field select,
.field textarea {
 border-radius: var(--r-card);
 box-shadow: none;
}

.faq {
 margin-inline: auto;
}

.cta-band {
 border-radius: 0;
 background: var(--primary-700);
 border-color: color-mix(in oklab, var(--primary-700) 70%, var(--line));
}

.cta-band h2 {
 max-width: 18ch;
}

.site-footer {
 background: oklch(22% 0.025 245);
 color: oklch(84% 0.006 245);
}

.footer-grid {
 border-top: 1px solid color-mix(in oklab, var(--on-primary) 16%, transparent);
 padding-top: 30px;
}

.mobile-menu {
 inset: calc(var(--banner-h) + 72px) 0 0;
}

@media (min-width: 861px) {
 .grid-3:not(.price-row) {
 grid-template-columns: repeat(3, minmax(0, 1fr));
 }
}

@media (max-width: 980px) {
 .hero-grid {
 grid-template-columns: 1fr;
 }

 .hero-grid > * {
 min-width: 0;
 }

 .hero-h1 {
 max-width: 14ch;
 }

 .hero .photo-figure {
 max-height: 520px;
 }

 .hero-product-visual {
 margin-left: 0;
 width: min(100%, 720px);
 }

 .flow {
 grid-template-columns: repeat(4, minmax(120px, 1fr));
 }
}

@media (max-width: 860px) {
 .nav {
 height: 66px;
 }

 .section-head.center {
 margin-inline: auto;
 }

 .grid-3:not(.price-row),
 .grid-4,
 .policy-grid,
 .price-row {
 border: 0;
 background: transparent;
 gap: 12px;
 }

 .grid-3:not(.price-row) > .card,
 .grid-4 > .card,
 .policy-grid > .card,
 .price-row > .price-card {
 border: var(--card-border);
 border-radius: var(--r-card);
 }

 .price-badge--placeholder {
 display: none;
 }

 .feature-card--photo .card-media {
 border-radius: var(--r-sm);
 border: 1px solid var(--line);
 margin: 0 0 18px;
 width: 100%;
 }

 .mobile-menu {
  inset: calc(var(--banner-h) + 66px) 0 0;
 }
}

@media (max-width: 640px) {
 .hero {
 padding-block: 40px 54px;
 }

 .hero-copy,
 .hero .photo-figure,
 .hero-product-visual,
 .hero-trust,
 .hero-actions,
 .hero-lead {
 width: min(100%, 320px);
 max-width: 320px;
 }

 .hero-lead,
 .hero-trust li {
 overflow-wrap: normal;
 }

 .hero-h1 {
 font-size: clamp(2rem, 14vw, 3.1rem);
 max-width: 11.8ch;
 }

 .hero-actions .btn {
 width: 100%;
 }

 .hero-product-visual .app-body {
 min-height: 0;
 }

 .hero-product-visual .app-panels {
 grid-template-columns: 1fr;
 }

 .feature-dashboard .app-topline {
 grid-template-columns: 1fr auto;
 }

 .feature-dashboard .app-search {
 display: none;
 }

 .feature-dashboard .app-panels {
 grid-template-columns: 1fr;
 }

 .feature-dashboard .risk-panel {
 display: none;
 }

 .trust-strip {
 display: grid;
 }

 .flow {
 grid-template-columns: 1fr 1fr;
 }
}

/* ---- Hero sub-line --------------------------------------- */
.hero-h1-sub {
 display: block;
 color: var(--ink-3);
 font-weight: 600;
 margin-top: 2px;
}

/* ---- Specialty marquee ---------------------------------- */
.marquee-band {
 overflow: hidden;
 border-bottom: 1px solid var(--line);
 background: var(--surface);
 padding-block: 0;
 user-select: none;
}
.marquee-track {
 display: flex;
 width: max-content;
 animation: md-marquee 52s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-list {
 display: flex;
 flex-shrink: 0;
 list-style: none;
 margin: 0;
 padding: 0;
}
.marquee-list li {
 padding: 11px 20px;
 font-size: .82rem;
 font-weight: 600;
 color: var(--ink-3);
 white-space: nowrap;
 border-right: 1px solid var(--line);
}
@keyframes md-marquee {
 from { transform: translateX(0); }
 to { transform: translateX(-50%); }
}

/* ---- Screen carousel ------------------------------------ */
.screen-carousel {
 border: 1px solid var(--line);
 border-radius: var(--r-card);
 background: var(--surface);
 overflow: hidden;
}
.sc-tabs {
 display: flex;
 border-bottom: 1px solid var(--line);
 overflow-x: auto;
 scrollbar-width: none;
 background: var(--bg-soft);
}
.sc-tabs::-webkit-scrollbar { display: none; }
.sc-tab {
 padding: 13px 18px;
 font-size: .88rem;
 font-weight: 600;
 color: var(--ink-3);
 background: none;
 border: none;
 border-bottom: 2px solid transparent;
 cursor: pointer;
 white-space: nowrap;
 transition: color .15s, border-color .15s;
 font-family: inherit;
 flex-shrink: 0;
}
.sc-tab:hover { color: var(--ink-2); }
.sc-tab.active {
 color: var(--primary);
 border-bottom-color: var(--primary);
 background: var(--surface);
}
.sc-panel { display: none; }
.sc-panel.active {
 display: grid;
 grid-template-columns: minmax(0, .85fr) minmax(0, 1.45fr);
 gap: clamp(24px, 3.5vw, 48px);
 align-items: start;
 padding: clamp(24px, 3vw, 40px);
}
.sc-copy { min-width: 0; padding-top: 4px; }
.sc-mockup { min-width: 0; overflow: hidden; }
.sc-mockup .app-frame { width: 100%; font-size: .9em; }
.sc-mockup .app-body { min-height: 340px; }
@media (max-width: 860px) {
 .sc-panel.active { grid-template-columns: 1fr; }
}

/* ---- Pricing calculator (visual step design) ----------- */
.price-calc {
 border: 1px solid var(--line);
 border-radius: var(--r-card);
 background: var(--surface);
 overflow: hidden;
}

/* Section (one step) */
.pcv-section {
 padding: clamp(22px, 2.5vw, 32px) clamp(22px, 2.5vw, 32px);
 border-bottom: 1px solid var(--line);
}
.pcv-section:last-of-type { border-bottom: none; }

/* Step header */
.pcv-section-head {
 display: flex;
 align-items: center;
 gap: 10px;
 margin-bottom: 20px;
}
.pcv-step-num {
 width: 22px;
 height: 22px;
 border-radius: 50%;
 background: var(--primary);
 color: #fff;
 display: grid;
 place-items: center;
 font-size: .68rem;
 font-weight: 800;
 flex-shrink: 0;
}
.pcv-step-title {
 font-weight: 700;
 font-size: .96rem;
 color: var(--ink);
}
.pcv-step-sub {
 font-weight: 500;
 color: var(--ink-3);
 font-size: .8rem;
 margin-left: 4px;
}

/* Plan cards */
.pcv-plans {
 display: grid;
 grid-template-columns: repeat(3, 1fr);
 gap: 10px;
}
.pcv-plan {
 display: flex;
 flex-direction: column;
 gap: 0;
 padding: 16px 18px;
 border: 1.5px solid var(--line-2);
 border-radius: var(--r-card);
 background: var(--surface);
 cursor: pointer;
 font-family: inherit;
 text-align: left;
 transition: border-color .14s, background .14s;
 position: relative;
}
.pcv-plan:hover { border-color: var(--primary); }
.pcv-plan.active {
 border-color: var(--primary);
 background: var(--primary-050);
 box-shadow: inset 0 0 0 1px var(--primary);
}
.pcv-plan-top {
 display: flex;
 justify-content: space-between;
 align-items: flex-start;
 margin-bottom: 8px;
}
.pcv-plan-name {
 font-weight: 700;
 font-size: .96rem;
 color: var(--ink);
 pointer-events: none;
 line-height: 1.2;
}
.pcv-plan.active .pcv-plan-name { color: var(--primary); }
.pcv-plan-tick {
 width: 20px;
 height: 20px;
 border-radius: 50%;
 border: 1.5px solid var(--line-2);
 background: var(--surface);
 display: grid;
 place-items: center;
 transition: .14s;
 flex-shrink: 0;
 margin-top: 2px;
}
.pcv-plan-tick svg { display: none; width: 10px; height: 10px; stroke: #fff; }
.pcv-plan.active .pcv-plan-tick {
 border-color: var(--primary);
 background: var(--primary);
}
.pcv-plan.active .pcv-plan-tick svg { display: block; }
.pcv-plan-price {
 font-size: .8rem;
 color: var(--ink-3);
 pointer-events: none;
 line-height: 1.3;
}
.pcv-plan-price strong {
 font-size: 1.3rem;
 font-weight: 800;
 color: var(--ink);
 letter-spacing: -.03em;
}
.pcv-plan.active .pcv-plan-price strong { color: var(--primary); }
.pcv-plan-price span {
 font-size: .76rem;
 color: var(--ink-3);
 font-weight: 500;
}
.pcv-plan-meta {
 font-size: .73rem;
 color: var(--ink-3);
 margin-top: 7px;
 line-height: 1.4;
 pointer-events: none;
 border-top: 1px solid var(--line);
 padding-top: 7px;
}

/* 2-column grid for steps 2 & 3 */
.pcv-grid {
 display: grid;
 grid-template-columns: auto 1fr;
 border-bottom: 1px solid var(--line);
}
.pcv-grid .pcv-section {
 border-bottom: none;
}
.pcv-grid .pcv-section:first-child {
 border-right: 1px solid var(--line);
}

/* Stepper */
.pcv-stepper {
 display: inline-flex;
 align-items: stretch;
 border: 1.5px solid var(--line-2);
 border-radius: var(--r-card);
 overflow: hidden;
}
.pcv-step-btn {
 width: 46px;
 border: none;
 background: var(--bg-soft);
 font-size: 1.6rem;
 cursor: pointer;
 font-family: inherit;
 color: var(--ink-2);
 transition: background .1s, color .1s;
 display: grid;
 place-items: center;
 padding: 0;
 line-height: 1;
}
.pcv-step-btn:hover { background: var(--bg-soft-2); color: var(--ink); }
.pcv-step-display {
 display: flex;
 flex-direction: column;
 align-items: center;
 justify-content: center;
 padding: 10px 22px;
 border-left: 1px solid var(--line);
 border-right: 1px solid var(--line);
 gap: 2px;
 min-width: 80px;
}
.pcv-step-count {
 font-size: 2.2rem;
 font-weight: 800;
 color: var(--ink);
 letter-spacing: -.04em;
 line-height: 1;
 user-select: none;
}
.pcv-step-label {
 font-size: .65rem;
 font-weight: 700;
 color: var(--ink-3);
 text-transform: uppercase;
 letter-spacing: .07em;
 user-select: none;
}
.pcv-note {
 font-size: .76rem;
 color: var(--ink-3);
 margin: 14px 0 0;
 line-height: 1.45;
}

/* SMS bundle buttons (generated by JS) */
.pc-sms-btn {
 display: flex;
 flex-direction: column;
 align-items: flex-start;
 gap: 2px;
 padding: 10px 14px;
 border: 1.5px solid var(--line-2);
 border-radius: var(--r-sm);
 background: var(--surface);
 font-family: inherit;
 cursor: pointer;
 transition: border-color .14s, background .14s;
 text-align: left;
}
.pc-sms-btn:hover { border-color: var(--primary); }
.pc-sms-btn.active {
 border-color: var(--primary);
 background: var(--primary-050);
 box-shadow: inset 0 0 0 1px var(--primary);
}
#pc-sms {
 display: grid;
 grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
 gap: 8px;
}
.pcv-sms-count {
 display: block;
 font-weight: 800;
 font-size: .96rem;
 color: var(--ink);
 pointer-events: none;
}
.pc-sms-btn.active .pcv-sms-count { color: var(--primary); }
.pcv-sms-cost {
 display: block;
 font-size: .72rem;
 color: var(--ink-3);
 pointer-events: none;
 white-space: nowrap;
}

/* Result panel */
.pcv-result {
 display: grid;
 grid-template-columns: auto 1fr;
 gap: clamp(20px, 3vw, 40px);
 align-items: start;
 padding: clamp(22px, 2.5vw, 32px);
 background: color-mix(in oklab, var(--primary) 5%, var(--surface));
 border-top: 1px solid var(--primary-100);
}
.pcv-result-eyebrow {
 font-size: .66rem;
 font-weight: 800;
 text-transform: uppercase;
 letter-spacing: .1em;
 color: var(--primary);
 margin-bottom: 6px;
}
.pcv-result-total {
 font-size: 3rem;
 font-weight: 800;
 letter-spacing: -.05em;
 color: var(--ink);
 line-height: 1;
}
.pcv-result-desc {
 font-size: .8rem;
 color: var(--ink-3);
 margin-top: 6px;
}
.pc-result-lines {
 display: grid;
 gap: 0;
 margin-bottom: 20px;
 border: 1px solid var(--line);
 border-radius: var(--r-sm);
 overflow: hidden;
 background: var(--surface);
}
.pc-result-line {
 display: flex;
 justify-content: space-between;
 gap: 16px;
 font-size: .84rem;
 color: var(--ink-2);
 padding: 10px 14px;
 border-bottom: 1px solid var(--line);
}
.pc-result-line:last-child { border-bottom: none; }
.pc-result-line span:first-child { flex: 1; }
.pc-result-line span:last-child {
 font-weight: 700;
 color: var(--ink);
 white-space: nowrap;
}

@media (max-width: 860px) {
 .pcv-plans { grid-template-columns: 1fr; }
 .pcv-grid { grid-template-columns: 1fr; }
 .pcv-grid .pcv-section:first-child { border-right: none; border-bottom: 1px solid var(--line); }
 .pcv-result { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
 #pc-sms { grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); }
}

/* ---- AI phone card (homepage) ------------------------------------ */
.ai-phone-card {
 background: var(--ink);
 border-radius: 16px;
 overflow: hidden;
 max-width: 420px;
 width: 100%;
 align-self: center;
 box-shadow: 0 20px 60px rgba(0,0,0,.18);
}
.ai-phone-header {
 display: flex;
 align-items: center;
 gap: 10px;
 padding: 14px 18px;
 background: rgba(255,255,255,.06);
 font-size: .78rem;
 font-weight: 600;
 color: rgba(255,255,255,.6);
 letter-spacing: .03em;
}
.ai-phone-dot {
 width: 8px; height: 8px;
 border-radius: 50%;
 background: #22c55e;
 flex-shrink: 0;
 box-shadow: 0 0 6px #22c55e;
}
.ai-call-flow {
 padding: 18px 18px 10px;
 display: flex;
 flex-direction: column;
 gap: 10px;
}
.ai-msg {
 max-width: 82%;
 padding: 9px 13px;
 border-radius: 12px;
 font-size: .88rem;
 line-height: 1.5;
}
.ai-msg--patient {
 background: rgba(255,255,255,.1);
 color: rgba(255,255,255,.85);
 align-self: flex-end;
 border-bottom-right-radius: 3px;
}
.ai-msg--ai {
 background: var(--primary);
 color: #fff;
 align-self: flex-start;
 border-bottom-left-radius: 3px;
}
.ai-msg--confirm {
 background: #166534;
 color: #bbf7d0;
}
.ai-phone-footer {
 display: flex;
 align-items: center;
 gap: 8px;
 padding: 12px 18px 16px;
 font-size: .78rem;
 font-weight: 600;
 color: rgba(255,255,255,.45);
 border-top: 1px solid rgba(255,255,255,.08);
 margin-top: 6px;
}
.ai-phone-footer svg { width: 14px; height: 14px; flex-shrink: 0; color: #22c55e; }
@media (max-width: 720px) {
 .ai-phone-card { max-width: 100%; }
}

/* ---- Features flow timeline ------------------------------------ */
.flow-timeline { display: flex; flex-direction: column; gap: 0; }
.flow-timeline .flow-step {
 display: grid;
 grid-template-columns: 48px 1fr auto;
 gap: 20px;
 align-items: flex-start;
 padding: 28px 0;
 border-bottom: 1px solid var(--line);
}
.flow-timeline .flow-step:last-child { border-bottom: none; }
.flow-icon {
 width: 48px;
 height: 48px;
 background: var(--primary-50, #eef2ff);
 border-radius: 12px;
 display: grid;
 place-items: center;
 flex-shrink: 0;
}
.flow-icon svg { width: 22px; height: 22px; color: var(--primary); }
.flow-content h3 { font-size: 1.05rem; margin-bottom: 8px; }
.flow-content p { color: var(--ink-2); font-size: .96rem; line-height: 1.6; }
.flow-connector { display: none; }
.flow-auto {
 font-size: .72rem;
 font-weight: 700;
 letter-spacing: .06em;
 color: var(--accent-700, #0d7a5f);
 background: var(--accent-50, #e6f7f2);
 border-radius: 20px;
 padding: 4px 10px;
 white-space: nowrap;
 align-self: flex-start;
 margin-top: 4px;
}
.inline-link {
 display: inline-block;
 margin-top: 12px;
 font-weight: 600;
 font-size: .95rem;
 color: var(--primary);
 text-decoration: none;
}
.inline-link:hover { text-decoration: underline; }
@media (max-width: 600px) {
 .flow-timeline .flow-step { grid-template-columns: 40px 1fr; }
 .flow-auto { display: none; }
}

/* ============================================================
 Editorial type + conversion & mobile polish (June refresh)
 ============================================================ */

:root {
 --font-display: "Source Serif 4", Georgia, "Times New Roman", serif;
}

/* Display serif for page-level headings only, UI keeps Source Sans */
.hero-h1,
.features-h1,
h1.h2,
h2.h2,
.cta-band h2 {
 font-family: var(--font-display);
 font-weight: 600;
 letter-spacing: -0.01em;
}

.hero-h1 { line-height: 1.07; font-weight: 600; }
.hero-h1-sub { font-weight: 600; }
.features-h1 { font-weight: 600; line-height: 1.08; }

/* A measured amount of brand colour back into the page */
.eyebrow {
 color: var(--accent-700);
 border-bottom-color: color-mix(in oklab, var(--accent) 30%, transparent);
}
.hero-trust svg,
.trust-item svg,
.trust-list svg { color: var(--accent); }

/* Card affordance: restore the link arrow + a quiet hover */
.card-link svg { display: inline-block; }
.grid-3:not(.price-row) > .card,
.grid-4 > .card { transition: background-color .18s ease; }
.grid-3:not(.price-row) > .card:hover,
.grid-4 > .card:hover { background: color-mix(in oklab, var(--primary) 2.5%, var(--surface)); }

/* CTA reassurance microcopy */
.cta-microcopy {
 margin-top: 14px;
 font-size: .88rem;
 color: var(--ink-3);
 font-weight: 500;
}
.cta-microcopy a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 2px; }
.cta-microcopy a:hover { color: var(--primary); }
.cta-band .cta-microcopy { color: color-mix(in oklab, #fff 62%, var(--primary-700)); margin-top: 16px; }
.cta-band .cta-microcopy a { color: color-mix(in oklab, #fff 80%, var(--primary-700)); }

/* Mobile: stop capping hero content at 320px, use the real viewport */
@media (max-width: 640px) {
 .hero-copy,
 .hero .photo-figure,
 .hero-product-visual,
 .hero-trust,
 .hero-actions,
 .hero-lead {
 width: 100%;
 max-width: 100%;
 }
 .hero-h1 {
 font-size: clamp(2rem, 9.5vw, 2.7rem);
 max-width: none;
 }
 .contact-intro, .contact-card, .demo-checklist { width: 100%; max-width: 100%; }
}

/* "Explore all features" filler tile in the modules grid */
.module-more-card {
 display: flex;
 flex-direction: column;
 justify-content: center;
 background: color-mix(in oklab, var(--primary) 4%, var(--surface));
}
.module-more-card .card-link { margin-top: 18px; }

/* Features flow-timeline: rows have a card background, so give the
 content breathing room (class collides with the homepage .flow-step) */
.flow-timeline .flow-step { padding: 26px 28px; }
.flow-timeline .flow-step:first-child { border-top-left-radius: var(--r-card); border-top-right-radius: var(--r-card); }
.flow-timeline .flow-step:last-child { border-bottom-left-radius: var(--r-card); border-bottom-right-radius: var(--r-card); }
@media (max-width: 600px) {
 .flow-timeline .flow-step { padding: 20px 18px; }
}

/* ---- SMS reminders page: light phone message mockup -------- */
.sms-phone-card {
 background: var(--surface);
 border: 1px solid var(--line-2);
 border-radius: 16px;
 overflow: hidden;
 max-width: 420px;
 width: 100%;
 align-self: center;
 margin-inline: auto;
 box-shadow: 0 22px 48px -34px color-mix(in oklab, var(--ink) 42%, transparent);
}
.sms-phone-header {
 display: flex;
 align-items: baseline;
 justify-content: space-between;
 gap: 10px;
 padding: 14px 18px;
 border-bottom: 1px solid var(--line);
 background: var(--bg-soft);
}
.sms-phone-title { font-weight: 700; font-size: .92rem; color: var(--ink); }
.sms-phone-sub { font-size: .72rem; color: var(--ink-3); font-weight: 600; }
.sms-thread {
 padding: 18px;
 display: flex;
 flex-direction: column;
 gap: 10px;
}
.sms-day {
 text-align: center;
 font-size: .68rem;
 font-weight: 700;
 letter-spacing: .06em;
 text-transform: uppercase;
 color: var(--ink-3);
 margin-top: 4px;
}
.sms-msg {
 max-width: 88%;
 align-self: flex-start;
 background: var(--bg-soft);
 border: 1px solid var(--line);
 border-radius: 12px;
 border-bottom-left-radius: 3px;
 padding: 10px 13px;
}
.sms-msg p { font-size: .88rem; line-height: 1.5; color: var(--ink); }
.sms-msg .sms-meta {
 display: block;
 margin-top: 7px;
 padding-top: 7px;
 border-top: 1px dashed var(--line);
 font-size: .68rem;
 font-weight: 600;
 color: var(--accent-700);
}
.sms-phone-footer {
 display: flex;
 align-items: center;
 gap: 8px;
 padding: 12px 18px;
 font-size: .76rem;
 font-weight: 600;
 color: var(--ink-3);
 border-top: 1px solid var(--line);
 background: var(--bg-soft);
}
.sms-phone-footer svg { width: 15px; height: 15px; flex-shrink: 0; color: var(--ok); }
@media (max-width: 720px) {
 .sms-phone-card { max-width: 100%; }
}

/* ============================================================
 Premium healthcare SaaS refresh
 ============================================================ */

:root {
 --bg: oklch(98.4% 0.008 210);
 --surface: oklch(99.3% 0.006 210);
 --bg-soft: oklch(95.8% 0.016 205);
 --bg-soft-2: oklch(92.4% 0.024 198);
 --ink: oklch(22% 0.025 218);
 --ink-2: oklch(39% 0.026 218);
 --ink-3: oklch(56% 0.024 218);
 --line: oklch(89.5% 0.014 210);
 --line-2: oklch(82.5% 0.02 210);
 --primary: oklch(42% 0.078 198);
 --primary-700: oklch(29% 0.062 202);
 --primary-050: oklch(95.2% 0.024 198);
 --primary-100: oklch(88.5% 0.035 198);
 --on-primary: oklch(98.5% 0.006 200);
 --accent: oklch(66% 0.11 166);
 --accent-700: oklch(42% 0.085 176);
 --accent-050: oklch(95.5% 0.032 166);
 --warm: oklch(96.8% 0.026 76);
 --peach: oklch(92.8% 0.045 48);
 --r-card: 22px;
 --r-sm: 14px;
 --r-btn: 999px;
 --shadow-sm: 0 10px 26px -22px color-mix(in oklab, var(--ink) 36%, transparent);
 --shadow-md: 0 18px 48px -36px color-mix(in oklab, var(--ink) 42%, transparent);
 --shadow-lg: 0 30px 80px -44px color-mix(in oklab, var(--ink) 46%, transparent);
 --card-border: 1px solid color-mix(in oklab, var(--line) 78%, var(--surface));
 --font-display: var(--font);
}

[data-corners="rounded"] {
 --r-card: 22px;
 --r-sm: 14px;
 --r-btn: 999px;
}

body {
 background: var(--bg);
 color: var(--ink);
}

.site-header {
 top: 0;
 background: color-mix(in oklab, var(--surface) 92%, transparent);
 border-bottom-color: color-mix(in oklab, var(--line) 70%, transparent);
 backdrop-filter: blur(14px);
}

.nav {
 height: 72px;
}

.brand-logo {
 height: 44px;
}

.nav-links {
 background: color-mix(in oklab, var(--bg-soft) 58%, var(--surface));
 border: 1px solid var(--line);
 border-radius: 999px;
 padding: 4px;
 gap: 0;
}

.nav-links a {
 border-radius: 999px;
 padding: 8px 14px;
}

.nav-links a:hover,
.nav-links a.active {
 background: var(--surface);
 color: var(--primary-700);
 box-shadow: var(--shadow-sm);
}

.btn {
 border-radius: var(--r-btn);
 transition: transform .18s cubic-bezier(.22, 1, .36, 1), background .18s, border-color .18s, color .18s, box-shadow .18s;
}

.btn:hover {
 transform: translateY(-1px);
}

.btn-primary {
 background: var(--primary);
 border-color: var(--primary);
 color: var(--on-primary);
 box-shadow: 0 12px 28px -20px color-mix(in oklab, var(--primary) 70%, transparent);
}

.btn-primary:hover {
 background: var(--primary-700);
 border-color: var(--primary-700);
}

.btn-secondary {
 background: color-mix(in oklab, var(--surface) 88%, var(--primary-050));
 border-color: var(--line);
 color: var(--primary-700);
}

.on-primary .btn-primary,
.cta-band .btn-primary {
 background: var(--surface);
 border-color: var(--surface);
 color: var(--primary-700);
}

.on-primary .btn-secondary,
.cta-band .btn-secondary {
 color: var(--on-primary);
 border-color: color-mix(in oklab, var(--on-primary) 36%, transparent);
}

.section {
 padding-block: clamp(80px, 10vw, 140px);
}

.section:nth-of-type(even):not(.hero) {
 padding-block: clamp(80px, 10vw, 140px);
}

.soft-bg {
 background: color-mix(in oklab, var(--bg-soft) 82%, var(--surface));
 border-block: 1px solid color-mix(in oklab, var(--line) 72%, transparent);
}

.section-head.center,
.wrap.section-head.center,
.section-head.center .lead,
.wrap.section-head.center .hero-actions {
 text-align: center;
 margin-inline: auto;
 justify-content: center !important;
}

.eyebrow {
 display: block;
 width: fit-content;
 padding: 0;
 padding-bottom: 8px;
 margin-bottom: 18px;
 border: none;
 border-bottom: 1px solid color-mix(in oklab, var(--accent) 30%, transparent);
 border-radius: 0;
 background: none;
 color: var(--accent-700);
 font-size: .72rem;
 letter-spacing: .08em;
}

h1,
h2,
h3,
h4,
.hero-h1,
.features-h1,
h1.h2,
h2.h2,
.cta-band h2 {
 font-family: var(--font);
}

.hero-h1,
.features-h1,
h1.h2,
h2.h2,
.cta-band h2 {
 font-weight: 760;
 letter-spacing: -.035em;
}

h2.h2 {
 font-size: clamp(2rem, 4vw, 3.25rem);
 line-height: 1.04;
}

.lead {
 max-width: 68ch;
}

.hero {
 background: var(--warm);
 border-bottom: 1px solid var(--line);
 padding-block: clamp(42px, 5vw, 74px) clamp(58px, 7vw, 92px);
}

.hero-grid {
 grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr);
 gap: clamp(40px, 6vw, 78px);
 align-items: center;
}

.hero-kicker {
 display: inline-flex;
 align-items: center;
 gap: 8px;
 margin-bottom: 18px;
 color: var(--accent-700);
 font-size: .82rem;
 font-weight: 760;
 letter-spacing: .07em;
 text-transform: uppercase;
}

.hero-kicker::before {
 content: "";
 width: 8px;
 height: 8px;
 border-radius: 50%;
 background: var(--accent);
 box-shadow: 0 0 0 6px color-mix(in oklab, var(--accent) 14%, transparent);
}

.hero-h1 {
 max-width: 19ch;
 font-size: clamp(2.05rem, 3.75vw, 3.45rem);
 line-height: .95;
}

.hero-h1-sub {
 color: var(--primary-700);
}

.hero-lead {
 max-width: 58ch;
 font-size: clamp(1.04rem, 1.35vw, 1.18rem);
 margin-top: 20px;
}

.hero-trust {
 border-top-color: color-mix(in oklab, var(--primary) 14%, var(--line));
}

.hero-trust li {
 color: var(--ink-2);
}

.hero-trust svg,
.trust-item svg,
.trust-list svg {
 color: var(--accent-700);
}

.hero-visuals {
 gap: 18px;
}

.hero-human-photo {
 height: 210px;
 border-radius: 24px;
 padding: 0 !important;
 border: 1px solid color-mix(in oklab, var(--surface) 80%, var(--line)) !important;
 box-shadow: var(--shadow-md);
}

.hero-human-photo img {
 border-radius: inherit !important;
}

.hero-product-visual,
.app-frame,
.screen-carousel,
.price-calc,
.sms-phone-card,
.ai-phone-card {
 border-radius: var(--r-card);
 border-color: color-mix(in oklab, var(--line) 82%, var(--surface));
 box-shadow: var(--shadow-lg);
}

.hero-product-visual {
 width: min(100%, 790px);
}

.app-bar,
.appt-head,
.sc-tabs,
.sms-phone-header,
.sms-phone-footer {
 background: color-mix(in oklab, var(--bg-soft) 74%, var(--surface));
}

.app-side a.active {
 background: var(--primary);
 color: var(--on-primary);
}

.stat,
.appt-card,
.risk-panel,
.mini-table,
.mini-top,
.mock-tile {
 border-radius: 14px;
}

.trust-band {
 background: var(--surface);
 padding-block: 16px;
}

.trust-strip {
 justify-content: center;
}

.marquee-band {
 background: color-mix(in oklab, var(--bg-soft) 70%, var(--surface));
}

.card {
 border: var(--card-border);
 border-radius: var(--r-card);
 box-shadow: var(--shadow-md);
 background: var(--surface);
}

.grid-3:not(.price-row),
.grid-4,
.policy-grid,
.price-row {
 gap: 28px;
 border: 0;
 background: transparent;
}

.grid-3:not(.price-row) > .card,
.grid-4 > .card,
.policy-grid > .card,
.price-row > .price-card {
 border: var(--card-border);
 border-radius: var(--r-card);
}

.grid-3:not(.price-row) > .card:hover,
.grid-4 > .card:hover {
 transform: translateY(-2px);
 background: var(--surface);
 box-shadow: var(--shadow-lg);
}

.feature-card--photo .card-media {
 margin: 0 0 22px;
 width: 100%;
 border: 1px solid var(--line);
 border-radius: 18px;
 display: block;
 height: clamp(196px, 18vw, 248px);
 aspect-ratio: auto;
  filter: saturate(.96) contrast(1.01);
 object-fit: cover;
}

.card-link {
 width: auto;
 border-top: 0;
 padding-top: 0;
 color: var(--primary-700);
}

.ops-pillars-section {
 background: var(--surface);
}

.ops-section-head {
 max-width: 860px;
}

.ops-pillars {
 display: grid;
 grid-template-columns: repeat(4, minmax(0, 1fr));
 gap: 16px;
 margin-top: 44px;
}

.ops-pillar {
 min-height: 260px;
 display: flex;
 flex-direction: column;
 justify-content: space-between;
 padding: 24px;
 border: 1px solid var(--line);
 border-radius: var(--r-card);
 background: color-mix(in oklab, var(--bg-soft) 38%, var(--surface));
 box-shadow: var(--shadow-sm);
}

.ops-pillar:nth-child(2) {
 background: color-mix(in oklab, var(--peach) 38%, var(--surface));
}

.ops-pillar:nth-child(3) {
 background: color-mix(in oklab, var(--primary-050) 54%, var(--surface));
}

.ops-pillar-num {
 color: var(--accent-700);
 font-size: .8rem;
 font-weight: 800;
 letter-spacing: .08em;
}

.ops-pillar h3,
.onboarding-step h3 {
 margin-top: auto;
 color: var(--ink);
 font-size: 1.22rem;
 line-height: 1.14;
}

.ops-pillar p,
.onboarding-step p {
 margin-top: 12px;
 color: var(--ink-2);
 line-height: 1.5;
}

.split {
 gap: clamp(36px, 6vw, 74px);
}

.ops-board,
.roi-box,
.demo-checklist,
.policy-side {
 border-radius: var(--r-card);
 box-shadow: var(--shadow-md);
}

.ops-row strong,
.roi-row strong {
 color: var(--primary-700);
}

.flow {
 border-radius: var(--r-card);
 border: 1px solid var(--line);
 background: var(--surface);
 box-shadow: var(--shadow-md);
}

.flow > .flow-step {
 border-radius: 0;
}

.flow > .flow-step:first-child {
 border-top-left-radius: var(--r-card);
 border-bottom-left-radius: var(--r-card);
}

.flow > .flow-step:last-child {
 border-top-right-radius: var(--r-card);
 border-bottom-right-radius: var(--r-card);
}

.compare-panel {
 overflow: hidden;
 border: 1px solid var(--line);
 border-radius: var(--r-card);
 background: var(--surface);
 box-shadow: var(--shadow-md);
}

.compare-row {
 display: grid;
 grid-template-columns: 1.2fr repeat(3, minmax(0, 1fr));
 gap: 0;
 border-bottom: 1px solid var(--line);
}

.compare-row:last-child {
 border-bottom: 0;
}

.compare-row > div {
 padding: 16px 18px;
 border-right: 1px solid var(--line);
 color: var(--ink-2);
 font-size: .94rem;
}

.compare-row > div:last-child {
 border-right: 0;
}

.compare-row > div:first-child {
 color: var(--ink);
 font-weight: 700;
}

.compare-head {
 background: var(--primary-700);
}

.compare-head > div {
 color: var(--on-primary);
 font-weight: 760;
}

.compare-head > div:nth-child(2) {
 background: color-mix(in oklab, var(--accent-050) 72%, var(--surface));
 color: var(--primary-700);
}

.compare-row:not(.compare-head) > div:nth-child(2) {
 background: color-mix(in oklab, var(--primary-050) 68%, var(--surface));
}

.compare-yes {
 color: var(--primary-700);
 font-weight: 760;
}

.onboarding-steps {
 display: grid;
 grid-template-columns: repeat(3, minmax(0, 1fr));
 gap: 18px;
}

.onboarding-step {
 position: relative;
 min-height: 250px;
 padding: 26px;
 border: 1px solid var(--line);
 border-radius: var(--r-card);
 background: var(--surface);
 box-shadow: var(--shadow-md);
}

.onboarding-step span {
 display: grid;
 place-items: center;
 width: 40px;
 height: 40px;
 margin-bottom: 52px;
 border-radius: 50%;
 background: var(--primary);
 color: var(--on-primary);
 font-weight: 800;
}

.price-calc,
.pcv-plan,
.pcv-stepper,
.pc-result-lines {
 border-radius: var(--r-card);
}

.pcv-plan.active,
.pc-sms-btn.active {
 box-shadow: inset 0 0 0 1px var(--primary);
}

.price-card.featured {
 border-color: color-mix(in oklab, var(--primary) 48%, var(--line));
 background: color-mix(in oklab, var(--primary-050) 42%, var(--surface));
}

.price-card.featured::before {
 display: none;
}

.price-badge {
 border-radius: 999px;
}

.cmp-wrap,
.faq-item,
.field input,
.field select,
.field textarea {
 border-radius: var(--r-sm);
}

.cta-band {
 border-radius: clamp(22px, 4vw, 34px);
 background: var(--primary-700);
 border-color: color-mix(in oklab, var(--on-primary) 12%, var(--primary-700));
 box-shadow: var(--shadow-lg);
}

.cta-band h2 {
 max-width: 18ch;
 color: var(--on-primary);
}

.cta-band p {
 color: color-mix(in oklab, var(--on-primary) 78%, var(--primary-700));
}

.site-footer {
 background: oklch(25% 0.035 205);
}

.mobile-menu {
 inset: calc(var(--banner-h) + 66px) 0 0;
 background: var(--surface);
}

@media (prefers-reduced-motion: no-preference) {
 .hero-copy,
 .hero-visuals,
 .card,
 .ops-pillar,
 .onboarding-step,
 .compare-panel,
 .screen-carousel {
 animation: md-rise .6s cubic-bezier(.22, 1, .36, 1) both;
 }

 .hero-visuals,
 .ops-pillar:nth-child(2),
 .onboarding-step:nth-child(2) {
 animation-delay: .08s;
 }

 .ops-pillar:nth-child(3),
 .onboarding-step:nth-child(3) {
 animation-delay: .14s;
 }

 @keyframes md-rise {
 from {
 opacity: 0;
 transform: translateY(14px);
 }
 to {
 opacity: 1;
 transform: translateY(0);
 }
 }
}

@media (max-width: 1100px) {
 .ops-pillars {
 grid-template-columns: repeat(2, minmax(0, 1fr));
 }
}

@media (max-width: 980px) {
 .hero-grid {
 grid-template-columns: 1fr;
 }

 .hero-h1 {
 max-width: 13ch;
 }

 .hero-product-visual {
 margin-left: 0;
 }

 .compare-panel {
 overflow-x: auto;
 }

 .compare-row {
 min-width: 820px;
 }
}

@media (max-width: 860px) {
 .nav {
 height: 66px;
 }

 .mobile-menu {
  inset: calc(var(--banner-h) + 66px) 0 0;
 }

 .onboarding-steps {
 grid-template-columns: 1fr;
 }
}

@media (max-width: 720px) {
 .section {
 padding-block: 56px;
 }

 .hero {
 padding-block: 46px 64px;
 }

 .hero-h1 {
 font-size: clamp(2.65rem, 13vw, 4.1rem);
 max-width: 10.5ch;
 }

 .hero-lead {
 font-size: 1.05rem;
 }

 .hero-actions .btn {
 width: 100%;
 }

 .ops-pillars {
 grid-template-columns: 1fr;
 }

 .ops-pillar,
 .onboarding-step {
 min-height: 0;
 }

 .hero-product-visual .app-panels,
 .feature-dashboard .app-panels {
 grid-template-columns: 1fr;
 }

 .hero-product-visual .risk-panel {
 display: none;
 }

 .compare-panel {
 overflow: visible;
 }

 .compare-head {
 display: none;
 }

 .compare-row {
 min-width: 0;
 display: grid;
 grid-template-columns: 1fr;
 padding: 18px;
 gap: 10px;
 }

 .compare-row.compare-head {
 display: none;
 }

 .compare-row > div {
 border-right: 0;
 padding: 0;
 }

 .compare-row > div:first-child {
 padding-bottom: 10px;
 border-bottom: 1px solid var(--line);
 font-size: 1rem;
 }

 .compare-row > div:not(:first-child) {
 display: grid;
 grid-template-columns: 96px 1fr;
 gap: 12px;
 align-items: baseline;
 border-radius: 12px;
 padding: 10px 12px;
 background: color-mix(in oklab, var(--bg-soft) 50%, var(--surface));
 }

 .compare-row > div:nth-child(2):not(:first-child) {
 background: color-mix(in oklab, var(--primary-050) 78%, var(--surface));
 }

 .compare-row > div:nth-child(2)::before,
 .compare-row > div:nth-child(3)::before,
 .compare-row > div:nth-child(4)::before {
 color: var(--ink-3);
 font-size: .76rem;
 font-weight: 800;
 letter-spacing: .05em;
 text-transform: uppercase;
 }

 .compare-row > div:nth-child(2)::before {
 content: "MediDesk";
 }

 .compare-row > div:nth-child(3)::before {
 content: "Generic";
 }

 .compare-row > div:nth-child(4)::before {
 content: "Manual";
 }
}

@media (max-width: 520px) {
 .mobile-menu {
  inset: calc(var(--banner-h) + 66px) 0 0;
 }

 .app-url {
 max-width: 220px;
 overflow: hidden;
 text-overflow: ellipsis;
 white-space: nowrap;
 }
}

/* ---- Features page alignment with refreshed homepage ---- */
.feature-page-hero {
 background: var(--warm);
 border-bottom: 1px solid var(--line);
 padding-block: clamp(42px, 5vw, 74px) clamp(58px, 7vw, 92px);
}

.feature-page-hero .features-hero-grid {
 grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr);
 gap: clamp(40px, 6vw, 78px);
}

.feature-page-hero .features-h1 {
 max-width: 15.5ch;
 font-size: clamp(2.55rem, 4.6vw, 4.35rem);
 line-height: .97;
 font-weight: 760;
 letter-spacing: -.035em;
}

.feature-page-hero .hero-lead {
 max-width: 60ch;
 margin-top: 18px;
}

.feature-page-hero .feature-dashboard {
 border-radius: var(--r-card);
 box-shadow: var(--shadow-lg);
}

.feature-page-hero .app-body {
 min-height: 0;
}

.feature-pill-list {
 gap: 10px;
 margin-top: 26px;
 padding-top: 22px;
 border-top: 1px solid color-mix(in oklab, var(--primary) 14%, var(--line));
}

.feature-pill-list li {
 border-radius: 999px;
 border-color: color-mix(in oklab, var(--accent) 20%, var(--line));
 background: color-mix(in oklab, var(--surface) 74%, var(--accent-050));
 color: var(--primary-700);
}

.flow-timeline {
 gap: 14px;
}

.flow-timeline .flow-step {
 border: 1px solid var(--line);
 border-radius: var(--r-card);
 background: var(--surface);
 box-shadow: var(--shadow-sm);
}

.flow-timeline .flow-step:first-child,
.flow-timeline .flow-step:last-child {
 border-radius: var(--r-card);
}

.flow-icon {
 background: var(--accent-050);
 color: var(--accent-700);
}

.flow-icon svg {
 color: currentColor;
}

.flow-auto {
 background: var(--primary-050);
 color: var(--primary-700);
}

.features-hero-copy .cta-microcopy {
 margin-top: 14px;
}

.flow {
 grid-template-columns: repeat(4, minmax(0, 1fr));
 gap: 14px;
 padding: 14px;
 border: 1px solid var(--line);
 background: color-mix(in oklab, var(--bg-soft) 55%, var(--surface));
 overflow: visible;
}

.flow > .flow-step {
 min-width: 0;
 display: flex;
 flex-direction: column;
 gap: 10px;
 padding: 18px;
 border: 1px solid var(--line);
 border-radius: 18px;
 background: var(--surface);
 box-shadow: var(--shadow-sm);
}

.flow > .flow-step:first-child,
.flow > .flow-step:last-child {
 border-radius: 18px;
}

.flow > .flow-step .n {
 display: inline-flex;
 width: fit-content;
 padding: 4px 9px;
 border-radius: 999px;
 background: var(--accent-050);
 color: var(--accent-700);
 font-size: .72rem;
 font-weight: 800;
}

.flow > .flow-step .t {
 margin-top: 0;
 color: var(--ink);
 font-size: 1rem;
 font-weight: 760;
 line-height: 1.18;
 overflow-wrap: anywhere;
 hyphens: auto;
}

@media (max-width: 980px) {
 .feature-page-hero .features-hero-grid {
 grid-template-columns: 1fr;
 }

 .feature-page-hero .features-h1 {
 max-width: 13ch;
 }
}

@media (max-width: 720px) {
 .feature-page-hero {
 padding-block: 46px 64px;
 }

 .feature-page-hero .features-h1 {
 max-width: none;
 font-size: clamp(2.4rem, 11vw, 3.55rem);
 }

 .feature-page-hero .hero-actions .btn {
 width: 100%;
 }

 .flow {
 grid-template-columns: repeat(2, minmax(0, 1fr));
 }

 .feature-pill-list {
 display: grid;
 grid-template-columns: 1fr 1fr;
 }
}

@media (max-width: 460px) {
 .flow {
 grid-template-columns: 1fr;
 }

 .feature-pill-list {
 grid-template-columns: 1fr;
 }
}

/* ---- Pricing page alignment with refreshed site -------- */
.pricing-page-hero {
 background: var(--warm);
 border-bottom: 1px solid var(--line);
 padding-block: clamp(42px, 5vw, 74px) clamp(58px, 7vw, 92px);
}

.pricing-hero-grid {
 display: grid;
 grid-template-columns: minmax(0, .9fr) minmax(400px, 1.1fr);
 gap: clamp(40px, 6vw, 78px);
 align-items: center;
}

.pricing-page-hero .hero-h1 {
 max-width: 15.5ch;
 font-size: clamp(2.55rem, 4.65vw, 4.35rem);
}

.pricing-page-hero .hero-lead {
 max-width: 58ch;
}

.pricing-hero-card {
 display: grid;
 gap: 12px;
 padding: clamp(18px, 2.8vw, 30px);
 border: 1px solid color-mix(in oklab, var(--line) 82%, var(--surface));
 border-radius: var(--r-card);
 background: color-mix(in oklab, var(--surface) 90%, var(--primary-050));
 box-shadow: var(--shadow-lg);
}

.pricing-hero-card__top,
.pricing-plan-preview,
.pricing-hero-metrics {
 min-width: 0;
}

.pricing-hero-card__top {
 display: flex;
 justify-content: space-between;
 gap: 16px;
 padding-bottom: 12px;
 border-bottom: 1px solid var(--line);
 color: var(--ink-3);
 font-size: .82rem;
 font-weight: 760;
 letter-spacing: .05em;
 text-transform: uppercase;
}

.pricing-hero-card__top strong {
 color: var(--primary-700);
}

.pricing-plan-preview {
 display: grid;
 grid-template-columns: minmax(0, 1fr) auto;
 gap: 18px;
 align-items: center;
 padding: 16px;
 border: 1px solid var(--line);
 border-radius: 18px;
 background: var(--surface);
}

.pricing-plan-preview.is-active {
 border-color: color-mix(in oklab, var(--primary) 40%, var(--line));
 background: color-mix(in oklab, var(--primary-050) 54%, var(--surface));
 box-shadow: var(--shadow-sm);
}

.pricing-plan-preview.is-muted {
 background: color-mix(in oklab, var(--bg-soft) 54%, var(--surface));
}

.pricing-plan-preview span {
 display: block;
 color: var(--accent-700);
 font-size: .78rem;
 font-weight: 800;
 letter-spacing: .05em;
 text-transform: uppercase;
}

.pricing-plan-preview strong {
 display: block;
 margin-top: 4px;
 color: var(--ink);
 font-size: 1rem;
 line-height: 1.25;
}

.pricing-plan-preview p {
 text-align: right;
 color: var(--primary-700);
 white-space: nowrap;
}

.pricing-plan-preview b {
 display: block;
 font-size: clamp(1.5rem, 3vw, 2rem);
 line-height: 1;
}

.pricing-plan-preview p span {
 margin-top: 4px;
 color: var(--ink-3);
 font-size: .82rem;
 font-weight: 700;
 letter-spacing: 0;
 text-transform: none;
}

.pricing-hero-metrics {
 display: grid;
 grid-template-columns: repeat(3, minmax(0, 1fr));
 gap: 10px;
 margin-top: 4px;
}

.pricing-hero-metrics div {
 padding: 12px;
 border: 1px solid var(--line);
 border-radius: 16px;
 background: color-mix(in oklab, var(--bg-soft) 52%, var(--surface));
}

.pricing-hero-metrics span {
 display: block;
 color: var(--ink-3);
 font-size: .72rem;
 font-weight: 700;
}

.pricing-hero-metrics strong {
 display: block;
 margin-top: 4px;
 color: var(--ink);
 font-size: .92rem;
 line-height: 1.2;
}

.pricing-hero-note {
 padding: 14px 16px;
 border: 1px solid color-mix(in oklab, var(--accent) 18%, var(--line));
 border-radius: 18px;
 background: var(--accent-050);
 color: var(--primary-700);
 font-size: .94rem;
 line-height: 1.45;
}

.pricing-value-section {
 background: var(--surface);
}

.pricing-plans-section {
 background: color-mix(in oklab, var(--bg-soft) 72%, var(--surface));
 border-block: 1px solid color-mix(in oklab, var(--line) 72%, transparent);
}

.pricing-plans-section .price-row {
 margin-top: 44px;
 align-items: stretch;
}

.pricing-plans-section .price-card {
 padding: clamp(18px, 2vw, 24px);
 background: var(--surface);
 box-shadow: var(--shadow-md);
}

.pricing-plans-section .price-card.featured {
 background: color-mix(in oklab, var(--primary-050) 48%, var(--surface));
 box-shadow: var(--shadow-lg);
 transform: translateY(-8px);
}

.pricing-plans-section .price-badge {
 margin-bottom: 10px;
 background: var(--primary);
 color: var(--on-primary);
}

.pricing-plans-section .price-badge.accent {
 border-color: color-mix(in oklab, var(--accent) 24%, var(--line));
 background: var(--accent-050);
 color: var(--accent-700);
}

.pricing-plans-section .price-badge--placeholder {
 display: block;
 visibility: hidden;
}

.pricing-plans-section .plan-name {
 font-size: 1.12rem;
 color: var(--ink);
}

.pricing-plans-section .price-amount {
 margin-top: 14px;
}

.pricing-plans-section .price-amount .amt {
 color: var(--primary-700);
 font-size: clamp(2rem, 3.2vw, 2.5rem);
}

.pricing-plans-section .plan-list {
 gap: 10px;
}

.pricing-plans-section .plan-list li {
 color: var(--ink-2);
}

.pricing-plans-section + .section .grid-3 > .card {
 box-shadow: var(--shadow-md);
}

.cmp-wrap {
 background: var(--surface);
 border-color: color-mix(in oklab, var(--line) 82%, var(--surface));
 box-shadow: var(--shadow-md);
}

table.cmp {
 min-width: 820px;
 font-size: .95rem;
}

table.cmp th,
table.cmp td {
 padding: 15px 18px;
}

table.cmp thead th {
 position: static;
 background: var(--primary-700);
 color: var(--on-primary);
}

table.cmp thead th.col-feat {
 background: var(--accent-700);
 color: #fff;
}

table.cmp tbody th {
 background: color-mix(in oklab, var(--surface) 82%, var(--bg-soft));
}

table.cmp td.col-feat,
table.cmp tbody tr:nth-child(even) td.col-feat {
 background: color-mix(in oklab, var(--primary-050) 68%, var(--surface));
}

.faq {
 max-width: 900px;
 gap: 12px;
}

.faq-item {
 border-color: color-mix(in oklab, var(--line) 82%, var(--surface));
 box-shadow: var(--shadow-sm);
}

.faq-q {
 padding: 20px 22px;
}

.faq-a {
 padding-inline: 22px;
}

@media (max-width: 980px) {
 .pricing-hero-grid {
 grid-template-columns: 1fr;
 }

 .pricing-page-hero .hero-h1 {
 max-width: 13ch;
 }

 .pricing-plans-section .price-card.featured {
 transform: none;
 }
}

@media (max-width: 720px) {
 .pricing-page-hero {
 padding-block: 46px 64px;
 }

 .pricing-page-hero .hero-h1 {
 max-width: none;
 font-size: clamp(2.4rem, 11vw, 3.55rem);
 }

 .pricing-page-hero .hero-actions .btn {
 width: 100%;
 }

 .pricing-hero-metrics {
 grid-template-columns: 1fr;
 }

 .pricing-plan-preview {
 grid-template-columns: 1fr;
 }

 .pricing-plan-preview p {
 text-align: left;
 }
}

/* ---- Homepage hero first-fold fit ----------------------- */
.hero {
 padding-block: clamp(22px, 3.2vw, 40px) clamp(20px, 3vw, 34px);
}

.hero-grid {
 grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
 gap: clamp(34px, 5vw, 64px);
}

.hero-copy {
 align-self: center;
}

.hero-kicker {
 margin-bottom: 16px;
}

.hero-h1 {
 max-width: none;
 font-size: clamp(2rem, 3.6vw, 3rem);
 line-height: 1.05;
}

.hero-lead {
 max-width: 56ch;
 margin-top: 12px;
 font-size: clamp(.98rem, 1.08vw, 1.06rem);
}

.hero-actions {
 margin-top: 14px;
}

.hero .cta-microcopy {
 margin-top: 8px;
}

.hero-trust {
 display: none;
 margin-top: 20px;
 padding-top: 18px;
 gap: 7px;
}

.hero-trust li {
 font-size: .9rem;
 line-height: 1.35;
}

.hero-visuals {
 gap: 14px;
}

.hero-human-photo {
 height: clamp(220px, 18vw, 260px);
}

.hero-human-photo img {
 object-position: 50% 48%;
}

.hero-product-visual .app-body {
 max-height: clamp(250px, 25vw, 310px);
 overflow: hidden;
}

.hero-product-visual .app-main {
 gap: 10px;
 padding: 12px;
}

.hero-product-visual .stat,
.hero-product-visual .risk-panel {
 padding: 10px 11px;
}

.hero-product-visual .appt-row {
 padding-block: 8px;
}

.hero-product-visual .app-note {
 display: none;
}

@media (max-width: 1180px) {
 .hero-h1 {
 font-size: clamp(2rem, 3.4vw, 2.8rem);
 max-width: none;
 }
}

@media (max-width: 980px) {
 .hero {
 padding-block: 42px 58px;
 }

 .hero-grid {
 grid-template-columns: 1fr;
 }

 .hero-h1 {
 max-width: 13.5ch;
 }

 .hero-trust {
 display: grid;
 }
}

@media (max-width: 720px) {
 .hero-h1 {
 max-width: none;
 font-size: clamp(2.45rem, 11vw, 3.6rem);
 }

 .hero-human-photo {
 height: 180px;
 }

 .hero-product-visual .app-body {
 max-height: none;
 }
}

/* ---- Flat labels ----------------------------------------- */
.eyebrow,
.price-badge,
.chip,
.status-chip,
.feature-pill-list li,
.flow > .flow-step .n,
.pricing-plans-section .price-badge,
.pricing-plans-section .price-badge.accent {
 background: transparent;
 border-radius: 0;
 box-shadow: none;
}

.eyebrow,
.price-badge,
.pricing-plans-section .price-badge,
.pricing-plans-section .price-badge.accent {
 border: 0;
 border-bottom: 1px solid color-mix(in oklab, var(--accent) 30%, transparent);
 color: var(--accent-700);
 padding: 0 0 8px;
}

.chip,
.chip.accent,
.feature-pill-list li,
.flow > .flow-step .n {
 border: 0;
 color: var(--primary-700);
 padding: 0;
}

.status-chip[class] {
 background: transparent;
 border: 0;
 height: auto;
 padding: 0;
}

/* ---- Homepage AI + SMS focus ----------------------------- */
.home-automation-band {
 background:
 linear-gradient(135deg,
 color-mix(in oklab, var(--primary-050) 74%, var(--surface)) 0%,
 color-mix(in oklab, var(--warm) 86%, var(--surface)) 100%);
 border-block: 1px solid color-mix(in oklab, var(--accent) 18%, var(--line));
}

.home-automation-band .section-head {
 max-width: 850px;
}

.automation-grid {
 display: grid;
 grid-template-columns: repeat(2, minmax(0, 1fr));
 gap: clamp(18px, 3vw, 28px);
 margin-top: clamp(32px, 4vw, 48px);
}

.automation-card {
 display: grid;
 grid-template-columns: minmax(180px, .82fr) minmax(0, 1fr);
 min-height: 300px;
 overflow: hidden;
 border: 1px solid color-mix(in oklab, var(--accent) 22%, var(--line));
 border-radius: var(--r-card);
 background: var(--surface);
 box-shadow: var(--shadow-lg);
}

.automation-card--ai {
 background: color-mix(in oklab, var(--accent-050) 42%, var(--surface));
}

.automation-card--sms {
 background: color-mix(in oklab, var(--warm) 58%, var(--surface));
}

.automation-card__media {
 display: flex;
 align-items: center;
 justify-content: center;
 padding: clamp(18px, 3vw, 30px);
 background:
 linear-gradient(160deg,
 color-mix(in oklab, var(--primary) 86%, var(--primary-700)) 0%,
 color-mix(in oklab, var(--accent) 60%, var(--primary-700)) 100%);
 color: var(--on-primary);
}

.automation-card--sms .automation-card__media {
 background:
 linear-gradient(160deg,
 color-mix(in oklab, var(--accent) 78%, var(--primary-700)) 0%,
 color-mix(in oklab, var(--peach) 56%, var(--primary)) 100%);
}

.automation-call,
.automation-sms {
 width: min(100%, 230px);
 padding: 18px;
 border: 1px solid color-mix(in oklab, var(--on-primary) 22%, transparent);
 border-radius: 14px;
 background: color-mix(in oklab, var(--on-primary) 10%, transparent);
}

.automation-call span,
.automation-sms span,
.automation-label {
 display: block;
 color: var(--accent-700);
 font-size: .74rem;
 font-weight: 800;
 letter-spacing: .08em;
 text-transform: uppercase;
}

.automation-call span,
.automation-sms span {
 color: color-mix(in oklab, var(--on-primary) 72%, var(--accent));
}

.automation-call strong {
 display: block;
 margin-top: 8px;
 font-size: 1.18rem;
 line-height: 1.1;
}

.automation-call p,
.automation-sms p {
 margin-top: 10px;
 color: color-mix(in oklab, var(--on-primary) 82%, var(--primary-700));
 line-height: 1.35;
}

.automation-sms small {
 display: block;
 margin-top: 14px;
 color: color-mix(in oklab, var(--on-primary) 66%, var(--primary-700));
 font-weight: 700;
 line-height: 1.3;
}

.automation-card__body {
 display: flex;
 flex-direction: column;
 justify-content: center;
 padding: clamp(22px, 3vw, 34px);
}

.automation-card__body h3 {
 margin-top: 8px;
 color: var(--ink);
 font-size: clamp(1.35rem, 2.3vw, 2rem);
 line-height: 1.05;
 letter-spacing: -.02em;
}

.automation-card__body p:not(.automation-label) {
 margin-top: 14px;
 color: var(--ink-2);
 line-height: 1.5;
}

.automation-card__body .card-link {
 margin-top: 22px;
}

@media (max-width: 980px) {
 .automation-grid,
 .automation-card {
 grid-template-columns: 1fr;
 }

 .automation-card {
 min-height: 0;
 }

 .automation-card__media {
 justify-content: flex-start;
 }
}

/* ---- Secondary page entries ------------------------------ */
.feature-page-hero,
.ai-page-hero,
.sms-page-hero,
.pricing-page-hero {
 padding-block: clamp(34px, 4vw, 54px);
}

.feature-page-hero {
 background:
 linear-gradient(90deg,
 color-mix(in oklab, var(--warm) 92%, var(--surface)) 0%,
 color-mix(in oklab, var(--accent-050) 52%, var(--warm)) 100%);
 border-bottom: 1px solid var(--line);
}

.feature-page-hero .features-hero-grid {
 display: block;
}

.feature-page-hero .features-hero-copy {
 max-width: 980px;
}

.feature-page-hero .hero-kicker,
.pricing-page-hero .hero-kicker {
 display: none;
}

.feature-page-hero .features-h1 {
 max-width: 17ch;
 font-size: clamp(2.1rem, 3.7vw, 3.35rem);
 line-height: 1.02;
}

.feature-page-hero .hero-lead {
 max-width: 70ch;
 margin-top: 18px;
}

.feature-page-hero .hero-actions,
.feature-page-hero .cta-microcopy {
 display: none;
}

.feature-page-hero .feature-dashboard {
 display: block;
}

.feature-page-hero .feature-pill-list {
 display: grid;
 grid-template-columns: repeat(6, minmax(0, 1fr));
 gap: 0;
 margin-top: clamp(28px, 4vw, 42px);
 padding-top: 0;
 border: 1px solid color-mix(in oklab, var(--accent) 18%, var(--line));
 background: color-mix(in oklab, var(--accent) 18%, var(--line));
 counter-reset: pill;
}

.feature-page-hero .feature-pill-list li {
 min-height: 84px;
 display: flex;
 flex-direction: column;
 justify-content: space-between;
 padding: 16px;
 background: color-mix(in oklab, var(--accent-050) 68%, var(--surface));
 color: var(--primary-700);
 font-size: .82rem;
 font-weight: 760;
 line-height: 1.15;
 counter-increment: pill;
}

.feature-page-hero .feature-pill-list li::before {
 content: counter(pill);
 font-size: 1.5rem;
 font-weight: 800;
 color: color-mix(in oklab, var(--primary) 40%, transparent);
 line-height: 1;
}

.feature-page-hero .feature-pill-list li:nth-child(even) {
 background: color-mix(in oklab, var(--primary-050) 74%, var(--surface));
}

.ai-page-hero,
.sms-page-hero {
 border-bottom: 1px solid var(--line);
}

.ai-page-hero {
 background:
 linear-gradient(135deg,
 color-mix(in oklab, var(--primary-050) 82%, var(--surface)) 0%,
 color-mix(in oklab, var(--accent-050) 62%, var(--surface)) 100%);
}

.sms-page-hero {
 background:
 linear-gradient(135deg,
 color-mix(in oklab, var(--peach) 50%, var(--surface)) 0%,
 color-mix(in oklab, var(--accent-050) 62%, var(--surface)) 100%);
}

.ai-page-hero .hero-grid,
.sms-page-hero .hero-grid {
 grid-template-columns: minmax(0, .86fr) minmax(340px, .94fr);
 gap: clamp(28px, 5vw, 58px);
 align-items: center;
}

.ai-page-hero .hero-human-photo {
 display: none;
}

.ai-page-hero .hero-h1,
.sms-page-hero .hero-h1 {
 max-width: 18ch;
 font-size: clamp(2.05rem, 3.55vw, 3.45rem);
 line-height: 1.02;
}

.ai-page-hero .hero-lead,
.sms-page-hero .hero-lead {
 max-width: 56ch;
 margin-top: 18px;
}

.ai-page-hero .hero-actions,
.sms-page-hero .hero-actions {
 margin-top: 22px;
}

.ai-page-hero .hero-trust,
.sms-page-hero .hero-trust {
 grid-template-columns: 1fr 1fr;
 margin-top: 24px;
 padding-top: 18px;
 gap: 9px 18px;
}

.ai-page-hero .hero-trust li,
.sms-page-hero .hero-trust li {
 font-size: .9rem;
 line-height: 1.35;
}

.ai-page-hero .hero-visuals,
.sms-page-hero .hero-visuals {
 justify-content: center;
}

.ai-page-hero .ai-reception-preview {
 width: min(100%, 620px);
 margin-left: 0;
 border-color: color-mix(in oklab, var(--accent) 28%, var(--line));
}

.sms-page-hero .sms-phone-card {
 max-width: 390px;
 margin-left: auto;
 transform: rotate(.6deg);
 border-color: color-mix(in oklab, var(--accent) 28%, var(--line));
 box-shadow: 0 22px 46px -30px color-mix(in oklab, var(--accent) 40%, transparent);
}

.sms-page-hero .sms-thread {
 max-height: 360px;
 overflow: hidden;
}

.pricing-page-hero {
 background:
 linear-gradient(135deg,
 color-mix(in oklab, var(--warm) 84%, var(--surface)) 0%,
 color-mix(in oklab, var(--primary-050) 72%, var(--surface)) 100%);
}

.pricing-hero-grid {
 grid-template-columns: minmax(0, .72fr) minmax(430px, 1.05fr);
 gap: clamp(30px, 5vw, 64px);
 align-items: start;
}

.pricing-page-hero .hero-h1 {
 max-width: 13ch;
 font-size: clamp(2.05rem, 3.6vw, 3.35rem);
}

.pricing-page-hero .hero-lead {
 max-width: 48ch;
 margin-top: 16px;
}

.pricing-page-hero .hero-trust {
 display: none;
}

.pricing-page-hero .hero-actions {
 margin-top: 22px;
}

.pricing-hero-card {
 box-shadow: none;
 background: color-mix(in oklab, var(--surface) 88%, var(--primary-050));
 border-color: color-mix(in oklab, var(--primary) 18%, var(--line));
 padding: 20px;
 gap: 10px;
}

.pricing-page-hero .pricing-plan-preview {
 padding: 12px 14px;
}

.pricing-page-hero .pricing-plan-preview.is-active {
 background: color-mix(in oklab, var(--primary-050) 76%, var(--surface));
}

.pricing-page-hero .pricing-plan-preview.is-muted {
 background: color-mix(in oklab, var(--accent-050) 52%, var(--surface));
}

.pricing-page-hero .pricing-hero-metrics,
.pricing-page-hero .pricing-hero-note {
 display: none;
}

@media (max-width: 980px) {
 .feature-page-hero .feature-pill-list {
 grid-template-columns: repeat(3, minmax(0, 1fr));
 }

 .ai-page-hero .hero-grid,
 .sms-page-hero .hero-grid,
 .pricing-hero-grid {
 grid-template-columns: 1fr;
 }

 .sms-page-hero .sms-phone-card {
 margin-left: 0;
 transform: none;
 }
}

@media (max-width: 640px) {
 .feature-page-hero,
 .ai-page-hero,
 .sms-page-hero,
 .pricing-page-hero {
 padding-block: 34px 44px;
 }

 .feature-page-hero .features-h1,
 .ai-page-hero .hero-h1,
 .sms-page-hero .hero-h1,
 .pricing-page-hero .hero-h1 {
 max-width: none;
 font-size: clamp(2rem, 9vw, 2.75rem);
 }

 .feature-page-hero .feature-pill-list {
 grid-template-columns: 1fr 1fr;
 }

 .feature-page-hero .feature-pill-list li {
 min-height: 70px;
 padding: 14px;
 }

 .ai-page-hero .hero-trust,
 .sms-page-hero .hero-trust {
 grid-template-columns: 1fr;
 }
}

/* ============================================================
 Page showcase panels - gradient-backed visuals
 ============================================================ */

.showcase-band {
 padding-block: clamp(44px, 5vw, 72px);
 background: color-mix(in oklab, var(--bg-soft) 82%, var(--surface));
 border-block: 1px solid var(--line);
}

.showcase-grid {
 display: grid;
 grid-template-columns: repeat(2, minmax(0, 1fr));
 gap: clamp(18px, 3vw, 28px);
}

.showcase-card {
 display: grid;
 grid-template-columns: minmax(170px, .78fr) minmax(0, 1fr);
 min-height: 280px;
 overflow: hidden;
 border: 1px solid color-mix(in oklab, var(--accent) 22%, var(--line));
 border-radius: var(--r-card);
 background: var(--surface);
 box-shadow: var(--shadow-lg);
}

.showcase-card__media {
 display: flex;
 align-items: center;
 justify-content: center;
 padding: clamp(18px, 3vw, 30px);
 color: var(--on-primary);
}

.showcase-card__media--teal {
 background:
 linear-gradient(160deg,
 color-mix(in oklab, var(--primary) 86%, var(--primary-700)) 0%,
 color-mix(in oklab, var(--accent) 60%, var(--primary-700)) 100%);
}

.showcase-card__media--warm {
 background:
 linear-gradient(160deg,
 color-mix(in oklab, var(--accent) 78%, var(--primary-700)) 0%,
 color-mix(in oklab, var(--peach) 56%, var(--primary)) 100%);
}

.showcase-card__media--navy {
 background:
 linear-gradient(160deg,
 color-mix(in oklab, var(--primary-700) 92%, var(--accent)) 0%,
 color-mix(in oklab, var(--primary) 80%, var(--accent)) 100%);
}

.showcase-card__media--soft {
 background:
 linear-gradient(160deg,
 color-mix(in oklab, var(--accent) 52%, var(--primary)) 0%,
 color-mix(in oklab, var(--primary) 68%, var(--accent-050)) 100%);
}

.showcase-mini {
 width: min(100%, 220px);
 padding: 16px;
 border: 1px solid color-mix(in oklab, var(--on-primary) 22%, transparent);
 border-radius: 12px;
 background: color-mix(in oklab, var(--on-primary) 10%, transparent);
}

.showcase-mini__label {
 display: block;
 color: color-mix(in oklab, var(--on-primary) 72%, var(--accent));
 font-size: .72rem;
 font-weight: 800;
 letter-spacing: .08em;
 text-transform: uppercase;
}

.showcase-mini__title {
 display: block;
 margin-top: 7px;
 font-size: 1.1rem;
 font-weight: 800;
 line-height: 1.1;
}

.showcase-mini__text {
 margin-top: 9px;
 color: color-mix(in oklab, var(--on-primary) 82%, var(--primary-700));
 line-height: 1.35;
 font-size: .88rem;
}

.showcase-mini__chip {
 display: inline-flex;
 align-items: center;
 gap: 5px;
 margin-top: 12px;
 padding: 4px 10px;
 border-radius: 999px;
 font-size: .68rem;
 font-weight: 700;
 text-transform: uppercase;
 letter-spacing: .04em;
 background: color-mix(in oklab, var(--on-primary) 16%, transparent);
 color: color-mix(in oklab, var(--on-primary) 88%, var(--accent));
}

.showcase-mini__chip::before {
 content: "";
 width: 5px;
 height: 5px;
 border-radius: 50%;
 background: currentColor;
}

.showcase-mini__rows {
 margin-top: 10px;
 display: grid;
 gap: 5px;
}

.showcase-mini__row {
 display: flex;
 align-items: center;
 justify-content: space-between;
 gap: 8px;
 padding: 5px 0;
 border-bottom: 1px solid color-mix(in oklab, var(--on-primary) 12%, transparent);
 font-size: .78rem;
 color: color-mix(in oklab, var(--on-primary) 76%, var(--primary-700));
}

.showcase-mini__row:last-child { border-bottom: none; }
.showcase-mini__row strong { font-weight: 700; color: var(--on-primary); }

.showcase-card__body {
 display: flex;
 flex-direction: column;
 justify-content: center;
 padding: clamp(22px, 3vw, 32px);
}

.showcase-card__body .automation-label,
.showcase-card__body .showcase-label {
 display: block;
 color: var(--accent-700);
 font-size: .74rem;
 font-weight: 800;
 letter-spacing: .08em;
 text-transform: uppercase;
}

.showcase-card__body h3 {
 margin-top: 8px;
 color: var(--ink);
 font-size: clamp(1.25rem, 2vw, 1.8rem);
 line-height: 1.08;
 letter-spacing: -.02em;
 font-weight: 800;
}

.showcase-card__body p:not(.showcase-label):not(.automation-label) {
 margin-top: 12px;
 color: var(--ink-2);
 line-height: 1.5;
 font-size: .95rem;
}

.showcase-card__body .card-link {
 margin-top: 18px;
}

@media (max-width: 980px) {
 .showcase-grid,
 .showcase-card {
 grid-template-columns: 1fr;
 }
 .showcase-card { min-height: 0; }
 .showcase-card__media { justify-content: flex-start; }
}

/* ---- Feature page: showcase between sections -------------- */
.features-showcase {
 margin-top: clamp(32px, 4vw, 48px);
}

/* ---- AI page: call flow visual ---------------------------- */
.ai-callflow-visual {
 display: grid;
 grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
 gap: 0;
 border: 1px solid color-mix(in oklab, var(--accent) 22%, var(--line));
 border-radius: var(--r-card);
 overflow: hidden;
 box-shadow: var(--shadow-lg);
 margin-top: clamp(32px, 4vw, 48px);
}

.ai-callflow-visual__media {
 display: flex;
 flex-direction: column;
 align-items: center;
 justify-content: center;
 gap: 14px;
 padding: clamp(24px, 4vw, 42px);
 background:
 linear-gradient(160deg,
 color-mix(in oklab, var(--primary) 86%, var(--primary-700)) 0%,
 color-mix(in oklab, var(--accent) 60%, var(--primary-700)) 100%);
 color: var(--on-primary);
}

.ai-callflow-step {
 width: 100%;
 max-width: 280px;
 padding: 12px 16px;
 border: 1px solid color-mix(in oklab, var(--on-primary) 18%, transparent);
 border-radius: 10px;
 background: color-mix(in oklab, var(--on-primary) 8%, transparent);
 display: flex;
 align-items: center;
 gap: 12px;
}

.ai-callflow-step__num {
 width: 28px;
 height: 28px;
 border-radius: 50%;
 background: color-mix(in oklab, var(--on-primary) 16%, transparent);
 display: grid;
 place-items: center;
 font-size: .72rem;
 font-weight: 800;
 flex-shrink: 0;
}

.ai-callflow-step__text {
 font-size: .86rem;
 font-weight: 600;
 line-height: 1.2;
}

.ai-callflow-arrow {
 color: color-mix(in oklab, var(--on-primary) 44%, transparent);
 text-align: center;
}

.ai-callflow-arrow svg {
 width: 18px;
 height: 18px;
 transform: rotate(90deg);
}

.ai-callflow-visual__body {
 display: flex;
 flex-direction: column;
 justify-content: center;
 padding: clamp(24px, 4vw, 42px);
 background: var(--surface);
}

.ai-callflow-visual__body h3 {
 font-size: clamp(1.35rem, 2.2vw, 1.9rem);
 line-height: 1.08;
 letter-spacing: -.02em;
 font-weight: 800;
 color: var(--ink);
}

.ai-callflow-visual__body p {
 margin-top: 14px;
 color: var(--ink-2);
 line-height: 1.5;
}

@media (max-width: 860px) {
 .ai-callflow-visual { grid-template-columns: 1fr; }
}

/* ---- SMS page: visual ops board --------------------------- */
.sms-visual-ops {
 border: 1px solid color-mix(in oklab, var(--accent) 22%, var(--line));
 border-radius: var(--r-card);
 overflow: hidden;
 box-shadow: var(--shadow-lg);
}

.sms-visual-ops__header {
 padding: clamp(16px, 2vw, 22px) clamp(18px, 3vw, 28px);
 background:
 linear-gradient(135deg,
 color-mix(in oklab, var(--accent) 78%, var(--primary-700)) 0%,
 color-mix(in oklab, var(--peach) 56%, var(--primary)) 100%);
 color: var(--on-primary);
}

.sms-visual-ops__header span {
 display: block;
 font-size: .72rem;
 font-weight: 800;
 letter-spacing: .08em;
 text-transform: uppercase;
 color: color-mix(in oklab, var(--on-primary) 72%, var(--accent));
}

.sms-visual-ops__header strong {
 display: block;
 margin-top: 6px;
 font-size: 1.1rem;
 font-weight: 800;
}

.sms-visual-ops .ops-row {
 background: var(--surface);
}

.sms-visual-ops .ops-row:nth-child(even) {
 background: var(--bg-soft);
}

.sms-visual-ops .ops-row:last-child {
 border-bottom: none;
 background: color-mix(in oklab, var(--accent-050) 52%, var(--surface));
}

.sms-visual-ops .ops-row:last-child strong {
 color: var(--accent-700);
}

/* ---- Pricing page: visual roi box ------------------------- */
.pricing-visual-roi {
 border: 1px solid color-mix(in oklab, var(--accent) 22%, var(--line));
 border-radius: var(--r-card);
 overflow: hidden;
 box-shadow: var(--shadow-lg);
}

.pricing-visual-roi__header {
 padding: clamp(16px, 2vw, 22px) clamp(18px, 3vw, 28px);
 background:
 linear-gradient(135deg,
 color-mix(in oklab, var(--primary-700) 92%, var(--accent)) 0%,
 color-mix(in oklab, var(--primary) 80%, var(--accent)) 100%);
 color: var(--on-primary);
}

.pricing-visual-roi__header span {
 display: block;
 font-size: .72rem;
 font-weight: 800;
 letter-spacing: .08em;
 text-transform: uppercase;
 color: color-mix(in oklab, var(--on-primary) 72%, var(--accent));
}

.pricing-visual-roi__header strong {
 display: block;
 margin-top: 6px;
 font-size: 1.1rem;
 font-weight: 800;
}

.pricing-visual-roi .roi-row {
 background: var(--surface);
}

.pricing-visual-roi .roi-row:nth-child(even) {
 background: var(--bg-soft);
}

.pricing-visual-roi .roi-note {
 margin: 0;
 border-radius: 0;
 border-top: 1px solid var(--line);
 background: color-mix(in oklab, var(--primary-050) 52%, var(--surface));
 color: var(--ink-2);
}

/* ---- Contact page: visual card header --------------------- */
.contact-visual-header {
 margin-top: 28px;
 border: 1px solid color-mix(in oklab, var(--accent) 22%, var(--line));
 border-radius: var(--r-card);
 overflow: hidden;
 box-shadow: var(--shadow-lg);
}

.contact-visual-header__top {
 padding: 20px 22px;
 background:
 linear-gradient(135deg,
 color-mix(in oklab, var(--primary) 86%, var(--primary-700)) 0%,
 color-mix(in oklab, var(--accent) 60%, var(--primary-700)) 100%);
 color: var(--on-primary);
}

.contact-visual-header__top span {
 display: block;
 font-size: .72rem;
 font-weight: 800;
 letter-spacing: .08em;
 text-transform: uppercase;
 color: color-mix(in oklab, var(--on-primary) 72%, var(--accent));
}

.contact-visual-header__top strong {
 display: block;
 margin-top: 6px;
 font-size: 1.08rem;
 font-weight: 800;
}

.contact-visual-header__body {
 padding: 16px 22px;
 background: var(--surface);
 display: grid;
 gap: 10px;
}

.contact-visual-header__row {
 display: flex;
 align-items: center;
 gap: 10px;
 font-size: .9rem;
 color: var(--ink-2);
}

.contact-visual-header__row svg {
 width: 16px;
 height: 16px;
 color: var(--accent-700);
 flex-shrink: 0;
}

.contact-visual-header__row a {
 color: var(--primary);
 font-weight: 600;
}

/* ============================================================
   Mobile & tablet responsive fixes
   ============================================================ */

/* -- ROI rows: stack label/value on narrow screens ---------- */
@media (max-width: 480px) {
 .roi-row {
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 12px 16px;
 }
 .ops-row {
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 12px 16px;
 }
}

/* -- Split sections: image sizing when stacked -------------- */
@media (max-width: 860px) {
 .split .photo-figure {
  width: 100%;
  max-height: 360px;
  overflow: hidden;
  border-radius: 8px;
 }
 .split .photo-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
 }
}

/* -- Showcase cards: tighter mobile spacing ----------------- */
@media (max-width: 640px) {
 .showcase-band .section-head h2 {
  font-size: clamp(1.4rem, 6vw, 1.8rem);
 }
 .showcase-card__media {
  min-height: 160px;
  padding: 20px;
 }
 .showcase-card__body {
  padding: 18px;
 }
 .showcase-card__body h3 {
  font-size: 1.1rem;
 }
 .showcase-mini {
  padding: 12px 14px;
 }
}

/* -- AI callflow: tighter mobile layout --------------------- */
@media (max-width: 640px) {
 .ai-callflow-visual__media {
  padding: 20px 16px;
 }
 .ai-callflow-step {
  max-width: 100%;
  padding: 10px 14px;
 }
 .ai-callflow-visual__body {
  padding: 20px 16px;
 }
 .ai-callflow-visual__body h3 {
  font-size: 1.2rem;
 }
}

/* -- SMS ops board: mobile-friendly rows -------------------- */
@media (max-width: 480px) {
 .sms-visual-ops__header {
  padding: 14px 16px;
 }
 .sms-visual-ops__header strong {
  font-size: .95rem;
 }
}

/* -- Pricing visual ROI: mobile-friendly -------------------- */
@media (max-width: 480px) {
 .pricing-visual-roi__header {
  padding: 14px 16px;
 }
 .pricing-visual-roi__header strong {
  font-size: .95rem;
 }
 .pricing-visual-roi .roi-note {
  padding: 12px 16px;
  font-size: .88rem;
 }
}

/* -- Contact card: mobile-friendly -------------------------- */
@media (max-width: 480px) {
 .contact-visual-header__top {
  padding: 16px;
 }
 .contact-visual-header__body {
  padding: 14px 16px;
 }
 .contact-visual-header__row {
  font-size: .82rem;
 }
}

/* -- Pricing hero card: tighter on mobile ------------------- */
@media (max-width: 640px) {
 .pricing-hero-card {
  padding: 0;
 }
 .pricing-plan-preview {
  padding: 12px 14px;
 }
 .pricing-hero-metrics {
  gap: 8px;
  padding: 14px;
 }
 .pricing-hero-note {
  padding: 12px 14px;
  font-size: .82rem;
 }
}

/* -- Buttons: ensure adequate tap target size --------------- */
@media (max-width: 640px) {
 .btn { min-height: 44px; }
 .btn-lg { min-height: 48px; padding-inline: 20px; }
}

/* -- Hero trust list: single column on small mobile --------- */
@media (max-width: 400px) {
 .hero-trust li {
  font-size: .88rem;
 }
}

/* -- Footer: ensure readable spacing on mobile -------------- */
@media (max-width: 480px) {
 .footer-grid {
  gap: 28px;
 }
 .footer-col h4 {
  margin-bottom: 8px;
 }
 .footer-about {
  font-size: .88rem;
 }
 .footer-bottom {
  font-size: .82rem;
  padding-block: 16px;
 }
}

/* -- Form fields: larger touch targets ---------------------- */
@media (max-width: 640px) {
 input, select, textarea {
  font-size: 16px !important;
  min-height: 44px;
 }
 .form-grid {
  gap: 14px;
 }
}

/* -- Section spacing: tighter on mobile --------------------- */
@media (max-width: 640px) {
 .section {
  padding-block: clamp(32px, 6vw, 48px);
 }
}

/* -- Horizontal overflow prevention ------------------------- */
html, body {
 overflow-x: hidden;
}
.wrap {
 max-width: var(--wrap);
}

/* -- Pricing plans grid: stack on tablet -------------------- */
@media (max-width: 860px) {
 .price-row.grid-3 {
  grid-template-columns: 1fr;
  max-width: 480px;
  margin-inline: auto;
 }
}

/* -- Split layout: force single column on mobile/tablet ----- */
/* Later .split declarations override the 860px breakpoint,
   so we re-assert the stack here at the end of the cascade. */
@media (max-width: 860px) {
 .split {
  grid-template-columns: 1fr !important;
 }
 .split > .photo-figure:first-child {
  order: -1;
 }
}

/* ============================================================
 Production polish layer: homepage operating system story
 ============================================================ */

.patient-strip {
 display: flex;
 flex-wrap: wrap;
 align-items: center;
 gap: 6px;
 margin-top: 9px;
 padding: 8px 10px;
 border: 1px solid var(--line);
 background: color-mix(in oklab, var(--surface) 84%, var(--accent-050));
 font-size: .64rem;
 color: var(--ink-2);
}
.patient-strip strong { color: var(--ink); margin-right: 2px; }
.patient-strip span {
 display: inline-flex;
 align-items: center;
 gap: 4px;
 padding: 3px 6px;
 border: 1px solid var(--line);
 background: var(--surface);
 border-radius: var(--r-sm);
 white-space: nowrap;
}
.patient-strip span::before {
 content: "";
 width: 5px;
 height: 5px;
 border-radius: 999px;
 background: var(--accent);
}

.ops-comparison-section {
 background: linear-gradient(180deg, var(--surface), var(--bg-soft));
 border-bottom: 1px solid var(--line);
}
.before-after-grid {
 display: grid;
 grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
 gap: clamp(18px, 3vw, 28px);
 margin-top: 36px;
}
.before-card,
.after-card,
.role-view-grid article {
 border: 1px solid var(--line);
 background: var(--surface);
 border-radius: var(--r-card);
 padding: clamp(22px, 3vw, 30px);
}
.before-card { background: color-mix(in oklab, var(--warn-soft) 28%, var(--surface)); }
.after-card {
 border-color: color-mix(in oklab, var(--accent) 34%, var(--line));
 background: color-mix(in oklab, var(--accent-050) 48%, var(--surface));
}
.before-card h3,
.after-card h3 {
 font-size: 1.25rem;
 margin-bottom: 16px;
}
.before-card ul,
.after-card ul {
 margin: 0;
 padding: 0;
 list-style: none;
 display: grid;
 gap: 12px;
}
.before-card li,
.after-card li {
 position: relative;
 padding-left: 21px;
 color: var(--ink-2);
}
.before-card li::before,
.after-card li::before {
 content: "";
 position: absolute;
 left: 0;
 top: .72em;
 width: 7px;
 height: 7px;
 border-radius: 999px;
 background: var(--warn);
}
.after-card li::before { background: var(--accent); }

.team-view-section { border-top: 1px solid var(--line); }
.role-view-grid {
 display: grid;
 grid-template-columns: repeat(3, minmax(0, 1fr));
 gap: clamp(16px, 2.4vw, 24px);
 margin-top: 36px;
}
.role-view-grid span {
 display: block;
 color: var(--accent-700);
 font-size: .76rem;
 font-weight: 800;
 letter-spacing: .08em;
 text-transform: uppercase;
 margin-bottom: 12px;
}
.role-view-grid strong {
 display: block;
 color: var(--ink);
 font-size: 1.08rem;
 line-height: 1.25;
}
.role-view-grid p {
 color: var(--ink-2);
 margin-top: 12px;
 font-size: .96rem;
}
.security-list {
 align-self: center;
 padding: clamp(22px, 3vw, 30px);
 border: 1px solid var(--line);
 border-radius: var(--r-card);
 background: var(--surface);
}

.pricing-plans-section .price-row > .price-card:nth-child(2) {
 border-color: var(--primary);
 box-shadow: 0 22px 48px -34px color-mix(in oklab, var(--primary) 48%, transparent);
}

@media (max-width: 900px) {
 .before-after-grid,
 .role-view-grid {
  grid-template-columns: 1fr;
 }
}

@media (max-width: 640px) {
 .feature-card--photo .card-media {
  height: 208px;
 }
 .hero {
  padding-block: 30px 34px;
 }
 .hero-grid {
  gap: 24px;
 }
 .hero-h1 {
  font-size: clamp(1.82rem, 8.5vw, 2.15rem);
  line-height: 1.08;
 }
 .hero-lead {
  font-size: 1.02rem;
 }
 .hero-actions {
  width: 100%;
 }
 .hero-actions .btn {
  width: 100%;
 }
 .hero-product-visual {
  max-width: 100%;
  overflow: hidden;
 }
 .hero-trust,
 .hero-visuals {
  display: none;
 }
 .patient-strip span {
  white-space: normal;
 }
 .contact-card {
  padding: 20px;
 }
 .pricing-plans-section .price-card.featured {
  transform: none;
 }
}

/* Final product-visual clarity pass */
.hero-visuals,
.hero-product-visual {
 opacity: 1 !important;
 filter: none !important;
}
.hero-product-visual.app-frame {
 background: var(--surface);
 border-color: color-mix(in oklab, var(--primary) 18%, var(--line));
 box-shadow: 0 28px 70px -42px color-mix(in oklab, var(--primary) 45%, transparent);
}
.hero-product-visual .app-body {
 grid-template-columns: 1fr !important;
}
.hero-product-visual .app-side {
 display: none;
}
.hero-product-visual .app-topline {
 background: var(--surface);
 border: 1px solid var(--line);
}
.hero-product-visual .stat-row {
 gap: 10px;
}
.hero-product-visual .stat {
 min-height: 82px;
 padding: 13px 14px;
}
.hero-product-visual .stat .s-k {
 font-size: .68rem;
}
.hero-product-visual .stat .s-v {
 font-size: clamp(1.35rem, 2.4vw, 1.75rem);
 line-height: 1;
 margin-top: 7px;
 color: var(--ink);
}
.hero-product-visual .stat .s-note {
 font-size: .64rem;
 margin-top: 5px;
}
.hero-product-visual .app-panels {
 grid-template-columns: minmax(0, 1fr) minmax(220px, .9fr);
 gap: 12px;
}
.hero-product-visual .appt-head,
.hero-product-visual .risk-title {
 font-size: .78rem;
}
.hero-product-visual .appt-row {
 font-size: .78rem;
 padding: 9px 12px;
}
.hero-product-visual .risk-list {
 gap: 9px;
}
.hero-product-visual .risk-list div {
 padding: 10px 12px;
 background: var(--surface);
}
.hero-product-visual .risk-list strong {
 font-size: .78rem;
}
.hero-product-visual .risk-list span {
 font-size: .68rem;
}

@media (max-width: 720px) {
 .hero-product-visual .app-topline,
 .hero-product-visual .appt-card,
 .hero-product-visual .patient-strip,
 .hero-product-visual .app-note {
  display: none;
 }
 .hero-product-visual .stat-row,
 .hero-product-visual .app-panels {
  grid-template-columns: 1fr 1fr;
 }
 .hero-product-visual .risk-panel {
  display: block;
  grid-column: 1 / -1;
 }
 .hero-product-visual .risk-list {
  grid-template-columns: 1fr;
 }
}

/* Final clamp for homepage and feature image cards in Chrome/file preview */
.feature-card--photo .card-media {
 width: 100% !important;
 height: clamp(196px, 18vw, 248px) !important;
 max-height: clamp(196px, 18vw, 248px) !important;
 display: block !important;
 object-fit: cover !important;
 aspect-ratio: auto !important;
}

@media (max-width: 640px) {
 .feature-card--photo .card-media {
  height: 208px !important;
  max-height: 208px !important;
 }
}

/* ---- Beta join disclaimer modal --------------------------- */
.join-modal-overlay {
 display: none;
 position: fixed;
 inset: 0;
 z-index: 300;
 background: color-mix(in oklab, var(--ink) 50%, transparent);
 align-items: center;
 justify-content: center;
 padding: 24px;
 backdrop-filter: blur(4px);
}

.join-modal-overlay--open {
 display: flex;
}

.join-modal {
 background: var(--surface);
 border-radius: var(--r-card);
 box-shadow: 0 24px 64px -16px color-mix(in oklab, var(--ink) 32%, transparent);
 padding: 40px;
 max-width: 520px;
 width: 100%;
}

.join-modal__title {
 font-size: 1.3rem;
 font-weight: 700;
 color: var(--ink);
 margin: 0 0 16px;
}

.join-modal__body {
 font-size: .94rem;
 color: var(--ink-2);
 line-height: 1.6;
 margin: 0 0 14px;
}

.join-modal__body strong {
 color: var(--ink);
}

.join-modal__actions {
 display: flex;
 gap: 12px;
 margin-top: 28px;
 flex-wrap: wrap;
}

@media (max-width: 480px) {
 .join-modal { padding: 28px 20px; }
 .join-modal__actions { flex-direction: column; }
}

/* ---- Cookie consent banner -------------------------------- */
.cookie-banner {
 position: fixed;
 bottom: 0;
 left: 0;
 right: 0;
 z-index: 200;
 background: var(--surface);
 border-top: 1px solid var(--line);
 box-shadow: 0 -8px 32px -8px color-mix(in oklab, var(--ink) 14%, transparent);
 padding: 18px 24px;
 transition: transform .35s ease-out, opacity .35s ease-out;
}

.cookie-banner--dismissed {
 transform: translateY(100%);
 opacity: 0;
}

.cookie-banner__inner {
 max-width: 900px;
 margin: 0 auto;
 display: flex;
 align-items: center;
 gap: 24px;
 flex-wrap: wrap;
}

.cookie-banner__text {
 flex: 1;
 min-width: 220px;
 font-size: .92rem;
 color: var(--ink-2);
 line-height: 1.5;
}

.cookie-banner__text strong {
 color: var(--ink);
}

.cookie-banner__actions {
 display: flex;
 gap: 10px;
 flex-shrink: 0;
}

@media (max-width: 600px) {
 .cookie-banner__inner {
  flex-direction: column;
  align-items: stretch;
 }
 .cookie-banner__actions {
  flex-direction: column;
 }
}

/* ---- Beta banner ------------------------------------------ */
.beta-banner {
 position: fixed;
 top: 0;
 left: 0;
 right: 0;
 z-index: 70;
 background: color-mix(in oklab, var(--accent) 18%, var(--surface));
 border-bottom: 1px solid color-mix(in oklab, var(--accent) 30%, var(--line));
 text-align: center;
 font-size: .82rem;
 font-weight: 600;
 color: var(--ink);
 padding: 7px 16px;
 line-height: 1.4;
}

.beta-banner strong {
 color: var(--primary-700);
}

/* ---- Scrolled header polish ------------------------------- */
body {
 padding-top: calc(var(--banner-h) + 72px);
}

.site-header {
 position: fixed;
 inset: var(--banner-h) 0 auto;
 width: 100%;
 transition: background-color .18s ease-out, border-color .18s ease-out, box-shadow .18s ease-out;
}

.site-header .brand-logo,
.site-header .nav-links,
.site-header .nav-links a,
.site-header .nav-cta .btn {
 transition: background-color .18s ease-out, border-color .18s ease-out, color .18s ease-out, opacity .18s ease-out, box-shadow .18s ease-out;
}

body.nav-scrolled .site-header {
 background: var(--surface);
 border-bottom-color: color-mix(in oklab, var(--line) 92%, var(--ink) 8%);
 box-shadow: 0 14px 28px -26px color-mix(in oklab, var(--ink) 42%, transparent);
 backdrop-filter: none;
}

body.nav-scrolled .nav {
 height: 58px;
}

body.nav-scrolled .brand-logo {
 height: 36px;
}

body.nav-scrolled .nav-links {
 background: transparent;
 border-color: transparent;
 border-radius: 0;
 padding: 0;
 gap: 6px;
}

body.nav-scrolled .nav-links a {
 border: 0;
 background: transparent;
 box-shadow: none;
 padding: 6px 8px;
 color: var(--ink-2);
 font-size: .92rem;
}

body.nav-scrolled .nav-links a:hover,
body.nav-scrolled .nav-links a.active {
 background: transparent;
 box-shadow: none;
 color: var(--primary-700);
}

body.nav-scrolled .nav-links a.active {
 font-weight: 700;
}

body.nav-scrolled .nav-cta .btn {
 padding: 10px 18px;
 font-size: .94rem;
}

body.nav-scrolled .nav-cta .btn-secondary {
 display: none;
}

body.nav-scrolled .mobile-menu {
 inset-block-start: calc(var(--banner-h) + 58px);
}

@media (max-width: 860px) {
 body {
  padding-top: calc(var(--banner-h) + 66px);
 }

 .beta-banner {
  font-size: .76rem;
  padding: 6px 12px;
 }

 body.nav-scrolled .nav {
  height: 58px;
 }
}

/* ============================================================
   Mobile optimisation pass
   ============================================================ */

@media (max-width: 640px) {
 :root {
  --gutter: 20px;
 }

 .hero-copy,
 .hero-product-visual,
 .hero-actions,
 .hero-lead {
  width: 100%;
  max-width: 100%;
 }

 .hero-visuals {
  display: flex;
 }

 .hero-human-photo {
  display: none;
 }

 .hero-product-visual {
  max-width: 100%;
  overflow: hidden;
 }

 .hero-h1 {
  font-size: clamp(1.75rem, 7.5vw, 2.2rem);
  max-width: none;
  line-height: 1.1;
 }

 .hero-lead {
  font-size: .95rem;
 }

 .hero-actions {
  flex-direction: column;
  gap: 10px;
 }

 .hero-actions .btn {
  width: 100%;
  text-align: center;
  justify-content: center;
 }

 h2.h2 {
  font-size: clamp(1.4rem, 6vw, 1.8rem);
 }

 .section-head {
  max-width: 100%;
 }

 .card {
  padding: 20px;
 }

 .cmp-wrap {
  border-radius: 0;
  margin-inline: calc(var(--gutter) * -1);
  width: calc(100% + var(--gutter) * 2);
 }

 table.cmp {
  font-size: .78rem;
 }

 table.cmp th,
 table.cmp td {
  padding: 8px 10px;
 }

 /* Keep the feature labels visible while plan columns scroll */
 table.cmp th:first-child,
 table.cmp td:first-child {
  position: sticky;
  left: 0;
  z-index: 2;
  box-shadow: 1px 0 0 var(--line);
 }

 table.cmp thead th:first-child {
  z-index: 3;
 }

 .cmp-hint {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 24px 0 12px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--primary);
 }

 .cmp-hint svg {
  width: 16px;
  height: 16px;
 }

 .cmp-hint + .cmp-wrap {
  margin-top: 0 !important;
 }

 .price-card {
  padding: 24px 20px;
 }

 .cta-band h2 {
  font-size: clamp(1.3rem, 5.5vw, 1.7rem);
 }

 .cta-band p {
  font-size: .92rem;
 }

 .footer-grid {
  grid-template-columns: 1fr;
  gap: 32px;
 }

 .footer-about {
  max-width: 100%;
 }

 .contact-layout {
  grid-template-columns: 1fr;
 }

 .demo-checklist {
  padding: 18px;
 }

 .contact-visual-header {
  max-width: 100%;
 }

 .feature-page-hero .feature-pill-list {
  grid-template-columns: 1fr 1fr;
 }

 .feature-page-hero .feature-pill-list li {
  min-height: 64px;
  padding: 12px;
  font-size: .78rem;
 }

 .feature-page-hero .feature-pill-list li::before {
  font-size: 1.2rem;
 }

 .showcase-grid {
  grid-template-columns: 1fr;
 }

 .faq {
  max-width: 100%;
 }

 .faq-q {
  font-size: .95rem;
  padding: 14px 16px;
 }

 .faq-a {
  font-size: .9rem;
  padding: 0 16px 14px;
 }

 .steps li {
  font-size: .9rem;
 }
}

@media (max-width: 480px) {
 :root {
  --gutter: 16px;
 }

 .hero-h1 {
  font-size: clamp(1.6rem, 7vw, 2rem);
 }

 .feature-page-hero .feature-pill-list {
  grid-template-columns: 1fr 1fr;
 }

 table.cmp {
  font-size: .72rem;
 }

 table.cmp th,
 table.cmp td {
  padding: 6px 8px;
 }
}

/* ============================================================
 Conversion pass: walkthrough CTAs, cleaner panels, stronger type
 ============================================================ */
:root {
 --font-display: "Source Serif 4", Georgia, serif;
}

.hero-h1,
h2.h2,
.cta-band h2 {
 font-family: var(--font-display);
 font-weight: 700;
 letter-spacing: 0;
}

.hero-h1 {
 font-size: clamp(2.35rem, 4.9vw, 3.65rem);
 line-height: 1.02;
 max-width: 13.5ch;
}

/* Home hero headline is longer — let it use more width and a tighter size */
.hero:not(.ai-page-hero):not(.sms-page-hero) .hero-h1 {
 font-size: clamp(2rem, 3.6vw, 2.9rem);
 line-height: 1.08;
 max-width: 19ch;
}

h2.h2 {
 font-size: clamp(1.95rem, 3.4vw, 2.65rem);
 line-height: 1.06;
}

.app-bar,
.mockup-bar {
 display: none !important;
}

.app-frame,
.hero-product-visual.app-frame,
.sc-mockup .app-frame {
 border-radius: var(--r-card);
 background: var(--surface);
 border: 1px solid color-mix(in oklab, var(--primary) 16%, var(--line));
 box-shadow: 0 22px 54px -38px color-mix(in oklab, var(--primary) 42%, transparent);
}

.product-panel .app-body {
 border-radius: inherit;
}

.operational-gaps-section {
 background: var(--surface);
 border-bottom: 1px solid var(--line);
}

.gap-stack,
.value-frame-list {
 display: grid;
 gap: 12px;
}

.gap-stack div,
.value-frame-list div {
 display: grid;
 grid-template-columns: auto 1fr;
 gap: 4px 14px;
 align-items: start;
 padding: clamp(18px, 2.4vw, 24px);
 border: 1px solid var(--line);
 border-radius: var(--r-card);
 background: var(--surface);
}

.gap-stack span {
 grid-row: 1 / span 2;
 width: 30px;
 height: 30px;
 display: grid;
 place-items: center;
 border-radius: var(--r-sm);
 background: var(--primary-050);
 color: var(--primary);
 font-weight: 800;
}

.gap-stack strong,
.value-frame-list strong {
 color: var(--ink);
 font-size: 1.04rem;
 line-height: 1.25;
}

.gap-stack p,
.value-frame-list span {
 color: var(--ink-2);
}

.policy-link-row {
 display: flex;
 flex-wrap: wrap;
 gap: 10px;
 margin-top: 24px;
}

.policy-link-row a {
 display: inline-flex;
 align-items: center;
 min-height: 38px;
 padding: 8px 12px;
 border: 1px solid var(--line-2);
 border-radius: var(--r-sm);
 background: var(--surface);
 color: var(--primary);
 font-weight: 700;
 font-size: .92rem;
}

.security-list a,
.faq-a a {
 color: var(--primary);
 font-weight: 700;
 text-decoration: underline;
 text-decoration-thickness: 1px;
 text-underline-offset: 3px;
}

.value-framing-section {
 background: var(--surface);
 border-top: 1px solid var(--line);
}

.value-frame-list div {
 grid-template-columns: 1fr;
 background: color-mix(in oklab, var(--accent-050) 42%, var(--surface));
 border-color: color-mix(in oklab, var(--accent) 24%, var(--line));
}

.demo-request-form {
 display: grid;
 gap: 22px;
 position: static;
}

.demo-request-form .btn {
 width: fit-content;
}

.form-success {
 text-align: left;
 padding: 0;
}

.mobile-sticky-cta {
 display: none;
}

@media (max-width: 640px) {
 body:has(.mobile-sticky-cta) {
  padding-bottom: 76px;
 }

 .hero-h1 {
  font-size: clamp(2rem, 8.4vw, 2.5rem);
  max-width: none;
 }

 .mobile-sticky-cta {
  position: fixed;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border-radius: var(--r-btn);
  background: var(--primary);
  color: var(--on-primary);
  font-weight: 800;
  box-shadow: 0 18px 38px -22px color-mix(in oklab, var(--ink) 62%, transparent);
 }

 .demo-request-form .btn {
  width: 100%;
 }
}

/* ============================================================
   Practice types page
 ============================================================ */
.who-hero-grid {
 display: grid;
 grid-template-columns: minmax(0, .92fr) minmax(380px, 1.08fr);
 gap: clamp(34px, 5vw, 66px);
 align-items: center;
}

.who-hero-panel {
 border: 1px solid var(--line);
 border-radius: var(--r-card);
 background: var(--surface);
 overflow: hidden;
 box-shadow: 0 22px 54px -40px color-mix(in oklab, var(--primary) 40%, transparent);
}

.who-hero-panel img {
 width: 100%;
 height: clamp(280px, 34vw, 430px);
 object-fit: cover;
 object-position: 50% 55%;
}

.who-hero-panel__list {
 display: flex;
 flex-wrap: wrap;
 gap: 8px;
 padding: 18px;
 border-top: 1px solid var(--line);
 background: color-mix(in oklab, var(--accent-050) 34%, var(--surface));
}

.who-hero-panel__list span {
 display: inline-flex;
 align-items: center;
 min-height: 30px;
 padding: 5px 10px;
 border: 1px solid var(--line-2);
 border-radius: var(--r-sm);
 background: var(--surface);
 color: var(--ink-2);
 font-weight: 700;
 font-size: .88rem;
}

.fit-signal-list,
.boundary-list,
.role-table {
 display: grid;
 gap: 12px;
}

.fit-signal-list div,
.boundary-list div,
.role-table div {
 padding: clamp(18px, 2.4vw, 24px);
 border: 1px solid var(--line);
 border-radius: var(--r-card);
 background: var(--surface);
}

.fit-signal-list strong,
.boundary-list strong {
 display: block;
 color: var(--ink);
 font-size: 1.06rem;
 line-height: 1.25;
}

.fit-signal-list p,
.boundary-list p {
 margin-top: 8px;
 color: var(--ink-2);
}

.practice-type-grid {
 display: grid;
 grid-template-columns: repeat(2, minmax(0, 1fr));
 gap: clamp(16px, 2.4vw, 24px);
 margin-top: clamp(34px, 4vw, 48px);
}

.practice-type-card {
 display: grid;
 grid-template-columns: minmax(130px, .42fr) minmax(0, .58fr);
 gap: 0;
 min-height: 190px;
 border: 1px solid var(--line);
 border-radius: var(--r-card);
 background: var(--surface);
 overflow: hidden;
}

.practice-type-card img {
 width: 100%;
 height: 100%;
 min-height: 190px;
 object-fit: cover;
}

.practice-type-card div {
 padding: clamp(18px, 2.4vw, 26px);
 align-self: center;
}

.practice-type-card strong {
 display: block;
 color: var(--ink);
 font-size: 1.14rem;
 line-height: 1.22;
}

.practice-type-card p {
 margin-top: 10px;
 color: var(--ink-2);
}

.who-role-layout {
 display: grid;
 grid-template-columns: minmax(0, .82fr) minmax(380px, 1.18fr);
 gap: clamp(32px, 5vw, 58px);
 align-items: start;
}

.role-table {
 border: 1px solid var(--line);
 border-radius: var(--r-card);
 overflow: hidden;
 background: var(--surface);
 gap: 0;
}

.role-table div {
 border: 0;
 border-bottom: 1px solid var(--line);
 border-radius: 0;
 display: grid;
 grid-template-columns: minmax(120px, .34fr) minmax(0, .66fr);
 gap: 16px;
 align-items: start;
}

.role-table div:last-child {
 border-bottom: 0;
}

.role-table span {
 color: var(--accent-700);
 font-weight: 800;
}

.role-table strong {
 color: var(--ink);
 font-size: 1rem;
 line-height: 1.35;
}

.who-not-fit-section {
 border-top: 1px solid var(--line);
 background: var(--surface);
}

@media (max-width: 980px) {
 .who-hero-grid,
 .who-role-layout {
  grid-template-columns: 1fr;
 }

 .practice-type-grid {
  grid-template-columns: 1fr;
 }
}

@media (max-width: 640px) {
 .who-hero-panel img {
  height: 240px;
 }

 .practice-type-card {
  grid-template-columns: 1fr;
 }

 .practice-type-card img {
  height: 210px;
  min-height: 210px;
 }

 .role-table div {
  grid-template-columns: 1fr;
  gap: 6px;
 }
}

/* ============================================================
   Mobile UX polish — June 2026
   Scope: max-width 768px only. Desktop layout is untouched.
   ============================================================ */

@media (max-width: 768px) {

 /* --- 1. Section breathing room ---------------------------- */
 /* Overrides the late clamp(32px,6vw,48px) that wins at ≤640px */
 .section {
  padding-block: 56px;
 }
 .section--tight {
  padding-block: 40px;
 }

 /* --- 2. Hero: open, spacious first fold ------------------- */
 /* Overrides the cramped 30px/34px that comes from the
    production polish layer at ≤640px */
 .hero {
  padding-block: 44px 58px;
 }
 .hero-h1 {
  font-size: clamp(2.05rem, 9vw, 2.75rem);
  line-height: 1.07;
 }
 .hero-lead {
  margin-top: 16px;
  font-size: 1.02rem;
  line-height: 1.55;
 }
 .hero-actions {
  flex-direction: column;
  gap: 10px;
  margin-top: 22px;
 }
 .hero-actions .btn {
  width: 100%;
  justify-content: center;
 }
 .cta-microcopy {
  margin-top: 12px;
  font-size: .9rem;
 }

 /* --- 3. Body / lead text: comfortable reading ------------- */
 .lead {
  line-height: 1.55;
 }

 /* --- 4. Cards: consistent padding ------------------------- */
 .card {
  padding: 20px;
 }

 /* --- 5. Grids: consistent gap ----------------------------- */
 .grid {
  gap: 16px;
 }

 /* --- 6. Flow workflow: hide arrow decorators -------------- */
 /* The flow grid on mobile becomes 2-col (via 720px rule);
    arrow spans render as orphaned cells — hiding them leaves
    clean step cards in a 2×N grid */
 .flow-arrow {
  display: none;
 }

 /* --- 7. Before / After cards ------------------------------ */
 .before-after-grid {
  gap: 14px;
  margin-top: 28px;
 }

 /* --- 8. Role view: single column -------------------------- */
 /* Already stacks at 900px but tightens gap + margin for phones */
 .role-view-grid {
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 28px;
 }

 /* --- 9. Automation cards: stacked layout ------------------ */
 /* Already handled at 980px; re-asserting here to ensure
    consistent padding on all mobile widths */
 .automation-card {
  grid-template-columns: 1fr;
  min-height: 0;
 }
 .automation-card__media {
  justify-content: flex-start;
  min-height: 130px;
  padding: 20px;
 }

 /* --- 10. CTA band: stacked actions, centred --------------- */
 .cta-actions {
  flex-direction: column;
  align-items: stretch;
 }
 .cta-actions .btn {
  width: 100%;
  text-align: center;
  justify-content: center;
 }

 /* --- 11. Mobile menu: proper tap targets + visible buttons - */
 .mobile-menu a {
  padding: 16px 8px;
  min-height: 48px;
  display: flex;
  align-items: center;
 }
 .mobile-menu .btn {
  min-height: 48px;
  margin-top: 14px;
 }
 /* Secondary button needs a clearly visible border on the
    white menu background; primary needs no adjustment */
 .mobile-menu .btn-secondary {
  border-color: var(--line-2);
  background: var(--bg-soft);
  color: var(--primary-700);
 }
 .mobile-menu .btn-primary {
  background: var(--primary);
  color: var(--on-primary);
  border-color: var(--primary);
 }

 /* --- 12. Sticky CTA: hidden on mobile (too intrusive) ----- */
 .mobile-sticky-cta { display: none !important; }
 body:has(.mobile-sticky-cta) { padding-bottom: 0 !important; }

 /* --- 13. Trust strip: tighter layout ---------------------- */
 .trust-band {
  padding-block: 14px;
 }
 .trust-strip {
  gap: 8px 14px;
 }

 /* --- 13. Footer: comfortable mobile spacing --------------- */
 .site-footer {
  padding-block: 48px 28px;
 }
 .footer-bottom {
  margin-top: 32px;
 }

 /* --- 14. Comparison table: edge-to-edge ------------------- */
 .cmp-wrap {
  border-radius: 0;
  margin-inline: calc(var(--gutter) * -1);
  width: calc(100% + var(--gutter) * 2);
 }

 /* --- 15. FAQ: comfortable tap targets --------------------- */
 .faq-q {
  padding: 16px 18px;
 }
 .faq-a {
  padding: 0 18px 16px;
 }

 /* --- 16. Gap stack items: tighter vertical rhythm --------- */
 .gap-stack {
  gap: 10px;
 }

 /* --- 17. Pricing: stacked, no featured offset ------------- */
 .price-row.grid-3 {
  max-width: 100%;
 }
 .pricing-plans-section .price-card.featured {
  transform: none;
 }

 /* --- 18. Screen carousel panels: single column ------------ */
 .sc-panel.active {
  grid-template-columns: 1fr;
  padding: clamp(18px, 3vw, 28px);
 }

 /* --- 19. Section head: tighter inner margin --------------- */
 .section-head .lead {
  margin-top: 14px;
 }
}

/* --- Very small phones (≤ 380px) -------------------------------- */
@media (max-width: 380px) {
 .section {
  padding-block: 48px;
 }
 .hero {
  padding-block: 36px 48px;
 }
 .cta-band {
  padding: 28px 16px;
 }
 .automation-card__media {
  min-height: 100px;
  padding: 16px;
 }
 .mobile-menu a {
  padding: 14px 8px;
 }
}

/* ================================================================
   MOBILE AUDIT FIXES
   ================================================================ */

/* --- #1  Pricing comparison table: reduce min-width & feature col -- */
@media (max-width: 640px) {
 table.cmp {
  min-width: 500px;
 }
 table.cmp th:first-child,
 table.cmp td:first-child {
  max-width: 140px;
  word-break: break-word;
 }
}

/* --- #2  Cookie banner: slim on mobile ----------------------------- */
@media (max-width: 640px) {
 .cookie-banner {
  padding: 10px 16px;
 }
 .cookie-banner__inner {
  gap: 10px;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
 }
 .cookie-banner__text {
  font-size: .8rem;
  line-height: 1.35;
  min-width: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
 }
 .cookie-banner__actions {
  flex-direction: row;
  flex-shrink: 0;
  gap: 6px;
 }
 .cookie-banner__actions .btn {
  padding: 6px 12px;
  font-size: .82rem;
  min-height: 36px;
 }
}

/* --- #3  Footer links: touch-target minimums ----------------------- */
@media (max-width: 860px) {
 .footer-col ul {
  gap: 4px;
 }
 .footer-col a {
  display: block;
  padding-block: 8px;
 }
}

/* --- #4  Hero dashboard labels: mark decorative -------------------- */
/* Font-size floor for the hero product visual illustration text */
@media (max-width: 640px) {
 .hero-product-visual .stat .s-k {
  font-size: max(.68rem, 11px);
 }
 .hero-product-visual .stat .s-note {
  font-size: max(.64rem, 11px);
 }
 .hero-product-visual .status-chip {
  font-size: max(7px, 9px);
 }
}

/* --- #5  AI Receptionist tiny labels ------------------------------- */
@media (max-width: 640px) {
 .ai-reception-preview .status-chip {
  font-size: max(7px, 9px);
  height: auto;
  min-height: 16px;
  padding: 1px 6px;
 }
}

/* --- #6  SMS Reminders meta labels --------------------------------- */
@media (max-width: 640px) {
 .sms-msg .sms-meta {
  font-size: max(.68rem, 11px);
 }
}

/* --- #7  Inline links: minimum tap targets ------------------------- */
@media (max-width: 860px) {
 .lead a,
 .muted a,
 .card a:not(.btn),
 .section-head a,
 p a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-block: 6px;
 }
}

/* --- #8  Eyebrow labels: 12px floor -------------------------------- */
@media (max-width: 640px) {
 .eyebrow {
  font-size: max(.76rem, 12px);
 }
}

/* --- #9  Showcase chips: 11.5px floor ------------------------------ */
@media (max-width: 640px) {
 .showcase-mini__chip {
  font-size: max(.68rem, 11.5px);
 }
}
