:root {
  --ink: #162139;
  --muted: #5e6980;
  --navy: #0c1830;
  --navy-deep: #081124;
  --blue: #426cdb;
  --orange: #f17c42;
  --green: #23a783;
  --line: #dfe5ef;
  --paper: #fff;
  --soft: #f5f8fd;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
::selection { background: #cce7ff; color: var(--navy); }
:focus-visible { outline: 3px solid #f6a46e; outline-offset: 4px; }
.shell { width: min(calc(100% - 64px), var(--max)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 50; top: -60px; left: 20px; padding: 10px 16px; color: var(--navy); background: #fff; border-radius: 8px; }
.skip-link:focus { top: 12px; }

.site-header { position: sticky; top: 0; z-index: 20; color: #fff; background: rgba(12,24,48,.97); border-bottom: 1px solid rgba(255,255,255,.11); backdrop-filter: blur(16px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 15px; white-space: nowrap; }
.brand-mark { font-size: 25px; font-weight: 840; letter-spacing: -.08em; line-height: 1; }
.brand-mark span { color: #f8a370; }
.brand-divider { width: 1px; height: 25px; background: rgba(255,255,255,.24); }
.brand-caption { color: #c7d3e7; font-size: 12px; font-weight: 650; letter-spacing: .01em; }
.site-nav { display: flex; align-items: center; gap: 29px; font-size: 13px; font-weight: 680; }
.site-nav a { color: #d5def0; transition: color .2s ease; }
.site-nav a:hover { color: #fff; }
.site-nav .nav-status { margin-left: 4px; padding: 11px 17px; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; color: #fff; white-space: nowrap; }
.menu-toggle { display: none; }

.hero { position: relative; overflow: hidden; padding: 94px 0 72px; color: #fff; background: radial-gradient(circle at 90% 16%, rgba(51,92,177,.31), transparent 36%), radial-gradient(circle at 3% 72%, rgba(28,122,114,.16), transparent 36%), var(--navy); }
.hero::before { content: ""; position: absolute; right: -180px; top: -290px; width: 760px; height: 760px; border: 1px solid rgba(255,255,255,.07); border-radius: 50%; pointer-events: none; }
.hero::after { content: ""; position: absolute; right: -60px; top: -155px; width: 540px; height: 540px; border: 1px solid rgba(255,255,255,.07); border-radius: 50%; pointer-events: none; }
.hero-copy, .hero-figure { position: relative; z-index: 1; }
.eyebrow, .kicker { display: inline-flex; align-items: center; gap: 9px; color: #6dd2bc; font-size: 12px; font-weight: 790; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow-line { display: inline-block; width: 23px; height: 2px; background: currentColor; }
.eyebrow-dot { color: #f49e6a; font-size: 14px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { letter-spacing: -.05em; }
.hero h1 { max-width: 880px; margin: 28px 0 26px; font-size: clamp(58px, 7.1vw, 100px); font-weight: 810; line-height: .99; }
.hero h1 em { color: #8eb3ff; font-style: normal; }
.hero-lede { max-width: 715px; margin-bottom: 27px; color: #c6d1e4; font-size: clamp(17px, 2vw, 21px); line-height: 1.58; }
.hero-lede strong { color: #fff; font-weight: 650; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 33px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 50px; padding: 0 21px; border-radius: 8px; font-size: 14px; font-weight: 760; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--navy); background: #fff; }
.button-primary:hover { background: #eaf1ff; }
.button-ghost { color: #fff; border: 1px solid rgba(255,255,255,.32); }
.button-ghost:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.55); }
.hero-figure { margin-top: 57px; }

.figure-frame { overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: 0 22px 70px rgba(18,35,67,.09); }
.figure-frame img { display: block; width: 100%; height: auto; }
.figure-head, .figure-foot { display: flex; align-items: center; gap: 14px; padding: 14px 20px; color: #647086; font-size: 12px; font-weight: 620; }
.figure-head { border-bottom: 1px solid var(--line); background: #fafcff; }
.figure-foot { border-top: 1px solid var(--line); font-weight: 500; line-height: 1.5; }
.figure-index { color: var(--blue); font-size: 11px; font-weight: 830; letter-spacing: .1em; white-space: nowrap; }
.hero-figure .figure-head, .hero-figure .figure-foot { color: #62718a; }

.stats { background: #fff; border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { display: flex; flex-direction: column; justify-content: center; min-height: 145px; padding: 23px 30px; border-right: 1px solid var(--line); }
.stat:first-child { padding-left: 0; }
.stat:last-child { border: 0; }
.stat strong { color: var(--navy); font-size: clamp(31px, 4vw, 47px); font-weight: 820; letter-spacing: -.055em; line-height: 1.1; }
.stat span { margin-top: 6px; color: var(--muted); font-size: 12px; font-weight: 720; letter-spacing: .055em; text-transform: uppercase; }

.section { padding: 110px 0; scroll-margin-top: 80px; }
.section-grid { display: grid; grid-template-columns: 1fr .92fr; gap: clamp(50px, 8vw, 120px); align-items: center; }
.section-intro h2, .section-heading h2 { margin: 20px 0 24px; font-size: clamp(39px, 4.8vw, 61px); font-weight: 800; line-height: 1.09; }
.section-intro h2 em, .section-heading h2 em { color: var(--blue); font-style: normal; }
.section-intro p, .section-heading p { max-width: 490px; margin: 0; color: var(--muted); font-size: 17px; line-height: 1.75; }
.kicker { color: #4569d4; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 60px; margin-bottom: 40px; }
.section-heading p { padding-bottom: 7px; }

.idea-section { background: #fff; }
.transition-card { position: relative; overflow: hidden; padding: 30px 33px 0; border: 1px solid #dce4f1; border-radius: 18px; background: #f8faff; box-shadow: 0 18px 55px rgba(42,78,151,.1); }
.transition-top { display: flex; align-items: center; gap: 13px; padding-bottom: 19px; border-bottom: 1px solid #dce4f1; }
.transition-top strong { font-size: 25px; letter-spacing: -.04em; }
.pill { padding: 5px 10px; border-radius: 6px; color: #7b8496; background: #e9edf5; font-size: 11px; font-weight: 780; text-transform: uppercase; letter-spacing: .08em; }
.transition-arrow { margin-left: auto; color: #9aa7bd; font-size: 26px; }
.transition-line { position: absolute; left: 51px; top: 107px; bottom: 66px; width: 2px; background: linear-gradient(var(--blue), var(--orange), var(--green)); opacity: .34; }
.transition-list { position: relative; display: grid; gap: 0; margin: 0; padding: 13px 0 23px; list-style: none; }
.transition-list li { display: grid; grid-template-columns: 24px minmax(0,1fr) auto; align-items: start; gap: 15px; padding: 14px 0; }
.node { display: block; width: 15px; height: 15px; margin-top: 6px; border: 3px solid #fff; border-radius: 50%; box-shadow: 0 0 0 2px currentColor; }
.node-blue { color: var(--blue); background: var(--blue); }
.node-orange { color: var(--orange); background: var(--orange); }
.node-green { color: var(--green); background: var(--green); }
.transition-list code { font-size: 15px; font-weight: 760; }
.transition-list small { display: block; margin-top: 5px; color: #69758b; font-size: 12px; line-height: 1.45; }
.time { margin-top: 5px; color: #78859c; font-size: 12px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.transition-bottom { margin: 0 -33px; padding: 17px 33px; color: #596b8b; background: #eef3fb; font-size: 12px; font-weight: 630; }

.data-section { background: var(--soft); }
.source-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.source-card { position: relative; min-height: 245px; padding: 29px 32px; border: 1px solid #dbe4f1; border-radius: 13px; background: #fff; }
.source-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--blue); }
.source-sim::before { background: var(--green); }
.source-icon { display: grid; place-items: center; float: right; width: 40px; height: 40px; border-radius: 9px; color: var(--blue); background: #eaf0ff; font-size: 16px; font-weight: 850; }
.source-sim .source-icon { color: #0d9770; background: #e4f7f1; }
.source-kind { display: block; margin: 4px 0 20px; color: #63718a; font-size: 12px; font-weight: 750; text-transform: uppercase; letter-spacing: .07em; }
.source-card strong { display: block; color: var(--navy); font-size: 47px; font-weight: 820; letter-spacing: -.06em; line-height: 1; }
.source-card strong span { font-size: 19px; font-weight: 650; letter-spacing: -.02em; }
.source-card p { max-width: 390px; margin: 18px 0 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.data-note { display: flex; justify-content: space-between; gap: 20px; margin: 16px 0 35px; padding: 16px 20px; border: 1px solid #dce4f1; border-radius: 8px; color: #52627b; background: #eaf0fa; font-size: 13px; }
.data-note strong { color: #243c70; white-space: nowrap; }
.pipeline-figure { max-width: 920px; margin-inline: auto; }
.pipeline-crop { overflow: hidden; width: 100%; aspect-ratio: 690 / 540; background: #fff; }
.pipeline-crop img { width: 139.13%; max-width: none; }

.examples-section { background: #fff; }
.examples-figure img { background: #fff; }
.method-section { background: var(--soft); }
.method-figure { margin-top: 5px; }

.results-section { background: #fff; }
.result-panel { padding: 31px 35px 25px; border: 1px solid #dce4f0; border-radius: 15px; background: #fff; box-shadow: 0 20px 60px rgba(25,53,111,.07); }
.result-panel-head { display: flex; justify-content: space-between; align-items: start; gap: 20px; padding-bottom: 25px; border-bottom: 1px solid var(--line); }
.result-panel h3 { margin-bottom: 5px; font-size: 22px; font-weight: 780; }
.result-panel-head p { margin: 0; color: var(--muted); font-size: 13px; }
.legend { display: flex; gap: 19px; color: #5d6981; font-size: 12px; font-weight: 650; white-space: nowrap; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { display: inline-block; width: 9px; height: 9px; border-radius: 2px; }
.legend-zero { background: #a7b5d0; }
.legend-tuned { background: var(--blue); }
.model-chart { padding: 10px 0 5px; }
.model-row { display: grid; grid-template-columns: 145px minmax(100px,1fr) 150px; align-items: center; gap: 20px; min-height: 58px; border-bottom: 1px solid #edf0f5; }
.model-row:last-child { border-bottom: 0; }
.model-row.family-break { margin-top: 9px; border-top: 1px solid #d7e0ed; }
.model-name { color: #34425d; font-size: 13px; font-weight: 690; white-space: nowrap; }
.model-name b { font-weight: 760; }
.bars { display: flex; flex-direction: column; justify-content: center; gap: 6px; height: 36px; }
.bar { display: block; height: 8px; border-radius: 0 4px 4px 0; }
.bar-zero { background: #a7b5d0; }
.bar-tuned { background: linear-gradient(90deg,#466edc,#6d92ed); }
.model-values { color: #69768d; font-size: 12px; font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.model-values span { padding: 0 7px; color: #b8c3d4; }
.model-values strong { color: #1b3f96; font-size: 14px; font-weight: 790; }
.result-note { margin: 17px 0 0; color: #63718a; font-size: 13px; line-height: 1.55; }
.result-note strong { color: #1b3f96; }
.result-highlights { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 18px; }
.result-highlights > div { padding: 25px 29px; border-radius: 12px; background: #edf3fe; }
.result-highlights > div:nth-child(2) { background: #eef8f5; }
.highlight-number { color: #2854b2; font-size: 36px; font-weight: 810; letter-spacing: -.05em; }
.result-highlights > div:nth-child(2) .highlight-number { color: #148769; }
.result-highlights p { max-width: 430px; margin: 9px 0 0; color: #51607b; font-size: 13px; line-height: 1.62; }

.paper-section { padding: 80px 0; color: #fff; background: radial-gradient(circle at 82% 20%, rgba(66,108,219,.42), transparent 38%), var(--navy); scroll-margin-top: 76px; }
.paper-inner { display: flex; justify-content: space-between; align-items: center; gap: 50px; }
.paper-section .kicker { color: #78d9c1; }
.paper-section h2 { margin: 20px 0 18px; font-size: clamp(35px, 4.8vw, 57px); line-height: 1.12; }
.paper-section p { max-width: 550px; margin: 0; color: #bbc9de; font-size: 16px; line-height: 1.6; }
.button-light { flex: none; color: var(--navy); background: #fff; }
.button-light:hover { background: #eaf1ff; }
.site-footer { padding: 27px 0; color: #7887a2; background: var(--navy-deep); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; font-size: 12px; }
.footer-brand { color: #fff; font-size: 20px; font-weight: 850; letter-spacing: -.07em; }
.footer-brand span { color: var(--orange); }
.footer-inner a { color: #d6e0f0; }
.footer-inner a:hover { color: #fff; }

@media (max-width: 930px) {
  .brand-caption { display: none; }
  .brand-divider { display: none; }
  .site-nav { gap: 18px; }
  .section-grid { gap: 45px; }
  .model-row { grid-template-columns: 130px minmax(90px,1fr) 130px; gap: 12px; }
}

@media (max-width: 760px) {
  .shell { width: min(calc(100% - 36px), var(--max)); }
  .header-inner { min-height: 66px; }
  .menu-toggle { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 39px; height: 39px; padding: 8px; border: 1px solid rgba(255,255,255,.27); border-radius: 7px; background: transparent; }
  .menu-toggle span { display: block; height: 2px; background: #fff; border-radius: 2px; }
  .site-nav { display: none; position: absolute; top: 66px; left: 0; right: 0; padding: 14px 18px 20px; border-top: 1px solid rgba(255,255,255,.11); background: var(--navy); box-shadow: 0 18px 30px rgba(4,14,31,.25); }
  .site-nav.is-open { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav a { display: block; padding: 13px 4px; }
  .site-nav .nav-status { display: block; margin: 10px 0 0; text-align: center; }
  .hero { padding: 68px 0 48px; }
  .hero h1 { margin-top: 22px; font-size: clamp(47px, 10vw, 72px); }
  .hero-figure { margin-top: 38px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { min-height: 115px; padding: 20px 22px; border-bottom: 1px solid var(--line); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(3), .stat:nth-child(4) { border-bottom: 0; }
  .stat:nth-child(3) { padding-left: 0; }
  .section { padding: 74px 0; scroll-margin-top: 66px; }
  .section-grid { grid-template-columns: 1fr; gap: 38px; }
  .section-heading { display: block; margin-bottom: 30px; }
  .section-heading p { max-width: 620px; }
  .source-grid { grid-template-columns: 1fr; }
  .source-card { min-height: 210px; }
  .paper-inner { align-items: start; flex-direction: column; gap: 30px; }
}

@media (max-width: 560px) {
  .hero h1 { font-size: 46px; }
  .hero-lede { font-size: 16px; }
  .hero-actions { gap: 9px; }
  .button { min-height: 47px; padding: 0 15px; font-size: 13px; }
  .figure-head, .figure-foot { padding: 10px 12px; font-size: 11px; }
  .figure-head { gap: 9px; }
  .stat { min-height: 105px; padding: 17px 16px; }
  .stat strong { font-size: 31px; }
  .stat span { font-size: 10px; }
  .section-intro h2, .section-heading h2 { font-size: 38px; }
  .section-intro p, .section-heading p { font-size: 15px; }
  .transition-card { padding: 22px 19px 0; }
  .transition-line { left: 37px; top: 98px; }
  .transition-list li { grid-template-columns: 21px minmax(0,1fr) auto; gap: 10px; }
  .transition-list code { font-size: 12px; }
  .transition-list small, .time { font-size: 10px; }
  .transition-bottom { margin: 0 -19px; padding: 15px 19px; }
  .source-card { padding: 24px; }
  .source-card strong { font-size: 40px; }
  .data-note { display: block; }
  .data-note strong { display: block; margin-bottom: 5px; }
  .result-panel { padding: 22px 18px; }
  .result-panel-head { display: block; padding-bottom: 17px; }
  .legend { margin-top: 14px; }
  .model-row { grid-template-columns: 1fr auto; gap: 3px 8px; min-height: 72px; padding: 10px 0; }
  .model-name { grid-column: 1; grid-row: 1; }
  .model-values { grid-column: 2; grid-row: 1; }
  .bars { grid-column: 1 / -1; grid-row: 2; height: 27px; }
  .bar { height: 6px; }
  .result-highlights { grid-template-columns: 1fr; }
  .footer-inner { flex-wrap: wrap; }
  .footer-inner > span:nth-child(2) { order: 3; width: 100%; }
}

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