/* =========================================================
   老兵 VETERAN X1 — Official product site
   Static, dependency-free stylesheet
   ========================================================= */

:root {
  --bg: #070906;
  --bg-deep: #050604;
  --bg-raised: #0c0f0a;
  --surface: rgba(238, 242, 228, 0.035);
  --surface-strong: rgba(238, 242, 228, 0.06);
  --text: #f0f2e7;
  --text-soft: #d4d8cb;
  --muted: #999f91;
  --muted-2: #6c7367;
  --line: rgba(238, 242, 228, 0.13);
  --line-soft: rgba(238, 242, 228, 0.07);
  --acid: #d6ff3f;
  --acid-dim: #b3d92f;
  --acid-wash: rgba(214, 255, 63, 0.08);
  --cyan: #7fe7da;
  --orange: #ff9256;
  --danger: #ff7164;
  --font-display: "Bahnschrift", "DIN Alternate", "Arial Narrow", "Microsoft YaHei UI", "PingFang SC", sans-serif;
  --font-body: "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", sans-serif;
  --font-mono: "Cascadia Mono", "SFMono-Regular", "Consolas", "Liberation Mono", monospace;
  --container: 1320px;
  --gutter: 48px;
  --radius: 2px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 500;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.86' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.65'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

body.is-locked {
  overflow: hidden;
}

::selection {
  background: var(--acid);
  color: #080a06;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
pre,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

svg {
  display: block;
  max-width: 100%;
}

img {
  max-width: 100%;
}

:focus-visible {
  outline: 2px solid var(--acid);
  outline-offset: 3px;
}

:focus:not(:focus-visible) {
  outline: none;
}

.container {
  width: min(var(--container), calc(100% - (var(--gutter) * 2)));
  margin-inline: auto;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.mono {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.accent {
  color: var(--acid);
}

.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 0 4px rgba(214, 255, 63, 0.08);
  flex: none;
  animation: dotPulse 2.8s ease-in-out infinite;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 16px;
  background: var(--acid);
  color: #080a06;
  font-size: 12px;
  transform: translateY(-150%);
  transition: transform 0.2s var(--ease);
}

.skip-link:focus {
  transform: none;
}

/* ---------- Scroll reveal ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.9s var(--ease-out) var(--d, 0s),
    transform 0.9s var(--ease-out) var(--d, 0s);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  padding: 22px 0;
  transition:
    padding 0.4s var(--ease),
    background 0.4s var(--ease),
    border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(7, 9, 6, 0.82), rgba(7, 9, 6, 0));
  opacity: 1;
  transition: opacity 0.4s var(--ease);
}

.site-header.is-scrolled {
  padding: 10px 0;
  border-bottom-color: var(--line-soft);
  background: rgba(7, 9, 6, 0.92);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled::before {
  opacity: 0;
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: none;
}

.brand-mark {
  width: 31px;
  height: 31px;
  color: var(--acid);
}

.brand-mark svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
}

.brand-mark svg circle {
  fill: currentColor;
  stroke: none;
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 7px;
}

.brand-type {
  display: flex;
  flex-direction: column;
  gap: 5px;
  line-height: 1;
}

.brand-type strong {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.brand-type small {
  font-family: var(--font-display);
  font-size: 7px;
  font-weight: 400;
  letter-spacing: 0.28em;
  color: var(--muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
}

.nav-links > a:not(.nav-cta) {
  position: relative;
  padding: 4px 0;
  color: var(--muted);
  font-size: 13px;
  transition: color 0.25s var(--ease);
}

.nav-links > a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--acid);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s var(--ease);
}

.nav-links > a:not(.nav-cta):hover,
.nav-links > a:not(.nav-cta).is-active {
  color: var(--text);
}

.nav-links > a:not(.nav-cta):hover::after,
.nav-links > a:not(.nav-cta).is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 11px 17px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  font-size: 12px;
  line-height: 1;
  transition:
    color 0.3s var(--ease),
    background 0.3s var(--ease),
    border-color 0.3s var(--ease);
}

.nav-cta .icon {
  width: 14px;
  height: 14px;
  transition: transform 0.3s var(--ease);
}

.nav-cta:hover {
  color: #080a06;
  background: var(--acid);
  border-color: var(--acid);
}

.nav-cta:hover .icon {
  transform: translateX(3px);
}

.nav-mobile-foot {
  display: none;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--text);
}

.menu-toggle .close-icon {
  display: none;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 1px;
  font-size: 13px;
  line-height: 1;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition:
    color 0.3s var(--ease),
    background 0.3s var(--ease),
    border-color 0.3s var(--ease),
    transform 0.3s var(--ease);
}

.btn .icon {
  width: 16px;
  height: 16px;
  transition: transform 0.3s var(--ease);
}

.btn:hover .icon {
  transform: translateX(4px);
}

.btn-primary {
  background: var(--acid);
  color: #080a06;
  border-color: var(--acid);
}

.btn-primary:hover {
  background: var(--text);
  border-color: var(--text);
}

.btn-ghost {
  border-color: var(--line);
  color: var(--text);
  background: rgba(238, 242, 228, 0.01);
}

.btn-ghost:hover {
  border-color: rgba(214, 255, 63, 0.4);
  background: var(--acid-wash);
}

.btn-ghost .icon {
  color: var(--acid);
}

.btn-dark {
  background: #080a06;
  color: var(--acid);
  border-color: #080a06;
}

.btn-dark:hover {
  background: #1b2012;
  border-color: #1b2012;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  display: flex;
  min-height: 100svh;
  padding: 144px 0 0;
  overflow: hidden;
  flex-direction: column;
  justify-content: center;
}

.hero-atmosphere {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  top: -28%;
  right: -12%;
  width: 72vw;
  height: 72vw;
  max-width: 1080px;
  max-height: 1080px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(214, 255, 63, 0.13) 0%, rgba(214, 255, 63, 0.035) 38%, transparent 68%);
  filter: blur(20px);
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.65;
  background-image:
    linear-gradient(rgba(238, 242, 228, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(238, 242, 228, 0.035) 1px, transparent 1px);
  background-size: 82px 82px;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.55) 56%, transparent 92%);
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.55) 56%, transparent 92%);
}

.hero-horizon {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 30%;
  background: linear-gradient(to top, var(--bg) 8%, rgba(7, 9, 6, 0.75) 46%, transparent 100%);
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(0, 0.97fr);
  align-items: center;
  gap: 28px;
  padding-bottom: 80px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding-top: 16px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 1.4;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow-sep {
  color: var(--muted-2);
}

.hero-eyebrow,
.hero h1,
.hero-lede,
.hero-actions,
.hero-meta {
  animation: heroIn 1s var(--ease-out) both;
}

.hero-eyebrow {
  animation-delay: 0.05s;
}

.hero h1 {
  animation-delay: 0.12s;
}

.hero-lede {
  animation-delay: 0.22s;
}

.hero-actions {
  animation-delay: 0.32s;
}

.hero-meta {
  animation-delay: 0.42s;
}

.hero h1 {
  max-width: 780px;
  margin-top: 28px;
  font-family: var(--font-display);
  font-size: clamp(3.9rem, 7.2vw, 7rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.06em;
  text-wrap: balance;
}

.hero-accent {
  position: relative;
  display: inline-block;
  color: var(--acid);
}

.hero-accent::after {
  content: "";
  position: absolute;
  left: 0.04em;
  right: 0.02em;
  bottom: -0.055em;
  height: 1px;
  background: linear-gradient(90deg, rgba(214, 255, 63, 0.7), rgba(214, 255, 63, 0.08));
}

.hero-lede {
  max-width: 570px;
  margin-top: 30px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.95;
}

.hero-lede strong {
  color: var(--text-soft);
  font-weight: 500;
}

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

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  margin-top: 38px;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.meta-mark {
  display: inline-block;
  width: 4px;
  height: 4px;
  background: var(--acid);
  transform: rotate(45deg);
}

/* ---------- Hero visual / product stage ---------- */

.hero-visual {
  position: relative;
  display: flex;
  min-height: 610px;
  align-items: center;
  justify-content: center;
  animation: heroVisualIn 1.4s var(--ease-out) 0.18s both;
}

.stage-aura {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 88%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(214, 255, 63, 0.14) 0%, rgba(214, 255, 63, 0.025) 44%, transparent 70%);
  filter: blur(22px);
  transform: translate(-50%, -50%);
}

.stage-rings {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(92%, 650px);
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.stage-rings i {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(214, 255, 63, 0.08);
  border-radius: 50%;
}

.stage-rings i:nth-child(2) {
  inset: 9%;
  border-color: rgba(238, 242, 228, 0.07);
}

.stage-rings i:nth-child(3) {
  inset: 20%;
  border-color: rgba(214, 255, 63, 0.05);
  border-style: dashed;
}

.stage-floor {
  position: absolute;
  bottom: 6%;
  left: 10%;
  width: 80%;
  height: 18%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(214, 255, 63, 0.12), transparent 68%);
  filter: blur(18px);
}

.device-wrap {
  position: relative;
  z-index: 2;
  width: 111%;
  max-width: 790px;
  margin-right: -8%;
  transform: translateY(6px);
  animation: deviceFloat 8s ease-in-out infinite;
  will-change: transform;
}

.device-svg {
  width: 100%;
  height: auto;
  overflow: visible;
  filter: drop-shadow(0 34px 48px rgba(0, 0, 0, 0.46));
}

.hud {
  position: absolute;
  z-index: 3;
  border: 1px solid rgba(238, 242, 228, 0.16);
  border-radius: 6px;
  background: rgba(9, 12, 8, 0.76);
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.hud-feed {
  top: 10%;
  left: -4%;
  width: 214px;
  overflow: hidden;
  animation: hudFloat 7.2s ease-in-out infinite;
}

.hud-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  padding: 8px 11px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.hud-bar > span:last-child {
  margin-left: auto;
}

.hud-bar .status-dot {
  width: 4px;
  height: 4px;
  box-shadow: none;
}

.hud-view {
  position: relative;
  height: 126px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 80%, rgba(214, 255, 63, 0.12), transparent 60%),
    linear-gradient(180deg, #10150f, #080b08);
}

.hud-grid {
  position: absolute;
  left: -20%;
  right: -20%;
  bottom: -38%;
  height: 120%;
  background-image:
    linear-gradient(rgba(214, 255, 63, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(214, 255, 63, 0.1) 1px, transparent 1px);
  background-size: 30px 30px;
  transform: perspective(220px) rotateX(58deg);
  transform-origin: 50% 100%;
  opacity: 0.36;
}

.mini-person {
  position: absolute;
  bottom: 15%;
  width: 15%;
  height: 57%;
  background: linear-gradient(90deg, #222b22 0%, #a4b09f 47%, #4e5b4e 64%, #171d17 100%);
  clip-path: polygon(38% 0, 62% 0, 68% 12%, 64% 24%, 82% 32%, 78% 62%, 68% 58%, 72% 100%, 55% 100%, 50% 72%, 45% 100%, 28% 100%, 32% 58%, 22% 62%, 18% 32%, 36% 24%, 32% 12%);
  filter: drop-shadow(0 0 10px rgba(214, 255, 63, 0.14));
}

.mini-person-a {
  left: 25%;
}

.mini-person-b {
  left: 57%;
  bottom: 18%;
  width: 13%;
  height: 48%;
  opacity: 0.72;
}

.mini-bbox {
  position: absolute;
  top: 21%;
  left: 20%;
  width: 26%;
  height: 61%;
  border: 1px solid rgba(214, 255, 63, 0.62);
  background: linear-gradient(180deg, rgba(214, 255, 63, 0.07), transparent);
}

.mini-bbox::before,
.mini-bbox::after {
  content: "";
  position: absolute;
  left: -1px;
  right: -1px;
  height: 1px;
  background: var(--acid);
  opacity: 0.75;
}

.mini-bbox::before {
  top: -1px;
}

.mini-bbox::after {
  bottom: -1px;
}

.mini-bbox i {
  position: absolute;
  top: -14px;
  left: -1px;
  padding: 2px 4px;
  background: var(--acid);
  color: #080a06;
  font-family: var(--font-mono);
  font-size: 5px;
  font-style: normal;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.mini-bbox b {
  position: absolute;
  right: 2px;
  bottom: 2px;
  color: var(--acid);
  font-family: var(--font-mono);
  font-size: 5px;
  font-weight: 400;
}

.hud-data {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-soft);
}

.hud-data div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 7px 10px;
  border-left: 1px solid var(--line-soft);
}

.hud-data div:first-child {
  border-left: 0;
}

.hud-data span {
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 5.5px;
  letter-spacing: 0.09em;
}

.hud-data b {
  color: var(--text-soft);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
}

.hud-signal {
  right: -1%;
  bottom: 9%;
  width: 206px;
  padding-bottom: 0;
  animation: hudFloat 8.4s ease-in-out 0.8s infinite;
}

.hud-code {
  color: var(--acid);
}

.signal-wave {
  display: flex;
  height: 42px;
  align-items: flex-end;
  gap: 5px;
  padding: 10px 12px 8px;
}

.signal-wave span {
  width: 100%;
  height: 30%;
  background: linear-gradient(to top, rgba(214, 255, 63, 0.18), var(--acid));
  opacity: 0.7;
  animation: signalBars 2.8s ease-in-out infinite;
}

.signal-wave span:nth-child(2n) {
  animation-delay: -0.4s;
}

.signal-wave span:nth-child(3n) {
  animation-delay: -0.9s;
}

.signal-wave span:nth-child(4n) {
  animation-delay: -1.4s;
}

.signal-wave span:nth-child(5n) {
  animation-delay: -1.9s;
}

.signal-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 11px;
  border-top: 1px solid var(--line-soft);
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 6px;
  letter-spacing: 0.08em;
}

.signal-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.signal-meta .status-dot {
  width: 3px;
  height: 3px;
  box-shadow: none;
}

.signal-meta b {
  color: var(--muted);
  font-weight: 400;
}

.float-chip {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 11px;
  border: 1px solid rgba(214, 255, 63, 0.24);
  border-radius: 999px;
  background: rgba(9, 12, 8, 0.7);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 6.5px;
  letter-spacing: 0.12em;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.float-chip b {
  color: var(--text-soft);
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.float-chip .status-dot {
  width: 4px;
  height: 4px;
  box-shadow: none;
}

.float-chip-a {
  top: 6%;
  right: 1%;
}

.float-chip-b {
  top: 39%;
  right: 2%;
  bottom: auto;
}

.hero-vertical {
  position: absolute;
  top: 50%;
  right: -26px;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: translateY(-50%);
}

/* ---------- Hero bottom ---------- */

.hero-scroll {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 24px;
  color: var(--muted-2);
}

.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.16em;
  transition: color 0.3s var(--ease);
}

.scroll-cue:hover {
  color: var(--text);
}

.scroll-line {
  position: relative;
  display: block;
  width: 50px;
  height: 1px;
  overflow: hidden;
  background: var(--line);
}

.scroll-line i {
  position: absolute;
  top: 0;
  left: 0;
  width: 30%;
  height: 100%;
  background: var(--acid);
  animation: scrollLine 2.6s var(--ease) infinite;
}

.hero-index {
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.18em;
}

/* ---------- Stats band ---------- */

.stats-band {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(238, 242, 228, 0.012);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.stat-cell {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 26px 26px 28px;
  border-left: 1px solid var(--line-soft);
}

.stat-cell:first-child {
  border-left: 0;
  padding-left: 0;
}

.stat-kicker {
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.13em;
}

.stat-cell strong {
  margin: 10px 0 5px;
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.1vw, 3.15rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.045em;
  white-space: nowrap;
}

.stat-cell strong em {
  color: var(--muted);
  font-size: 0.42em;
  font-style: normal;
  letter-spacing: 0.01em;
}

.stat-label {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

.stat-label sup {
  margin-left: 2px;
  color: var(--muted-2);
  font-size: 7px;
}

/* ---------- Shared section language ---------- */

.section {
  position: relative;
  padding: 140px 0;
}

.section-vision,
.section-integration,
.section-specs,
.section-faq,
.section-principles {
  border-top: 1px solid var(--line-soft);
}

.section-product {
  padding-top: 148px;
}

.section-head {
  display: grid;
  grid-template-columns: 172px minmax(0, 1fr);
  gap: 38px;
  align-items: start;
  margin-bottom: 72px;
}

.section-index {
  padding-top: 10px;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 8px;
  line-height: 1.7;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-index span {
  margin-right: 6px;
  color: var(--acid);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.62fr);
  gap: 54px;
  align-items: end;
}

.display {
  font-family: var(--font-display);
  font-size: clamp(2.65rem, 4.6vw, 4.75rem);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.section-lead {
  max-width: 480px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.95;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
  color: var(--text-soft);
  font-size: 12px;
  line-height: 1.2;
  transition:
    color 0.3s var(--ease),
    border-color 0.3s var(--ease);
}

.text-link .icon {
  width: 14px;
  height: 14px;
  color: var(--acid);
  transition: transform 0.3s var(--ease);
}

.text-link:hover {
  color: var(--acid);
  border-color: rgba(214, 255, 63, 0.45);
}

.text-link:hover .icon {
  transform: translateX(3px);
}

/* ---------- Product feature cards ---------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.feature-card {
  position: relative;
  display: flex;
  min-height: 318px;
  flex-direction: column;
  overflow: hidden;
  padding: 32px 32px 30px;
  border-left: 1px solid var(--line);
  transition: background 0.4s var(--ease);
}

.feature-card:first-child {
  padding-left: 0;
  border-left: 0;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(214, 255, 63, 0.055), transparent 54%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card > * {
  position: relative;
  z-index: 1;
}

.feature-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 58px;
}

.feature-num {
  color: var(--acid);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.feature-tag {
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.13em;
  text-align: right;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.feature-card p {
  max-width: 330px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.85;
}

.feature-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: auto;
  padding-top: 30px;
}

.feature-specs span {
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 7px;
  line-height: 1.5;
  letter-spacing: 0.08em;
}

/* ---------- Signal pipeline ---------- */

.pipeline {
  margin-top: 76px;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    radial-gradient(ellipse at 16% 100%, rgba(214, 255, 63, 0.055), transparent 48%),
    rgba(238, 242, 228, 0.012);
}

.pipeline-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 22px;
  border-bottom: 1px solid var(--line-soft);
}

.pipeline-head .mono {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted-2);
  font-size: 7px;
}

.pipeline-head .status-dot {
  width: 4px;
  height: 4px;
  box-shadow: none;
}

.pipeline-head-right {
  color: var(--muted-2);
  opacity: 0.7;
}

.pipeline-track {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  padding: 42px 30px 38px;
}

.pipe-node {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
}

.pipe-index {
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.1em;
}

.pipe-icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin-top: 12px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(214, 255, 63, 0.035);
}

.pipe-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: var(--acid);
  stroke-width: 1.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pipe-node h4 {
  margin-top: 18px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
}

.pipe-node p {
  margin-top: 6px;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 8px;
  line-height: 1.8;
  letter-spacing: 0.02em;
}

.pipe-connector {
  position: relative;
  width: 54px;
  height: 1px;
  margin: 0 13px;
  color: var(--muted-2);
}

.pipe-connector::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}

.pipe-connector svg {
  position: absolute;
  top: 50%;
  right: -3px;
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform: translateY(-50%);
}

.pipe-connector i {
  position: absolute;
  top: -2px;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 12px rgba(214, 255, 63, 0.7);
  animation: pipeTravel 4.2s var(--ease) infinite;
}

.pipeline-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 17px 22px;
  border-top: 1px solid var(--line-soft);
}

.pipeline-foot p {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}

.pipeline-foot .mono {
  color: var(--muted-2);
  font-size: 7px;
  white-space: nowrap;
}

/* ---------- Vision console ---------- */

.vision-console {
  overflow: hidden;
  border: 1px solid var(--line);
  background: #090b08;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.28);
}

.console-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  min-height: 44px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(238, 242, 228, 0.015);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.1em;
  color: var(--muted-2);
  text-transform: uppercase;
}

.console-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--acid);
}

