:root {
  --navy-950: #04111f;
  --navy-900: #061a2e;
  --navy-800: #0b2945;
  --navy-700: #123d62;
  --blue-600: #0757b4;
  --green-500: #00a957;
  --green-400: #25c779;
  --green-100: #dff8ea;
  --ice-50: #f7fafc;
  --ice-100: #edf3f7;
  --ice-200: #dae5ed;
  --slate-500: #647589;
  --slate-700: #33465b;
  --white: #fff;
  --ink: #07182a;
  --line: rgba(7, 32, 55, .12);
  --shadow-sm: 0 6px 20px rgba(4, 25, 45, .07);
  --shadow-md: 0 20px 60px rgba(4, 25, 45, .12);
  --shadow-deep: 0 45px 100px rgba(2, 16, 30, .24);
  --radius-sm: .45rem;
  --radius-md: .75rem;
  --radius-lg: 1.15rem;
  --radius-xl: 1.8rem;
  --content: 1180px;
  --font-body: "Manrope", system-ui, sans-serif;
  --font-display: "Montserrat", system-ui, sans-serif;
  --text-xs: clamp(.75rem, .72rem + .12vw, .82rem);
  --text-sm: clamp(.86rem, .82rem + .18vw, .96rem);
  --text-base: clamp(1rem, .96rem + .18vw, 1.1rem);
  --text-lg: clamp(1.15rem, 1.02rem + .55vw, 1.45rem);
  --text-xl: clamp(1.7rem, 1.4rem + 1.25vw, 2.45rem);
  --text-2xl: clamp(2.35rem, 1.55rem + 3vw, 4rem);
  --text-hero: clamp(3rem, 1.4rem + 5.8vw, 6.8rem);
  --ease: 260ms cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; -webkit-text-size-adjust: none; text-size-adjust: none; }
body { margin: 0; min-height: 100dvh; color: var(--ink); background: var(--ice-50); font-family: var(--font-body); font-size: var(--text-base); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.08; text-wrap: balance; }
h1, h2 { font-family: var(--font-display); letter-spacing: -.045em; }
p { text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--green-500); outline-offset: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.skip-link { position: fixed; z-index: 1000; left: 1rem; top: 1rem; transform: translateY(-160%); padding: .65rem 1rem; background: var(--white); border-radius: var(--radius-sm); font-weight: 800; }
.skip-link:focus { transform: none; }
.eyebrow { margin-bottom: 1rem; color: var(--green-500); font-size: var(--text-xs); font-weight: 800; letter-spacing: .16em; line-height: 1.3; }
.icon { width: 1.2em; height: 1.2em; flex: 0 0 auto; }
.button { min-height: 3.2rem; display: inline-flex; align-items: center; justify-content: center; gap: .65rem; padding: .78rem 1.2rem; color: var(--white); background: var(--navy-900); border: 1px solid var(--navy-900); border-radius: var(--radius-sm); text-decoration: none; font-size: var(--text-sm); font-weight: 800; box-shadow: 0 7px 18px rgba(3, 29, 52, .14); transition: transform var(--ease), background var(--ease), box-shadow var(--ease); }
.button:hover { transform: translateY(-2px); background: var(--navy-800); box-shadow: 0 12px 28px rgba(3, 29, 52, .2); }
.button-small { min-height: 2.65rem; padding: .55rem .9rem; color: var(--white) !important; }
.button-secondary { color: var(--navy-900); background: transparent; box-shadow: none; }
.button-secondary:hover { color: var(--white); }
.button-light { color: var(--navy-950); background: var(--white); border-color: var(--white); }
.button-light:hover { color: var(--navy-950); background: var(--green-100); }
.text-link { display: inline-flex; align-items: center; gap: .5rem; color: var(--navy-900); text-decoration: none; font-size: var(--text-sm); font-weight: 800; }
.text-link .icon, .button .icon { transition: transform var(--ease); }
.text-link:hover .icon, .button:hover .icon { transform: translateX(.25rem); }

.site-header { position: sticky; z-index: 100; top: 0; border-bottom: 1px solid transparent; background: rgba(247, 250, 252, .9); backdrop-filter: blur(18px); transition: box-shadow var(--ease), border-color var(--ease); }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 10px 35px rgba(4, 25, 45, .06); }
.nav-shell { width: min(calc(100% - 2.5rem), var(--content)); min-height: 4.8rem; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; color: var(--navy-900); text-decoration: none; }
.brand img { width: 2.6rem; height: 2.6rem; }
.brand span { display: grid; line-height: 1.1; }
.brand strong { font-family: var(--font-display); font-size: 1.06rem; letter-spacing: .02em; }
.brand small { color: var(--slate-500); font-size: .67rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: 1.55rem; }
.site-nav > a { color: var(--slate-700); text-decoration: none; font-size: var(--text-sm); font-weight: 700; }
.site-nav > a:not(.button):hover, .site-nav > a[aria-current="page"] { color: var(--green-500); }
.nav-toggle { display: none; width: 2.75rem; height: 2.75rem; padding: .65rem; border: 0; background: transparent; }
.nav-toggle > span:not(.sr-only) { display: block; height: 2px; margin: .28rem 0; background: var(--navy-900); transition: transform var(--ease), opacity var(--ease); }

