/* ============================================================
   MNGR/OS — "Nothing runs out."
   Light industrial bezel · dark display-glass panels
   Green = stocked / healthy / confirmed. Never decorative.
   ============================================================ */

:root {
  --bezel: #F5F7F5;
  --card: #FFFFFF;
  --ink: #0E1411;
  --glass: #0D1512;
  --glass-2: #131C16;
  --hairline: #E3E8E4;
  --hairline-g: rgba(255, 255, 255, 0.09);
  --tele: #67716A;
  --tele-g: #8FA096;
  --amber: #FFB23D;
  --red: #FF4D4D;
  --green: #22D463;
  --green-text: #149A47;
  --font-display: 'Archivo', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;
  --tray-h: 34px;
  --header-h: 64px;
  --radius: 14px;
  --radius-lg: 20px;
  --pad-x: clamp(20px, 4vw, 64px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  font-family: var(--font-body);
  background: var(--bezel);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--green); color: var(--ink); }

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }

:focus-visible { outline: 2px solid var(--green-text); outline-offset: 3px; border-radius: 4px; }

/* ============ mono utility voice ============ */
.section__pid,
.window__pid, .window__status,
.module__tele, .tray, .errlog, .feed__line, .feed__cities,
.speed__label, .speed__timer, .gauge__ghost, .gauge__label, .gauge__stamp,
.stamp, .api__code, .api__copy, .api__mounted, .field__key, .init__confirm,
.footer__bottom, .boot__log, .hero__hud, .hero__dry, .hero__prevented,
.hero__tooltip, .layer__node, .layer__core span, .proof__drivers,
.mobile-menu__num, .mobile-menu__foot, .speed__result-sub {
  font-family: var(--font-mono);
}

/* ============================================================
   00 / BOOT
   ============================================================ */
.boot {
  position: fixed; inset: 0; z-index: 1000;
  background: var(--bezel);
  display: flex; align-items: center; justify-content: center;
}
.boot.is-done { display: none; }
.boot__inner { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.boot__mark { width: 64px; height: 64px; }
.boot__log { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--tele); letter-spacing: 0.02em; }
.boot__line { opacity: 0; }
.boot__line i { font-style: normal; opacity: 0.45; }
.boot__line b { color: var(--green-text); font-weight: 500; }
.boot__line--done { margin-top: 10px; color: var(--ink); }

/* ============================================================
   SYSTEM TRAY
   ============================================================ */