.console-live .status-dot {
  width: 4px;
  height: 4px;
  box-shadow: none;
}

.console-title {
  color: var(--muted);
  text-align: center;
  white-space: nowrap;
}

.console-title span {
  margin: 0 8px;
  color: var(--muted-2);
}

.console-clock {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.console-clock span:last-child {
  padding: 2px 5px;
  border: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 6px;
}

.vision-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
}

.vision-feed {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 76%, rgba(121, 230, 217, 0.08), transparent 48%),
    radial-gradient(ellipse at 50% 35%, rgba(214, 255, 63, 0.05), transparent 50%),
    linear-gradient(180deg, #111710 0%, #090d09 58%, #060805 100%);
  isolation: isolate;
}

.feed-grid {
  position: absolute;
  left: -30%;
  right: -30%;
  bottom: -44%;
  height: 108%;
  background-image:
    linear-gradient(rgba(214, 255, 63, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(214, 255, 63, 0.12) 1px, transparent 1px);
  background-size: 54px 54px;
  transform: perspective(440px) rotateX(61deg);
  transform-origin: 50% 100%;
  opacity: 0.3;
  -webkit-mask-image: linear-gradient(to top, #000 20%, transparent 92%);
  mask-image: linear-gradient(to top, #000 20%, transparent 92%);
}

.feed-stage-glow {
  position: absolute;
  left: 50%;
  bottom: 10%;
  width: 62%;
  height: 42%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(214, 255, 63, 0.13), rgba(121, 230, 217, 0.045) 42%, transparent 70%);
  filter: blur(20px);
  transform: translateX(-50%);
}

.feed-stage {
  position: absolute;
  left: 50%;
  bottom: 7%;
  width: 72%;
  height: 20%;
  border: 1px solid rgba(214, 255, 63, 0.16);
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow:
    0 0 40px rgba(214, 255, 63, 0.06),
    inset 0 0 40px rgba(214, 255, 63, 0.035);
}

.feed-stage::after {
  content: "";
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(238, 242, 228, 0.06);
  border-radius: 50%;
}

.feed-stage-glow + .feed-stage {
  animation: stageBreathe 6s ease-in-out infinite;
}

.figure {
  position: absolute;
  z-index: 2;
  will-change: transform;
  transition:
    opacity 0.4s var(--ease),
    visibility 0.4s var(--ease),
    filter 0.3s var(--ease);
  filter: drop-shadow(0 12px 22px rgba(0, 0, 0, 0.34));
}

.figure-a {
  left: 24.5%;
  bottom: 17%;
  width: 8.2%;
  height: 49%;
}

.figure-b {
  left: 55.2%;
  bottom: 19%;
  width: 7.2%;
  height: 43%;
}

.figure-c {
  left: 76.2%;
  bottom: 18%;
  width: 6.1%;
  height: 35%;
  opacity: 0.78;
}

.fig-art {
  position: absolute;
  left: -20%;
  bottom: 0;
  display: block;
  width: 140%;
  height: 140%;
  object-fit: contain;
  object-position: center bottom;
  transform-origin: 50% 100%;
  animation: figureIdle 6.8s ease-in-out infinite;
}

.figure-b .fig-art {
  animation-delay: -1.8s;
}

.figure-c .fig-art {
  animation-delay: -3.4s;
  filter: hue-rotate(112deg) saturate(0.58) brightness(0.86);
}

@keyframes figureIdle {
  0%, 100% { transform: translateY(0) scaleY(1); }
  50% { transform: translateY(-1.15%) scaleY(1.004); }
}
.prop {
  position: absolute;
  z-index: 2;
  display: block;
  width: 4.4%;
  aspect-ratio: 1;
  will-change: transform;
  transition:
    opacity 0.4s var(--ease),
    visibility 0.4s var(--ease),
    filter 0.3s var(--ease);
}

.prop img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 5px 9px rgba(0, 0, 0, 0.55));
  transform-origin: 50% 58%;
  animation: propIdle 5.4s ease-in-out infinite;
}