.hero { width: min(calc(100% - 2.5rem), 1320px); margin: auto; }
.home-hero { min-height: min(850px, calc(100vh - 4.8rem)); padding: clamp(4rem, 8vw, 8rem) 0 clamp(5rem, 9vw, 8rem); display: grid; grid-template-columns: .82fr 1.18fr; align-items: center; gap: clamp(3rem, 6vw, 6rem); overflow: hidden; }
.home-hero > * { min-width: 0; }
.hero-copy { position: relative; z-index: 5; max-width: 620px; }
.hero-copy h1 { margin-bottom: 1.6rem; color: var(--navy-950); font-size: var(--text-hero); line-height: .94; }
.hero-copy h1 em { color: var(--green-500); font-style: normal; }
.hero-lede { max-width: 59ch; margin-bottom: 2rem; color: var(--slate-700); }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.4rem; margin-bottom: 1.3rem; }
.hero-note { max-width: 50ch; color: var(--slate-500); font-size: var(--text-xs); }

.product-stage { --rx: 0deg; --ry: 0deg; position: relative; width: 730px; margin: 0; perspective: 1500px; transform-style: preserve-3d; transform: rotateX(var(--rx)) rotateY(var(--ry)); transition: transform 180ms ease-out; }
.stage-shadow { position: absolute; inset: 18% 7% -5% 15%; background: rgba(7, 40, 70, .22); filter: blur(55px); transform: translateZ(-80px) rotateX(68deg); }
.app-window { position: relative; overflow: hidden; background: var(--white); border: 1px solid rgba(10, 49, 80, .13); border-radius: 1.3rem; box-shadow: var(--shadow-deep); transform: rotateY(-7deg) rotateX(2deg) translateZ(20px); transform-style: preserve-3d; }
.app-topbar { height: 3.5rem; display: flex; align-items: center; gap: .7rem; padding: 0 1rem; border-bottom: 1px solid var(--line); color: var(--slate-700); font-size: .72rem; }
.app-mark { width: 1.75rem; height: 1.75rem; display: grid; place-items: center; color: var(--white); background: var(--navy-900); border-radius: 50%; font-weight: 800; }
.live-pill { margin-left: auto; display: flex; align-items: center; gap: .4rem; padding: .3rem .55rem; background: var(--green-100); border-radius: 999px; color: #08743d; font-weight: 800; }
.live-pill i { width: .4rem; height: .4rem; background: var(--green-500); border-radius: 50%; }
.app-layout { min-height: 430px; display: grid; grid-template-columns: 3.4rem 1fr; }
.app-rail { display: flex; flex-direction: column; align-items: center; gap: 1rem; padding-top: 1.2rem; background: var(--navy-900); }
.app-rail b, .app-rail span { width: 1.2rem; height: .18rem; background: rgba(255, 255, 255, .28); border-radius: 2rem; }
.app-rail b { height: 1.2rem; margin-bottom: .6rem; border: 1px solid rgba(255, 255, 255, .45); background: transparent; border-radius: .25rem; }
.app-rail .active { height: 1.2rem; background: var(--green-400); }
.app-dashboard { padding: 1.55rem; background: #f4f7fa; }
.app-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.2rem; }
.app-heading small { color: var(--slate-500); font-size: .57rem; font-weight: 800; letter-spacing: .12em; }
.app-heading h2 { margin: .25rem 0 0; font-family: var(--font-body); font-size: 1.25rem; letter-spacing: -.03em; }
.app-heading button { padding: .55rem .8rem; color: var(--white); background: var(--navy-900); border: 0; border-radius: .35rem; font-size: .65rem; font-weight: 800; }
.metric-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; }
.metric-row article { padding: .8rem; background: var(--white); border: 1px solid rgba(6, 36, 60, .08); border-radius: .6rem; box-shadow: 0 5px 12px rgba(5, 29, 48, .04); }
.metric-row small, .metric-row span { display: block; color: var(--slate-500); font-size: .57rem; }
.metric-row strong { display: block; margin: .1rem 0; color: var(--navy-900); font-size: 1.2rem; }
.dashboard-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: .75rem; margin-top: .75rem; }
.schedule-card, .activity-card { min-height: 210px; padding: 1rem; background: var(--white); border: 1px solid rgba(6, 36, 60, .08); border-radius: .6rem; }
.schedule-card header, .activity-card header { display: flex; justify-content: space-between; font-size: .67rem; }
.schedule-card header span, .activity-card header span { color: var(--blue-600); font-size: .57rem; font-weight: 700; }
.schedule-card ol { margin: .7rem 0 0; padding: 0; list-style: none; }
.schedule-card li { display: grid; grid-template-columns: 2.4rem .55rem 1fr; align-items: center; gap: .5rem; padding: .55rem 0; border-top: 1px solid var(--line); }
.schedule-card time { color: var(--slate-500); font-size: .57rem; }
.schedule-card li > i { width: .5rem; height: .5rem; background: var(--ice-200); border-radius: 50%; }
.schedule-card li > i.done { background: var(--green-500); }
.schedule-card li > i.now { background: var(--blue-600); box-shadow: 0 0 0 .2rem #d9e9fa; }
.schedule-card li div { display: grid; line-height: 1.35; }
.schedule-card li strong { font-size: .65rem; }
.schedule-card li span { color: var(--slate-500); font-size: .55rem; }
.mini-chart { height: 118px; display: flex; align-items: end; justify-content: space-between; gap: .3rem; padding-top: 1rem; border-bottom: 1px solid var(--line); }
.mini-chart i { width: 12%; height: 42%; background: var(--ice-200); border-radius: .2rem .2rem 0 0; }
.mini-chart i:nth-child(2), .mini-chart i:nth-child(6) { height: 68%; }
.mini-chart i:nth-child(3) { height: 52%; }
.mini-chart i:nth-child(4) { height: 86%; background: var(--green-500); }
.mini-chart i:nth-child(5) { height: 72%; }
.mini-chart i:nth-child(7) { height: 95%; background: var(--navy-800); }
.activity-card footer { display: flex; justify-content: space-between; align-items: center; margin-top: .65rem; color: var(--slate-500); font-size: .56rem; }
.activity-card footer strong { color: var(--navy-900); font-size: 1rem; }
.depth-card { position: absolute; z-index: 5; display: flex; align-items: center; gap: .65rem; padding: .75rem .9rem; background: rgba(255, 255, 255, .96); border: 1px solid var(--line); border-radius: .7rem; box-shadow: var(--shadow-md); transform: translateZ(100px); }
.depth-card > span { width: 2.1rem; height: 2.1rem; display: grid; place-items: center; color: var(--green-500); background: var(--green-100); border-radius: .4rem; }
.depth-card div { display: grid; line-height: 1.35; }
.depth-card small { color: var(--slate-500); font-size: .56rem; }
.depth-card strong { font-size: .68rem; }
.depth-card-ai { top: 18%; right: -1%; }
.depth-card-pay { left: 3%; bottom: 5%; }

.trust-strip { color: var(--white); background: var(--navy-900); }
.trust-inner { width: min(calc(100% - 2.5rem), var(--content)); margin: auto; display: grid; grid-template-columns: repeat(3, 1fr); }
.trust-inner p { margin: 0; display: grid; grid-template-columns: auto 1fr; column-gap: .8rem; padding: 2rem; border-left: 1px solid rgba(255, 255, 255, .12); }
.trust-inner p:last-child { border-right: 1px solid rgba(255, 255, 255, .12); }
.trust-inner p > span { grid-row: span 2; color: var(--green-400); font-size: 1.25rem; }
.trust-inner strong { font-size: var(--text-sm); }
.trust-inner small { color: #aab9c8; font-size: var(--text-xs); }

.capabilities-section, .workflow-section, .pricing-section, .faq-section, .security-band, .feature-ledger, .security-map, .security-detail, .provision-steps, .pricing-faq { width: min(calc(100% - 2.5rem), var(--content)); margin-inline: auto; padding-block: clamp(5rem, 9vw, 9rem); }
.section-heading { max-width: 760px; margin-bottom: 3rem; }
.section-heading h2, .ai-copy h2, .signature-copy h2, .security-band h2, .pricing-faq h2, .security-detail h2, .provision-steps h2 { margin-bottom: 1.2rem; font-size: var(--text-2xl); }
.section-heading > p:last-child, .split-heading > p { color: var(--slate-700); }
.split-heading { max-width: none; display: grid; grid-template-columns: 1.15fr .85fr; align-items: end; gap: 4rem; }
.split-heading > p { margin-bottom: .4rem; }
.capability-editorial { display: grid; grid-template-columns: 1.45fr .55fr; gap: 1rem; }
.capability-editorial > article { position: relative; padding: 2.2rem; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.capability-editorial > article:not(.capability-primary) { min-height: 260px; display: flex; flex-direction: column; justify-content: flex-end; }
.capability-editorial .capability-primary { grid-row: span 2; min-height: 540px; display: grid; grid-template-columns: .9fr 1.1fr; align-items: end; gap: 2rem; overflow: hidden; color: var(--white); background: var(--navy-900); border-radius: var(--radius-lg) 0 0 var(--radius-lg); }
.cap-number { position: absolute; top: 1.5rem; right: 1.8rem; color: var(--green-500); font-family: var(--font-display); font-size: var(--text-xl); font-weight: 800; }
.capability-editorial h3 { margin-bottom: .8rem; font-size: var(--text-xl); }
.capability-editorial p { color: var(--slate-500); }
.capability-primary p { color: #bdc9d4; }
.capability-primary a { display: inline-flex; align-items: center; gap: .45rem; color: var(--green-400); text-decoration: none; font-size: var(--text-sm); font-weight: 800; }
.mini-patient { align-self: center; padding: 1.2rem; color: var(--ink); background: var(--white); border-radius: var(--radius-md); box-shadow: var(--shadow-deep); transform: rotateY(-8deg) rotateX(3deg); }
.mini-patient header { display: flex; justify-content: space-between; margin-bottom: 1.4rem; color: var(--slate-500); font-size: var(--text-xs); }
.mini-patient header b { color: #08743d; }
.mini-patient > strong { font-size: var(--text-lg); }
.mini-patient > p { color: var(--slate-500); font-size: var(--text-xs); }
.mini-patient dl { margin: 1.5rem 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.mini-patient dl div { padding: .7rem; background: var(--ice-100); }
.mini-patient dt { color: var(--slate-500); font-size: .65rem; }
.mini-patient dd { margin: .2rem 0 0; font-size: .73rem; font-weight: 800; }

.ai-section { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(3rem, 8vw, 8rem); padding: clamp(5rem, 9vw, 9rem) max(1.25rem, calc((100vw - var(--content)) / 2)); color: var(--white); background: var(--navy-950); perspective: 1200px; overflow: hidden; }
.ai-console { --rx: 0deg; --ry: 0deg; position: relative; padding: 2rem; background: #0c2944; border: 1px solid rgba(255, 255, 255, .15); box-shadow: 35px 45px 0 rgba(0, 169, 87, .12), var(--shadow-deep); transform: rotateX(var(--rx)) rotateY(var(--ry)) rotateY(5deg); transition: transform 180ms ease-out; }
.ai-console header { display: flex; justify-content: space-between; color: var(--green-400); font-size: var(--text-xs); font-weight: 800; }
.ai-console header span { display: flex; gap: .5rem; }
.ai-console header b { color: #9eb0c0; font-weight: 600; }
.ai-console blockquote { margin: 3rem 0; font-size: var(--text-lg); font-weight: 600; line-height: 1.55; }
.ai-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.ai-actions span { padding: .45rem .7rem; color: #b8c9d7; border: 1px solid rgba(255, 255, 255, .15); font-size: var(--text-xs); }
.ai-copy p:not(.eyebrow), .ai-copy li { color: #b8c5d1; }
.line-list { margin: 1.8rem 0; padding: 0; list-style: none; }
.line-list li { padding: .65rem 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.ai-copy .text-link { color: var(--green-400); }

.signature-section { width: min(calc(100% - 2.5rem), var(--content)); margin: auto; padding-block: clamp(6rem, 11vw, 11rem); display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: clamp(3rem, 8vw, 8rem); perspective: 1200px; }
.signature-copy > p:not(.eyebrow) { color: var(--slate-700); }
.careful-note { display: flex; gap: .7rem; padding-top: 1.2rem; border-top: 1px solid var(--line); font-size: var(--text-sm); }
.careful-note .icon { color: var(--green-500); margin-top: .15rem; }
.signature-stack { --rx: 0deg; --ry: 0deg; min-height: 390px; position: relative; transform-style: preserve-3d; transform: rotateX(var(--rx)) rotateY(var(--ry)); transition: transform 180ms ease-out; }
.signature-stack article { position: absolute; width: 78%; min-height: 160px; padding: 1.7rem; display: flex; flex-direction: column; justify-content: end; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-md); }
.signature-stack article:nth-child(1) { z-index: 3; left: 0; top: 0; transform: translateZ(70px) rotateY(4deg); }
.signature-stack article:nth-child(2) { z-index: 2; right: 0; top: 28%; transform: translateZ(35px) rotateY(-3deg); }
.signature-stack article:nth-child(3) { z-index: 1; left: 8%; bottom: 0; transform: translateZ(0) rotateY(2deg); }
.signature-stack small { color: var(--green-500); font-weight: 800; letter-spacing: .12em; }
.signature-stack strong { margin: .4rem 0; font-size: var(--text-lg); }
.signature-stack span { color: var(--slate-500); font-size: var(--text-sm); }

.workflow-section .section-heading { margin-inline: auto; text-align: center; }
.workflow-line { position: relative; margin: 4rem 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); list-style: none; }
.workflow-line::before { content: ""; position: absolute; top: 1.35rem; left: 8%; right: 8%; height: 1px; background: var(--ice-200); }
.workflow-line li { position: relative; display: grid; justify-items: center; text-align: center; }
.workflow-line li > b { z-index: 1; width: 2.7rem; height: 2.7rem; display: grid; place-items: center; margin-bottom: 1.3rem; color: var(--green-500); background: var(--ice-50); border: 1px solid var(--green-500); border-radius: 50%; font-size: var(--text-xs); }
.workflow-line li div { display: grid; }
.workflow-line li span { max-width: 28ch; color: var(--slate-500); font-size: var(--text-sm); }
.integration-wordmark { padding: 1.6rem 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem 2.3rem; border-block: 1px solid var(--line); color: var(--slate-500); font-family: var(--font-display); font-size: var(--text-sm); font-weight: 800; }

.pricing-section { max-width: 1280px; }
.pricing-compact { padding-top: 4rem; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; align-items: stretch; perspective: 1200px; }
.plan { --rx: 0deg; --ry: 0deg; position: relative; padding: 2rem; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transform: rotateX(var(--rx)) rotateY(var(--ry)); transition: transform 180ms ease-out, box-shadow var(--ease), border-color var(--ease); }
.plan.hot { margin-block: -1rem; padding-block: 3rem; color: var(--white); background: var(--navy-900); border-color: var(--navy-900); box-shadow: var(--shadow-md); }
.plan.selected { outline: 3px solid var(--green-500); outline-offset: 4px; }
.plan .ribbon { position: absolute; top: .8rem; right: 1rem; color: var(--green-400); font-size: var(--text-xs); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.plan h2, .plan h3 { margin: 0; font-family: var(--font-display); font-size: var(--text-xl); letter-spacing: -.04em; }
.plan .tag { margin: .25rem 0 1.4rem; color: var(--slate-500); font-size: var(--text-sm); font-weight: 700; }
.plan.hot .tag, .plan.hot .blurb, .plan.hot .waiver, .plan.hot li { color: #b7c5d1; }
.price { font-family: var(--font-display); font-size: 2.6rem; font-weight: 800; letter-spacing: -.05em; line-height: 1; }
.price span { margin-left: .25rem; color: var(--slate-500); font-family: var(--font-body); font-size: var(--text-sm); font-weight: 600; letter-spacing: 0; }
.annual, .seats, .waiver { margin: .65rem 0 0; font-size: var(--text-xs); }
.annual { color: #08743d; font-weight: 800; }
.plan.hot .annual { color: var(--green-400); }
.seats { font-weight: 800; }
.waiver { color: var(--slate-500); }
.blurb { min-height: 8.2rem; margin: 1.4rem 0; padding-top: 1.4rem; color: var(--slate-700); border-top: 1px solid var(--line); font-size: var(--text-sm); }
.plan.hot .blurb { border-color: rgba(255, 255, 255, .14); }
.plan ul { margin: 0 0 1.8rem; padding: 0; list-style: none; flex: 1; }
.plan li { display: flex; gap: .55rem; margin: .65rem 0; color: var(--slate-700); font-size: var(--text-xs); line-height: 1.5; }
.plan li .icon { margin-top: .15rem; color: var(--green-500); }
.plan .button { width: 100%; }
.plan.hot .button { color: var(--navy-950); background: var(--green-400); border-color: var(--green-400); }
.plan-note { max-width: 960px; margin: 3.5rem auto 0; color: var(--slate-500); text-align: center; font-size: var(--text-xs); }

.security-band { padding: clamp(4rem, 7vw, 6rem); color: var(--white); background: var(--navy-900); box-shadow: 0 2rem 0 var(--ice-200); }
.security-band > div:first-child { max-width: 760px; }
.security-points { margin: 3rem 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.security-points article { border-top: 1px solid rgba(255, 255, 255, .18); padding-top: 1.5rem; }
.security-points .icon { color: var(--green-400); font-size: 1.35rem; }
.security-points h3 { margin: 1.2rem 0 .65rem; }
.security-points p { color: #b7c5d1; font-size: var(--text-sm); }
.security-band .text-link { color: var(--green-400); }
.faq-section { display: grid; grid-template-columns: .65fr 1.35fr; gap: 5rem; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 1.4rem 2.5rem 1.4rem 0; cursor: pointer; font-weight: 800; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; top: 1.2rem; right: .2rem; color: var(--green-500); font-size: var(--text-lg); }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { padding-right: 2rem; color: var(--slate-700); font-size: var(--text-sm); }

.final-cta { padding: 2rem 1.25rem clamp(5rem, 8vw, 8rem); perspective: 1200px; }
.cta-plane { --rx: 0deg; --ry: 0deg; width: min(100%, var(--content)); min-height: 330px; margin: auto; padding: clamp(2.5rem, 6vw, 5rem); display: flex; align-items: end; justify-content: space-between; gap: 3rem; color: var(--white); background: var(--navy-900); box-shadow: 0 1.2rem 0 var(--green-500), var(--shadow-deep); transform: rotateX(var(--rx)) rotateY(var(--ry)); transition: transform 180ms ease-out; }
.cta-plane > div { max-width: 760px; }
.cta-plane h2 { margin-bottom: 1rem; font-size: var(--text-2xl); }
.cta-plane p:not(.eyebrow) { margin-bottom: 0; color: #bac8d4; }
.site-footer { color: #d6e0e8; background: var(--navy-950); }
.footer-main { width: min(calc(100% - 2.5rem), var(--content)); margin: auto; padding: 4rem 0; display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 3rem; }
.brand-footer { color: var(--white); }
.brand-footer small { color: #9dafbe; }
.footer-brand p { max-width: 32ch; margin-top: 1.2rem; color: #8fa2b3; font-size: var(--text-sm); }
.footer-main nav { display: flex; flex-direction: column; gap: .55rem; font-size: var(--text-sm); }
.footer-main nav strong { margin-bottom: .5rem; color: var(--white); }
.footer-main nav a { color: #9dafbe; text-decoration: none; }
.footer-main nav a:hover { color: var(--green-400); }
.footer-base { width: min(calc(100% - 2.5rem), var(--content)); margin: auto; padding: 1.3rem 0; display: flex; justify-content: space-between; border-top: 1px solid rgba(255, 255, 255, .1); color: #8195a6; font-size: var(--text-xs); }

.interior-hero { width: min(calc(100% - 2.5rem), var(--content)); margin: auto; padding: clamp(6rem, 11vw, 11rem) 0 clamp(4rem, 7vw, 7rem); }
.interior-hero h1 { max-width: 1000px; margin-bottom: 1.5rem; font-size: var(--text-2xl); }
.interior-hero > p:last-child { max-width: 760px; color: var(--slate-700); }
.feature-ledger { padding-top: 1rem; }
.feature-ledger > article { min-height: 380px; padding: 3.5rem 0; display: grid; grid-template-columns: 1.1fr .9fr; gap: 5rem; border-top: 1px solid var(--line); }
.feature-ledger article header { display: grid; grid-template-columns: auto 1fr; gap: 1.5rem; }
.feature-ledger article header > span { color: var(--green-500); font-family: var(--font-display); font-size: var(--text-xl); font-weight: 800; }
.feature-ledger h2 { font-size: var(--text-xl); }
.feature-ledger article > p { color: var(--slate-700); }
.feature-tags { grid-column: 2; margin: -8rem 0 0; padding: 0; display: flex; align-content: end; flex-wrap: wrap; gap: .5rem; list-style: none; }
.feature-tags li { padding: .4rem .65rem; background: var(--ice-100); border: 1px solid var(--ice-200); font-size: var(--text-xs); font-weight: 700; }
.feature-bridge { padding: clamp(5rem, 10vw, 9rem) max(1.25rem, calc((100vw - var(--content)) / 2)); display: grid; grid-template-columns: .45fr .55fr; align-items: center; gap: 4rem; color: var(--white); background: var(--navy-950); overflow: hidden; }
.feature-bridge h2 { font-size: var(--text-2xl); }
.feature-bridge .product-stage { width: 620px; }
.feature-bridge .app-window { transform: rotateY(-5deg) rotateX(2deg); }

.security-hero { text-align: center; }
.security-hero h1, .security-hero > p:last-child { margin-inline: auto; }
.security-map { position: relative; display: grid; grid-template-columns: .75fr 1.25fr; gap: 5rem; align-items: center; }
.security-anchor { --rx: 0deg; --ry: 0deg; min-height: 430px; padding: 3rem; display: flex; flex-direction: column; justify-content: end; color: var(--white); background: var(--navy-900); box-shadow: 1.2rem 1.2rem 0 var(--green-500), var(--shadow-deep); transform: rotateX(var(--rx)) rotateY(var(--ry)); transition: transform 180ms ease-out; }
.security-anchor .icon { width: 3.5rem; height: 3.5rem; margin-bottom: auto; color: var(--green-400); }
.security-anchor h2 { font-size: var(--text-xl); }
.security-anchor p { color: #b7c5d1; }
.security-orbit { display: grid; grid-template-columns: 1fr 1fr; }
.security-orbit article { min-height: 230px; padding: 2rem; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.security-orbit span { color: var(--green-500); font-size: var(--text-xs); font-weight: 800; }
.security-orbit h3 { margin: 2rem 0 .7rem; }
.security-orbit p { color: var(--slate-500); font-size: var(--text-sm); }
.security-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; }
.security-detail > div:last-child { color: var(--slate-700); }
.security-detail > div:last-child p { padding-bottom: 1.4rem; border-bottom: 1px solid var(--line); }
.provision-steps { padding-top: 3rem; }
.provision-steps ol { margin: 3rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; }
.provision-steps li { padding: 1.7rem; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.provision-steps li > span { color: var(--green-500); font-family: var(--font-display); font-size: var(--text-xl); font-weight: 800; }
.provision-steps li strong { display: block; margin: 2rem 0 .7rem; }
.provision-steps li p { color: var(--slate-500); font-size: var(--text-sm); }
.pricing-hero { text-align: center; }
.pricing-hero h1, .pricing-hero > p:last-child { margin-inline: auto; }
.pricing-faq { display: grid; grid-template-columns: .75fr 1.25fr; gap: 5rem; padding-top: 2rem; }

.signup-body { background: var(--navy-950); }
.signup-body .site-header { background: rgba(4, 17, 31, .92); border-color: rgba(255, 255, 255, .1); }
.signup-body .brand { color: var(--white); }
.signup-body .brand small { color: #9dafbe; }
.signup-body .nav-toggle > span:not(.sr-only) { background: var(--white); }
.signup-body .site-nav > a { color: #c4d0da; }
.signup-page { width: min(calc(100% - 2.5rem), var(--content)); margin: auto; padding: clamp(4rem, 8vw, 7rem) 0; display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(3rem, 7vw, 7rem); align-items: start; color: var(--white); }
.signup-context { position: sticky; top: 8rem; }
.back-link { color: var(--green-500); text-decoration: none; font-size: var(--text-sm); font-weight: 800; }
.signup-context .eyebrow { margin-top: 4rem; }
.signup-context h1 { font-size: var(--text-2xl); }
.signup-context > p:not(.eyebrow) { color: #b2c0cb; }
.selected-plan-preview { margin: 2.5rem 0; padding: 1.4rem; display: grid; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .04); }
.selected-plan-preview small { color: var(--green-400); font-size: var(--text-xs); font-weight: 800; letter-spacing: .1em; }
.selected-plan-preview strong { font-size: var(--text-xl); }
.selected-plan-preview span { color: #9eb0c0; font-size: var(--text-sm); }
.signup-assurances { margin: 0; padding: 0; list-style: none; }
.signup-assurances li { display: flex; gap: .7rem; padding: .65rem 0; color: #b2c0cb; font-size: var(--text-sm); }
.signup-assurances .icon { color: var(--green-400); margin-top: .15rem; }
.signup-card { padding: clamp(2rem, 5vw, 4rem); color: var(--ink); background: var(--white); box-shadow: var(--shadow-deep); }
.signup-card header h2 { margin-bottom: .7rem; font-size: var(--text-xl); }
.signup-card header > p:last-child { color: var(--slate-500); font-size: var(--text-sm); }
.signup-card form { margin-top: 2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-bottom: 1rem; }
.field label { display: block; margin-bottom: .4rem; font-size: var(--text-xs); font-weight: 800; }
.field label span { color: var(--slate-500); font-weight: 500; }
.field input, .field select, .field textarea { width: 100%; min-height: 3.1rem; padding: .7rem .8rem; background: var(--ice-50); border: 1px solid var(--ice-200); border-radius: .3rem; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { background: var(--white); border-color: var(--green-500); outline: 2px solid rgba(0, 169, 87, .16); }
.terms-check { display: flex; align-items: flex-start; gap: .8rem; margin: 1rem 0; padding: 1rem; background: var(--ice-100); border: 1px solid var(--ice-200); font-size: var(--text-xs); line-height: 1.55; }
.terms-check input { width: 1.2rem; height: 1.2rem; margin-top: .15rem; flex: 0 0 auto; accent-color: var(--green-500); }
.terms-check a { color: var(--blue-600); font-weight: 800; }
.submit-button { width: 100%; margin-top: .5rem; border: 0; }
.submit-button:disabled { opacity: .6; cursor: wait; transform: none; }
.form-message { min-height: 1.6rem; margin-top: .8rem; font-size: var(--text-sm); font-weight: 700; }
.form-message.ok { color: #08743d; }
.form-message.err { color: #b42318; }

.legal-page, .thanks-page { background: var(--ice-100); }
.legal-document { width: min(calc(100% - 2.5rem), 860px); margin: 4rem auto 7rem; padding: clamp(2rem, 5vw, 4rem); background: var(--white); box-shadow: var(--shadow-md); }
.legal-document h1 { margin: 2rem 0; font-size: var(--text-2xl); }
.legal-document h2 { margin-top: 2.8rem; font-size: var(--text-lg); letter-spacing: -.02em; }
.legal-document p, .legal-document li { color: var(--slate-700); }
.legal-callout { padding: 1.4rem; background: var(--ice-100); border: 1px solid var(--ice-200); }
.thanks-card { width: min(calc(100% - 2.5rem), 680px); margin: 6rem auto 8rem; padding: clamp(2.5rem, 6vw, 5rem); background: var(--white); box-shadow: var(--shadow-deep); }
.thanks-card img { margin-bottom: 2rem; }
.thanks-card h1 { font-size: var(--text-2xl); }
.thanks-card > p:not(.eyebrow) { color: var(--slate-700); }
.thanks-card a { color: var(--blue-600); font-weight: 800; }

@media (max-width: 1050px) {
  .home-hero { grid-template-columns: 1fr; }
  .hero-copy { max-width: 760px; }
  .hero-copy h1 { font-size: clamp(3.3rem, 11vw, 6.5rem); }
  .product-stage { width: min(820px, 100%); margin-inline: auto; }
  .plans { grid-template-columns: 1fr 1fr; }
  .plan:last-child { grid-column: 1 / -1; }
  .plan.hot { margin-block: 0; }
  .capability-editorial { grid-template-columns: 1fr 1fr; }
  .capability-editorial .capability-primary { grid-column: 1 / -1; grid-row: auto; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
  .ai-section, .signature-section, .feature-bridge { grid-template-columns: 1fr; }
  .ai-console { order: 2; }
  .feature-bridge .product-stage { width: min(720px, 100%); }
  .security-map { grid-template-columns: 1fr; }
  .security-anchor { min-height: 340px; }
}

@media (max-width: 780px) {
  .nav-toggle { display: block; }
  .site-nav { position: absolute; top: calc(100% + 1px); left: 0; right: 0; padding: 1.2rem; display: none; align-items: stretch; flex-direction: column; gap: .25rem; background: var(--ice-50); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md); }
  .site-nav.is-open { display: flex; }
  .site-nav > a { min-height: 2.9rem; display: flex; align-items: center; padding: .5rem .8rem; }
  .site-nav .button { justify-content: center; margin-top: .5rem; color: var(--white); }
  .nav-toggle[aria-expanded="true"] > span:nth-child(1) { transform: translateY(.39rem) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] > span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-.39rem) rotate(-45deg); }
  .signup-body .site-nav { background: var(--navy-900); }
  .home-hero { padding-top: 4.5rem; }
  .product-stage { width: 690px; transform-origin: left center; }
  .trust-inner { grid-template-columns: 1fr; }
  .trust-inner p, .trust-inner p:last-child { border: 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
  .split-heading, .faq-section, .security-detail, .pricing-faq, .signup-page { grid-template-columns: 1fr; gap: 2rem; }
  .capability-editorial { grid-template-columns: 1fr; }
  .capability-editorial .capability-primary { grid-column: auto; grid-template-columns: 1fr; min-height: 620px; }
  .mini-patient { width: 100%; }
  .plans { grid-template-columns: 1fr; }
  .plan:last-child { grid-column: auto; }
  .security-points { grid-template-columns: 1fr; }
  .workflow-line { grid-template-columns: 1fr; gap: 2rem; }
  .workflow-line::before { top: 0; bottom: 0; left: 1.35rem; right: auto; width: 1px; height: auto; }
  .workflow-line li { grid-template-columns: auto 1fr; justify-items: start; gap: 1.2rem; text-align: left; }
  .workflow-line li div { justify-items: start; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .feature-ledger > article { grid-template-columns: 1fr; gap: 1.5rem; }
  .feature-tags { grid-column: auto; margin: 0; }
  .security-orbit { grid-template-columns: 1fr; }
  .provision-steps ol { grid-template-columns: 1fr 1fr; }
  .signup-context { position: static; }
  .signup-context .eyebrow { margin-top: 2.5rem; }
}

@media (max-width: 520px) {
  .nav-shell, .hero, .capabilities-section, .workflow-section, .pricing-section, .faq-section, .security-band, .signature-section, .feature-ledger, .security-map, .security-detail, .provision-steps, .pricing-faq, .interior-hero, .signup-page, .footer-main, .footer-base { width: min(calc(100% - 1.5rem), var(--content)); }
  .brand small { display: none; }
  .hero-copy h1 { font-size: clamp(3rem, 17vw, 4.8rem); }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .product-stage { width: 100%; transform: none; transform-origin: center; margin-bottom: 0; }
  .depth-card { display: none; }
  .capability-editorial > article, .security-band, .plan, .signup-card { padding: 1.4rem; }
  .capability-editorial .capability-primary { min-height: 590px; }
  .ai-section { padding-inline: .75rem; }
  .ai-console { padding: 1.3rem; box-shadow: 12px 16px 0 rgba(0, 169, 87, .12); }
  .ai-console header { align-items: flex-start; flex-direction: column; gap: .5rem; }
  .signature-stack { min-height: 450px; }
  .signature-stack article { width: 90%; }
  .plans { gap: .75rem; }
  .plan .blurb { min-height: 0; }
  .cta-plane { padding: 2rem 1.4rem; align-items: stretch; flex-direction: column; justify-content: center; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-base { flex-direction: column; gap: .4rem; }
  .provision-steps ol { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .legal-document { width: calc(100% - 1.5rem); padding: 1.4rem; }
}

@media (hover: none), (pointer: coarse) {
  [data-tilt] { transform: none; }
  .product-stage { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-tilt] { transform: none !important; }
}
