@font-face {
  font-family: "ModelNest Sans";
  src: url("assets/nunito.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
}

:root {
  --paper: #e9e7df;
  --paper-high: #f5f3eb;
  --paper-low: #d5d3ca;
  --ink: #111720;
  --ink-soft: #4a5058;
  --blue: #1747e8;
  --blue-dark: #0d2d9c;
  --orange: #f05b3f;
  --orange-dark: #b93420;
  --mint: #4bc5aa;
  --yellow: #f2c94c;
  --green: #1a8f68;
  --red: #c8352e;
  --line: rgba(17, 23, 32, 0.18);
  --line-strong: rgba(17, 23, 32, 0.42);
  --white: #fffef8;
  --black: #090d12;
  --radius-s: 5px;
  --radius-m: 12px;
  --radius-l: 24px;
  --shadow-panel: 0 26px 70px rgba(16, 23, 35, 0.18), 0 4px 14px rgba(16, 23, 35, 0.1);
  --shadow-key: 0 8px 18px rgba(16, 23, 35, 0.15), 0 2px 0 rgba(17, 23, 32, 0.2);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --font: "ModelNest Sans", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --mono: "SFMono-Regular", "Cascadia Code", "Roboto Mono", Consolas, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body, button, input { font: inherit; }

::selection { color: var(--white); background: var(--blue); }

::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--paper-low); }
::-webkit-scrollbar-thumb { background: var(--ink); border: 3px solid var(--paper-low); }

a { color: inherit; text-underline-offset: 4px; }

button, a { -webkit-tap-highlight-color: transparent; }

button:focus-visible, a:focus-visible, input:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 4px;
}

svg { display: block; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 76px;
  padding: 0 clamp(20px, 4vw, 64px);
  border-bottom: 1px solid transparent;
  transition: background-color 220ms ease, border-color 220ms ease, min-height 220ms ease;
}

.site-header.scrolled {
  min-height: 64px;
  background: rgba(233, 231, 223, 0.94);
  border-color: var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 10px;
  width: fit-content;
  text-decoration: none;
}