.prop-b img {
  animation-delay: -2.2s;
}

.prop.is-highlight img {
  filter: brightness(1.3) drop-shadow(0 0 14px rgba(127, 231, 218, 0.65));
}

.prop.is-locked img {
  filter: brightness(1.5) drop-shadow(0 0 20px rgba(127, 231, 218, 0.85));
}

.prop-a {
  left: 43%;
  bottom: 19%;
}

.prop-b {
  left: 67%;
  right: auto;
  bottom: 16.5%;
  width: 3.6%;
}

@keyframes propIdle {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-2.6%) rotate(1.4deg); }
}
.bbox {
  --box-accent: var(--acid);
  position: absolute;
  z-index: 3;
  border: 1px solid color-mix(in srgb, var(--box-accent) 62%, transparent);
  background: linear-gradient(180deg, color-mix(in srgb, var(--box-accent) 7%, transparent), transparent 62%);
  box-shadow: inset 0 0 32px color-mix(in srgb, var(--box-accent) 4%, transparent);
  will-change: transform;
  transition:
    opacity 0.4s var(--ease),
    visibility 0.4s var(--ease),
    border-color 0.3s var(--ease),
    background 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}

.bbox-label {
  position: absolute;
  top: -17px;
  left: -1px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 6px;
  background: var(--box-accent);
  color: #080a06;
  font-family: var(--font-mono);
  font-size: 6px;
  line-height: 1;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.bbox-label b {
  font-weight: 400;
  opacity: 0.62;
}

.bbox-label.item {
  --box-accent: var(--cyan);
  color: #06100e;
}

.bbox-item-a,
.bbox-item-b {
  --box-accent: var(--cyan);
}

.bbox-person-a {
  left: 22.5%;
  top: 13.5%;
  width: 12.5%;
  height: 69%;
}

.bbox-person-b {
  left: 52%;
  top: 19%;
  width: 10.5%;
  height: 62%;
}

.bbox-person-c {
  left: 75%;
  top: 25%;
  width: 8.5%;
  height: 55%;
}

.bbox-item-a {
  left: 42%;
  top: 70%;
  width: 7%;
  height: 11%;
}

.bbox-item-b {
  left: 65.5%;
  top: 72%;
  width: 6%;
  height: 9%;
}

/* Interactive targets */

.vision-feed [data-target] {
  cursor: crosshair;
}

.det-list li[data-target] {
  cursor: pointer;
}

.figure.is-highlight {
  filter:
    brightness(1.28)
    drop-shadow(0 0 18px rgba(214, 255, 63, 0.46))
    drop-shadow(0 12px 22px rgba(0, 0, 0, 0.58));
}

.bbox.is-highlight {
  border-color: rgba(240, 242, 231, 0.9);
  background: linear-gradient(180deg, rgba(214, 255, 63, 0.13), transparent 70%);
  box-shadow:
    0 0 0 1px rgba(240, 242, 231, 0.25),
    inset 0 0 40px rgba(214, 255, 63, 0.12);
}

.bbox.is-highlight .bbox-label {
  background: #f0f2e7;
  color: #080a06;
}

.bbox.is-highlight .corner {
  width: 11px;
  height: 11px;
}

.det-list li.is-highlight {
  background: rgba(214, 255, 63, 0.065);
  color: var(--text);
}

.det-list li.is-highlight .det-conf,
.det-list li.is-highlight .det-id {
  color: var(--acid);
}

.figure.is-locked {
  filter:
    brightness(1.38)
    drop-shadow(0 0 26px rgba(214, 255, 63, 0.64))
    drop-shadow(0 12px 22px rgba(0, 0, 0, 0.58));
}

.bbox.is-locked {
  border-color: #f0f2e7;
  animation: targetLock 0.95s var(--ease) both;
}

.bbox.is-locked::after {
  content: "LOCKED";
  position: absolute;
  right: -1px;
  bottom: -1px;
  padding: 3px 5px;
  background: #f0f2e7;
  color: #080a06;
  font-family: var(--font-mono);
  font-size: 5px;
  line-height: 1;
  letter-spacing: 0.06em;
}

.bbox.is-locked .bbox-label {
  background: #f0f2e7;
  color: #080a06;
}

.det-list li.is-locked {
  background: rgba(214, 255, 63, 0.1);
  color: var(--text);
}

.det-list li.is-locked .det-conf,
.det-list li.is-locked .det-id {
  color: var(--acid);
}

.corner {
  position: absolute;
  width: 8px;
  height: 8px;
  border: 0 solid var(--box-accent);
}

.corner.tl {
  top: -1px;
  left: -1px;
  border-top-width: 2px;
  border-left-width: 2px;
}

.corner.tr {
  top: -1px;
  right: -1px;
  border-top-width: 2px;
  border-right-width: 2px;
}

.corner.bl {
  bottom: -1px;
  left: -1px;
  border-bottom-width: 2px;
  border-left-width: 2px;
}

.corner.br {
  bottom: -1px;
  right: -1px;
  border-bottom-width: 2px;
  border-right-width: 2px;
}

.motion-layer {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  transition:
    opacity 0.4s var(--ease),
    visibility 0.4s var(--ease);
}

.motion-path {
  fill: none;
  stroke: rgba(127, 231, 218, 0.65);
  stroke-width: 0.8;
  stroke-dasharray: 1.1 1.6;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  animation: dashFlow 10s linear infinite;
}

.motion-path-b {
  stroke: rgba(214, 255, 63, 0.5);
}

.motion-node {
  fill: var(--cyan);
  filter: drop-shadow(0 0 4px rgba(127, 231, 218, 0.8));
  animation: nodePulse 2.6s ease-in-out infinite;
}

.item-orbit {
  fill: none;
  stroke: rgba(127, 231, 218, 0.34);
  stroke-width: 0.75;
  stroke-dasharray: 1.1 1.7;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  animation: dashFlow 13s linear infinite;
}

.item-orbit-b {
  stroke: rgba(214, 255, 63, 0.26);
  animation-direction: reverse;
  animation-duration: 17s;
}

.feed-tag {
  position: absolute;
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 10px;
  border: 1px solid rgba(238, 242, 228, 0.13);
  background: rgba(7, 10, 7, 0.55);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-family: var(--font-mono);
  font-size: 6px;
  line-height: 1.5;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition:
    opacity 0.4s var(--ease),
    visibility 0.4s var(--ease);
}

.feed-tag span {
  color: var(--muted-2);
}

.feed-tag b {
  color: var(--text-soft);
  font-size: 7px;
  font-weight: 400;
}

.feed-tag i {
  color: var(--acid);
  font-style: normal;
}

.feed-tag-scene {
  top: 13%;
  right: 3.5%;
}

.feed-tag-motion {
  right: 18%;
  bottom: 16%;
}

.feed-tag-motion b {
  color: var(--cyan);
}

.feed-scan {
  position: absolute;
  top: -10%;
  left: 0;
  z-index: 5;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(214, 255, 63, 0.7) 42%, rgba(214, 255, 63, 0.9) 50%, rgba(214, 255, 63, 0.7) 58%, transparent);
  box-shadow: 0 0 14px rgba(214, 255, 63, 0.28);
  opacity: 0.5;
  animation: feedScan 7s linear infinite;
  pointer-events: none;
}

.feed-pointer {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 8;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(214, 255, 63, 0.55);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(214, 255, 63, 0.18);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: opacity 0.25s var(--ease);
}

.feed-pointer::before,
.feed-pointer::after {
  content: "";
  position: absolute;
  background: rgba(214, 255, 63, 0.45);
}

