:root {
  --brand: #114b7b;
  --research: #336e6c;
  --research-soft: #eaf2ef;
  --signal: #b56b43;
  --ink: #172229;
  --muted: #5b6970;
  --line: #d8e0e2;
  --paper: #fbfbf8;
  --warm: #f5f4ef;
  --white: #ffffff;
  --shell: min(100% - 80px, 1320px);
  --sans: "Aptos", "Segoe UI", "Helvetica Neue", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  --ease: cubic-bezier(.22, .72, .24, 1);
  --type-display: clamp(50px, 4.1vw, 61px);
  --type-product: clamp(46px, 4vw, 58px);
  --type-section: clamp(40px, 3.45vw, 50px);
  --type-subheading: clamp(25px, 1.9vw, 30px);
  --type-lead: clamp(24px, 2vw, 28px);
  --type-body: 17px;
  --type-meta: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: var(--sans); font-size: var(--type-body); line-height: 1.7; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body.nav-open { overflow: hidden; }
::selection { color: var(--white); background: var(--brand); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { color: inherit; font: inherit; }
figure, h1, h2, p, ol, ul { margin: 0; }
ul, ol { padding: 0; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.site-shell { width: var(--shell); margin-inline: auto; }
.skip-link { position: fixed; z-index: 1000; top: 10px; left: 10px; padding: 9px 13px; color: var(--white); background: var(--brand); transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.section-label, .eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--brand); font-size: var(--type-meta); font-weight: 650; letter-spacing: .045em; line-height: 1.45; }
.section-label::before, .eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; flex: 0 0 auto; background: var(--signal); }

/* Header */
.site-header { position: fixed; z-index: 100; inset: 0 0 auto; height: 74px; border-bottom: 1px solid transparent; background: var(--white); transition: height .2s ease, border-color .2s ease; }
.site-header.is-scrolled { height: 66px; border-color: var(--line); }
.nav-wrap { display: flex; height: 100%; align-items: center; justify-content: space-between; }
.brand { position: relative; z-index: 2; width: 128px; }
.brand img { width: 100%; height: auto; }
.site-nav { display: flex; align-items: center; gap: 30px; color: #34444c; font-size: 14px; font-weight: 620; }
.site-nav a { position: relative; transition: color .18s ease; }
.site-nav a:hover, .site-nav a:focus-visible, .site-nav a.is-active { color: var(--brand); }
.site-nav a:not(.nav-contact)::after { content: ""; position: absolute; right: 0; bottom: -9px; left: 0; height: 2px; background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform .2s var(--ease); }
.site-nav a.is-active:not(.nav-contact)::after { transform: scaleX(1); }
.site-nav .nav-contact { display: flex; margin-left: 8px; align-items: center; gap: 11px; color: var(--brand); }
.nav-toggle { display: none; width: 42px; height: 42px; padding: 9px 4px; border: 0; background: transparent; }
.nav-toggle span { display: block; width: 27px; height: 1px; margin: 6px auto; background: var(--ink); transition: transform .2s ease, opacity .2s ease; }

/* Hero: a brand point of view, followed by clinical data as visual evidence. */
.hero { padding-top: 74px; background: #f7f8f6; }
.hero-grid { padding: 54px 0 38px; }
.hero-copy { display: grid; grid-template-columns: minmax(0, .61fr) minmax(0, .39fr); gap: 0 clamp(70px, 9vw, 140px); align-items: start; }
.hero-copy .eyebrow { grid-column: 1 / -1; }
.hero-copy h1 { grid-row: 2 / 4; grid-column: 1; max-width: 750px; margin-top: 24px; font-size: var(--type-display); font-weight: 480; letter-spacing: -.05em; line-height: 1.1; text-wrap: balance; }
.hero-copy h1 strong, .hero-copy h1 span { display: block; }
.hero-copy h1 strong { color: var(--brand); font-weight: 650; }
.hero-intro { grid-row: 2; grid-column: 2; max-width: 430px; margin-top: 36px; color: var(--muted); font-size: 17px; line-height: 1.75; }
.hero-products { grid-row: 3; grid-column: 2; display: grid; margin-top: 19px; gap: 4px; color: #435760; font-size: 14px; line-height: 1.65; }
.hero-products strong { color: var(--brand); font-weight: 680; }
.hero-products span { padding-inline: 7px; color: #98afb9; font-weight: 400; }
.hero-link { grid-row: 4; grid-column: 1; display: inline-flex; justify-self: start; margin-top: 22px; padding-bottom: 7px; border-bottom: 1px solid rgba(17,75,123,.5); align-items: center; gap: 22px; color: var(--brand); font-size: 14px; font-weight: 630; }
.hero-link span { transition: transform .2s var(--ease); }
.hero-link:hover span { transform: translateY(3px); }
.hero-brand-visual { position: relative; height: 348px; margin: 30px 0 0; overflow: hidden; border-top: 1px solid #d9dfdd; border-bottom: 1px solid #d9dfdd; }
.hero-brand-visual picture { display: block; width: 100%; height: 100%; }
.hero-brand-visual img { width: 100%; height: 100%; object-fit: cover; object-position: center 52%; filter: contrast(1.025) saturate(.97); }

/* Research foundation: the only large dark field */
.technology { padding: 76px 0 54px; color: var(--white); background: var(--brand); }
.technology .section-label { color: #c5dae4; }
.technology-grid { display: grid; gap: 46px; }
.technology-grid header { display: grid; grid-template-columns: minmax(0, .58fr) minmax(0, .42fr); gap: 0 clamp(60px, 9vw, 140px); align-items: end; }
.technology-grid header .section-label { grid-column: 1 / -1; }
.technology h2 { max-width: 730px; margin-top: 22px; font-size: var(--type-section); font-weight: 540; letter-spacing: -.045em; line-height: 1.14; text-wrap: balance; }
.technology h2 span { display: block; }
.technology header > p:last-child { max-width: none; margin: 0 0 6px; color: #d6e3e8; font-size: 16px; line-height: 1.8; white-space: nowrap; }
.foundation-model { position: relative; border-top: 1px solid rgba(255,255,255,.5); border-bottom: 1px solid rgba(255,255,255,.32); }
.foundation-inputs { display: flex; min-height: 58px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.24); align-items: center; justify-content: space-between; gap: 24px; }
.foundation-sequence { display: flex; align-items: center; gap: clamp(7px, .9vw, 14px); white-space: nowrap; }
.foundation-sequence strong { color: #dce9ee; font-size: 10px; font-weight: 720; letter-spacing: .105em; }
.foundation-sequence i { color: #d5a07b; font-size: 12px; font-style: normal; font-weight: 520; }
.foundation-sources { color: #c5d8e0; font-size: 13px; font-weight: 580; white-space: nowrap; }
.research-chain { display: grid; position: relative; grid-template-columns: 1.22fr .94fr 1.08fr 1.06fr; }
.research-chain::before { content: ""; position: absolute; z-index: 0; top: 82px; right: 2%; left: 2%; border-top: 1px solid rgba(255,255,255,.32); }
.research-step { position: relative; z-index: 1; min-width: 0; min-height: 254px; padding: 24px 25px 25px; }
.research-step:first-child { padding-left: 0; }
.research-step:last-child { padding-right: 0; }
.research-step + .research-step { border-left: 0; }
.research-step + .research-step::after { content: ""; position: absolute; z-index: 2; top: 78px; left: -4px; width: 8px; height: 8px; border-top: 1px solid rgba(255,255,255,.5); border-right: 1px solid rgba(255,255,255,.5); transform: rotate(45deg); }
.step-code { display: flex; min-height: 18px; align-items: baseline; gap: 9px; }
.step-code span { color: #d5a07b; font-size: 11px; font-weight: 700; letter-spacing: .08em; }
.step-code strong { color: #b9d1dc; font-size: 10px; font-weight: 720; letter-spacing: .12em; }
.step-viz { display: block; width: 100%; max-width: 150px; height: 42px; margin: 20px 0 24px; overflow: visible; }
.step-viz path, .step-viz circle { fill: none; stroke: #9fc1cf; stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.step-viz circle { fill: var(--brand); stroke: #c3dce5; }
.structure-viz rect { fill: rgba(213,160,123,.5); stroke: none; }
.evidence-viz path:last-of-type { stroke: #d5a07b; stroke-width: 1.8; }
.evidence-viz circle { fill: none; stroke: rgba(255,255,255,.32); }
.step-system { color: #c1d7e0; font-size: 11px; font-weight: 700; letter-spacing: .08em; }
.research-step h3 { max-width: 230px; margin-top: 5px; color: var(--white); font-size: clamp(18px, 1.55vw, 22px); font-weight: 590; letter-spacing: -.025em; line-height: 1.35; text-wrap: balance; }
.foundation-scope { max-width: 230px; margin-top: 9px; color: #aecad6; font-size: 12px; font-weight: 560; line-height: 1.65; }
.foundation-rail { display: flex; min-height: 64px; padding: 13px 0; border-top: 1px solid rgba(255,255,255,.24); align-items: center; gap: 18px; }
.foundation-rail > div { display: flex; min-width: 340px; align-items: baseline; gap: 13px; }
.foundation-rail > div span { color: #d5a07b; font-size: 12px; font-weight: 650; }
.foundation-rail > div strong { color: #e6eff3; font-size: 12px; letter-spacing: .1em; }
.foundation-rail > p { color: #c5d8e0; font-size: 13px; font-weight: 570; white-space: nowrap; }
.foundation-rail > i { width: 3px; height: 3px; border-radius: 50%; background: #7ea6b8; }

/* Product chapters */
.product-story { padding: 70px 0 72px; }
.product-story > .site-shell { display: flex; flex-direction: column; }
.product-heading { display: grid; grid-template-columns: .46fr .54fr; gap: clamp(70px, 10vw, 150px); align-items: end; }
.product-heading h2 { margin-top: 12px; color: var(--brand); font-size: var(--type-product); font-weight: 650; letter-spacing: -.052em; line-height: 1; }
.product-statement { max-width: 520px; margin-top: 23px; font-size: var(--type-lead); font-weight: 500; letter-spacing: -.025em; line-height: 1.38; text-wrap: balance; }
.product-statement strong { font-weight: 620; }
.product-statement strong > span { display: inline; }
.product-copy { max-width: 590px; padding-bottom: 3px; color: var(--muted); font-size: var(--type-body); line-height: 1.74; }
.product-copy > p + p { margin-top: 10px; }
.clinova-story { background: var(--paper); }
.clinova-story .product-copy { max-width: 560px; color: #647279; font-size: 16px; line-height: 1.72; }
.apanomic-story { --brand: var(--research); background: var(--research-soft); }
.apanomic-heading h2 { color: var(--research); }
.apanomic-heading { grid-template-columns: .54fr .46fr; }
.apanomic-heading > div { grid-column: 2; }
.apanomic-heading > .product-copy { grid-row: 1; grid-column: 1; }
.product-architecture { display: grid; order: 2; margin-top: 30px; grid-template-columns: minmax(250px, .28fr) minmax(0, .72fr); gap: clamp(42px, 6vw, 82px); align-items: center; }
.architecture-heading { padding-right: 6px; }
.architecture-heading h3 { max-width: 390px; margin-top: 20px; font-size: var(--type-subheading); font-weight: 560; letter-spacing: -.032em; line-height: 1.3; text-wrap: balance; }
.clinova-story .architecture-heading h3 { max-width: none; white-space: nowrap; }
.architecture-heading .architecture-copy { max-width: 360px; margin-top: 20px; color: var(--muted); font-size: 14px; line-height: 1.72; }
.apanomic-architecture { grid-template-columns: 1fr; gap: 24px; }
.apanomic-architecture .architecture-heading { grid-row: 1; grid-column: 1; display: block; padding: 0; }
.apanomic-architecture .architecture-heading h3 { max-width: 660px; margin-top: 14px; }
.apanomic-architecture .apanomic-system { grid-row: 2; grid-column: 1; }
.clinova-flow { position: relative; min-height: 0; overflow: hidden; border-top: 1px solid #c4d2d7; border-bottom: 1px solid #c4d2d7; }
.clinova-map { display: block; width: 100%; height: auto; }
.clinova-map text { fill: #34464f; font-family: var(--sans); font-size: 16px; font-weight: 650; }
.clinova-map .map-labels text { fill: #75868e; font-size: 12px; letter-spacing: .08em; }
.clinova-map .map-meta { fill: #77878e; font-size: 12px; font-weight: 500; }
.clinova-map .map-routes { fill: none; stroke: #a9bbc1; stroke-width: 1.5; }
.clinova-map .map-routes path:nth-child(2n) { stroke: #94afaa; }
.clinova-map .map-sources circle { fill: var(--brand); }
.clinova-map .map-outputs circle { fill: var(--research); }
.clinova-map .map-sources circle:nth-of-type(4), .clinova-map .map-outputs circle:nth-of-type(2) { fill: var(--signal); }
.clinova-map .map-core rect { fill: var(--brand); }
.clinova-map .map-core path { fill: none; stroke: rgba(255,255,255,.36); stroke-width: 1; }
.clinova-map .map-core-title { fill: var(--white); font-size: 23px; font-weight: 680; letter-spacing: -.02em; }
.clinova-map .map-core-copy { fill: #d9e8ef; font-size: 13px; font-weight: 520; }
.apanomic-system { position: relative; padding: 0 0 16px; border-top: 1px solid #9fbbb4; border-bottom: 1px solid #9fbbb4; }
.stack-sources { display: flex; min-height: 64px; padding: 15px 0; border-bottom: 1px solid #bed0cb; align-items: center; gap: 16px; color: #315a58; }
.stack-sources > span { margin-right: auto; color: #78938d; font-size: 11px; font-weight: 720; letter-spacing: .12em; }
.stack-sources > div { display: flex; align-items: center; gap: 16px; }
.stack-sources strong { font-size: 14px; font-weight: 650; }
.stack-sources i { color: var(--signal); font-size: 18px; font-style: normal; font-weight: 520; }
.stack-flow { display: grid; position: relative; grid-template-columns: .88fr 1.03fr 1.48fr 1.03fr 1.16fr; }
.stack-flow::before { content: ""; position: absolute; z-index: 0; top: 46px; right: 4%; left: 4%; border-top: 1px solid #91ada7; }
.stack-stage { position: relative; min-width: 0; min-height: 205px; padding: 25px 22px 24px; background: var(--research-soft); }
.stack-stage:not(.stack-database) { display: flex; flex-direction: column; }
.stack-stage::before { content: ""; display: block; width: 9px; height: 9px; margin: 14px 0 25px; border: 2px solid var(--research-soft); border-radius: 50%; background: var(--research); box-shadow: 0 0 0 1px #91ada7; }
.stack-stage:not(:last-child)::after { content: ""; position: absolute; z-index: 2; top: 42px; right: -5px; width: 8px; height: 8px; border-top: 1px solid #789a93; border-right: 1px solid #789a93; transform: rotate(45deg); }
.stack-stage + .stack-stage { border-left: 1px solid #c2d3ce; }
.stack-stage:first-child { padding-left: 0; }
.stack-stage:last-child { padding-right: 0; }
.stack-role { display: flex; min-height: 17px; align-items: baseline; gap: 8px; color: #66847e; font-size: 10px; font-weight: 720; letter-spacing: .09em; line-height: 1.25; }
.stack-role span { color: var(--signal); }
.stack-stage > strong { display: block; color: var(--research); font-size: clamp(18px, 1.65vw, 23px); font-weight: 720; letter-spacing: -.025em; line-height: 1.1; }
.stack-stage > p:not(.stack-role) { margin-top: 9px; color: #506c66; font-size: 13px; line-height: 1.55; }
.stack-stage small { display: block; margin-top: 10px; color: #315a58; font-size: 12px; font-weight: 620; line-height: 1.5; }
.stage-fragment { display: block; width: 100%; height: 24px; margin-top: auto; overflow: visible; }
.stage-fragment path, .stage-fragment circle { fill: none; stroke: #789a93; stroke-width: 1; vector-effect: non-scaling-stroke; }
.stage-fragment circle { fill: var(--research-soft); stroke-width: 1.2; }
.text-fragment rect { fill: rgba(181,107,67,.28); }
.studio-fragment .stage-accent { stroke: var(--signal); }
.stack-database { display: flex; justify-content: center; flex-direction: column; background: var(--research); }
.stack-database::before { border-color: var(--research); background: #edf5f2; box-shadow: 0 0 0 1px rgba(255,255,255,.65); }
.stack-database::after { border-color: #d9e8e3 !important; }
.stack-database .stack-role { color: #bcd2cc; }
.stack-database > strong { color: var(--white); font-size: clamp(22px, 2vw, 29px); }
.stack-database > p:not(.stack-role), .stack-database small { color: #deebe7; }
.database-records { display: grid; width: 100%; height: 12px; margin-top: 13px; grid-template-columns: repeat(8, 1fr); gap: 3px; }
.database-records i { background: rgba(255,255,255,.28); }
.database-records i:nth-child(2), .database-records i:nth-child(5), .database-records i:nth-child(8) { background: rgba(213,160,123,.78); }
.database-records i:nth-child(3), .database-records i:nth-child(6) { background: rgba(255,255,255,.58); }
.stack-output { display: flex; min-height: 50px; padding: 13px 0 0; align-items: center; justify-content: flex-end; gap: 13px; color: var(--research); }
.stack-output > span { color: var(--signal); font-size: 17px; line-height: 1; }
.stack-output > strong { font-size: 12px; letter-spacing: .12em; }
.stack-output > p { color: #5b7771; font-size: 13px; }
.product-main { order: 1; width: 100%; margin-top: 30px; }
.product-frame { position: relative; overflow: hidden; aspect-ratio: 1200 / 620; border: 1px solid #cad7da; border-radius: 4px; background: #f0f3f2; }
.apanomic-main .product-frame { aspect-ratio: 1200 / 560; border-color: #aec7c0; background: #f6faf8; }
.product-illustration { display: block; width: 100%; height: 100%; }
.product-illustration text { font-family: var(--sans); }
.product-illustration .artifact-bg { fill: #f0f3f2; }
.apanomic-product-visual .artifact-bg { fill: #f6faf8; }
.product-illustration .artifact-rule { fill: none; stroke: #c3d0d4; stroke-width: 1; }
.apanomic-product-visual .artifact-rule { stroke: #bfd1cb; }
.product-illustration .artifact-brand { fill: var(--brand); font-size: 16px; font-weight: 720; letter-spacing: .06em; }
.product-illustration .artifact-meta, .product-illustration .artifact-axis { fill: #64777f; font-size: 13px; font-weight: 520; }
.product-illustration .artifact-title { fill: #24363f; font-size: 18px; font-weight: 680; }
.product-illustration .artifact-label { fill: var(--research); font-size: 14px; font-weight: 700; letter-spacing: .03em; }
.product-illustration .artifact-panel { fill: #f7f9f9; stroke: #c5d3d7; stroke-width: 1; }
.clinova-product-visual .artifact-bg { fill: #edf2f2; }
.clinova-product-visual .artifact-panel { fill: #fbfcfc; stroke: #b9c9ce; }
.clinova-product-visual .artifact-rule { stroke: #b9c8cd; }
.clinova-product-visual .artifact-grid { stroke: #d0dcdf; }
.product-nav text { fill: #6b7b83; font-size: 12px; font-weight: 620; }
.product-nav text.is-active { fill: var(--brand); font-weight: 700; }
.product-nav path { fill: none; stroke: var(--brand); stroke-width: 2; }
.clinova-primary > .artifact-title { fill: var(--brand); font-size: 22px; }
.clinova-product-visual .artifact-signals .artifact-title,
.clinova-product-visual .artifact-efficacy .artifact-title { font-size: 17px; }
.clinical-context rect { fill: #eef2f2; stroke: #d1dbde; stroke-width: 1; }
.clinical-context text:not(.artifact-axis) { fill: #34464f; font-size: 13px; font-weight: 650; }
.artifact-timeline path:not(.artifact-line) { fill: none; stroke: #b9c8cd; stroke-width: 1.5; }
.artifact-timeline circle:not(.event-alert) { fill: var(--brand); }
.event-blue { fill: #4479a1; }
.artifact-timeline rect.event-green { fill: #699b92; }
.event-alert { fill: var(--signal); }
.artifact-line { fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.artifact-line-blue { stroke: var(--brand); }
.artifact-line-green { stroke: var(--research); }
.review-strip rect { fill: #e5ecee; }
.review-strip circle { fill: var(--signal); }
.review-strip .review-copy { fill: #4d616a; font-size: 13px; font-weight: 560; }
.artifact-efficacy .artifact-line { stroke-linecap: square; stroke-linejoin: miter; }
.artifact-efficacy .km-legend-blue, .artifact-efficacy .km-legend-green { fill: none; stroke-width: 3; }
.artifact-efficacy .km-legend-blue { stroke: var(--brand); }
.artifact-efficacy .km-legend-green { stroke: var(--research); }
.artifact-grid { fill: none; stroke: #d7e0e3; stroke-width: 1; }
.artifact-threshold { fill: none; stroke: #b5795b; stroke-width: 1; stroke-dasharray: 5 6; }
.artifact-signals circle { fill: var(--brand); opacity: .82; }
.artifact-signals circle:nth-of-type(4), .artifact-signals circle:nth-of-type(6) { fill: var(--signal); }
.research-query { fill: #1e3438; font-size: 23px; font-weight: 560; letter-spacing: -.018em; }
.research-divider { fill: none; stroke: #c7d9d3; stroke-width: 1; }
.artifact-step { fill: #688781; font-size: 11px; font-weight: 720; letter-spacing: .09em; }
.disease-variables rect { fill: #e1ece8; stroke: #afc7c0; stroke-width: 1; }
.disease-variables text { fill: #426762; font-size: 12px; font-weight: 580; }
.cohort-label { fill: #69827d; font-size: 12px; font-weight: 650; }
.cohort-number { fill: var(--research); font-size: 38px; font-weight: 580; letter-spacing: -.04em; }
.clinical-copy-line { fill: none; stroke: #9db2ad; stroke-width: 5; stroke-linecap: round; }
.evidence-highlight { fill: #d8e8e2; }
.evidence-token { fill: #315a58; font-size: 11px; font-weight: 680; }
.evidence-trace circle { fill: var(--research); }
.evidence-trace path { fill: none; stroke: #9eb5af; stroke-width: 1; }
.evidence-trace text { fill: #58726d; font-size: 11px; font-weight: 620; }
.ap-model-panel > rect { fill: #76a097; }
.ap-model-panel > circle { fill: var(--signal); }
.model-label { fill: #58726d; font-size: 12px; font-weight: 620; }
.model-output > path { fill: none; stroke: #bed1cb; stroke-width: 1; }
.model-output > text:not(.artifact-axis) { fill: #315a58; font-size: 13px; font-weight: 650; }
.model-output rect { fill: #dceae5; stroke: #a8c2ba; stroke-width: 1; }
.model-output rect + text { fill: #315a58; font-size: 11px; font-weight: 650; }
.research-path circle { fill: var(--research); }
.research-path circle:nth-of-type(4) { fill: var(--signal); }
.research-path path { fill: none; stroke: #9eb5af; stroke-width: 1; }
.research-path text { fill: #466b66; font-size: 12px; font-weight: 650; }
.product-main figcaption { display: flex; min-height: 0; padding: 12px 1px 0; align-items: center; justify-content: space-between; gap: 22px; color: var(--muted); font-size: 14px; line-height: 1.45; }
.product-main figcaption strong { color: var(--ink); font-size: 15px; font-weight: 650; white-space: nowrap; }

/* Motion: restrained reveals that explain hierarchy and product flow. */
html.motion-ready [data-reveal] { opacity: 0; transform: translate3d(0, 12px, 0); transition: opacity .54s var(--ease) var(--reveal-delay, 0ms), transform .6s var(--ease) var(--reveal-delay, 0ms); will-change: opacity, transform; }
html.motion-ready [data-reveal].is-visible { opacity: 1; transform: translate3d(0, 0, 0); }
html.motion-ready .hero-brand-visual[data-reveal] img { transform: scale(1.018); transition: transform 1.25s var(--ease) .08s; }
html.motion-ready .hero-brand-visual[data-reveal].is-visible img { transform: scale(1); }

@media (hover: hover) and (pointer: fine) {
  .product-frame { transition: transform .42s var(--ease), border-color .42s ease; }
  .product-main:hover .product-frame { border-color: #9db4bc; transform: translateY(-3px); }
  .apanomic-main:hover .product-frame { border-color: #8fb3aa; }
}

.product-main.is-visible .artifact-timeline .artifact-line,
.product-main.is-visible .artifact-efficacy .artifact-line { stroke-dasharray: 900; animation: trace-line 1.05s var(--ease) .34s both; }
.product-main.is-visible .artifact-signals circle { transform-box: fill-box; transform-origin: center; animation: signal-in .46s var(--ease) both; }
.product-main.is-visible .artifact-signals circle:nth-of-type(2) { animation-delay: .08s; }
.product-main.is-visible .artifact-signals circle:nth-of-type(3) { animation-delay: .14s; }
.product-main.is-visible .artifact-signals circle:nth-of-type(4) { animation-delay: .2s; }
.product-main.is-visible .artifact-signals circle:nth-of-type(5) { animation-delay: .26s; }
.product-main.is-visible .artifact-signals circle:nth-of-type(6) { animation-delay: .32s; }
.product-main.is-visible .clinical-copy-line { stroke-dasharray: 360; animation: trace-line .9s var(--ease) .28s both; }
.product-main.is-visible .ap-model-panel > rect { transform-box: fill-box; transform-origin: left center; animation: model-bar-in .72s var(--ease) both; }
.product-main.is-visible .ap-model-panel > rect:nth-of-type(2) { animation-delay: .1s; }
.product-main.is-visible .ap-model-panel > rect:nth-of-type(3) { animation-delay: .2s; }
.product-main.is-visible .research-path path { stroke-dasharray: 120; animation: research-route .65s var(--ease) .3s both; }
.product-architecture.is-visible .map-routes path { stroke-dasharray: 260; animation: architecture-route .85s var(--ease) both; }
.product-architecture.is-visible .map-routes path:nth-child(2n) { animation-delay: .12s; }
.product-architecture.is-visible .stack-stage::before { transform-box: fill-box; transform-origin: center; animation: stack-node-in .48s var(--ease) both; }
.product-architecture.is-visible .stack-stage:nth-child(2)::before { animation-delay: .08s; }
.product-architecture.is-visible .stack-stage:nth-child(3)::before { animation-delay: .16s; }
.product-architecture.is-visible .stack-stage:nth-child(4)::before { animation-delay: .24s; }
.product-architecture.is-visible .stack-stage:nth-child(5)::before { animation-delay: .32s; }

@keyframes trace-line {
  from { stroke-dashoffset: 900; opacity: .28; }
  to { stroke-dashoffset: 0; opacity: 1; }
}

@keyframes signal-in {
  from { opacity: 0; transform: scale(.35); }
  to { opacity: .82; transform: scale(1); }
}

@keyframes model-bar-in {
  from { opacity: .28; transform: scaleX(.18); }
  to { opacity: 1; transform: scaleX(1); }
}

@keyframes research-route {
  from { stroke-dashoffset: 120; opacity: .25; }
  to { stroke-dashoffset: 0; opacity: 1; }
}

@keyframes architecture-route {
  from { stroke-dashoffset: 260; opacity: .2; }
  to { stroke-dashoffset: 0; opacity: 1; }
}

@keyframes stack-node-in {
  from { opacity: 0; transform: scale(.3); }
  to { opacity: 1; transform: scale(1); }
}

/* About, contact and footer */
.about { padding: 56px 0 52px; background: var(--warm); }
.about-grid { display: grid; grid-template-columns: minmax(0, .62fr) minmax(0, .38fr); gap: 22px clamp(60px, 7vw, 105px); align-items: start; }
.about-head h2 { margin-top: 20px; }
.about h2 { max-width: none; font-size: clamp(34px, 2.9vw, 42px); font-weight: 500; letter-spacing: -.038em; line-height: 1.18; white-space: nowrap; text-wrap: nowrap; }
.about h2 span { display: inline; }
.about-copy { padding-top: 36px; color: var(--muted); font-size: 15px; line-height: 1.75; }
.about-copy > p + p { margin-top: 18px; color: var(--ink); font-weight: 540; }
.company-facts { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 16px; border-top: 1px solid #d3d0c8; }
.company-facts > div { display: flex; min-height: 58px; padding: 14px 22px 0; align-items: flex-start; }
.company-facts > div:first-child { padding-left: 0; }
.company-facts > div + div { border-left: 1px solid #ddd9d0; }
.company-facts strong { color: var(--ink); font-size: 15px; font-weight: 610; line-height: 1.4; }
.contact { padding: 65px 0 70px; background: var(--white); }
.contact-grid { display: grid; grid-template-columns: .5fr .5fr; gap: clamp(70px, 10vw, 160px); align-items: end; }
.contact h2 { margin-top: 22px; font-size: var(--type-section); font-weight: 500; letter-spacing: -.047em; line-height: 1.14; text-wrap: balance; }
.contact h2 span { display: block; }
.contact-copy > p { max-width: 560px; color: var(--muted); font-size: 16px; line-height: 1.8; }
.contact-mail { display: flex; margin-top: 28px; padding: 15px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); align-items: center; justify-content: space-between; color: var(--brand); font-size: clamp(24px, 2.1vw, 32px); font-weight: 600; transition: border-color .2s ease; }
.contact-mail span { transition: transform .2s var(--ease); }
.contact-mail:hover { border-color: var(--brand); }
.contact-mail:hover span { transform: translate(3px, -3px); }
.site-footer { padding: 42px 0 24px; background: #f4f6f5; }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 42px 80px; align-items: start; }
.footer-brand img { width: 132px; height: auto; }
.footer-brand p { margin-top: 12px; color: var(--muted); font-size: 14px; }
.footer-grid nav { display: flex; gap: 28px; padding-top: 5px; color: #43535a; font-size: 14px; font-weight: 620; }
.footer-grid nav a:hover { color: var(--brand); }
.footer-legal { grid-column: 1 / -1; display: flex; padding-top: 28px; border-top: 1px solid var(--line); justify-content: space-between; color: var(--muted); font-size: 12px; }

@media (max-width: 1120px) {
  :root { --shell: min(100% - 52px, 1000px); }
  .hero-copy { gap: 0 60px; }
  .hero-copy h1 { font-size: 48px; }
  .hero-brand-visual { height: 312px; }
  .technology-grid { gap: 46px; }
  .technology-grid header { grid-template-columns: 1fr; gap: 0; }
  .technology header > p:last-child { max-width: none; margin-top: 22px; }
  .research-step { padding-right: 18px; padding-left: 18px; }
  .research-step h3 { font-size: 18px; }
  .foundation-scope { font-size: 11px; }
  .foundation-rail > div { min-width: 290px; }
  .product-illustration .artifact-meta, .product-illustration .artifact-axis { font-size: 14px; }
  .product-illustration .artifact-title { font-size: 20px; }
  .product-illustration .artifact-step { font-size: 12px; }
  .review-strip .review-copy, .research-path text { font-size: 14px; }
  .product-heading { gap: 64px; }
  .product-architecture, .apanomic-architecture { grid-template-columns: 1fr; gap: 26px; }
  .architecture-heading { display: grid; grid-template-columns: .55fr .45fr; gap: 8px 38px; align-items: start; }
  .architecture-heading .section-label { grid-row: 1; grid-column: 1; }
  .architecture-heading h3 { grid-row: 2; grid-column: 1; margin-top: 5px; }
  .architecture-heading .architecture-copy { grid-row: 2; grid-column: 2; margin-top: 6px; }
  .stack-stage { padding-right: 15px; padding-left: 15px; }
  .stack-role { font-size: 9px; letter-spacing: .07em; }
  .stack-stage > p:not(.stack-role) { font-size: 12px; }
  .about-grid { grid-template-columns: 1fr; gap: 23px; }
  .about-copy { max-width: 700px; padding-top: 0; }
  .company-facts { grid-column: 1; margin-top: 12px; }
}

@media (max-width: 860px) {
  :root { --shell: min(100% - 38px, 760px); }
  html { scroll-padding-top: 78px; }
  .site-header, .site-header.is-scrolled { height: 66px; }
  .brand { width: 116px; }
  .nav-toggle { display: block; position: relative; z-index: 2; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .site-nav { position: fixed; inset: 66px 0 0; display: none; padding: 42px 28px; color: var(--white); background: var(--brand); }
  .site-nav.is-open { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav a { padding: 10px 0; color: var(--white); font-size: 20px; }
  .site-nav a:not(.nav-contact)::after { display: none; }
  .site-nav .nav-contact { margin: 25px 0 0; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.3); justify-content: space-between; color: var(--white); font-size: 16px; }
  .hero { padding-top: 66px; }
  .hero-grid { padding: 55px 0 54px; }
  .hero-copy { grid-template-columns: 1fr; max-width: 670px; }
  .hero-copy .eyebrow, .hero-copy h1, .hero-intro, .hero-products, .hero-link { grid-row: auto; grid-column: 1; }
  .hero-copy h1 { font-size: clamp(42px, 6vw, 48px); }
  .hero-intro { margin-top: 24px; }
  .hero-products { margin-top: 15px; }
  .hero-brand-visual { height: 290px; margin-top: 32px; }
  .technology { padding-top: 65px; }
  .technology-grid { gap: 44px; }
  .technology-grid header { grid-template-columns: 1fr; }
  .technology-grid header .section-label { grid-column: 1; }
  .technology header > p:last-child { max-width: none; margin-top: 22px; white-space: nowrap; }
  .research-chain { grid-template-columns: 1fr; }
  .research-chain::before { top: 28px; right: auto; bottom: 28px; left: 4px; border-top: 0; border-left: 1px solid rgba(255,255,255,.32); }
  .research-step, .research-step:first-child, .research-step:last-child { display: grid; min-height: 0; padding: 20px 0 21px 30px; grid-template-columns: 170px 1fr; grid-template-rows: auto auto auto; gap: 0 25px; }
  .research-step + .research-step { border-top: 1px solid rgba(255,255,255,.2); border-left: 0; }
  .research-step + .research-step::after { display: none; }
  .step-code { grid-row: 1; grid-column: 1; }
  .step-viz { grid-row: 2 / 4; grid-column: 1; margin: 13px 0 0; }
  .step-system { grid-row: 1; grid-column: 2; }
  .research-step h3 { grid-row: 2; grid-column: 2; max-width: none; margin-top: 4px; font-size: 21px; }
  .foundation-scope { grid-row: 3; grid-column: 2; max-width: none; margin-top: 4px; font-size: 12px; }
  .foundation-rail { flex-wrap: wrap; }
  .foundation-rail > div { min-width: 100%; }
  .product-story { padding: 78px 0 84px; }
  .product-heading { grid-template-columns: 1fr; gap: 30px; }
  .apanomic-heading > div, .apanomic-heading > .product-copy { grid-row: auto; grid-column: 1; }
  .product-copy { max-width: 670px; }
  .product-architecture, .apanomic-architecture { margin-top: 32px; grid-template-columns: 1fr; gap: 28px; }
  .architecture-heading { display: block; }
  .architecture-heading h3 { margin-top: 20px; }
  .architecture-heading .architecture-copy { margin-top: 16px; }
  .apanomic-architecture .architecture-heading h3 { margin-top: 20px; }
  .architecture-heading h3 { max-width: 620px; }
  .apanomic-system { overflow-x: auto; overflow-y: hidden; scrollbar-width: thin; scrollbar-color: #90aaa4 transparent; }
  .stack-sources, .stack-flow, .stack-output { width: 940px; }
  .stack-stage { padding-right: 20px; padding-left: 20px; }
  .product-main { margin-top: 36px; overflow-x: auto; overflow-y: hidden; scrollbar-width: thin; scrollbar-color: #9eb2b9 transparent; }
  .product-main::before { content: "左右滑动查看完整研究视图  →"; position: sticky; left: 0; display: block; width: max-content; margin-bottom: 9px; color: var(--muted); font-size: 12px; font-weight: 560; letter-spacing: .02em; }
  .product-main .product-frame { width: 900px; max-width: none; }
  .product-main figcaption { position: sticky; left: 0; width: calc(100vw - 38px); }
  .about { padding: 60px 0 62px; }
  .about-grid { grid-template-columns: 1fr; gap: 23px; }
  .about-head h2 { margin-top: 22px; }
  .about h2 { white-space: normal; text-wrap: balance; }
  .about-copy { max-width: 640px; padding-top: 0; }
  .company-facts { grid-column: 1; margin-top: 12px; }
  .contact { padding: 70px 0 76px; }
  .contact-grid { grid-template-columns: 1fr; gap: 50px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid nav { flex-wrap: wrap; }
}

@media (max-width: 560px) {
  :root { --shell: min(100% - 28px, 520px); }
  body { font-size: 16px; }
  .hero-grid { padding: 44px 0 46px; }
  .hero-copy h1 { font-size: 36px; line-height: 1.16; }
  .hero-intro { font-size: 16px; }
  .hero-products { font-size: 13px; }
  .hero-products span { padding-inline: 5px; }
  .hero-brand-visual { height: 238px; }
  .technology { padding: 62px 0 38px; }
  .technology h2 { font-size: 34px; }
  .technology header > p:last-child { white-space: normal; }
  .foundation-inputs { align-items: flex-start; flex-direction: column; gap: 6px; }
  .foundation-sequence { max-width: 100%; gap: 5px; white-space: normal; }
  .foundation-sequence strong { font-size: 9px; letter-spacing: .065em; }
  .foundation-sources { font-size: 12px; white-space: normal; }
  .research-step, .research-step:first-child, .research-step:last-child { padding: 18px 0 19px 24px; grid-template-columns: 104px 1fr; gap: 0 16px; }
  .step-viz { max-width: 92px; height: 34px; }
  .research-step h3 { font-size: 19px; }
  .foundation-rail { padding: 20px 0 8px; border-top: 0; gap: 9px 13px; }
  .foundation-rail > div { min-width: 100%; flex-direction: column; gap: 2px; }
  .foundation-scope { margin-top: 7px; font-size: 13px; }
  .product-story { padding: 66px 0 72px; }
  .product-heading h2 { font-size: 38px; }
  .product-statement { font-size: 21px; }
  .product-statement strong > span { display: block; }
  .product-copy { font-size: 16px; }
  .product-architecture { margin-top: 44px; }
  .architecture-heading { padding-bottom: 24px; }
  .architecture-heading h3 { font-size: 24px; }
  .clinova-flow { min-height: 0; overflow-x: auto; }
  .clinova-map { width: 760px; max-width: none; }
  .apanomic-system { overflow: visible; }
  .stack-sources, .stack-flow, .stack-output { width: auto; }
  .stack-sources { align-items: flex-start; flex-direction: column; gap: 4px; }
  .stack-sources > span { margin-right: 0; }
  .stack-sources > div { flex-wrap: wrap; gap: 5px 9px; }
  .stack-flow { display: block; position: relative; }
  .stack-flow::before { content: ""; position: absolute; top: 26px; bottom: 26px; left: 6px; border-left: 1px solid #91ada7; }
  .stack-stage, .stack-stage:first-child, .stack-stage:last-child { min-height: 0; padding: 18px 0 18px 29px; }
  .stack-stage + .stack-stage { border-top: 1px solid #c2d3ce; border-left: 0; }
  .stack-stage::before { position: absolute; top: 24px; left: 2px; margin: 0; }
  .stack-stage:not(:last-child)::after { top: auto; right: auto; bottom: -5px; left: 2px; border-top: 0; border-right: 1px solid #789a93; border-bottom: 1px solid #789a93; transform: rotate(45deg); }
  .stage-fragment { max-width: 190px; margin-top: 14px; }
  .stack-database { padding-top: 23px; padding-bottom: 23px; }
  .stack-output { justify-content: flex-start; flex-wrap: wrap; }
  .product-main figcaption { width: calc(100vw - 28px); align-items: flex-start; flex-direction: column; gap: 2px; }
  .about { padding: 50px 0 46px; }
  .about-grid { gap: 16px; }
  .about-head h2 { margin-top: 17px; }
  .about-copy { font-size: 14px; line-height: 1.68; }
  .about-copy > p + p { margin-top: 13px; }
  .company-facts { margin-top: 4px; }
  .company-facts { grid-template-columns: 1fr; }
  .company-facts > div { min-height: 0; padding: 10px 0; border-bottom: 1px solid #ddd9d0; }
  .company-facts strong { font-size: 14px; }
  .company-facts > div + div { border-left: 0; }
  .about h2 { font-size: 31px; }
  .contact h2 { font-size: 34px; }
  .about h2 span { display: block; }
  .contact-mail { font-size: 20px; }
  .footer-legal { flex-direction: column; gap: 7px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}