.tray {
  position: fixed; top: 0; left: 0; right: 0; z-index: 990;
  height: var(--tray-h);
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding: 0 16px;
  background: var(--bezel);
  border-bottom: 1px solid var(--hairline);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--tele);
  white-space: nowrap;
}
.tray__group { display: flex; align-items: center; gap: 8px; min-width: 0; }
.tray__brand { color: var(--ink); font-weight: 500; }
.tray__clock { color: var(--ink); font-variant-numeric: tabular-nums; }
.tray__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green);
  animation: trayPulse 2.4s ease-in-out infinite;
}
@keyframes trayPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
.tray__map { width: 120px; height: 16px; opacity: 0; transition: opacity 0.5s; border-radius: 3px; }
.tray__map.is-live { opacity: 1; }
.tray__prevented b { color: var(--green-text); font-weight: 500; }
.tray__modules { font-variant-numeric: tabular-nums; }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed; top: var(--tray-h); left: 0; right: 0; z-index: 960;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--pad-x);
  transition: background 0.35s, box-shadow 0.35s;
}
.header.is-scrolled {
  background: color-mix(in srgb, var(--bezel) 88%, transparent);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--hairline);
}
.header__logo { display: flex; align-items: center; gap: 10px; }
.header__mark { width: 30px; height: 30px; }
.header__word {
  font-family: var(--font-display);
  font-weight: 900; font-size: 19px; letter-spacing: -0.01em;
}
.header__word em { font-style: normal; color: var(--green-text); }
.header__nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 34px); }
.header__link {
  font-size: 13.5px; font-weight: 500; color: var(--ink);
  position: relative; padding: 4px 0;
}
.header__link::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 2px; background: var(--green);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.65, 0, 0.35, 1);
}
.header__link:hover::after { transform: scaleX(1); }
.header__cta { padding: 11px 20px; font-size: 11px; }
.header__burger {
  display: none;
  width: 44px; height: 44px;
  flex-direction: column; align-items: center; justify-content: center; gap: 7px;
}
.header__burger span {
  display: block; width: 24px; height: 2px;
  background: var(--ink); border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.header__burger.is-open span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
.header__burger.is-open span:nth-child(2) { transform: translateY(-4.5px) rotate(-45deg); }

/* ============================================================
   MOBILE MENU
   ============================================================ */
.mobile-menu {
  position: fixed; inset: 0; z-index: 950;
  background: var(--bezel);
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 var(--pad-x);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.35s, visibility 0.35s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
body.menu-open .header { z-index: 980; background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.mobile-menu__nav { display: flex; flex-direction: column; gap: 4px; margin-bottom: 36px; }
.mobile-menu__link {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(32px, 9vw, 44px);
  letter-spacing: -0.01em; line-height: 1.25;
  display: flex; align-items: baseline; gap: 14px;
  padding: 2px 0;
}
.mobile-menu__num { font-size: 12px; color: var(--green-text); font-weight: 400; }
.mobile-menu__cta { align-self: flex-start; }
.mobile-menu__foot {
  position: absolute; bottom: 28px; left: var(--pad-x); right: var(--pad-x);
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-size: 10px; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--tele);
}

/* ============================================================
   BUTTONS — scan-confirm grammar
   ============================================================ */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 16px 30px;
  font-family: var(--font-mono);
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.btn:active { transform: scale(0.98); }
.btn--green { background: var(--green); color: var(--ink); }
.btn--green:hover { box-shadow: 0 6px 24px rgba(34, 212, 99, 0.35); }
.btn--glass { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35); }
.btn--glass:hover { background: rgba(255, 255, 255, 0.08); }
.btn__label { position: relative; z-index: 1; }
.btn--scan::after {
  content: '';
  position: absolute; top: 0; bottom: 0; left: 0; width: 36%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: translateX(-160%) skewX(-12deg);
}
.btn--scan:hover::after { animation: scanSweep 0.55s ease-out; }
@keyframes scanSweep { to { transform: translateX(420%) skewX(-12deg); } }
.btn.is-scanned { background: var(--green-text); color: #fff; }

/* ============================================================
   SECTION SCAFFOLD
   ============================================================ */
.section { padding: clamp(90px, 11vw, 150px) var(--pad-x); max-width: 1360px; margin: 0 auto; }
.section__head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 72px); }
.section__pid {
  display: inline-block;
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--green-text);
  margin-bottom: 22px;
  padding: 6px 12px;
  border: 1px solid var(--hairline);
  border-radius: 6px;
  background: var(--card);
}
.section__pid--glass { background: rgba(255, 255, 255, 0.04); border-color: var(--hairline-g); color: var(--green); }
.section__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(34px, 5.4vw, 62px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.section__title em { font-style: normal; color: var(--green-text); }
.section__title--glass { color: #fff; }
.section__title--glass em { color: var(--green); }
.section__lede {
  margin-top: 22px;
  font-size: clamp(16px, 1.6vw, 19px);
  color: #3D463F;
  max-width: 620px;
}
.section__lede--glass { color: var(--tele-g); }

/* dark display-glass full-bleed sections */
.section--glass {
  background: var(--glass);
  border-radius: var(--radius-lg);
  margin: 0 12px;
  color: #fff;
}
.feed__inner, .api__inner {
  max-width: 1336px; margin: 0 auto;
  padding: clamp(90px, 11vw, 150px) var(--pad-x);
}

/* ============================================================
   WINDOW component — everything mounts the same way
   ============================================================ */
.window {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(14, 20, 17, 0.03), 0 12px 32px -16px rgba(14, 20, 17, 0.08);
}
.window__chrome {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--hairline);
  background: linear-gradient(var(--bezel), color-mix(in srgb, var(--bezel) 55%, var(--card)));
  transform-origin: left center;
}
.window__pid { font-size: 10px; letter-spacing: 0.07em; text-transform: uppercase; color: var(--tele); }
.window__status {
  font-size: 9px; letter-spacing: 0.1em; color: var(--green-text);
  display: inline-flex; align-items: center; gap: 6px;
}
.window__status::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--green); }
.window__status--err { color: var(--red); }
.window__status--err::before { background: var(--red); }
.window__body { padding: clamp(22px, 3vw, 36px); }
.window__body--flush { padding: 0; position: relative; }
.window--glass { background: var(--glass-2); border-color: var(--hairline-g); box-shadow: none; }
.window--glass .window__chrome { background: rgba(255, 255, 255, 0.03); border-color: var(--hairline-g); }
.window--glass .window__pid { color: var(--tele-g); }

