/* =========================================================
   煜献科技 YUXIAN TECHNOLOGY
   Design system / 2026
   ========================================================= */

:root {
  --ink: #090b08;
  --ink-2: #0e120c;
  --ink-3: #151a12;
  --ink-4: #1d2419;
  --paper: #eff1e7;
  --paper-2: #e4e8dc;
  --paper-3: #d8ddd1;
  --acid: #d7ff4f;
  --acid-2: #bde535;
  --acid-ink: #617516;
  --acid-soft: rgba(215, 255, 79, 0.12);
  --muted: #687062;
  --muted-light: #9ba594;
  --line: rgba(9, 11, 8, 0.16);
  --line-strong: rgba(9, 11, 8, 0.32);
  --line-dark: rgba(239, 241, 231, 0.14);
  --line-dark-strong: rgba(239, 241, 231, 0.3);
  --sans: "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", "Courier New", monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --header-h: 78px;
  --gutter: clamp(20px, 3.3vw, 56px);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.nav-open,
body.dialog-open {
  overflow: hidden;
}

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

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

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

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

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

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

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

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

section[id] {
  scroll-margin-top: calc(var(--header-h) + 20px);
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 12px 18px;
  background: var(--acid);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  transform: translateY(-160%);
  transition: transform 0.25s var(--ease);
}

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

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

.section {
  position: relative;
  padding: clamp(88px, 10vw, 148px) 0;
  background: var(--paper);
  color: var(--ink);
}

.section--dark {
  background: var(--ink);
  color: var(--paper);
}

.section--paper-2 {
  background: var(--paper-2);
}

.section--acid {
  background: var(--acid);
  color: var(--ink);
}

.section--acid .eyebrow {
  color: rgba(9, 11, 8, 0.6);
}

.section--acid .eyebrow__index {
  color: var(--acid-ink);
}

.section--acid .contact-block__body p {
  color: rgba(9, 11, 8, 0.68);
}

.section--acid .contact-line span {
  color: rgba(9, 11, 8, 0.55);
}

.section--acid .contact-line a {
  color: var(--ink);
}

.section--acid .contact-line a:hover {
  color: var(--acid-ink);
}

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

.mono {
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

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

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

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  flex: 0 0 auto;
  background: currentColor;
}

.eyebrow__index {
  color: var(--ink);
}

.section--dark .eyebrow {
  color: var(--muted-light);
}

.section--dark .eyebrow__index {
  color: var(--acid);
}

.status-dot {
  position: relative;
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 0 4px rgba(215, 255, 79, 0.1);
}

.status-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border: 1px solid var(--acid);
  border-radius: 50%;
  animation: pulse 2.8s var(--ease-io) infinite;
}

@keyframes pulse {
  0% { transform: scale(0.6); opacity: 0.8; }
  70%, 100% { transform: scale(1.7); opacity: 0; }
}

/* ---------- Typography ---------- */

.display {
  font-size: clamp(3rem, 7.1vw, 7.6rem);
  line-height: 0.94;
  letter-spacing: -0.055em;
  font-weight: 600;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.46fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: end;
  margin-bottom: clamp(48px, 6vw, 80px);
}

.section-head__title h2 {
  margin-top: 22px;
  font-size: clamp(2.6rem, 4.45vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  font-weight: 600;
}

.section-head__lead {
  max-width: 460px;
  justify-self: end;
  padding-bottom: 8px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}

.section--dark .section-head__lead {
  color: var(--muted-light);
}

.section-head__lead strong {
  color: var(--ink);
  font-weight: 500;
}

.section--dark .section-head__lead strong {
  color: var(--paper);
}

/* ---------- Buttons & links ---------- */

.btn {
  --btn-bg: var(--acid);
  --btn-fg: var(--ink);
  --btn-border: var(--acid);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 52px;
  padding: 0 18px 0 22px;
  border: 1px solid var(--btn-border);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
  overflow: hidden;
  transition: color 0.35s var(--ease), background 0.35s var(--ease), border-color 0.35s var(--ease);
}

.btn > span {
  position: relative;
  z-index: 1;
  white-space: nowrap;
}

.btn__icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  border-left: 1px solid currentColor;
  transition: transform 0.4s var(--ease);
}

.btn__icon svg {
  width: 13px;
  height: 13px;
}

.btn:hover .btn__icon {
  transform: translate(2px, -2px);
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--paper);
  --btn-border: var(--line-dark-strong);
}

.btn--ghost:hover {
  --btn-bg: var(--paper);
  --btn-fg: var(--ink);
  --btn-border: var(--paper);
}

.btn--ink {
  --btn-bg: var(--ink);
  --btn-fg: var(--paper);
  --btn-border: var(--ink);
}

.btn--ink:hover {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
}

.btn--sm {
  min-height: 42px;
  padding-left: 16px;
  gap: 18px;
  font-size: 9px;
}

.btn--sm .btn__icon {
  width: 21px;
  height: 21px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 5px;
  border-bottom: 1px solid currentColor;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: gap 0.3s var(--ease), color 0.3s var(--ease);
}

.link-arrow svg {
  width: 12px;
  height: 12px;
  transition: transform 0.3s var(--ease);
}

.link-arrow:hover {
  gap: 15px;
  color: var(--acid-ink);
}

.section--dark .link-arrow:hover {
  color: var(--acid);
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(9, 11, 8, 0.82);
  border-bottom: 1px solid transparent;
  color: var(--paper);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(9, 11, 8, 0.96);
  border-bottom-color: var(--line-dark);
}

.header__inner {
  width: min(1600px, calc(100% - (var(--gutter) * 2)));
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 32px;
}

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

.brand__mark {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
}

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand__zh {
  font-size: 16px;
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.brand__en {
  font-family: var(--mono);
  font-size: 7px;
  line-height: 1;
  letter-spacing: 0.19em;
  color: var(--muted-light);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.2vw, 38px);
  margin-left: auto;
}

.nav__link {
  position: relative;
  display: inline-flex;
  align-items: flex-start;
  gap: 5px;
  padding: 8px 0;
  font-size: 13px;
  line-height: 1;
  letter-spacing: 0.04em;
  color: rgba(239, 241, 231, 0.7);
  transition: color 0.25s var(--ease);
}

.nav__link sup {
  margin-top: -2px;
  font-family: var(--mono);
  font-size: 7px;
  color: var(--muted-light);
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--acid);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.nav__link:hover,
.nav__link[aria-current="page"] {
  color: var(--paper);
}

.nav__link:hover::after,
.nav__link[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav__link[aria-current="page"] sup {
  color: var(--acid);
}

.header__cta {
  margin-left: 8px;
  min-height: 46px;
  padding-left: 20px;
  font-size: 12px;
  gap: 22px;
}

.header__cta .btn__icon {
  width: 24px;
  height: 24px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  margin-left: auto;
  border: 1px solid var(--line-dark-strong);
  color: var(--paper);
  place-items: center;
}

.menu-toggle__lines {
  position: relative;
  width: 17px;
  height: 9px;
}

.menu-toggle__lines::before,
.menu-toggle__lines::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}

.menu-toggle__lines::before { top: 0; }
.menu-toggle__lines::after { top: 8px; }

.nav-open .menu-toggle__lines::before {
  top: 4px;
  transform: rotate(45deg);
}

.nav-open .menu-toggle__lines::after {
  top: 4px;
  transform: rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  padding: calc(var(--header-h) + 40px) var(--gutter) 32px;
  background: var(--ink);
  color: var(--paper);
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s;
}

.mobile-menu__inner {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line-dark);
}

.mobile-menu__link {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line-dark);
  font-size: clamp(2rem, 10vw, 3.6rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.mobile-menu__link span {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--acid);
}

.mobile-menu__link sup {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted-light);
}

.mobile-menu__foot {
  margin-top: auto;
  padding-top: 48px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted-light);
}

.mobile-menu__foot a {
  color: var(--acid);
}

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

.hero {
  position: relative;
  min-height: 100svh;
  padding-top: var(--header-h);
  background: var(--ink);
  color: var(--paper);
  overflow: clip;
}

.hero::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  max-width: 960px;
  max-height: 960px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(215, 255, 79, 0.11) 0%, rgba(215, 255, 79, 0.025) 45%, transparent 70%);
  pointer-events: none;
}

.hero__gridlines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(239, 241, 231, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(239, 241, 231, 0.045) 1px, transparent 1px);
  background-size: 8.3333% 100%, 100% 96px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 90%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 90%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(36px, 4vw, 64px);
  align-items: center;
  min-height: calc(100svh - var(--header-h) - 110px);
  padding: clamp(40px, 5.2vw, 74px) 0 clamp(38px, 4.4vw, 58px);
}

.hero__copy {
  min-width: 0;
}

.hero__eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: clamp(24px, 3vw, 40px);
  color: var(--muted-light);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero__eyebrow .divider {
  width: 28px;
  height: 1px;
  background: var(--line-dark-strong);
}

.hero h1 {
  max-width: 12ch;
  font-size: clamp(3.35rem, 7.2vw, 7.8rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
  font-weight: 600;
}

.hero h1 span {
  display: block;
}

.hero h1 .hero__accent {
  color: var(--acid);
}

.hero__lead {
  max-width: 580px;
  margin-top: clamp(26px, 3vw, 40px);
  color: rgba(239, 241, 231, 0.66);
  font-size: clamp(14px, 1.16vw, 17px);
  line-height: 1.9;
}

.hero__lead strong {
  color: var(--paper);
  font-weight: 500;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(28px, 3.2vw, 42px);
}

.hero__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 560px;
  margin-top: clamp(38px, 5vw, 68px);
  padding-top: 20px;
  border-top: 1px solid var(--line-dark);
}

