/* BASE */
:root {
  color-scheme: light;
  --navy: #0b3b60;
  --navy-deep: #082e4c;
  --teal: #0ea5a4;
  --teal-dark: #078a8a;
  --cyan: #38bdf8;
  --ink: #102a43;
  --muted: #60758a;
  --muted-light: #8294a5;
  --line: #e4edf2;
  --surface: #ffffff;
  --background: #f7fafc;
  --soft-shadow: 0 18px 50px rgba(14, 48, 74, 0.08);
  --font-body: "DM Sans", sans-serif;
  --font-display: "Manrope", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--surface); color: var(--ink); font-family: var(--font-body); -webkit-font-smoothing: antialiased; }
body, button, a { font-family: var(--font-body); }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
::selection { color: #fff; background: var(--teal); }
.container { width: min(1320px, calc(100% - 64px)); margin-inline: auto; }
.section { padding: 112px 0; }
.section-shell { position: relative; overflow: hidden; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); }

/* NAVBAR */
.site-header { position: sticky; z-index: 50; top: 0; background: rgba(255, 255, 255, .88); border-bottom: 1px solid rgba(223, 234, 240, .72); backdrop-filter: blur(18px); transition: box-shadow .25s ease, background .25s ease; }
.site-header.is-scrolled { background: rgba(255, 255, 255, .96); box-shadow: 0 8px 30px rgba(11, 59, 96, .08); }
.navbar { display: flex; min-height: 82px; align-items: center; justify-content: space-between; transition: min-height .25s ease; }
.is-scrolled .navbar { min-height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); font-family: var(--font-display); font-size: 26px; font-weight: 800; letter-spacing: -.9px; white-space: nowrap; }
.brand-mark { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 12px; background: linear-gradient(145deg, var(--teal), color-mix(in srgb, var(--teal) 81.9%, #ffffff)); color: white; box-shadow: 0 6px 13px color-mix(in srgb, var(--teal) 20%, transparent); }
.brand-mark svg { width: 20px; height: 20px; stroke-width: 2.4; }
.brand-accent { color: var(--teal); }
.nav-menu, .nav-links, .nav-actions { display: flex; align-items: center; }
.nav-menu { flex: 1; justify-content: flex-end; gap: 48px; }
.nav-links { gap: 30px; }
.nav-links a, .nav-signin { color: #52687b; font-size: 15.5px; font-weight: 600; transition: color .2s ease; }
.nav-links a:hover, .nav-signin:hover { color: var(--teal-dark); }
.nav-actions { gap: 23px; }
.menu-toggle { display: none; border: 0; background: transparent; cursor: pointer; }

/* BUTTONS */
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 11px; padding: 0 23px; border: 1px solid transparent; border-radius: 12px; font-size: 15.5px; font-weight: 700; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--teal); color: #fff; box-shadow: 0 10px 24px color-mix(in srgb, var(--teal) 20%, transparent); }
.button-primary:hover { background: var(--teal-dark); box-shadow: 0 13px 28px color-mix(in srgb, var(--teal) 28%, transparent); }
.button-primary span { font-size: 21.5px; line-height: 1; }
.button-small { min-height: 42px; padding: 0 17px; border-radius: 9px; font-size: 14.5px; }
.button-secondary { border-color: #dce7ed; background: rgba(255,255,255,.68); color: var(--navy); }
.button-secondary:hover { border-color: color-mix(in srgb, var(--teal) 21.7%, #e6e6e6); background: white; box-shadow: 0 8px 20px rgba(16,42,67,.06); }
.play-icon { display: grid; width: 22px; height: 22px; place-items: center; border-radius: 50%; background: color-mix(in srgb, var(--teal) 9.8%, #ffffff); color: var(--teal); }
.play-icon svg { width: 11px; height: 11px; fill: currentColor; stroke-width: 1.5; }

/* HERO */
.hero { min-height: 650px; padding: 73px 0 68px; background: linear-gradient(180deg, #f7fbfd 0%, color-mix(in srgb, var(--teal) 2.5%, #ffffff) 76%, #fff 100%); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr .94fr; align-items: center; gap: 56px; }
.hero-copy { position: relative; z-index: 2; padding: 0 0 13px 7px; }
.eyebrow, .section-kicker { display: inline-flex; align-items: center; gap: 9px; color: var(--teal-dark); font-size: 12px; font-weight: 800; letter-spacing: 1.35px; text-transform: uppercase; }
.eyebrow { margin-bottom: 20px; padding: 9px 12px; border: 1px solid color-mix(in srgb, var(--teal) 15.2%, #fbfbfb); border-radius: 30px; background: rgba(255,255,255,.74); }
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px color-mix(in srgb, var(--teal) 12%, transparent); }
.hero h1 { max-width: 590px; margin: 0 0 19px; color: var(--navy-deep); font-size: clamp(44px, 5.1vw, 62px); font-weight: 800; letter-spacing: -3.5px; line-height: 1.1; }
.text-highlight { color: var(--teal); }
.hero-description { max-width: 520px; margin-bottom: 27px; color: #5d7183; font-size: 17px; line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-reassurance { display: flex; align-items: center; gap: 11px; margin-top: 26px; }
.reassurance-icon { display: grid; width: 33px; height: 33px; place-items: center; border-radius: 10px; background: color-mix(in srgb, var(--teal) 9.1%, #fefefe); color: var(--teal); }
.reassurance-icon svg { width: 17px; height: 17px; }
.hero-reassurance p { margin: 0; color: #718294; font-size: 14.5px; line-height: 1.65; }
.hero-reassurance strong { color: var(--navy); font-weight: 700; }
.hero-footnote { display: flex; align-items: center; gap: 10px; margin-top: 42px; color: #8a9aa8; font-size: 13px; font-weight: 600; letter-spacing: .1px; }
.footnote-line { width: 27px; height: 1px; background: color-mix(in srgb, var(--teal) 30.8%, #eeeeee); }
.hero-visual { position: relative; display: flex; min-height: 525px; align-items: center; justify-content: center; }
.hero-glow { position: absolute; pointer-events: none; border-radius: 50%; filter: blur(2px); }
.hero-glow-one { top: 8%; right: 1%; width: 350px; height: 350px; background: radial-gradient(circle, rgba(56,189,248,.12), transparent 70%); }
.hero-glow-two { bottom: 2%; left: 2%; width: 300px; height: 300px; background: radial-gradient(circle, color-mix(in srgb, var(--teal) 10%, transparent), transparent 70%); }
.orbit { position: absolute; border: 1px solid color-mix(in srgb, var(--teal) 12%, transparent); border-radius: 50%; }
.orbit-one { width: 470px; height: 470px; }
.orbit-two { width: 545px; height: 545px; }
.recommendation-card { position: relative; z-index: 2; width: 398px; padding: 21px; border: 1px solid #e7eef2; border-radius: 20px; background: rgba(255,255,255,.97); box-shadow: 0 25px 70px rgba(11,59,96,.14), 0 4px 12px rgba(11,59,96,.04); }
.dashboard-head, .dashboard-title, .hospital-preview, .context-row, .context-item, .breakdown-heading, .metric, .hospital-info { display: flex; }
.dashboard-head { align-items: flex-start; justify-content: space-between; margin-bottom: 18px; }
.dashboard-title { align-items: center; gap: 10px; }
.dashboard-symbol { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 11px; background: color-mix(in srgb, var(--teal) 9.1%, #ffffff); color: var(--teal); }
.dashboard-symbol svg { width: 18px; height: 18px; }
.dashboard-title strong, .dashboard-title small { display: block; }
.dashboard-title strong { color: var(--navy); font-family: var(--font-display); font-size: 15.5px; }
.dashboard-title small { margin-top: 3px; color: #94a2ad; font-size: 11px; }
.status-dot { width: 8px; height: 8px; margin-top: 8px; border-radius: 50%; background: #41c79c; box-shadow: 0 0 0 4px #e9f8f2; }
.request-box { padding: 13px 14px; border: 1px solid #e9f0f3; border-radius: 11px; background: #fbfdfe; }
.field-label { display: block; color: #91a1af; font-size: 9.5px; font-weight: 800; letter-spacing: .85px; }
.request-box .field-label { display: flex; align-items: center; gap: 6px; }
.request-box .field-label svg { width: 12px; height: 12px; color: var(--teal); }
.request-box p { margin: 8px 0 0; color: #40596c; font-size: 14.5px; font-weight: 600; }
.context-row { gap: 10px; margin: 14px 0; }
.context-item { flex: 1; flex-direction: column; gap: 7px; }
.context-value { display: inline-flex; align-items: center; gap: 5px; color: #435d70; font-size: 12px; font-weight: 600; }
.context-value svg { width: 13px; height: 13px; color: var(--teal); }
.hospital-preview { align-items: center; gap: 10px; padding: 13px 0 11px; border-top: 1px solid #eef2f4; }
.hospital-avatar { display: grid; flex: 0 0 auto; width: 40px; height: 40px; place-items: center; border-radius: 12px; background: color-mix(in srgb, var(--teal) 9.2%, #ffffff); color: var(--teal); }
.hospital-avatar svg { width: 19px; height: 19px; }
.hospital-info { min-width: 0; flex: 1; flex-direction: column; gap: 3px; }
.hospital-info strong { overflow: hidden; color: var(--navy); font-family: var(--font-display); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.hospital-location { color: #91a0ac; font-size: 11px; }
.match-score { padding-left: 8px; text-align: right; }
.match-score strong, .match-score span { display: block; }
.match-score strong { color: var(--teal-dark); font-family: var(--font-display); font-size: 26px; line-height: 1; }
.match-score strong small { font-size: 14.5px; }
.match-score span { margin-top: 3px; color: #99a6b0; font-size: 9.5px; }
.specialty-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.specialty-tags span { padding: 5px 7px; border-radius: 5px; background: color-mix(in srgb, var(--teal) 6.7%, #fefefe); color: color-mix(in srgb, var(--teal) 47.5%, #757575); font-size: 9.5px; font-weight: 600; }
.match-breakdown { margin-top: 14px; padding-top: 12px; border-top: 1px solid #eef2f4; }
.breakdown-heading { align-items: center; justify-content: space-between; margin-bottom: 9px; color: #52687a; font-size: 11px; font-weight: 700; }
.info-mark { display: grid; width: 13px; height: 13px; place-items: center; border: 1px solid #cbd8df; border-radius: 50%; color: #8293a0; font-size: 9.5px; }
.metric { align-items: center; gap: 8px; margin-top: 7px; color: #80919e; font-size: 9.5px; }
.metric > span { width: 70px; }
.metric strong { width: 26px; color: #587082; font-size: 9.5px; text-align: right; }
.metric-track { height: 4px; flex: 1; overflow: hidden; border-radius: 8px; background: #edf2f4; }
.metric-track span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--teal), color-mix(in srgb, var(--teal) 71%, #ffffff)); }
.button-card { width: 100%; min-height: 36px; margin-top: 15px; border-color: color-mix(in srgb, var(--teal) 7.3%, #f6f6f6); border-radius: 8px; background: white; color: var(--navy); font-size: 12px; }
.button-card:hover { border-color: color-mix(in srgb, var(--teal) 23.7%, #f2f2f2); background: color-mix(in srgb, var(--teal) 2.4%, #fefefe); }
.button-card svg { width: 13px; height: 13px; }
.floating-note { position: absolute; z-index: 3; display: flex; align-items: center; gap: 9px; padding: 11px 14px; border: 1px solid rgba(226,236,241,.9); border-radius: 12px; background: rgba(255,255,255,.96); box-shadow: 0 9px 30px rgba(11,59,96,.1); }
.floating-note-top { top: 53px; right: -4px; }
.floating-note-bottom { bottom: 48px; left: -21px; }
.floating-note strong, .floating-note small { display: block; }
.floating-note strong { color: var(--navy); font-family: var(--font-display); font-size: 11px; }
.floating-note small { margin-top: 3px; color: #8799a7; font-size: 9.5px; }
.floating-icon, .verified-icon { display: grid; width: 29px; height: 29px; place-items: center; border-radius: 9px; background: color-mix(in srgb, var(--teal) 9.1%, #ffffff); color: var(--teal); }
.floating-icon svg { width: 15px; height: 15px; }
.verified-icon { background: #eaf8f1; color: #37a67c; }
.verified-icon svg { width: 14px; height: 14px; stroke-width: 3; }
.demo-caption { position: absolute; right: 8px; bottom: 5px; display: flex; align-items: center; gap: 6px; margin: 0; color: #92a1ae; font-size: 11px; }
.demo-caption span { width: 5px; height: 5px; border-radius: 50%; background: var(--teal); }

/* TRUST */
.trust-section { padding: 34px 0 29px; border-top: 1px solid #edf2f4; border-bottom: 1px solid #edf2f4; background: #fff; }
.trust-heading { margin-bottom: 21px; color: #788998; font-family: var(--font-display); font-size: 14.5px; font-weight: 700; text-align: center; }
.trust-items { display: flex; align-items: center; justify-content: center; gap: clamp(28px, 8vw, 105px); }
.trust-item { display: flex; align-items: center; gap: 9px; color: #405c70; font-size: 13px; font-weight: 700; }
.trust-item > span { display: grid; width: 27px; height: 27px; place-items: center; border-radius: 8px; background: color-mix(in srgb, var(--teal) 7.1%, #fefefe); color: var(--teal); }
.trust-item svg { width: 14px; height: 14px; }
.trust-disclaimer { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 20px 0 0; color: #9aa7b1; font-size: 11px; }
.trust-disclaimer svg { width: 12px; height: 12px; }

/* SECTION HEADERS / PROBLEM */
.section-heading { max-width: 620px; margin-bottom: 39px; }
.section-heading h2, .responsible-copy h2, .cta-content h2 { margin: 14px 0 13px; color: var(--navy-deep); font-size: clamp(31px, 3.5vw, 43px); font-weight: 800; letter-spacing: -1.8px; line-height: 1.2; }
.section-heading p { max-width: 585px; margin-bottom: 0; color: var(--muted); font-size: 15.5px; line-height: 1.75; }
.section-heading-centered { margin-right: auto; margin-left: auto; text-align: center; }
.section-heading-centered p { margin-right: auto; margin-left: auto; }
.problem-section { padding-bottom: 117px; }
.problem-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.problem-card { position: relative; min-height: 218px; padding: 23px 21px; overflow: hidden; border: 1px solid #e8eff3; border-radius: 15px; background: white; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.problem-card:hover, .feature-card:hover { transform: translateY(-5px); border-color: color-mix(in srgb, var(--teal) 16.6%, #f3f3f3); box-shadow: 0 18px 34px rgba(11,59,96,.08); }
.icon-tile { display: grid; width: 42px; height: 42px; place-items: center; margin-bottom: 18px; border-radius: 12px; }
.icon-tile svg { width: 20px; height: 20px; }
.icon-blue { background: #edf5ff; color: #558bd5; }
.icon-teal { background: color-mix(in srgb, var(--teal) 9.1%, #ffffff); color: color-mix(in srgb, var(--teal) 93.7%, #8d8d8d); }
.icon-violet { background: #f4efff; color: #9470d3; }
.icon-amber { background: #fff6e7; color: #d39a39; }
.problem-card h3, .feature-card h3 { margin: 0 0 9px; color: var(--navy); font-size: 15.5px; font-weight: 800; letter-spacing: -.25px; }
.problem-card p, .feature-card p { margin: 0; color: #758797; font-size: 13px; line-height: 1.75; }
.card-index { position: absolute; right: 17px; bottom: 13px; color: #e4ecef; font-family: var(--font-display); font-size: 24.5px; font-weight: 800; }

/* PROCESS */
.process-section { padding: 105px 0 112px; background: #f7fafc; }
.process-section .section-heading { margin-bottom: 54px; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.process-step { position: relative; padding: 0 6px; }
.step-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.step-number { color: #b3c2cc; font-family: var(--font-display); font-size: 14.5px; font-weight: 800; letter-spacing: 1px; transition: color .3s ease; }
.step-icon { display: grid; width: 50px; height: 50px; place-items: center; border: 1px solid color-mix(in srgb, var(--teal) 12.2%, #f5f5f5); border-radius: 15px; background: white; color: var(--teal); box-shadow: 0 6px 16px rgba(11,59,96,.04); transition: transform .35s ease, background .35s ease; }
.step-icon svg { width: 22px; height: 22px; }
.process-step.is-visible .step-icon { transform: translateY(-3px); background: color-mix(in srgb, var(--teal) 8.6%, #ffffff); }
.process-step.is-visible .step-number { color: var(--teal); }
.process-step h3 { margin: 0 0 8px; color: var(--navy); font-size: 15.5px; font-weight: 800; }
.process-step p { max-width: 225px; margin: 0; color: #718495; font-size: 13px; line-height: 1.75; }
.step-connector { position: absolute; top: 19px; left: calc(100% - 5px); display: flex; width: 36px; align-items: center; color: color-mix(in srgb, var(--teal) 23.9%, #dbdbdb); }
.step-connector::before { width: 25px; height: 1px; background: color-mix(in srgb, var(--teal) 15.1%, #e8e8e8); content: ""; }
.step-connector svg { width: 13px; height: 13px; margin-left: -2px; }

/* RECOMMENDATION PREVIEW */
.preview-section { padding: 112px 0 104px; }
.preview-section .section-heading { margin-bottom: 38px; }
.preview-shell { display: grid; grid-template-columns: .8fr 1.2fr; gap: 34px; padding: 28px; border: 1px solid #e4edf1; border-radius: 20px; background: linear-gradient(135deg,#fbfdfe,#f8fbfc); box-shadow: 0 18px 54px rgba(11,59,96,.06); }
.preview-request { padding: 20px 20px 18px; border: 1px solid #e7eef2; border-radius: 14px; background: #fff; }
.preview-topline { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.preview-icon { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 11px; background: color-mix(in srgb, var(--teal) 8.3%, #fefefe); color: var(--teal); }
.preview-icon svg { width: 17px; height: 17px; }
.demo-pill { padding: 6px 8px; border-radius: 5px; background: color-mix(in srgb, var(--teal) 9.2%, #ffffff); color: color-mix(in srgb, var(--teal) 76.5%, #494949); font-size: 9.5px; font-weight: 800; letter-spacing: .7px; }
.preview-request blockquote { margin: 10px 0 23px; color: var(--navy); font-family: var(--font-display); font-size: 21.5px; font-weight: 700; letter-spacing: -.55px; line-height: 1.45; }
.detected-context { padding: 15px; border: 1px solid #e8eff2; border-radius: 10px; background: #fbfdfe; }
.detected-context h3 { display: flex; align-items: center; gap: 7px; margin: 0 0 15px; color: var(--navy); font-size: 13px; }
.detected-context h3 svg { width: 14px; height: 14px; color: var(--teal); }
.detected-row { display: flex; align-items: center; justify-content: space-between; padding-top: 10px; border-top: 1px solid #eef2f4; color: #8998a4; font-size: 12px; }
.detected-row + .detected-row { margin-top: 10px; }
.detected-row strong { display: inline-flex; align-items: center; gap: 5px; color: #435d70; font-size: 12px; }
.detected-row svg { width: 13px; height: 13px; color: var(--teal); }
.context-note { display: flex; align-items: flex-start; gap: 6px; margin: 14px 0 0; color: #91a0aa; font-size: 11px; line-height: 1.5; }
.context-note svg { flex: 0 0 auto; width: 13px; height: 13px; color: var(--teal); }
.preview-results { min-width: 0; }
.results-heading { display: flex; align-items: flex-end; justify-content: space-between; margin: 4px 0 14px; }
.results-heading h3 { margin: 5px 0 0; color: var(--navy); font-size: 19px; letter-spacing: -.5px; }
.results-count { color: #8b9ba7; font-size: 11px; }
.result-card { display: flex; min-height: 79px; align-items: center; gap: 11px; margin-top: 9px; padding: 11px 12px; border: 1px solid #e8eef1; border-radius: 11px; background: white; transition: transform .2s ease, box-shadow .2s ease; }
.result-card:hover { transform: translateX(3px); box-shadow: 0 7px 18px rgba(11,59,96,.06); }
.result-card-featured { border-color: color-mix(in srgb, var(--teal) 24.2%, #f5f5f5); box-shadow: 0 4px 12px color-mix(in srgb, var(--teal) 6%, transparent); }
.result-rank { align-self: flex-start; padding-top: 4px; color: #9bacb7; font-family: var(--font-display); font-size: 11px; font-weight: 800; }
.result-card .hospital-avatar { width: 36px; height: 36px; border-radius: 10px; }
.result-card .hospital-avatar svg { width: 17px; height: 17px; }
.avatar-teal { background: color-mix(in srgb, var(--teal) 9.6%, #fefefe); color: color-mix(in srgb, var(--teal) 88.7%, #818181); }
.avatar-blue { background: #edf4ff; color: #5989d0; }
.avatar-violet { background: #f4efff; color: #9270cf; }
.result-details { min-width: 0; flex: 1; }
.result-details h4 { overflow: hidden; margin: 0 0 4px; color: var(--navy); font-size: 12px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.result-details > span { display: flex; align-items: center; gap: 3px; margin-bottom: 6px; color: #8b9ba7; font-size: 9.5px; }
.result-details > span svg { width: 10px; height: 10px; }
.result-card .specialty-tags span { padding: 3px 5px; font-size: 8.5px; }
.result-match { padding-left: 5px; text-align: right; }
.result-match strong { display: block; color: var(--teal-dark); font-family: var(--font-display); font-size: 21.5px; line-height: 1; }
.result-match strong small { font-size: 12px; }
.result-match span { display: block; margin-top: 3px; color: #9aa8b2; font-size: 9.5px; }
.ranking-note { display: flex; align-items: flex-start; gap: 7px; margin: 15px 0 0; color: #8495a3; font-size: 12px; line-height: 1.65; }
.ranking-note svg { flex: 0 0 auto; width: 13px; height: 13px; color: var(--teal); }

/* FEATURES */
.features-section { padding-top: 104px; padding-bottom: 112px; background: #f8fbfc; }
.features-section .section-heading { margin-bottom: 37px; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.feature-card { position: relative; min-height: 202px; padding: 22px 21px; border: 1px solid #e6eef1; border-radius: 14px; background: white; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.feature-icon { display: grid; width: 39px; height: 39px; place-items: center; margin-bottom: 17px; border-radius: 11px; }
.feature-icon svg { width: 19px; height: 19px; }
.feature-teal { background: color-mix(in srgb, var(--teal) 9.1%, #ffffff); color: color-mix(in srgb, var(--teal) 89.4%, #505050); }
.feature-blue { background: #edf5ff; color: #558bd5; }
.feature-violet { background: #f3efff; color: #9470d3; }
.feature-amber { background: #fff5e5; color: #ce9639; }
.feature-cyan { background: #eaf7fd; color: #46a6cd; }
.feature-rose { background: #fff0f2; color: #d56c83; }
.feature-card p { max-width: 270px; }
.feature-arrow { position: absolute; top: 22px; right: 20px; color: #b7c7d0; font-size: 19px; transition: color .2s ease, transform .2s ease; }
.feature-card:hover .feature-arrow { transform: translate(2px,-2px); color: var(--teal); }
.reference-label { display: block; margin-top: 8px; color: #9a8c6f; font-size: 11px; font-style: italic; }

/* COMPARISON */
.comparison-section { padding-top: 108px; padding-bottom: 117px; }
.comparison-section .section-heading { margin-bottom: 39px; }
.comparison-grid { display: grid; max-width: 920px; grid-template-columns: 1fr 1fr; gap: 18px; margin: 0 auto; }
.comparison-column { position: relative; padding: 27px 30px 24px; border: 1px solid #e7edf0; border-radius: 16px; background: #fff; }
.comparison-column.traditional { background: #fafcfd; }
.comparison-column.mediroute-column { border: 1.5px solid color-mix(in srgb, var(--teal) 45.3%, #f6f6f6); background: linear-gradient(160deg,color-mix(in srgb, var(--teal) 5.6%, #ffffff),#fff 65%); box-shadow: 0 15px 38px color-mix(in srgb, var(--teal) 10%, transparent); }
.recommended-label { position: absolute; top: -11px; right: 19px; display: inline-flex; align-items: center; gap: 5px; padding: 5px 9px; border-radius: 6px; background: var(--teal); color: white; font-size: 8.5px; font-weight: 800; letter-spacing: .5px; }
.recommended-label svg { width: 11px; height: 11px; }
.comparison-title { display: flex; align-items: center; gap: 12px; margin-bottom: 21px; }
.comparison-title-icon { display: grid; width: 41px; height: 41px; place-items: center; border-radius: 12px; background: #eef3f5; color: #8293a0; }
.mediroute-column .comparison-title-icon { background: color-mix(in srgb, var(--teal) 11.9%, #ffffff); color: var(--teal); }
.comparison-title-icon svg { width: 19px; height: 19px; }
.comparison-title h3 { margin: 4px 0 0; color: var(--navy); font-size: 19px; }
.comparison-column ul { display: grid; gap: 13px; margin: 0; padding: 19px 0 0; border-top: 1px solid #e9eef1; list-style: none; }
.comparison-column li { display: flex; align-items: center; gap: 9px; color: #647a8b; font-size: 13px; }
.comparison-column li svg { width: 15px; height: 15px; flex: 0 0 auto; color: #a2b0b9; }
.mediroute-column li svg { color: var(--teal); stroke-width: 2.4; }

/* RESPONSIBLE AI */
.responsible-section { position: relative; overflow: hidden; padding: 100px 0 104px; background: #092f4e; color: white; }
.responsible-decoration { position: absolute; border: 1px solid color-mix(in srgb, var(--teal) 11%, transparent); border-radius: 50%; pointer-events: none; }
.responsible-decoration-one { top: -280px; right: -100px; width: 680px; height: 680px; }
.responsible-decoration-two { right: -20px; bottom: -390px; width: 690px; height: 690px; }
.responsible-content { position: relative; z-index: 1; display: grid; grid-template-columns: .88fr 1.12fr; align-items: center; gap: 82px; }
.kicker-light { color: color-mix(in srgb, var(--teal) 62.8%, #ffffff); }
.kicker-light span { width: 6px; height: 6px; border-radius: 50%; background: color-mix(in srgb, var(--teal) 62.8%, #ffffff); box-shadow: 0 0 0 4px color-mix(in srgb, var(--teal) 14%, transparent); }
.responsible-copy h2 { margin-top: 18px; color: white; }
.responsible-copy > p { max-width: 430px; margin-bottom: 20px; color: #b8cbd8; font-size: 15.5px; line-height: 1.85; }
.text-link { display: inline-flex; align-items: center; gap: 9px; font-size: 14.5px; font-weight: 700; }
.text-link-light { color: color-mix(in srgb, var(--teal) 50.6%, #ffffff); }
.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translateX(4px); }
.principles-grid { display: grid; gap: 11px; }
.principle-card { position: relative; display: flex; align-items: flex-start; gap: 13px; padding: 18px 18px 17px; border: 1px solid color-mix(in srgb, var(--teal) 13%, transparent); border-radius: 13px; background: rgba(255,255,255,.055); transition: background .2s ease, transform .2s ease; }
.principle-card:hover { transform: translateX(3px); background: rgba(255,255,255,.085); }
.principle-icon { display: grid; flex: 0 0 auto; width: 34px; height: 34px; place-items: center; border-radius: 10px; background: color-mix(in srgb, var(--teal) 14%, transparent); color: color-mix(in srgb, var(--teal) 55.9%, #ffffff); }
.principle-icon svg { width: 17px; height: 17px; }
.principle-card h3 { margin: 0 0 5px; color: white; font-size: 15.5px; }
.principle-card p { max-width: 340px; margin: 0; color: #b2c5d2; font-size: 12px; line-height: 1.65; }
.principle-index { position: absolute; top: 17px; right: 17px; color: rgba(210,232,240,.28); font-family: var(--font-display); font-size: 12px; font-weight: 800; }

/* FINAL CTA */
.cta-section { position: relative; overflow: hidden; padding: 88px 0 84px; background: color-mix(in srgb, var(--teal) 4.1%, #fefefe); text-align: center; }
.cta-content { position: relative; z-index: 1; }
.cta-content h2 { margin-top: 14px; font-size: clamp(34px, 4vw, 47px); }
.cta-content > p { max-width: 590px; margin: 0 auto 24px; color: var(--muted); font-size: 15.5px; line-height: 1.75; }
.cta-actions { display: flex; justify-content: center; gap: 11px; }
.cta-note { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; color: #81929f; font-size: 11px; }
.cta-note svg { width: 13px; height: 13px; color: var(--teal); }
.cta-orb { position: absolute; border-radius: 50%; pointer-events: none; }
.cta-orb-one { top: -145px; left: -60px; width: 340px; height: 340px; background: radial-gradient(circle,rgba(56,189,248,.1),transparent 70%); }
.cta-orb-two { right: -40px; bottom: -200px; width: 400px; height: 400px; background: radial-gradient(circle,color-mix(in srgb, var(--teal) 11%, transparent),transparent 70%); }

/* FOOTER */
.site-footer { padding: 57px 0 0; background: #072943; color: white; }
.footer-main { display: grid; grid-template-columns: 1.8fr repeat(4, 1fr); gap: 36px; padding-bottom: 43px; }
.brand-footer { color: white; }
.brand-footer .brand-mark { width: 32px; height: 32px; border-radius: 10px; }
.brand-footer .brand-mark svg { width: 18px; height: 18px; }
.footer-brand-block > p { max-width: 238px; margin: 15px 0 17px; color: #a9becb; font-size: 13px; line-height: 1.75; }
.footer-email { display: inline-flex; align-items: center; gap: 7px; color: color-mix(in srgb, var(--teal) 58.4%, #ffffff); font-size: 12px; font-weight: 700; }
.footer-email svg { width: 13px; height: 13px; }
.footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.footer-column h3 { margin: 4px 0 5px; color: white; font-size: 13px; }
.footer-column a { color: #a9becb; font-size: 12px; transition: color .2s ease; }
.footer-column a:hover { color: color-mix(in srgb, var(--teal) 56.4%, #ffffff); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 0; border-top: 1px solid rgba(208,231,239,.13); }
.footer-bottom p { display: flex; align-items: center; gap: 6px; margin: 0; color: #90a9b9; font-size: 11px; }
.footer-bottom svg { width: 12px; height: 12px; color: color-mix(in srgb, var(--teal) 58.4%, #ffffff); }

/* SCROLL REVEAL */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .65s ease, transform .65s cubic-bezier(.2,.7,.2,1); }
.reveal-delay { transition-delay: .14s; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* RESPONSIVE */
@media (max-width: 1050px) {
  .nav-menu { gap: 25px; }
  .nav-links { gap: 19px; }
  .hero-grid { grid-template-columns: .94fr 1fr; gap: 25px; }
  .hero h1 { font-size: 56.5px; }
  .hero-visual { transform: scale(.94); }
  .responsible-content { gap: 48px; }
  .footer-main { gap: 23px; }
}

@media (max-width: 820px) {
  .container { width: min(100% - 44px, 680px); }
  .section { padding: 83px 0; }
  .navbar { min-height: 72px; }
  .menu-toggle { display: grid; width: 41px; height: 41px; place-items: center; border: 1px solid color-mix(in srgb, var(--teal) 7.8%, #f5f5f5); border-radius: 10px; color: var(--navy); }
  .menu-toggle svg { width: 20px; height: 20px; }
  .nav-menu { position: absolute; top: calc(100% + 1px); right: 0; left: 0; display: none; align-items: stretch; gap: 20px; padding: 20px 24px 24px; border-bottom: 1px solid #e6eef1; background: white; box-shadow: 0 18px 25px rgba(11,59,96,.08); }
  .nav-menu.is-open { display: flex; flex-direction: column; }
  .nav-links { align-items: stretch; flex-direction: column; gap: 0; }
  .nav-links a { padding: 12px 0; border-bottom: 1px solid #f0f4f6; font-size: 15.5px; }
  .nav-actions { justify-content: space-between; }
  .hero { padding: 55px 0 45px; }
  .hero-grid { grid-template-columns: 1fr; gap: 7px; }
  .hero-copy { max-width: 620px; padding-left: 0; }
  .hero h1 { max-width: 570px; font-size: clamp(43px, 8vw, 59px); }
  .hero-visual { min-height: 510px; margin-top: 4px; transform: none; }
  .floating-note-top { right: max(2px, calc((100% - 450px) / 2)); }
  .floating-note-bottom { left: max(0px, calc((100% - 450px) / 2 - 18px)); }
  .demo-caption { right: max(0px, calc((100% - 450px) / 2)); }
  .trust-items { gap: 20px; }
  .trust-item { font-size: 12px; }
  .problem-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .process-step:nth-child(2) .step-connector { display: none; }
  .preview-shell { grid-template-columns: 1fr; gap: 22px; }
  .preview-request { padding: 19px; }
  .detected-context { max-width: 440px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .responsible-content { grid-template-columns: 1fr; gap: 38px; }
  .responsible-copy > p { max-width: 560px; }
  .footer-main { grid-template-columns: repeat(4, 1fr); }
  .footer-brand-block { grid-column: 1 / -1; }
  .footer-brand-block > p { max-width: 370px; }
}

@media (max-width: 540px) {
  .container { width: calc(100% - 36px); }
  html { scroll-padding-top: 72px; }
  .brand { font-size: 23.5px; }
  .hero { padding-top: 43px; }
  .eyebrow { margin-bottom: 17px; font-size: 9.5px; letter-spacing: 1px; }
  .hero h1 { font-size: clamp(39px, 10.5vw, 51px); letter-spacing: -2.6px; }
  .hero-description { font-size: 15.5px; }
  .hero-actions { align-items: stretch; flex-direction: column; max-width: 330px; }
  .hero-actions .button { width: 100%; }
  .hero-footnote { margin-top: 30px; }
  .hero-visual { min-height: 444px; margin: 5px -8px 0; }
  .recommendation-card { width: min(100%, 365px); padding: 17px; border-radius: 17px; }
  .orbit-one { width: 360px; height: 360px; }
  .orbit-two { width: 410px; height: 410px; }
  .floating-note { padding: 8px 10px; }
  .floating-note-top { top: 15px; right: 1px; }
  .floating-note-bottom { bottom: 21px; left: -1px; }
  .demo-caption { right: 4px; bottom: 0; }
  .trust-section { padding: 28px 0 24px; }
  .trust-heading { margin-bottom: 17px; font-size: 13px; }
  .trust-items { align-items: flex-start; flex-direction: column; gap: 11px; width: fit-content; margin: 0 auto; }
  .trust-item { font-size: 12px; }
  .trust-disclaimer { align-items: flex-start; font-size: 9.5px; line-height: 1.5; }
  .section { padding: 72px 0; }
  .section-heading { margin-bottom: 29px; }
  .section-heading h2, .responsible-copy h2 { font-size: 33.5px; letter-spacing: -1.4px; }
  .section-heading p { font-size: 14.5px; }
  .desktop-break { display: none; }
  .problem-grid { gap: 10px; }
  .problem-card { min-height: 205px; padding: 17px 15px; }
  .problem-card h3, .feature-card h3 { font-size: 14.5px; }
  .problem-card p, .feature-card p { font-size: 12px; }
  .icon-tile { width: 37px; height: 37px; margin-bottom: 14px; }
  .process-grid { column-gap: 17px; row-gap: 29px; }
  .process-step { padding: 0; }
  .step-connector { display: none; }
  .process-step h3 { font-size: 14.5px; }
  .process-step p { font-size: 12px; }
  .preview-shell { gap: 17px; padding: 14px; border-radius: 15px; }
  .preview-request { padding: 15px; }
  .preview-request blockquote { font-size: 19px; }
  .results-heading h3 { font-size: 17px; }
  .result-card { gap: 7px; padding: 9px 8px; }
  .result-card .hospital-avatar { width: 31px; height: 31px; }
  .result-details h4 { font-size: 11px; }
  .result-details .specialty-tags { gap: 3px; }
  .result-details .specialty-tags span { font-size: 7px; }
  .result-match strong { font-size: 19px; }
  .ranking-note { font-size: 11px; }
  .features-grid { gap: 10px; }
  .feature-card { min-height: 210px; padding: 16px 14px; }
  .feature-icon { width: 35px; height: 35px; margin-bottom: 13px; }
  .feature-arrow { top: 16px; right: 13px; }
  .comparison-grid { grid-template-columns: 1fr; gap: 22px; }
  .comparison-column { padding: 24px 20px; }
  .responsible-section { padding: 74px 0; }
  .principle-card { padding: 15px 13px; }
  .principle-card p { padding-right: 10px; font-size: 11px; }
  .cta-section { padding: 70px 0; }
  .cta-content h2 { font-size: 35.5px; letter-spacing: -1.6px; }
  .cta-content > p { font-size: 14.5px; }
  .cta-actions { align-items: center; flex-direction: column; }
  .cta-actions .button { width: min(100%, 310px); }
  .site-footer { padding-top: 43px; }
  .footer-main { grid-template-columns: repeat(2, 1fr); gap: 29px 19px; padding-bottom: 31px; }
  .footer-brand-block { grid-column: 1 / -1; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 10px; }
  .footer-bottom p { font-size: 9.5px; line-height: 1.55; }
}

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

/* AI icon in the hero label */
.eyebrow-ai { display: grid; width: 22px; height: 22px; place-items: center; border-radius: 50%; color: #fff;
  background: linear-gradient(135deg, var(--teal), color-mix(in srgb, var(--teal) 55%, #7c6bd6));
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--teal) 12%, transparent); }
.eyebrow-ai svg { width: 13px; height: 13px; stroke-width: 2.4; }

/* home preview: rank instead of a percentage; real reasons instead of made-up factor bars */
.match-score span, .result-match span { display: block; color: #6c8090; font-size: 12px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; }
.why-list { display: grid; gap: 6px; margin: 6px 0 0; padding: 0; list-style: none; }
.why-list li { display: flex; align-items: center; gap: 6px; color: #3f586a; font-size: 14.5px; }
.why-list svg { width: 14px; height: 14px; color: var(--teal); stroke-width: 2.6; }

/* wider layout: keep the footer logo whole and the hero badge clear of the card text */
footer .brand { flex-shrink: 0; }
.floating-note-bottom { bottom: -22px; }
.patient-footer .brand-footer, .results-footer .brand-footer, .hospital-footer .brand-footer, .admin-footer .brand-footer { color: var(--navy); }

/* home: larger preview card (desktop) */
@media (min-width: 1051px) {
  .recommendation-card { width: 470px; padding: 26px; }
  .orbit-one { width: 540px; height: 540px; }
  .orbit-two { width: 625px; height: 625px; }
  .hero-visual { min-height: 600px; }
  .dashboard-title strong { font-size: 18px; }
  .dashboard-title small { font-size: 13px; }
  .field-label { font-size: 11px; }
  .request-box p { font-size: 16.5px; }
  .context-value { font-size: 14.5px; }
  .hospital-info strong { font-size: 15px; }
  .hospital-location { font-size: 13px; }
  .specialty-tags span { font-size: 12px; }
  .match-score strong { font-size: 32px; }
  .why-list li { font-size: 15.5px; }
  .button-card { min-height: 42px; font-size: 14px; }
}
/* home: keep the badge and caption attached to the larger card */
@media (min-width: 1051px) {
  .floating-note-bottom { bottom: -5px; }   /* straddles the card's bottom edge, just below "View Details" */
  .demo-caption { right: calc((100% - 470px) / 2); bottom: 8px; }  /* right under the card, aligned to its right edge */
}