/* cell bullet — the site's atomic unit */
.cell-bullet {
  flex: 0 0 auto;
  width: 12px; height: 12px;
  border-radius: 3px;
  border: 1px solid #C6CEC8;
  background: linear-gradient(to top, var(--green) 0%, var(--green) calc(var(--fill, 0) * 100%), transparent calc(var(--fill, 0) * 100%));
  transition: --fill 0.6s;
}
.cell-bullet.is-filled { background: var(--green); border-color: var(--green); }

/* ============================================================
   01 / HERO — STOCK MATRIX
   ============================================================ */
.hero { padding: calc(var(--tray-h) + var(--header-h) + 10px) 12px 12px; }
.hero__glass {
  position: relative;
  height: calc(100svh - var(--tray-h) - var(--header-h) - 22px);
  min-height: 540px;
  background: var(--glass);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(13, 21, 18, 0.72), transparent 16%, transparent 82%, rgba(13, 21, 18, 0.72)),
    radial-gradient(ellipse 75% 60% at 50% 58%, rgba(13, 21, 18, 0.82) 0%, rgba(13, 21, 18, 0.45) 55%, transparent 100%);
}
.hero__content {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 0 var(--pad-x);
  pointer-events: none;
}
.hero__content a { pointer-events: auto; }
.hero__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(56px, 11.5vw, 148px);
  line-height: 0.96;
  letter-spacing: -0.03em;
  color: #fff;
}
.hero__title em { font-style: normal; color: var(--green); }
.hero__line { display: block; overflow: hidden; }
.hero__line-inner { display: block; }
.hero__sub {
  margin-top: 26px;
  max-width: 600px;
  font-size: clamp(15px, 1.7vw, 18px);
  color: rgba(255, 255, 255, 0.78);
}
.hero__sub strong { color: #fff; }
.hero__actions { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.hero__hud {
  position: absolute; left: 0; right: 0;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 18px 22px;
  font-size: 10px; letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--tele-g);
  pointer-events: none;
  z-index: 2;
}
.hero__hud--top { top: 0; }
.hero__hud--bottom { bottom: 0; }
.hero__hud-right::after {
  content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: var(--green); margin-left: 8px; vertical-align: 1px;
  animation: trayPulse 2.4s ease-in-out infinite;
}
.hero__dry {
  pointer-events: auto;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px;
  font-size: 10px; letter-spacing: 0.07em; text-transform: uppercase;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--hairline-g);
  border-radius: 100px;
  transition: background 0.25s, border-color 0.25s;
}
.hero__dry:hover { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.25); }
.hero__dry-pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--amber);
  animation: trayPulse 1.6s ease-in-out infinite;
}
.hero__prevented b { color: var(--green); font-weight: 500; }
.hero__tooltip {
  position: absolute; z-index: 3;
  padding: 8px 12px;
  font-size: 10.5px; line-height: 1.5; letter-spacing: 0.02em;
  color: #E6EDE8;
  background: rgba(10, 16, 13, 0.92);
  border: 1px solid var(--hairline-g);
  border-radius: 8px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.18s;
  white-space: nowrap;
  transform: translate(14px, -110%);
}
.hero__tooltip.is-on { opacity: 1; }
.hero__tooltip b { color: var(--green); font-weight: 500; }