.hero__fact {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.hero__fact b {
  font-family: var(--mono);
  font-size: clamp(18px, 1.8vw, 25px);
  line-height: 1.2;
  font-weight: 400;
  color: var(--acid);
}

.hero__fact span {
  font-size: 10px;
  line-height: 1.5;
  color: var(--muted-light);
}

.hero__visual {
  position: relative;
  min-width: 0;
  perspective: 1200px;
}

.hero__scroll {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0 0;
  border-top: 1px solid var(--line-dark);
  color: var(--muted-light);
}

.hero__scroll-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero__scroll svg {
  width: 12px;
  height: 18px;
}

.hero__scroll-right {
  display: flex;
  gap: clamp(16px, 3vw, 48px);
}

.hero__scroll-right span {
  color: rgba(239, 241, 231, 0.5);
}

/* Agent window */

.agent-window {
  position: relative;
  width: 100%;
  border: 1px solid rgba(215, 255, 79, 0.28);
  background: #0b0e09;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.48);
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transform-style: preserve-3d;
  transition: transform 0.5s var(--ease);
}

.agent-window::before,
.agent-window::after {
  content: "";
  position: absolute;
  z-index: 5;
  width: 13px;
  height: 13px;
  pointer-events: none;
}

.agent-window::before {
  top: -1px;
  left: -1px;
  border-top: 2px solid var(--acid);
  border-left: 2px solid var(--acid);
}

.agent-window::after {
  right: -1px;
  bottom: -1px;
  border-right: 2px solid var(--acid);
  border-bottom: 2px solid var(--acid);
}

.aw__bar {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 38px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line-dark);
  color: var(--muted-light);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.aw__bar .aw__live {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--acid);
}

.aw__live i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 8px var(--acid);
}

.aw__body {
  display: flex;
  flex-direction: column;
}

.aw__stage {
  position: relative;
  min-height: clamp(300px, 33vw, 430px);
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 44%, rgba(215, 255, 79, 0.055), transparent 52%),
    linear-gradient(145deg, #0d110b, #090b08);
}

.aw__stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(239, 241, 231, 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(239, 241, 231, 0.055) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(circle at 50% 50%, #000 5%, transparent 78%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 5%, transparent 78%);
}

.aw__stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 45%, rgba(9, 11, 8, 0.6));
  pointer-events: none;
}

.part-svg {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  padding: 8px;
}

.part-svg .edge {
  fill: none;
  stroke: rgba(223, 236, 208, 0.42);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.part-svg .edge--strong {
  stroke: rgba(239, 241, 231, 0.76);
  stroke-width: 1.2;
}

.part-svg .edge--acid {
  stroke: var(--acid);
  stroke-width: 1.5;
}

.part-svg .edge--dash {
  stroke-dasharray: 4 5;
  stroke: rgba(215, 255, 79, 0.36);
}

.part-svg .fill-acid {
  fill: rgba(215, 255, 79, 0.075);
}

.part-svg .fill-dark {
  fill: rgba(9, 11, 8, 0.72);
}

.part-svg .meta-text {
  fill: rgba(239, 241, 231, 0.5);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.part-svg .meta-text--acid {
  fill: var(--acid);
}

.part-svg .dim-line {
  stroke: rgba(215, 255, 79, 0.58);
  stroke-width: 1;
  fill: none;
}

.part-svg .draw-line {
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  animation: draw 2.4s var(--ease) forwards;
}

.part-svg .draw-line:nth-child(2) { animation-delay: 0.1s; }
.part-svg .draw-line:nth-child(3) { animation-delay: 0.2s; }
.part-svg .draw-line:nth-child(4) { animation-delay: 0.32s; }
.part-svg .draw-line:nth-child(5) { animation-delay: 0.44s; }

@keyframes draw {
  to { stroke-dashoffset: 0; }
}

.part-svg .spin {
  transform-origin: 354px 238px;
  animation: rotate 14s linear infinite;
}

.part-svg .edge {
  transition: stroke 0.35s var(--ease), stroke-opacity 0.35s var(--ease);
}

.part-svg .model-turn {
  transition: filter 0.4s var(--ease);
}

.agent-window:hover .part-svg .model-turn {
  filter: drop-shadow(0 0 10px rgba(215, 255, 79, 0.16));
}

.agent-window:hover .part-svg .edge {
  stroke: rgba(215, 255, 79, 0.55);
}

.agent-window:hover .part-svg .edge--strong {
  stroke: var(--paper);
}

.agent-window:hover .part-svg .edge--acid {
  stroke: var(--acid);
}

.agent-window:hover .part-svg .spin {
  animation-duration: 5s;
}

.agent-window:hover .scanline {
  animation-duration: 2.4s;
}

.agent-window:hover .trace-row.is-running .trace-progress i {
  animation: solve-progress 2s var(--ease-io) infinite;
}

@keyframes solve-progress {
  0% { width: 0; opacity: 1; }
  70% { width: 100%; opacity: 1; }
  85%, 100% { width: 100%; opacity: 0.2; }
}

.agent-window:hover .aw__live::after {
  content: " / SOLVING";
  color: var(--paper);
}

.aw__hint {
  position: absolute;
  z-index: 4;
  top: 12px;
  left: 50%;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transform: translateX(-50%);
  color: rgba(239, 241, 231, 0.42);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
}

.aw__hint span {
  color: var(--acid);
  font-size: 11px;
}

.agent-window:hover .aw__hint {
  opacity: 0;
}

.solve-sweep {
  position: absolute;
  z-index: 2;
  top: 16%;
  bottom: 12%;
  left: 18%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(215, 255, 79, 0.55), transparent);
  box-shadow: 0 0 14px rgba(215, 255, 79, 0.35);
  opacity: 0;
  pointer-events: none;
}

.agent-window:hover .solve-sweep {
  animation: solve-sweep 2.4s var(--ease-io) infinite;
}

@keyframes solve-sweep {
  0% { left: 18%; opacity: 0; }
  12% { opacity: 0.9; }
  60% { left: 82%; opacity: 0.9; }
  72%, 100% { left: 82%; opacity: 0; }
}

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

.aw-hud {
  position: absolute;
  z-index: 3;
  color: var(--muted-light);
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.6;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.aw-hud--tl {
  top: 16px;
  left: 16px;
}

.aw-hud--tl b {
  display: block;
  margin-bottom: 2px;
  color: var(--paper);
  font-weight: 400;
}

.aw-hud--tr {
  top: 16px;
  right: 16px;
  text-align: right;
}

.aw-hud--tr .hud-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--acid);
}

.aw-hud--tr .hud-status i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--acid);
}

.aw-hud--bl {
  bottom: 18px;
  left: 16px;
  max-width: 180px;
}

.aw-hud--br {
  right: 16px;
  bottom: 18px;
  text-align: right;
}

.aw-crosshair {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 18px;
  transform: translate(-50%, -50%);
  opacity: 0.6;
}

.aw-crosshair::before,
.aw-crosshair::after {
  content: "";
  position: absolute;
  background: var(--acid);
}

.aw-crosshair::before {
  top: 8px;
  left: 0;
  width: 18px;
  height: 1px;
}

.aw-crosshair::after {
  top: 0;
  left: 8px;
  width: 1px;
  height: 18px;
}

.scanline {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  top: 30%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(215, 255, 79, 0.55), transparent);
  box-shadow: 0 0 18px rgba(215, 255, 79, 0.4);
  animation: scan 6s var(--ease-io) infinite;
}

@keyframes scan {
  0% { top: 18%; opacity: 0; }
  12% { opacity: 1; }
  55% { top: 80%; opacity: 0.8; }
  70%, 100% { top: 82%; opacity: 0; }
}

.aw__console {
  position: relative;
  z-index: 6;
  padding: 15px 16px 16px;
  border-top: 1px solid var(--line-dark);
  background: rgba(9, 11, 8, 0.94);
}

.aw__prompt {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--line-dark);
  color: rgba(239, 241, 231, 0.88);
  font-size: 11px;
  line-height: 1.65;
}

.aw__prompt .prompt-mark {
  color: var(--acid);
  font-family: var(--mono);
}

.aw__trace {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 11px;
}

.trace-row {
  display: grid;
  grid-template-columns: 18px 1fr auto;
  gap: 8px;
  align-items: center;
  color: var(--muted-light);
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.trace-row .trace-check {
  color: var(--acid);
}

.trace-row b {
  color: var(--muted-light);
  font-weight: 400;
  font-size: 7px;
  letter-spacing: 0.08em;
}

.trace-row.is-running b {
  color: var(--acid);
}

.trace-row .trace-progress {
  grid-column: 2 / 4;
  height: 1px;
  margin-top: 3px;
  background: var(--line-dark);
  overflow: hidden;
}

.trace-row .trace-progress i {
  display: block;
  width: 42%;
  height: 100%;
  background: var(--acid);
  animation: progress 2.4s var(--ease-io) infinite alternate;
}

@keyframes progress {
  from { width: 18%; }
  to { width: 74%; }
}

/* ---------- Marquee ---------- */

.marquee-strip {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  background: var(--ink);
  color: var(--paper);
}

.marquee {
  display: flex;
  width: max-content;
  animation: marquee 32s linear infinite;
}

.marquee-strip:hover .marquee {
  animation-play-state: paused;
}

.marquee__group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  padding: 15px 0;
  font-family: var(--mono);
  font-size: clamp(10px, 0.86vw, 12px);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(239, 241, 231, 0.66);
  white-space: nowrap;
}

.marquee__item::after {
  content: "✳";
  margin: 0 24px;
  color: var(--acid);
  font-size: 11px;
}

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

/* ---------- Reveal ---------- */

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

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Product tabs ---------- */

.products {
  overflow: hidden;
}

.product-tabs {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.18fr);
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.product-tabs__list {
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line-dark);
}

.product-tabs__nav {
  display: flex;
  flex-direction: column;
}

.product-tabs__meta {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding: 24px 20px 6px 0;
  color: var(--muted-light);
}

.product-tabs__meta p {
  margin-top: 6px;
  color: var(--muted-light);
  font-size: 11px;
  line-height: 1.6;
}