.brand img { width: 42px; height: 42px; filter: drop-shadow(0 5px 7px rgba(17, 23, 32, .13)); }
.brand-copy { display: grid; line-height: 1.05; }
.brand-copy strong { font-size: 16px; font-weight: 900; letter-spacing: -.02em; }
.brand-copy small { margin-top: 4px; color: var(--ink-soft); font-size: 10px; letter-spacing: .09em; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a { position: relative; font-size: 13px; font-weight: 800; text-decoration: none; }
.site-nav a::after { position: absolute; right: 0; bottom: -9px; left: 0; height: 2px; background: var(--blue); content: ""; transform: scaleX(0); transform-origin: left; transition: transform 180ms ease; }
.site-nav a:hover::after { transform: scaleX(1); }

.header-action {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 12px;
  padding: 11px 14px;
  color: var(--white);
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: var(--radius-s);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 5px 14px rgba(17, 23, 32, .16), 0 2px 0 rgba(17, 23, 32, .2);
  transition: background-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}
.header-action svg { width: 17px; }
.header-action:hover { background: var(--blue); transform: translateY(-1px); box-shadow: 0 8px 19px rgba(23, 71, 232, .22), 0 2px 0 var(--blue-dark); }
.header-action:active { transform: translateY(2px); box-shadow: none; }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(320px, .82fr) minmax(540px, 1.18fr);
  grid-template-rows: 1fr auto;
  min-height: 820px;
  padding: 140px clamp(22px, 5vw, 78px) 42px;
  overflow: hidden;
  isolation: isolate;
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: linear-gradient(rgba(17, 23, 32, .065) 1px, transparent 1px), linear-gradient(90deg, rgba(17, 23, 32, .065) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, #000 52%, transparent 96%);
}

.hero::before {
  position: absolute;
  top: -14vw;
  right: -9vw;
  z-index: -1;
  width: 49vw;
  height: 49vw;
  min-width: 680px;
  min-height: 680px;
  background: var(--blue);
  border-radius: 50%;
  content: "";
  opacity: .095;
}

.hero-coordinate {
  position: absolute;
  top: 116px;
  right: 5vw;
  color: var(--ink-soft);
  font: 10px/1 var(--mono);
  letter-spacing: .14em;
}

.hero-copy {
  position: relative;
  z-index: 3;
  align-self: center;
  max-width: 620px;
  padding-right: clamp(20px, 5vw, 82px);
}

.hero-copy h1 {
  max-width: 8ch;
  margin: 0 0 30px;
  font-size: clamp(64px, 7.4vw, 112px);
  font-weight: 900;
  line-height: .91;
  letter-spacing: -.04em;
  text-wrap: balance;
}

.hero-copy h1 em { color: var(--blue); font-style: normal; }

.hero-copy > p {
  max-width: 34em;
  margin: 0;
  color: #3f454d;
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.75;
}

.hero-actions { display: flex; gap: 12px; margin-top: 40px; }

.action-key {
  position: relative;
  display: grid;
  min-width: 184px;
  min-height: 68px;
  padding: 13px 17px 12px;
  border: 1px solid var(--ink);
  border-radius: var(--radius-s);
  cursor: pointer;
  text-align: left;
  text-decoration: none;
  box-shadow: var(--shadow-key);
  transition: transform 140ms ease, box-shadow 140ms ease, background-color 140ms ease;
}
.action-key:hover { transform: translateY(-2px); }
.action-key:active { transform: translateY(3px); box-shadow: 0 1px 0 rgba(17, 23, 32, .2); }
.action-key-primary { color: var(--white); background: var(--orange); border-color: var(--orange-dark); }
.action-key-primary:hover { background: #ff684c; }
.action-key-secondary { color: var(--ink); background: var(--paper-high); }
.action-key-secondary:hover { background: var(--white); }
.action-key:disabled { cursor: wait; opacity: .65; transform: none; }
.key-top { font-size: 14px; font-weight: 900; }
.key-meta { align-self: end; margin-top: 7px; opacity: .7; font: 10px/1.1 var(--mono); letter-spacing: .05em; }

.hero-note { display: flex; gap: 10px; max-width: 530px; margin-top: 26px; color: var(--ink-soft); font-size: 12px; line-height: 1.65; }
.hero-note svg { width: 21px; flex: 0 0 21px; color: var(--green); }

.hero-machine { position: relative; z-index: 2; align-self: center; min-width: 0; perspective: 1400px; }

.machine-labels { display: flex; justify-content: space-between; margin: 0 10px 10px; color: var(--ink-soft); font: 9px/1 var(--mono); letter-spacing: .14em; }

.machine-shell {
  position: relative;
  overflow: hidden;
  color: #edf0f5;
  background: #151b24;
  border: 1px solid #05070a;
  border-radius: var(--radius-m);
  box-shadow: 0 44px 90px rgba(17, 23, 32, .24), 0 8px 22px rgba(17, 23, 32, .2);
  transform: rotateY(-4deg) rotateX(1.5deg);
  transform-origin: center left;
}

.machine-shell::after { position: absolute; inset: 0; border: 1px solid rgba(255,255,255,.11); border-radius: inherit; content: ""; pointer-events: none; }

.machine-bar { display: flex; align-items: center; justify-content: space-between; height: 56px; padding: 0 17px; background: #0b1017; border-bottom: 1px solid rgba(255,255,255,.1); }
.machine-brand { display: flex; align-items: center; gap: 9px; font-size: 12px; font-weight: 900; }
.machine-brand img { width: 30px; height: 30px; }
.machine-lights { display: flex; gap: 15px; color: #929ba7; font: 9px/1 var(--mono); }
.machine-lights span { display: flex; align-items: center; gap: 6px; }
.machine-lights i { width: 7px; height: 7px; background: #434b56; border: 1px solid #68717d; border-radius: 50%; transition: background-color 220ms ease, box-shadow 220ms ease; }
.machine-lights span.online { color: #cdeade; }
.machine-lights span.online i { background: #45d29e; box-shadow: 0 3px 8px rgba(69, 210, 158, .42); }

.machine-body { display: grid; grid-template-columns: 150px 1fr; min-height: 430px; }
.machine-sidebar { display: flex; flex-direction: column; gap: 5px; padding: 20px 12px; background: #111720; border-right: 1px solid rgba(255,255,255,.08); }
.side-mark { display: flex; align-items: center; gap: 9px; min-height: 34px; padding: 0 10px; color: #87919f; border: 1px solid transparent; border-radius: 4px; font-size: 11px; }
.side-mark i { width: 8px; height: 1px; background: currentColor; }
.side-mark.active { color: #f4f7fb; background: #1b2430; border-color: rgba(255,255,255,.1); }
.side-mark.active i { width: 12px; background: var(--orange); box-shadow: 0 2px 6px rgba(240, 91, 63, .35); }

.machine-console { min-width: 0; padding: 26px; }
.console-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.console-head > div { display: grid; gap: 5px; }
.console-head strong { font-size: 17px; }
.console-head span { color: #9ca6b3; font-size: 11px; }
.console-clock { font: 9px/1 var(--mono); letter-spacing: .06em; }

.console-status { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 24px; background: rgba(255,255,255,.11); border: 1px solid rgba(255,255,255,.11); }
.console-status div { display: grid; gap: 8px; min-width: 0; padding: 15px; background: #1a222d; }
.console-status span { color: #8893a1; font-size: 9px; }
.console-status strong { overflow: hidden; color: #f2f5f8; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.console-status strong.good { color: #75ddb8; }

.console-log { min-height: 172px; margin-top: 18px; padding: 15px; overflow: hidden; background: #080c11; border: 1px solid rgba(255,255,255,.09); font: 10px/1.55 var(--mono); }
.console-log p { display: grid; grid-template-columns: 68px 1fr; gap: 8px; margin: 0 0 9px; color: #cbd2da; }
.console-log p[hidden] { display: none; }
.console-log time { color: #687381; }
.console-log .log-muted { color: #7c8794; }
.console-log .log-success { color: #71ddb6; }

.console-command { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; padding: 10px 10px 10px 14px; background: #202a36; border: 1px solid rgba(255,255,255,.1); }
.console-command > span { color: #cbd2da; font-size: 11px; }
.console-command button { display: inline-flex; align-items: center; gap: 10px; min-width: 92px; padding: 9px 10px; color: white; background: var(--blue); border: 0; border-radius: 3px; cursor: pointer; font-size: 10px; font-weight: 900; box-shadow: 0 5px 11px rgba(0,0,0,.28), 0 2px 0 #082481; }
.console-command button:hover { background: #2f5df0; }
.console-command button:active { transform: translateY(2px); box-shadow: none; }
.console-command button:disabled { cursor: wait; opacity: .66; }
.console-command svg { width: 14px; }

.route-strip {
  position: relative;
  z-index: 4;
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(4, 1fr);
  align-self: end;
  margin: 62px 0 0;
  padding: 0;
  list-style: none;
  border-top: 2px solid var(--ink);
}
.route-strip::before { position: absolute; top: -2px; left: 0; width: var(--route-progress, 0%); height: 4px; background: var(--orange); box-shadow: 0 3px 8px rgba(240,91,63,.3); content: ""; transition: width 760ms var(--ease-out); }
.route-strip li { position: relative; display: flex; align-items: center; gap: 12px; padding: 19px 14px 4px 0; opacity: .48; transition: opacity 300ms ease; }
.route-strip li::before { position: absolute; top: -7px; left: 0; width: 10px; height: 10px; background: var(--paper); border: 2px solid var(--ink); border-radius: 50%; content: ""; transition: background-color 200ms ease, box-shadow 200ms ease; }
.route-strip li.active { opacity: 1; }
.route-strip li.active::before { background: var(--orange); border-color: var(--orange); box-shadow: 0 3px 9px rgba(240,91,63,.35); }
.route-index { display: grid; width: 31px; height: 31px; flex: 0 0 31px; place-items: center; background: var(--ink); color: var(--white); font: 10px/1 var(--mono); }
.route-strip strong { display: block; font-size: 12px; }
.route-strip small { display: block; margin-top: 4px; color: var(--ink-soft); font-size: 9px; }

.requirement-tape { overflow: hidden; color: var(--white); background: var(--ink); border-top: 1px solid var(--black); border-bottom: 1px solid var(--black); }
.tape-runner { display: flex; align-items: center; width: max-content; min-height: 48px; animation: tape-scroll 34s linear infinite; }
.tape-runner span { padding: 0 22px; font-size: 11px; font-weight: 900; letter-spacing: .06em; white-space: nowrap; }
.tape-runner i { width: 5px; height: 5px; background: var(--orange); border-radius: 50%; }
@keyframes tape-scroll { to { transform: translateX(-50%); } }

.route-section, .requirements-section { padding: clamp(96px, 11vw, 160px) clamp(22px, 6vw, 96px); }
.section-heading { max-width: 760px; margin-bottom: 64px; }
.section-heading-wide { display: grid; grid-template-columns: 1.35fr .65fr; align-items: end; gap: clamp(36px, 8vw, 120px); max-width: none; }
.section-heading h2 { margin: 0; font-size: clamp(44px, 5.2vw, 78px); font-weight: 900; line-height: 1.02; letter-spacing: -.04em; text-wrap: balance; }
.section-heading p { max-width: 42em; margin: 0; color: var(--ink-soft); font-size: 16px; line-height: 1.8; }
.section-heading.inverse h2 { color: var(--white); }
.section-heading.inverse p { color: #aeb8c5; }

.signal-map { position: relative; display: grid; grid-template-columns: 1fr 1.15fr 1fr 1.15fr; min-height: 580px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.signal-rail { position: absolute; top: 170px; right: 0; left: 0; height: 6px; background: var(--blue); box-shadow: 0 5px 13px rgba(23,71,232,.2); }
.signal-rail::before, .signal-rail::after { position: absolute; top: -7px; width: 18px; height: 18px; background: var(--paper); border: 3px solid var(--blue); border-radius: 50%; content: ""; }
.signal-rail::before { left: 0; }
.signal-rail::after { right: 0; background: var(--orange); border-color: var(--orange); }
.signal-stop { position: relative; min-width: 0; padding: 46px clamp(18px, 2.4vw, 38px) 42px; border-right: 1px solid var(--line); }
.signal-stop:last-child { border-right: 0; }
.signal-stop::before { position: absolute; top: 159px; left: 34px; z-index: 2; width: 20px; height: 20px; background: var(--paper); border: 4px solid var(--ink); border-radius: 50%; content: ""; }
.stop-code { font: 11px/1 var(--mono); letter-spacing: .18em; }
.signal-stop h3 { margin: 182px 0 14px; font-size: clamp(22px, 2.3vw, 34px); line-height: 1.05; }
.signal-stop p { margin: 0; color: var(--ink-soft); font-size: 14px; line-height: 1.75; }
.signal-stop ul { margin: 28px 0 0; padding: 0; list-style: none; }
.signal-stop li { padding: 9px 0; border-top: 1px solid var(--line); font-size: 11px; font-weight: 900; }
.signal-stop li:last-child { border-bottom: 1px solid var(--line); }
.stop-engine { background: var(--ink); color: var(--white); }
.stop-engine::before { background: var(--mint); border-color: var(--white); }
.stop-engine p { color: #abb4bf; }
.stop-engine h3 { margin-top: 182px; }
.dial { position: absolute; top: 34px; right: 26px; display: grid; width: 116px; height: 116px; place-items: center; background: #0c1118; border: 1px solid #5b6470; border-radius: 50%; box-shadow: inset 0 0 0 9px #171e27, 0 10px 22px rgba(0,0,0,.24); }
.dial::before { position: absolute; inset: 14px; border: 1px dashed #67717d; border-radius: 50%; content: ""; }
.dial-needle { position: absolute; bottom: 56px; left: 56px; width: 40px; height: 2px; background: var(--mint); transform: rotate(-38deg); transform-origin: left; animation: needle 4s ease-in-out infinite alternate; }
.dial strong { margin-top: 18px; color: var(--mint); font: 12px/1 var(--mono); }
.dial small { margin-top: -23px; color: #858f9b; font: 7px/1 var(--mono); }
@keyframes needle { to { transform: rotate(5deg); } }
.model-ticket { margin-top: 30px; padding: 16px 0; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--ink); }
.model-ticket span { display: block; color: var(--blue); font: 10px/1 var(--mono); letter-spacing: .15em; }
.model-ticket strong { display: block; margin-top: 8px; font-size: 15px; }
.model-ticket small { display: block; margin-top: 5px; color: var(--ink-soft); font-size: 10px; }
.stop-interface a { display: inline-flex; align-items: center; gap: 10px; margin-top: 32px; color: var(--blue); font-size: 12px; font-weight: 900; text-decoration: none; }
.stop-interface a svg { width: 17px; transition: transform 160ms ease; }
.stop-interface a:hover svg { transform: translateX(5px); }

.workspace-section { padding: clamp(96px, 11vw, 160px) clamp(22px, 5vw, 76px); color: var(--white); background: #101721; overflow: hidden; }
.workspace-section .section-heading { margin-left: clamp(0px, 5vw, 70px); }
.workspace-stage { margin: 0; }
.workspace-window { overflow: hidden; color: #20201f; background: #f6f6f3; border: 1px solid #05080c; border-radius: 15px; box-shadow: 0 44px 100px rgba(0,0,0,.48), 0 8px 22px rgba(0,0,0,.25); }
.workspace-titlebar { display: flex; align-items: center; height: 46px; gap: 7px; padding: 0 16px; color: #dce2e9; background: #171d26; border-bottom: 1px solid #0a0d12; font-size: 10px; }
.workspace-titlebar strong { margin-left: 9px; font-weight: 700; }
.workspace-titlebar .window-dot { width: 9px; height: 9px; background: #5b626d; border-radius: 50%; }
.workspace-titlebar .window-dot:first-child { background: var(--orange); }
.window-platform { margin-left: auto; color: #89939f; font: 9px/1 var(--mono); }
.workspace-layout { display: grid; grid-template-columns: 230px 1fr; min-height: 600px; }
.workspace-sidebar { display: flex; flex-direction: column; gap: 5px; padding: 20px 14px; background: #e8e8e3; border-right: 1px solid rgba(17,23,32,.12); }
.workspace-logo { display: flex; align-items: center; gap: 10px; padding: 0 8px 20px; }
.workspace-logo img { width: 36px; height: 36px; }
.workspace-logo span { display: grid; }
.workspace-logo strong { font-size: 13px; }
.workspace-logo small { margin-top: 3px; color: #74746e; font-size: 9px; }
.workspace-nav { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 10px; color: #5b5b56; background: transparent; border: 1px solid transparent; border-radius: 6px; cursor: pointer; font-size: 11px; font-weight: 800; text-align: left; }
.workspace-nav svg { width: 17px; }
.workspace-nav:hover { background: rgba(17,23,32,.05); }
.workspace-nav.active { color: var(--blue); background: white; border-color: rgba(17,23,32,.1); box-shadow: 0 4px 10px rgba(17,23,32,.08); }
.workspace-version { display: grid; gap: 5px; margin-top: auto; padding: 14px 10px; border-top: 1px solid rgba(17,23,32,.12); }
.workspace-version span { color: #777a7c; font: 8px/1 var(--mono); letter-spacing: .12em; }
.workspace-version strong { color: var(--green); font: 11px/1 var(--mono); }
.workspace-version small { color: #777a7c; font-size: 9px; }
.workspace-main { min-width: 0; padding: 30px; }
.workspace-toolbar { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.workspace-toolbar small { color: #7a7e82; font: 8px/1 var(--mono); letter-spacing: .12em; }
.workspace-toolbar h3 { margin: 7px 0 0; font-size: 22px; }
.toolbar-badges { display: flex; gap: 7px; }
.toolbar-badges span { padding: 7px 9px; background: #e9ecf0; border: 1px solid rgba(17,23,32,.1); border-radius: 4px; color: #51565d; font-size: 9px; }
.workspace-overview { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 26px; background: rgba(17,23,32,.1); border: 1px solid rgba(17,23,32,.1); }
.workspace-overview > div { display: grid; gap: 7px; padding: 18px; background: white; }
.workspace-overview small { color: #858986; font-size: 9px; }
.workspace-overview strong { font-size: 14px; }
.workspace-overview span { color: #757a77; font-size: 9px; }
.workspace-panel { min-height: 300px; margin-top: 18px; background: #111821; border: 1px solid #05080c; }
.workspace-panel[hidden] { display: none; }
.panel-head { display: flex; justify-content: space-between; padding: 13px 16px; color: #ccd3dc; border-bottom: 1px solid rgba(255,255,255,.1); font-size: 10px; }
.panel-head span { color: #7b8693; }
.terminal-lines { padding: 20px; color: #c8d0d9; font: 10px/1.9 var(--mono); }
.terminal-lines p { margin: 0; }
.terminal-lines time { display: inline-block; width: 76px; color: #65717f; }
.terminal-lines span { display: inline-block; width: 50px; }
.term-info { color: #81a5ff; }
.term-ok { color: #66d7ad; }
.model-row { display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: 14px; padding: 20px; color: #e8edf2; border-bottom: 1px solid rgba(255,255,255,.1); }
.model-cube { display: grid; width: 42px; height: 42px; place-items: center; color: white; background: var(--blue); font: 11px/1 var(--mono); }
.model-row div { display: grid; gap: 5px; }
.model-row strong { font-size: 12px; }
.model-row small { color: #818d99; font-size: 9px; }
.model-row button, .settings-row button { padding: 8px 12px; color: white; background: var(--blue); border: 0; border-radius: 3px; cursor: pointer; font-size: 9px; font-weight: 900; }
.settings-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px; color: #e8edf2; border-bottom: 1px solid rgba(255,255,255,.1); }
.settings-row span { display: grid; gap: 5px; }
.settings-row strong { font-size: 12px; }
.settings-row small { color: #818d99; font-size: 9px; }
.workspace-stage figcaption { margin-top: 18px; color: #8793a1; font-size: 10px; text-align: right; }

.runtime-section { display: grid; grid-template-columns: minmax(300px, .8fr) minmax(480px, 1.2fr); gap: clamp(50px, 9vw, 140px); align-items: center; padding: clamp(96px, 11vw, 160px) clamp(22px, 7vw, 110px); background: var(--paper-high); }
.runtime-copy h2 { margin: 0 0 26px; font-size: clamp(42px, 5vw, 74px); line-height: 1.03; letter-spacing: -.04em; }
.runtime-copy > p { max-width: 40em; margin: 0; color: var(--ink-soft); font-size: 16px; line-height: 1.8; }
.runtime-facts { margin: 42px 0 0; padding: 0; border-top: 1px solid var(--ink); list-style: none; }
.runtime-facts li { display: flex; justify-content: space-between; gap: 22px; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 11px; }
.runtime-facts span { color: var(--ink-soft); }

.gpu-console { position: relative; padding: clamp(26px, 4vw, 48px); color: var(--white); background: #171c23; border: 1px solid #05070a; border-radius: var(--radius-m); box-shadow: var(--shadow-panel); }
.gpu-console::before { position: absolute; inset: 10px; border: 1px solid rgba(255,255,255,.08); border-radius: 6px; content: ""; pointer-events: none; }
.gpu-topline { position: relative; z-index: 1; display: flex; justify-content: space-between; gap: 20px; color: #89939f; font: 9px/1 var(--mono); letter-spacing: .1em; }
.gpu-topline strong { color: var(--yellow); font-weight: 400; }
.gpu-readout { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 34px; background: rgba(255,255,255,.11); border: 1px solid rgba(255,255,255,.11); }
.gpu-readout > div { padding: 24px; background: #0e1319; }
.gpu-readout small { color: #7f8a96; font-size: 9px; }
.gpu-readout strong { display: block; margin-top: 8px; color: var(--mint); font: 34px/1 var(--mono); font-variant-numeric: tabular-nums; }
.gpu-readout strong span { color: #7e8994; font-size: 11px; }
.gpu-slider { position: relative; z-index: 1; display: grid; gap: 14px; margin-top: 30px; }
.gpu-slider > span:first-child { display: flex; justify-content: space-between; color: #b8c0ca; font-size: 11px; }
.gpu-slider output { color: var(--yellow); font: 12px/1 var(--mono); }
.gpu-slider input { width: 100%; height: 8px; margin: 0; appearance: none; background: linear-gradient(90deg, var(--orange) 0 var(--range-progress, 75%), #343c47 var(--range-progress, 75%) 100%); border: 1px solid #5e6875; border-radius: 0; cursor: pointer; }
.gpu-slider input::-webkit-slider-thumb { width: 18px; height: 28px; appearance: none; background: var(--paper-high); border: 2px solid #0b0f14; border-radius: 2px; box-shadow: 0 5px 10px rgba(0,0,0,.34); }
.gpu-slider input::-moz-range-thumb { width: 18px; height: 28px; background: var(--paper-high); border: 2px solid #0b0f14; border-radius: 2px; box-shadow: 0 5px 10px rgba(0,0,0,.34); }
.slider-scale { display: flex; justify-content: space-between; color: #6f7a86; font: 8px/1 var(--mono); }
.slider-scale i { font-style: normal; }
.gpu-verdict { position: relative; z-index: 1; display: flex; align-items: center; gap: 12px; margin-top: 28px; padding: 14px; color: #cde4dc; background: rgba(75,197,170,.1); border: 1px solid rgba(75,197,170,.28); }
.gpu-verdict.warning { color: #f4d6a8; background: rgba(240,91,63,.1); border-color: rgba(240,91,63,.32); }
.gpu-verdict svg { width: 21px; flex: 0 0 21px; color: var(--mint); }
.gpu-verdict.warning svg { color: var(--orange); }
.gpu-verdict span { font-size: 10px; line-height: 1.55; }
.gpu-verdict strong { display: block; margin-bottom: 3px; }
.gpu-actions { position: relative; z-index: 1; display: grid; grid-template-columns: .75fr 1.25fr; gap: 10px; margin-top: 18px; }
.gpu-actions button { min-height: 52px; border-radius: 3px; cursor: pointer; font-size: 11px; font-weight: 900; }
.gpu-stop { color: #a9b2bd; background: #252c35; border: 1px solid #49525e; }
.gpu-stop:disabled { color: #626b76; cursor: not-allowed; opacity: .55; }
.gpu-start { display: flex; align-items: center; justify-content: space-between; padding: 0 18px; color: white; background: var(--orange); border: 1px solid var(--orange-dark); box-shadow: 0 7px 15px rgba(0,0,0,.26), 0 2px 0 #7c2518; }
.gpu-start:hover { background: #ff684c; }
.gpu-start:active { transform: translateY(2px); box-shadow: none; }
.gpu-start i { width: 8px; height: 8px; background: white; border-radius: 50%; }
.gpu-start.loading i { background: transparent; border: 2px solid rgba(255,255,255,.4); border-top-color: white; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(1turn); } }
.gpu-message { position: relative; z-index: 1; min-height: 18px; margin: 12px 0 0; color: #808b97; font-size: 9px; text-align: right; }
.gpu-message.success { color: var(--mint); }

.requirements-section { background: var(--paper); }
.platform-board { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--ink); }
.platform-track { padding: clamp(28px, 4vw, 56px); }
.platform-track + .platform-track { border-left: 1px solid var(--ink); }
.platform-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 22px; padding-bottom: 32px; border-bottom: 2px solid var(--ink); }
.platform-head > div { display: flex; align-items: center; gap: 18px; }
.platform-mark { display: grid; width: 52px; height: 52px; place-items: center; color: white; background: var(--ink); }
.platform-mark svg { width: 24px; fill: currentColor; stroke: none; }
.platform-head h3 { margin: 0; font-size: clamp(28px, 3vw, 44px); }
.platform-head > strong { color: var(--blue); font: 10px/1 var(--mono); letter-spacing: .08em; }
.platform-track dl { margin: 24px 0 0; }
.platform-track dl div { display: grid; grid-template-columns: .55fr 1.45fr; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.platform-track dt { color: var(--ink-soft); font-size: 11px; }
.platform-track dd { margin: 0; font-size: 12px; font-weight: 900; }
.platform-track > a { display: inline-flex; align-items: center; gap: 10px; margin-top: 30px; color: var(--blue); font-size: 12px; font-weight: 900; text-decoration: none; }
.platform-track > a svg { width: 17px; }
.platform-windows { background: var(--paper-high); }
.linux-note { margin: 20px 0 0; color: var(--ink-soft); font-size: 11px; }
.linux-note strong { color: var(--ink); }

.download-section { position: relative; display: grid; grid-template-columns: .65fr 1.35fr; align-items: center; min-height: 650px; padding: clamp(80px, 10vw, 150px) clamp(22px, 8vw, 130px); overflow: hidden; color: var(--white); background: var(--blue); }
.download-section::after { position: absolute; right: -12vw; bottom: -30vw; width: 60vw; height: 60vw; background: var(--orange); border-radius: 50%; content: ""; opacity: .18; }
.download-orbit { position: relative; z-index: 1; display: grid; width: min(34vw, 430px); aspect-ratio: 1; place-items: center; }
.download-orbit span { position: absolute; inset: 0; border: 1px solid rgba(255,255,255,.38); border-radius: 50%; animation: orbit-pulse 5s ease-in-out infinite alternate; }
.download-orbit span:nth-child(2) { inset: 15%; border-style: dashed; animation-delay: -1.5s; }
.download-orbit span:nth-child(3) { inset: 30%; border-width: 2px; animation-delay: -3s; }
@keyframes orbit-pulse { to { transform: rotate(24deg) scale(.96); opacity: .55; } }
.download-mascot { position: absolute; left: calc(clamp(22px, 8vw, 130px) + min(17vw, 215px) - 90px); z-index: 2; width: 180px; height: 180px; filter: drop-shadow(0 22px 30px rgba(4,17,70,.34)); }
.download-copy { position: relative; z-index: 3; max-width: 780px; }
.download-copy h2 { margin: 0 0 28px; font-size: clamp(52px, 6.6vw, 96px); line-height: .96; letter-spacing: -.04em; }
.download-copy > p { max-width: 38em; margin: 0; color: #dfe6ff; font-size: 16px; line-height: 1.75; }
.download-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 38px; }
.download-button { display: grid; grid-template-columns: 32px 1fr; align-items: center; gap: 14px; min-height: 78px; padding: 14px 18px; color: var(--ink); background: var(--white); border: 1px solid #0d2d9c; border-radius: var(--radius-s); cursor: pointer; text-align: left; text-decoration: none; box-shadow: 0 12px 24px rgba(5,22,80,.24), 0 3px 0 #0d2d9c; transition: transform 160ms ease, background-color 160ms ease, box-shadow 160ms ease; }
.download-button:hover { background: #fff; transform: translateY(-2px); }
.download-button:active { transform: translateY(3px); box-shadow: none; }
.download-button svg { width: 27px; fill: currentColor; stroke: none; }
.download-button span { display: grid; gap: 5px; }
.download-button strong { font-size: 13px; }
.download-button small { color: #59606a; font: 9px/1 var(--mono); }
.download-status { min-height: 18px; margin-top: 17px !important; color: #cbd6ff !important; font-size: 10px !important; }
.download-status.error { color: #fff1ad !important; }

.site-footer { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 28px; min-height: 110px; padding: 22px clamp(22px, 5vw, 76px); color: #aeb7c2; background: #0b1017; border-top: 1px solid #2a323d; font-size: 10px; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: white; }
.footer-brand img { width: 38px; height: 38px; }
.footer-brand span { display: grid; gap: 3px; }
.footer-brand strong { font-size: 13px; }
.footer-brand small { color: #7f8a96; font-size: 8px; }
.site-footer a { color: var(--white); font-weight: 900; text-decoration-color: var(--blue); }
.site-footer a:hover { color: #dce4ff; }

.back-to-top {
  position: fixed;
  right: clamp(18px, 3vw, 42px);
  bottom: calc(clamp(18px, 3vw, 36px) + var(--back-to-top-lift, 0px));
  z-index: 45;
  display: grid;
  width: 48px;
  height: 48px;
  padding: 0;
  place-items: center;
  color: var(--white);
  background: var(--ink);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-s);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  box-shadow: var(--shadow-key);
  transform: translateY(14px);
  transition: opacity 180ms ease, transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { background: var(--blue); transform: translateY(-2px); box-shadow: 0 9px 20px rgba(23,71,232,.28), 0 2px 0 var(--blue-dark); }
.back-to-top:active { transform: translateY(2px); box-shadow: none; }
.back-to-top svg { width: 22px; }

@media (max-width: 1100px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-nav { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 130px; }
  .hero-copy { max-width: 760px; padding-right: 0; }
  .hero-copy h1 { max-width: none; font-size: clamp(70px, 12vw, 110px); }
  .hero-machine { width: min(900px, 100%); margin: 70px auto 0; }
  .route-strip { margin-top: 50px; }
  .section-heading-wide { grid-template-columns: 1fr; }
  .signal-map { grid-template-columns: 1fr 1fr; }
  .signal-rail { display: none; }
  .signal-stop { min-height: 410px; border-bottom: 1px solid var(--line); }
  .signal-stop::before { top: 96px; }
  .signal-stop h3, .stop-engine h3 { margin-top: 130px; }
  .runtime-section { grid-template-columns: 1fr; }
  .gpu-console { max-width: 760px; }
  .download-section { grid-template-columns: .55fr 1.45fr; }
  .site-footer { grid-template-columns: 1fr 1fr; }
  .site-footer p:last-child { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .site-header { grid-template-columns: 1fr auto; min-height: 66px; padding: 0 17px; }
  .brand img { width: 36px; height: 36px; }
  .brand-copy strong { font-size: 14px; }
  .brand-copy small { display: none; }
  .header-action { gap: 8px; padding: 9px 11px; font-size: 11px; }
  .header-action svg { width: 15px; }
  .hero { display: block; min-height: auto; padding: 112px 18px 30px; }
  .hero-coordinate { top: 84px; right: 18px; font-size: 8px; }
  .hero::before { top: 50px; right: -80%; min-width: 560px; min-height: 560px; }
  .hero-copy h1 { margin-bottom: 24px; font-size: clamp(58px, 19vw, 82px); line-height: .92; }
  .hero-copy > p { font-size: 16px; line-height: 1.7; }
  .hero-actions { display: grid; grid-template-columns: 1fr 1fr; margin-top: 32px; }
  .action-key { min-width: 0; min-height: 76px; padding: 12px; }
  .key-top { font-size: 12px; }
  .key-meta { font-size: 8px; }
  .hero-note { font-size: 10px; }
  .hero-machine { margin-top: 54px; }
  .machine-labels { font-size: 7px; }
  .machine-shell { transform: none; }
  .machine-body { grid-template-columns: 1fr; min-height: 0; }
  .machine-sidebar { display: none; }
  .machine-console { padding: 18px 14px; }
  .machine-lights { gap: 8px; }
  .machine-lights span { font-size: 0; }
  .console-clock { display: none; }
  .console-status div { padding: 11px 9px; }
  .console-status strong { font-size: 9px; }
  .console-log { min-height: 150px; font-size: 8px; }
  .console-log p { grid-template-columns: 58px 1fr; }
  .route-strip { grid-template-columns: 1fr 1fr; margin-top: 40px; border-top: 0; }
  .route-strip::before { display: none; }
  .route-strip li { padding: 13px 4px 13px 0; border-top: 1px solid var(--line); }
  .route-strip li::before { display: none; }
  .route-index { width: 27px; height: 27px; flex-basis: 27px; }
  .requirement-tape .tape-runner { min-height: 42px; }
  .route-section, .requirements-section, .workspace-section, .runtime-section { padding: 84px 18px; }
  .section-heading { margin-bottom: 42px; }
  .section-heading h2, .runtime-copy h2 { font-size: clamp(40px, 13vw, 60px); }
  .section-heading p, .runtime-copy > p { font-size: 14px; }
  .signal-map { display: block; border-top: 1px solid var(--ink); }
  .signal-stop { min-height: 0; padding: 28px 18px 34px; border-right: 0; }
  .signal-stop::before { top: 33px; right: 18px; left: auto; }
  .signal-stop h3, .stop-engine h3 { margin: 72px 0 12px; font-size: 30px; }
  .dial { top: 22px; right: 54px; width: 88px; height: 88px; }
  .dial-needle { bottom: 42px; left: 42px; width: 30px; }
  .workspace-section .section-heading { margin-left: 0; }
  .workspace-window { overflow-x: auto; border-radius: 9px; }
  .workspace-titlebar, .workspace-layout { min-width: 690px; }
  .workspace-layout { grid-template-columns: 180px 1fr; min-height: 520px; }
  .workspace-main { padding: 22px; }
  .workspace-stage figcaption { font-size: 9px; text-align: left; }
  .gpu-console { padding: 30px 20px; }
  .gpu-topline { font-size: 7px; }
  .gpu-readout > div { padding: 18px 12px; }
  .gpu-readout strong { font-size: 27px; }
  .platform-board { display: block; }
  .platform-track + .platform-track { border-top: 1px solid var(--ink); border-left: 0; }
  .platform-track { padding: 28px 20px; }
  .platform-head > strong { max-width: 90px; text-align: right; }
  .platform-track dl div { grid-template-columns: .75fr 1.25fr; }
  .download-section { display: block; min-height: 760px; padding: 92px 18px 78px; }
  .download-orbit { width: 280px; margin: 0 auto 38px; }
  .download-mascot { top: 143px; left: calc(50% - 70px); width: 140px; height: 140px; }
  .download-copy h2 { max-width: 7.4em; font-size: clamp(46px, 12.8vw, 58px); line-height: .98; }
  .download-actions { grid-template-columns: 1fr; }
  .back-to-top { right: 16px; bottom: calc(16px + env(safe-area-inset-bottom) + var(--back-to-top-lift, 0px)); width: 44px; height: 44px; }
  .site-footer { display: flex; align-items: flex-start; flex-direction: column; gap: 12px; padding: 28px 18px; }
  .site-footer p { margin: 0; }
}

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