:root {
  --primary: #0052cc;
  --primary-hover: #0043b3;
  --primary-soft: #deebff;
  --primary-ink: #073c93;
  --cyan: #00a6c4;
  --cyan-soft: #e6f8fc;
  --text: #091e42;
  --muted: #5e6c84;
  --background: #fff;
  --surface: #f4f7fb;
  --surface-blue: #f2f6ff;
  --border: #dfe1e6;
  --success: #17875d;
  --success-soft: #e7f7f0;
  --warning: #b54708;
  --white: #fff;
  --heading: Outfit, Avenir Next, Avenir, Inter, system-ui, sans-serif;
  --body: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shadow-sm: 0 4px 16px rgba(9, 30, 66, .07);
  --shadow-md: 0 18px 44px rgba(9, 30, 66, .12);
  --shadow-blue: 0 22px 50px rgba(0, 82, 204, .17);
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 26px;
  --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body { margin: 0; color: var(--text); background: var(--background); font-family: var(--body); font-size: 16px; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
img, svg { display: block; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--heading); letter-spacing: -.025em; }
h1 { max-width: 680px; font-size: clamp(2.8rem, 5.2vw, 4.8rem); line-height: 1.01; margin-bottom: 24px; }
h2 { font-size: clamp(2rem, 3.7vw, 3.35rem); line-height: 1.08; margin-bottom: 22px; }
h3 { font-size: 1.2rem; line-height: 1.25; }
p { color: var(--muted); line-height: 1.7; }
:focus-visible { outline: 3px solid rgba(0, 82, 204, .35); outline-offset: 3px; }
.container { width: min(var(--container), calc(100% - 48px)); margin-inline: auto; }
.section { padding: 112px 0; }
.section-soft { background: var(--surface); }
.skip-link { position: fixed; z-index: 999; top: 12px; left: 12px; padding: 12px 18px; transform: translateY(-160%); background: var(--text); color: #fff; border-radius: 8px; }
.skip-link:focus { transform: translateY(0); }
.svg-defs { position: absolute; overflow: hidden; }

.site-header { position: fixed; z-index: 100; inset: 0 0 auto; height: 78px; border-bottom: 1px solid transparent; transition: background .25s ease, box-shadow .25s ease, border-color .25s ease; }
.site-header.is-scrolled { background: rgba(255,255,255,.94); border-color: rgba(223,225,230,.8); box-shadow: 0 6px 24px rgba(9,30,66,.06); backdrop-filter: blur(16px); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { flex: 0 0 auto; }
.brand img { width: 116px; height: auto; }
.primary-nav { display: flex; align-items: center; gap: 42px; }
.nav-links, .nav-actions { display: flex; align-items: center; gap: 28px; }
.nav-links a, .text-link { color: #42526e; font-size: .9rem; font-weight: 600; text-decoration: none; }
.nav-links a:hover, .text-link:hover { color: var(--primary); }
.nav-actions { gap: 18px; }
.menu-toggle { display: none; width: 46px; height: 46px; padding: 12px; border: 0; border-radius: 10px; background: var(--surface); cursor: pointer; }
.menu-toggle span { display: block; width: 100%; height: 2px; margin: 4px 0; background: var(--text); transition: transform .2s ease, opacity .2s ease; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 0 24px; border: 1px solid var(--primary); border-radius: 12px; color: #fff; background: var(--primary); box-shadow: 0 8px 18px rgba(0,82,204,.17); font-weight: 700; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { background: var(--primary-hover); box-shadow: 0 12px 24px rgba(0,82,204,.23); transform: translateY(-2px); }
.button svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.button-small { min-height: 42px; padding-inline: 18px; border-radius: 10px; font-size: .9rem; }
.button-secondary { color: var(--text); background: #fff; border-color: var(--border); box-shadow: none; }
.button-secondary:hover { color: var(--primary); background: var(--surface-blue); border-color: #b3c9eb; box-shadow: none; }

.hero { position: relative; min-height: 780px; padding: 158px 0 92px; overflow: hidden; background: linear-gradient(145deg, #fff 25%, #f4f8ff 72%, #f8fcff); }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 100px; background: linear-gradient(transparent,#fff); pointer-events: none; }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: .95fr 1.05fr; gap: 68px; align-items: center; }
.hero-copy { position: relative; z-index: 2; }
.eyebrow { display: flex; align-items: center; gap: 9px; margin-bottom: 20px; color: var(--primary); font-size: .76rem; line-height: 1; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow > span { width: 24px; height: 2px; background: var(--primary); }
.hero-lead { max-width: 620px; margin-bottom: 30px; font-size: 1.12rem; }
.hero-actions { display: flex; gap: 12px; }
.microcopy { display: flex; align-items: center; gap: 8px; margin: 18px 0 0; font-size: .79rem; }
.microcopy svg { width: 16px; height: 16px; fill: none; stroke: var(--success); stroke-width: 2; }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .6; }
.hero-glow-one { width: 360px; height: 360px; right: 6%; top: 12%; background: radial-gradient(circle,rgba(0,184,217,.16),transparent 68%); }
.hero-glow-two { width: 430px; height: 430px; right: 28%; bottom: -25%; background: radial-gradient(circle,rgba(0,82,204,.14),transparent 68%); }

.product-stage { position: relative; min-height: 510px; border: 1px solid rgba(179,201,235,.85); border-radius: 24px; background: #fff; box-shadow: var(--shadow-blue); transform: perspective(1300px) rotateY(-2deg) rotateX(1deg); overflow: visible; }
.stage-dots { position: absolute; z-index: 3; top: 16px; left: 21px; display: flex; gap: 6px; }
.stage-dots i { width: 7px; height: 7px; border-radius: 50%; background: #d6deeb; }
.stage-sidebar { position: absolute; inset: 0 auto 0 0; width: 72px; padding: 52px 17px 0; border-radius: 24px 0 0 24px; background: #f2f5fc; }
.mini-mark { display: grid; place-items: center; width: 35px; height: 35px; margin-bottom: 34px; border-radius: 11px; background: var(--primary); color: #fff; font-weight: 800; }
.stage-nav { display: block; height: 31px; margin: 11px 0; border-radius: 8px; background: #e3e9f4; }
.stage-nav.active { background: var(--primary-soft); border-left: 3px solid var(--primary); }
.stage-main { padding: 52px 28px 30px 99px; }
.stage-topline { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; font-family: var(--heading); font-size: 1.18rem; font-weight: 700; }
.stage-topline i { width: 30px; height: 30px; border: 3px solid var(--primary-soft); border-radius: 50%; background: linear-gradient(145deg,#cde6f8,#6f98c4); }
.summary-card { display: flex; gap: 13px; align-items: flex-start; padding: 18px; margin-bottom: 16px; border: 1px solid #b8cef0; border-radius: 13px; background: #fbfdff; }
.summary-icon { display: grid; place-items: center; flex: 0 0 auto; width: 34px; height: 34px; border-radius: 9px; background: var(--primary); color: #fff; }
.summary-icon svg { width: 18px; height: 18px; fill: currentColor; stroke: currentColor; }
.summary-card small, .result-kicker { display: block; color: var(--primary); font-size: .58rem; font-weight: 800; letter-spacing: .08em; }
.summary-card strong { display: block; margin: 4px 0 2px; font-size: .85rem; }
.summary-card p { margin: 0; font-size: .67rem; line-height: 1.35; }
.result-card { position: relative; padding: 19px; border: 1px solid #e1e6ed; border-radius: 14px; box-shadow: var(--shadow-sm); }
.result-card > div:first-child strong { display: block; margin-top: 5px; font-size: .92rem; }
.status-pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 9px; border-radius: 999px; color: var(--success); background: var(--success-soft); font-size: .58rem; font-style: normal; font-weight: 700; }
.status-pill i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.result-card > .status-pill { position: absolute; top: 17px; right: 17px; }
.result-measure { display: flex; align-items: baseline; gap: 5px; margin: 19px 0 10px; }
.result-measure b { font-family: var(--heading); font-size: 2rem; }
.result-measure span { color: var(--muted); font-size: .65rem; }
.result-measure em { margin-left: auto; color: var(--success); font-size: .6rem; font-style: normal; font-weight: 700; }
.range { position: relative; height: 6px; margin-bottom: 8px; border-radius: 999px; background: #e8edf4; }
.range span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg,#00a6c4,#17875d); }
.range i { position: absolute; top: -3px; width: 2px; height: 12px; background: var(--text); }
.result-card > small { color: var(--muted); font-size: .57rem; }
.chat-float { position: absolute; right: -36px; bottom: -42px; width: 370px; padding: 18px; border: 1px solid #c4d4ec; border-radius: 17px; background: #fff; box-shadow: 0 22px 46px rgba(9,30,66,.2); }
.chat-title { display: flex; align-items: center; gap: 9px; font-family: var(--heading); font-size: .75rem; font-weight: 700; }
.chat-title > span { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 8px; color: #fff; background: var(--primary); }
.chat-title svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; }
.chat-question { width: 82%; margin: 15px 0 10px auto; padding: 10px 12px; border-radius: 12px 12px 3px 12px; color: #fff; background: var(--primary); font-size: .64rem; line-height: 1.45; }
.chat-answer { padding: 11px 12px; border-radius: 3px 12px 12px; color: #344563; background: var(--surface); font-size: .64rem; line-height: 1.5; }
.source-chip { display: flex; align-items: center; gap: 8px; margin: 9px 0 0 12px; padding: 8px 10px; border: 1px solid #d8e1ee; border-radius: 9px; font-size: .53rem; }
.source-chip svg { width: 14px; height: 14px; fill: none; stroke: var(--primary); stroke-width: 2; }
.source-chip span, .source-chip b { display: block; }

.section-heading { margin-bottom: 56px; }
.section-heading.centered { max-width: 790px; margin-inline: auto; text-align: center; }
.section-heading.centered .eyebrow { justify-content: center; }
.section-heading.split { display: grid; grid-template-columns: 1fr .65fr; gap: 80px; align-items: end; }
.section-heading.split h2 { max-width: 710px; margin-bottom: 0; }
.section-heading.split > p { max-width: 470px; margin-bottom: 4px; }
.problem { padding-top: 96px; }
.problem-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.problem-card { position: relative; min-height: 248px; padding: 28px; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; transition: transform .25s ease, box-shadow .25s ease, border .25s ease; }
.problem-card:hover { transform: translateY(-5px); border-color: #bacbe2; box-shadow: var(--shadow-md); }
.problem-card > span { position: absolute; top: 25px; right: 27px; color: #a5adba; font-size: .7rem; font-weight: 700; }
.problem-card > svg { width: 42px; height: 42px; margin-bottom: 28px; padding: 9px; border-radius: 11px; color: var(--primary); background: var(--primary-soft); fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.problem-card:nth-child(2) > svg { color: #087d91; background: var(--cyan-soft); }
.problem-card:nth-child(3) > svg { color: #7357b3; background: #f0ebff; }
.problem-card h3 { margin-bottom: 10px; }
.problem-card p { margin-bottom: 0; font-size: .91rem; }
.problem-transition { margin: 38px 0 0; text-align: center; font-size: 1.05rem; }
.problem-transition strong { color: var(--text); }

.step-row { display: grid; grid-template-columns: .75fr 1.25fr; gap: 90px; align-items: center; padding: 74px 0; border-bottom: 1px solid var(--border); }
.step-row:last-child { padding-bottom: 0; border: 0; }
.step-row.reverse { grid-template-columns: 1.25fr .75fr; }
.step-row.reverse .step-copy { order: 2; }
.step-copy { max-width: 410px; }
.step-number { display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 23px; border-radius: 50%; color: #fff; background: var(--primary); font-family: var(--heading); font-weight: 700; box-shadow: 0 7px 14px rgba(0,82,204,.2); }
.step-copy h3 { margin-bottom: 14px; font-size: 2rem; }
.quiet-note { display: flex; align-items: center; gap: 8px; margin-top: 22px; color: #42526e; font-size: .78rem; font-weight: 600; }
.quiet-note svg { width: 18px; height: 18px; fill: none; stroke: var(--success); stroke-width: 2.3; stroke-linecap: round; stroke-linejoin: round; }
.step-visual { min-width: 0; padding: 36px; border: 1px solid #d9e3f2; border-radius: var(--radius-lg); background: linear-gradient(145deg,#eaf2ff,#f9fbff); }
.upload-window { max-width: 500px; margin: auto; overflow: hidden; border: 1px solid #d7dfeb; border-radius: 16px; background: #fff; box-shadow: var(--shadow-md); }
.window-bar { display: flex; align-items: center; gap: 6px; height: 43px; padding: 0 14px; border-bottom: 1px solid #e9edf3; color: #42526e; font-size: .65rem; font-weight: 700; }
.window-bar i { width: 7px; height: 7px; border-radius: 50%; background: #d3dae5; }
.window-bar span { margin-left: 9px; }
.drop-zone { margin: 23px; padding: 30px 20px; border: 1.5px dashed #91b4e8; border-radius: 14px; text-align: center; background: #fbfdff; }
.drop-zone > span { display: grid; place-items: center; width: 48px; height: 48px; margin: 0 auto 14px; border-radius: 14px; color: var(--primary); background: var(--primary-soft); }
.drop-zone svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.drop-zone strong, .drop-zone p, .drop-zone small { display: block; }
.drop-zone strong { font-size: .85rem; }
.drop-zone p { margin: 5px 0 13px; font-size: .67rem; }
.drop-zone small { color: #8993a4; font-size: .58rem; }
.insight-visual { padding: 30px; background: linear-gradient(145deg,#eff5ff,#f7fbff); }
.verdict-mini { display: flex; gap: 13px; align-items: flex-start; padding: 19px; border: 1px solid #b8cef0; border-radius: 15px; background: #fbfdff; box-shadow: var(--shadow-sm); }
.verdict-mini-icon { display: grid; place-items: center; flex: 0 0 auto; width: 37px; height: 37px; border-radius: 10px; color: var(--primary); background: var(--primary-soft); }
.verdict-mini-icon svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.verdict-mini small { display: block; color: var(--primary); font-size: .58rem; font-weight: 800; letter-spacing: .08em; }
.verdict-mini strong { display: block; margin: 5px 0 4px; font-family: var(--heading); font-size: .98rem; line-height: 1.3; }
.verdict-mini p { margin: 0; font-size: .68rem; line-height: 1.5; }
.trend-mini { display: flex; gap: 11px; align-items: flex-start; margin-top: 10px; padding: 14px 16px; border: 1px solid #dfe5ed; border-radius: 13px; background: #fff; box-shadow: var(--shadow-sm); }
.trend-mini-icon { display: grid; place-items: center; flex: 0 0 auto; width: 29px; height: 29px; border-radius: 9px; }
.trend-mini-icon svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.trend-mini-icon.down { color: var(--success); background: var(--success-soft); }
.trend-mini-icon.up { color: var(--warning); background: #fff4e5; }
.trend-mini strong { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; font-size: .72rem; }
.trend-mini strong em { padding: 3px 8px; border-radius: 999px; color: var(--success); background: var(--success-soft); font-size: .5rem; font-style: normal; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.trend-mini strong em.warn { color: var(--warning); background: #fff4e5; }
.trend-mini small { display: block; margin-top: 4px; color: var(--muted); font-size: .62rem; line-height: 1.45; }

.ask-visual { padding: 31px; background: #eef4ff; }
.ask-question { width: 72%; margin-left: auto; padding: 13px 16px; border-radius: 14px 14px 4px 14px; color: #fff; background: var(--primary); font-size: .77rem; line-height: 1.45; }
.ask-answer { display: flex; gap: 11px; align-items: flex-start; margin: 16px 0 10px; }
.assistant-avatar { display: grid; place-items: center; flex: 0 0 auto; width: 31px; height: 31px; border-radius: 9px; color: #fff; background: var(--primary); }
.assistant-avatar svg { width: 16px; height: 16px; fill: currentColor; }
.ask-answer p { margin: 0; padding: 13px 16px; border-radius: 4px 14px 14px; background: #fff; box-shadow: var(--shadow-sm); font-size: .75rem; }
.ask-source { margin-left: 42px; padding: 10px 13px; border: 1px solid #cddcf0; border-radius: 10px; background: rgba(255,255,255,.72); }
.ask-source span { float: right; color: var(--primary); font-size: .55rem; font-weight: 700; }
.ask-source b, .ask-source small { display: block; }
.ask-source b { margin-bottom: 3px; font-size: .63rem; }
.ask-source small { color: var(--muted); font-size: .52rem; }

.ai-section { position: relative; overflow: hidden; color: #fff; background: radial-gradient(circle at 15% 25%,rgba(20,111,232,.38),transparent 30%), linear-gradient(135deg,#071a3f,#0a2d6d 60%,#063f93); }
.ai-section::before { content: ""; position: absolute; width: 560px; height: 560px; right: -230px; bottom: -280px; border: 1px solid rgba(255,255,255,.09); border-radius: 50%; box-shadow: 0 0 0 80px rgba(255,255,255,.025), 0 0 0 160px rgba(255,255,255,.018); }
.ai-grid { position: relative; z-index: 2; display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; align-items: center; }
.eyebrow.light { color: #7fd9f0; }
.ai-copy h2 { color: #fff; }
.ai-copy > p:not(.eyebrow) { color: #c9d5e7; }
.check-list { display: grid; gap: 15px; padding: 0; margin: 30px 0 0; list-style: none; }
.check-list li { display: flex; align-items: center; gap: 11px; color: #e8eef7; font-size: .88rem; }
.check-list svg { width: 22px; height: 22px; padding: 4px; border-radius: 50%; color: #8de0c4; background: rgba(23,135,93,.22); fill: none; stroke: currentColor; stroke-width: 2.5; }
.ai-demo { padding: 0 0 22px; border: 1px solid rgba(255,255,255,.22); border-radius: 22px; background: rgba(255,255,255,.96); box-shadow: 0 26px 60px rgba(0,0,0,.3); color: var(--text); overflow: hidden; }
.demo-top { display: flex; align-items: center; gap: 11px; padding: 17px 20px; border-bottom: 1px solid #e4e8ee; }
.demo-top > span { display: grid; place-items: center; width: 37px; height: 37px; border-radius: 11px; color: #fff; background: var(--primary); }
.demo-top svg { width: 18px; height: 18px; fill: currentColor; }
.demo-top b, .demo-top small { display: block; }
.demo-top b { font-size: .78rem; }
.demo-top small { margin-top: 3px; color: var(--muted); font-size: .56rem; }
.demo-top i { margin-left: auto; color: var(--success); font-size: .58rem; font-style: normal; }
.prompt-chips { display: flex; gap: 7px; padding: 15px 20px 0; overflow: hidden; }
.prompt-chips span { flex: 0 0 auto; padding: 7px 10px; border: 1px solid #d7e0ec; border-radius: 999px; color: #42526e; font-size: .52rem; }
.demo-message { font-size: .72rem; line-height: 1.6; }
.user-message { width: 62%; margin: 20px 18px 15px auto; padding: 11px 14px; border-radius: 13px 13px 3px 13px; color: #fff; background: var(--primary); }
.assistant-message { margin: 0 70px 0 20px; padding: 15px; border-radius: 4px 14px 14px; background: var(--surface); }
.assistant-message > p { margin-bottom: 11px; color: #344563; line-height: 1.55; }
.citation-card { display: flex; align-items: center; gap: 9px; position: relative; padding: 10px; border: 1px solid #cdd9ea; border-radius: 9px; background: #fff; }
.citation-card > span { display: grid; place-items: center; width: 29px; height: 29px; border-radius: 8px; color: var(--primary); background: var(--primary-soft); }
.citation-card svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; }
.citation-card b, .citation-card small { display: block; }
.citation-card b { font-size: .6rem; }
.citation-card small { color: var(--muted); font-size: .51rem; }
.citation-card em { position: absolute; right: 9px; top: 9px; color: var(--primary); font-size: .48rem; font-style: normal; font-weight: 700; }
.assistant-message .demo-limit { display: flex; align-items: center; gap: 6px; margin: 11px 0 0; color: #6b778c; font-size: .52rem; }
.demo-limit svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; }

.history-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 92px; align-items: center; }
.history-chart { padding: 28px; border: 1px solid #d9e1eb; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.chart-head { display: flex; align-items: center; justify-content: space-between; }
.chart-head small, .chart-head strong { display: block; }
.chart-head small { margin-bottom: 5px; color: var(--primary); font-size: .6rem; font-weight: 800; letter-spacing: .08em; }
.chart-head strong { font-family: var(--heading); font-size: 1.2rem; }
.chart-values { display: flex; align-items: center; gap: 23px; margin: 27px 0 4px; }
.chart-values > div { flex: 1; padding: 13px 15px; border-radius: 11px; background: var(--surface); }
.chart-values > div:last-child { border: 1px solid #bedecd; background: var(--success-soft); }
.chart-values small, .chart-values strong { display: block; }
.chart-values small { margin-bottom: 5px; color: var(--muted); font-size: .5rem; font-weight: 700; }
.chart-values strong { font-family: var(--heading); font-size: 1.5rem; }
.chart-values strong span { font-family: var(--body); font-size: .55rem; font-weight: 500; }
.chart-values > span svg { width: 23px; height: 23px; fill: none; stroke: var(--primary); stroke-width: 2; }
.line-chart { width: 100%; height: auto; }
.chart-note { display: flex; align-items: center; gap: 7px; margin: 3px 0 0; font-size: .62rem; }
.chart-note svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; }
.history-copy > p:not(.eyebrow) { max-width: 520px; }
.history-features { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
.history-features span { display: grid; grid-template-columns: auto 1fr; column-gap: 9px; padding: 14px; border-radius: 12px; background: var(--surface); }
.history-features svg { grid-row: span 2; width: 24px; height: 24px; color: var(--primary); fill: none; stroke: currentColor; stroke-width: 1.7; }
.history-features b { font-size: .72rem; }
.history-features small { margin-top: 2px; color: var(--muted); font-size: .55rem; }

.doctor-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: center; }
.doctor-copy > p:not(.eyebrow) { max-width: 520px; }
.doctor-list { display: grid; gap: 14px; padding: 0; margin: 28px 0 0; list-style: none; }
.doctor-list li { display: flex; align-items: center; gap: 11px; color: #344563; font-size: .88rem; font-weight: 600; }
.doctor-list svg { flex: 0 0 auto; width: 22px; height: 22px; padding: 4px; border-radius: 50%; color: var(--success); background: var(--success-soft); fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.doctor-visual { position: relative; }
.share-card { max-width: 430px; margin: auto; padding: 24px; border: 1px solid #c4d4ec; border-radius: 20px; background: #fff; box-shadow: var(--shadow-blue); }
.share-card-head { display: flex; align-items: center; gap: 12px; }
.share-card-head > span { display: grid; place-items: center; flex: 0 0 auto; width: 38px; height: 38px; border-radius: 11px; color: #fff; background: var(--primary); }
.share-card-head svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.9; }
.share-card-head b { display: block; font-family: var(--heading); font-size: .88rem; }
.share-card-head small { display: block; margin-top: 3px; color: var(--muted); font-size: .6rem; }
.share-qr { display: grid; place-items: center; margin: 20px auto 18px; padding: 16px; width: fit-content; border: 1px solid #dfe5ed; border-radius: 14px; background: #fbfdff; }
.share-qr svg { width: 118px; height: 118px; fill: var(--text); }
.share-link { display: flex; align-items: center; gap: 9px; padding: 11px 13px; border: 1px solid #d8e1ee; border-radius: 11px; background: var(--surface); }
.share-link svg { flex: 0 0 auto; width: 15px; height: 15px; fill: none; stroke: var(--primary); stroke-width: 2; }
.share-link span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #42526e; font-size: .68rem; }
.share-link b { flex: 0 0 auto; padding: 6px 11px; border-radius: 8px; color: #fff; background: var(--primary); font-size: .6rem; }
.share-scope { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 13px; }
.share-scope span { padding: 6px 10px; border: 1px solid #d7e0ec; border-radius: 999px; color: #42526e; font-size: .57rem; font-weight: 700; }
.share-doctor-note { display: flex; gap: 12px; align-items: flex-start; max-width: 430px; margin: 16px auto 0; padding: 14px 16px; border: 1px solid #d5e1f2; border-radius: 13px; background: var(--surface-blue); }
.share-doctor-note > span { display: grid; place-items: center; flex: 0 0 auto; width: 32px; height: 32px; border-radius: 9px; color: var(--primary); background: var(--primary-soft); }
.share-doctor-note svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.share-doctor-note p { margin: 0; font-size: .7rem; line-height: 1.55; }

.feature-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.feature-card { padding: 27px; border: 1px solid #e0e5ec; border-radius: 17px; background: #fff; }
.feature-card > span { display: grid; place-items: center; width: 43px; height: 43px; margin-bottom: 23px; border-radius: 12px; color: var(--primary); background: var(--primary-soft); }
.feature-card:nth-child(2n) > span { color: #087d91; background: var(--cyan-soft); }
.feature-card:nth-child(3n) > span { color: #6b4fad; background: #efeaff; }
.feature-card svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature-card h3 { margin-bottom: 9px; }
.feature-card p { margin-bottom: 0; font-size: .87rem; }

.trust-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 100px; align-items: center; }
.trust-copy > p:not(.eyebrow) { max-width: 520px; }
.clinical-note { display: flex; gap: 14px; margin-top: 28px; padding: 18px; border: 1px solid #d5e1f2; border-radius: 13px; background: var(--surface-blue); }
.clinical-note > svg { flex: 0 0 auto; width: 27px; height: 27px; color: var(--primary); fill: none; stroke: currentColor; stroke-width: 1.7; }
.clinical-note p { margin: 0; font-size: .75rem; line-height: 1.55; }
.clinical-note strong { display: block; margin-bottom: 3px; color: var(--text); }
.trust-list { display: grid; gap: 3px; }
.trust-list article { display: flex; gap: 18px; padding: 21px 0; border-bottom: 1px solid var(--border); }
.trust-list article:last-child { border: 0; }
.trust-list article > span { display: grid; place-items: center; flex: 0 0 auto; width: 43px; height: 43px; border-radius: 12px; color: var(--success); background: var(--success-soft); }
.trust-list svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.trust-list h3 { margin: 1px 0 6px; font-size: 1rem; }
.trust-list p { margin: 0; font-size: .82rem; line-height: 1.55; }

.use-cases { padding-block: 88px; }
.case-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 11px; }
.case-list span { padding: 12px 17px; border: 1px solid #d9e1eb; border-radius: 999px; background: #fff; color: #344563; font-size: .82rem; font-weight: 600; }
.faq-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 100px; align-items: start; }
.faq-heading { position: sticky; top: 118px; }
.faq-heading > p:not(.eyebrow) { max-width: 390px; }
.faq-heading > a { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; color: var(--primary); font-size: .86rem; font-weight: 700; text-decoration: none; }
.faq-heading svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; }
.faq-list { border-top: 1px solid var(--border); }
.faq-list details { border-bottom: 1px solid var(--border); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; min-height: 72px; padding: 16px 2px; cursor: pointer; font-family: var(--heading); font-size: 1.03rem; font-weight: 650; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { position: relative; flex: 0 0 auto; width: 25px; height: 25px; margin-left: 15px; border-radius: 50%; background: var(--surface); }
.faq-list summary span::before, .faq-list summary span::after { content: ""; position: absolute; top: 12px; left: 7px; width: 11px; height: 1.5px; background: var(--primary); }
.faq-list summary span::after { transform: rotate(90deg); transition: transform .2s ease; }
.faq-list details[open] summary span::after { transform: rotate(0); }
.faq-list details > p { max-width: 700px; margin: -2px 45px 21px 2px; font-size: .87rem; }
.faq-list details a { color: var(--primary); }

.final-cta { position: relative; overflow: hidden; padding: 96px 0; color: #fff; text-align: center; background: linear-gradient(135deg,#0052cc,#073c93); }
.final-glow { position: absolute; inset: -80% 25%; border-radius: 50%; background: radial-gradient(circle,rgba(0,184,217,.35),transparent 58%); }
.final-inner { position: relative; z-index: 2; display: flex; align-items: center; flex-direction: column; }
.final-icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 24px; border: 1px solid rgba(255,255,255,.3); border-radius: 14px; background: rgba(255,255,255,.12); }
.final-icon svg { width: 23px; height: 23px; fill: currentColor; }
.final-cta h2 { max-width: 800px; color: #fff; }
.final-cta p { max-width: 610px; margin-bottom: 29px; color: #dce8f8; }
.button-white { color: var(--primary); background: #fff; border-color: #fff; }
.button-white:hover { color: var(--primary-hover); background: #f7faff; }
.final-cta small { margin-top: 14px; color: #d4e2f5; font-size: .7rem; }

.site-footer { padding: 65px 0 24px; background: #fff; }
.footer-main { display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px; padding-bottom: 48px; }
.footer-brand img { width: 116px; height: auto; }
.footer-brand p { max-width: 340px; margin: 17px 0 0; font-size: .83rem; }
.footer-links { display: grid; grid-template-columns: repeat(3,1fr); gap: 38px; }
.footer-links > div { display: flex; flex-direction: column; gap: 12px; }
.footer-links strong { margin-bottom: 4px; font-family: var(--heading); font-size: .84rem; }
.footer-links a { color: var(--muted); font-size: .77rem; text-decoration: none; }
.footer-links a:hover { color: var(--primary); }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; padding-top: 20px; border-top: 1px solid var(--border); }
.footer-bottom p { margin: 0; font-size: .68rem; }

.legal-header { position: static; height: 78px; border-bottom: 1px solid var(--border); }
.legal-page { min-height: 70vh; padding: 80px 0 110px; }
.legal-content { max-width: 790px; }
.legal-content h1 { font-size: clamp(2.4rem,5vw,4rem); }
.legal-content .updated { margin-bottom: 40px; color: var(--primary); font-size: .78rem; font-weight: 700; }
.legal-content h2 { margin: 42px 0 14px; font-size: 1.45rem; }
.legal-content h3 { margin: 28px 0 10px; font-size: 1.05rem; }
.legal-content p, .legal-content li { color: var(--muted); font-size: .94rem; line-height: 1.75; }
.legal-content li + li { margin-top: 8px; }
.legal-callout { margin: 30px 0; padding: 20px; border-left: 4px solid var(--primary); border-radius: 0 12px 12px 0; background: var(--surface-blue); }
.not-found { min-height: calc(100vh - 78px); display: grid; place-items: center; padding: 70px 24px; text-align: center; }
.not-found strong { color: var(--primary); font-family: var(--heading); font-size: 6rem; line-height: 1; }
.not-found h1 { margin: 15px auto 20px; font-size: clamp(2.2rem,5vw,3.6rem); }
.not-found p { max-width: 560px; }

.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1060px) {
  .container { width: min(var(--container), calc(100% - 40px)); }
  .nav-links { gap: 18px; }
  .primary-nav { gap: 25px; }
  .hero-grid { grid-template-columns: .9fr 1.1fr; gap: 35px; }
  .product-stage { transform: none; }
  .chat-float { right: -8px; width: 340px; }
  .step-row, .step-row.reverse { gap: 45px; }
  .ai-grid, .trust-grid, .faq-grid { gap: 55px; }
  .history-grid, .doctor-grid { gap: 50px; }
}

@media (max-width: 900px) {
  .section { padding: 86px 0; }
  .site-header { height: 70px; background: rgba(255,255,255,.96); border-color: var(--border); }
  .menu-toggle { display: block; }
  .primary-nav { position: fixed; z-index: 99; top: 70px; right: 0; bottom: 0; width: min(380px,100%); display: flex; align-items: stretch; flex-direction: column; gap: 30px; padding: 28px 24px 36px; transform: translateX(102%); background: #fff; box-shadow: -18px 0 40px rgba(9,30,66,.12); visibility: hidden; transition: transform .25s ease, visibility .25s; }
  .primary-nav.is-open { transform: translateX(0); visibility: visible; }
  .nav-links, .nav-actions { align-items: stretch; flex-direction: column; gap: 4px; }
  .nav-links a, .text-link { min-height: 48px; display: flex; align-items: center; padding: 0 12px; border-radius: 9px; font-size: 1rem; }
  .nav-links a:hover, .text-link:hover { background: var(--surface); }
  .nav-actions { margin-top: auto; }
  .nav-actions .button { width: 100%; }
  .hero { min-height: 0; padding: 125px 0 105px; }
  .hero-grid { grid-template-columns: 1fr; gap: 70px; }
  .hero-copy { max-width: 730px; text-align: center; margin-inline: auto; }
  .hero-copy .eyebrow, .hero-actions, .microcopy { justify-content: center; }
  .product-stage { max-width: 650px; width: calc(100% - 25px); margin: auto; }
  .section-heading.split { grid-template-columns: 1fr; gap: 20px; }
  .problem-grid { grid-template-columns: 1fr; max-width: 690px; margin: auto; }
  .problem-card { min-height: 0; }
  .step-row, .step-row.reverse { grid-template-columns: 1fr; gap: 35px; }
  .step-row.reverse .step-copy { order: 0; }
  .step-copy { max-width: 620px; }
  .ai-grid, .history-grid, .trust-grid, .faq-grid, .doctor-grid { grid-template-columns: 1fr; }
  .ai-copy, .history-copy, .trust-copy, .doctor-copy { max-width: 700px; }
  .history-copy { order: -1; }
  .feature-grid { grid-template-columns: repeat(2,1fr); }
  .faq-heading { position: static; }
  .footer-main { grid-template-columns: 1fr; gap: 45px; }
}

@media (max-width: 620px) {
  .container { width: min(var(--container), calc(100% - 32px)); }
  .section { padding: 72px 0; }
  h1 { font-size: clamp(2.55rem,12.7vw,3.5rem); }
  h2 { font-size: 2.15rem; }
  .hero { padding: 112px 0 85px; }
  .hero-lead { font-size: 1rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .microcopy { align-items: flex-start; text-align: left; line-height: 1.45; }
  .product-stage { min-height: 420px; width: 100%; }
  .stage-sidebar { width: 45px; padding-inline: 8px; }
  .mini-mark { width: 29px; height: 29px; }
  .stage-main { padding: 50px 14px 25px 58px; }
  .summary-card { padding: 12px; }
  .result-card { padding: 14px; }
  .result-card > .status-pill { position: static; margin-top: 10px; }
  .result-measure em { display: none; }
  .chat-float { right: -5px; bottom: -36px; width: calc(100% - 50px); padding: 14px; }
  .chat-question { width: 91%; }
  .section-heading { margin-bottom: 40px; }
  .section-heading.centered br { display: none; }
  .step-row { padding: 58px 0; }
  .step-copy h3 { font-size: 1.7rem; }
  .step-visual { padding: 18px; border-radius: 19px; }
  .drop-zone { margin: 13px; padding: 24px 10px; }
  .ask-visual, .insight-visual { padding: 17px; }
  .share-card { padding: 17px; }
  .share-qr svg { width: 96px; height: 96px; }
  .ask-question { width: 88%; }
  .ask-source { margin-left: 0; }
  .ai-demo { border-radius: 17px; }
  .prompt-chips { display: none; }
  .user-message { width: 78%; }
  .assistant-message { margin-right: 20px; }
  .chart-values { gap: 8px; }
  .chart-values > span { display: none; }
  .chart-values > div { padding: 10px; }
  .chart-values strong { font-size: 1.2rem; }
  .history-chart { padding: 17px; }
  .history-features, .feature-grid { grid-template-columns: 1fr; }
  .clinical-note { align-items: flex-start; }
  .case-list { justify-content: flex-start; }
  .faq-list summary { min-height: 68px; font-size: .96rem; }
  .final-cta { padding: 75px 0; }
  .footer-links { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .footer-bottom { flex-direction: column; }
}

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