.product-tabs__meta > .mono {
  color: var(--acid);
  white-space: nowrap;
}

.product-tab {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 22px;
  gap: 12px;
  align-items: center;
  width: 100%;
  padding: 25px 24px 25px 0;
  border-bottom: 1px solid var(--line-dark);
  text-align: left;
  color: var(--muted-light);
  transition: color 0.35s var(--ease), background 0.35s var(--ease), padding 0.35s var(--ease);
}

.product-tab:last-child {
  border-bottom: 0;
}

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

.product-tab__index {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--muted-light);
  transition: color 0.3s;
}

.product-tab__body {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  min-width: 0;
}

.product-tab__zh {
  font-size: clamp(18px, 1.55vw, 23px);
  line-height: 1.3;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--paper);
}

.product-tab__en {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  color: var(--muted-light);
  white-space: nowrap;
}

.product-tab__arrow {
  width: 13px;
  height: 13px;
  color: var(--muted-light);
  transition: transform 0.35s var(--ease), color 0.35s;
}

.product-tab:hover {
  color: var(--paper);
  padding-left: 12px;
}

.product-tab:hover .product-tab__arrow {
  transform: translate(2px, -2px);
  color: var(--acid);
}

.product-tab[aria-selected="true"] {
  padding-left: 22px;
  background: var(--acid);
  color: var(--ink);
}

.product-tab[aria-selected="true"]::before {
  width: 4px;
  background: var(--ink);
}

.product-tab[aria-selected="true"] .product-tab__zh,
.product-tab[aria-selected="true"] .product-tab__en,
.product-tab[aria-selected="true"] .product-tab__index,
.product-tab[aria-selected="true"] .product-tab__arrow {
  color: var(--ink);
}

.product-tab[aria-selected="true"] .product-tab__arrow {
  transform: translate(2px, -2px);
}

.product-tabs__panels {
  position: relative;
  padding: 34px 0 38px clamp(28px, 4vw, 64px);
  min-width: 0;
}

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

.product-panel {
  animation: panel-in 0.55s var(--ease);
}

@keyframes panel-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.product-panel__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 9px;
  border: 1px solid var(--line-dark);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted-light);
}

.pill i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--acid);
}

.product-panel__top .mono {
  color: var(--muted-light);
}

.product-panel h3 {
  max-width: 17ch;
  font-size: clamp(1.9rem, 2.65vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.04em;
  font-weight: 500;
}

.product-panel__desc {
  max-width: 590px;
  margin-top: 16px;
  color: var(--muted-light);
  font-size: 14px;
  line-height: 1.85;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 28px;
  margin-top: 24px;
  border-top: 1px solid var(--line-dark);
}

.feature-list li {
  position: relative;
  padding: 11px 0 11px 16px;
  border-bottom: 1px solid var(--line-dark);
  color: rgba(239, 241, 231, 0.78);
  font-size: 12px;
  line-height: 1.55;
}

.feature-list li::before {
  content: "+";
  position: absolute;
  top: 10px;
  left: 0;
  color: var(--acid);
  font-family: var(--mono);
  font-size: 11px;
}

.product-panel__link {
  display: inline-flex;
  margin-top: 26px;
  color: var(--paper);
}

/* Product UI mocks */

.product-ui {
  position: relative;
  margin-top: 36px;
  border: 1px solid var(--line-dark);
  background: #0b0e09;
}

.product-ui__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 30px;
  padding: 0 11px;
  border-bottom: 1px solid var(--line-dark);
  color: var(--muted-light);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-ui__bar .dots {
  display: flex;
  gap: 4px;
  margin-right: 6px;
}

.product-ui__bar .dots i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--muted);
}

.product-ui__bar .ui-status {
  margin-left: auto;
  color: var(--acid);
}

.product-ui__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  min-height: 224px;
}

.ui-pane {
  min-width: 0;
  padding: 14px;
}

.ui-pane + .ui-pane {
  border-left: 1px solid var(--line-dark);
}

.ui-pane__label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  color: var(--muted-light);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.feature-tree {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.ft-row {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 5px 4px;
  color: rgba(239, 241, 231, 0.68);
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.4;
}

.ft-row.is-active {
  background: rgba(215, 255, 79, 0.1);
  color: var(--acid);
}

.ft-row .tree-line {
  color: rgba(239, 241, 231, 0.25);
}

.ft-row .ft-tag {
  margin-left: auto;
  font-size: 6px;
  color: var(--muted-light);
}

.ui-canvas {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 150px;
  background-image:
    linear-gradient(to right, rgba(239, 241, 231, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(239, 241, 231, 0.05) 1px, transparent 1px);
  background-size: 20px 20px;
  border: 1px solid rgba(239, 241, 231, 0.06);
  overflow: hidden;
}

.ui-canvas svg {
  width: 100%;
  height: 100%;
}

.ui-readout {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 9px;
  color: var(--muted-light);
  font-family: var(--mono);
  font-size: 7px;
  line-height: 1.5;
}

.ui-readout b {
  color: var(--acid);
  font-weight: 400;
}

/* Design mock: live feature rebuild */
.product-ui--design .ui-model {
  transition: filter 0.4s var(--ease);
}

.product-ui--design .ui-scan {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  top: 18%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(215, 255, 79, 0.6), transparent);
  box-shadow: 0 0 12px rgba(215, 255, 79, 0.35);
  opacity: 0;
  pointer-events: none;
  animation: ui-scan 7s var(--ease-io) infinite;
}

.product-ui--design .ui-ring {
  animation: ui-ring 3.2s ease-in-out infinite;
}

.product-ui--design .ui-ring--inner {
  animation-delay: 0.18s;
}

.product-ui--design .ft-row.is-active {
  animation: ft-active 3.6s ease-in-out infinite;
}

.product-ui--design:hover .ui-scan {
  animation-duration: 2.4s;
}

.product-ui--design:hover .ui-model {
  filter: drop-shadow(0 0 8px rgba(215, 255, 79, 0.2));
}

.product-ui--design:hover .ui-status::after {
  content: " / UPDATING";
  color: var(--paper);
}

@keyframes ui-scan {
  0% { top: 16%; opacity: 0; }
  10% { opacity: 0.9; }
  62% { top: 84%; opacity: 0.8; }
  72%, 100% { top: 84%; opacity: 0; }
}

@keyframes ui-ring {
  0%, 100% { stroke-opacity: 0.55; }
  50% { stroke-opacity: 1; }
}

@keyframes ft-active {
  0%, 100% { background: rgba(215, 255, 79, 0.08); }
  50% { background: rgba(215, 255, 79, 0.18); }
}

/* CAM mock */

.toolpath-svg {
  width: 100%;
  height: auto;
}

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

.op-row {
  display: grid;
  grid-template-columns: 16px 1fr auto;
  gap: 5px;
  align-items: center;
  padding: 5px 3px;
  border-bottom: 1px solid rgba(239, 241, 231, 0.06);
  color: rgba(239, 241, 231, 0.68);
  font-family: var(--mono);
  font-size: 7px;
}

.op-row.is-active {
  color: var(--acid);
}

.op-row span:last-child {
  color: var(--muted-light);
}

.op-row .num {
  color: rgba(239, 241, 231, 0.3);
}

/* CAE mock */

.cae-legend {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 7px;
  font-family: var(--mono);
  font-size: 6px;
  color: var(--muted-light);
}

.cae-legend .bar {
  flex: 1;
  height: 4px;
  background: linear-gradient(to right, #2c4b6e, #44c4a1, #d7ff4f, #ec8b42);
}

/* knowledge mock */

.kb-query {
  padding: 8px 9px;
  border: 1px solid var(--line-dark);
  color: rgba(239, 241, 231, 0.8);
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.5;
}

.kb-answer {
  margin-top: 10px;
  color: rgba(239, 241, 231, 0.7);
  font-size: 9px;
  line-height: 1.7;
}

.kb-answer b {
  color: var(--acid);
  font-weight: 400;
}

.kb-sources {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 10px;
}

.kb-source {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding-top: 5px;
  border-top: 1px solid rgba(239, 241, 231, 0.08);
  color: var(--muted-light);
  font-family: var(--mono);
  font-size: 6px;
}

.kb-source b {
  color: rgba(239, 241, 231, 0.7);
  font-weight: 400;
}

/* ---------- Scenarios ---------- */

.scenario-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.scenario-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 500px;
  padding: 28px 28px 26px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  transition: background 0.45s var(--ease), color 0.45s var(--ease);
}

.scenario-card__top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  transition: color 0.45s var(--ease);
}

.scenario-card__art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 155px;
  margin: 18px 0 24px;
  color: var(--ink);
  transition: color 0.45s var(--ease);
}