.feed-pointer::before {
  top: 50%;
  right: -5px;
  left: -5px;
  height: 1px;
}

.feed-pointer::after {
  top: -5px;
  bottom: -5px;
  left: 50%;
  width: 1px;
}

.vision-feed:hover .feed-pointer {
  opacity: 1;
}

@media (hover: none) {
  .feed-pointer {
    display: none;
  }
}

.feed-vignette {
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 48%, transparent 35%, rgba(3, 5, 3, 0.32) 100%),
    linear-gradient(180deg, rgba(3, 5, 3, 0.2), transparent 20%, transparent 80%, rgba(3, 5, 3, 0.4));
}

.feed-hud {
  position: absolute;
  right: 14px;
  left: 14px;
  z-index: 7;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(238, 242, 228, 0.42);
  font-family: var(--font-mono);
  font-size: 6px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  pointer-events: none;
}

.feed-hud-top {
  top: 13px;
}

.feed-hud-bottom {
  bottom: 12px;
}

.feed-cam {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(238, 242, 228, 0.68);
}

.feed-cam .status-dot {
  width: 3px;
  height: 3px;
  box-shadow: none;
}

.feed-safe {
  position: absolute;
  inset: 11%;
  z-index: 6;
  border: 1px solid rgba(238, 242, 228, 0.055);
  pointer-events: none;
}

.feed-safe i {
  position: absolute;
  width: 10px;
  height: 10px;
  border: 0 solid rgba(238, 242, 228, 0.18);
}

.feed-safe i:nth-child(1) {
  top: -1px;
  left: -1px;
  border-top-width: 1px;
  border-left-width: 1px;
}

.feed-safe i:nth-child(2) {
  top: -1px;
  right: -1px;
  border-top-width: 1px;
  border-right-width: 1px;
}

.feed-safe i:nth-child(3) {
  bottom: -1px;
  left: -1px;
  border-bottom-width: 1px;
  border-left-width: 1px;
}

.feed-safe i:nth-child(4) {
  right: -1px;
  bottom: -1px;
  border-right-width: 1px;
  border-bottom-width: 1px;
}

/* hidden layers */

.vision-console.is-off-people .vision-feed .l-people {
  opacity: 0;
  visibility: hidden;
}

.vision-console.is-off-items .vision-feed .l-items {
  opacity: 0;
  visibility: hidden;
}

.vision-console.is-off-motion .vision-feed .l-motion {
  opacity: 0;
  visibility: hidden;
}

.vision-console.is-off-scene .vision-feed .l-scene {
  opacity: 0;
  visibility: hidden;
}

.vision-console.is-off-people .det-list li.l-people,
.vision-console.is-off-items .det-list li.l-items,
.vision-console.is-off-motion .det-list li.l-motion,
.vision-console.is-off-scene .det-list li.l-scene {
  opacity: 0.18;
  text-decoration: line-through;
}

/* ---------- Detection panel ---------- */

.detection-panel {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 17px 18px 15px;
  border-left: 1px solid var(--line);
  background: rgba(238, 242, 228, 0.012);
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.12em;
  color: var(--muted-2);
  text-transform: uppercase;
}

.panel-head strong {
  color: var(--acid);
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 400;
  line-height: 0.8;
  letter-spacing: -0.02em;
}

.det-list {
  display: flex;
  flex-direction: column;
}

.det-list li {
  display: grid;
  grid-template-columns: 5px minmax(0, 1fr) auto 22px;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(238, 242, 228, 0.055);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 7px;
  line-height: 1.4;
  letter-spacing: 0.02em;
  transition: opacity 0.35s var(--ease);
}

.det-mark {
  width: 5px;
  height: 5px;
  border-radius: 50%;
}

.det-mark.person,
.layer-dot.person {
  background: var(--acid);
}

.det-mark.item,
.layer-dot.item {
  background: var(--cyan);
}

.det-mark.motion,
.layer-dot.motion {
  background: #b9a9ff;
}

.det-mark.scene,
.layer-dot.scene {
  background: var(--orange);
}

.det-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.det-conf {
  color: var(--text-soft);
  font-variant-numeric: tabular-nums;
}

.det-id {
  color: var(--muted-2);
  font-size: 6px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.panel-map {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
}

.panel-map .mono {
  color: var(--muted-2);
  font-size: 5.5px;
}

.track-map {
  position: relative;
  height: 92px;
  margin-top: 7px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  background-color: rgba(238, 242, 228, 0.014);
  background-image:
    linear-gradient(rgba(238, 242, 228, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(238, 242, 228, 0.05) 1px, transparent 1px);
  background-size: 15px 15px;
}

.track-map::before,
.track-map::after {
  content: "";
  position: absolute;
  pointer-events: none;
  background: rgba(214, 255, 63, 0.09);
}

.track-map::before {
  top: 50%;
  right: 0;
  left: 0;
  height: 1px;
}

.track-map::after {
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
}

.track {
  position: absolute;
  z-index: 1;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  animation: trackDrift 8s ease-in-out infinite;
}

.track-a {
  top: 27%;
  left: 21%;
  background: var(--acid);
  box-shadow: 0 0 10px rgba(214, 255, 63, 0.9);
}

.track-b {
  top: 66%;
  left: 56%;
  background: var(--cyan);
  box-shadow: 0 0 10px rgba(127, 231, 218, 0.85);
  animation-delay: -2.6s;
}

.track-c {
  top: 38%;
  left: 79%;
  background: var(--orange);
  box-shadow: 0 0 10px rgba(255, 146, 86, 0.85);
  animation-delay: -5.2s;
}

.panel-metrics {
  margin-top: auto;
  padding-top: 14px;
}

.metric {
  margin-bottom: 12px;
}

.metric > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 6px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.metric b {
  color: var(--muted);
  font-weight: 400;
  font-variant-numeric: tabular-nums;
}

.metric > i {
  display: block;
  height: 2px;
  margin-top: 6px;
  overflow: hidden;
  background: rgba(238, 242, 228, 0.08);
}

.metric > i span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, rgba(214, 255, 63, 0.45), var(--acid));
}

.panel-kv {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  border-top: 1px solid var(--line-soft);
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 6px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.panel-kv b {
  color: var(--muted);
  font-weight: 400;
}

/* ---------- Console footer / layers ---------- */

.console-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 16px;
  border-top: 1px solid var(--line);
  background: rgba(238, 242, 228, 0.012);
}

.layer-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.layer-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.3;
  transition:
    color 0.3s var(--ease),
    border-color 0.3s var(--ease),
    background 0.3s var(--ease),
    opacity 0.3s var(--ease);
}

.layer-btn b {
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 7px;
  font-weight: 400;
}

.layer-btn.is-on {
  border-color: rgba(214, 255, 63, 0.25);
  background: rgba(214, 255, 63, 0.055);
  color: var(--text-soft);
}

.layer-btn.is-on b {
  color: var(--acid);
}

.layer-btn:not(.is-on) {
  opacity: 0.52;
}

.layer-btn:hover {
  opacity: 1;
  border-color: rgba(238, 242, 228, 0.3);
}

.layer-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
}

.console-note {
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 6px;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.vision-caption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 30px;
  margin-top: 18px;
}

.vision-caption p {
  color: var(--muted);
  font-size: 11px;
}

.vision-caption .mono {
  color: var(--muted-2);
  font-size: 6px;
  white-space: nowrap;
}

/* ---------- Workflows ---------- */

.workflow-shell {
  display: grid;
  grid-template-columns: 264px minmax(0, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.workflow-tabs {
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line);
}

.workflow-tab {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 13px;
  width: 100%;
  padding: 22px 20px;
  border-bottom: 1px solid var(--line-soft);
  text-align: left;
  transition:
    background 0.35s var(--ease),
    color 0.35s var(--ease);
}

.workflow-tab::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 2px;
  background: var(--acid);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}

.workflow-tab.is-active {
  background: linear-gradient(90deg, rgba(214, 255, 63, 0.075), transparent 82%);
}

.workflow-tab.is-active::before {
  opacity: 1;
}

.workflow-tab:hover {
  background-color: rgba(238, 242, 228, 0.02);
}

.tab-index {
  padding-top: 2px;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 8px;
  line-height: 1.4;
}

.workflow-tab.is-active .tab-index {
  color: var(--acid);
}

.tab-copy {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.tab-copy b {
  color: var(--muted);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  transition: color 0.35s var(--ease);
}

.workflow-tab.is-active .tab-copy b,
.workflow-tab:hover .tab-copy b {
  color: var(--text);
}

.tab-copy small {
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 6.5px;
  line-height: 1.4;
  letter-spacing: 0.1em;
}

.tab-arrow {
  margin-left: auto;
  padding-top: 1px;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 11px;
  opacity: 0;
  transform: translate(-4px, 4px);
  transition:
    opacity 0.35s var(--ease),
    transform 0.35s var(--ease);
}

.workflow-tab.is-active .tab-arrow {
  color: var(--acid);
  opacity: 1;
  transform: none;
}

.workflow-tab-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: auto;
  padding: 24px 20px;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 6.5px;
  line-height: 1.8;
  letter-spacing: 0.09em;
}

.workflow-tab-note .status-dot {
  width: 4px;
  height: 4px;
  margin-top: 4px;
  box-shadow: none;
}

.workflow-panels {
  min-width: 0;
}

.workflow-panel {
  --work-accent: var(--acid);
  padding: 32px 0 0 34px;
}

.workflow-panel[data-accent="cyan"] {
  --work-accent: var(--cyan);
}

.workflow-panel[data-accent="orange"] {
  --work-accent: var(--orange);
}

.workflow-panel[hidden] {
  display: none;
}

.workflow-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.64fr);
  gap: 42px;
  align-items: end;
  padding-bottom: 26px;
}

.workflow-kicker {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--work-accent);
  font-size: 7px;
}

.workflow-intro h3 {
  max-width: 620px;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.1vw, 3rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.workflow-intro p {
  max-width: 380px;
  padding-bottom: 3px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.9;
}

.workflow-bullets {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 24px;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.workflow-bullets li {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 13px 16px;
  border-left: 1px solid var(--line-soft);
}

.workflow-bullets li:first-child {
  padding-left: 0;
  border-left: 0;
}

.workflow-bullets b {
  color: var(--text-soft);
  font-size: 10px;
  font-weight: 400;
}

.workflow-bullets span {
  color: var(--muted-2);
  font-size: 9px;
  line-height: 1.7;
}

/* workflow console mock */

.work-console {
  border: 1px solid var(--line);
  background: #090b08;
}

.work-console-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 34px;
  padding: 7px 12px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 6px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.work-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--work-accent);
}

