:root {
  --cream: #fff8f0;
  --paper: #fffdf9;
  --terracotta: #d4745e;
  --terracotta-dark: #a94f3e;
  --navy: #1a2332;
  --navy-soft: #253348;
  --sage: #8b9d83;
  --sage-light: #e8eee4;
  --gold: #e8b86d;
  --ink-soft: #52606d;
  --line: #d9d0c5;
  --display: "Archivo", system-ui, sans-serif;
  --body: "Crimson Pro", Georgia, serif;
  --brand: "Varela Round", sans-serif;
  --shadow: 0 24px 70px rgba(26, 35, 50, .13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 112px; }
body { margin: 0; overflow-x: hidden; background: var(--cream); color: var(--navy); font-family: var(--body); font-size: 1.08rem; line-height: 1.55; }
a { color: inherit; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img, svg { display: block; max-width: 100%; }
svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
[hidden] { display: none !important; }
.grain { position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: .024; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(26,35,50,.1); background: rgba(255,248,240,.93); backdrop-filter: blur(16px) saturate(150%); }
.header-inner { width: min(1240px, calc(100% - 40px)); min-height: 76px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #45515b; font: 400 1.65rem/1 var(--brand); letter-spacing: -.065em; text-decoration: none; }
.brand img { width: 32px; height: 32px; }
.brand b { color: var(--terracotta); font-weight: 400; }
.desktop-nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 34px); }
.desktop-nav a { color: var(--navy); font: 700 .71rem/1 var(--display); letter-spacing: .075em; text-decoration: none; text-transform: uppercase; }
.desktop-nav a:hover { color: var(--terracotta-dark); }
.header-cta { padding: 11px 17px; border-radius: 999px; background: var(--navy); color: #fff; font: 700 .76rem/1 var(--display); text-decoration: none; }
.header-cta:hover { background: var(--terracotta-dark); }
.mobile-jump { display: none; }

.hero { position: relative; isolation: isolate; width: min(1280px, calc(100% - 40px)); min-height: 680px; margin: auto; padding: clamp(70px, 8vw, 115px) 0 95px; display: grid; grid-template-columns: minmax(390px, .8fr) minmax(570px, 1.2fr); align-items: center; gap: clamp(50px, 7vw, 100px); }
.hero::before { content: ""; position: absolute; z-index: -1; width: 530px; height: 530px; left: -380px; top: 30px; border: 1px solid rgba(212,116,94,.22); border-radius: 50%; box-shadow: 0 0 0 75px rgba(212,116,94,.035), 0 0 0 150px rgba(212,116,94,.02); }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; color: var(--terracotta-dark); font: 700 .71rem/1.3 var(--display); letter-spacing: .15em; text-transform: uppercase; }
.eyebrow > span { width: 30px; height: 2px; background: currentColor; }
.hero h1 { max-width: 650px; margin: 0; color: var(--navy); font: 900 clamp(4rem, 7vw, 7rem)/.87 var(--display); letter-spacing: -.08em; }
.hero h1 em { display: block; color: var(--terracotta); font-family: var(--body); font-weight: 600; letter-spacing: -.055em; }
.hero-deck { max-width: 610px; margin: 29px 0 0; color: var(--ink-soft); font-size: clamp(1.2rem, 1.7vw, 1.42rem); line-height: 1.48; }
.hero-celebration { position: relative; display: inline-flex; margin: 12px 0 0 8px; align-items: center; gap: 4px; color: var(--terracotta-dark); transform: rotate(-2deg); }
.hero-celebration::before { content: ""; position: absolute; inset: 7px -13px 1px -12px; z-index: -1; border: 2px solid rgba(212,116,94,.34); border-radius: 48% 52% 45% 55% / 53% 44% 56% 47%; transform: rotate(1deg); }
.sketch-word { position: relative; font: 700 clamp(2rem, 3.3vw, 3.05rem)/1 "Segoe Print", "Bradley Hand", "Comic Sans MS", cursive; letter-spacing: -.09em; text-shadow: 1px 1px 0 rgba(169,79,62,.18); }
.sketch-word::after { content: ""; position: absolute; height: 7px; left: 3px; right: -3px; bottom: -5px; border-top: 3px solid currentColor; border-radius: 50%; transform: rotate(-1deg) skewX(-18deg); opacity: .8; }
.sketch-celebration { width: 79px; height: 63px; overflow: visible; color: var(--navy); stroke-width: 2.2; filter: drop-shadow(1px 2px 0 rgba(26,35,50,.1)); transform: rotate(4deg); }
.sketch-celebration path, .sketch-celebration circle { vector-effect: non-scaling-stroke; }
.sketch-celebration .sketch-fill { fill: rgba(232,184,109,.42); stroke: var(--terracotta-dark); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 34px; }
.button { display: inline-flex; min-height: 50px; padding: 13px 21px; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 999px; font: 700 .82rem/1 var(--display); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-3px); box-shadow: 0 12px 25px rgba(26,35,50,.16); }
.button-dark { background: var(--navy); color: #fff; }
.button-dark:hover { background: var(--terracotta-dark); }
.button-light { background: #fff; color: var(--navy); }
.text-link { color: var(--navy); font: 700 .82rem/1 var(--display); text-decoration: none; }
.text-link span { margin-left: 5px; color: var(--terracotta); }
.hero-proof { margin: 24px 0 0; color: #727b85; font: 600 .71rem/1.4 var(--display); letter-spacing: .04em; }

.hero-console { position: relative; border: 1px solid var(--navy); border-radius: 22px; background: var(--paper); box-shadow: 16px 18px 0 var(--gold), var(--shadow); transform: rotate(1deg); }
.console-top { height: 42px; padding: 0 15px; display: flex; align-items: center; gap: 7px; border-bottom: 1px solid var(--line); }
.console-top > span { width: 8px; height: 8px; border-radius: 50%; background: var(--terracotta); }
.console-top > span:nth-child(2) { background: var(--gold); }
.console-top > span:nth-child(3) { background: var(--sage); }
.console-top b { margin-left: auto; color: #69727e; font: 600 .62rem/1 var(--display); letter-spacing: .05em; }
.console-grid { min-height: 430px; display: grid; grid-template-columns: 92px 1fr; }
.console-side { padding: 22px 14px; border-right: 1px solid var(--line); background: #f8f1e8; border-radius: 0 0 0 21px; }
.mini-brand { display: flex; align-items: center; gap: 6px; margin-bottom: 36px; color: #45515b; font: 400 .76rem var(--brand); }
.mini-brand img { width: 22px; height: 22px; }
.side-line { height: 7px; margin: 17px 0; border-radius: 5px; background: #d9d0c6; }
.side-line.short { width: 68%; }
.side-line.active { background: var(--terracotta); box-shadow: -14px 0 0 var(--terracotta); }
.console-main { padding: 26px 25px; }
.console-greeting { display: flex; justify-content: space-between; gap: 15px; align-items: start; }
.console-greeting small, .day-heading small { display: block; color: #818895; font: 600 .58rem/1.3 var(--display); letter-spacing: .05em; }
.console-greeting strong { display: block; margin-top: 5px; font: 800 1.12rem/1.2 var(--display); letter-spacing: -.035em; }
.live-dot { display: inline-flex; align-items: center; gap: 5px; padding: 6px 9px; border-radius: 999px; background: var(--sage-light); color: #52684b; font: 700 .58rem/1 var(--display); text-transform: uppercase; }
.live-dot::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #66815d; }
.metric-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin: 23px 0; }
.metric-row > div { min-width: 0; padding: 13px 10px; border: 1px solid #e2d9cf; border-radius: 11px; background: #fff; }
.metric-icon { display: grid; width: 28px; height: 28px; margin-bottom: 12px; place-items: center; border-radius: 8px; }
.metric-icon svg { width: 15px; height: 15px; }
.metric-icon.orange { background: #f6e0da; color: var(--terracotta-dark); }
.metric-icon.green { background: var(--sage-light); color: #65775d; }
.metric-icon.gold { background: #faedd7; color: #9b6d26; }
.metric-row b, .metric-row small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.metric-row b { font: 700 .64rem/1.2 var(--display); }
.metric-row small { margin-top: 4px; color: #8a9098; font: 500 .49rem/1.2 var(--display); }
.clinic-day { padding: 15px; border-radius: 12px; background: #f7f2ec; }
.day-heading { display: flex; justify-content: space-between; margin-bottom: 10px; font: 700 .68rem/1 var(--display); }
.doctor-row { display: grid; grid-template-columns: 34px 1fr auto; gap: 9px; align-items: center; margin-top: 8px; padding: 9px; border-radius: 9px; background: #fff; }
.avatar { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; background: #f4d9d2; color: var(--terracotta-dark); font: 800 .58rem var(--display); }
.avatar.sage { background: var(--sage-light); color: #5f7158; }
.doctor-row b, .doctor-row small { display: block; }
.doctor-row b { font: 700 .62rem/1.2 var(--display); }
.doctor-row small { margin-top: 3px; color: #858d96; font: 500 .5rem/1.2 var(--display); }
.status { padding: 5px 7px; border-radius: 999px; background: #edf0f3; color: #626d79; font: 700 .48rem/1 var(--display); }
.status.open { background: var(--sage-light); color: #5b7253; }
.floating-card { position: absolute; display: flex; gap: 10px; align-items: center; padding: 14px 16px; border: 1px solid var(--navy); border-radius: 12px; background: #fff; box-shadow: 0 14px 30px rgba(26,35,50,.16); transform: rotate(-3deg); }
.patient-found { right: -28px; bottom: 42px; }
.ping { width: 10px; height: 10px; border-radius: 50%; background: var(--terracotta); box-shadow: 0 0 0 6px rgba(212,116,94,.12); }
.floating-card b, .floating-card small { display: block; }
.floating-card b { font: 700 .64rem/1.2 var(--display); }
.floating-card small { margin-top: 3px; color: #7b8490; font: 500 .54rem/1.2 var(--display); }

.section-pad { padding: clamp(78px, 10vw, 128px) max(20px, calc((100vw - 1200px) / 2)); }
.section-heading { margin-bottom: 45px; }
.section-heading h2 { margin: 0; color: var(--navy); font: 800 clamp(2.55rem, 5.3vw, 5.2rem)/.95 var(--display); letter-spacing: -.068em; }
.section-heading > p:not(.eyebrow), .section-heading.split > p { color: var(--ink-soft); font-size: 1.2rem; line-height: 1.5; }
.section-heading.compact { max-width: 780px; }
.section-heading.split { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(280px, .7fr); gap: 70px; align-items: end; }
.section-heading.split > p { margin: 0 0 5px; }
.section-heading.centered { max-width: 850px; margin-left: auto; margin-right: auto; text-align: center; }
.section-heading.centered .eyebrow { justify-content: center; }
.section-heading.centered > p:last-child { margin: 18px 0 0; }

.glance { width: min(1200px, calc(100% - 40px)); margin: auto; padding: 35px 0 110px; }
.lever-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; }
.lever-card { position: relative; min-height: 320px; padding: 25px; display: flex; flex-direction: column; border: 1px solid rgba(26,35,50,.17); border-radius: 18px; text-decoration: none; transition: transform .25s ease, box-shadow .25s ease; }
.lever-card:hover { z-index: 2; transform: translateY(-8px) rotate(-1deg); box-shadow: var(--shadow); }
.lever-card.coral { background: #f5ded8; }
.lever-card.sage { background: var(--sage-light); }
.lever-card.gold { background: #f8e9ce; }
.lever-card.navy { background: var(--navy); color: #fff; }
.lever-no { color: rgba(26,35,50,.52); font: 700 .62rem var(--display); letter-spacing: .08em; }
.lever-card.navy .lever-no { color: rgba(255,255,255,.5); }
.lever-card svg { width: 52px; height: 52px; margin: 35px 0 25px; }
.lever-card h3 { margin: 0; font: 800 1.5rem/1 var(--display); letter-spacing: -.04em; }
.lever-card p { margin: 12px 0 26px; color: rgba(26,35,50,.7); line-height: 1.42; }
.lever-card.navy p { color: rgba(255,255,255,.7); }
.lever-card > b { margin-top: auto; font: 700 .67rem/1.2 var(--display); letter-spacing: .04em; }

.discovery { background: var(--navy); color: #fff; }
.discovery .section-heading h2 { color: #fff; }
.discovery .section-heading > p, .discovery .eyebrow { color: rgba(255,255,255,.68); }
.discovery .eyebrow > span { background: var(--terracotta); }
.discovery-lab { display: grid; grid-template-columns: 210px minmax(430px, .95fr) minmax(300px, .65fr); border: 1px solid rgba(255,255,255,.16); border-radius: 24px; overflow: hidden; background: #111a26; }
.scenario-controls { padding: 28px 17px; border-right: 1px solid rgba(255,255,255,.12); }
.scenario-controls::before { content: "WHY THEY CHOOSE"; display: block; margin: 0 8px 18px; color: rgba(255,255,255,.42); font: 700 .57rem/1 var(--display); letter-spacing: .12em; }
.scenario-button { width: 100%; padding: 15px 13px; border: 1px solid transparent; border-radius: 12px; background: transparent; color: rgba(255,255,255,.63); cursor: pointer; text-align: left; }
.scenario-button + .scenario-button { margin-top: 8px; }
.scenario-button span, .scenario-button small { display: block; }
.scenario-button span { font: 700 .76rem/1.2 var(--display); }
.scenario-button small { margin-top: 5px; font: 400 .83rem/1.3 var(--body); }
.scenario-button.is-active { border-color: rgba(232,184,109,.42); background: rgba(232,184,109,.1); color: #fff; }
.patient-screen { padding: 28px; background: #f1e8dd; color: var(--navy); }
.search-bar { height: 44px; padding: 0 12px; display: flex; align-items: center; gap: 9px; border: 1px solid #cfc4b8; border-radius: 10px; background: #fff; color: #6f7883; font: 600 .68rem var(--display); }
.search-bar svg { width: 17px; height: 17px; }
.search-bar kbd { margin-left: auto; padding: 5px 7px; border: 0; border-radius: 5px; background: var(--navy); color: #fff; font: 600 .51rem var(--display); }
.doctor-result { margin-top: 14px; padding: 20px; border: 1px solid #cfc4b8; border-radius: 14px; background: #fff; }
.result-head { display: grid; grid-template-columns: 48px 1fr auto; gap: 12px; align-items: center; }
.avatar.large { width: 48px; height: 48px; font-size: .72rem; }
.result-head h3 { margin: 0; font: 800 .94rem/1.2 var(--display); }
.result-head p { margin: 4px 0 0; color: #7e8790; font-size: .79rem; }
.verified { padding: 5px 8px; border-radius: 999px; background: var(--sage-light); color: #607257; font: 700 .5rem var(--display); }
.choose-label { margin: 20px 0 8px; color: #747e89; font: 700 .57rem/1 var(--display); letter-spacing: .08em; text-transform: uppercase; }
.clinic-options { display: grid; gap: 7px; }
.clinic-option { display: grid; grid-template-columns: 18px 1fr auto; gap: 9px; align-items: center; padding: 10px; border: 1px solid #ddd5cb; border-radius: 9px; }
.clinic-option.old { opacity: .67; }
.clinic-option.chosen { border: 2px solid var(--terracotta); background: #fff7f4; }
.radio { width: 13px; height: 13px; border: 1px solid #9ea5ad; border-radius: 50%; }
.chosen .radio { border: 4px solid var(--terracotta); }
.clinic-option b, .clinic-option small { display: block; }
.clinic-option b { font: 700 .65rem/1.2 var(--display); }
.clinic-option small { margin-top: 3px; color: #7a838d; font: 500 .56rem/1.2 var(--display); }
.fit-label { padding: 5px 7px; border-radius: 999px; background: #f4d9d2; color: var(--terracotta-dark); font: 700 .49rem/1 var(--display); }
.book-visual { width: 100%; margin-top: 13px; padding: 10px; border: 0; border-radius: 8px; background: var(--navy); color: #fff; font: 700 .65rem var(--display); }
.discovery-outcome { padding: 35px; display: flex; flex-direction: column; justify-content: center; }
.outcome-label { margin: 0; color: var(--gold); font: 700 .6rem/1 var(--display); letter-spacing: .12em; text-transform: uppercase; }
.outcome-number { margin: 20px 0 10px; color: rgba(255,255,255,.14); font: 900 5.5rem/.75 var(--display); letter-spacing: -.08em; }
.discovery-outcome h3 { margin: 0; font: 800 1.65rem/1.05 var(--display); letter-spacing: -.045em; }
.discovery-outcome > p:not(.outcome-label) { color: rgba(255,255,255,.66); line-height: 1.45; }
.outcome-path { margin: 20px 0; display: flex; align-items: center; gap: 7px; flex-wrap: wrap; color: rgba(255,255,255,.56); font: 600 .55rem/1.3 var(--display); }
.outcome-path i { width: 14px; height: 1px; background: rgba(255,255,255,.28); }
.outcome-path strong { color: var(--gold); }
.reality-note { margin: auto 0 0 !important; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.13); font-size: .82rem !important; }

.command { background: #f1e9df; }
.command-shell { overflow: hidden; border: 1px solid var(--navy); border-radius: 23px; background: var(--paper); box-shadow: 11px 12px 0 var(--sage); }
.command-tabs { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--navy); }
.command-tabs button { padding: 20px; border: 0; border-right: 1px solid var(--line); background: transparent; color: #737d88; cursor: pointer; font: 700 .76rem/1 var(--display); }
.command-tabs button:last-child { border-right: 0; }
.command-tabs button span { margin-right: 7px; color: var(--terracotta); font-size: .56rem; }
.command-tabs button[aria-selected="true"] { background: var(--navy); color: #fff; }
.command-panel { min-height: 500px; padding: clamp(30px, 5vw, 65px); display: grid; grid-template-columns: minmax(300px, .8fr) minmax(470px, 1.2fr); gap: clamp(45px, 8vw, 100px); align-items: center; }
.panel-kicker { color: var(--terracotta-dark); font: 700 .63rem/1 var(--display); letter-spacing: .12em; text-transform: uppercase; }
.panel-copy h3 { margin: 16px 0 25px; font: 800 clamp(2rem, 4vw, 3.4rem)/1 var(--display); letter-spacing: -.055em; }
.panel-copy ul { margin: 0; padding: 0; list-style: none; }
.panel-copy li { position: relative; margin-top: 12px; padding-left: 29px; color: var(--ink-soft); }
.panel-copy li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 13px; height: 7px; border-left: 3px solid var(--sage); border-bottom: 3px solid var(--sage); transform: rotate(-45deg); }
.panel-note { margin: 24px 0 0; padding: 14px 16px; border-left: 3px solid var(--gold); background: #f6eee4; color: #626d78; font-size: .88rem; }
.mock-card { border: 1px solid var(--navy); border-radius: 17px; background: #fff; box-shadow: 9px 10px 0 #eadfd3; }
.public-profile { overflow: hidden; }
.profile-cover { position: relative; min-height: 135px; padding: 25px; display: flex; align-items: end; background: linear-gradient(135deg, var(--terracotta), #bd5e4b); color: #fff; font: 900 1.35rem var(--display); letter-spacing: -.04em; }
.map-pin { position: absolute; right: 25px; top: 24px; display: grid; width: 51px; height: 51px; place-items: center; border-radius: 50%; background: rgba(255,255,255,.17); }
.map-pin svg { width: 25px; height: 25px; }
.profile-body { padding: 24px; }
.profile-body > small { color: #77818c; }
.profile-body h4 { margin: 8px 0 16px; font: 800 1rem var(--display); }
.tiny-doctor { display: grid; grid-template-columns: 36px 1fr auto; gap: 10px; align-items: center; padding: 12px; border-radius: 10px; background: #f5eee6; }
.tiny-doctor > span { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 50%; background: #f3d8d1; color: var(--terracotta-dark); font: 800 .58rem var(--display); }
.tiny-doctor b, .tiny-doctor small { display: block; }
.tiny-doctor b { font: 700 .67rem var(--display); }
.tiny-doctor small { margin-top: 3px; color: #77818c; font-size: .65rem; }
.tiny-doctor button, .inventory-head button { padding: 7px 10px; border: 0; border-radius: 7px; background: var(--navy); color: #fff; font: 700 .54rem var(--display); }
.qr { margin-top: 15px; display: flex; align-items: center; gap: 9px; color: #66717d; font: 700 .59rem var(--display); }
.qr span { width: 24px; height: 24px; background: repeating-conic-gradient(#1a2332 0 25%, #fff 0 50%) 0/8px 8px; }
.queue-board { padding: 22px; background: #f8f2eb; }
.board-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 17px; font: 700 .72rem var(--display); }
.board-head span { color: #7b8590; font-size: .57rem; }
.queue-columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.queue-columns > div { min-height: 230px; padding: 11px; border-radius: 9px; background: #fff; }
.queue-columns small { display: block; margin-bottom: 12px; color: #7d8690; font: 700 .53rem var(--display); text-transform: uppercase; }
.queue-columns span { display: flex; align-items: center; gap: 7px; margin-top: 7px; padding: 8px; border: 1px solid #e2dad1; border-radius: 7px; font: 600 .56rem var(--display); }
.queue-columns i { display: grid; width: 21px; height: 21px; place-items: center; border-radius: 50%; background: #f2ded9; color: var(--terracotta-dark); font-style: normal; font-size: .49rem; }
.queue-columns .current { border-color: var(--gold); background: #fff8eb; }
.queue-columns .done { opacity: .65; }
.video-ui { min-height: 345px; display: grid; grid-template-columns: 1fr 160px; overflow: hidden; background: #101823; color: #fff; }
.video-main { position: relative; min-height: 345px; }
.remote-person { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(circle at center, #334158, #172231 70%); }
.remote-person > span, .local-person > span { position: absolute; left: 9px; bottom: 8px; font: 600 .48rem var(--display); }
.person-shape { position: relative; width: 76px; height: 76px; border-radius: 50%; background: #d3b2a9; }
.person-shape::after { content: ""; position: absolute; width: 116px; height: 75px; left: -20px; top: 69px; border-radius: 55px 55px 0 0; background: #63748b; }
.person-shape i { position: absolute; width: 55px; height: 30px; left: 10px; top: -4px; border-radius: 32px 32px 6px 6px; background: #2a2529; }
.local-person { position: absolute; right: 12px; top: 12px; width: 96px; height: 76px; overflow: hidden; border: 1px solid rgba(255,255,255,.25); border-radius: 9px; background: #49596c; }
.local-person .person-shape { width: 34px; height: 34px; margin: 14px auto; }
.local-person .person-shape::after { width: 55px; height: 35px; left: -10px; top: 31px; }
.local-person .person-shape i { width: 24px; height: 13px; left: 5px; top: -2px; }
.call-controls { position: absolute; left: 50%; bottom: 17px; display: flex; gap: 8px; transform: translateX(-50%); }
.call-controls button { display: grid; width: 35px; height: 35px; place-items: center; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; background: rgba(255,255,255,.13); color: #fff; }
.call-controls button.hang { background: #cb594e; border-color: #cb594e; }
.call-controls svg { width: 16px; height: 16px; }
.rx-rail { padding: 20px 15px; background: #fff; color: var(--navy); }
.rx-rail small, .rx-rail b { display: block; }
.rx-rail small { color: #8a929a; font: 600 .5rem var(--display); text-transform: uppercase; }
.rx-rail b { margin-top: 6px; font: 700 .65rem var(--display); }
.rx-line { height: 7px; margin-top: 17px; border-radius: 5px; background: #ddd6ce; }
.rx-line.short { width: 68%; margin-top: 8px; }
.rx-ready { display: block; margin-top: 120px; padding: 9px; border-radius: 7px; background: var(--sage-light); color: #587050; font: 700 .55rem var(--display); text-align: center; }
.inventory-ui { padding: 20px; }
.inventory-head { display: flex; justify-content: space-between; gap: 15px; align-items: center; margin-bottom: 14px; }
.inventory-head small, .inventory-head b { display: block; }
.inventory-head small { color: #858e98; font: 600 .48rem var(--display); text-transform: uppercase; }
.inventory-head b { margin-top: 4px; font: 700 .68rem var(--display); }
.inventory-row { display: grid; grid-template-columns: 34px 1fr auto auto; gap: 9px; align-items: center; padding: 12px; border-top: 1px solid #e6ded5; }
.med-icon { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 7px; background: #f3ded8; color: var(--terracotta-dark); font: 800 .55rem var(--display); }
.inventory-row b, .inventory-row small { display: block; }
.inventory-row b { font: 700 .62rem var(--display); }
.inventory-row small { margin-top: 3px; color: #89919a; font-size: .58rem; }
.inventory-row .stock { padding: 5px 7px; border-radius: 999px; background: var(--sage-light); color: #5c7255; font: 700 .49rem var(--display); }
.inventory-row strong { font: 700 .65rem var(--display); }
.new-order { display: grid; grid-template-columns: 9px 1fr auto; gap: 10px; align-items: center; margin-top: 21px; padding: 13px; border: 1px solid var(--gold); border-radius: 10px; background: #fff8e9; }
.new-order > span { width: 8px; height: 8px; border-radius: 50%; background: var(--terracotta); box-shadow: 0 0 0 5px rgba(212,116,94,.1); }
.new-order b, .new-order small { display: block; }
.new-order b { font: 700 .61rem var(--display); }
.new-order small { margin-top: 3px; color: #7c8690; font-size: .56rem; }
.new-order > strong { font: 700 .55rem var(--display); }

.journey { background: var(--navy); color: #fff; }
.section-heading.light h2 { color: #fff; }
.section-heading.light > p, .section-heading.light .eyebrow { color: rgba(255,255,255,.65); }
.journey-map { display: flex; align-items: center; justify-content: space-between; }
.journey-step { width: 170px; min-height: 190px; padding: 18px; display: flex; flex-direction: column; align-items: flex-start; border: 1px solid rgba(255,255,255,.16); border-radius: 15px; background: transparent; color: rgba(255,255,255,.58); cursor: pointer; text-align: left; transition: background .2s, color .2s, transform .2s; }
.journey-step:hover, .journey-step.is-active { background: var(--cream); color: var(--navy); transform: translateY(-5px); }
.journey-step > span { font: 700 .54rem var(--display); letter-spacing: .08em; }
.journey-step svg { width: 33px; height: 33px; margin: 25px 0 18px; color: var(--terracotta); }
.journey-step b { font: 700 .76rem/1.2 var(--display); }
.journey-step small { margin-top: 6px; font-size: .72rem; line-height: 1.3; }
.journey-line { flex: 1; height: 1px; margin: 0 10px; background: rgba(255,255,255,.22); }
.journey-explainer { max-width: 760px; margin: 40px auto 0; padding: 23px 28px; display: grid; grid-template-columns: 90px 1fr; gap: 5px 20px; border-left: 4px solid var(--terracotta); background: rgba(255,255,255,.08); }
.journey-explainer span { grid-row: 1 / 3; color: var(--gold); font: 700 .62rem var(--display); letter-spacing: .06em; }
.journey-explainer b { font: 700 .9rem var(--display); }
.journey-explainer p { margin: 4px 0 0; color: rgba(255,255,255,.65); font-size: .95rem; }

.pharmacy-flow { display: grid; grid-template-columns: 1fr 70px 1fr 70px 1fr; align-items: center; }
.ph-stage { min-width: 0; }
.ph-stage > p { max-width: 280px; margin: 17px auto 0; color: var(--ink-soft); text-align: center; }
.stage-tag { display: table; margin: 0 auto -10px; position: relative; z-index: 1; padding: 6px 10px; border-radius: 999px; background: var(--navy); color: #fff; font: 700 .56rem var(--display); text-transform: uppercase; }
.rx-sheet, .stock-shelf, .order-card { min-height: 230px; padding: 30px 25px; display: flex; flex-direction: column; border: 1px solid var(--navy); border-radius: 15px; background: var(--paper); box-shadow: 7px 8px 0 #e8ddd2; }
.rx-sheet b, .rx-sheet span, .rx-sheet i { display: block; }
.rx-sheet b { padding-bottom: 18px; border-bottom: 2px solid var(--navy); font: 800 1rem var(--display); }
.rx-sheet span { margin-top: 14px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.rx-sheet i { margin-top: auto; color: var(--terracotta-dark); font-size: .83rem; }
.stock-shelf { background: var(--sage-light); }
.stock-shelf > div { margin-top: 12px; padding: 13px; display: flex; justify-content: space-between; border-radius: 9px; background: #fff; }
.stock-shelf b { font: 700 .7rem var(--display); }
.stock-shelf span { color: #5e7557; font: 700 .65rem var(--display); }
.stock-shelf small { margin-top: auto; color: #697664; font: 600 .65rem var(--display); }
.order-card { background: #f8e6e1; }
.order-card b, .order-card small, .order-card strong { display: block; }
.order-card b { font: 800 1.05rem var(--display); }
.order-card small { margin-top: 10px; color: #6f7882; }
.order-card strong { margin-top: auto; padding: 12px; border-radius: 8px; background: var(--terracotta); color: #fff; font: 700 .69rem var(--display); text-align: center; }
.flow-arrow { display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--terracotta-dark); font: 700 .52rem var(--display); text-transform: uppercase; }
.flow-arrow i { position: relative; width: 42px; height: 1px; background: var(--terracotta); }
.flow-arrow i::after { content: ""; position: absolute; right: 0; top: -4px; width: 7px; height: 7px; border-right: 1px solid var(--terracotta); border-top: 1px solid var(--terracotta); transform: rotate(45deg); }
.pharmacy-value { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 65px; border: 1px solid var(--line); background: var(--line); }
.pharmacy-value > div { padding: 25px; display: grid; grid-template-columns: 30px 1fr; gap: 10px; background: var(--paper); }
.pharmacy-value span { color: var(--terracotta); font: 700 .58rem var(--display); }
.pharmacy-value p { margin: 0; color: var(--ink-soft); }
.pharmacy-value b { display: block; margin-bottom: 5px; color: var(--navy); font: 700 .73rem var(--display); }

.start { background: #f0e7dd; }
.start-card { overflow: hidden; display: grid; grid-template-columns: .9fr 1.1fr; border-radius: 25px; background: var(--terracotta); color: #fff; box-shadow: var(--shadow); }
.start-intro { padding: clamp(40px, 6vw, 75px); }
.start-intro .eyebrow { color: #fff; }
.start-intro h2 { margin: 0 0 30px; font: 800 clamp(2.4rem, 4.8vw, 4.6rem)/.95 var(--display); letter-spacing: -.065em; }
.start-list { margin: 0; padding: 0; list-style: none; background: var(--navy); }
.start-list li { min-height: 25%; padding: 22px 35px; display: grid; grid-template-columns: 44px 1fr; gap: 18px; align-items: center; border-bottom: 1px solid rgba(255,255,255,.13); }
.start-list li:last-child { border-bottom: 0; }
.start-list > li > span { color: var(--gold); font: 700 .62rem var(--display); }
.start-list b, .start-list small { display: block; }
.start-list b { font: 700 .86rem var(--display); }
.start-list small { margin-top: 4px; color: rgba(255,255,255,.62); }

.clarity { background: var(--paper); }
.clarity-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 80px; }
.clarity h2 { margin: 0; font: 800 clamp(2.5rem, 5vw, 4.8rem)/.95 var(--display); letter-spacing: -.065em; }
.clarity-cards { border-top: 1px solid var(--line); }
.clarity-cards details { border-bottom: 1px solid var(--line); }
.clarity-cards summary { position: relative; padding: 22px 45px 22px 0; cursor: pointer; list-style: none; font: 700 .88rem var(--display); }
.clarity-cards summary::-webkit-details-marker { display: none; }
.clarity-cards summary::after { content: "+"; position: absolute; right: 8px; top: 14px; color: var(--terracotta); font: 400 1.7rem var(--display); }
.clarity-cards details[open] summary::after { content: "−"; }
.clarity-cards p { margin: 0; padding: 0 40px 22px 0; color: var(--ink-soft); }
.medical-note { margin: 55px 0 0; padding: 20px 23px; border: 1px solid #d8cfc4; border-radius: 12px; background: #f6efe7; color: #66717c; font-size: .89rem; }
.medical-note a { color: var(--terracotta-dark); font-weight: 700; }

.faq { padding-top: 90px; }
.faq-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.faq details { min-height: 180px; padding: 25px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); }
.faq summary { cursor: pointer; color: var(--navy); font: 700 .9rem/1.35 var(--display); }
.faq p { color: var(--ink-soft); font-size: .98rem; }
.final-cta { width: min(1200px, calc(100% - 40px)); margin: 0 auto 100px; padding: clamp(45px, 7vw, 80px); display: grid; grid-template-columns: 1fr auto; gap: 50px; align-items: end; border-radius: 25px; background: var(--gold); }
.final-cta h2 { max-width: 850px; margin: 0; font: 900 clamp(2.8rem, 5.5vw, 5.4rem)/.9 var(--display); letter-spacing: -.075em; }
.final-cta > div > p:last-child { max-width: 660px; margin: 23px 0 0; color: #5f594f; font-size: 1.15rem; }
.footer { min-height: 110px; padding: 25px max(20px, calc((100vw - 1200px) / 2)); display: flex; align-items: center; gap: 35px; background: #121c29; color: rgba(255,255,255,.63); }
.brand.inverse { color: #fff; }
.footer p { margin: 0; }
.footer nav { margin-left: auto; display: flex; flex-wrap: wrap; gap: 22px; }
.footer nav a { color: rgba(255,255,255,.68); font: 600 .67rem var(--display); text-decoration: none; }
.footer nav a:hover { color: var(--gold); }

@media (max-width: 1050px) {
  .hero { grid-template-columns: 1fr; }
  .hero-copy { max-width: 800px; }
  .hero-console { max-width: 780px; }
  .lever-grid { grid-template-columns: 1fr 1fr; }
  .discovery-lab { grid-template-columns: 180px 1fr; }
  .discovery-outcome { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.13); }
  .command-panel { grid-template-columns: 1fr; }
  .mock-card { width: min(100%, 650px); }
  .journey-map { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
  .journey-step { width: auto; min-width: 0; }
  .journey-line { display: none; }
  .pharmacy-flow { grid-template-columns: 1fr 50px 1fr 50px 1fr; }
}
@media (max-width: 780px) {
  html { scroll-padding-top: 128px; }
  .header-inner { width: min(100% - 28px, 1240px); min-height: 66px; }
  .desktop-nav { display: none; }
  .header-cta { padding: 10px 13px; }
  .mobile-jump { display: flex; gap: 22px; padding: 9px 14px 11px; overflow-x: auto; border-top: 1px solid rgba(26,35,50,.08); scrollbar-width: none; }
  .mobile-jump::-webkit-scrollbar { display: none; }
  .mobile-jump a { white-space: nowrap; color: #67717c; font: 700 .61rem var(--display); text-decoration: none; text-transform: uppercase; }
  .hero { width: min(100% - 30px, 1280px); min-height: auto; padding: 55px 0 85px; }
  .hero h1 { font-size: clamp(3.6rem, 16vw, 5.8rem); }
  .hero-console { box-shadow: 8px 10px 0 var(--gold), var(--shadow); }
  .console-grid { grid-template-columns: 65px 1fr; }
  .console-side { padding: 20px 10px; }
  .mini-brand span { display: none; }
  .console-main { padding: 20px 14px; }
  .metric-row { grid-template-columns: 1fr; }
  .metric-row > div { display: grid; grid-template-columns: 28px 1fr; gap: 3px 9px; }
  .metric-icon { grid-row: 1 / 3; margin: 0; }
  .patient-found { right: -5px; bottom: -35px; }
  .section-heading.split { grid-template-columns: 1fr; gap: 20px; }
  .discovery-lab { grid-template-columns: 1fr; }
  .scenario-controls { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .scenario-controls::before { grid-column: 1 / -1; }
  .scenario-button + .scenario-button { margin-top: 0; }
  .command-tabs button { padding: 16px 8px; font-size: .65rem; }
  .command-tabs button span { display: block; margin: 0 0 6px; }
  .command-panel { min-height: auto; padding: 30px 20px 38px; }
  .journey-map { grid-template-columns: 1fr 1fr; }
  .journey-step { min-height: 150px; }
  .journey-step:last-child { grid-column: 1 / -1; }
  .journey-step svg { margin: 17px 0 13px; }
  .journey-explainer { grid-template-columns: 1fr; }
  .journey-explainer span { grid-row: auto; }
  .pharmacy-flow { grid-template-columns: 1fr; gap: 18px; }
  .flow-arrow { transform: rotate(90deg); margin: 8px auto; }
  .ph-stage { max-width: 430px; width: 100%; margin: auto; }
  .pharmacy-value { grid-template-columns: 1fr 1fr; }
  .start-card, .clarity-grid { grid-template-columns: 1fr; }
  .clarity-grid { gap: 45px; }
  .faq-grid { grid-template-columns: 1fr; }
  .faq details { min-height: auto; }
  .final-cta { grid-template-columns: 1fr; align-items: start; }
  .final-cta .button { width: fit-content; }
  .footer { align-items: flex-start; flex-direction: column; gap: 18px; }
  .footer nav { margin-left: 0; }
}
@media (max-width: 520px) {
  body { font-size: 1rem; }
  .brand { font-size: 1.4rem; }
  .brand img { width: 28px; height: 28px; }
  .hero-deck { font-size: 1.12rem; }
  .console-side { display: none; }
  .console-grid { grid-template-columns: 1fr; }
  .doctor-row { grid-template-columns: 34px 1fr; }
  .doctor-row .status { grid-column: 2; width: fit-content; }
  .lever-grid { grid-template-columns: 1fr; }
  .lever-card { min-height: 260px; }
  .patient-screen, .discovery-outcome { padding: 20px 16px; }
  .scenario-controls { grid-template-columns: 1fr; }
  .result-head { grid-template-columns: 48px 1fr; }
  .result-head .verified { grid-column: 2; width: fit-content; }
  .clinic-option { grid-template-columns: 18px 1fr; }
  .fit-label { grid-column: 2; width: fit-content; }
  .video-ui { grid-template-columns: 1fr; }
  .rx-rail { display: none; }
  .queue-columns { grid-template-columns: 1fr; }
  .queue-columns > div { min-height: auto; }
  .inventory-row { grid-template-columns: 34px 1fr auto; }
  .inventory-row .stock { grid-column: 2; width: fit-content; }
  .journey-map { grid-template-columns: 1fr; }
  .journey-step:last-child { grid-column: auto; }
  .pharmacy-value { grid-template-columns: 1fr; }
  .start-list li { padding: 20px; }
  .final-cta { width: min(100% - 28px, 1200px); padding: 35px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
@media print {
  .grain, .site-header, .hero-actions, .scenario-controls, .command-tabs, .final-cta, .footer { display: none !important; }
  body { background: #fff; }
  .hero, .section-pad { padding: 30px 0; }
  .hero, .discovery-lab, .command-panel, .clarity-grid { display: block; }
  .command-panel[hidden] { display: block !important; }
}