:root {
  color-scheme: dark;
  --sky: #32a7f2;
  --sky-bright: #65c5ff;
  --navy: #071724;
  --panel: #0b1e2d;
  --panel-2: #10283a;
  --line: #29465a;
  --text: #f4f8fb;
  --muted: #a9bfce;
  --yellow: #ffe700;
  --green: #4ade80;
  --cyan: #38bdf8;
  --orange: #fb923c;
  --max: 1180px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--navy); color: var(--text); font-size: 16px; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img { display: block; }

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 20;
  background: linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 4px 4px;
  mix-blend-mode: screen;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  height: 68px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  padding: 0 max(24px, calc((100vw - var(--max)) / 2));
  background: rgba(7, 23, 36, .93);
  border-bottom: 1px solid rgba(255, 231, 0, .25);
  backdrop-filter: blur(14px);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: .02em; }
.brand-mark { display: grid; place-items: center; width: 32px; height: 32px; color: var(--navy); background: var(--yellow); border-radius: 2px 8px 2px 8px; font: 900 13px/1 ui-monospace, monospace; }
nav { display: flex; gap: 28px; color: #dce8ef; font-size: .92rem; }
nav a:hover, footer a:hover, .text-link:hover { color: var(--yellow); }
.mini-button { justify-self: end; padding: 7px 14px; border: 1px solid #587185; border-radius: 2px 8px 2px 8px; font-size: .88rem; font-weight: 700; }
.mini-button:hover { border-color: var(--yellow); color: var(--yellow); }

.section-shell { width: min(var(--max), calc(100% - 48px)); margin-inline: auto; }
.hero { min-height: 670px; display: grid; grid-template-columns: 1.03fr .97fr; align-items: center; gap: 70px; padding-block: 80px 96px; }
.hero::before {
  content: "";
  position: absolute;
  inset: 68px 0 auto;
  height: 670px;
  z-index: -2;
  background: radial-gradient(circle at 76% 45%, rgba(101,197,255,.72), transparent 23%), linear-gradient(150deg, #36aef6 0 48%, #1688d1 100%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 68px 0 auto;
  height: 670px;
  z-index: -1;
  background: linear-gradient(90deg, rgba(7,23,36,.96), rgba(7,23,36,.75) 42%, rgba(7,23,36,.06) 74%), linear-gradient(0deg, var(--navy), transparent 16%);
}
.eyebrow { margin: 0 0 13px; color: var(--yellow); font: 800 .78rem/1.2 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .13em; text-transform: uppercase; }
h1, h2, h3, p { text-wrap: balance; }
h1 { max-width: 720px; margin: 0; font-size: clamp(3rem, 6vw, 5.6rem); line-height: .98; letter-spacing: -.055em; }
.lede { max-width: 650px; margin: 28px 0 0; color: #d1e2ec; font-size: 1.13rem; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-actions .text-link { display: inline-flex; align-items: center; margin-left: 5px; }
.button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding: 10px 18px; border: 1px solid transparent; border-radius: 2px 10px 2px 10px; font-weight: 800; }
.button.primary { color: #071724; background: var(--yellow); box-shadow: 0 8px 28px rgba(255,231,0,.2); }
.button.primary:hover { background: #fff35a; transform: translateY(-1px); }
.button.secondary { background: rgba(7,23,36,.55); border-color: rgba(255,255,255,.38); }
.button.secondary:hover { border-color: var(--yellow); color: var(--yellow); }
.release-line { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin-top: 28px; color: #c0d4df; font-size: .88rem; }
.release-line strong { color: white; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px var(--green); }

.factory-window { align-self: center; border: 1px solid #4f7188; border-radius: 2px 16px 2px 16px; overflow: hidden; background: rgba(3,15,24,.94); box-shadow: 0 28px 80px rgba(0,0,0,.42); }
.window-bar { height: 38px; display: flex; align-items: center; justify-content: space-between; padding: 0 15px; color: var(--yellow); background: #0c2131; border-bottom: 1px solid #29465a; font: 800 .72rem/1 ui-monospace, monospace; letter-spacing: .08em; }
.window-bar span:last-child { color: var(--green); }
.factory-grid { position: relative; min-height: 430px; background: linear-gradient(rgba(56,189,248,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(56,189,248,.06) 1px, transparent 1px), #06131e; background-size: 20px 20px; overflow: hidden; }
.machine, .controller { position: absolute; display: grid; place-items: center; width: 82px; height: 72px; border: 1px solid #526f83; background: #0c1d2a; box-shadow: inset 0 0 18px rgba(56,189,248,.08); }
.machine img, .controller img { width: 38px; height: 38px; image-rendering: pixelated; }
.machine span, .controller span { font: 800 .62rem/1.1 ui-monospace, monospace; color: #dce8ef; text-align: center; }
.machine-a { left: 34px; top: 80px; }
.machine-b { left: 195px; top: 80px; }
.machine-c { left: 195px; top: 245px; }
.machine-d { right: 34px; top: 245px; }
.rail { position: absolute; left: 116px; top: 105px; display: flex; gap: 1px; }
.rail i { width: 20px; height: 20px; background: #203849; border: 1px solid #527086; }
.rail i::after { content: "›"; display: grid; place-items: center; height: 100%; color: var(--yellow); font: bold 14px/1 monospace; }
.route { position: absolute; height: 24px; display: flex; align-items: center; justify-content: center; gap: 8px; padding-inline: 8px; color: var(--cyan); border: 1px solid #2b647f; background: #092030; font: 800 .65rem/1 monospace; }
.route b { color: var(--yellow); }
.route-one { left: 217px; top: 164px; transform: rotate(90deg); }
.route-two { left: 298px; right: 117px; top: 267px; }
.pipe { position: absolute; left: 187px; width: 98px; height: 21px; color: white; border: 1px solid currentColor; background: #0a2130; font: 800 .57rem/19px monospace; text-align: center; }
.pipe-top { top: 208px; color: #38bdf8; }
.pipe-bottom { top: 327px; color: #7dd3fc; }
.signal-line { position: absolute; left: 34px; right: 34px; bottom: 37px; height: 2px; background: repeating-linear-gradient(90deg, #ffe700 0 8px, transparent 8px 13px); opacity: .8; }
.controller { right: 34px; bottom: 6px; width: 118px; height: 62px; grid-template-columns: 45px 1fr; }
.controller img { width: 34px; height: 34px; }
.controller span { color: var(--yellow); }

.intro-strip { width: min(var(--max), calc(100% - 48px)); margin: -10px auto 0; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid #29465a; background: var(--panel); box-shadow: 0 18px 45px rgba(0,0,0,.23); }
.intro-strip div { padding: 23px 26px; border-right: 1px solid #29465a; }
.intro-strip div:last-child { border: 0; }
.intro-strip strong, .intro-strip span { display: block; }
.intro-strip strong { color: white; margin-bottom: 4px; }
.intro-strip span { color: var(--muted); font-size: .9rem; line-height: 1.45; }

.items-overview { display: grid; grid-template-columns: minmax(280px, .72fr) minmax(420px, 1fr); gap: 72px; align-items: start; padding-block: 130px 30px; }
.items-copy { position: sticky; top: 104px; }
.items-copy h2 { margin: 0; font-size: clamp(2.25rem, 4vw, 3.7rem); line-height: 1.05; letter-spacing: -.045em; }
.items-copy > p:last-of-type { margin: 22px 0 34px; color: var(--muted); font-size: 1.06rem; }
.items-copy dl { margin: 0; border-top: 1px solid var(--line); }
.items-copy dl div { padding: 18px 0; border-bottom: 1px solid var(--line); }
.items-copy dt { margin-bottom: 4px; color: var(--yellow); font: 800 .76rem/1.2 ui-monospace, monospace; letter-spacing: .08em; text-transform: uppercase; }
.items-copy dd { margin: 0; color: var(--muted); font-size: .94rem; }
.items-shot { margin: 0; overflow: hidden; border: 1px solid #49687d; border-radius: 2px 16px 2px 16px; background: #06131e; box-shadow: 0 28px 70px rgba(0,0,0,.3); }
.items-shot img { width: 100%; height: auto; image-rendering: pixelated; }
.items-shot figcaption { padding: 13px 16px; color: var(--muted); border-top: 1px solid var(--line); font-size: .86rem; }

.process-section { padding-block: 130px; }
.section-heading { max-width: 730px; margin-bottom: 58px; }
.section-heading.compact { margin-bottom: 42px; }
.section-heading h2, .install-panel h2 { margin: 0; font-size: clamp(2.25rem, 4vw, 3.7rem); line-height: 1.05; letter-spacing: -.045em; }
.section-heading > p:last-child { color: var(--muted); margin: 20px 0 0; font-size: 1.06rem; }
.process-flow { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 70px; counter-reset: process; }
.process-flow li { position: relative; min-height: 190px; display: grid; grid-template-columns: 76px 1fr; gap: 24px; padding: 30px 0; border-top: 1px solid var(--line); counter-increment: process; }
.process-flow li::after { content: "0" counter(process); position: absolute; right: 0; top: 23px; color: #375367; font: 800 .75rem/1 monospace; }
.process-flow img, .step-icon { width: 72px; height: 72px; padding: 13px; image-rendering: pixelated; background: #0d2333; border: 1px solid #3c5a6f; border-radius: 2px 12px 2px 12px; }
.step-icon { display: grid; place-items: center; color: var(--cyan); font: 900 1.1rem/1 ui-monospace, monospace; }
.process-flow h3 { margin: 4px 0 8px; font-size: 1.26rem; line-height: 1.2; }
.process-flow p { color: var(--muted); margin: 0; font-size: .94rem; }
.step-kicker { color: var(--yellow); font: 800 .69rem/1 ui-monospace, monospace; letter-spacing: .08em; text-transform: uppercase; }

.reference-section { padding-block: 120px; background: linear-gradient(180deg, #081b29, #071724); border-block: 1px solid #203b4e; }
.machine-reference-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.machine-card { overflow: hidden; border: 1px solid #38566b; border-radius: 2px 13px 2px 13px; background: rgba(3, 14, 22, .78); }
.machine-card header { min-height: 104px; display: flex; align-items: center; gap: 18px; padding: 18px 20px; background: linear-gradient(135deg, #102c40, #091c2a); border-bottom: 1px solid #29465a; }
.machine-card header img { flex: 0 0 auto; width: 68px; height: 68px; padding: 9px; object-fit: contain; image-rendering: pixelated; background: #06131e; border: 1px solid #4d6b7e; border-radius: 2px 10px 2px 10px; }
.machine-card header span { display: block; margin-bottom: 5px; color: var(--yellow); font: 800 .7rem/1 ui-monospace, monospace; letter-spacing: .08em; text-transform: uppercase; }
.machine-card h3 { margin: 0; font-size: 1.18rem; line-height: 1.2; }
.machine-route { display: grid; grid-template-columns: .9fr 1.2fr 1fr; }
.machine-route > div { min-width: 0; padding: 15px 16px 17px; border-right: 1px solid #203b4e; }
.machine-route > div:last-child { border-right: 0; }
.machine-route small { display: block; margin-bottom: 7px; color: #86a6ba; font: 800 .68rem/1 ui-monospace, monospace; letter-spacing: .06em; text-transform: uppercase; }
.machine-route strong { display: block; color: #edf6fa; font-size: .86rem; line-height: 1.35; }
.machine-route strong + strong { margin-top: 7px; }
.machine-route b { color: var(--yellow); font: 800 .62rem/1 ui-monospace, monospace; white-space: nowrap; }
.reference-notes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 16px; }
.reference-notes article { padding: 23px 25px; border: 1px solid #29465a; border-radius: 2px 11px 2px 11px; background: #0a1d2b; }
.reference-notes h3 { margin: 0 0 9px; font-size: 1.05rem; }
.reference-notes p { margin: 0; color: var(--muted); font-size: .92rem; }

.systems-section { padding-block: 120px; background: linear-gradient(135deg, #0c2232, #071724 62%); border-block: 1px solid #203b4e; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-card { min-height: 310px; padding: 27px; background: rgba(5,19,29,.78); border: 1px solid #29465a; border-radius: 2px 13px 2px 13px; }
.feature-card.featured { grid-column: span 2; background: linear-gradient(135deg, rgba(18,53,74,.96), rgba(6,22,33,.96)); }
.card-icons { min-height: 70px; display: flex; align-items: center; gap: 9px; }
.card-icons img { width: 52px; height: 52px; padding: 9px; background: #102a3d; border: 1px solid #36576e; image-rendering: pixelated; }
.card-icons.trio img { width: 48px; height: 48px; }
.card-icons.duo img { width: 54px; height: 54px; }
.flow-arrow { color: var(--yellow); font: 900 1.35rem/1 monospace; }
.card-label { color: var(--yellow) !important; margin: 20px 0 7px !important; font: 800 .69rem/1 monospace; letter-spacing: .1em; text-transform: uppercase; }
.feature-card h3 { margin: 0; font-size: 1.3rem; }
.feature-card p:last-child { color: var(--muted); margin: 13px 0 0; font-size: .94rem; }
.mini-chart { height: 70px; display: flex; align-items: end; gap: 7px; border-bottom: 1px solid #426176; }
.mini-chart i { flex: 1; background: var(--cyan); box-shadow: 0 0 14px rgba(56,189,248,.2); }
.mini-chart i:nth-child(1) { height: 22%; }.mini-chart i:nth-child(2) { height: 48%; }.mini-chart i:nth-child(3) { height: 35%; }.mini-chart i:nth-child(4) { height: 76%; background: var(--yellow); }.mini-chart i:nth-child(5) { height: 61%; }.mini-chart i:nth-child(6) { height: 92%; background: var(--green); }.mini-chart i:nth-child(7) { height: 70%; }

.next-section { padding-block: 120px 20px; }
.next-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.next-grid article { padding: 27px; border: 1px solid #38566b; border-radius: 2px 13px 2px 13px; background: #0a1d2b; }
.next-grid span { color: var(--yellow); font: 800 .7rem/1 ui-monospace, monospace; letter-spacing: .09em; text-transform: uppercase; }
.next-grid h3 { margin: 12px 0 10px; font-size: 1.2rem; }
.next-grid p { margin: 0; color: var(--muted); font-size: .94rem; }

.install-section { padding-block: 125px; }
.install-panel { display: grid; grid-template-columns: 1fr 1.08fr; gap: 42px 70px; align-items: end; padding: 46px; border: 1px solid #49687d; border-radius: 2px 18px 2px 18px; background: linear-gradient(135deg, #102c40, #081822); box-shadow: 0 28px 70px rgba(0,0,0,.26); }
.install-panel > div:first-child p:last-child { color: var(--muted); margin-bottom: 0; }
.code-block { overflow-x: auto; padding: 18px 20px; background: #020a10; border: 1px solid #29485d; border-radius: 2px 10px 2px 10px; }
.code-block span { display: block; margin-bottom: 10px; color: var(--yellow); font: 800 .69rem/1 monospace; text-transform: uppercase; letter-spacing: .09em; }
.code-block code { color: #cde9f7; font: 500 .82rem/1.8 ui-monospace, SFMono-Regular, Consolas, monospace; white-space: nowrap; }
.install-actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 22px; padding-top: 5px; }
.text-link { color: #d5e4ec; font-weight: 700; border-bottom: 1px solid #587487; }

footer { min-height: 110px; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 25px max(24px, calc((100vw - var(--max)) / 2)); border-top: 1px solid #29465a; color: var(--muted); }
footer > div { display: flex; align-items: center; gap: 20px; }
footer strong { color: white; }

@media (max-width: 960px) {
  .site-header { grid-template-columns: 1fr auto; }
  nav { display: none; }
  .hero { grid-template-columns: 1fr; gap: 45px; }
  .hero::before, .hero::after { height: 1040px; }
  .factory-window { width: min(600px, 100%); }
  .intro-strip { margin-top: 40px; }
  .items-overview { grid-template-columns: 1fr; gap: 38px; }
  .items-copy { position: static; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-card.featured { grid-column: span 2; }
  .next-grid { grid-template-columns: 1fr; }
  .install-panel { grid-template-columns: 1fr; }
  .install-actions { grid-column: auto; }
}

@media (max-width: 680px) {
  .section-shell, .intro-strip { width: min(100% - 28px, var(--max)); }
  .site-header { height: 60px; padding-inline: 14px; }
  .brand { font-size: .9rem; }
  .mini-button { padding-inline: 10px; }
  .hero { min-height: auto; padding-block: 58px 70px; }
  .hero::before, .hero::after { inset: 60px 0 auto; height: 970px; }
  h1 { font-size: clamp(2.7rem, 15vw, 4rem); }
  .factory-grid { min-height: 390px; transform-origin: top left; }
  .machine-a { left: 18px; }.machine-b { left: 142px; }.rail { left: 100px; }.rail i:nth-child(n+3) { display: none; }
  .machine-c { left: 142px; top: 225px; }.machine-d { right: 18px; top: 225px; }.pipe { left: 134px; }.pipe-top { top: 190px; }.pipe-bottom { top: 307px; }.route-two { left: 226px; right: 100px; top: 247px; }.controller { right: 18px; }
  .intro-strip { grid-template-columns: 1fr; }
  .intro-strip div { border-right: 0; border-bottom: 1px solid #29465a; }
  .items-overview, .process-section, .reference-section, .systems-section, .next-section, .install-section { padding-block: 85px; }
  .process-flow { grid-template-columns: 1fr; }
  .machine-reference-grid, .reference-notes { grid-template-columns: 1fr; }
  .machine-route { grid-template-columns: 1fr; }
  .machine-route > div { border-right: 0; border-bottom: 1px solid #203b4e; }
  .machine-route > div:last-child { border-bottom: 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card.featured { grid-column: auto; }
  .install-panel { padding: 28px 22px; gap: 30px; }
  .install-actions { align-items: stretch; flex-direction: column; }
  footer, footer > div { align-items: flex-start; flex-direction: column; }
}

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