:root {
    --ink: #050506;
    --ink-soft: #252a31;
    --muted: #667085;
    --muted-strong: #485260;
    --line: #dce2ea;
    --line-soft: #edf1f5;
    --surface: #ffffff;
    --surface-soft: #f7f9fb;
    --surface-blue: #f3f7ff;
    --brand-yellow: #ffc400;
    --brand-orange: #ff7a18;
    --brand-pink: #e91e79;
    --clinical-blue: #1463ff;
    --clinical-teal: #0aaf94;
    --risk: #f23c4b;
    --shadow: 0 24px 70px rgba(8, 15, 31, .12);
    --shadow-soft: 0 14px 44px rgba(8, 15, 31, .08);
    --max: 1440px;
    --gutter: clamp(20px, 5vw, 64px);
    --center-pad: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: auto;
    scroll-padding-top: 112px;
}

body {
    margin: 0;
    background: var(--surface);
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    letter-spacing: 0;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.is-nav-open {
    overflow: hidden;
}

img,
svg {
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

section[id] {
    scroll-margin-top: 112px;
}

p,
h1,
h2,
h3 {
    margin: 0;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 28px;
    width: 100%;
    margin: 0 auto;
    padding: 24px var(--center-pad);
    background: rgba(255, 255, 255, .86);
    border-bottom: 1px solid rgba(220, 226, 234, .72);
    backdrop-filter: blur(18px);
}

.brand-link {
    display: inline-flex;
    align-items: center;
    min-width: 182px;
}

.brand-link img {
    display: block;
    width: clamp(168px, 15vw, 232px);
    height: auto;
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(20px, 3vw, 44px);
    color: var(--ink-soft);
    font-size: 15px;
    font-weight: 520;
}

.site-nav a {
    position: relative;
    padding: 10px 0;
}

.site-nav a::after {
    content: "";
    display: none;
}

.header-cta,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 52px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 720;
    line-height: 1;
    transition: box-shadow .2s ease, border-color .2s ease, background-color .2s ease;
}

.header-cta {
    min-width: 152px;
    padding: 0 22px;
    color: #fff;
    background: linear-gradient(105deg, var(--brand-yellow), var(--brand-orange) 45%, var(--brand-pink));
    box-shadow: 0 14px 28px rgba(233, 30, 121, .2);
}

.cta-label-short {
    display: none;
}

.cta-label-short svg {
    width: 22px;
    height: 22px;
}

.cta-label-short path {
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.9;
}

.button {
    padding: 0 26px;
}

.button-primary {
    color: #fff;
    background: linear-gradient(105deg, var(--brand-yellow), var(--brand-orange) 45%, var(--brand-pink));
    box-shadow: 0 20px 36px rgba(233, 30, 121, .24);
}

.button-secondary {
    color: var(--ink);
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(8, 15, 31, .04);
}

.button:hover,
.header-cta:hover {
    transform: none;
}

.nav-toggle {
    display: none;
}

.hero-section {
    display: grid;
    grid-template-columns: minmax(470px, .78fr) minmax(580px, 1fr);
    gap: clamp(34px, 4vw, 62px);
    align-items: center;
    width: 100%;
    min-height: min(860px, calc(100vh - 97px));
    margin: 0 auto;
    padding: clamp(42px, 5vw, 72px) var(--center-pad) clamp(44px, 5vw, 68px);
    overflow: hidden;
    border-bottom: 1px solid var(--line);
}

.hero-copy {
    display: grid;
    gap: 32px;
    max-width: 690px;
}

.hero-copy h1 {
    max-width: 650px;
    font-size: clamp(54px, 6vw, 90px);
    font-weight: 820;
    line-height: .96;
}

.hero-copy p {
    max-width: 640px;
    color: var(--muted);
    font-size: clamp(22px, 2vw, 29px);
    font-weight: 430;
    line-height: 1.45;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.care-cockpit {
    display: grid;
    grid-template-columns: 72px 1fr;
    min-height: 600px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.cockpit-rail {
    display: grid;
    justify-items: center;
    align-content: start;
    gap: 22px;
    padding: 22px 14px;
    background: linear-gradient(180deg, #0a0d12, #151a20);
}

.rail-mark {
    display: block;
    width: 38px;
    height: 38px;
    background-image: url("../brand/medical-brain-logo-white.png");
    background-repeat: no-repeat;
    background-position: left center;
    background-size: auto 38px;
}

.rail-icon {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    color: rgba(255, 255, 255, .68);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 8px;
    opacity: .66;
}

.rail-icon.is-active {
    background-color: rgba(255, 255, 255, .12);
    color: #fff;
    opacity: 1;
}

.rail-icon svg {
    width: 18px;
    height: 18px;
}

.rail-icon path {
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.rail-user {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin-top: auto;
    color: #fff;
    font-size: 13px;
    border-radius: 50%;
    background: #2d3440;
}

.cockpit-main {
    display: grid;
    gap: 14px;
    padding: 26px;
}

.patient-bar,
.panel-heading,
.integration-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.patient-bar strong {
    display: block;
    margin-top: 6px;
    font-size: 27px;
    line-height: 1.08;
}

.patient-bar span {
    color: var(--muted);
    font-size: 14px;
}

.ui-label {
    display: block;
    color: var(--muted-strong);
    font-size: 12px;
    font-weight: 690;
}

.monitoring-dot {
    position: relative;
    padding-left: 16px;
    white-space: nowrap;
}

.monitoring-dot::before {
    position: absolute;
    top: 50%;
    left: 0;
    width: 7px;
    height: 7px;
    content: "";
    background: #16b364;
    border-radius: 50%;
    transform: translateY(-50%);
}

.signal-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.signal-card,
.trend-panel,
.summary-panel,
.guidance-stack article,
.metric-card,
.buyer-lane,
.measurement-grid article,
.demo-form,
.buyer-orbit,
.optimization-loop {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.signal-card {
    display: grid;
    gap: 10px;
    min-height: 166px;
    padding: 20px;
}

.signal-card strong {
    font-size: 17px;
}

.signal-card span:not(.ui-label),
.signal-card small {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.45;
}

.risk-high,
.risk-alert {
    color: var(--risk);
}

.risk-info {
    color: var(--clinical-blue);
}

.cockpit-bottom {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(220px, .8fr);
    gap: 12px;
}

.trend-panel,
.summary-panel {
    padding: 20px;
}

.panel-heading {
    margin-bottom: 10px;
}

.panel-heading span,
.panel-heading strong {
    font-size: 13px;
}

.trend-panel svg {
    display: block;
    width: 100%;
    height: auto;
}

.grid-line {
    stroke: var(--line-soft);
    stroke-width: 1;
}

.risk-area {
    fill: url(#riskFill);
}

.risk-line {
    fill: none;
    stroke: url(#riskGradient);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 4;
}

.trend-panel circle {
    fill: #fff;
    stroke: var(--brand-pink);
    stroke-width: 4;
}

.summary-panel dl {
    display: grid;
    gap: 13px;
    margin: 16px 0 0;
}

.summary-panel div {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding-bottom: 11px;
    border-bottom: 1px solid var(--line-soft);
}

.summary-panel dt,
.summary-panel dd {
    margin: 0;
    color: var(--ink-soft);
    font-size: 13px;
}

.summary-panel dd {
    color: var(--muted);
}

.integration-strip {
    align-self: end;
    padding: 14px 16px;
    color: #315080;
    background: var(--surface-blue);
    border: 1px solid #dbe7ff;
    border-radius: 8px;
    font-size: 12px;
}

.integration-strip span:first-child {
    margin-right: auto;
    color: var(--ink-soft);
    font-weight: 650;
}

.trust-section,
.workflow-section,
.outcomes-section,
.modules-section,
.buyers-section,
.measurement-section,
.demo-section,
.site-footer {
    width: min(var(--max), 100%);
    margin: 0 auto;
    padding: clamp(72px, 9vw, 124px) var(--gutter);
}

.trust-section {
    border-bottom: 1px solid var(--line);
}

.section-intro {
    display: grid;
    gap: 20px;
    max-width: 760px;
}

.section-intro-centered {
    margin: 0 auto;
    text-align: center;
}

.section-intro h2,
.outcomes-header h2,
.demo-section h2 {
    font-size: clamp(40px, 5vw, 76px);
    font-weight: 810;
    line-height: 1;
}

.section-intro p,
.outcomes-header p,
.demo-section p {
    color: var(--muted);
    font-size: clamp(18px, 1.5vw, 23px);
    line-height: 1.5;
}

.split-intro {
    grid-template-columns: minmax(0, 1fr) minmax(320px, .74fr);
    max-width: none;
    align-items: start;
}

.split-intro p {
    justify-self: end;
    max-width: 560px;
    font-size: clamp(17px, 1.25vw, 20px);
    line-height: 1.45;
}

.logo-row {
    display: grid;
    grid-template-columns: repeat(5, minmax(120px, 1fr));
    gap: 1px;
    margin-top: 48px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--line);
}

.logo-row img {
    display: block;
    width: 100%;
    height: 112px;
    padding: 30px;
    object-fit: contain;
    background: #fff;
    filter: grayscale(.1);
}

.workflow-path {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 60px;
}

.workflow-stage {
    display: grid;
    grid-template-rows: 44px minmax(52px, auto) 1fr;
    gap: 16px;
    min-height: 228px;
    padding: 28px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.stage-number {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    font-weight: 780;
    border: 1px solid transparent;
    border-radius: 50%;
    background:
        linear-gradient(#fff, #fff) padding-box,
        linear-gradient(135deg, var(--brand-yellow), var(--brand-pink)) border-box;
}

.workflow-stage h3,
.module-row h3,
.buyer-lane h3,
.measurement-grid h3 {
    font-size: 22px;
    line-height: 1.18;
}

.workflow-stage p,
.module-row p,
.buyer-lane p,
.measurement-grid p {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.55;
}

.orchestration-map {
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr) 300px;
    gap: 26px;
    align-items: start;
    margin-top: 56px;
}

.source-stack,
.guidance-stack,
.module-list {
    display: grid;
    gap: 12px;
}

.source-stack span {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0 18px;
    color: var(--ink-soft);
    font-size: 15px;
    font-weight: 670;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.timeline-panel {
    position: relative;
    min-height: 230px;
    padding: 34px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow-soft);
}

.timeline-patient {
    display: flex;
    align-items: center;
    gap: 14px;
}

.avatar {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 40% 30%, #fff 0 10%, transparent 11%),
        linear-gradient(135deg, #d7e5ff, #f5b7ca);
}

.timeline-patient strong {
    display: block;
    font-size: 18px;
}

.timeline-patient span:not(.avatar) {
    color: var(--muted);
    font-size: 13px;
}

.timeline-line {
    position: relative;
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    align-items: center;
    gap: 0;
    margin: 54px 6px 0;
}

.timeline-line::before {
    position: absolute;
    right: 0;
    left: 0;
    height: 3px;
    content: "";
    background: linear-gradient(90deg, var(--line), var(--brand-yellow) 50%, var(--brand-pink));
}

.timeline-line span {
    position: relative;
    z-index: 1;
    width: 14px;
    height: 14px;
    background: #fff;
    border: 2px solid #a6b2c2;
    border-radius: 50%;
}

.timeline-line span.is-active {
    border-color: var(--brand-orange);
    box-shadow: 0 0 0 10px rgba(255, 122, 24, .13);
}

.risk-marker {
    position: absolute;
    top: 54px;
    right: 19%;
    padding: 14px 18px;
    color: var(--risk);
    font-size: 15px;
    font-weight: 760;
    background: #fff7f7;
    border: 1px solid #ffc9ce;
    border-radius: 8px;
}

.guidance-stack article {
    display: grid;
    gap: 12px;
    padding: 20px;
}

.guidance-stack p {
    margin: 0;
    padding: 9px 12px;
    color: #24599e;
    background: #eaf2ff;
    border-radius: 8px;
    font-size: 13px;
}

.guidance-stack p:nth-of-type(2) {
    color: var(--ink-soft);
    background: var(--surface-soft);
}

.alert-card {
    border-color: #ffcdd2;
}

.alert-card strong {
    color: var(--risk);
    font-size: 15px;
    line-height: 1.4;
}

.alert-card a {
    color: var(--clinical-blue);
    font-size: 14px;
    font-weight: 720;
}

.outcomes-section {
    background:
        linear-gradient(180deg, rgba(247, 249, 251, .96), #fff 34%),
        #fff;
    border-top: 1px solid var(--line-soft);
    border-bottom: 1px solid var(--line-soft);
}

.outcomes-header {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(180px, 320px);
    gap: 48px;
    align-items: center;
}

.outcomes-header p {
    max-width: 620px;
    margin-top: 18px;
}

.outcomes-header img {
    justify-self: end;
    width: 260px;
    height: 150px;
    object-fit: contain;
    object-position: left center;
}

.metric-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    margin-top: 54px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
}

.metric-card {
    display: grid;
    gap: 18px;
    min-height: 308px;
    padding: clamp(28px, 4vw, 48px);
    border: 0;
    border-radius: 0;
}

.metric-card strong {
    display: block;
    font-size: clamp(64px, 8vw, 112px);
    font-weight: 810;
    line-height: .9;
    background: linear-gradient(100deg, var(--brand-yellow), var(--brand-orange) 42%, var(--brand-pink));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.metric-card h3 {
    max-width: 330px;
    font-size: 23px;
    line-height: 1.2;
}

.metric-card p,
.metric-card small {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.5;
}

.metric-card small {
    align-self: end;
    color: #6f7b8a;
    font-size: 12px;
}

.modules-section {
    display: grid;
    grid-template-columns: minmax(300px, .55fr) minmax(0, 1fr);
    gap: clamp(40px, 6vw, 92px);
    align-items: start;
}

.modules-section .section-intro {
    position: sticky;
    top: 126px;
}

.module-list {
    position: relative;
}

.module-list::before {
    position: absolute;
    top: 24px;
    bottom: 24px;
    left: 31px;
    width: 2px;
    content: "";
    background: linear-gradient(180deg, var(--brand-yellow), var(--brand-orange), var(--brand-pink));
}

.module-row {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
    min-height: 108px;
    padding: 20px 0 20px 92px;
}

.module-icon {
    position: absolute;
    left: 0;
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    color: var(--brand-pink);
    font-size: 15px;
    font-weight: 820;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 50%;
    box-shadow: 0 0 0 8px #fff;
}

.module-status {
    position: relative;
    padding-left: 16px;
    color: var(--clinical-blue);
    font-size: 13px;
    font-weight: 720;
    white-space: nowrap;
}

.module-status::before {
    position: absolute;
    top: 50%;
    left: 0;
    width: 7px;
    height: 7px;
    content: "";
    background: var(--clinical-blue);
    border-radius: 50%;
    transform: translateY(-50%);
}

.module-status.is-developing {
    color: var(--clinical-teal);
}

.module-status.is-developing::before {
    background: var(--clinical-teal);
}

.buyers-section {
    border-top: 1px solid var(--line-soft);
}

.buyer-system {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, .46fr);
    gap: clamp(28px, 5vw, 72px);
    align-items: stretch;
    margin-top: 56px;
}

.buyer-lanes {
    display: grid;
    gap: 14px;
}

.buyer-lane {
    display: grid;
    grid-template-columns: 52px minmax(210px, .7fr) minmax(0, 1fr);
    gap: 22px;
    align-items: start;
    padding: 24px;
    background: linear-gradient(90deg, #fff, var(--surface-soft));
}

.buyer-lane > span {
    color: var(--brand-pink);
    font-size: 14px;
    font-weight: 820;
}

.buyer-lane p {
    margin-top: 10px;
}

.buyer-lane dl {
    display: grid;
    gap: 12px;
    margin: 0;
}

.buyer-lane dl div {
    display: grid;
    gap: 4px;
}

.buyer-lane dt,
.buyer-lane dd {
    margin: 0;
    font-size: 13px;
    line-height: 1.45;
}

.buyer-lane dt {
    color: var(--ink);
    font-weight: 720;
}

.buyer-lane dd {
    color: var(--muted);
}

.buyer-orbit {
    position: relative;
    display: grid;
    place-items: center;
    width: 100%;
    min-height: 460px;
    overflow: hidden;
    align-self: stretch;
    justify-self: stretch;
    background:
        radial-gradient(circle at center, rgba(233, 30, 121, .09), transparent 34%),
        linear-gradient(180deg, #fff, var(--surface-soft));
}

.orbit-core {
    display: grid;
    place-items: center;
    gap: 12px;
    width: 220px;
    height: 220px;
    padding: 30px;
    text-align: center;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 50%;
    box-shadow: var(--shadow-soft);
}

.orbit-core span {
    color: var(--brand-orange);
    font-size: 13px;
    font-weight: 780;
}

.orbit-core strong {
    font-size: 24px;
    line-height: 1.08;
}

.orbit-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(420px, calc(100% - 88px));
    aspect-ratio: 1;
    border: 1px solid rgba(220, 226, 234, .82);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.orbit-ring span {
    position: absolute;
    display: grid;
    place-items: center;
    min-width: 70px;
    min-height: 34px;
    padding: 0 12px;
    color: var(--ink-soft);
    font-size: 12px;
    font-weight: 760;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
}

.orbit-ring span:nth-child(1) {
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
}

.orbit-ring span:nth-child(2) {
    top: 50%;
    right: -34px;
    transform: translateY(-50%);
}

.orbit-ring span:nth-child(3) {
    bottom: -18px;
    left: 50%;
    transform: translateX(-50%);
}

.orbit-ring span:nth-child(4) {
    top: 50%;
    left: -26px;
    transform: translateY(-50%);
}

.measurement-section {
    display: grid;
    grid-template-columns: minmax(280px, .5fr) minmax(0, 1.25fr);
    gap: clamp(32px, 5vw, 72px);
    align-items: start;
}

.measurement-system {
    display: grid;
    grid-template-columns: minmax(460px, 1fr) minmax(280px, .36fr);
    gap: 18px;
}

.measurement-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 0;
}

.measurement-grid article {
    display: grid;
    gap: 18px;
    min-height: 218px;
    padding: 30px;
    background: var(--surface-soft);
}

.measurement-grid code {
    align-self: end;
    color: var(--clinical-blue);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 12px;
    overflow-wrap: anywhere;
}

.optimization-loop {
    display: grid;
    gap: 22px;
    align-self: stretch;
    padding: 30px;
    background:
        linear-gradient(180deg, rgba(20, 99, 255, .04), transparent),
        #fff;
}

.optimization-loop h3 {
    font-size: 24px;
}

.optimization-loop ol {
    display: grid;
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: loop;
}

.optimization-loop li {
    position: relative;
    min-height: 44px;
    padding-left: 54px;
    color: var(--ink-soft);
    font-size: 15px;
    line-height: 1.45;
    counter-increment: loop;
}

.optimization-loop li::before {
    position: absolute;
    top: -2px;
    left: 0;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    color: #fff;
    content: counter(loop, decimal-leading-zero);
    font-size: 11px;
    font-weight: 820;
    background: linear-gradient(135deg, var(--brand-yellow), var(--brand-pink));
    border-radius: 50%;
}

.demo-section {
    display: grid;
    grid-template-columns: minmax(0, .72fr) minmax(420px, .56fr);
    gap: clamp(36px, 6vw, 92px);
    align-items: center;
    margin-bottom: 32px;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
}

.demo-copy {
    display: grid;
    gap: 26px;
}

.demo-dialog-stack {
    display: grid;
    gap: 18px;
}

.demo-section .form-status {
    max-width: 560px;
    margin: 0;
    padding: 14px 16px;
    font-size: 14px;
    font-weight: 620;
    line-height: 1.42;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.form-status.is-success {
    color: #067647;
    background: #ecfdf3;
    border-color: #abefc6;
}

.form-status.is-error {
    color: #b42318;
    background: #fef3f2;
    border-color: #fecdca;
}

.demo-form {
    display: grid;
    gap: 16px;
    padding: clamp(24px, 4vw, 36px);
    box-shadow: var(--shadow-soft);
}

.demo-form input[name="website"] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
}

.demo-form label {
    display: grid;
    gap: 8px;
}

.demo-form label span {
    color: var(--muted-strong);
    font-size: 13px;
    font-weight: 720;
}

.demo-form input,
.demo-form select {
    width: 100%;
    min-height: 52px;
    padding: 0 15px;
    color: var(--ink);
    font: inherit;
    font-size: 15px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.demo-form input:focus,
.demo-form select:focus,
.demo-form input:focus-visible,
.demo-form select:focus-visible {
    outline: none;
    background: #fff;
    border-color: #b9c5d4;
    box-shadow: none;
}

.demo-form button {
    width: 100%;
    margin-top: 8px;
    border: 0;
    cursor: pointer;
}

.site-footer {
    display: grid;
    grid-template-columns: minmax(220px, .72fr) minmax(380px, 1fr) minmax(190px, .56fr);
    align-items: start;
    justify-content: space-between;
    gap: clamp(24px, 4vw, 56px);
    padding-top: 34px;
    padding-bottom: 36px;
    color: var(--muted);
}

.footer-brand {
    display: grid;
    gap: 16px;
}

.footer-brand img {
    width: 170px;
    height: auto;
}

.footer-brand p,
.footer-contact a {
    font-size: 14px;
}

.footer-brand p {
    max-width: 260px;
    font-weight: 500;
    line-height: 1.45;
}

.footer-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(130px, 1fr));
    gap: 10px 28px;
}

.footer-nav a {
    color: var(--ink-soft);
    font-size: 14px;
    font-weight: 650;
    line-height: 1.35;
}

.footer-contact a {
    color: var(--ink-soft);
    font-size: 14px;
    font-weight: 650;
    line-height: 1.35;
}

.footer-contact {
    display: grid;
    gap: 10px;
    justify-items: end;
    font-style: normal;
}

:focus-visible {
    outline: 3px solid rgba(20, 99, 255, .32);
    outline-offset: 3px;
}

@media (max-width: 1180px) {
    .hero-section,
    .modules-section,
    .measurement-section,
    .demo-section {
        grid-template-columns: 1fr;
    }

    .hero-section {
        min-height: 0;
    }

    .modules-section .section-intro {
        position: static;
    }
}

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

    .cockpit-rail {
        display: none;
    }

    .signal-grid,
    .cockpit-bottom,
    .orchestration-map,
    .buyer-system,
    .buyer-lane,
    .measurement-system,
    .measurement-grid,
    .logo-row {
        grid-template-columns: 1fr;
    }

    .workflow-path {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: 42px;
    }

    .workflow-stage {
        min-height: 188px;
        padding: 24px;
    }

    .metric-grid {
        margin-top: 40px;
    }

    .metric-card {
        min-height: 260px;
        padding: 28px 24px;
    }

    .logo-row img {
        height: 96px;
    }

    .orchestration-map {
        gap: 18px;
    }

    .source-stack {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .demo-section {
        margin-right: var(--gutter);
        margin-left: var(--gutter);
        width: auto;
    }

    .buyer-orbit {
        min-height: 520px;
    }

    .site-footer {
        grid-template-columns: minmax(210px, .58fr) minmax(0, 1fr);
        gap: 24px 42px;
        padding-top: 30px;
        padding-bottom: 32px;
    }

    .footer-brand {
        gap: 14px;
    }

    .footer-nav {
        grid-column: 2;
        grid-row: 1 / span 2;
    }

    .footer-contact {
        grid-column: 1;
        grid-row: 2;
        justify-items: start;
    }
}

@media (max-width: 820px) {
    .site-header {
        grid-template-columns: auto minmax(0, 1fr) auto;
        gap: 12px;
        padding-top: 18px;
        padding-bottom: 18px;
    }

    .brand-link {
        min-width: 0;
    }

    .brand-link img {
        width: clamp(150px, 40vw, 176px);
    }

    .site-nav {
        display: none;
    }

    .header-cta {
        grid-column: 2;
        grid-row: 1;
        justify-self: end;
        min-width: 50px;
        width: 50px;
        min-height: 48px;
        padding: 0;
        font-size: 14px;
    }

    .cta-label-full {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
    }

    .cta-label-short {
        display: grid;
        place-items: center;
    }

    .nav-toggle {
        grid-column: 3;
        grid-row: 1;
        display: inline-grid;
        justify-self: end;
        place-content: center;
        justify-items: center;
        gap: 5px;
        width: 48px;
        height: 48px;
        padding: 0;
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 8px;
        box-shadow: 0 12px 24px rgba(8, 15, 31, .05);
        cursor: pointer;
    }

    .nav-toggle span {
        display: block;
        width: 22px;
        height: 2px;
        background: var(--ink);
        border-radius: 999px;
        transition: transform .2s ease, opacity .2s ease;
    }

    .nav-toggle:focus-visible {
        border-color: #b8c4d4;
    }

    .site-header.is-open .nav-toggle span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .site-header.is-open .nav-toggle span:nth-child(2) {
        opacity: 0;
    }

    .site-header.is-open .nav-toggle span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .site-header.is-open .site-nav {
        position: absolute;
        top: calc(100% + var(--gutter));
        right: var(--gutter);
        left: var(--gutter);
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        align-items: stretch;
        justify-content: stretch;
        justify-items: stretch;
        gap: 8px;
        padding: 10px;
        background: #eef1f4;
        border: 0;
        border-radius: 8px;
        box-shadow:
            0 0 0 1px rgba(102, 120, 143, .12),
            0 24px 64px rgba(8, 15, 31, .2),
            0 18px 46px rgba(233, 30, 121, .12);
    }

    .site-header.is-open .site-nav a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        min-height: 50px;
        padding: 0 16px;
        color: var(--ink);
        background: #fbfcfd;
        border: 0;
        border-radius: 6px;
        font-size: 15px;
        font-weight: 720;
    }

    .site-header.is-open .site-nav a::after {
        position: static;
        display: block;
        width: auto;
        height: auto;
        color: var(--muted);
        content: "→";
        background: none;
        transform: none;
    }

    .split-intro {
        grid-template-columns: 1fr;
    }

    .split-intro p {
        justify-self: start;
        max-width: 660px;
    }
}

@media (max-width: 640px) {
    .site-header {
        padding-top: 16px;
        padding-bottom: 16px;
    }

    .brand-link img {
        width: 156px;
    }

    .hero-section,
    .trust-section,
    .workflow-section,
    .outcomes-section,
    .modules-section,
    .buyers-section,
    .measurement-section,
    .demo-section,
    .site-footer {
        padding-top: 58px;
        padding-bottom: 62px;
        padding-right: 20px;
        padding-left: 20px;
    }

    .hero-copy h1 {
        font-size: clamp(48px, 15vw, 68px);
    }

    .hero-copy p {
        font-size: 20px;
    }

    .hero-actions,
    .button {
        width: 100%;
    }

    .care-cockpit {
        min-height: 0;
    }

    .cockpit-main {
        padding: 18px;
    }

    .patient-bar,
    .integration-strip,
    .module-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .integration-strip {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        justify-content: stretch;
    }

    .integration-strip span:first-child {
        grid-column: 1 / -1;
    }

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

    .workflow-path,
    .metric-grid {
        grid-template-columns: 1fr;
    }

    .workflow-stage,
    .metric-card {
        min-height: 0;
    }

    .timeline-panel {
        padding: 22px;
    }

    .risk-marker {
        position: static;
        margin-top: 24px;
    }

    .outcomes-header {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .outcomes-header img {
        justify-self: start;
        width: 168px;
        height: 78px;
    }

    .metric-grid {
        margin-top: 28px;
    }

    .module-row {
        display: grid;
        grid-template-columns: 64px minmax(0, 1fr);
        min-height: 0;
        padding: 18px 0;
    }

    .module-list::before,
    .module-icon {
        position: static;
    }

    .module-status {
        grid-column: 2;
        width: max-content;
    }

    .site-footer {
        grid-template-columns: 1fr;
        gap: 22px;
        padding-top: 42px;
        padding-bottom: 46px;
    }

    .footer-nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px 20px;
        grid-column: auto;
        grid-row: auto;
        margin: 6px 0 8px;
    }

    .demo-section {
        margin-top: 20px;
    }

    .buyer-orbit {
        min-height: 420px;
    }

    .footer-contact {
        grid-column: auto;
        grid-row: auto;
        justify-items: start;
    }

    .buyer-lane,
    .measurement-grid article,
    .optimization-loop,
    .demo-form {
        padding: 22px;
    }

    .orbit-ring {
        width: min(360px, calc(100% - 60px));
    }

    .orbit-core {
        width: 188px;
        height: 188px;
    }

    .orbit-core strong {
        font-size: 20px;
    }
}

@media (max-width: 380px) {
    .brand-link img {
        width: 136px;
    }

    .header-cta {
        min-width: 44px;
        width: 44px;
        min-height: 44px;
    }

    .nav-toggle {
        width: 44px;
        height: 44px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}
