:root {
  --ink: #071015;
  --ink-2: #0b171d;
  --panel: rgba(15, 30, 37, 0.76);
  --panel-solid: #102129;
  --line: rgba(197, 229, 234, 0.16);
  --line-strong: rgba(197, 229, 234, 0.28);
  --paper: #e8f0ed;
  --muted: #9fb1b2;
  --cyan: #58d8e7;
  --cyan-2: #9beaf0;
  --mint: #71e7bc;
  --acid: #cbf36d;
  --warm: #f4d5a4;
  --danger: #ff6a65;
  --radius: 24px;
  --radius-sm: 14px;
  --max: 1240px;
  --display: "Songti SC", "STSong", "Iowan Old Style", Georgia, serif;
  --sans: "Avenir Next", "PingFang SC", "Hiragino Sans GB", sans-serif;
  --mono: "SFMono-Regular", Menlo, Monaco, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--paper);
  background:
    linear-gradient(rgba(88, 216, 231, 0.025) 1px, transparent 1px) 0 18px / 100% 48px,
    var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
img { display: block; max-width: 100%; }
::selection { color: var(--ink); background: var(--cyan-2); }

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--paper);
  color: var(--ink);
  border-radius: 8px;
}
.skip-link:focus { top: 16px; }

.ambient {
  position: fixed;
  pointer-events: none;
  filter: blur(120px);
  opacity: 0.13;
  border-radius: 50%;
  z-index: -1;
}
.ambient-one { width: 500px; height: 500px; background: var(--cyan); top: 120px; right: -180px; }
.ambient-two { width: 420px; height: 420px; background: var(--mint); top: 920px; left: -260px; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(28px, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid transparent;
  transition: background 220ms ease, border-color 220ms ease, height 220ms ease;
}
.site-header.scrolled {
  height: 70px;
  background: rgba(7, 16, 21, 0.86);
  border-color: var(--line);
  backdrop-filter: blur(20px);
}

.brand { display: flex; gap: 12px; align-items: center; }
.brand strong { display: block; font-size: 14px; letter-spacing: 0.01em; }
.brand small { color: var(--muted); font-family: var(--mono); font-size: 8px; letter-spacing: 0.16em; }
.brand-mark {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  background: rgba(88, 216, 231, 0.07);
}
.brand-mark i { width: 2px; background: var(--cyan); border-radius: 5px; }
.brand-mark i:nth-child(1), .brand-mark i:nth-child(5) { height: 8px; }
.brand-mark i:nth-child(2), .brand-mark i:nth-child(4) { height: 16px; }
.brand-mark i:nth-child(3) { height: 23px; background: var(--mint); }

nav { display: flex; gap: 30px; align-items: center; color: var(--muted); font-size: 13px; }
nav a { transition: color 160ms ease; }
nav a:hover, nav a:focus-visible { color: var(--paper); }
.nav-download {
  padding: 10px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  color: var(--paper);
}
.menu-button { display: none; background: none; border: 0; color: inherit; }

main { position: relative; }
.hero {
  min-height: 910px;
  max-width: 1480px;
  margin: 0 auto;
  padding: 154px 48px 100px;
  display: grid;
  grid-template-columns: minmax(390px, 0.82fr) minmax(560px, 1.18fr);
  gap: 50px;
  align-items: center;
}
.eyebrow, .section-index {
  color: var(--cyan-2);
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.eyebrow { display: flex; align-items: center; gap: 9px; }
.live-dot { width: 7px; height: 7px; background: var(--mint); border-radius: 50%; box-shadow: 0 0 0 5px rgba(113, 231, 188, 0.1); }
.hero h1 {
  margin: 24px 0 22px;
  font-family: var(--display);
  font-size: clamp(54px, 6vw, 88px);
  line-height: 1.02;
  letter-spacing: -0.055em;
  font-weight: 600;
}
.hero h1 em { color: var(--cyan-2); font-style: normal; }
.hero-lead { max-width: 610px; color: #b9c7c7; font-size: 17px; line-height: 1.85; }
.hero-actions { display: flex; align-items: stretch; gap: 12px; margin-top: 34px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 54px;
  padding: 10px 19px;
  border: 1px solid transparent;
  border-radius: 13px;
  font-size: 13px;
  font-weight: 700;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}
.button:hover { transform: translateY(-2px); }
.button:focus-visible, button:focus-visible, a:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.button-primary { color: #041114; background: var(--cyan); box-shadow: 0 14px 50px rgba(88, 216, 231, 0.17); }
.button-primary:hover { background: var(--cyan-2); }
.button-primary > span, .button-primary > small { display: block; }
.button-primary small { font-family: var(--mono); font-size: 8px; opacity: 0.68; letter-spacing: 0.06em; }
.button-quiet { color: var(--paper); border-color: var(--line); background: rgba(255, 255, 255, 0.025); }
.button-quiet:hover { border-color: var(--line-strong); background: rgba(255, 255, 255, 0.05); }
.hero-notes { display: flex; gap: 24px; margin-top: 28px; color: var(--muted); font-size: 10px; }
.hero-notes span { display: flex; gap: 6px; align-items: baseline; }
.hero-notes b { color: var(--paper); font-family: var(--mono); font-size: 12px; }

.hero-stage { position: relative; perspective: 1200px; }
.app-window {
  overflow: hidden;
  border: 1px solid rgba(197, 229, 234, 0.32);
  border-radius: 18px;
  background: #dce4e7;
  box-shadow: 0 50px 100px rgba(0, 0, 0, 0.42), 0 0 0 8px rgba(255, 255, 255, 0.025);
  transform: rotateY(-4deg) rotateX(1deg);
  transform-origin: center;
}
.window-chrome {
  height: 30px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  color: #334047;
  background: #dce2e5;
  font-size: 8px;
  font-weight: 600;
}
.window-chrome > span:last-child { margin: auto; transform: translateX(-22px); }
.traffic { width: 8px; height: 8px; border-radius: 50%; }
.traffic.red { background: #ff5f57; }
.traffic.amber { background: #febc2e; }
.traffic.green { background: #28c840; }
.app-window img { width: 100%; }
.orbit-label {
  position: absolute;
  z-index: 3;
  padding: 10px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  color: var(--muted);
  background: rgba(7, 16, 21, 0.83);
  backdrop-filter: blur(10px);
  font: 9px var(--mono);
  letter-spacing: 0.08em;
}
.orbit-label b { color: var(--paper); margin-left: 7px; }
.orbit-a { top: -28px; left: 12%; }
.orbit-b { top: 14%; right: -20px; }
.signal-card {
  position: absolute;
  z-index: 4;
  left: 7%;
  bottom: -42px;
  width: 240px;
  padding: 13px 15px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: rgba(7, 16, 21, 0.9);
  box-shadow: 0 20px 50px rgba(0,0,0,.34);
  backdrop-filter: blur(16px);
  font: 9px var(--mono);
  color: var(--muted);
}
.signal-card { display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; align-items: center; }
.signal-card b { color: var(--mint); font-size: 8px; }
.mini-wave { grid-column: 1 / -1; height: 28px; display: flex; gap: 3px; align-items: center; }
.mini-wave i { flex: 1; height: 30%; background: var(--cyan); border-radius: 4px; }
.mini-wave i:nth-child(3n) { height: 90%; }
.mini-wave i:nth-child(4n) { height: 55%; background: var(--mint); }

.section-pad { width: min(var(--max), calc(100% - 56px)); margin: 0 auto; padding: 110px 0; }
.manifesto { border-top: 1px solid var(--line); }
.manifesto-grid { display: grid; grid-template-columns: 1fr 0.72fr; gap: 80px; align-items: end; }
.manifesto h2, .section-heading h2, .download h2 {
  margin: 14px 0 0;
  font-family: var(--display);
  font-size: clamp(38px, 4.3vw, 62px);
  line-height: 1.12;
  letter-spacing: -0.035em;
  font-weight: 600;
}
.manifesto-grid > div p { color: #b6c6c6; font-size: 16px; line-height: 1.9; }
.manifesto-grid .microcopy { color: var(--cyan-2); margin-top: 26px; font: 11px var(--mono); letter-spacing: 0.1em; }

.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 46px; }
.section-heading > p { max-width: 440px; color: var(--muted); line-height: 1.8; font-size: 14px; }
.workflow-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.workflow-card { min-height: 330px; padding: 24px; border-right: 1px solid var(--line); background: rgba(13, 29, 35, 0.56); position: relative; }
.workflow-card:last-child { border-right: 0; }
.workflow-card:hover { background: rgba(18, 39, 47, 0.78); }
.card-number { position: absolute; top: 22px; right: 22px; color: var(--muted); font: 9px var(--mono); }
.workflow-icon, .knob, .ab-icon, .export-icon { height: 110px; display: flex; align-items: center; }
.score-icon { color: var(--cyan-2); font: 64px var(--display); }
.knob { position: relative; }
.knob::before { content: ""; width: 64px; height: 64px; border: 1px solid var(--line-strong); border-radius: 50%; box-shadow: inset 0 0 0 10px rgba(88,216,231,.04); }
.knob i { position: absolute; width: 2px; height: 24px; left: 31px; top: 31px; background: var(--mint); transform: rotate(38deg); transform-origin: bottom; }
.ab-icon { gap: 12px; font: 28px var(--mono); }
.ab-icon b:first-child { color: var(--paper); }
.ab-icon b:last-child { color: var(--cyan); }
.ab-icon i { width: 42px; height: 1px; background: var(--line-strong); position: relative; }
.ab-icon i::after { content: ""; position: absolute; right: 0; top: -3px; border-left: 6px solid var(--line-strong); border-top: 3px solid transparent; border-bottom: 3px solid transparent; }
.export-icon { color: var(--mint); font-size: 54px; font-weight: 200; }
.workflow-card h3 { margin: 6px 0 10px; font-size: 17px; }
.workflow-card p { color: var(--muted); min-height: 66px; font-size: 13px; line-height: 1.7; }
.workflow-card small { color: var(--cyan-2); font: 8px var(--mono); letter-spacing: .1em; }

.listen-deck {
  position: relative;
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 42px;
  min-height: 460px;
  padding: 44px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #0d2027;
}
.track-kicker { color: var(--mint); font: 9px var(--mono); letter-spacing: .12em; }
.track-info h3 { margin: 24px 0 16px; max-width: 420px; font-family: var(--display); font-size: 38px; font-weight: 600; line-height: 1.15; }
.track-info p { max-width: 420px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.seed { display: inline-flex; gap: 12px; margin-top: 28px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 9px; font: 8px var(--mono); }
.seed span { color: var(--muted); }
.seed b { color: var(--mint); }
.track-versions { position: relative; z-index: 2; align-self: center; }
.track {
  width: 100%;
  display: grid;
  grid-template-columns: 48px 1fr 42px;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
  padding: 14px;
  color: var(--paper);
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,.025);
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease;
}
.track:hover { border-color: var(--line-strong); }
.track.active { border-color: rgba(88,216,231,.58); background: rgba(88,216,231,.07); }
.version-letter { width: 42px; height: 42px; display: grid; place-items: center; color: var(--ink); background: var(--paper); border-radius: 10px; font: 18px var(--mono); font-weight: 800; }
.version-letter.version-b { background: var(--cyan); }
.track-copy b, .track-copy small { display: block; }
.track-copy b { margin-bottom: 3px; font-size: 14px; }
.track-copy small { color: var(--muted); font-size: 10px; }
.play-control { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--cyan); font-size: 10px; }
.player-progress { display: grid; grid-template-columns: 34px 1fr 34px; gap: 10px; align-items: center; margin-top: 18px; color: var(--muted); font: 9px var(--mono); }
.progress-rail { height: 3px; overflow: hidden; background: rgba(255,255,255,.1); border-radius: 10px; }
.progress-rail i { display: block; width: 0; height: 100%; background: var(--cyan); }
.large-wave { position: absolute; inset: auto -15px -40px 34%; height: 180px; display: flex; align-items: center; gap: 8px; opacity: .12; }
.large-wave i { flex: 1; height: var(--h); background: var(--cyan); border-radius: 12px; }

.evidence-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.evidence-feature { min-height: 190px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: rgba(11, 24, 30, .56); }
.evidence-feature:hover { border-color: var(--line-strong); }
.evidence-feature > span { color: var(--cyan-2); font: 8px var(--mono); letter-spacing: .12em; }
.evidence-feature h3 { margin: 34px 0 10px; font-size: 16px; }
.evidence-feature p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.75; }
.proof-strip { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.proof-strip div { padding: 28px; border-right: 1px solid var(--line); }
.proof-strip div:last-child { border-right: 0; }
.proof-strip b, .proof-strip span { display: block; }
.proof-strip b { color: var(--mint); font: 24px var(--mono); }
.proof-strip span { margin-top: 8px; color: var(--muted); font-size: 10px; }

.download-panel { display: grid; grid-template-columns: 1.1fr .9fr; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--panel-solid); overflow: hidden; }
.download-copy, .requirements { padding: 48px; }
.download-copy { border-right: 1px solid var(--line); }
.download-copy > p:not(.section-index):not(.checksum) { max-width: 580px; color: var(--muted); line-height: 1.8; }
.download-wide { width: 100%; justify-content: space-between; margin-top: 24px; padding-left: 22px; padding-right: 22px; }
.checksum { margin-top: 18px; color: var(--muted); font: 8px/1.7 var(--mono); }
.checksum code { color: #b7c7c7; word-break: break-all; }
.requirements h3 { margin-top: 0; font-size: 18px; }
.requirements dl { margin: 24px 0; }
.requirements dl div { display: flex; justify-content: space-between; gap: 20px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 12px; }
.requirements dt { color: var(--muted); }
.requirements dd { margin: 0; text-align: right; }
.install-note { padding: 18px; border: 1px solid rgba(244,213,164,.25); border-radius: 12px; background: rgba(244,213,164,.05); }
.install-note b { color: var(--warm); font-size: 11px; }
.install-note p { color: var(--muted); font-size: 10px; line-height: 1.7; }
.copy-command { width: 100%; display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 10px; color: var(--paper); border: 1px solid var(--line); border-radius: 8px; background: rgba(0,0,0,.18); cursor: pointer; }
.copy-command code { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #a8c4c5; font-size: 8px; }
.copy-command span { flex: none; color: var(--cyan); font-size: 9px; }
.research-notice { display: grid; grid-template-columns: 180px 1fr; gap: 40px; margin-top: 16px; padding: 22px 26px; border: 1px solid var(--line); border-radius: 14px; }
.research-notice > span { color: var(--acid); font: 9px var(--mono); letter-spacing: .1em; }
.research-notice p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.7; }
.research-notice a { color: var(--paper); text-decoration: underline; text-underline-offset: 3px; }

footer { width: min(var(--max), calc(100% - 56px)); margin: 0 auto; padding: 44px 0 60px; display: grid; grid-template-columns: 1fr 1fr auto; gap: 40px; align-items: center; border-top: 1px solid var(--line); }
.footer-brand { display: flex; gap: 14px; align-items: center; }
.footer-brand strong { font-size: 13px; }
.footer-brand p, .footer-project p { margin: 4px 0 0; color: var(--muted); font-size: 9px; }
.footer-project span { color: var(--cyan-2); font: 9px var(--mono); }
.footer-links { display: flex; gap: 18px; color: var(--muted); font-size: 10px; }
.footer-links a:hover { color: var(--paper); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 700ms ease, transform 700ms ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-late { transition-delay: 140ms; }

.legal-page { min-height: 100vh; padding: 140px 28px 80px; }
.legal-wrap { width: min(820px, 100%); margin: auto; }
.legal-wrap h1 { font-family: var(--display); font-size: 52px; }
.legal-wrap h2 { margin-top: 42px; color: var(--cyan-2); font-size: 18px; }
.legal-wrap p, .legal-wrap li { color: var(--muted); line-height: 1.85; font-size: 13px; }
.legal-wrap a { color: var(--cyan); text-decoration: underline; }
.back-link { display: inline-block; margin-bottom: 30px; color: var(--cyan); font: 10px var(--mono); }

@media (max-width: 1080px) {
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 130px; }
  .hero-copy { max-width: 760px; }
  .hero-stage { width: min(920px, 100%); margin: 60px auto 0; }
  .workflow-grid { grid-template-columns: repeat(2, 1fr); }
  .workflow-card:nth-child(2) { border-right: 0; }
  .workflow-card:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .evidence-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .site-header { height: 70px; padding: 0 20px; }
  .menu-button { display: grid; gap: 6px; padding: 10px; }
  .menu-button span { display: block; width: 22px; height: 1px; background: var(--paper); }
  nav { position: fixed; top: 70px; left: 16px; right: 16px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: rgba(7,16,21,.97); }
  nav.open { display: flex; }
  nav a { padding: 14px; }
  .nav-download { margin-top: 6px; }
  .hero { padding: 120px 22px 80px; grid-template-columns: minmax(0,1fr); }
  .hero h1 { font-size: 50px; }
  .hero-lead { font-size: 15px; }
  .hero-actions { flex-direction: column; }
  .hero-notes { flex-wrap: wrap; }
  .app-window { transform: none; }
  .orbit-label { display: none; }
  .signal-card { left: 14px; bottom: -64px; }
  .section-pad { width: min(100% - 36px, var(--max)); padding: 82px 0; }
  .manifesto-grid, .section-heading, .listen-deck, .download-panel { grid-template-columns: 1fr; }
  .manifesto-grid { gap: 28px; }
  .section-heading { align-items: start; flex-direction: column; margin-bottom: 30px; }
  .section-heading h2, .manifesto h2, .download h2 { font-size: 38px; }
  .workflow-grid, .evidence-grid, .proof-strip { grid-template-columns: 1fr; }
  .workflow-card { border-right: 0; border-bottom: 1px solid var(--line); }
  .workflow-card:last-child { border-bottom: 0; }
  .listen-deck { padding: 28px 20px; min-height: 640px; }
  .track-info h3 { font-size: 32px; }
  .proof-strip div { border-right: 0; border-bottom: 1px solid var(--line); }
  .download-copy, .requirements { padding: 28px 22px; }
  .download-copy { border-right: 0; border-bottom: 1px solid var(--line); }
  .research-notice { grid-template-columns: 1fr; gap: 12px; }
  footer { grid-template-columns: 1fr; }
}

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