/* ============================================================
   02 / PROBLEM — ERROR LOG
   ============================================================ */
.problem .window { max-width: 1080px; margin: 0 auto; }
.errlog {
  margin-top: 36px;
  background: var(--glass);
  border-radius: 12px;
  padding: clamp(18px, 2.6vw, 28px);
  display: flex; flex-direction: column; gap: 10px;
  font-size: clamp(11px, 1.25vw, 13px);
  color: #C7D0C9;
  overflow-x: auto;
}
.errlog__line { display: flex; gap: 14px; align-items: baseline; white-space: nowrap; }
.errlog__time { color: var(--tele-g); flex: 0 0 auto; }
.errlog__tag { flex: 0 0 38px; font-weight: 500; }
.errlog__line--err .errlog__tag { color: var(--red); }
.errlog__line--warn .errlog__tag { color: var(--amber); }
.problem__stats {
  margin-top: 44px;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 40px);
}
.problem__stat { border-top: 1px solid var(--hairline); padding-top: 18px; }
.problem__stat-num {
  display: block;
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(30px, 3.6vw, 46px); letter-spacing: -0.02em;
  line-height: 1.1;
}
.problem__stat-label { display: block; margin-top: 6px; font-size: 13.5px; color: var(--tele); max-width: 240px; }

/* ============================================================
   03 / ONE LAYER
   ============================================================ */
.layer__diagram {
  position: relative;
  max-width: 1080px; margin: 0 auto;
  min-height: 480px;
}
.layer__diagram svg#layerSvg { position: absolute; inset: 0; width: 100%; height: 100%; }
.layer__thread {
  fill: none;
  stroke: #CBD4CD;
  stroke-width: 1.5;
}
.layer__thread--out { stroke: var(--green); stroke-opacity: 0.55; }
.layer__pulse { fill: var(--green); opacity: 0; }
.layer__nodes {
  position: absolute; top: 0; bottom: 0;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 28px 0;
}
.layer__nodes--in { left: 0; align-items: flex-start; }
.layer__nodes--out { right: 0; align-items: flex-end; }
.layer__node {
  font-size: 10.5px; letter-spacing: 0.07em;
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: 8px;
  padding: 9px 14px;
  color: var(--ink);
  white-space: nowrap;
}
.layer__nodes--out .layer__node { color: var(--green-text); border-color: color-mix(in srgb, var(--green) 35%, var(--hairline)); }
.layer__core {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  background: var(--glass);
  border-radius: 18px;
  padding: 26px 30px 20px;
  box-shadow: 0 24px 60px -24px rgba(13, 21, 18, 0.5);
}
.layer__core svg { width: 56px; height: 56px; }
.layer__core span { font-size: 10px; letter-spacing: 0.12em; color: var(--tele-g); }
.layer__mobile-arrow { display: none; }

/* ============================================================
   04 / MODULES
   ============================================================ */
