:root {
  --ink: #10243e;
  --muted: #66788d;
  --line: #d9e5ef;
  --paper: #f3f8fc;
  --white: #fff;
  --lime: #8bd3ff;
  --lime-dark: #267fb8;
  --navy: #102a46;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}
a { color: inherit; }
main { overflow: hidden; }
.nav {
  position: relative;
  z-index: 20;
  width: min(1180px, calc(100% - 40px));
  height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,.18);
  color: white;
}
.brand { display: inline-flex; gap: 10px; align-items: center; font-weight: 800; letter-spacing: -.02em; text-decoration: none; }
.brand-mark { position: relative; display: block; width: 30px; height: 30px; border-radius: 8px; background: rgba(139,211,255,.13); border: 1px solid rgba(139,211,255,.45); }
.brand-mark i { position: absolute; width: 9px; height: 9px; background: var(--lime); transform: rotate(45deg); border-radius: 2px; }
.brand-mark i:first-child { left: 6px; top: 6px; }.brand-mark i:nth-child(2) { right: 6px; top: 6px; opacity: .72; }.brand-mark i:last-child { left: 10px; bottom: 5px; background: #d5efff; }
.nav-links { display: flex; align-items: center; gap: 30px; font-size: 14px; }
.nav-links a { text-decoration: none; opacity: .72; transition: opacity .2s; }
.nav-links a:hover { opacity: 1; }
.nav-github { opacity: 1 !important; padding: 10px 16px; border: 1px solid rgba(255,255,255,.28); border-radius: 99px; }

.hero {
  position: relative;
  min-height: 940px;
  margin-top: -76px;
  padding: 170px 20px 76px;
  color: white;
  background:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px),
    var(--navy);
  background-size: 48px 48px;
}
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 180px; background: linear-gradient(transparent, rgba(2,15,11,.35)); pointer-events: none; }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(1px); opacity: .65; }
.hero-glow-one { width: 650px; height: 650px; top: -300px; right: -160px; background: radial-gradient(circle, rgba(139,211,255,.24), transparent 68%); }
.hero-glow-two { width: 560px; height: 560px; bottom: -280px; left: -180px; background: radial-gradient(circle, rgba(73,153,218,.24), transparent 68%); }
.hero-inner { position: relative; z-index: 2; max-width: 980px; margin: 0 auto; text-align: center; }
.status-pill { display: inline-flex; gap: 9px; align-items: center; padding: 7px 13px; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.06); border-radius: 99px; color: #d2ddd8; font-size: 12px; letter-spacing: .04em; text-decoration: none; transition: border-color .2s, background .2s; }
.status-pill:hover { border-color: rgba(139,211,255,.55); background: rgba(139,211,255,.1); }
.status-pill span { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 12px var(--lime); }
.kicker { margin: 34px 0 13px; color: var(--lime); font: 700 13px/1.3 monospace; text-transform: uppercase; letter-spacing: .16em; }
.hero h1 { max-width: 880px; margin: 0 auto; font-family: Georgia, "Times New Roman", serif; font-size: clamp(42px, 4.8vw, 62px); line-height: 1.05; letter-spacing: -.035em; font-weight: 700; }
.paper-title { max-width: 820px; margin: 18px auto 0; color: #d7e5ee; font-family: Georgia, "Times New Roman", serif; font-size: clamp(21px, 2.4vw, 29px); line-height: 1.28; letter-spacing: -.018em; }
.hero-copy { max-width: 660px; margin: 20px auto 0; color: #aebfca; font-size: 15px; line-height: 1.65; }
.hero-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin: 32px 0 34px; }
.button { display: inline-flex; align-items: center; gap: 12px; border-radius: 99px; padding: 12px 19px; font-size: 13px; font-weight: 700; text-decoration: none; }
.button-primary { background: var(--lime); color: var(--ink); }
.button-outline { color: #d7e5ee; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.06); }
.button-outline:hover { border-color: rgba(139,211,255,.58); background: rgba(139,211,255,.1); }
.button-hf { color: #10243e; background: #e8f6ff; border: 1px solid #b8e1fa; }
.button-hf:hover { background: #fff; }
.button-muted { color: #aab7b2; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.04); }
.authors { max-width: 900px; margin: 0 auto; color: #d4ddd9; font-size: 14px; line-height: 1.9; }
.authors span { display: inline-block; margin-right: 5px; }
.authors .author-lead { color: var(--lime); }
.affiliations { margin: 8px 0 0; color: #8ea099; font-size: 12px; }
.correspondence { margin: 4px 0 0; color: #6f847b; font-size: 11px; }
.correspondence a { text-decoration: none; }

.terminal-card { position: relative; z-index: 3; width: min(820px, calc(100% - 30px)); margin: 52px auto -150px; border: 1px solid rgba(255,255,255,.19); border-radius: 18px; overflow: hidden; background: #091a2b; box-shadow: 0 30px 90px rgba(0,0,0,.45); text-align: left; }
.terminal-bar { height: 47px; padding: 0 18px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; color: #718ba2; border-bottom: 1px solid #243c52; font: 11px monospace; }
.terminal-bar > span:last-child { justify-self: end; color: #8bcaf0; }
.terminal-dots { display: flex; gap: 6px; }
.terminal-dots i { width: 8px; height: 8px; border-radius: 50%; background: #46564f; }
.terminal-dots i:first-child { background: #ff6e62; }.terminal-dots i:nth-child(2) { background: #f6c94c; }.terminal-dots i:last-child { background: #65cf78; }
.terminal-body { padding: 27px 34px 30px; font-family: monospace; }
.terminal-body > p { margin: 0 0 22px; color: #d7e0dc; font-size: 13px; }.terminal-body > p b { color: var(--lime); }.terminal-body > p em { color: #7f9b90; font-style: normal; }
.terminal-step { display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: 10px; min-height: 42px; }
.terminal-step > span { color: #5f7990; font-size: 11px; }.terminal-step strong { color: #e7f0f7; font-size: 12px; }.terminal-step small { color: #7893a8; font-size: 10px; }
.terminal-line { width: 1px; height: 14px; margin-left: 14px; background: #304b62; }
.terminal-success { display: flex; align-items: center; gap: 14px; margin-top: 24px; padding: 16px; border: 1px solid #315d7e; border-radius: 10px; background: rgba(139,211,255,.08); }
.terminal-success > span { display: grid; place-items: center; width: 28px; height: 28px; color: var(--ink); background: var(--lime); border-radius: 50%; font-weight: 900; }
.terminal-success div { display: flex; flex-direction: column; gap: 2px; }.terminal-success strong { color: #d8f1ff; font-size: 12px; }.terminal-success small { color: #7695aa; font-size: 10px; }

.metrics { width: min(1050px, calc(100% - 40px)); margin: 118px auto 0; padding: 42px 0; display: grid; grid-template-columns: repeat(4,1fr); border-bottom: 1px solid var(--line); }
.metrics div { padding: 0 34px; border-right: 1px solid var(--line); }.metrics div:last-child { border: 0; }
.metrics strong { display: block; font-size: 38px; line-height: 1; letter-spacing: -.05em; }.metrics span { display: block; margin-top: 10px; color: var(--muted); font-size: 12px; }
.section { width: min(1120px, calc(100% - 40px)); margin: 0 auto; padding: 110px 0; }
.section-label { margin: 0 0 14px; color: var(--lime-dark); font: 700 11px/1 monospace; text-transform: uppercase; letter-spacing: .16em; }
.section h2 { margin: 0; font-size: clamp(36px, 5vw, 58px); line-height: 1.03; letter-spacing: -.055em; }
.intro { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: start; }
.intro-copy { padding-top: 6px; color: #4e6174; font-size: 17px; line-height: 1.75; }.intro-copy p:first-child { margin-top: 0; }.intro-copy p:last-child { margin-bottom: 0; }
.stages { border-top: 1px solid var(--line); }
.section-topline { display: flex; justify-content: space-between; align-items: end; gap: 40px; }.section-topline > p { max-width: 270px; margin: 0 0 5px; color: var(--muted); font-size: 13px; }
.stage-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-top: 46px; }
.stage-card { min-height: 390px; padding: 26px; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: 14px; transition: transform .25s, box-shadow .25s; }
.stage-card:hover { transform: translateY(-4px); box-shadow: 0 18px 45px rgba(25,43,35,.08); }
.stage-head { display: flex; align-items: center; justify-content: space-between; }.stage-head > span { color: #93a4b3; font: 12px monospace; }.stage-head small { padding: 6px 9px; border-radius: 99px; background: #e6f5ff; color: #2475aa; font: 700 9px monospace; text-transform: uppercase; letter-spacing: .1em; }
.stage-card h3 { margin: 70px 0 14px; font-size: 24px; line-height: 1.15; letter-spacing: -.035em; }.stage-card > p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.tag-row { display: flex; gap: 7px; flex-wrap: wrap; margin-top: auto; }.tag-row span { padding: 6px 8px; border: 1px solid var(--line); border-radius: 5px; color: #68736e; font: 9px monospace; }
.paper-figure { margin: 54px 0 0; padding: 20px; background: white; border: 1px solid var(--line); border-radius: 14px; }.paper-figure img { display: block; width: 100%; height: auto; border-radius: 7px; }.paper-figure figcaption { margin: 16px 4px 2px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.state-section { width: 100%; max-width: none; padding: 110px max(20px, calc((100% - 1120px)/2)); display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; color: white; background: var(--navy); }
.state-copy > p:not(.section-label) { margin: 24px 0 30px; color: #9baca5; font-size: 15px; line-height: 1.7; }.state-copy ul { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.12); }.state-copy li { display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.12); color: #b8c6c0; font-size: 12px; }.state-copy li span { color: var(--lime); font: 10px monospace; }
.state-visual { position: relative; min-height: 500px; display: grid; place-items: center; }
.state-core { z-index: 4; width: 180px; height: 180px; display: flex; flex-direction: column; justify-content: center; align-items: center; border-radius: 50%; color: var(--ink); background: var(--lime); box-shadow: 0 0 70px rgba(139,211,255,.22); }.state-core small { font: 10px monospace; text-transform: uppercase; }.state-core strong { margin: 4px 0; font-size: 34px; letter-spacing: -.06em; }.state-core span { font-size: 10px; }
.state-orbit { position: absolute; inset: 50%; border: 1px solid rgba(255,255,255,.17); border-radius: 50%; transform: translate(-50%,-50%); }.state-orbit span { position: absolute; padding: 8px 13px; border: 1px solid rgba(255,255,255,.17); border-radius: 99px; background: #173b5a; color: #c6d9e7; font: 10px monospace; }
.orbit-a { width: 310px; height: 310px; }.orbit-a span { top: -16px; left: 50%; transform: translateX(-50%); }
.orbit-b { width: 430px; height: 430px; border-style: dashed; }.orbit-b span { bottom: 54px; right: -8px; }
.orbit-c { width: 540px; height: 540px; opacity: .8; }.orbit-c span { top: 110px; left: -12px; }
.results { border-bottom: 1px solid var(--line); }
.result-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-top: 48px; }.result-card { padding: 26px; background: white; border: 1px solid var(--line); border-radius: 14px; }.result-title { display: flex; justify-content: space-between; margin-bottom: 28px; }.result-title strong { font-size: 15px; }.result-title span { color: #267fb8; font: 700 11px monospace; }
.score-row { display: grid; grid-template-columns: 42px 1fr 46px; gap: 10px; align-items: center; margin: 13px 0; color: #7a8b9d; font-size: 10px; }.score-row b { color: #687b8e; font: 11px monospace; text-align: right; }.bar { height: 5px; overflow: hidden; border-radius: 8px; background: #e7eef4; }.bar i { display: block; height: 100%; background: #a9b9c7; border-radius: 8px; }.facet-row { color: #1d648f; font-weight: 700; }.facet-row .bar i { background: var(--lime-dark); }.facet-row b { color: #1d648f; }
.result-note { max-width: 720px; margin: 32px 0 0 auto; color: var(--muted); font-size: 13px; text-align: right; }
.resources { border-bottom: 1px solid var(--line); }
.resource-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; margin-top: 46px; }
.resource-card { min-height: 176px; padding: 25px; display: flex; flex-direction: column; align-items: flex-start; border: 1px solid var(--line); border-radius: 14px; color: var(--ink); background: var(--white); text-decoration: none; transition: transform .2s, border-color .2s, box-shadow .2s; }
.resource-card:hover { transform: translateY(-3px); border-color: #9ecfec; box-shadow: 0 16px 38px rgba(25,67,96,.08); }
.resource-card small { color: var(--lime-dark); font: 700 10px/1 monospace; text-transform: uppercase; letter-spacing: .12em; }
.resource-card strong { margin: 24px 0 12px; font-size: 19px; line-height: 1.25; letter-spacing: -.025em; }
.resource-card span { margin-top: auto; color: var(--muted); font-size: 11px; }
.resource-dataset { background: #eaf7ff; border-color: #c6e6f8; }
.validation { display: grid; grid-template-columns: .55fr 1.1fr 1fr; gap: 60px; align-items: center; }.validation-number { font-size: 74px; font-weight: 800; letter-spacing: -.07em; }.validation-number span { color: #a6afa9; font-size: 24px; }.validation h2 { font-size: 38px; }.validation > div:nth-child(2) > p:last-child { color: var(--muted); font-size: 13px; line-height: 1.7; }
.yield-list div { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 14px; padding: 14px 0 16px; border-bottom: 1px solid var(--line); font-size: 12px; }.yield-list b { font: 11px monospace; }.yield-list i { position: absolute; bottom: -1px; left: 0; height: 2px; background: var(--lime-dark); }
.appendix { border-top: 1px solid var(--line); }.appendix-heading { margin-bottom: 42px; }.data-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }.data-panel { padding: 24px; background: white; border: 1px solid var(--line); border-radius: 14px; }.data-panel-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 20px; }.data-panel-head > div { display: flex; align-items: center; gap: 12px; }.data-panel-head span { color: var(--lime-dark); font: 700 10px monospace; }.data-panel-head h3 { margin: 0; font-size: 17px; letter-spacing: -.025em; }.data-panel-head p { margin: 0; color: var(--muted); font-size: 10px; }
.table-scroll { width: 100%; overflow-x: auto; }.table-scroll table { width: 100%; min-width: 690px; border-collapse: collapse; font-size: 11px; }.data-grid .table-scroll table { min-width: 510px; }.table-scroll th,.table-scroll td { padding: 11px 12px; border-bottom: 1px solid var(--line); text-align: right; white-space: nowrap; }.table-scroll th { color: #6d7f91; background: #f4f9fc; font: 700 9px monospace; text-transform: uppercase; letter-spacing: .04em; }.table-scroll th:first-child,.table-scroll td:first-child { text-align: left; }.table-scroll tbody tr:last-child td { border-bottom: 0; }.table-highlight td { color: #145f90; background: #eaf7ff; font-weight: 700; }.compact-table table { min-width: 450px; }
.citation { width: 100%; max-width: none; padding: 100px max(20px, calc((100% - 1120px)/2)); display: grid; grid-template-columns: .75fr 1.25fr; gap: 90px; color: white; background: #081827; }.citation h2 { font-size: 44px; }.citation > div > p:last-child { color: #7890a5; font-size: 13px; }.citation pre { margin: 0; padding: 26px; overflow-x: auto; border: 1px solid #284056; border-radius: 12px; background: #0c2033; color: #bed4e4; font: 11px/1.8 monospace; }
footer { padding: 42px max(20px, calc((100% - 1120px)/2)); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; color: #8da4b7; background: #081827; border-top: 1px solid #1d3549; font-size: 11px; }footer p { margin: 0; }footer > div { display: flex; justify-content: end; gap: 20px; }footer > div a { text-decoration: none; }

@media (max-width: 800px) {
  .nav-links a:not(.nav-github) { display: none; }
  .hero { min-height: 1000px; padding-top: 145px; }.hero h1 { font-size: clamp(38px, 10vw, 50px); }.paper-title { font-size: 20px; }.hero-copy { font-size: 14px; }
  .terminal-card { width: 100%; margin-top: 44px; }.terminal-body { padding: 22px 18px; }.terminal-step { grid-template-columns: 32px 1fr; }.terminal-step small { display: none; }
  .metrics { grid-template-columns: 1fr 1fr; }.metrics div { padding: 25px; border-bottom: 1px solid var(--line); }.metrics div:nth-child(2) { border-right: 0; }
  .section { padding: 78px 0; }.intro,.state-section,.citation { grid-template-columns: 1fr; gap: 48px; }.section-topline { display: block; }.section-topline > p { margin-top: 18px; }.stage-grid,.result-grid,.resource-grid { grid-template-columns: 1fr; }.stage-card { min-height: 320px; }.stage-card h3 { margin-top: 48px; }
  .state-section,.citation { padding-left: 20px; padding-right: 20px; }.state-visual { min-height: 390px; transform: scale(.78); }.result-note { text-align: left; }
  .validation { grid-template-columns: 1fr; gap: 34px; }.validation-number { font-size: 62px; }.data-grid { grid-template-columns: 1fr; }.data-panel { padding: 18px; }.data-panel-head { display: block; }.data-panel-head > p { margin-top: 8px; }
  footer { grid-template-columns: 1fr; text-align: left; }footer > div { justify-content: start; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; }.stage-card { transition: none; } }