.scenario-card__art::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(9, 11, 8, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(9, 11, 8, 0.04) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(ellipse at center, #000 5%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 5%, transparent 78%);
  pointer-events: none;
}

.scenario-card:hover .scenario-card__art::before {
  background-image:
    linear-gradient(to right, rgba(239, 241, 231, 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(239, 241, 231, 0.055) 1px, transparent 1px);
}

.scenario-card__art svg {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.scenario-card h3 {
  font-size: clamp(1.55rem, 2vw, 2.1rem);
  line-height: 1.2;
  letter-spacing: -0.035em;
  font-weight: 500;
}

.scenario-card__en {
  margin-top: 5px;
  color: var(--muted);
  transition: color 0.45s var(--ease);
}

.scenario-card__desc {
  margin-top: 17px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
  transition: color 0.45s var(--ease);
}

.scenario-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: auto;
  padding-top: 24px;
}

.scenario-card__tags span {
  padding: 4px 7px;
  border: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.05em;
  color: var(--muted);
  transition: border-color 0.45s var(--ease), color 0.45s var(--ease);
}

.scenario-card__arrow {
  position: absolute;
  top: 26px;
  right: 26px;
  width: 13px;
  height: 13px;
  color: var(--muted);
  opacity: 0;
  transform: translate(-4px, 4px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), color 0.4s;
}

.scenario-card:hover {
  background: var(--ink);
  color: var(--paper);
}

.scenario-card:hover .scenario-card__top,
.scenario-card:hover .scenario-card__en,
.scenario-card:hover .scenario-card__desc,
.scenario-card:hover .scenario-card__tags span {
  color: var(--muted-light);
}

.scenario-card:hover .scenario-card__art {
  color: var(--acid);
}

.scenario-card:hover .scenario-card__tags span {
  border-color: var(--line-dark);
}

.scenario-card:hover .scenario-card__arrow {
  opacity: 1;
  transform: translate(0, 0);
  color: var(--acid);
}

/* ---------- Method ---------- */

.process {
  border-top: 1px solid var(--line-dark);
}

.process__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.process-step {
  position: relative;
  min-height: 290px;
  padding: 24px 24px 28px 0;
  border-right: 1px solid var(--line-dark);
}

.process-step:last-child {
  border-right: 0;
}

.process-step:not(:first-child) {
  padding-left: 24px;
}

.process-step__num {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted-light);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.process-step__num i {
  width: 5px;
  height: 5px;
  border: 1px solid var(--acid);
  transform: rotate(45deg);
}

.process-step h3 {
  margin-top: 72px;
  font-size: clamp(1.25rem, 1.5vw, 1.55rem);
  line-height: 1.3;
  letter-spacing: -0.02em;
  font-weight: 500;
}

.process-step p {
  max-width: 270px;
  margin-top: 13px;
  color: var(--muted-light);
  font-size: 12px;
  line-height: 1.8;
}

.process-step__bar {
  position: absolute;
  left: 0;
  right: 24px;
  top: 0;
  height: 2px;
  background: var(--acid);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}

.process-step:hover .process-step__bar {
  transform: scaleX(1);
}

.process-note {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
}

.process-note__item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.process-note__item .mono {
  color: var(--acid);
  white-space: nowrap;
}

.process-note__item p {
  color: var(--muted-light);
  font-size: 12px;
  line-height: 1.75;
}

/* ---------- Architecture / stack ---------- */

.tech-split {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(36px, 6vw, 92px);
  align-items: start;
}

.tech-copy h2 {
  margin-top: 20px;
  font-size: clamp(2.5rem, 4.2vw, 4.7rem);
  line-height: 1.03;
  letter-spacing: -0.045em;
  font-weight: 600;
}

.tech-copy__lead {
  max-width: 560px;
  margin-top: 26px;
  color: var(--muted-light);
  font-size: 14px;
  line-height: 1.9;
}

.tech-copy__lead strong {
  color: var(--paper);
  font-weight: 500;
}

.tech-principles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 42px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.tech-principle {
  min-height: 134px;
  padding: 17px 18px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 0.35s var(--ease);
}

.section--dark .tech-principles {
  border-color: var(--line-dark);
}

.section--dark .tech-principle {
  border-color: var(--line-dark);
}

.tech-principle:hover {
  background: rgba(215, 255, 79, 0.045);
}

.tech-principle .mono {
  color: var(--ink);
}

.section--dark .tech-principle .mono {
  color: var(--acid);
}

.tech-principle h3 {
  margin-top: 30px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.tech-principle p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.65;
}

.section--dark .tech-principle p {
  color: var(--muted-light);
}

.stack {
  border: 1px solid var(--line-dark);
  background: rgba(239, 241, 231, 0.015);
}

.stack__head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--line-dark);
  color: var(--muted-light);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stack__row {
  position: relative;
  display: grid;
  grid-template-columns: 36px minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: 12px;
  align-items: center;
  min-height: 92px;
  padding: 14px;
  border-bottom: 1px solid var(--line-dark);
  transition: background 0.35s var(--ease);
}

.stack__row:last-child {
  border-bottom: 0;
}

.stack__row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--acid);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.4s var(--ease);
}

.stack__row:hover {
  background: rgba(215, 255, 79, 0.045);
}

.stack__row:hover::before {
  transform: scaleY(1);
}

.stack__num {
  align-self: start;
  padding-top: 3px;
  color: var(--acid);
  font-family: var(--mono);
  font-size: 9px;
}

.stack__name {
  align-self: start;
  padding-top: 1px;
  color: var(--paper);
  font-size: 15px;
  line-height: 1.5;
}

.stack__name span {
  display: block;
  margin-top: 3px;
  color: var(--muted-light);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stack__detail {
  color: var(--muted-light);
  font-size: 11px;
  line-height: 1.7;
}

.stack__detail code {
  display: inline-block;
  padding: 1px 4px;
  background: rgba(239, 241, 231, 0.06);
  color: var(--acid);
  font-family: var(--mono);
  font-size: 8px;
}

/* ---------- About teaser ---------- */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}

.about-grid h2 {
  max-width: 13ch;
  font-size: clamp(2.6rem, 4.5vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  font-weight: 600;
}

.about-copy {
  max-width: 640px;
  margin-top: 30px;
  color: var(--muted-light);
  font-size: 15px;
  line-height: 1.9;
}

.about-copy + .about-copy {
  margin-top: 14px;
}

.about-copy strong {
  color: var(--ink);
  font-weight: 500;
}

.section--dark .about-copy strong {
  color: var(--paper);
}

.about-facts {
  border-top: 1px solid var(--line);
}

.about-fact {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.about-fact .mono {
  color: var(--muted);
}

.about-fact p {
  color: var(--ink);
  font-size: 13px;
  line-height: 1.6;
}

.about-fact p span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-top: 2px;
}

.section--dark .about-facts,
.section--dark .about-fact {
  border-color: var(--line-dark);
}

.section--dark .about-fact .mono,
.section--dark .about-fact p span {
  color: var(--muted-light);
}

.section--dark .about-fact p {
  color: var(--paper);
}

.about-quote {
  margin-top: 32px;
  padding-left: 18px;
  border-left: 2px solid var(--acid);
}

.about-quote p {
  font-size: clamp(1.1rem, 1.4vw, 1.35rem);
  line-height: 1.55;
  letter-spacing: -0.02em;
}

.about-quote span {
  display: block;
  margin-top: 10px;
  color: var(--muted-light);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
}

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

.cta {
  position: relative;
  padding: clamp(72px, 8vw, 120px) 0 0;
  background: var(--acid);
  color: var(--ink);
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  right: -5vw;
  top: -35%;
  width: 55vw;
  height: 55vw;
  border: 1px solid rgba(9, 11, 8, 0.14);
  border-radius: 50%;
  pointer-events: none;
}

.cta::after {
  content: "";
  position: absolute;
  right: 4vw;
  top: -15%;
  width: 32vw;
  height: 32vw;
  border: 1px solid rgba(9, 11, 8, 0.1);
  border-radius: 50%;
  pointer-events: none;
}

.cta__inner {
  position: relative;
  z-index: 1;
}

.cta__top {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(9, 11, 8, 0.25);
}

.cta__top .mono {
  color: rgba(9, 11, 8, 0.62);
}

.cta__main {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.5fr);
  gap: clamp(36px, 5vw, 80px);
  align-items: end;
  padding: clamp(46px, 6vw, 80px) 0 clamp(56px, 6vw, 82px);
}

.cta h2 {
  font-size: clamp(3rem, 6.4vw, 7rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
  font-weight: 600;
}

.cta__aside p {
  max-width: 360px;
  color: rgba(9, 11, 8, 0.68);
  font-size: 13px;
  line-height: 1.8;
}

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.cta .btn--ink:hover {
  background: rgba(9, 11, 8, 0.04);
}

.cta .btn--ghost:hover {
  --btn-bg: var(--ink);
  --btn-fg: var(--acid);
  --btn-border: var(--ink);
}

.section--dark .manifesto span {
  color: var(--muted-light);
}

.cta__email {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: rgba(9, 11, 8, 0.72);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.03em;
}

.cta__email:hover {
  color: var(--ink);
}

.cta__email svg {
  width: 11px;
  height: 11px;
}

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

.site-footer {
  position: relative;
  padding: clamp(64px, 8vw, 104px) 0 26px;
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
}

.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(48px, 8vw, 120px);
  padding-bottom: 60px;
  border-bottom: 1px solid var(--line-dark);
}

.footer__statement {
  max-width: 680px;
  font-size: clamp(1.7rem, 2.8vw, 3rem);
  line-height: 1.25;
  letter-spacing: -0.035em;
  font-weight: 500;
}

.footer__statement span {
  color: var(--muted-light);
}

.footer__columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.footer__col h3 {
  margin-bottom: 18px;
  color: var(--muted-light);
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer__col a,
.footer__col p {
  display: block;
  margin-bottom: 8px;
  color: rgba(239, 241, 231, 0.78);
  font-size: 12px;
  line-height: 1.7;
  transition: color 0.25s;
}

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

.footer__wordmark {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(38px, 5vw, 64px) 0 22px;
  border-bottom: 1px solid var(--line-dark);
}

.footer__wordmark strong {
  font-size: clamp(2.8rem, 6.4vw, 7rem);
  line-height: 0.85;
  letter-spacing: -0.065em;
  font-weight: 600;
  color: var(--paper);
}

.footer__wordmark .mono {
  max-width: 190px;
  padding-bottom: 8px;
  color: var(--muted-light);
  line-height: 1.7;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px 24px;
  padding-top: 20px;
  color: var(--muted-light);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.04em;
}

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

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

.contact-dialog {
  width: min(720px, calc(100vw - 32px));
  max-height: calc(100svh - 32px);
  padding: 0;
  border: 1px solid var(--line-dark-strong);
  background: var(--ink);
  color: var(--paper);
  overflow: auto;
}

.contact-dialog::backdrop {
  background: rgba(5, 6, 4, 0.78);
  backdrop-filter: blur(8px);
}

.contact-dialog__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 26px;
  border-bottom: 1px solid var(--line-dark);
}

