/* Panacea public landing — isolated from the application design system. */
:root {
    color-scheme: dark;
    --bg: #0b1212;
    --surface: #101b19;
    --text: #f0f5f2;
    --muted: #a6b7b3;
    --accent: #8ae0bc;
    --line: #263633;
    --radius: 18px;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-synthesis: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--bg); color: var(--text); font-size: 15px; line-height: 1.65; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
svg { display: block; width: 24px; height: 24px; flex: 0 0 auto; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { text-wrap: balance; }
p { overflow-wrap: break-word; }
::selection { background: #8ae0bc; color: #10211c; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; border-radius: 4px; }
.container { width: calc(100% - 96px); max-width: 1240px; margin-inline: auto; }
.section { padding-block: 104px; }
.eyebrow, .overline { font-size: 10px; font-weight: 600; letter-spacing: .14em; line-height: 1.6; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 9px; margin-bottom: 22px; color: var(--accent); }
.overline { color: var(--muted); }
h2 { font-size: clamp(32px, 3.3vw, 44px); font-weight: 500; line-height: 1.2; letter-spacing: -.045em; }
h3 { font-size: 23px; font-weight: 500; line-height: 1.32; letter-spacing: -.03em; }
h4 { font-size: 16px; font-weight: 600; line-height: 1.4; letter-spacing: -.02em; }
.accent { color: var(--accent); }
.section-lead { font-size: 17px; line-height: 1.75; color: var(--muted); }
.section-heading { margin-bottom: 46px; }
.section-heading > p:last-child:not(.eyebrow) { max-width: 720px; margin-top: 22px; color: var(--muted); }
.split-heading { display: grid; grid-template-columns: 1.2fr 1fr; gap: 100px; align-items: end; }
.split-heading > p:last-child { max-width: 430px; margin: 0 0 3px; }
.skip-link { position: fixed; z-index: 100; top: -80px; left: 24px; padding: 12px 20px; background: var(--accent); color: #10211c; font-weight: 600; border-radius: 8px; }
.skip-link:focus { top: 12px; }

/* Navigation and shared actions. */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(11, 18, 18, .95); border-bottom: 1px solid rgba(166, 183, 179, .13); backdrop-filter: blur(18px); }
.navigation { height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-size: 22px; font-weight: 600; letter-spacing: -.055em; white-space: nowrap; }
.brand-mark { display: flex; align-items: center; justify-content: center; width: 29px; height: 29px; color: var(--accent); }
.brand-mark svg { width: 28px; height: 28px; }
.brand-web { margin-left: -4px; padding-top: 3px; color: var(--muted); font-size: 12px; font-weight: 400; letter-spacing: -.02em; }
.nav-links { display: flex; align-items: center; gap: 25px; }
.nav-links a { font-size: 12px; font-weight: 500; color: #bbc8c3; white-space: nowrap; transition: color .16s ease; }
.nav-links a:hover { color: var(--accent); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 14px; min-height: 50px; padding: 13px 20px; border: 1px solid transparent; border-radius: 7px; font-size: 13px; font-weight: 600; line-height: 1.5; text-align: center; transition: background .16s ease, border-color .16s ease, transform .16s ease; }
.button svg { width: 18px; height: 18px; }
.button-primary { color: #10271d; background: var(--accent); }
.button-primary:hover { background: #a2edcd; transform: translateY(-1px); }
.button-secondary { border-color: #3a4b44; background: transparent; color: var(--text); }
.button-secondary:hover { background: #18251f; border-color: #759384; }
.button-small { min-height: 40px; padding: 9px 14px; font-size: 12px; gap: 8px; }
.button-quiet { border-color: var(--line); background: #12211c; }
.button-quiet:hover { background: #20382b; border-color: #577866; }
.button-row { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.text-link { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; color: var(--accent); line-height: 1.6; }
.text-link svg { width: 18px; height: 18px; transition: transform .16s ease; }
.text-link:hover svg { transform: translateX(3px); }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.menu-toggle { display: none; flex-direction: column; align-items: center; justify-content: center; gap: 6px; width: 40px; height: 40px; border: 1px solid var(--line); background: transparent; border-radius: 6px; }
.menu-toggle span { width: 17px; height: 1px; background: var(--text); transition: transform .16s ease; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.status-dot, .dot { display: inline-block; width: 6px; height: 6px; flex: 0 0 6px; border-radius: 50%; background: var(--accent); }
.dot.amber { background: #e9bd7d; }
.dot.mint { background: #8ae0bc; }

/* Hero: illustrative UI rather than a simulated patient result. */
.hero { padding-top: 90px; padding-bottom: 0; background: radial-gradient(ellipse at 78% 32%, rgba(46, 90, 69, .16), transparent 57%); }
.hero-grid { display: grid; grid-template-columns: 1.08fr 1fr; align-items: center; gap: 74px; }
.hero-copy, .hero-visual { min-width: 0; }
.hero h1 { font-size: clamp(40px, 4.35vw, 58px); font-weight: 500; line-height: 1.09; letter-spacing: -.057em; }
.hero h1 > span { color: var(--accent); }
.hero-lead { max-width: 460px; margin-top: 27px; margin-bottom: 29px; color: var(--muted); font-size: 15px; line-height: 1.85; }
.hero-note { margin-top: 18px; color: #83998f; font-size: 11px; line-height: 1.6; }
.workspace-preview { background: #0f1b17; border: 1px solid #385045; border-radius: 15px; box-shadow: 0 28px 64px rgba(0, 0, 0, .22), 0 1px 0 rgba(255, 255, 255, .03) inset; transform: rotate(-1deg); }
.preview-header { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; min-height: 52px; padding: 14px 20px; border-bottom: 1px solid #2a3b32; }
.preview-brand { display: inline-flex; align-items: center; gap: 9px; font-size: 12px; font-weight: 500; color: #d8e8dc; }
.preview-brand svg { width: 17px; height: 17px; color: var(--accent); }
.preview-label { color: #8fa998; font-size: 8px; letter-spacing: .1em; }
.preview-body { padding: 24px; }
.preview-breadcrumb { display: flex; gap: 9px; color: #8ca392; font-size: 10px; }
.preview-breadcrumb > span { color: #526e5d; }
.preview-body h2 { margin-top: 17px; font-size: clamp(20px, 2.15vw, 28px); line-height: 1.3; letter-spacing: -.035em; }
.reasoning-map { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; margin-top: 23px; }
.map-cell { min-width: 0; padding: 14px; border: 1px solid #304339; border-radius: 8px; background: #14251d; }
.cell-label { display: flex; align-items: center; gap: 6px; font-size: 9px; color: #a8bcae; }
.cell-label .dot { width: 4px; height: 4px; flex-basis: 4px; }
.map-cell strong { display: block; margin-top: 8px; font-size: 12px; font-weight: 500; }
.map-cell p { margin-top: 3px; color: #8da795; font-size: 10px; line-height: 1.6; }
.map-connector { grid-column: 1 / -1; display: flex; align-items: flex-start; justify-content: center; height: 28px; position: relative; }
.map-connector > span { position: absolute; top: 0; width: 25%; height: 11px; border-bottom: 1px solid #3d5a49; }
.map-connector > span:first-child { right: 50%; border-left: 1px solid #3d5a49; border-bottom-left-radius: 4px; }
.map-connector > span:last-child { left: 50%; border-right: 1px solid #3d5a49; border-bottom-right-radius: 4px; }
.map-connector svg { position: relative; z-index: 1; width: 18px; height: 18px; margin-top: 9px; color: #719d80; transform: rotate(90deg); }
.map-question { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; padding: 13px 15px; border: 1px solid #456a52; border-radius: 8px; background: #203b29; }
.map-question > svg { width: 21px; height: 21px; color: var(--accent); }
.map-question span { display: block; font-size: 9px; color: #a3c8ad; }
.map-question strong { display: block; margin-top: 2px; font-size: 12px; font-weight: 500; line-height: 1.5; }
.preview-conversation { display: flex; align-items: flex-start; gap: 10px; margin-top: 20px; }
.ai-avatar { display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; flex: 0 0 24px; border: 1px solid #45634e; border-radius: 7px; background: #294530; color: #c1e2c2; font-size: 11px; font-weight: 600; }
.preview-conversation p { color: #b8cdbd; font-size: 11px; line-height: 1.8; }
.preview-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 15px; padding-left: 34px; }
.preview-tags span { padding: 3px 7px; border: 1px solid #2e4436; border-radius: 4px; color: #a4bfae; font-size: 9px; }
.preview-footer { display: flex; align-items: center; gap: 7px; padding: 12px 22px; border-top: 1px solid #293c30; color: #a3b9a9; font-size: 10px; }
.preview-footer .status-dot { width: 4px; height: 4px; flex-basis: 4px; }
.visual-caption { margin-top: 21px; color: #7c9587; font-size: 10px; text-align: center; }
.product-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin-top: 82px; padding-block: 31px 33px; border-top: 1px solid var(--line); }
.product-strip > div { display: flex; align-items: center; gap: 15px; min-width: 0; }
.product-strip svg { width: 22px; height: 22px; color: #8eb89e; }
.product-strip > div > span { display: block; font-size: 12px; font-weight: 500; }
.product-strip > div > span > span { display: block; margin-top: 3px; color: #8da397; font-size: 10px; font-weight: 400; }

/* Light, editorial workflow. */
.workflow-section, .foundation-section { color-scheme: light; --text: #16291f; --muted: #536759; --accent: #256e49; --line: #cbd7cc; background: #eaf0e9; color: var(--text); }
.workflow-section .eyebrow, .foundation-section .eyebrow { color: #356847; }
.workflow-tabs { display: flex; gap: 36px; border-bottom: 1px solid #c6d2c7; }
.workflow-tabs button { display: flex; align-items: center; gap: 12px; position: relative; padding: 0 0 17px; border: 0; background: transparent; color: #627362; font-size: 14px; font-weight: 500; line-height: 1.5; text-align: left; }
.workflow-tabs button span { color: #778b78; font-size: 10px; font-weight: 400; }
.workflow-tabs button::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: transparent; }
.workflow-tabs button[aria-selected="true"], .workflow-tabs button.active { color: #183b28; }
.workflow-tabs button[aria-selected="true"]::after, .workflow-tabs button.active::after { background: #346f48; }
.workflow-tabs button:hover { color: #245b39; }
.scenario-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 105px; padding-top: 42px; }
.scenario-intro { min-width: 0; }
.scenario-intro h3 { margin-top: 12px; margin-bottom: 19px; font-size: 28px; line-height: 1.32; letter-spacing: -.04em; }
.scenario-intro > p { max-width: 460px; color: var(--muted); font-size: 14px; line-height: 1.85; }
.scenario-intro .text-link { margin-top: 23px; }
.workflow-steps { display: flex; flex-direction: column; gap: 25px; margin: 0; padding: 0; list-style: none; }
.workflow-steps li { display: flex; align-items: flex-start; gap: 18px; }
.workflow-steps li > span { display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; flex: 0 0 30px; border: 1px solid #b8caba; border-radius: 50%; color: #2e6040; font-size: 11px; }
.workflow-steps h4 { padding-top: 3px; font-size: 15px; }
.workflow-steps p { margin-top: 7px; color: var(--muted); font-size: 13px; line-height: 1.85; }

/* The clinical conversation. */
.clinical-section { background: #10211c; }
.clinical-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
.clinical-copy > .section-lead { margin-top: 27px; color: #b8c8bc; }
.clinical-copy > p:not(.eyebrow):not(.section-lead) { margin-top: 18px; color: #95b19e; font-size: 14px; line-height: 1.85; }
.profile-note { margin-top: 28px; padding-top: 23px; border-top: 1px solid #334a3b; }
.profile-note strong { display: block; color: #d5e8d8; font-size: 13px; font-weight: 500; }
.profile-note span { display: block; max-width: 415px; margin-top: 7px; font-size: 12px; color: #97af9d; line-height: 1.8; }
.colleague-demo { min-width: 0; padding: 25px; border: 1px solid #395241; border-radius: var(--radius); background: #12281e; box-shadow: 0 16px 45px rgba(0, 0, 0, .12); }
.demo-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-bottom: 25px; }
.demo-heading > span:first-child { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 500; color: #dae8d9; }
.demo-heading svg { width: 17px; height: 17px; color: var(--accent); }
.demo-label { font-size: 8px; letter-spacing: .09em; color: #94b19b; }
.dialogue-message { padding: 15px 17px; border: 1px solid #35553e; border-radius: 10px; }
.dialogue-message + .dialogue-message { margin-top: 13px; }
.dialogue-message.physician { margin-left: 34px; background: #203b29; }
.dialogue-message.colleague { margin-right: 25px; background: #152c20; }
.message-author { display: flex; align-items: center; gap: 6px; margin-bottom: 7px; font-size: 9px; font-weight: 500; color: #98b6a0; }
.message-author .dot { width: 4px; height: 4px; flex-basis: 4px; }
.dialogue-message p { color: #d7e5d8; font-size: 12px; line-height: 1.85; }
.map-update { display: flex; align-items: flex-start; gap: 12px; margin-top: 24px; padding-top: 20px; border-top: 1px solid #35513d; }
.map-update svg { width: 20px; height: 20px; margin-top: 1px; color: var(--accent); }
.map-update strong { display: block; color: #c3e7ca; font-size: 12px; font-weight: 500; }
.map-update p { margin-top: 6px; font-size: 11px; line-height: 1.8; color: #9db9a4; }
.demo-disclaimer { margin-top: 20px; color: #90ab97; font-size: 10px; line-height: 1.75; }
.clinical-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 55px; }
.clinical-tabs > span { padding: 9px 15px; border: 1px solid #34523e; border-radius: 6px; color: #9bb9a6; font-size: 11px; }
.clinical-tabs > span.selected { border-color: #719d7b; color: #cde9d2; background: #24422c; }

/* Task-based instrument cards. */
.tools-section { border-bottom: 1px solid #21322a; }
.tools-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.tool-card { min-width: 0; padding: 28px 30px 30px; border: 1px solid var(--line); border-radius: 12px; background: #101b17; }
.tool-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 23px; }
.tool-heading .overline { color: #9cb4a4; font-size: 9px; letter-spacing: .11em; }
.tool-icon { display: flex; align-items: center; justify-content: center; width: 33px; height: 33px; border: 1px solid #38523f; border-radius: 8px; background: #1a3223; color: #a3d9b4; }
.tool-icon svg { width: 18px; height: 18px; }
.tool-icon.blue { background: #172b31; border-color: #315058; color: #9ec5d3; }
.tool-icon.amber-tone { background: #302b1b; border-color: #544b30; color: #d6c392; }
.tool-icon.lavender { background: #272637; border-color: #464257; color: #bfb5d7; }
.tool-card h3 { margin-bottom: 24px; font-size: 23px; }
.tool-card dl { display: flex; flex-direction: column; gap: 17px; margin: 0; }
.tool-card dl > div { padding-left: 14px; border-left: 1px solid #3a5142; }
.tool-card dt { color: #d9e6dc; font-size: 13px; font-weight: 500; }
.tool-card dd { margin: 5px 0 0; color: #95ad9e; font-size: 12px; line-height: 1.8; }
.calculation-note { display: flex; align-items: flex-start; gap: 17px; margin-top: 26px; padding: 24px; background: #111f18; border: 1px solid #314535; border-radius: 10px; }
.calculation-note > svg { width: 22px; height: 22px; color: #93bca0; }
.calculation-note > div { flex: 1; min-width: 0; }
.calculation-note strong { font-size: 13px; font-weight: 500; color: #d1e2d4; }
.calculation-note p { max-width: 800px; margin-top: 7px; color: #92ac9a; font-size: 12px; line-height: 1.8; }
.small-tag { padding: 4px 8px; border: 1px solid #3c5442; border-radius: 4px; color: #a9c7b1; font-size: 9px; white-space: nowrap; }

/* Honest workflow comparison, not competing-model rankings. */
.difference-section { background: #0e1915; }
.difference-section .section-heading { max-width: 880px; }
.comparison { border: 1px solid #35483b; border-radius: 12px; }
.comparison-row { display: grid; grid-template-columns: .6fr 1fr 1.2fr; }
.comparison-row + .comparison-row { border-top: 1px solid #304335; }
.comparison-row > * { min-width: 0; padding: 22px 25px; }
.comparison-row > * + * { border-left: 1px solid #304335; }
.comparison-row > :last-child { background: #1b3422; color: #ccdfce; }
.comparison-head > * { padding-block: 18px; font-size: 11px; color: #9cb2a3; font-weight: 500; }
.comparison-head > :last-child { color: #bae7c4; border-top-right-radius: 11px; }
.comparison-row:last-child > :last-child { border-bottom-right-radius: 11px; }
.comparison-row h3 { font-size: 13px; font-weight: 500; letter-spacing: -.01em; color: #d5e3d7; line-height: 1.7; }
.comparison-row p { font-size: 12px; color: #98aea0; line-height: 1.85; }
.comparison-footnote { max-width: 865px; margin-top: 20px; color: #8aa392; font-size: 11px; line-height: 1.8; }
.mobile-column-label { display: none; }

/* Search and source workspaces. */
.evidence-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.evidence-card { display: flex; flex-direction: column; min-width: 0; padding: 28px 26px; border: 1px solid var(--line); border-radius: 12px; background: #101c17; }
.evidence-number { color: #9bb4a1; font-size: 9px; letter-spacing: .11em; }
.evidence-card h3 { margin-top: 21px; margin-bottom: 17px; font-size: 23px; }
.evidence-card > p { flex: 1; color: #9db3a5; font-size: 13px; line-height: 1.85; }
.source-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-block: 23px; }
.source-tags span { padding: 4px 8px; color: #9dbba8; background: #182e20; border: 1px solid #314a38; border-radius: 4px; font-size: 9px; line-height: 1.5; }
.evidence-card .text-link { padding-top: 20px; border-top: 1px solid #2c4232; font-size: 12px; }
.evidence-caution { display: flex; align-items: flex-start; gap: 10px; margin-top: 26px; color: #8fa89a; font-size: 11px; line-height: 1.85; }
.evidence-caution svg { width: 17px; height: 17px; margin-top: 2px; color: #9bbb9f; }

/* Settings, boundaries and FAQ. */
.foundation-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 100px; }
.foundation-grid .section-lead { max-width: 420px; margin-top: 24px; font-size: 15px; }
.foundation-list { display: flex; flex-direction: column; gap: 28px; }
.foundation-list article { display: flex; gap: 18px; align-items: flex-start; }
.foundation-list article + article { padding-top: 26px; border-top: 1px solid #c6d4c8; }
.foundation-list svg { width: 22px; height: 22px; color: #4c7253; }
.foundation-list h3 { font-size: 16px; font-weight: 600; letter-spacing: -.02em; }
.foundation-list p { margin-top: 9px; color: #586e5c; font-size: 13px; line-height: 1.85; }
.faq-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 100px; }
.faq-grid > div:first-child .section-lead { max-width: 390px; margin-top: 23px; font-size: 15px; }
.faq-grid > div:first-child .text-link { margin-top: 26px; }
.faq-list { border-top: 1px solid #34453b; }
.faq-list details { border-bottom: 1px solid #34453b; }
.faq-list summary { display: flex; justify-content: space-between; align-items: flex-start; gap: 22px; padding: 22px 0; color: #d9e6dc; font-size: 14px; font-weight: 500; line-height: 1.65; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; flex: 0 0 15px; width: 15px; color: #8dc5a2; font-size: 20px; font-weight: 400; line-height: 1.15; text-align: center; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details > p { padding: 0 28px 24px 0; color: #9fb6a6; font-size: 13px; line-height: 1.9; }
.faq-list p a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.final-section { padding-top: 0; }
.final-card { display: flex; align-items: center; justify-content: space-between; gap: 50px; padding: 49px 50px; border: 1px solid #456149; border-radius: 15px; background: #1b3522; }
.final-card .eyebrow { margin-bottom: 17px; color: #b0d4b9; }
.final-card h2 { font-size: 36px; }
.final-card p:not(.eyebrow) { margin-top: 19px; max-width: 520px; color: #a8c2ad; font-size: 13px; }
.final-actions { display: flex; align-items: center; flex-direction: column; gap: 19px; flex: 0 0 auto; }
.final-actions .text-link { color: #b5d9bf; font-size: 12px; }
.site-footer { padding-block: 39px 25px; border-top: 1px solid #293a31; }
.footer-top { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; }
.footer-top .brand { font-size: 21px; }
.footer-top > p { flex: 1; color: #8fa697; font-size: 11px; }
.footer-top nav { display: flex; gap: 25px; flex-wrap: wrap; font-size: 11px; color: #aac0b0; }
.footer-top nav a:hover { color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 15px; margin-top: 29px; padding-top: 22px; border-top: 1px solid #25372b; color: #809a88; font-size: 10px; }

@media (max-width: 1150px) {
    .nav-links { gap: 16px; }
    .navigation { gap: 16px; }
    .nav-links a { font-size: 11px; }
    .hero-grid { gap: 42px; }
    .hero .button-row { gap: 10px; }
    .hero .button { padding-inline: 15px; font-size: 12px; }
    .split-heading, .scenario-panel, .clinical-grid, .foundation-grid, .faq-grid { gap: 55px; }
    .preview-body { padding: 21px; }
    .product-strip { gap: 17px; }
    .product-strip > div { gap: 10px; }
    .product-strip > div > span { font-size: 11px; }
    .product-strip > div > span > span { font-size: 9px; }
    .tool-card { padding: 26px; }
    .evidence-card { padding: 25px 22px; }
    .evidence-card h3 { font-size: 21px; }
}

@media (max-width: 900px) {
    .container { width: calc(100% - 64px); }
    .section { padding-block: 80px; }
    .navigation { height: 70px; }
    .nav-links { display: none; }
    .nav-links.is-open { position: absolute; inset: 70px 0 auto; display: flex; align-items: stretch; gap: 0; padding: 15px 32px 22px; background: #10201a; border-bottom: 1px solid #3c5743; box-shadow: 0 14px 24px rgba(0, 0, 0, .2); }
    .nav-links.is-open a { padding: 12px 10px; font-size: 13px; text-align: center; }
    .menu-toggle { display: flex; }
    .hero { padding-top: 65px; padding-bottom: 0; }
    .hero-grid { gap: 30px; }
    .hero h1 { font-size: 40px; }
    .hero .eyebrow { font-size: 9px; letter-spacing: .11em; }
    .hero-lead { font-size: 13px; margin-top: 22px; }
    .hero-note { font-size: 10px; }
    .preview-body { padding: 18px; }
    .preview-header { padding-inline: 17px; }
    .preview-brand { font-size: 11px; }
    .preview-label { display: none; }
    .preview-body h2 { font-size: 22px; }
    .map-cell { padding: 10px; }
    .map-cell strong { font-size: 11px; }
    .map-cell p { font-size: 9px; }
    .map-question { padding: 11px; gap: 8px; }
    .map-question strong { font-size: 11px; }
    .product-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 60px; gap: 23px 35px; padding-block: 27px; }
    .product-strip > div > span { font-size: 12px; }
    .product-strip > div > span > span { font-size: 10px; }
    .split-heading, .scenario-panel, .clinical-grid, .foundation-grid, .faq-grid { gap: 36px; }
    .split-heading { grid-template-columns: 1.2fr 1fr; }
    .split-heading > p:last-child { font-size: 13px; }
    .section-heading { margin-bottom: 34px; }
    .scenario-intro h3 { font-size: 25px; }
    .scenario-intro > p { font-size: 13px; }
    .workflow-tabs { gap: 26px; }
    .workflow-tabs button { font-size: 13px; gap: 8px; }
    .workflow-steps li { gap: 13px; }
    .workflow-steps h4 { font-size: 14px; }
    .workflow-steps p { font-size: 12px; }
    .clinical-grid { grid-template-columns: 1fr 1.1fr; }
    .clinical-copy .section-lead { font-size: 15px; }
    .clinical-copy > p:not(.eyebrow):not(.section-lead) { font-size: 13px; }
    .colleague-demo { padding: 20px; }
    .dialogue-message { padding: 13px; }
    .dialogue-message.physician { margin-left: 17px; }
    .dialogue-message.colleague { margin-right: 10px; }
    .dialogue-message p { font-size: 11px; }
    .tool-card { padding: 24px; }
    .tool-card h3 { font-size: 21px; }
    .tool-heading .overline { font-size: 8px; }
    .calculation-note { flex-wrap: wrap; gap: 13px; }
    .calculation-note > div { flex-basis: calc(100% - 40px); }
    .calculation-note .small-tag { margin-left: 35px; }
    .comparison-row > * { padding: 19px 17px; }
    .evidence-grid { gap: 12px; }
    .evidence-card { padding: 23px 18px; }
    .evidence-card h3 { font-size: 20px; }
    .evidence-card > p { font-size: 12px; }
    .evidence-card .text-link { font-size: 11px; gap: 5px; }
    .foundation-grid, .faq-grid { grid-template-columns: 1fr 1.15fr; }
    .final-section { padding-top: 0; }
    .final-card { padding: 35px; gap: 25px; }
    .final-card h2 { font-size: 31px; }
    .final-actions .button { padding-inline: 15px; font-size: 12px; }
}

@media (max-width: 680px) {
    html { scroll-padding-top: 90px; }
    .container { width: calc(100% - 40px); }
    .section { padding-block: 65px; }
    h2 { font-size: 31px; letter-spacing: -.045em; }
    .eyebrow { margin-bottom: 18px; font-size: 9px; letter-spacing: .13em; }
    .brand { font-size: 21px; gap: 7px; }
    .brand-mark { width: 26px; }
    .brand-mark svg { width: 26px; height: 26px; }
    .brand-web { font-size: 10px; }
    .navigation { gap: 10px; }
    .nav-actions { gap: 7px; }
    .button-small { min-height: 37px; padding: 8px 10px; font-size: 11px; }
    .button-small svg { width: 15px; height: 15px; }
    .menu-toggle { width: 37px; height: 37px; }
    .nav-links.is-open { flex-direction: column; padding: 10px 20px 17px; }
    .nav-links.is-open a { text-align: left; border-bottom: 1px solid #2e4534; padding: 14px 4px; }
    .nav-links.is-open a:last-child { border-bottom: 0; }
    .hero { padding-top: 51px; padding-bottom: 0; }
    .hero-grid { grid-template-columns: 1fr; gap: 44px; }
    .hero h1 { font-size: clamp(35px, 8.5vw, 45px); letter-spacing: -.055em; line-height: 1.12; }
    .desktop-break { display: none; }
    .hero h1 > span { display: inline; }
    .hero-lead { max-width: 480px; font-size: 14px; line-height: 1.8; margin-top: 24px; margin-bottom: 25px; }
    .hero .button-row { gap: 10px; }
    .hero .button { min-height: 48px; font-size: 12px; padding-inline: 15px; }
    .hero-note { font-size: 11px; margin-top: 17px; }
    .hero-visual { padding-inline: 3px; }
    .workspace-preview { max-width: 490px; margin-inline: auto; }
    .preview-header { padding: 14px 18px; }
    .preview-label { display: inline; }
    .preview-body { padding: 22px; }
    .preview-body h2 { font-size: 25px; }
    .preview-breadcrumb { font-size: 10px; }
    .map-cell { padding: 14px 12px; }
    .map-cell strong { font-size: 12px; }
    .map-cell p { font-size: 10px; }
    .map-question { padding: 13px 12px; }
    .map-question strong { font-size: 12px; }
    .preview-conversation p { font-size: 11px; }
    .visual-caption { margin-top: 17px; }
    .product-strip { margin-top: 38px; gap: 22px 18px; padding-block: 26px; }
    .product-strip svg { width: 20px; height: 20px; }
    .product-strip > div { gap: 9px; align-items: flex-start; }
    .product-strip > div > span { font-size: 11px; }
    .product-strip > div > span > span { font-size: 9px; }
    .split-heading, .scenario-panel, .clinical-grid, .foundation-grid, .faq-grid { grid-template-columns: 1fr; gap: 26px; }
    .split-heading > p:last-child { max-width: 460px; margin: 0; font-size: 14px; line-height: 1.8; }
    .section-heading { margin-bottom: 31px; }
    .workflow-tabs { gap: 0; justify-content: space-between; }
    .workflow-tabs button { display: block; padding-bottom: 13px; font-size: 12px; font-weight: 500; }
    .workflow-tabs button span { display: block; margin-bottom: 6px; font-size: 9px; }
    .scenario-panel { padding-top: 30px; gap: 32px; }
    .scenario-intro h3 { font-size: 26px; }
    .scenario-intro > p { font-size: 14px; }
    .workflow-steps { gap: 24px; padding-top: 25px; border-top: 1px solid #c6d4c8; }
    .workflow-steps li { gap: 15px; }
    .workflow-steps h4 { font-size: 15px; }
    .workflow-steps p { font-size: 13px; }
    .clinical-grid { gap: 34px; }
    .clinical-copy > .section-lead { margin-top: 24px; font-size: 16px; }
    .clinical-copy > p:not(.eyebrow):not(.section-lead) { font-size: 14px; }
    .profile-note { margin-top: 24px; }
    .colleague-demo { padding: 21px; }
    .dialogue-message { padding: 14px; }
    .dialogue-message.physician { margin-left: 21px; }
    .dialogue-message.colleague { margin-right: 12px; }
    .dialogue-message p { font-size: 12px; }
    .clinical-tabs { margin-top: 30px; gap: 7px; }
    .clinical-tabs > span { padding: 8px 10px; font-size: 10px; }
    .tools-grid { grid-template-columns: 1fr; gap: 14px; }
    .tool-card { padding: 25px 24px; }
    .tool-heading .overline { font-size: 9px; }
    .tool-card h3 { font-size: 23px; }
    .tool-card dt { font-size: 14px; }
    .tool-card dd { font-size: 13px; }
    .calculation-note { padding: 20px; margin-top: 20px; }
    .calculation-note strong { font-size: 13px; }
    .calculation-note p { font-size: 12px; }
    .comparison { border: 0; border-radius: 0; }
    .comparison-head { display: none; }
    .comparison-row { grid-template-columns: 1fr; border: 1px solid #354d3c; border-radius: 10px; }
    .comparison-row + .comparison-row { margin-top: 15px; border-top: 1px solid #354d3c; }
    .comparison-row > * { padding: 18px 20px; }
    .comparison-row > * + * { border-left: 0; border-top: 1px solid #304335; }
    .comparison-row h3 { padding-block: 15px; font-size: 14px; }
    .comparison-row p { font-size: 13px; }
    .comparison-row > :last-child { border-radius: 0 0 9px 9px; }
    .comparison-row:last-child > :last-child { border-bottom-right-radius: 9px; }
    .mobile-column-label { display: block; margin-bottom: 6px; color: #a9bfb0; font-size: 10px; font-weight: 600; }
    .comparison-row > :last-child .mobile-column-label { color: #b2e0bf; }
    .comparison-footnote { font-size: 11px; }
    .evidence-grid { grid-template-columns: 1fr; gap: 15px; }
    .evidence-card { padding: 27px 24px; }
    .evidence-card h3 { margin-top: 17px; font-size: 24px; }
    .evidence-card > p { font-size: 14px; }
    .evidence-card .text-link { font-size: 13px; }
    .source-tags span { font-size: 10px; }
    .evidence-caution { font-size: 12px; }
    .foundation-grid { gap: 34px; }
    .foundation-grid .section-lead { max-width: 480px; font-size: 15px; }
    .foundation-list { gap: 23px; }
    .foundation-list article { gap: 15px; }
    .foundation-list p { font-size: 13px; }
    .faq-grid { gap: 35px; }
    .faq-grid > div:first-child .section-lead { max-width: 480px; }
    .faq-list summary { padding-block: 20px; gap: 15px; font-size: 14px; }
    .faq-list details > p { padding-right: 0; font-size: 13px; }
    .final-section { padding-top: 0; }
    .final-card { display: block; padding: 31px 26px; }
    .final-card h2 { font-size: 30px; }
    .final-card p:not(.eyebrow) { font-size: 13px; }
    .final-actions { align-items: flex-start; margin-top: 28px; gap: 18px; }
    .final-actions .button { padding-inline: 20px; font-size: 13px; }
    .site-footer { padding-top: 31px; }
    .footer-top { align-items: flex-start; gap: 14px; }
    .footer-top > p { flex-basis: 100%; font-size: 12px; }
    .footer-top nav { gap: 17px; margin-top: 6px; font-size: 11px; }
    .footer-bottom { gap: 9px; margin-top: 23px; font-size: 10px; }
    .footer-bottom > span { flex-basis: 100%; }
}

@media (max-width: 380px) {
    .brand { font-size: 19px; }
    .brand-mark, .brand-mark svg { width: 23px; }
    .brand-web { font-size: 9px; }
    .nav-actions .button-small { gap: 5px; padding-inline: 8px; font-size: 10px; }
    .nav-actions .button-small svg { display: none; }
    .hero .button-row { align-items: stretch; flex-direction: column; }
    .hero .button { justify-content: center; width: 100%; }
    .preview-header { padding-inline: 14px; }
    .preview-label { display: none; }
    .preview-body { padding: 17px; }
    .preview-body h2 { font-size: 22px; }
    .reasoning-map { column-gap: 8px; }
    .map-cell { padding: 11px 9px; }
    .cell-label { gap: 4px; font-size: 8px; }
    .map-cell strong { font-size: 10px; }
    .map-cell p { font-size: 9px; }
    .map-question strong { font-size: 11px; }
    .preview-tags { padding-left: 0; }
    .product-strip { gap: 20px 12px; }
    .product-strip svg { width: 17px; height: 17px; }
    .product-strip > div { gap: 7px; }
    .product-strip > div > span { font-size: 10px; }
    .product-strip > div > span > span { font-size: 8px; }
    .workflow-tabs button { font-size: 11px; }
    .colleague-demo { padding: 17px; }
    .dialogue-message.physician { margin-left: 10px; }
    .dialogue-message.colleague { margin-right: 0; }
    .tool-card, .evidence-card { padding-inline: 21px; }
    .calculation-note { padding: 17px; }
    .calculation-note > svg { width: 18px; height: 18px; }
    .final-card { padding-inline: 22px; }
    .final-card h2 { font-size: 27px; }
}

/* Keep the illustrative UI legible rather than shrinking it like a screenshot. */
.preview-label, .cell-label, .map-question span, .preview-tags span,
.demo-label, .message-author, .tool-heading .overline, .evidence-number,
.small-tag, .source-tags span { font-size: 10px; }
.preview-breadcrumb, .preview-footer, .visual-caption,
.product-strip > div > span > span { font-size: 11px; }
.map-cell strong, .map-cell p, .map-question strong, .preview-conversation p,
.map-update p, .demo-disclaimer, .hero-note { font-size: 12px; }
.dialogue-message p { font-size: 13px; }
.comparison-footnote, .evidence-caution { font-size: 12px; }
.nav-links a { padding-block: 10px; }

@media (max-width: 680px) {
    .product-strip > div > span > span { font-size: 10px; }
    .product-strip > div > span { font-size: 11px; }
}

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

@media print {
    :root { color-scheme: light; }
    body { background: white; color: #16291f; }
    .site-header, .skip-link, .button-row, .workflow-tabs, .final-actions, .site-footer { display: none !important; }
    .container { width: 100%; max-width: none; }
    .section { padding-block: 28px; }
    .section, .workspace-preview, .tool-card, .evidence-card, .colleague-demo, .final-card { background: white; color: #16291f; box-shadow: none; }
    .section { --text: #16291f; --muted: #44564a; --accent: #256e49; }
    h1, h2, h3, h4 { break-after: avoid; }
    .tool-card, .evidence-card, .scenario-panel, .colleague-demo { break-inside: avoid; }
    .workspace-preview { transform: none; }
}