.work-live .status-dot {
  width: 3px;
  height: 3px;
  background: var(--work-accent);
  box-shadow: none;
}

.work-console-bar > span:last-child {
  margin-left: auto;
  font-variant-numeric: tabular-nums;
}

.work-console-main {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(190px, 0.88fr);
}

.work-preview {
  position: relative;
  padding: 12px;
  border-right: 1px solid var(--line-soft);
}

.work-feed {
  position: relative;
  aspect-ratio: 16 / 8.6;
  overflow: hidden;
  border: 1px solid rgba(238, 242, 228, 0.08);
  background:
    radial-gradient(ellipse at 50% 76%, color-mix(in srgb, var(--work-accent) 9%, transparent), transparent 52%),
    linear-gradient(180deg, #10150f, #070a07);
}

.work-grid {
  position: absolute;
  left: -30%;
  right: -30%;
  bottom: -45%;
  height: 115%;
  background-image:
    linear-gradient(color-mix(in srgb, var(--work-accent) 14%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--work-accent) 14%, transparent) 1px, transparent 1px);
  background-size: 32px 32px;
  transform: perspective(260px) rotateX(60deg);
  transform-origin: 50% 100%;
  opacity: 0.28;
  -webkit-mask-image: linear-gradient(to top, #000 20%, transparent 90%);
  mask-image: linear-gradient(to top, #000 20%, transparent 90%);
}

.work-person {
  position: absolute;
  z-index: 2;
  width: 11%;
  height: 55%;
  background: linear-gradient(90deg, #1c241d 0%, #9aa994 47%, #4b594d 65%, #121812 100%);
  clip-path: polygon(38% 0, 62% 0, 68% 12%, 64% 24%, 82% 32%, 78% 62%, 68% 58%, 72% 100%, 55% 100%, 50% 72%, 45% 100%, 28% 100%, 32% 58%, 22% 62%, 18% 32%, 36% 24%, 32% 12%);
  filter: drop-shadow(0 0 10px color-mix(in srgb, var(--work-accent) 15%, transparent));
}

.wp-a {
  left: 25%;
  bottom: 14%;
}

.wp-b {
  left: 56%;
  bottom: 17%;
  width: 9%;
  height: 46%;
  opacity: 0.72;
}

.wp-b.creator-b,
.wp-b.review-b {
  opacity: 0.6;
}

.work-prop {
  position: absolute;
  right: 19%;
  bottom: 16%;
  z-index: 2;
  width: 5%;
  aspect-ratio: 1;
  border: 1px solid color-mix(in srgb, var(--work-accent) 55%, transparent);
  background: color-mix(in srgb, var(--work-accent) 12%, transparent);
  transform: rotate(45deg);
}

.work-bbox {
  position: absolute;
  z-index: 3;
  border: 1px solid color-mix(in srgb, var(--work-accent) 55%, transparent);
  background: linear-gradient(180deg, color-mix(in srgb, var(--work-accent) 7%, transparent), transparent 60%);
}

.work-bbox i {
  position: absolute;
  top: -12px;
  left: -1px;
  padding: 2px 4px;
  background: var(--work-accent);
  color: #080a06;
  font-family: var(--font-mono);
  font-size: 4.5px;
  font-style: normal;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.wb-a {
  left: 21%;
  top: 20%;
  width: 20%;
  height: 63%;
}

.wb-b {
  left: 53%;
  top: 26%;
  width: 17%;
  height: 55%;
}

.creator-box {
  left: 76%;
  top: 59%;
  width: 13%;
  height: 25%;
  border-color: color-mix(in srgb, var(--cyan) 55%, transparent);
}

.creator-box i {
  background: var(--cyan);
  color: #06100e;
}

.review-box {
  left: 50%;
  top: 67%;
  width: 20%;
  height: 19%;
  border-color: color-mix(in srgb, var(--orange) 55%, transparent);
}

.review-box i {
  background: var(--orange);
}

.work-preview-tag {
  position: absolute;
  right: 17px;
  bottom: 17px;
  padding: 2px 5px;
  background: rgba(6, 8, 6, 0.72);
  color: rgba(238, 242, 228, 0.45);
  font-family: var(--font-mono);
  font-size: 4.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.work-events {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 12px 14px;
}

.work-events-title {
  display: block;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--muted-2);
  font-size: 5.5px;
}

.work-events ul {
  display: flex;
  flex-direction: column;
}

.work-events li {
  display: grid;
  grid-template-columns: 5px minmax(0, 1fr) auto;
  align-items: center;
  gap: 7px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(238, 242, 228, 0.05);
  font-family: var(--font-mono);
  font-size: 6px;
  line-height: 1.45;
  color: var(--muted);
}

.work-events li span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.work-events li b {
  color: var(--muted-2);
  font-size: 5.5px;
  font-weight: 400;
  font-variant-numeric: tabular-nums;
}

.event-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
}

.event-dot.person {
  background: var(--acid);
}

.event-dot.item {
  background: var(--cyan);
}

.event-dot.scene {
  background: var(--orange);
}

.work-timeline {
  padding: 10px 12px 11px;
  border-top: 1px solid var(--line-soft);
}

.timeline-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 5.5px;
  letter-spacing: 0.06em;
}

.timeline-head span:last-child {
  font-variant-numeric: tabular-nums;
}

.timeline-track {
  position: relative;
  height: 12px;
  margin-top: 8px;
  border-top: 1px solid rgba(238, 242, 228, 0.09);
  border-bottom: 1px solid rgba(238, 242, 228, 0.06);
  background-image: linear-gradient(90deg, rgba(238, 242, 228, 0.08) 1px, transparent 1px);
  background-size: 12.5% 100%;
}

.timeline-clip {
  position: absolute;
  top: 3px;
  height: 5px;
  border-radius: 1px;
  opacity: 0.9;
}

.clip-person {
  background: var(--acid);
}

.clip-item {
  background: var(--cyan);
}

.clip-scene {
  background: var(--orange);
}

.timeline-axis {
  display: flex;
  justify-content: space-between;
  margin-top: 5px;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 4.5px;
  font-variant-numeric: tabular-nums;
}

/* ---------- Integration ---------- */

.integration-grid {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.step-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.step-card {
  display: flex;
  flex-direction: column;
  gap: 34px;
  padding: 30px 30px 34px;
  border-right: 1px solid var(--line);
}

.step-card:first-child {
  padding-left: 0;
}

.step-card:last-of-type {
  border-right: 0;
}

.step-num {
  color: transparent;
  font-family: var(--font-display);
  font-size: 58px;
  font-weight: 400;
  line-height: 0.82;
  letter-spacing: -0.06em;
  -webkit-text-stroke: 1px rgba(214, 255, 63, 0.4);
}

.step-copy {
  padding-top: 0;
}

.step-copy .mono {
  display: block;
  margin-bottom: 8px;
  color: var(--muted-2);
  font-size: 7px;
}

.step-copy h3 {
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.step-copy p {
  max-width: 330px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.85;
}

.protocol-row {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
  border-top: 1px solid var(--line-soft);
}

.protocol-row > .mono {
  color: var(--muted-2);
  font-size: 7px;
}

.protocol-row > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.protocol-row > div span {
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.05em;
}

/* ---------- Specs ---------- */

.spec-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(0, 1.24fr);
  gap: 96px;
}

.spec-intro {
  position: sticky;
  top: 122px;
  align-self: start;
  padding-top: 2px;
}

.spec-intro .display {
  margin: 22px 0 24px;
}

.spec-table {
  border-top: 1px solid var(--line);
}

.spec-row {
  display: grid;
  grid-template-columns: minmax(110px, 0.7fr) minmax(0, 1.3fr);
  gap: 30px;
  align-items: baseline;
  padding: 15px 0;
  border-bottom: 1px solid var(--line-soft);
}

.spec-row > span {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

.spec-row > b {
  color: var(--text-soft);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.01em;
  text-align: right;
}

.spec-row.spec-head {
  padding: 12px 0;
  border-bottom-color: var(--line);
}

.spec-row.spec-head > span {
  color: var(--acid);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.12em;
}

.spec-row.spec-head > span:last-child {
  color: var(--muted-2);
  text-align: right;
}

.spec-note {
  max-width: 620px;
  padding-top: 15px;
  color: var(--muted-2);
  font-size: 9px;
  line-height: 1.8;
}

/* ---------- FAQ ---------- */

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: 96px;
}

.faq-intro {
  position: sticky;
  top: 122px;
  align-self: start;
}

.faq-intro .display {
  margin: 22px 0 24px;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-question {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
  color: var(--text-soft);
  text-align: left;
  transition: color 0.25s var(--ease);
}

.faq-question:hover,
.faq-item.is-open .faq-question {
  color: var(--text);
}

.faq-question > span:first-child {
  font-size: 14px;
  line-height: 1.6;
}

.faq-question i {
  margin-right: 15px;
  color: var(--acid);
  font-family: var(--font-mono);
  font-size: 7px;
  font-style: normal;
  letter-spacing: 0.05em;
}

.faq-icon {
  display: grid;
  width: 26px;
  height: 26px;
  flex: none;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  transition:
    color 0.3s var(--ease),
    border-color 0.3s var(--ease),
    transform 0.35s var(--ease);
}

.faq-icon .icon {
  width: 12px;
  height: 12px;
}

.faq-item.is-open .faq-icon {
  border-color: rgba(214, 255, 63, 0.35);
  color: var(--acid);
  transform: rotate(45deg);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s var(--ease);
}

.faq-answer > div {
  overflow: hidden;
}

.faq-answer p {
  max-width: 620px;
  padding: 0 44px 22px 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.9;
}

.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-answer-compliance p {
  margin-bottom: 22px;
  padding: 15px 18px;
  border-left: 2px solid var(--acid);
  background: rgba(214, 255, 63, 0.055);
  color: var(--text-soft);
  line-height: 1.85;
}

.faq-answer-compliance strong {
  color: var(--acid);
  font-weight: 500;
}

/* ---------- Principles ---------- */

.section-principles {
  padding-bottom: 120px;
}

.principles-head {
  display: grid;
  grid-template-columns: 172px minmax(0, 1fr);
  gap: 38px;
}

.principles-head > div:last-child {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.6fr);
  gap: 54px;
  align-items: end;
}

.outline-text {
  color: transparent;
  -webkit-text-stroke: 1px rgba(238, 242, 228, 0.45);
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 94px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.principle-card {
  display: flex;
  min-height: 228px;
  flex-direction: column;
  padding: 28px 30px;
  border-left: 1px solid var(--line);
}

.principle-card:first-child {
  padding-left: 0;
  border-left: 0;
}

.principle-index {
  color: var(--acid);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.principle-card h3 {
  margin-top: auto;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.principle-card p {
  max-width: 300px;
  margin-top: 11px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.principle-note {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 34px;
  padding-top: 22px;
}

.principle-note .mono {
  flex: none;
  color: var(--acid);
  font-size: 7px;
}

.principle-note p {
  max-width: 620px;
  color: var(--muted-2);
  font-size: 11px;
  line-height: 1.85;
  text-align: right;
}

/* ---------- CTA ---------- */

.cta {
  position: relative;
  overflow: hidden;
  padding-bottom: 30px;
  background: var(--acid);
  color: #080a06;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.065;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.6) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.6) 1px, transparent 1px);
  background-size: 74px 74px;
  -webkit-mask-image: radial-gradient(ellipse at 80% 50%, #000, transparent 72%);
  mask-image: radial-gradient(ellipse at 80% 50%, #000, transparent 72%);
}

.cta-marquee {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: 11px 0;
  border-bottom: 1px solid rgba(8, 10, 6, 0.22);
  white-space: nowrap;
}

.cta-marquee > div {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  min-width: max-content;
  animation: marquee 34s linear infinite;
}

.cta-marquee span {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
}

.cta-marquee i {
  display: inline-block;
  width: 4px;
  height: 4px;
  background: #080a06;
  transform: rotate(45deg);
}

.cta-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 60px;
  align-items: center;
  padding-top: 88px;
  padding-bottom: 72px;
}

.cta-eyebrow {
  color: rgba(8, 10, 6, 0.62);
}

.cta-eyebrow .status-dot {
  background: #080a06;
  box-shadow: 0 0 0 4px rgba(8, 10, 6, 0.08);
}

.cta-copy h2 {
  max-width: 800px;
  margin: 23px 0 26px;
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 6.1vw, 6.4rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.cta-copy > p {
  max-width: 540px;
  color: rgba(8, 10, 6, 0.68);
  font-size: 14px;
  line-height: 1.9;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  margin-top: 35px;
}

.cta-mail {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(8, 10, 6, 0.32);
  color: #080a06;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.02em;
  transition: border-color 0.3s var(--ease);
}

.cta-mail .icon {
  width: 13px;
  height: 13px;
}

.cta-mail:hover {
  border-color: #080a06;
}

.cta-copy .cta-note {
  max-width: 520px;
  margin-top: 30px;
  padding-top: 17px;
  border-top: 1px solid rgba(8, 10, 6, 0.18);
  color: rgba(8, 10, 6, 0.52);
  font-size: 10px;
  line-height: 1.8;
}

.cta-mark {
  position: relative;
  display: grid;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 1;
  justify-self: end;
  place-items: center;
  border: 1px solid rgba(8, 10, 6, 0.2);
  border-radius: 50%;
}

.cta-rings {
  position: absolute;
  inset: 0;
}

.cta-rings i {
  position: absolute;
  border: 1px solid rgba(8, 10, 6, 0.16);
  border-radius: 50%;
}

.cta-rings i:nth-child(1) {
  inset: 9%;
}

.cta-rings i:nth-child(2) {
  inset: 20%;
  border-style: dashed;
}

.cta-rings i:nth-child(3) {
  inset: 31%;
}

.cta-rings i:nth-child(4) {
  inset: 43%;
}

.cta-mark svg {
  position: relative;
  z-index: 1;
  width: 39%;
  height: 39%;
  fill: none;
  stroke: #080a06;
  stroke-width: 1.25;
  stroke-linecap: round;
}

.cta-mark svg circle {
  fill: #080a06;
  stroke: none;
}

.cta-mark > span {
  position: absolute;
  right: 11%;
  bottom: 12%;
  color: rgba(8, 10, 6, 0.2);
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5.7rem);
  font-weight: 600;
  line-height: 0.8;
  letter-spacing: -0.05em;
}

.cta-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 17px;
  border-top: 1px solid rgba(8, 10, 6, 0.2);
}

.cta-bottom .mono {
  color: rgba(8, 10, 6, 0.55);
  font-size: 7px;
}

/* ---------- Footer ---------- */

.site-footer {
  position: relative;
  overflow: hidden;
  padding-top: 70px;
  background: var(--bg-deep);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 80px;
  padding-bottom: 56px;
}

.footer-brand .brand {
  margin-bottom: 22px;
}

.footer-brand p {
  color: var(--muted);
  font-size: 12px;
}

.footer-mail {
  display: inline-block;
  margin-top: 18px;
  color: var(--text-soft);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.02em;
  border-bottom: 1px solid var(--line);
  padding-bottom: 4px;
  transition:
    color 0.3s var(--ease),
    border-color 0.3s var(--ease);
}

.footer-mail:hover {
  color: var(--acid);
  border-color: rgba(214, 255, 63, 0.4);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.footer-links > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}

.footer-links .mono {
  margin-bottom: 8px;
  color: var(--muted-2);
  font-size: 6.5px;
}

.footer-links a {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
  transition: color 0.25s var(--ease);
}

.footer-links a:hover {
  color: var(--acid);
}

.footer-legal {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  padding: 18px 0;
  border-top: 1px solid var(--line-soft);
}

.footer-legal p {
  max-width: 620px;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 1.8;
  letter-spacing: 0.02em;
}

.footer-legal p:last-child {
  max-width: 460px;
  text-align: right;
}

.footer-wordmark {
  overflow: hidden;
  padding: 0 18px;
  color: transparent;
  font-family: var(--font-display);
  font-size: clamp(5.2rem, 15vw, 14rem);
  font-weight: 600;
  line-height: 0.72;
  letter-spacing: -0.055em;
  text-align: center;
  white-space: nowrap;
  -webkit-text-stroke: 1px rgba(238, 242, 228, 0.08);
  margin-bottom: -0.08em;
  user-select: none;
}

/* ---------- Modal ---------- */

.demo-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  padding: 22px;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.35s var(--ease),
    visibility 0.35s var(--ease);
}

.demo-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 4, 2, 0.78);
  -webkit-backdrop-filter: blur(9px);
  backdrop-filter: blur(9px);
}

.modal-dialog {
  position: relative;
  z-index: 1;
  width: min(680px, 100%);
  max-height: calc(100svh - 44px);
  overflow-y: auto;
  padding: 38px;
  border: 1px solid var(--line);
  background: #0b0e0a;
  box-shadow: 0 44px 120px rgba(0, 0, 0, 0.66);
  opacity: 0;
  transform: translateY(18px) scale(0.985);
  transition:
    opacity 0.35s var(--ease),
    transform 0.45s var(--ease-out);
}

.demo-modal.is-open .modal-dialog {
  opacity: 1;
  transform: none;
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  transition:
    color 0.25s var(--ease),
    border-color 0.25s var(--ease),
    transform 0.25s var(--ease);
}

.modal-close .icon {
  width: 13px;
  height: 13px;
}

.modal-close:hover {
  border-color: rgba(214, 255, 63, 0.45);
  color: var(--acid);
  transform: rotate(90deg);
}

.modal-head {
  padding-right: 30px;
}

.modal-head .eyebrow {
  font-size: 7px;
}

.modal-head h2 {
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.045em;
}

.modal-head p {
  max-width: 460px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

/* ---------- Official group modal ---------- */

.group-dialog {
  width: min(540px, 100%);
  padding: 0;
  overflow: hidden;
}

.group-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 34px 32px 24px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 30%, rgba(232, 255, 74, 0.075), transparent 68%),
    #0b0e0a;
}

.group-brand img {
  display: block;
  width: min(310px, 80%);
  height: auto;
}

.group-body {
  padding: 27px 32px 32px;
}

.group-body .eyebrow {
  font-size: 7px;
}

.group-body h2 {
  margin-top: 15px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.7rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.group-body > p {
  max-width: 430px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.group-number-card {
  margin-top: 22px;
  padding: 18px;
  border: 1px solid var(--line);
  background: rgba(232, 255, 74, 0.035);
}

.group-number-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 0.16em;
}

.group-number-meta .mono {
  color: var(--acid);
}

.group-number-value {
  display: block;
  margin-top: 12px;
  color: var(--acid);
  font-family: var(--font-mono);
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 0.08em;
  word-break: break-all;
}

.group-number-value.is-empty {
  color: var(--muted-2);
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.group-copy {
  width: 100%;
  justify-content: center;
  margin-top: 16px;
}

.group-copy[disabled] {
  border-color: var(--line);
  background: transparent;
  color: var(--muted-2);
  opacity: 1;
  cursor: not-allowed;
}

.group-hint {
  margin-top: 14px;
  color: var(--muted-2);
  font-size: 10px;
  line-height: 1.7;
}

.group-dialog .modal-close {
  z-index: 2;
}

.demo-form {
  margin-top: 28px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 15px;
}

.field {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 7px;
}

.field > span {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.4;
}

.field > span i {
  color: var(--acid);
  font-style: normal;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-width: 0;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 0;
  outline: none;
  background: rgba(238, 242, 228, 0.028);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 1.5;
  transition:
    border-color 0.25s var(--ease),
    background 0.25s var(--ease);
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--muted-2);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(214, 255, 63, 0.55);
  background: rgba(214, 255, 63, 0.025);
}

.field select {
  -webkit-appearance: none;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position:
    calc(100% - 17px) 50%,
    calc(100% - 12px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.field select option {
  background: #0b0e0a;
  color: var(--text);
}

.field textarea {
  min-height: 82px;
  resize: vertical;
}

.field-full {
  margin-bottom: 15px;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--muted-2);
  font-size: 10px;
  line-height: 1.6;
  cursor: pointer;
}

.consent input {
  width: 13px;
  height: 13px;
  margin: 2px 0 0;
  flex: none;
  accent-color: var(--acid);
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 24px;
}

.form-actions .btn {
  min-height: 46px;
  padding: 0 20px;
  font-size: 12px;
  flex: none;
}

.form-hint {
  color: var(--muted-2);
  font-size: 9px;
  line-height: 1.7;
}

.form-hint a {
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}

.form-hint a:hover {
  color: var(--acid);
}

.form-status {
  min-height: 17px;
  margin-top: 12px;
  color: var(--acid);
  font-family: var(--font-mono);
  font-size: 8px;
  line-height: 1.6;
  letter-spacing: 0.04em;
}

.form-status.is-error {
  color: var(--danger);
}

/* ---------- Toast ---------- */

.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  z-index: 300;
  padding: 11px 17px;
  background: var(--acid);
  color: #080a06;
  font-size: 11px;
  line-height: 1;
  border-radius: 999px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.36);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition:
    opacity 0.3s var(--ease),
    transform 0.35s var(--ease);
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ---------- Motion ---------- */

@keyframes headIdle {
  0%,
  100% {
    transform: translate(-50%, 0);
  }
  50% {
    transform: translate(-50%, -2px);
  }
}

@keyframes torsoBreathe {
  0%,
  100% {
    transform: scaleY(1);
  }
  50% {
    transform: scaleY(1.025);
  }
}

@keyframes armIdleL {
  0%,
  100% {
    transform: rotate(7deg);
  }
  50% {
    transform: rotate(10deg);
  }
}

@keyframes armIdleR {
  0%,
  100% {
    transform: rotate(-7deg);
  }
  50% {
    transform: rotate(-10deg);
  }
}

@keyframes legIdleL {
  0%,
  100% {
    transform: rotate(2.5deg);
  }
  50% {
    transform: rotate(0.8deg);
  }
}

@keyframes legIdleR {
  0%,
  100% {
    transform: rotate(-2.5deg);
  }
  50% {
    transform: rotate(-0.8deg);
  }
}

@keyframes itemSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes propGlow {
  0%,
  100% {
    box-shadow:
      0 0 24px rgba(127, 231, 218, 0.08),
      inset 0 0 12px rgba(127, 231, 218, 0.08);
  }
  50% {
    box-shadow:
      0 0 34px rgba(127, 231, 218, 0.2),
      inset 0 0 16px rgba(127, 231, 218, 0.12);
  }
}

@keyframes targetLock {
  0% {
    box-shadow:
      0 0 0 0 rgba(214, 255, 63, 0.7),
      inset 0 0 32px rgba(214, 255, 63, 0.2);
  }
  100% {
    box-shadow:
      0 0 0 18px rgba(214, 255, 63, 0),
      inset 0 0 32px rgba(214, 255, 63, 0.02);
  }
}

@keyframes nodePulse {
  0%,
  100% {
    opacity: 0.65;
  }
  50% {
    opacity: 1;
  }
}

@keyframes dotPulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(214, 255, 63, 0.22);
  }
  50% {
    box-shadow: 0 0 0 4px rgba(214, 255, 63, 0);
  }
}

@keyframes heroIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes heroVisualIn {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes deviceFloat {
  0%,
  100% {
    transform: translateY(4px);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes hudFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

@keyframes signalBars {
  0%,
  100% {
    height: 20%;
    opacity: 0.45;
  }
  50% {
    height: 92%;
    opacity: 0.9;
  }
}

@keyframes scrollLine {
  0% {
    transform: translateX(-110%);
  }
  60%,
  100% {
    transform: translateX(360%);
  }
}

@keyframes pipeTravel {
  0% {
    left: 0;
    opacity: 0;
  }
  12% {
    opacity: 1;
  }
  82% {
    opacity: 1;
  }
  100% {
    left: calc(100% - 5px);
    opacity: 0;
  }
}

@keyframes stageBreathe {
  0%,
  100% {
    opacity: 0.7;
  }
  50% {
    opacity: 1;
  }
}

@keyframes feedScan {
  0% {
    top: -8%;
    opacity: 0;
  }
  10% {
    opacity: 0.5;
  }
  88% {
    opacity: 0.5;
  }
  100% {
    top: 108%;
    opacity: 0;
  }
}

@keyframes dashFlow {
  to {
    stroke-dashoffset: -40;
  }
}

@keyframes trackDrift {
  0%,
  100% {
    transform: translate(0, 0);
  }
  33% {
    transform: translate(17px, -9px);
  }
  66% {
    transform: translate(-9px, 11px);
  }
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 1260px) {
  :root {
    --gutter: 36px;
  }

  .nav-links {
    gap: 24px;
  }

  .hero h1 {
    font-size: clamp(3.8rem, 6.8vw, 6.3rem);
  }

  .section-head,
  .principles-head {
    grid-template-columns: 142px minmax(0, 1fr);
    gap: 30px;
  }

  .section-heading {
    gap: 38px;
  }

  .workflow-shell {
    grid-template-columns: 232px minmax(0, 1fr);
  }

  .workflow-panel {
    padding-left: 28px;
  }

  .spec-layout,
  .faq-layout {
    gap: 66px;
  }
}

@media (max-width: 1080px) {
  .hero {
    min-height: auto;
    padding-top: 132px;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-bottom: 32px;
  }

  .hero-copy {
    max-width: 800px;
    padding-top: 0;
  }

  .hero h1 {
    max-width: 860px;
    font-size: clamp(3.8rem, 8.4vw, 7rem);
  }

  .hero-lede {
    max-width: 640px;
  }

  .hero-visual {
    width: 100%;
    max-width: 840px;
    min-height: 570px;
    margin: 0 auto;
  }

  .device-wrap {
    width: 100%;
    max-width: 760px;
    margin: 0;
  }

  .hud-feed {
    left: 0;
  }

  .hud-signal {
    right: 0;
  }

  .hero-vertical {
    right: 0;
  }

  .section-head,
  .principles-head {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .section-heading,
  .principles-head > div:last-child {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .section-index {
    padding-top: 0;
  }

  .section-lead {
    max-width: 620px;
  }

  .section-head {
    margin-bottom: 56px;
  }

  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .stat-cell {
    padding: 24px 22px;
    border-top: 1px solid var(--line-soft);
  }

  .stat-cell:nth-child(-n + 3) {
    border-top: 0;
  }

  .stat-cell:nth-child(3n + 1) {
    padding-left: 0;
    border-left: 0;
  }

  .stat-cell:first-child {
    padding-left: 0;
  }

  .vision-body {
    grid-template-columns: 1fr;
  }

  .detection-panel {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .panel-metrics {
    margin-top: 0;
    padding-top: 14px;
  }

  .spec-layout,
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .spec-intro,
  .faq-intro {
    position: static;
    max-width: 680px;
  }

  .spec-intro .display,
  .faq-intro .display {
    margin: 18px 0 20px;
  }

  .workflow-shell {
    grid-template-columns: 1fr;
  }

  .workflow-tabs {
    flex-direction: row;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    scrollbar-width: none;
  }

  .workflow-tabs::-webkit-scrollbar {
    display: none;
  }

  .workflow-tab {
    min-width: 208px;
    width: auto;
    padding: 17px 19px;
    border-right: 1px solid var(--line-soft);
    border-bottom: 0;
    flex: 1;
  }

  .workflow-tab::before {
    top: auto;
    right: 0;
    bottom: 0;
    width: auto;
    height: 2px;
  }

  .workflow-tab-note {
    display: none;
  }

  .workflow-panel {
    padding: 28px 0 0;
  }

  .workflow-intro {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .workflow-intro p {
    max-width: 620px;
  }

  .principle-grid {
    grid-template-columns: 1fr;
    margin-top: 64px;
  }

  .principle-card {
    min-height: 0;
    padding: 24px 0;
    border-top: 1px solid var(--line-soft);
    border-left: 0;
  }

  .principle-card:first-child {
    border-top: 0;
  }

  .principle-card h3 {
    margin-top: 24px;
  }

  .principle-card p {
    max-width: 540px;
  }

  .cta-layout {
    grid-template-columns: 1fr;
    gap: 42px;
    padding-top: 70px;
    padding-bottom: 54px;
  }

  .cta-mark {
    max-width: 320px;
    justify-self: start;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .footer-links {
    max-width: 680px;
  }
}

@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 104px var(--gutter) 30px;
    overflow-y: auto;
    background: var(--bg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition:
      opacity 0.35s var(--ease),
      visibility 0.35s var(--ease),
      transform 0.35s var(--ease);
  }

  .nav-links::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 38%;
    pointer-events: none;
    background: radial-gradient(ellipse at 80% 0%, rgba(214, 255, 63, 0.1), transparent 66%);
  }

  .nav-links.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-links > a:not(.nav-cta) {
    width: 100%;
    padding: 17px 0;
    border-bottom: 1px solid var(--line);
    color: var(--text);
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 6vw, 2.3rem);
    font-weight: 400;
    letter-spacing: -0.035em;
  }

  .nav-links > a:not(.nav-cta)::after {
    display: none;
  }

  .nav-cta {
    width: 100%;
    margin-top: 26px;
    justify-content: center;
    padding: 16px;
    border-color: var(--acid);
    background: var(--acid);
    color: #080a06;
    font-size: 13px;
  }

  .nav-mobile-foot {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-top: auto;
    padding-top: 34px;
    color: var(--muted-2);
    font-family: var(--font-mono);
    font-size: 7px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  .nav-mobile-foot a {
    color: var(--muted);
    font-size: 9px;
    text-transform: none;
    letter-spacing: 0.02em;
  }

  .brand,
  .menu-toggle {
    position: relative;
    z-index: 2;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .menu-toggle[aria-expanded="true"] .menu-icon {
    display: none;
  }

  .menu-toggle[aria-expanded="true"] .close-icon {
    display: block;
  }

  .hero h1 {
    font-size: clamp(3.4rem, 8.7vw, 5.8rem);
  }

  .hero-visual {
    min-height: 510px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 0;
    padding: 26px 0;
    border-top: 1px solid var(--line-soft);
    border-left: 0;
  }

  .feature-card:first-child {
    border-top: 0;
    padding-top: 30px;
  }

  .feature-top {
    margin-bottom: 30px;
  }

  .feature-card p {
    max-width: 620px;
  }

  .feature-specs {
    padding-top: 22px;
  }

  .pipeline-track {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 24px;
    padding: 32px 24px;
  }

  .pipe-connector {
    display: none;
  }

  .work-console-main {
    grid-template-columns: 1fr;
  }

  .work-preview {
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
  }

  .work-feed {
    aspect-ratio: 16 / 8;
  }

  .work-events {
    padding: 12px 16px;
  }

  .work-events ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 20px;
  }

  .principle-note {
    flex-direction: column;
    gap: 10px;
  }

  .principle-note p {
    text-align: left;
  }

  .footer-links {
    grid-template-columns: repeat(3, 1fr);
  }

  .section {
    padding: 110px 0;
  }

  .section-product {
    padding-top: 110px;
  }

  .step-list {
    grid-template-columns: 1fr;
  }

  .step-card {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 20px;
    padding: 25px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
  }

  .step-card:last-of-type {
    border-bottom: 0;
  }

  .step-num {
    font-size: 50px;
  }

  .protocol-row {
    padding: 17px 0;
  }
}

@media (max-width: 700px) {
  .hero h1 {
    font-size: clamp(3.15rem, 10.1vw, 4.8rem);
    letter-spacing: -0.065em;
  }

  .hero-lede {
    margin-top: 25px;
    font-size: 14px;
    line-height: 1.85;
  }

  .hero-meta {
    gap: 14px;
    margin-top: 29px;
    font-size: 7px;
  }

  .hero-visual {
    min-height: 430px;
  }

  .hud-feed {
    top: 1%;
    width: 174px;
    animation: none;
  }

  .hud-view {
    height: 102px;
  }

  .hud-signal {
    right: 0;
    bottom: 3%;
    width: 174px;
    animation: none;
  }

  .float-chip-a {
    top: 0;
    right: 2%;
  }

  .float-chip-b {
    display: none;
  }

  .hero-vertical {
    display: none;
  }

  .hero-scroll {
    padding-bottom: 18px;
  }

  .scroll-cue {
    font-size: 6px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-cell {
    padding: 19px 16px;
    border-top: 1px solid var(--line-soft);
  }

  .stat-cell:nth-child(-n + 3) {
    border-top: 1px solid var(--line-soft);
  }

  .stat-cell:nth-child(-n + 2) {
    border-top: 0;
  }

  .stat-cell:nth-child(3n + 1) {
    padding-left: 16px;
    border-left: 1px solid var(--line-soft);
  }

  .stat-cell:nth-child(2n + 1) {
    padding-left: 0;
    border-left: 0;
  }

  .stat-cell:first-child {
    padding-left: 0;
  }

  .stat-cell strong {
    font-size: clamp(1.9rem, 7vw, 2.7rem);
  }

  .section {
    padding: 84px 0;
  }

  .section-product {
    padding-top: 84px;
  }

  .section-head {
    margin-bottom: 42px;
  }

  .display {
    font-size: clamp(2.35rem, 8.3vw, 3.5rem);
  }

  .section-lead {
    font-size: 13px;
    line-height: 1.85;
  }

  .vision-body {
    display: flex;
    flex-direction: column;
  }

  .vision-feed {
    aspect-ratio: 16 / 10;
  }

  .detection-panel {
    display: flex;
    gap: 0;
  }

  .panel-metrics {
    margin-top: 0;
  }

  .console-bar {
    grid-template-columns: 1fr auto;
    gap: 10px;
    padding: 9px 12px;
  }

  .console-title {
    display: none;
  }

  .console-clock {
    gap: 9px;
  }

  .console-foot {
    flex-wrap: wrap;
    gap: 12px;
  }

  .console-note {
    width: 100%;
  }

  .vision-caption {
    flex-direction: column;
    gap: 7px;
  }

  .vision-caption .mono {
    white-space: normal;
  }

  .feed-tag {
    display: none;
  }

  .principle-grid {
    margin-top: 44px;
  }

  .workflow-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-right: calc(var(--gutter) * -1);
    margin-left: calc(var(--gutter) * -1);
    padding-left: 0;
    overflow: visible;
  }

  .workflow-tab {
    min-width: 0;
    padding: 14px 10px;
    gap: 7px;
    border-right: 1px solid var(--line-soft);
  }

  .workflow-tab:last-of-type {
    border-right: 0;
  }

  .tab-copy small,
  .tab-arrow {
    display: none;
  }

  .tab-copy b {
    font-size: 12px;
  }

  .tab-index {
    font-size: 6px;
  }

  .workflow-panel {
    padding-top: 24px;
  }

  .workflow-intro h3 {
    font-size: clamp(1.7rem, 7.2vw, 2.4rem);
  }

  .workflow-bullets {
    grid-template-columns: 1fr;
  }

  .workflow-bullets li {
    padding: 11px 0;
    border-top: 1px solid var(--line-soft);
    border-left: 0;
  }

  .workflow-bullets li:first-child {
    border-top: 0;
  }

  .work-events ul {
    grid-template-columns: 1fr;
  }

  .integration-grid {
    border-bottom: 0;
  }

  .step-card {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 14px;
    padding: 23px 0;
  }

  .step-num {
    font-size: 39px;
  }

  .protocol-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 11px;
    padding: 17px 0;
  }

  .protocol-row > div {
    justify-content: flex-start;
  }

  .spec-row {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 12px 0;
  }

  .spec-row > b {
    text-align: left;
  }

  .spec-row.spec-head {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .spec-row.spec-head > span:last-child {
    text-align: right;
  }

  .faq-question {
    gap: 14px;
    padding: 17px 0;
  }

  .faq-question > span:first-child {
    font-size: 13px;
  }

  .faq-answer p {
    padding-right: 0;
  }

  .faq-answer-compliance p {
    padding: 13px 14px;
  }

  .cta-copy h2 {
    font-size: clamp(2.8rem, 11.4vw, 4.4rem);
  }

  .cta-copy > p {
    font-size: 13px;
  }

  .cta-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 17px;
  }

  .cta-mark {
    max-width: 260px;
  }

  .cta-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .footer-links {
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
  }

  .footer-legal {
    flex-direction: column;
    gap: 8px;
  }

  .footer-legal p:last-child {
    text-align: left;
  }

  .footer-wordmark {
    font-size: 22vw;
    margin-bottom: -0.06em;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .modal-dialog {
    padding: 30px 22px 26px;
  }

  .form-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .form-actions .btn {
    width: 100%;
  }
}

@media (max-width: 520px) {
  :root {
    --gutter: 20px;
  }

  .site-header {
    padding: 14px 0;
  }

  .brand-type strong {
    font-size: 12px;
  }

  .brand-type small {
    font-size: 7px;
  }

  .brand-mark {
    width: 28px;
    height: 28px;
  }

  .hero {
    padding-top: 116px;
  }

  .hero h1 {
    margin-top: 24px;
    font-size: clamp(2.8rem, 12.5vw, 4rem);
  }

  .hero-lede {
    font-size: 13px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 9px;
    margin-top: 29px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-visual {
    min-height: 330px;
    margin-top: 4px;
  }

  .device-wrap {
    width: 122%;
    margin-left: -11%;
  }

  .hud-feed {
    top: 0;
    left: 0;
    width: 158px;
    transform: scale(0.86);
    transform-origin: top left;
  }

  .hud-signal,
  .float-chip {
    display: none;
  }

  .hero-scroll {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .hero-index {
    order: -1;
  }

  .stats-band {
    margin-top: 6px;
  }

  .stat-cell {
    padding: 16px 12px;
  }

  .stat-kicker {
    font-size: 6px;
  }

  .stat-cell strong {
    margin-top: 8px;
    font-size: 2.05rem;
  }

  .stat-label {
    font-size: 9px;
  }

  .display {
    font-size: clamp(2.15rem, 9.2vw, 2.9rem);
  }

  .feature-card {
    padding: 24px 0;
  }

  .pipeline-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
    padding: 12px 16px;
  }

  .pipeline-track {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 10px 18px;
  }

  .pipe-node {
    padding: 18px 0;
    border-bottom: 1px solid var(--line-soft);
  }

  .pipe-node:last-child {
    border-bottom: 0;
  }

  .pipe-icon {
    width: 42px;
    height: 42px;
  }

  .pipe-node h4 {
    margin-top: 12px;
  }

  .pipeline-foot {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding: 14px 17px;
  }

  .console-clock span:last-child {
    display: none;
  }

  .layer-btn {
    padding: 6px 8px;
    font-size: 8px;
  }

  .layer-btn b {
    display: none;
  }

  .det-list li {
    padding: 7px 0;
  }

  .work-console-bar {
    gap: 10px;
  }

  .work-console-bar > span:nth-child(2) {
    display: none;
  }

  .work-console-bar > span:last-child {
    margin-left: auto;
  }

  .work-preview {
    padding: 8px;
  }

  .work-events {
    padding: 10px 12px;
  }

  .work-timeline {
    padding: 9px 10px;
  }

  .principle-card {
    padding: 21px 0;
  }

  .principle-card h3 {
    margin-top: 18px;
    font-size: 19px;
  }

  .cta-marquee span {
    font-size: 8px;
  }

  .cta-layout {
    gap: 32px;
    padding-top: 58px;
    padding-bottom: 44px;
  }

  .cta-mark {
    max-width: 220px;
  }

  .cta-copy .cta-note {
    margin-top: 24px;
  }

  .modal-dialog {
    padding: 27px 17px 22px;
  }

  .modal-head {
    padding-right: 24px;
  }

  .modal-close {
    top: 11px;
    right: 11px;
  }

  .cta-bottom .mono {
    font-size: 6px;
  }
}

@media (max-width: 380px) {
  .hero h1 {
    font-size: 2.62rem;
  }

  .stat-cell strong {
    font-size: 1.8rem;
  }

  .workflow-tab {
    min-width: 0;
  }

  .footer-wordmark {
    font-size: 21vw;
  }
}

/* =========================================================
   Reduced motion
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }

  .device-wrap,
  .hud-feed,
  .hud-signal,
  .scroll-line i,
  .signal-wave span,
  .feed-scan,
  .cta-marquee > div {
    animation: none !important;
  }
}


@media (max-width: 520px) {
  .group-brand {
    padding: 26px 22px 18px;
  }

  .group-brand img {
    width: 86%;
  }

  .group-body {
    padding: 22px;
  }

  .group-number-card {
    padding: 15px;
  }

  .group-number-value {
    font-size: 2rem;
  }
}

/* =========================================================
   Large desktop displays — keep 1K layout as baseline,
   scale the whole UI for 2K / 4K without changing mobile.
   ========================================================= */

@media (min-width: 2000px) {
  :root { --ui-scale: 1.08; }
  body { zoom: var(--ui-scale); }
  .hero { min-height: calc(100svh / var(--ui-scale)); }
  .modal-dialog { max-height: calc(100svh / var(--ui-scale) - 44px); }
}

@media (min-width: 2200px) {
  :root { --ui-scale: 1.15; }
}

@media (min-width: 2400px) {
  :root { --ui-scale: 1.22; }
}

@media (min-width: 2560px) {
  :root { --ui-scale: 1.33; }
}

@media (min-width: 2880px) {
  :root { --ui-scale: 1.45; }
}

@media (min-width: 3200px) {
  :root { --ui-scale: 1.6; }
}

@media (min-width: 3440px) {
  :root { --ui-scale: 1.72; }
}

@media (min-width: 3600px) {
  :root { --ui-scale: 1.85; }
}

@media (min-width: 3840px) {
  :root { --ui-scale: 2; }
}