.contact-dialog__head .mono {
  color: var(--acid);
}

.contact-dialog__head h2 {
  margin-top: 12px;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 500;
}

.dialog-close {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border: 1px solid var(--line-dark-strong);
  color: var(--paper);
  transition: background 0.25s, color 0.25s;
}

.dialog-close:hover {
  background: var(--acid);
  color: var(--ink);
}

.dialog-close svg {
  width: 13px;
  height: 13px;
}

.contact-form {
  padding: 24px 26px 26px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-field--full {
  grid-column: 1 / -1;
}

.form-field label {
  color: var(--muted-light);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid var(--line-dark-strong);
  border-radius: 0;
  background: transparent;
  color: var(--paper);
  font-size: 14px;
  line-height: 1.6;
  outline: none;
  transition: border-color 0.25s;
}

.form-field input:focus,
.form-field textarea:focus {
  border-bottom-color: var(--acid);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(239, 241, 231, 0.3);
}

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

.form-field input[aria-invalid="true"],
.form-field textarea[aria-invalid="true"] {
  border-bottom-color: #ff7058;
}

.form-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 24px;
}

.form-note {
  max-width: 300px;
  color: var(--muted-light);
  font-family: var(--mono);
  font-size: 7px;
  line-height: 1.7;
  letter-spacing: 0.02em;
}

.form-status {
  margin-top: 16px;
  padding: 10px 12px;
  border: 1px solid rgba(215, 255, 79, 0.35);
  background: rgba(215, 255, 79, 0.08);
  color: var(--acid);
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.7;
}

.form-status[hidden] {
  display: none;
}

/* ---------- Page hero (subpages) ---------- */

.page-hero {
  position: relative;
  padding: calc(var(--header-h) + clamp(58px, 8vw, 108px)) 0 clamp(54px, 7vw, 92px);
  background: var(--ink);
  color: var(--paper);
  overflow: clip;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(239, 241, 231, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(239, 241, 231, 0.045) 1px, transparent 1px);
  background-size: 8.3333% 100%, 100% 96px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent);
  pointer-events: none;
}

.page-hero .eyebrow {
  color: var(--muted-light);
}

.page-hero .eyebrow::before {
  background: var(--line-dark-strong);
}

.page-hero .eyebrow__index {
  color: var(--acid);
}

.page-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: clamp(32px, 6vw, 100px);
  align-items: end;
}

.page-hero h1 {
  max-width: 100%;
  margin-top: 24px;
  font-size: clamp(3.1rem, 6.6vw, 7rem);
  line-height: 0.97;
  letter-spacing: -0.055em;
  font-weight: 600;
}

.page-hero__lead {
  max-width: 420px;
  justify-self: end;
  padding-bottom: 8px;
  color: var(--muted-light);
  font-size: 14px;
  line-height: 1.9;
}

.page-hero__lead strong {
  color: var(--paper);
  font-weight: 500;
}

.page-hero__num {
  position: absolute;
  right: 0;
  bottom: -0.14em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(239, 241, 231, 0.14);
  font-family: var(--mono);
  font-size: clamp(8rem, 22vw, 24rem);
  line-height: 0.8;
  letter-spacing: -0.08em;
  pointer-events: none;
  user-select: none;
}

.page-hero__meta {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: 16px;
  border-top: 1px solid var(--line-dark);
  color: var(--muted-light);
}

.page-hero__meta .mono {
  color: rgba(239, 241, 231, 0.55);
}

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

/* ---------- Subpage shared components ---------- */

.page-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.page-nav a {
  padding: 7px 11px;
  border: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.05em;
  color: var(--muted);
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}

.page-nav a:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.page-nav--dark a {
  border-color: var(--line-dark);
  color: var(--muted-light);
}

.page-nav--dark a:hover {
  background: var(--acid);
  border-color: var(--acid);
  color: var(--ink);
}

.aside-sticky {
  position: sticky;
  top: calc(var(--header-h) + 32px);
}

.split-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.68fr) minmax(0, 1.32fr);
  gap: clamp(36px, 6vw, 100px);
  align-items: start;
}