.modules__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.module--wide { grid-column: span 2; }
.module h3 {
  font-family: var(--font-display); font-weight: 700;
  font-size: 19px; letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.module p { font-size: 14px; color: #3D463F; }
.module .window__body { padding: 22px 24px 20px; display: flex; flex-direction: column; height: calc(100% - 37px); }
.module__tele {
  margin-top: auto; padding-top: 16px;
  font-size: 11px; color: var(--green-text); letter-spacing: 0.04em;
}
.module__equation {
  margin-top: 18px;
  display: flex; align-items: stretch; gap: 10px; flex-wrap: wrap;
  font-family: var(--font-mono);
}
.eq__item {
  display: flex; flex-direction: column; justify-content: center;
  padding: 10px 14px;
  border: 1px solid var(--hairline);
  border-radius: 10px;
  min-width: 74px;
}
.eq__item b { font-size: 18px; font-weight: 500; }
.eq__item i { font-style: normal; font-size: 9.5px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--tele); margin-top: 2px; }
.eq__op { align-self: center; color: var(--tele); font-size: 16px; }
.eq__item--result { background: var(--glass); border-color: var(--glass); }
.eq__item--result b { color: var(--green); font-size: 15px; }
.eq__item--result i { color: var(--tele-g); }
.modules__foot { margin-top: 28px; text-align: center; }
.modules__foot-line { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.05em; color: var(--tele); text-transform: uppercase; }

/* ============================================================
   05 / DECISION FEED
   ============================================================ */
.feed__stream {
  display: flex; flex-direction: column; gap: 12px;
  max-width: 880px;
  margin-bottom: clamp(56px, 7vw, 96px);
  font-size: clamp(11px, 1.25vw, 13px);
  color: var(--tele-g);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
}
.feed__line { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feed__line span { color: var(--green); margin-right: 10px; }
.feed__hero { max-width: 1000px; }
.feed__big {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(30px, 5.2vw, 60px);
  line-height: 1.05; letter-spacing: -0.02em;
  color: var(--tele-g);
}
.feed__big--answer { color: #fff; margin-top: 18px; }
.feed__big em { font-style: normal; color: var(--green); }
.stamp {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 30px;
  padding: 10px 16px;
  border: 1px solid color-mix(in srgb, var(--green) 45%, transparent);
  border-radius: 8px;
  color: var(--green);
  font-size: 11px; letter-spacing: 0.1em;
  background: rgba(34, 212, 99, 0.07);
}
.stamp__tick, .gauge__stamp svg {
  width: 14px; height: 14px;
  fill: none; stroke: var(--green); stroke-width: 3;
  stroke-linecap: round; stroke-linejoin: round;
}
.feed__cities {
  margin-top: clamp(56px, 7vw, 90px);
  display: flex; flex-wrap: wrap; gap: 10px 14px;
  font-size: 10.5px; letter-spacing: 0.1em;
  color: var(--tele-g);
}
.feed__cities i { color: var(--green); font-style: normal; }

/* ============================================================
   06 / SPEED
   ============================================================ */
.speed__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}
.speed__copy { margin-bottom: 0; }
.speed__steps { list-style: none; margin-top: 36px; display: flex; flex-direction: column; }
.speed__step {
  display: grid;
  grid-template-columns: 12px 92px 1fr;
  gap: 14px; align-items: baseline;
  padding: 14px 0;
  border-top: 1px solid var(--hairline);
  font-size: 14px;
}
.speed__step .cell-bullet { align-self: center; }
.speed__step b { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.08em; font-weight: 500; }
.speed__step span:last-child { color: #3D463F; }
.speed__panel { position: sticky; top: calc(var(--tray-h) + var(--header-h) + 18px); }
.speed__timer { color: var(--green); font-size: 12px; font-variant-numeric: tabular-nums; }
.speed__svg { width: 100%; height: auto; background: var(--glass-2); }
.speed__bins rect {
  fill: rgba(255, 255, 255, 0.025);
  stroke: rgba(255, 255, 255, 0.07);
  rx: 4;
}
.speed__path {
  stroke: var(--green);
  stroke-width: 2.5;
  stroke-linecap: round; stroke-linejoin: round;
  filter: drop-shadow(0 0 6px rgba(34, 212, 99, 0.5));
}
.speed__picker { fill: var(--green); filter: drop-shadow(0 0 10px rgba(34, 212, 99, 0.9)); }
.speed__stops circle { fill: none; stroke: var(--tele-g); stroke-width: 1.5; opacity: 0.6; }
.speed__stops circle.is-picked { fill: var(--green); stroke: var(--green); opacity: 1; }
.speed__label { fill: var(--tele-g); font-size: 10px; letter-spacing: 0.04em; }
.speed__result {
  position: absolute; left: 50%; bottom: 18px;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  opacity: 0;
}
.speed__result-stamp {
  font-family: var(--font-mono);
  padding: 10px 18px;
  background: var(--green); color: var(--ink);
  font-size: 13px; font-weight: 500; letter-spacing: 0.08em;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(34, 212, 99, 0.35);
}
.speed__result-sub { font-size: 10px; color: var(--tele-g); letter-spacing: 0.06em; }

/* ============================================================
   07 / PROOF — GAUGES
   ============================================================ */
.proof__gauges {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.gauge {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 26px 24px 22px;
  display: flex; flex-direction: column; gap: 4px;
  position: relative;
}
.gauge__ghost {
  font-size: 12px; color: var(--tele);
  transition: opacity 0.4s;
}
.gauge.is-resolved .gauge__ghost { text-decoration: line-through; opacity: 0.55; }
.gauge__value {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(34px, 3.8vw, 50px);
  letter-spacing: -0.02em; line-height: 1.05;
  font-variant-numeric: tabular-nums;
}
.gauge__label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.07em; color: var(--tele); margin-top: 2px; }
.gauge__stamp {
  display: inline-flex; align-items: center; gap: 7px;
  margin-top: 14px;
  font-size: 9px; letter-spacing: 0.1em;
  color: var(--green-text);
  opacity: 0;
}
.gauge.is-resolved .gauge__stamp { opacity: 1; }
.gauge__stamp svg { stroke: var(--green-text); }
.proof__drivers {
  margin-top: clamp(40px, 5vw, 64px);
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px;
  font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase;
}
.proof__drivers-label { color: var(--tele); }
.proof__driver {
  padding: 10px 16px;
  border: 1px solid var(--hairline);
  border-radius: 100px;
  background: var(--card);
  font-weight: 500;
}
.proof__driver i { font-style: normal; color: var(--tele); font-weight: 400; margin-left: 6px; text-transform: none; letter-spacing: 0.02em; }
.proof__industries {
  margin-top: 34px;
  display: flex; gap: 14px; align-items: baseline;
  max-width: 720px;
}
.proof__industries p { font-size: 15px; color: #3D463F; }
.proof__industries .cell-bullet { transform: translateY(1px); }

/* ============================================================
   08 / API
   ============================================================ */
.api__window { max-width: 860px; }
.api__copy {
  font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--tele-g);
  border: 1px solid var(--hairline-g);
  border-radius: 6px;
  padding: 5px 12px;
  transition: color 0.2s, border-color 0.2s;
}
.api__copy:hover { color: #fff; border-color: rgba(255, 255, 255, 0.3); }
.api__copy.is-copied { color: var(--green); border-color: var(--green); }
.api__code {
  padding: clamp(20px, 3vw, 32px);
  font-size: clamp(11.5px, 1.3vw, 13.5px);
  line-height: 1.75;
  color: #C7D0C9;
  overflow-x: auto;
}
.tok-k { color: var(--tele-g); }
.tok-s { color: #E6EDE8; }
.tok-n { color: var(--green); }
.tok-g { color: var(--green); }
.api__mounted {
  margin-top: 26px;
  font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--tele-g);
}
.api__mounted span { color: #E6EDE8; }

/* ============================================================
   09 / INIT — FORM
   ============================================================ */
.init__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.init__grid .section__head { margin-bottom: 0; }
.init__points { margin-top: 34px; display: flex; flex-direction: column; gap: 14px; }
.init__point { display: flex; align-items: baseline; gap: 12px; font-size: 15px; color: #3D463F; }
.init__point .cell-bullet { transform: translateY(1px); }
.field { margin-bottom: 20px; }
.field--row { display: flex; gap: 18px; }
.field__half { flex: 1; min-width: 0; }
.field__key {
  display: block;
  font-size: 11px; letter-spacing: 0.06em;
  color: var(--green-text);
  margin-bottom: 6px;
}
.field__input {
  width: 100%;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--ink);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--hairline);
  padding: 8px 2px 10px;
  border-radius: 0;
  transition: border-color 0.25s;
  appearance: none;
}
select.field__input {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%2367716A' fill='none' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px center;
  padding-right: 22px;
}
.field__input:focus { outline: none; border-bottom-color: var(--green-text); }
.field__input::placeholder { color: #B5BDB7; }
.init__submit { width: 100%; margin-top: 6px; }
.init__confirm {
  margin-top: 16px;
  font-size: 11.5px; line-height: 1.7;
  color: var(--green-text);
  min-height: 20px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid var(--hairline);
  padding: clamp(40px, 6vw, 72px) var(--pad-x) 28px;
  max-width: 1360px; margin: 0 auto;
}
.footer__top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  margin-bottom: 40px;
}
.footer__brand { display: flex; align-items: center; gap: 12px; }
.footer__mark { width: 36px; height: 36px; }
.footer__word { font-family: var(--font-display); font-weight: 900; font-size: 24px; letter-spacing: -0.01em; }
.footer__word em { font-style: normal; color: var(--green-text); }
.footer__nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer__nav a { font-size: 13px; color: #3D463F; transition: color 0.2s; }
.footer__nav a:hover { color: var(--ink); }
.footer__bottom {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  border-top: 1px solid var(--hairline);
  padding-top: 22px;
  font-size: 10.5px; letter-spacing: 0.04em;
  color: var(--tele);
}
.footer__session { color: var(--green-text); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1060px) {
  .modules__grid { grid-template-columns: repeat(2, 1fr); }
  .proof__gauges { grid-template-columns: repeat(2, 1fr); }
  .tray__group--mid { display: none; }
}

@media (max-width: 860px) {
  .header__nav { display: none; }
  .header__burger { display: flex; }
  .speed__grid, .init__grid { grid-template-columns: 1fr; }
  .speed__panel { position: static; }

  /* layer diagram goes vertical */
  .layer__diagram { min-height: 0; display: flex; flex-direction: column; align-items: center; gap: 22px; }
  .layer__diagram svg#layerSvg { display: none; }
  .layer__nodes { position: static; flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 0; }
  .layer__core { position: static; transform: none; }
  .layer__mobile-arrow { display: block; font-family: var(--font-mono); color: var(--green-text); font-size: 14px; }
}

@media (max-width: 640px) {
  .modules__grid { grid-template-columns: 1fr; }
  .module--wide { grid-column: span 1; }
  .proof__gauges { grid-template-columns: 1fr; }
  .problem__stats { grid-template-columns: 1fr; gap: 16px; }
  .tray { padding: 0 12px; gap: 10px; font-size: 9px; }
  .tray__modules, .tray__sep--mod, .tray__zone { display: none; }
  .tray__map { width: 56px; }
  .tray__group { gap: 6px; }
  .hero__hud--top { display: none; }
  .hero__hud--bottom { flex-direction: column; align-items: flex-start; gap: 8px; padding: 16px; }
  .hero__glass { min-height: 480px; }
  .hero__sub { font-size: 14.5px; }
  .field--row { flex-direction: column; gap: 0; }
  .section--glass { margin: 0 8px; }
  .hero { padding-left: 8px; padding-right: 8px; }
  .eq__item { min-width: 60px; padding: 8px 10px; }
  .feed__big br, .section__title br { display: none; }
}

/* ============================================================
   MOTION SAFETY
   ============================================================ */
.no-anim [data-reveal], .no-anim [data-mount] { opacity: 1 !important; transform: none !important; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001s !important; transition-duration: 0.001s !important; }
  .boot { display: none; }
  .speed__result { opacity: 1; }
  .gauge__stamp { opacity: 1; }
}