.split-intro__aside h2 {
  margin-top: 18px;
  font-size: clamp(2rem, 2.6vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-weight: 500;
}

.split-intro__body {
  max-width: 900px;
}

.split-intro__body .lead {
  font-size: clamp(1.35rem, 2.1vw, 2.1rem);
  line-height: 1.5;
  letter-spacing: -0.025em;
}

.split-intro__body p + p {
  margin-top: 18px;
}

.split-intro__body .body-copy {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

/* Product index */

.product-index {
  border-top: 1px solid var(--line);
}

.product-index__row {
  display: grid;
  grid-template-columns: 48px minmax(150px, 0.85fr) minmax(0, 1.4fr) minmax(120px, 0.55fr) 24px;
  gap: 20px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  transition: padding 0.35s var(--ease), color 0.35s var(--ease);
}

.product-index__row:hover {
  padding-left: 12px;
  color: var(--acid-ink);
}

.product-index__row .idx {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
}

.product-index__row .name {
  font-size: clamp(1.05rem, 1.4vw, 1.35rem);
  letter-spacing: -0.02em;
}

.product-index__row .name span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.08em;
}

.product-index__row .what {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.product-index__row .where {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.04em;
}

.product-index__row .go {
  width: 13px;
  height: 13px;
  color: var(--muted);
  transition: transform 0.35s var(--ease), color 0.35s;
}

.product-index__row:hover .go {
  color: var(--acid-ink);
  transform: translate(2px, -2px);
}

/* Blueprint visual */

.blueprint {
  position: relative;
  border: 1px solid rgba(215, 255, 79, 0.24);
  background: #0b0e09;
  color: var(--paper);
  overflow: hidden;
}

.blueprint__bar {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 34px;
  padding: 0 12px;
  border-bottom: 1px solid var(--line-dark);
  color: var(--muted-light);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.blueprint__bar .live {
  margin-left: auto;
  color: var(--acid);
}

.blueprint__stage {
  position: relative;
  min-height: 360px;
  padding: 26px 20px;
  background-image:
    linear-gradient(to right, rgba(239, 241, 231, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(239, 241, 231, 0.05) 1px, transparent 1px);
  background-size: 28px 28px;
}

.blueprint__stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(215, 255, 79, 0.06), transparent 66%);
  pointer-events: none;
}

.blueprint__stage > svg {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 300px;
}

.bp-label {
  position: absolute;
  z-index: 2;
  color: var(--muted-light);
  font-family: var(--mono);
  font-size: 7px;
  line-height: 1.6;
  letter-spacing: 0.04em;
}

.bp-label b {
  color: var(--paper);
  font-weight: 400;
}

.bp-label--tl { top: 18px; left: 18px; }
.bp-label--tr { top: 18px; right: 18px; text-align: right; }
.bp-label--bl { bottom: 18px; left: 18px; }
.bp-label--br { right: 18px; bottom: 18px; text-align: right; }

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

.blueprint__foot div {
  padding: 11px 12px;
  border-right: 1px solid var(--line-dark);
}

.blueprint__foot div:last-child {
  border-right: 0;
}

.blueprint__foot span {
  display: block;
  color: var(--muted-light);
  font-family: var(--mono);
  font-size: 6px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blueprint__foot b {
  display: block;
  margin-top: 3px;
  color: var(--paper);
  font-size: 11px;
  font-weight: 400;
}

.blueprint__foot b.acid {
  color: var(--acid);
}

/* Product detail */

.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(36px, 6vw, 90px);
  align-items: start;
  padding: clamp(64px, 7vw, 96px) 0;
  border-top: 1px solid var(--line);
}

.product-detail--dark {
  border-top-color: var(--line-dark);
}

.product-detail__head {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.product-detail__index {
  flex: 0 0 auto;
  padding-top: 4px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.product-detail h2 {
  font-size: clamp(2rem, 3.3vw, 3.65rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
  font-weight: 500;
}

.product-detail__en {
  margin-top: 8px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
}

.product-detail__desc {
  max-width: 520px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.product-detail--dark .product-detail__desc {
  color: var(--muted-light);
}

.product-detail--dark .product-detail__en {
  color: var(--muted-light);
}

.product-detail--dark .product-detail__index {
  color: var(--muted-light);
}

.capability-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 30px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.capability {
  min-height: 122px;
  padding: 15px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.product-detail--dark .capability-grid {
  border-color: var(--line-dark);
}

.product-detail--dark .capability {
  border-color: var(--line-dark);
}

.capability .mono {
  color: var(--muted);
}

.capability h3 {
  margin-top: 22px;
  font-size: 14px;
  font-weight: 500;
}

.capability p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.65;
}

.product-detail--dark .capability p {
  color: var(--muted-light);
}

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

.spec-list div {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}

.spec-list dt {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.spec-list dd {
  margin: 0;
  color: var(--ink);
}

.product-detail--dark .spec-list,
.product-detail--dark .spec-list div {
  border-color: var(--line-dark);
}

.product-detail--dark .spec-list dd {
  color: var(--paper);
}

.product-detail--dark .spec-list dt {
  color: var(--muted-light);
}

.product-detail__visual {
  min-width: 0;
}

.product-detail__visual .product-ui {
  margin-top: 0;
}

.product-detail__visual-caption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 12px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.04em;
}

/* Workflow chain */

.workflow-chain {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  margin-top: 40px;
}

.workflow-step {
  position: relative;
  min-height: 170px;
  padding: 17px;
  border-right: 1px solid var(--line);
}

.workflow-step:last-child {
  border-right: 0;
}

.workflow-step__num {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
}

.workflow-step h3 {
  margin-top: 40px;
  font-size: 15px;
  font-weight: 500;
}

.workflow-step p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}

.workflow-step::after {
  content: "→";
  position: absolute;
  top: 16px;
  right: 13px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
}

.workflow-step:last-child::after {
  content: "✓";
  color: var(--acid-ink);
}

/* Industry sections */

.industry {
  position: relative;
  padding: clamp(60px, 7vw, 96px) 0;
  border-top: 1px solid var(--line);
}

.industry__head {
  display: grid;
  grid-template-columns: minmax(0, 0.6fr) minmax(0, 1.4fr);
  gap: clamp(30px, 5vw, 80px);
  align-items: end;
}

.industry__index {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
}

.industry h2 {
  margin-top: 12px;
  font-size: clamp(2.4rem, 4.3vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
  font-weight: 500;
}

.industry__en {
  margin-top: 10px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
}

.industry__lead {
  max-width: 660px;
  padding-bottom: 6px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.industry__body {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: clamp(36px, 6vw, 96px);
  margin-top: clamp(36px, 5vw, 60px);
}

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

.task-item {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  gap: 14px;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.task-item .num {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
}

.task-item h3 {
  font-size: 15px;
  font-weight: 500;
}

.task-item p {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.65;
}

.task-item .mono {
  color: var(--muted);
  font-size: 7px;
}

.industry__panel {
  border: 1px solid var(--line);
  background: var(--paper-2);
}

.industry__panel-head {
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.08em;
}

.industry__panel-body {
  padding: 14px;
}

.flow-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.flow-item {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.flow-item:last-child {
  border-bottom: 0;
}

.flow-item .flow-index {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border: 1px solid var(--line-strong);
  font-family: var(--mono);
  font-size: 6px;
}

.flow-item h4 {
  font-size: 11px;
  font-weight: 500;
}

.flow-item p {
  margin-top: 2px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.6;
}

.industry__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 16px;
}

.industry__tags span {
  padding: 4px 7px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 7px;
}

/* Tech page */

.architecture {
  border-top: 1px solid var(--line-dark);
}

.arch-layer {
  display: grid;
  grid-template-columns: 54px minmax(0, 0.44fr) minmax(0, 1fr);
  gap: clamp(16px, 3vw, 48px);
  align-items: start;
  padding: 24px 0;
  border-bottom: 1px solid var(--line-dark);
}

.arch-layer__num {
  color: var(--acid);
  font-family: var(--mono);
  font-size: 10px;
}

.arch-layer h3 {
  font-size: clamp(1.4rem, 1.9vw, 2rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
  font-weight: 500;
}

.arch-layer h3 span {
  display: block;
  margin-top: 5px;
  color: var(--muted-light);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.arch-layer__detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px 20px;
}

.arch-layer__detail p {
  color: var(--muted-light);
  font-size: 11px;
  line-height: 1.7;
}

.arch-layer__detail p b {
  color: rgba(239, 241, 231, 0.88);
  font-weight: 400;
}

.agent-loop {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-top: 42px;
  border: 1px solid var(--line-dark);
}

.loop-step {
  min-height: 160px;
  padding: 15px;
  border-right: 1px solid var(--line-dark);
}

.loop-step:last-child {
  border-right: 0;
}

.loop-step .mono {
  color: var(--acid);
}

.loop-step h3 {
  margin-top: 42px;
  font-size: 14px;
  font-weight: 500;
}

.loop-step p {
  margin-top: 5px;
  color: var(--muted-light);
  font-size: 10px;
  line-height: 1.65;
}

.code-panel {
  border: 1px solid var(--line-dark);
  background: #0b0e09;
}

.code-panel__head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line-dark);
  color: var(--muted-light);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.05em;
}

.code-panel__head .file {
  color: var(--paper);
}

.code-panel__head .copy {
  margin-left: auto;
  color: var(--muted-light);
  font-size: 7px;
}

.code-panel pre {
  margin: 0;
  padding: 18px 16px 20px;
  overflow-x: auto;
  color: rgba(239, 241, 231, 0.7);
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.8;
  tab-size: 2;
}

.code-panel .c-key { color: var(--acid); }
.code-panel .c-str { color: #b7d6b0; }
.code-panel .c-com { color: #596253; }
.code-panel .c-fn { color: #e8d8a4; }
.code-panel .c-num { color: #e2a77e; }

.security-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  margin-top: 40px;
}

.security-item {
  min-height: 190px;
  padding: 17px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.security-item .mono {
  color: var(--muted);
}

.security-item h3 {
  margin-top: 46px;
  font-size: 15px;
  font-weight: 500;
}

.security-item p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}

/* About page */

.manifesto {
  max-width: 1180px;
  font-size: clamp(2.2rem, 4.6vw, 5.2rem);
  line-height: 1.1;
  letter-spacing: -0.05em;
  font-weight: 500;
}

.manifesto span {
  color: var(--muted);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  margin-top: 52px;
}

.value-card {
  min-height: 330px;
  padding: 20px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.value-card .mono {
  color: var(--muted);
}

.value-card h3 {
  margin-top: 90px;
  font-size: clamp(1.4rem, 1.8vw, 1.8rem);
  font-weight: 500;
  letter-spacing: -0.025em;
}

.value-card p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  margin-top: 48px;
}

.about-stat {
  min-height: 160px;
  padding: 18px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about-stat b {
  display: block;
  color: var(--ink);
  font-family: var(--mono);
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 400;
  line-height: 1;
}

.about-stat b::after {
  content: "";
  display: block;
  width: 24px;
  height: 3px;
  margin-top: 16px;
  background: var(--acid-2);
}

.about-stat span {
  display: block;
  margin-top: 12px;
  color: var(--muted-light);
  font-size: 11px;
  line-height: 1.5;
}

.contact-block {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: clamp(36px, 6vw, 100px);
  padding-top: 48px;
  border-top: 1px solid var(--line);
}

.contact-block h2 {
  font-size: clamp(2.4rem, 4.2vw, 4.8rem);
  line-height: 1.03;
  letter-spacing: -0.05em;
  font-weight: 500;
}

.contact-block__body {
  padding-top: 8px;
}

.contact-block__body p {
  max-width: 480px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.contact-lines {
  margin-top: 24px;
  border-top: 1px solid var(--line);
}

.contact-line {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}

.contact-line span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.contact-line a:hover {
  color: var(--acid-ink);
}

/* About: quote, mission, team */

.quote-panel {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: clamp(20px, 3vw, 44px);
  padding-bottom: clamp(44px, 5vw, 68px);
  border-bottom: 1px solid var(--line);
}

.quote-panel__mark {
  color: var(--acid-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(7rem, 11vw, 12rem);
  line-height: 0.62;
  font-weight: 400;
}

.quote-panel__text {
  max-width: 1120px;
  font-size: clamp(2rem, 3.6vw, 4rem);
  line-height: 1.22;
  letter-spacing: -0.045em;
  font-weight: 500;
}

.quote-panel__text span {
  color: var(--muted);
}

.quote-panel__sub {
  max-width: 620px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.company-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.45fr) minmax(0, 1.55fr);
  gap: clamp(32px, 6vw, 100px);
  padding-top: clamp(44px, 5vw, 68px);
}

.company-intro__aside h2 {
  margin-top: 18px;
  font-size: clamp(2rem, 3.1vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-weight: 500;
}

.company-intro__body .lead {
  max-width: 900px;
  font-size: clamp(1.3rem, 1.9vw, 1.9rem);
  line-height: 1.55;
  letter-spacing: -0.025em;
}

.company-intro__body .body-copy {
  max-width: 900px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.company-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 34px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.company-fact {
  min-height: 112px;
  padding: 14px 16px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.company-fact .mono {
  color: var(--muted);
}

.company-fact p {
  margin-top: 26px;
  font-size: 14px;
  line-height: 1.55;
}

.company-fact p span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
}

.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--line-dark);
  border-left: 1px solid var(--line-dark);
}

.mission-card {
  min-height: 330px;
  padding: 26px 28px 30px;
  border-right: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.mission-card .mono {
  color: var(--acid);
  font-size: 12px;
  letter-spacing: 0.12em;
}

.mission-card h3 {
  max-width: 100%;
  margin-top: 74px;
  font-size: clamp(2.1rem, 3.4vw, 3.8rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
  font-weight: 500;
}

.mission-card p {
  max-width: 100%;
  margin-top: 20px;
  color: var(--muted-light);
  font-size: 13px;
  line-height: 1.8;
}

.team-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.45fr 0.73fr;
  margin-top: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.team-col {
  min-height: 290px;
  padding: 22px 22px 26px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.team-col > .mono {
  color: var(--muted);
}

.team-col h3 {
  margin-top: 34px;
  font-size: clamp(1.35rem, 1.8vw, 1.8rem);
  line-height: 1.2;
  letter-spacing: -0.025em;
  font-weight: 500;
}

.team-desc {
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.team-list {
  margin-top: 20px;
}

.team-list li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 7px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  line-height: 1.55;
}

.org-list {
  display: flex;
  flex-direction: column;
  margin-top: 18px;
}

.org-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 11px;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}

.org-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line-strong);
  background: var(--ink);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1;
  letter-spacing: 0.03em;
}

.org-name {
  font-size: 13px;
  line-height: 1.45;
}

.org-name small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.4;
  letter-spacing: 0.04em;
}

.org-list--two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 24px;
}

.team-list li::before {
  content: "+";
  color: var(--acid-ink);
  font-family: var(--mono);
  font-size: 9px;
}

.team-list--two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 24px;
}

.team-note {
  max-width: 900px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}

.team-capabilities {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 30px;
}

.team-capabilities span {
  padding: 5px 9px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.05em;
}

.team-strip {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) auto;
  gap: 24px;
  align-items: start;
  margin-top: clamp(36px, 4vw, 52px);
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.team-strip > .mono {
  color: var(--muted);
}

.team-strip p {
  max-width: 900px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.team-strip .link-arrow {
  white-space: nowrap;
}

.capability-banner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: end;
  margin-top: clamp(36px, 4vw, 52px);
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.capability-banner .mono {
  color: var(--muted);
}

.capability-banner h3 {
  max-width: 850px;
  margin-top: 12px;
  font-size: clamp(1.4rem, 2vw, 2rem);
  line-height: 1.35;
  letter-spacing: -0.025em;
  font-weight: 500;
}

/* CAD intelligence page */

.page-hero__num--word {
  font-family: var(--mono);
  font-size: clamp(6rem, 15vw, 17rem);
  letter-spacing: -0.09em;
  font-weight: 400;
}

.cad-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: clamp(36px, 5vw, 60px);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.cad-card {
  min-height: 350px;
  padding: 26px 26px 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 0.35s var(--ease);
}

.cad-card:hover {
  background: rgba(215, 255, 79, 0.055);
}

.cad-card__head {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
}

.cad-card__num {
  padding-top: 5px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.cad-card h2 {
  font-size: clamp(1.4rem, 1.8vw, 1.9rem);
  line-height: 1.25;
  letter-spacing: -0.035em;
  font-weight: 500;
}

.cad-card__need {
  margin-top: 8px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

.cad-io {
  margin-top: 22px;
  border-top: 1px solid var(--line);
}

.cad-io div {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}

.cad-io dt {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cad-io dd {
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
}

.cad-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 18px;
}

.cad-tags span {
  padding: 3px 6px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.04em;
}

.cad-standard {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.7fr);
  gap: clamp(30px, 5vw, 80px);
  align-items: start;
  margin-top: clamp(44px, 5vw, 68px);
  padding-top: 28px;
  border-top: 1px solid var(--line-dark);
}

.cad-standard h2 {
  max-width: 14ch;
  font-size: clamp(2rem, 3.2vw, 3.6rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
  font-weight: 500;
}

.cad-standard__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 24px;
  border-top: 1px solid var(--line-dark);
}

.cad-standard__list div {
  padding: 12px 0;
  border-bottom: 1px solid var(--line-dark);
  color: var(--muted-light);
  font-size: 12px;
  line-height: 1.6;
}

.cad-standard__list b {
  color: var(--paper);
  font-weight: 500;
}

.cad-note {
  grid-column: 1 / -1;
  margin-top: 18px;
  color: var(--muted-light);
  font-size: 11px;
  line-height: 1.8;
}

/* Drawing intelligence */
.drawing-list {
  margin-top: clamp(36px, 5vw, 60px);
  border-top: 1px solid var(--line);
}

.drawing-item {
  display: grid;
  grid-template-columns: 112px minmax(190px, 0.42fr) minmax(0, 1.1fr);
  gap: clamp(20px, 3vw, 48px);
  align-items: start;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.drawing-item__num {
  padding-top: 4px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.drawing-item h3 {
  font-size: clamp(1.35rem, 1.9vw, 2rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 500;
  transition: color 0.3s var(--ease);
}

.drawing-item:hover h3 {
  color: var(--acid-ink);
}

.drawing-item__en {
  margin-top: 6px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.drawing-item__body p {
  max-width: 760px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}

.drawing-item__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 12px;
}

.drawing-item__tags span {
  padding: 3px 6px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.04em;
}

.drawing-chain {
  display: flex;
  flex-wrap: wrap;
  margin-top: 34px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.drawing-chain span {
  flex: 1 1 140px;
  padding: 13px 14px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.5;
}

.drawing-chain span:last-child {
  color: var(--ink);
}

.drawing-chain b {
  margin-right: 8px;
  color: var(--acid-ink);
  font-weight: 400;
}

.drawing-note {
  max-width: 820px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.8;
}

.drawing-link {
  margin-top: 26px;
  color: var(--ink);
}

.drawing-video {
  margin-top: clamp(34px, 4.5vw, 56px);
  border: 1px solid var(--line);
  background: var(--ink);
  color: var(--paper);
}

.drawing-video__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line-dark);
  color: var(--muted-light);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.1em;
}

.drawing-video__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
}

.drawing-video__frame video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.drawing-video__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 16px;
  border-top: 1px solid var(--line-dark);
  color: var(--muted-light);
  font-size: 11px;
  line-height: 1.6;
}

.drawing-video__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.video-toggle {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(239, 241, 231, 0.28);
  background: transparent;
  color: var(--paper);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.video-toggle:hover {
  background: var(--acid);
  border-color: var(--acid);
  color: var(--ink);
}

.video-download {
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(239, 241, 231, 0.35);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.04em;
}

/* Rail demand map */

.needs-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(36px, 5vw, 60px);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.need-card {
  display: flex;
  flex-direction: column;
  min-height: 350px;
  padding: 24px 22px 22px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.need-card__head {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.need-card__num {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
}

.need-card h2 {
  font-size: clamp(1.25rem, 1.55vw, 1.55rem);
  line-height: 1.25;
  letter-spacing: -0.025em;
  font-weight: 500;
}

.need-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 20px;
}

.need-list li {
  position: relative;
  padding-left: 14px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.need-list li::before {
  content: "+";
  position: absolute;
  left: 0;
  color: var(--acid-ink);
  font-family: var(--mono);
  font-size: 9px;
}

.need-audience {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
  line-height: 1.65;
}

.need-audience span {
  display: block;
  margin-bottom: 3px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.08em;
}

.rail-summary {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}

.rail-summary__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 24px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.rail-summary__stat {
  min-height: 120px;
  padding: 14px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.rail-summary__stat b {
  display: block;
  font-family: var(--mono);
  font-size: clamp(20px, 2vw, 30px);
  font-weight: 400;
}

.rail-summary__stat span {
  display: block;
  margin-top: 14px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

.rail-agent-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 36px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.rail-agent {
  min-height: 210px;
  padding: 20px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.rail-agent .mono {
  color: var(--muted);
}

.rail-agent h3 {
  margin-top: 44px;
  font-size: 17px;
  font-weight: 500;
}

.rail-agent p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}

/* Capability teaser */

.capability-teaser {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: end;
  margin-top: clamp(34px, 4vw, 52px);
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
}

.capability-teaser .mono {
  color: var(--acid);
}

.capability-teaser h3 {
  max-width: 820px;
  margin-top: 12px;
  font-size: clamp(1.35rem, 2vw, 2.1rem);
  line-height: 1.3;
  letter-spacing: -0.025em;
  font-weight: 500;
}

.capability-teaser__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 16px;
}

.capability-teaser__tags span {
  padding: 4px 7px;
  border: 1px solid var(--line-dark);
  color: var(--muted-light);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.04em;
}

.capability-teaser .link-arrow {
  margin-bottom: 4px;
  color: var(--paper);
}

.scenario-foot {
  display: flex;
  justify-content: flex-end;
  margin-top: 24px;
}

@media (max-width: 1000px) {
  .quote-panel {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .quote-panel__mark {
    height: 58px;
    font-size: 7rem;
  }

  .company-intro,
  .rail-summary,
  .cad-standard {
    grid-template-columns: 1fr;
  }

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

  .mission-card {
    min-height: 250px;
    border-right: 0;
  }

  .mission-card h3 {
    margin-top: 48px;
  }

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

  .team-col:last-child {
    grid-column: 1 / -1;
    min-height: auto;
  }

  .cad-standard__list {
    max-width: 760px;
  }

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

  .rail-agent-grid {
    grid-template-columns: 1fr;
  }

  .rail-agent {
    min-height: 160px;
  }

  .rail-agent h3 {
    margin-top: 28px;
  }
}

@media (max-width: 720px) {
  .quote-panel__text {
    font-size: clamp(1.65rem, 8vw, 2.8rem);
  }

  .company-facts {
    grid-template-columns: 1fr;
  }

  .company-fact {
    min-height: 94px;
  }

  .company-fact p {
    margin-top: 18px;
  }

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

  .team-col:last-child {
    grid-column: auto;
  }

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

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

  .team-strip {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .capability-banner {
    grid-template-columns: 1fr;
    gap: 18px;
  }

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

  .cad-card {
    min-height: auto;
    padding: 20px 18px;
  }

  .cad-standard__list {
    grid-template-columns: 1fr;
  }

  .cad-standard__list div:last-child {
    border-bottom: 1px solid var(--line-dark);
  }

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

  .need-card {
    min-height: auto;
  }

  .rail-summary__stats {
    grid-template-columns: 1fr 1fr;
  }

  .capability-teaser {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .scenario-foot {
    justify-content: flex-start;
  }
}

/* ---------- Responsive ---------- */

@media (max-width: 1180px) {
  .hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
    gap: 28px;
  }

  .hero h1 {
    font-size: clamp(3.2rem, 7vw, 6.1rem);
  }

  .product-tabs {
    grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.22fr);
  }

  .product-tabs__panels {
    padding-left: 32px;
  }

  .product-tab__en {
    display: none;
  }

  .scenario-card {
    min-height: 470px;
    padding: 22px;
  }

  .footer__top {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 1000px) {
  :root {
    --header-h: 70px;
  }

  .nav,
  .header__cta {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }

  .mobile-menu {
    display: block;
  }

  .nav-open .mobile-menu {
    opacity: 1;
    visibility: visible;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 58px;
    padding-bottom: 52px;
  }

  .hero__copy {
    max-width: 740px;
  }

  .hero h1 {
    max-width: 14ch;
    font-size: clamp(3.2rem, 9vw, 6.6rem);
  }

  .hero__visual {
    max-width: 760px;
    margin-top: 18px;
  }

  .aw__stage {
    min-height: 380px;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .section-head__lead {
    justify-self: start;
    max-width: 600px;
  }

  .product-tabs {
    grid-template-columns: 1fr;
  }

  .product-tabs__list {
    border-right: 0;
    border-bottom: 1px solid var(--line-dark);
  }

  .product-tab {
    padding: 19px 16px 19px 0;
  }

  .product-tab__en {
    display: inline;
  }

  .product-tabs__panels {
    padding: 32px 0 12px;
  }

  .product-panel h3 {
    max-width: 22ch;
  }

  .product-index__row {
    grid-template-columns: 36px minmax(130px, 0.8fr) minmax(0, 1.2fr) 18px;
    gap: 12px;
  }

  .product-index__row .where {
    display: none;
  }

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

  .scenario-card {
    min-height: auto;
    padding: 26px;
  }

  .scenario-card__art {
    height: 120px;
    margin: 8px 0 18px;
  }

  .scenario-card__desc {
    max-width: 620px;
  }

  .scenario-card__tags {
    margin-top: 18px;
  }

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

  .process-step {
    min-height: 230px;
    border-bottom: 1px solid var(--line-dark);
  }

  .process-step:nth-child(2) {
    border-right: 0;
  }

  .process-step:nth-child(3) {
    padding-left: 0;
  }

  .process-step h3 {
    margin-top: 46px;
  }

  .tech-split,
  .about-grid,
  .cta__main,
  .page-hero__inner,
  .split-intro,
  .product-detail,
  .industry__head,
  .industry__body,
  .contact-block {
    grid-template-columns: 1fr;
  }

  .page-hero__lead {
    justify-self: start;
    padding-bottom: 0;
  }

  .page-hero__num {
    font-size: clamp(9rem, 30vw, 20rem);
    bottom: -0.1em;
  }

  .aside-sticky {
    position: static;
  }

  .industry__lead {
    padding-bottom: 0;
  }

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

  .value-card {
    min-height: 220px;
  }

  .value-card h3 {
    margin-top: 54px;
  }

  .security-grid,
  .about-stats {
    grid-template-columns: 1fr 1fr;
  }

  .industry__panel {
    max-width: 620px;
  }

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

  .loop-step {
    border-bottom: 1px solid var(--line-dark);
  }

  .loop-step:nth-child(2n) {
    border-right: 0;
  }
}

@media (max-width: 720px) {
  :root {
    --gutter: 18px;
  }

  body {
    font-size: 15px;
  }

  .section {
    padding: 68px 0;
  }

  .header__inner {
    gap: 12px;
  }

  .brand__mark {
    width: 30px;
    height: 30px;
  }

  .brand__zh {
    font-size: 14px;
  }

  .hero {
    min-height: auto;
  }

  .hero__inner {
    padding-top: 44px;
    gap: 30px;
  }

  .hero__eyebrow {
    gap: 9px;
    margin-bottom: 24px;
    font-size: 8px;
  }

  .hero__eyebrow .divider {
    width: 14px;
  }

  .hero h1 {
    font-size: clamp(3rem, 15.2vw, 5rem);
    letter-spacing: -0.065em;
  }

  .hero__lead {
    margin-top: 24px;
    font-size: 13px;
    line-height: 1.85;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__facts {
    gap: 10px;
    margin-top: 34px;
  }

  .hero__fact b {
    font-size: 18px;
  }

  .hero__fact span {
    font-size: 9px;
  }

  .aw__bar {
    gap: 8px;
    padding: 0 9px;
    font-size: 6px;
  }

  .aw__bar .aw__session {
    display: none;
  }

  .aw__stage {
    min-height: 300px;
  }

  .aw__hint {
    display: none;
  }

  .aw-hud {
    font-size: 6px;
  }

  .aw-hud--tl,
  .aw-hud--tr {
    top: 10px;
  }

  .aw-hud--tl { left: 10px; }
  .aw-hud--tr { right: 10px; }
  .aw-hud--bl { left: 10px; bottom: 10px; max-width: 130px; }
  .aw-hud--br { right: 10px; bottom: 10px; }

  .aw__console {
    padding: 12px;
  }

  .aw__prompt {
    font-size: 10px;
  }

  .hero__scroll-right span:nth-child(2) {
    display: none;
  }

  .section-head__title h2 {
    font-size: clamp(2.15rem, 9.4vw, 3.5rem);
  }

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

  .product-tab {
    grid-template-columns: 30px minmax(0, 1fr) 16px;
    gap: 8px;
    padding-right: 8px;
    padding-left: 0;
  }

  .product-tab[aria-selected="true"] {
    padding-left: 12px;
  }

  .product-tab:hover {
    padding-left: 8px;
  }

  .product-tab__body {
    display: block;
  }

  .product-tab__zh {
    font-size: 17px;
  }

  .product-tab__en {
    display: block;
    margin-top: 3px;
    font-size: 6px;
  }

  .product-tabs__panels {
    padding-top: 26px;
  }

  .product-panel__top {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
  }

  .product-panel h3 {
    font-size: 1.8rem;
  }

  .product-panel__desc {
    font-size: 13px;
  }

  .feature-list {
    grid-template-columns: 1fr;
    margin-top: 18px;
  }

  .product-ui {
    margin-top: 24px;
  }

  .product-ui__body {
    grid-template-columns: 1fr;
  }

  .ui-pane + .ui-pane {
    border-left: 0;
    border-top: 1px solid var(--line-dark);
  }

  .ui-canvas {
    min-height: 130px;
  }

  .scenario-card h3 {
    font-size: 1.5rem;
  }

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

  .process-step,
  .process-step:not(:first-child),
  .process-step:nth-child(3) {
    min-height: auto;
    padding: 22px 0 26px;
    border-right: 0;
  }

  .process-step h3 {
    margin-top: 28px;
  }

  .process-step p {
    max-width: none;
  }

  .process-note {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 30px;
  }

  .process-note__item {
    display: block;
  }

  .process-note__item p {
    margin-top: 5px;
  }

  .tech-principles {
    grid-template-columns: 1fr;
  }

  .tech-principle {
    min-height: 108px;
  }

  .tech-principle h3 {
    margin-top: 22px;
  }

  .stack__row {
    grid-template-columns: 26px minmax(0, 1fr);
    gap: 8px;
    padding: 13px 11px;
  }

  .stack__detail {
    grid-column: 2 / 3;
  }

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

  .footer__wordmark strong {
    font-size: clamp(3.2rem, 14vw, 5rem);
  }

  .footer__wordmark .mono {
    display: none;
  }

  .footer__bottom {
    display: block;
  }

  .footer__bottom > span,
  .footer__bottom > a {
    display: block;
    margin-top: 6px;
  }

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

  .form-foot {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .page-hero {
    padding-top: calc(var(--header-h) + 46px);
  }

  .page-hero h1 {
    font-size: clamp(2.6rem, 11vw, 4.6rem);
  }

  .page-hero__lead {
    font-size: 13px;
  }

  .page-hero__num {
    display: none;
  }

  .split-intro__body .lead {
    font-size: 1.25rem;
  }

  .product-index__row {
    grid-template-columns: 28px minmax(0, 1fr) 18px;
    gap: 8px 10px;
    padding: 14px 0;
  }

  .product-index__row .what,
  .product-index__row .where {
    grid-column: 2 / 3;
  }

  .product-index__row .where {
    grid-column: 2 / 4;
  }

  .blueprint__stage {
    min-height: 300px;
    padding: 18px 12px;
  }

  .blueprint__stage > svg {
    height: 230px;
  }

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

  .blueprint__foot div {
    padding: 9px 8px;
    border-right: 1px solid var(--line-dark);
    border-bottom: 0;
  }

  .blueprint__foot div:last-child {
    border-right: 0;
    border-bottom: 0;
  }

  .blueprint__foot span {
    font-size: 5.5px;
  }

  .blueprint__foot b {
    font-size: 9px;
    overflow-wrap: anywhere;
  }

  .product-detail {
    padding: 48px 0;
  }

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

  .capability {
    min-height: 100px;
  }

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

  .workflow-step {
    min-height: 130px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .workflow-step:last-child {
    border-bottom: 0;
  }

  .workflow-step h3 {
    margin-top: 24px;
  }

  .industry {
    padding: 48px 0;
  }

  .industry h2 {
    font-size: clamp(2.2rem, 11vw, 3.5rem);
  }

  .industry__body {
    margin-top: 30px;
  }

  .task-item {
    grid-template-columns: 24px 1fr;
  }

  .task-item .mono {
    display: none;
  }

  .arch-layer {
    grid-template-columns: 30px 1fr;
    gap: 10px;
  }

  .arch-layer__detail {
    grid-column: 2 / 3;
    grid-template-columns: 1fr;
  }

  .agent-loop,
  .security-grid {
    grid-template-columns: 1fr;
  }

  .loop-step {
    border-right: 0;
  }

  .security-item {
    min-height: 150px;
  }

  .security-item h3 {
    margin-top: 30px;
  }

  .about-stats {
    grid-template-columns: 1fr 1fr;
  }

  .about-stat {
    min-height: 130px;
  }

  .about-fact {
    grid-template-columns: 72px 1fr;
    gap: 12px;
  }

  .manifesto {
    font-size: clamp(2rem, 9vw, 3.2rem);
  }

  .value-card {
    min-height: 200px;
  }

  .cta h2 {
    font-size: clamp(2.7rem, 12vw, 4.2rem);
  }

  .cta__top {
    display: block;
  }

  .cta__top .mono {
    display: block;
    margin-top: 4px;
  }

  .contact-line {
    display: block;
  }

  .contact-line span {
    display: block;
    margin-bottom: 3px;
  }
}

@media (scripting: none) {
  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .agent-window:hover .part-svg .model-turn {
    transform: none;
  }

  .solve-sweep {
    display: none;
  }
}

@media (hover: none) {
  .aw__hint {
    display: none;
  }
}

@media (max-width: 1000px) {
  .drawing-item {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 18px 24px;
  }

  .drawing-item__body {
    grid-column: 2;
  }
}

@media (max-width: 720px) {
  .drawing-item {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 22px 0;
  }

  .drawing-item__body {
    grid-column: auto;
  }

  .drawing-item__num {
    padding-top: 0;
  }

  .drawing-chain span {
    flex-basis: 100%;
    border-right: 0;
  }

  .drawing-video__foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .drawing-video__actions {
    width: 100%;
    justify-content: space-between;
  }
}
