:root {
  --paper: #f1efe7;
  --paper-2: #e7e5dc;
  --ink: #0a1a26;
  --ink-2: #213642;
  --steel: #708793;
  --line: rgba(10, 26, 38, 0.16);
  --brand: #1769d7;
  --brand-dark: #0b4cb2;
  --signal: #ff6432;
  --signal-soft: #ffd6c7;
  --cyan: #7ec7d8;
  --night: #071a26;
  --night-2: #0b2634;
  --white: #f7f7f2;
  --sans: "Source Han Sans SC", "HarmonyOS Sans SC", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
  --tech: "Bahnschrift", "DIN Alternate", "Arial Narrow", "Arial", sans-serif;
  --header-h: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

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

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

button,
input,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

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

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

:focus-visible {
  outline: 3px solid var(--signal);
  outline-offset: 4px;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: var(--header-h);
  padding: 0 clamp(24px, 4vw, 68px);
  color: var(--white);
  background: rgba(5, 20, 29, 0.93);
  border-bottom: 1px solid rgba(232, 240, 241, 0.14);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 13px;
  min-width: 0;
}

.brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.brand-name {
  display: grid;
  gap: 2px;
}

.brand-name strong {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.brand-name small {
  color: #8aa6b1;
  font-family: var(--tech);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.7vw, 44px);
  font-size: 15px;
  font-weight: 650;
}

.main-nav a {
  position: relative;
  padding: 28px 0 24px;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 18px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--signal);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 220ms ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left center;
}

.header-contact {
  display: grid;
  justify-self: end;
  justify-items: end;
  gap: 2px;
  padding-left: 20px;
  border-left: 1px solid rgba(232, 240, 241, 0.2);
}

.header-contact span {
  color: #82a0ac;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.header-contact strong {
  font-family: var(--tech);
  font-size: 18px;
  font-weight: 650;
  letter-spacing: 0.02em;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(560px, 0.72fr) minmax(0, 1.28fr);
  grid-template-rows: minmax(0, 1fr) 64px;
  height: calc(100svh - var(--header-h));
  min-height: 700px;
  padding: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 76% 26%, rgba(58, 107, 122, 0.18), transparent 43%),
    linear-gradient(rgba(120, 161, 176, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 161, 176, 0.045) 1px, transparent 1px),
    var(--night);
  background-size: auto, 64px 64px, 64px 64px, auto;
  color: var(--white);
}

.hero.has-detail {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
}

.hero::before,
.hero::after {
  position: absolute;
  z-index: 0;
  width: 22px;
  height: 22px;
  content: "";
  border-color: rgba(10, 26, 38, 0.38);
  border-style: solid;
  pointer-events: none;
}

.hero::before {
  top: 28px;
  left: clamp(24px, 4vw, 68px);
  border-width: 1px 0 0 1px;
  border-color: rgba(206, 226, 231, 0.28);
}

.hero::after {
  right: clamp(24px, 4vw, 68px);
  bottom: 98px;
  border-width: 0 1px 1px 0;
  border-color: rgba(206, 226, 231, 0.2);
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: clamp(42px, 6vh, 74px) clamp(24px, 3vw, 54px) clamp(32px, 4.5vh, 58px) clamp(24px, 3.2vw, 58px);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0;
  width: fit-content;
  margin-bottom: clamp(24px, 4.5vh, 46px);
  border: 1px solid rgba(230, 241, 243, 0.3);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.eyebrow span {
  padding: 9px 14px;
}

.eyebrow span + span {
  color: #9bb2bb;
  border-left: 1px solid rgba(230, 241, 243, 0.18);
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(58px, 6.35vw, 102px);
  font-weight: 900;
  letter-spacing: -0.065em;
  line-height: 0.98;
}

.title-accent {
  position: relative;
  z-index: 0;
  color: #71b5ff;
  white-space: nowrap;
}

.title-accent::after {
  position: absolute;
  right: -5px;
  bottom: 0.06em;
  left: 0;
  z-index: -1;
  height: 0.13em;
  content: "";
  background: var(--signal);
}

.hero-lead {
  max-width: 590px;
  margin: clamp(28px, 4.2vh, 48px) 0 0;
  color: #b2c5cb;
  font-size: clamp(17px, 1.28vw, 20px);
  font-weight: 450;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: clamp(30px, 4.5vh, 50px);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 54px;
  padding: 0 24px;
  border: 1px solid var(--ink);
  font-size: 15px;
  font-weight: 750;
  letter-spacing: 0.02em;
  transition:
    color 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.button svg {
  width: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: square;
  stroke-width: 1.8;
  transition: transform 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:hover svg {
  transform: translateX(4px);
}

.button-primary {
  color: var(--white);
  background: var(--signal);
  border-color: var(--signal);
}

.button-primary:hover {
  color: var(--ink);
  background: var(--white);
  border-color: var(--white);
}

.button-quiet {
  color: var(--white);
  background: rgba(255, 255, 255, 0.035);
  border-color: rgba(255, 255, 255, 0.52);
}

.button-quiet:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
}

.capability-line {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 620px;
  margin-top: clamp(30px, 4.8vh, 56px);
  border-top: 1px solid rgba(232, 240, 241, 0.18);
}

.capability-line span {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 16px 10px 0 0;
  color: #8ca6b0;
  font-size: 13px;
  font-weight: 650;
  white-space: nowrap;
}

.capability-line b {
  color: var(--signal);
  font-family: var(--tech);
  font-size: 11px;
  font-weight: 650;
}

.mobile-flow-core {
  display: none;
}

.hero-copy.is-detail-open > :not(.hero-detail-panel) {
  display: none;
}

.hero-detail-panel {
  display: grid;
  width: 100%;
  max-width: 580px;
  gap: 13px;
  animation: detail-in 280ms ease both;
}

.hero-copy.is-detail-open {
  padding-block: clamp(26px, 3.5vh, 38px);
}

.hero-copy.is-detail-open .hero-detail-panel {
  max-width: none;
  height: 100%;
  max-height: 660px;
  grid-template-rows: auto auto auto auto minmax(0, 1fr);
  gap: clamp(13px, 2vh, 20px);
}

.hero-copy.is-detail-open .hero-detail-panel h2 {
  font-size: clamp(42px, 4vw, 64px);
}

.hero-copy.is-detail-open .detail-body {
  min-height: 280px;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(18px, 2.2vw, 32px);
}

.hero-copy.is-detail-open .detail-media img {
  height: 100%;
  min-height: 0;
  aspect-ratio: auto;
}

.hero-copy.is-detail-open .detail-facts {
  justify-content: flex-start;
  gap: clamp(12px, 1.7vh, 18px);
}

.hero-copy.is-detail-open .detail-facts li {
  font-size: 12px;
}

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

.detail-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(219, 235, 239, 0.24);
}

.detail-topline > span,
.detail-source {
  color: var(--signal);
  font-family: var(--tech);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.1em;
}

.detail-close {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 0 5px 9px;
  color: #bdd0d6;
  background: transparent;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 650;
}

.detail-close i {
  position: relative;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(204, 223, 228, 0.34);
}

.detail-close i::before,
.detail-close i::after {
  position: absolute;
  top: 8px;
  left: 4px;
  width: 8px;
  height: 1px;
  content: "";
  background: currentColor;
  transform: rotate(45deg);
}

.detail-close i::after {
  transform: rotate(-45deg);
}

.detail-close:hover,
.detail-close:focus-visible {
  color: var(--white);
}

.detail-source {
  margin: -2px 0 0;
  color: #8ba8b2;
}

.hero-detail-panel h2 {
  margin: -2px 0 0;
  color: var(--white);
  font-size: clamp(38px, 4vw, 58px);
  font-weight: 850;
  letter-spacing: -0.055em;
  line-height: 1.05;
}

.detail-summary {
  margin: 0;
  color: #b5c8ce;
  font-size: 16px;
  line-height: 1.75;
}

.detail-body {
  display: grid;
  grid-template-columns: minmax(150px, 0.9fr) minmax(0, 1.1fr);
  align-items: stretch;
  gap: 17px;
  margin-top: 2px;
}

.detail-media {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: #091d28;
  border: 1px solid rgba(198, 219, 225, 0.2);
}

.detail-media img {
  width: 100%;
  height: 100%;
  min-height: 164px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.detail-media figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 8px 9px;
  color: #d6e3e7;
  background: rgba(3, 16, 25, 0.78);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.05em;
}

.detail-facts {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  min-width: 0;
}

.detail-note {
  display: grid;
  gap: 6px;
}

.detail-note span {
  color: var(--signal);
  font-family: var(--tech);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.12em;
}

.detail-note p {
  margin: 0;
  color: #a8bec5;
  font-size: 13px;
  line-height: 1.65;
}

.detail-note-context {
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(185, 211, 218, 0.16);
}

.detail-note-outcome {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(185, 211, 218, 0.16);
}

.detail-facts ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.detail-facts li {
  position: relative;
  padding-left: 14px;
  color: #d5e2e5;
  font-size: 13px;
  line-height: 1.55;
}

.detail-facts li::before {
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 6px;
  height: 1px;
  content: "";
  background: var(--signal);
}

.detail-media img.is-contain {
  padding: 10px;
  object-fit: contain;
  background:
    linear-gradient(rgba(126, 199, 216, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(126, 199, 216, 0.045) 1px, transparent 1px),
    #091d28;
  background-size: 24px 24px;
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.detail-tags span {
  padding: 4px 7px;
  color: #b7cbd1;
  border: 1px solid rgba(185, 211, 218, 0.24);
  font-size: 11px;
  line-height: 1.35;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 0;
  padding: 0 clamp(14px, 1.8vw, 30px) 0 0;
  overflow: hidden;
  isolation: isolate;
}

.hero-visual::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    radial-gradient(circle at 48% 44%, rgba(52, 107, 123, 0.24), transparent 47%),
    linear-gradient(rgba(121, 166, 181, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(121, 166, 181, 0.04) 1px, transparent 1px);
  background-size: auto, 48px 48px, 48px 48px;
}

.hero-visual::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, var(--night) 0%, rgba(7, 26, 38, 0.62) 7%, transparent 20%),
    radial-gradient(ellipse at center, transparent 55%, rgba(5, 18, 26, 0.38) 100%);
}

.system-board {
  display: none !important;
}

.hero-system-overlay {
  display: none;
}

.warehouse-viewer {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: none;
  margin: auto;
}

.viewer-canvas {
  --pointer-x: 52%;
  --pointer-y: 44%;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #071722;
  border: 1px solid rgba(220, 237, 241, 0.2);
  box-shadow:
    0 26px 66px rgba(0, 8, 14, 0.32),
    10px 10px 0 rgba(5, 19, 28, 0.16);
  isolation: isolate;
}

.viewer-canvas::before,
.viewer-canvas::after {
  position: absolute;
  inset: 0;
  z-index: 4;
  content: "";
  pointer-events: none;
}

.viewer-canvas::before {
  background:
    linear-gradient(90deg, rgba(3, 15, 23, 0.44), transparent 22%, transparent 82%, rgba(3, 15, 23, 0.28)),
    linear-gradient(180deg, rgba(3, 15, 23, 0.15), transparent 34%, rgba(3, 15, 23, 0.2));
}

.viewer-canvas::after {
  opacity: 0.28;
  background:
    linear-gradient(rgba(160, 201, 215, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(160, 201, 215, 0.18) 1px, transparent 1px);
  background-size: 48px 48px;
  mix-blend-mode: soft-light;
}

.viewer-layer {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  filter: saturate(0.88) contrast(1.04) brightness(0.98);
}

.viewer-dim {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(circle at 50% 44%, rgba(8, 22, 31, 0.34), rgba(1, 8, 14, 0.74)),
    rgba(1, 8, 14, 0.24);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.warehouse-viewer[data-active] .viewer-dim {
  opacity: 1;
}

.viewer-highlight {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  pointer-events: none;
  filter: saturate(1.1) contrast(1.04) brightness(1.1);
  transition: opacity 220ms ease;
  will-change: opacity;
}

.warehouse-viewer[data-active="pallet"] .viewer-highlight-pallet,
.warehouse-viewer[data-active="asrs"] .viewer-highlight-asrs,
.warehouse-viewer[data-active="stacker"] .viewer-highlight-stacker,
.warehouse-viewer[data-active="control"] .viewer-highlight-control,
.warehouse-viewer[data-active="agv"] .viewer-highlight-agv,
.warehouse-viewer[data-active="ai"] .viewer-highlight-ai {
  opacity: 1;
}

.viewer-light {
  position: absolute;
  inset: 0;
  z-index: 5;
  background: radial-gradient(
    circle 190px at var(--pointer-x) var(--pointer-y),
    rgba(255, 126, 67, 0.18),
    rgba(78, 143, 164, 0.08) 38%,
    transparent 72%
  );
  opacity: 0;
  mix-blend-mode: screen;
  pointer-events: none;
  transition: opacity 200ms ease;
}

.warehouse-viewer:is(:hover, [data-active]) .viewer-light {
  opacity: 1;
}

.viewer-scan {
  position: absolute;
  top: 8%;
  bottom: 8%;
  left: -3%;
  z-index: 6;
  width: 1px;
  background: linear-gradient(transparent, rgba(255, 133, 76, 0.96), transparent);
  box-shadow: 0 0 26px rgba(255, 100, 50, 0.72);
  pointer-events: none;
  animation: viewer-scan 3.2s cubic-bezier(0.3, 0.6, 0.3, 1) 0.8s 1 both;
}

.viewer-hint {
  position: absolute;
  top: 16px;
  left: 18px;
  z-index: 9;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  color: #c9d9de;
  background: rgba(4, 17, 25, 0.66);
  border: 1px solid rgba(201, 217, 222, 0.22);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.06em;
  backdrop-filter: blur(12px);
  pointer-events: none;
}

.viewer-hint i {
  position: relative;
  display: block;
  width: 7px;
  height: 7px;
  border: 1px solid var(--signal);
  border-radius: 50%;
}

.viewer-hint i::after {
  position: absolute;
  inset: 2px;
  content: "";
  background: var(--signal);
  border-radius: inherit;
  animation: hint-pulse 1.8s ease-out infinite;
}

.viewer-dock {
  display: grid;
  gap: 6px;
  margin-top: 8px;
}

.viewer-tooltip {
  display: grid;
  grid-template-columns: 130px minmax(135px, 0.72fr) minmax(0, 1.4fr);
  align-items: center;
  gap: 14px;
  min-height: 56px;
  padding: 10px 15px;
  color: #b2c5cb;
  background: rgba(4, 17, 25, 0.82);
  border: 1px solid rgba(184, 207, 213, 0.2);
  pointer-events: none;
  backdrop-filter: blur(14px);
}

.viewer-tooltip small {
  color: var(--signal);
  font-family: var(--tech);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.5;
}

.viewer-tooltip strong {
  color: var(--white);
  font-size: 16px;
  font-weight: 750;
  line-height: 1.4;
}

.viewer-tooltip span {
  font-size: 13px;
  line-height: 1.6;
}

.viewer-zone-legend {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border: 1px solid rgba(184, 207, 213, 0.2);
  background: rgba(4, 17, 25, 0.82);
  backdrop-filter: blur(14px);
}

.viewer-zone-legend button {
  min-width: 0;
  min-height: 48px;
  padding: 8px 10px;
  overflow: hidden;
  color: #9eb5be;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 13px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition:
    color 160ms ease,
    background-color 160ms ease;
}

.viewer-zone-legend button + button {
  border-left: 1px solid rgba(184, 207, 213, 0.16);
}

.viewer-zone-legend button:hover,
.viewer-zone-legend button:focus-visible,
.viewer-zone-legend button[aria-pressed="true"] {
  color: var(--white);
  background: rgba(255, 100, 50, 0.2);
}

.viewer-zone-legend b {
  margin-right: 4px;
  color: var(--signal);
  font-family: var(--tech);
  font-size: 10px;
  font-weight: 600;
}

.zone-hotspot {
  position: absolute;
  z-index: 8;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  cursor: pointer;
  touch-action: manipulation;
}

.zone-hotspot:focus-visible {
  outline: 2px dashed var(--signal);
  outline-offset: 1px;
}

.zone-pallet {
  top: 2%;
  left: 15%;
  width: 39%;
  height: 56%;
}

.zone-asrs {
  top: 11%;
  left: 52%;
  width: 20%;
  height: 32%;
}

.zone-stacker-primary {
  top: 32%;
  left: 38%;
  width: 35%;
  height: 23%;
}

.zone-stacker-secondary {
  top: 50%;
  left: 23%;
  width: 13%;
  height: 18%;
}

.zone-stacker-tertiary {
  top: 48%;
  left: 43%;
  width: 10%;
  height: 18%;
}

.zone-control {
  top: 35%;
  left: 68%;
  width: 20%;
  height: 35%;
}

.zone-agv {
  top: 48%;
  left: 52%;
  width: 18%;
  height: 21%;
}

.zone-ai {
  top: 58%;
  left: 34%;
  width: 13%;
  height: 14%;
}

.system-board {
  display: grid;
  grid-template-rows: 54px minmax(0, 1fr) 50px;
  width: 100%;
  min-height: 520px;
  color: var(--white);
  background: var(--night);
  border: 1px solid rgba(10, 26, 38, 0.2);
  box-shadow: 22px 26px 0 rgba(10, 26, 38, 0.055);
}

.board-header,
.board-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  color: #8eaab8;
  font-family: var(--tech);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.board-header {
  border-bottom: 1px solid rgba(142, 170, 184, 0.25);
}

.board-header span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #dce8eb;
}

.board-header i {
  width: 6px;
  height: 6px;
  background: var(--signal);
  border-radius: 50%;
}

.board-stage {
  position: relative;
  min-height: 0;
  overflow: hidden;
}

.warehouse-map {
  width: 100%;
  height: 100%;
  min-height: 100%;
}

.board-index {
  position: absolute;
  top: 20px;
  right: 24px;
  color: rgba(232, 242, 244, 0.13);
  font-family: var(--tech);
  font-size: clamp(66px, 7vw, 116px);
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
}

.board-axis {
  position: absolute;
  right: 24px;
  bottom: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #89a9b7;
  font-family: var(--tech);
  font-size: 9px;
}

.board-axis i {
  width: 36px;
  height: 1px;
  background: #89a9b7;
  transform: rotate(-17deg);
}

.board-legend,
.board-boundaries {
  position: absolute;
  z-index: 2;
  display: flex;
  color: #8fa9b4;
  font-family: var(--tech);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.board-legend {
  top: 20px;
  left: 24px;
  gap: 16px;
  padding: 7px 10px;
  background: rgba(8, 27, 39, 0.8);
  border: 1px solid rgba(143, 169, 180, 0.2);
}

.board-legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.board-legend i {
  display: block;
  width: 20px;
  height: 1px;
}

.legend-solid {
  background: #d5e7eb;
}

.legend-dashed {
  background: repeating-linear-gradient(90deg, var(--signal) 0 4px, transparent 4px 8px);
}

.board-boundaries {
  right: 24px;
  bottom: 19px;
  left: 24px;
  justify-content: space-between;
  padding-top: 9px;
  border-top: 1px solid rgba(143, 169, 180, 0.18);
}

.board-boundaries b {
  margin-right: 7px;
  color: var(--signal);
  font-size: 8px;
  font-weight: 600;
}

.node-labels text {
  font-size: 16px;
  font-weight: 600;
}

.board-footer {
  border-top: 1px solid rgba(142, 170, 184, 0.25);
}

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

.status-dot {
  width: 6px;
  height: 6px;
  background: #71d7b6;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(113, 215, 182, 0.08);
}

.flow-pulse {
  animation: flow-line 7s linear infinite;
}

.control-link {
  animation: data-line 4s linear infinite;
}

.system-node {
  opacity: 0.56;
  transition: opacity 200ms ease;
}

.system-node.is-current {
  opacity: 1;
}

.system-node.is-current circle:nth-of-type(2) {
  animation: node-pulse 1.8s ease-out infinite;
}

.scene-objects > g {
  opacity: 0.58;
  transition: opacity 200ms ease;
}

.scene-objects > g.is-current {
  opacity: 1;
}

.hero-ruler {
  position: relative;
  z-index: 3;
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: 1.15fr repeat(5, 1fr);
  align-items: stretch;
  padding: 0 clamp(24px, 4vw, 68px);
  background:
    linear-gradient(90deg, rgba(5, 20, 29, 0.96), rgba(5, 20, 29, 0.72) 52%, rgba(5, 20, 29, 0.2));
  border: 0;
  isolation: isolate;
  overflow: hidden;
}

.hero-ruler::before {
  position: absolute;
  top: 18px;
  right: clamp(24px, 4vw, 68px);
  left: clamp(24px, 4vw, 68px);
  z-index: -1;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, var(--signal), rgba(255, 100, 50, 0.26) 28%, rgba(156, 177, 186, 0.2));
}

.hero-ruler span {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 64px;
  padding: 18px 16px 0;
  color: #c3d2d6;
  font-size: 13px;
  font-weight: 650;
  white-space: nowrap;
}

.hero-ruler span:not(.ruler-label)::before {
  position: absolute;
  top: 15px;
  left: 16px;
  width: 5px;
  height: 5px;
  content: "";
  background: #071a26;
  border: 1px solid var(--signal);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(7, 26, 38, 0.88);
}

.hero-ruler span + span {
  border-left: 0;
}

.hero-ruler b {
  color: var(--brand);
  font-family: var(--tech);
  font-size: 12px;
  letter-spacing: 0.05em;
}

.ruler-label {
  display: flex;
  gap: 0;
  padding-left: 0;
  color: #718e99;
  font-family: var(--tech);
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.16em;
}

.ruler-label::after {
  width: 34px;
  height: 1px;
  margin-left: 12px;
  content: "";
  background: var(--signal);
}

.reveal {
  animation: reveal-up 720ms cubic-bezier(0.2, 0.75, 0.2, 1) both;
}

.hero h1.reveal {
  animation-delay: 60ms;
}

.hero-lead.reveal {
  animation-delay: 120ms;
}

.hero-actions.reveal {
  animation-delay: 180ms;
}

.capability-line.reveal {
  animation-delay: 240ms;
}

.hero-visual.reveal {
  animation-delay: 130ms;
}

.systems {
  position: relative;
  padding: clamp(92px, 10vw, 154px) clamp(24px, 5.4vw, 90px);
  color: #e8f0f1;
  background:
    linear-gradient(90deg, rgba(147, 184, 197, 0.06) 1px, transparent 1px),
    linear-gradient(rgba(147, 184, 197, 0.06) 1px, transparent 1px),
    var(--night);
  background-size: 72px 72px, 72px 72px, auto;
  overflow: hidden;
}

.systems::before {
  position: absolute;
  top: 0;
  right: 8vw;
  width: 1px;
  height: 10%;
  content: "";
  background: var(--signal);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  align-items: end;
  gap: 60px;
  max-width: 1520px;
  margin: 0 auto clamp(48px, 6vw, 82px);
}

.section-index {
  margin: 0 0 18px;
  color: var(--signal);
  font-family: var(--tech);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.18em;
}

.section-heading h2,
.contact-strip h2 {
  margin: 0;
  font-size: clamp(48px, 5.1vw, 78px);
  font-weight: 850;
  letter-spacing: -0.055em;
  line-height: 1.08;
}

.section-summary {
  margin: 0;
  padding-left: 22px;
  color: #9cb1ba;
  border-left: 1px solid rgba(156, 177, 186, 0.32);
  font-size: 16px;
  line-height: 1.9;
}

.scenario-bar {
  display: grid;
  grid-template-columns: minmax(260px, 0.65fr) minmax(0, 2fr);
  max-width: 1520px;
  margin: 0 auto;
  background: rgba(11, 34, 48, 0.46);
  border-top: 1px solid rgba(156, 177, 186, 0.28);
  border-bottom: 1px solid rgba(156, 177, 186, 0.28);
}

.scenario-intro {
  position: relative;
  min-width: 0;
  padding: 27px 30px 25px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 100, 50, 0.065), transparent 56%),
    rgba(7, 26, 38, 0.58);
  border-left: 2px solid var(--signal);
}

.scenario-intro::after {
  position: absolute;
  right: 14px;
  bottom: -30px;
  color: rgba(197, 219, 225, 0.045);
  content: "03";
  font-family: var(--tech);
  font-size: 112px;
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
}

.scenario-label {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #829ca6;
  font-family: var(--tech);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.13em;
}

.scenario-label b {
  color: var(--signal);
  font-size: 10px;
  font-weight: 700;
}

.scenario-intro h3 {
  position: relative;
  z-index: 1;
  max-width: 310px;
  margin: 14px 0 8px;
  color: #edf4f4;
  font-size: clamp(20px, 1.6vw, 27px);
  font-weight: 760;
  letter-spacing: -0.025em;
  line-height: 1.36;
}

.scenario-intro p {
  position: relative;
  z-index: 1;
  max-width: 300px;
  margin: 0;
  color: #829da7;
  font-size: 12px;
  line-height: 1.65;
}

.scenario-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  min-width: 0;
  border-left: 1px solid rgba(156, 177, 186, 0.18);
}

.scenario-item {
  position: relative;
  min-width: 0;
  padding: 25px 26px 24px;
  border-left: 1px solid rgba(156, 177, 186, 0.18);
}

.scenario-item:first-child {
  border-left: 0;
}

.scenario-item::before {
  position: absolute;
  top: -1px;
  right: 26px;
  left: 26px;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, rgba(255, 100, 50, 0.8), transparent 74%);
  opacity: 0.55;
}

.scenario-item-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.scenario-item-head span {
  color: var(--signal);
  font-family: var(--tech);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.08em;
}

.scenario-item-head strong {
  color: #e8f0f1;
  font-size: 16px;
  font-weight: 750;
}

.scenario-item p {
  margin: 12px 0 0;
  color: #91a8b1;
  font-size: 13px;
  line-height: 1.72;
}

.system-workbench {
  display: grid;
  grid-template-columns: minmax(270px, 350px) minmax(0, 1fr);
  max-width: 1520px;
  margin: clamp(30px, 4vw, 52px) auto 0;
  border: 1px solid rgba(156, 177, 186, 0.3);
}

.stage-index {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #0b2230;
  border-right: 1px solid rgba(156, 177, 186, 0.3);
}

.stage-index-head {
  display: flex;
  justify-content: space-between;
  padding: 22px 22px 18px;
  color: #89a2ac;
  border-bottom: 1px solid rgba(156, 177, 186, 0.24);
  font-family: var(--tech);
  font-size: 11px;
  letter-spacing: 0.13em;
}

.stage-index-head strong {
  color: #d7e5e8;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.02em;
}

.stage-tabs {
  display: grid;
}

.stage-tab {
  position: relative;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 14px;
  align-items: center;
  gap: 12px;
  min-height: 91px;
  padding: 16px 21px;
  color: #d7e3e5;
  text-align: left;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(156, 177, 186, 0.18);
  cursor: pointer;
  transition:
    color 180ms ease,
    background-color 180ms ease;
}

.stage-tab:hover {
  background: rgba(255, 255, 255, 0.035);
}

.stage-tab > span:nth-child(2) {
  display: grid;
  gap: 4px;
}

.stage-tab strong {
  font-size: 16px;
  font-weight: 750;
}

.stage-tab small {
  color: #809aa5;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.stage-no {
  color: var(--signal);
  font-family: var(--tech);
  font-size: 12px;
  font-weight: 600;
}

.stage-tab i {
  width: 8px;
  height: 8px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  opacity: 0.42;
  transform: rotate(45deg);
}

.stage-tab.is-active {
  color: var(--ink);
  background: #edf0e9;
}

.stage-tab.is-active::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  content: "";
  background: var(--signal);
}

.stage-tab.is-active small {
  color: #63737a;
}

.stage-index-note {
  display: grid;
  gap: 8px;
  margin: auto 0 0;
  padding: 22px;
  color: #8ea6af;
  font-size: 13px;
  line-height: 1.65;
}

.stage-index-note span {
  color: #c5d5d9;
  font-weight: 700;
}

.stage-display {
  display: grid;
  grid-template-rows: minmax(230px, 27vh) 1fr;
  min-width: 0;
  background: #edf0e9;
}

.stage-art {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  color: #dcebed;
  background-color: #0a2533;
  background-image:
    linear-gradient(90deg, rgba(4, 18, 27, 0.9) 0%, rgba(4, 18, 27, 0.4) 40%, rgba(4, 18, 27, 0.82) 100%),
    linear-gradient(0deg, rgba(4, 18, 27, 0.78), transparent 48%),
    var(--stage-image, none);
  background-position: center;
  background-size: cover;
  border-bottom: 1px solid rgba(10, 26, 38, 0.38);
}

.stage-art-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(135, 178, 192, 0.07) 1px, transparent 1px),
    linear-gradient(rgba(135, 178, 192, 0.07) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.42;
}

.stage-art::before {
  position: absolute;
  top: 26px;
  left: 28px;
  width: 52px;
  height: 52px;
  content: "";
  border-top: 1px solid rgba(147, 188, 201, 0.38);
  border-left: 1px solid rgba(147, 188, 201, 0.38);
}

.stage-art-number {
  position: absolute;
  right: 32px;
  bottom: -12px;
  color: rgba(225, 239, 242, 0.055);
  font-family: var(--tech);
  font-size: clamp(92px, 10vw, 142px);
  font-weight: 700;
  line-height: 1;
}

.stage-art-axis {
  position: absolute;
  top: 28px;
  right: 30px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #7fa1ae;
  font-family: var(--tech);
  font-size: 11px;
}

.stage-art-axis i {
  width: 66px;
  height: 1px;
  background: currentColor;
  transform: rotate(-18deg);
}

.stage-art-label {
  position: absolute;
  bottom: 16px;
  left: 30px;
  z-index: 3;
  color: #8aa7b1;
  font-family: var(--tech);
  font-size: 12px;
  letter-spacing: 0.16em;
}

.stage-render-note {
  position: absolute;
  right: 30px;
  bottom: 16px;
  z-index: 3;
  color: rgba(188, 208, 214, 0.58);
  font-family: var(--tech);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.stage-topology {
  position: absolute;
  top: 64px;
  right: 30px;
  bottom: 40px;
  left: 30px;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 68px minmax(0, 1.15fr) 68px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  display: none;
}

.topology-node {
  display: grid;
  align-content: center;
  gap: 7px;
  min-width: 0;
  min-height: 94px;
  padding: 14px 16px;
  background: rgba(7, 26, 38, 0.84);
  border: 1px solid rgba(143, 169, 180, 0.22);
}

.topology-node small {
  color: #6f919e;
  font-family: var(--tech);
  font-size: 8px;
  letter-spacing: 0.12em;
}

.topology-node strong {
  overflow: hidden;
  color: #e6eff1;
  font-size: 13px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.topology-node span {
  overflow: hidden;
  color: #8ba4ae;
  font-size: 9px;
  line-height: 1.5;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.topology-current {
  min-height: 116px;
  background: rgba(16, 54, 71, 0.94);
  border-color: var(--signal);
  box-shadow: inset 3px 0 0 var(--signal);
}

.topology-current small {
  color: var(--signal);
}

.topology-current strong {
  color: var(--white);
  font-size: 17px;
}

.topology-link {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 10px;
  color: #6f8d99;
  font-family: var(--tech);
  font-size: 7px;
  letter-spacing: 0.06em;
}

.topology-link i {
  position: relative;
  width: 100%;
  height: 1px;
  background: #688a98;
}

.topology-link i::after {
  position: absolute;
  top: -3px;
  right: 0;
  width: 6px;
  height: 6px;
  content: "";
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}

.topology-link-data i {
  background: repeating-linear-gradient(90deg, var(--signal) 0 4px, transparent 4px 8px);
}

.stage-route {
  position: absolute;
  top: 50%;
  left: 3%;
  width: 94%;
  height: 58%;
  overflow: visible;
  transform: translateY(-45%);
}

.stage-route path {
  fill: none;
  vector-effect: non-scaling-stroke;
}

.route-ghost {
  stroke: rgba(133, 168, 181, 0.35);
  stroke-width: 1;
}

.route-active {
  stroke: var(--signal);
  stroke-width: 2;
  stroke-dasharray: 7 9;
  animation: flow-line 9s linear infinite;
}

.stage-route circle {
  fill: #0a2533;
  stroke: #7fa4b1;
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
  transition:
    fill 200ms ease,
    stroke 200ms ease,
    r 200ms ease;
}

.stage-route circle.is-active {
  fill: var(--signal);
  stroke: var(--signal);
  r: 10px;
}

.stage-panel {
  grid-column: 1;
  grid-row: 2;
  align-self: stretch;
  min-width: 0;
  padding: clamp(30px, 3.6vw, 54px);
  color: var(--ink);
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.stage-panel.is-active {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  animation: panel-in 260ms ease both;
}

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

.panel-kicker {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: 0 0 17px;
  color: var(--steel);
  font-family: var(--tech);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.1em;
}

.panel-kicker span:first-child {
  color: var(--brand);
}

.stage-panel h3 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 850;
  letter-spacing: -0.04em;
  line-height: 1.22;
}

.panel-description {
  max-width: 760px;
  margin: 20px 0 0;
  color: #4c5b63;
  font-size: 16px;
  line-height: 1.85;
}

.module-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.module-tags span {
  padding: 8px 11px;
  color: #31434c;
  background: rgba(255, 255, 255, 0.46);
  border: 1px solid rgba(10, 26, 38, 0.18);
  font-size: 13px;
  font-weight: 650;
}

.downstream-flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr) 28px minmax(0, 1fr);
  align-items: center;
  gap: 13px;
  margin-top: 32px;
  padding-top: 25px;
  border-top: 1px solid rgba(10, 26, 38, 0.16);
}

.downstream-flow > div {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.downstream-flow small {
  color: var(--steel);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.06em;
}

.downstream-flow strong {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.flow-arrow {
  color: var(--signal);
  font-family: var(--tech);
  font-size: 20px;
  text-align: center;
}

.interface-map {
  max-width: 1520px;
  margin: clamp(54px, 6vw, 90px) auto 0;
  padding: clamp(24px, 3vw, 42px);
  background: rgba(11, 34, 48, 0.68);
  border: 1px solid rgba(156, 177, 186, 0.28);
}

.interface-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 28px;
}

.interface-head p {
  margin: 0;
  font-size: 21px;
  font-weight: 750;
}

.interface-head p span {
  display: inline-block;
  margin-right: 16px;
  color: var(--signal);
  font-family: var(--tech);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.interface-head small {
  color: #8fa7b0;
  font-size: 13px;
}

.interface-table-wrap {
  width: 100%;
}

.interface-table {
  width: 100%;
  border-collapse: collapse;
  color: #b8c9ce;
  font-size: 13px;
  line-height: 1.6;
}

.interface-table th,
.interface-table td {
  padding: 15px 17px;
  text-align: left;
  vertical-align: top;
  border: 1px solid rgba(156, 177, 186, 0.2);
}

.interface-table thead th {
  color: #77949f;
  background: rgba(5, 21, 31, 0.7);
  font-family: var(--tech);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.interface-table tbody th {
  width: 92px;
  color: #eef5f5;
  background: rgba(20, 55, 71, 0.68);
  font-size: 13px;
}

.interface-table tbody tr:nth-child(2) td {
  background: rgba(8, 30, 42, 0.35);
}

.interface-table tbody tr:hover td {
  color: #e2ecee;
  background: rgba(20, 55, 71, 0.64);
}

.delivery-strip {
  display: grid;
  grid-template-columns: minmax(250px, 0.75fr) minmax(0, 1.55fr);
  gap: 50px;
  max-width: 1520px;
  margin: clamp(54px, 6vw, 90px) auto 0;
  padding-top: 32px;
  border-top: 1px solid rgba(156, 177, 186, 0.3);
}

.delivery-intro {
  display: grid;
  align-content: start;
  gap: 12px;
}

.delivery-intro span {
  color: var(--signal);
  font-family: var(--tech);
  font-size: 11px;
  letter-spacing: 0.16em;
}

.delivery-intro strong {
  max-width: 350px;
  font-size: 17px;
  font-weight: 650;
  line-height: 1.65;
}

.delivery-strip ol {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: rgba(156, 177, 186, 0.18);
}

.delivery-strip li {
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-height: 94px;
  padding: 16px;
  color: #b8c7cb;
  background: var(--night);
  font-size: 13px;
  line-height: 1.5;
}

.delivery-strip li span {
  color: #66818c;
  font-family: var(--tech);
  font-size: 11px;
}

.delivery-strip li strong {
  color: #dce8ea;
  font-size: 14px;
  font-weight: 650;
}

.delivery-strip li small {
  color: #78939d;
  font-size: 11px;
  line-height: 1.55;
}

.contact-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(470px, 0.95fr);
  align-items: end;
  gap: 70px;
  padding: clamp(70px, 8vw, 112px) clamp(24px, 5.4vw, 90px);
  color: var(--white);
  background: var(--brand);
}

.contact-strip .section-index {
  color: #c9dcff;
}

.contact-strip h2 {
  max-width: 800px;
  font-size: clamp(42px, 4.5vw, 68px);
}

.contact-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.contact-link {
  display: grid;
  align-content: center;
  gap: 8px;
  min-height: 102px;
  padding: 18px;
  color: var(--white);
  text-align: left;
  background: transparent;
  border: 0;
  cursor: pointer;
  transition: background-color 180ms ease;
}

.contact-link + .contact-link {
  border-left: 1px solid rgba(255, 255, 255, 0.28);
}

.contact-link:hover {
  background: rgba(255, 255, 255, 0.11);
}

.contact-link small {
  color: #c9dcff;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.1em;
}

.contact-link strong {
  font-size: 15px;
  font-weight: 700;
}

.contact-link-primary {
  background: var(--white);
  color: var(--ink);
}

.contact-link-primary small {
  color: var(--brand);
}

.contact-link-primary:hover {
  background: #dfe8f7;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  min-height: 72px;
  padding: 16px clamp(24px, 5.4vw, 90px);
  color: #78909a;
  background: #05151e;
  font-size: 12px;
}

.site-footer span:nth-child(2) {
  text-align: center;
}

.site-footer span:last-child {
  text-align: right;
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 80;
  max-width: calc(100vw - 48px);
  padding: 13px 18px;
  color: var(--white);
  background: var(--ink);
  border-left: 3px solid var(--signal);
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

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

@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

@keyframes flow-line {
  to {
    stroke-dashoffset: -120;
  }
}

@keyframes data-line {
  to {
    stroke-dashoffset: -30;
  }
}

@keyframes node-pulse {
  0% {
    opacity: 0.8;
    transform-box: fill-box;
    transform-origin: center;
    transform: scale(0.8);
  }
  80%,
  100% {
    opacity: 0;
    transform-box: fill-box;
    transform-origin: center;
    transform: scale(1.8);
  }
}

@keyframes viewer-scan {
  0% {
    left: -3%;
    opacity: 0;
  }
  8% {
    opacity: 1;
  }
  88% {
    opacity: 1;
  }
  100% {
    left: 103%;
    opacity: 0;
  }
}

@keyframes hint-pulse {
  0% {
    opacity: 1;
    transform: scale(0.6);
  }
  80%,
  100% {
    opacity: 0;
    transform: scale(2.4);
  }
}

@media (min-width: 921px) and (max-height: 900px) {
  .hero-copy {
    padding-top: clamp(28px, 4vh, 38px);
    padding-bottom: clamp(22px, 3.5vh, 32px);
  }

  .eyebrow {
    margin-bottom: clamp(20px, 3.2vh, 30px);
  }

  .hero-lead {
    margin-top: clamp(20px, 3.2vh, 30px);
    line-height: 1.75;
  }

  .hero-actions {
    margin-top: clamp(22px, 3.6vh, 34px);
  }

  .capability-line {
    margin-top: clamp(24px, 3.8vh, 36px);
  }
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    display: none;
  }

  .hero {
    grid-template-columns: minmax(440px, 0.82fr) minmax(0, 1.18fr);
  }

  .hero h1 {
    font-size: clamp(54px, 6.2vw, 78px);
  }

  .capability-line {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .viewer-zone-legend {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .viewer-zone-legend button:nth-child(4) {
    border-left: 0;
  }

  .viewer-zone-legend button:nth-child(n + 4) {
    border-top: 1px solid rgba(184, 207, 213, 0.16);
  }

  .stage-display {
    grid-template-rows: minmax(230px, 30vh) 1fr;
  }

  .lane-nodes {
    flex-wrap: wrap;
  }

  .contact-strip {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 44px;
  }

  .contact-actions {
    max-width: 760px;
  }

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

  .scenario-intro {
    padding: 24px 28px 22px;
  }

  .scenario-intro h3,
  .scenario-intro p {
    max-width: 620px;
  }

  .scenario-intro::after {
    right: 24px;
    bottom: -38px;
  }

  .scenario-list {
    border-top: 1px solid rgba(156, 177, 186, 0.18);
    border-left: 0;
  }
}

@media (max-width: 920px) {
  :root {
    --header-h: 68px;
  }

  .site-header {
    padding-inline: 20px;
  }

  .brand img {
    width: 40px;
    height: 40px;
  }

  .header-contact strong {
    font-size: 16px;
  }

  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto 64px;
    height: auto;
    min-height: 0;
    padding-inline: 20px;
  }

  .hero.has-detail {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    min-height: auto;
    padding: 58px 0 42px;
  }

  .hero h1 {
    max-width: 740px;
    font-size: clamp(56px, 9.4vw, 84px);
  }

  .hero-lead {
    max-width: 680px;
  }

  .hero-visual {
    padding: 0 0 28px;
    min-height: auto;
  }

  .hero-copy.is-detail-open {
    padding-block: 38px 34px;
  }

  .hero-copy.is-detail-open .hero-detail-panel {
    height: auto;
    max-height: none;
    grid-template-rows: auto;
    gap: 11px;
  }

  .hero-copy.is-detail-open .detail-body {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .hero-copy.is-detail-open .detail-media img {
    height: auto;
    min-height: 150px;
    aspect-ratio: 16 / 9;
  }

  .system-board {
    min-height: 490px;
  }

  .hero-ruler {
    margin-inline: -20px;
    padding-inline: 10px;
  }

  .hero-ruler::before {
    right: 10px;
    left: 10px;
    top: 16px;
  }

  .hero-ruler span {
    min-height: 58px;
    padding: 16px 6px 0;
    gap: 5px;
    font-size: 10px;
  }

  .hero-ruler span:not(.ruler-label)::before {
    top: 13px;
    left: 6px;
  }

  .ruler-label {
    display: none;
  }

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

  .section-heading {
    grid-template-columns: 1fr;
    gap: 28px;
  }

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

  .system-workbench {
    grid-template-columns: 1fr;
  }

  .stage-index {
    border-right: 0;
    border-bottom: 1px solid rgba(156, 177, 186, 0.3);
  }

  .stage-index-head,
  .stage-index-note {
    display: none;
  }

  .stage-tabs {
    grid-template-columns: repeat(5, minmax(168px, 1fr));
    overflow-x: auto;
    overscroll-behavior-inline: contain;
  }

  .stage-tab {
    grid-template-columns: 28px 1fr;
    min-height: 90px;
    padding: 15px 14px;
    border-right: 1px solid rgba(156, 177, 186, 0.2);
    border-bottom: 0;
  }

  .stage-tab i {
    display: none;
  }

  .stage-tab.is-active::before {
    top: auto;
    right: 0;
    width: auto;
    height: 3px;
  }

  .stage-display {
    grid-template-rows: 250px 1fr;
  }

  .interface-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .delivery-strip {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    justify-items: start;
    padding-block: 24px;
  }

  .site-footer span:nth-child(2),
  .site-footer span:last-child {
    text-align: left;
  }
}

@media (max-width: 640px) {
  .brand {
    gap: 9px;
  }

  .brand-name strong {
    font-size: 15px;
  }

  .brand-name small {
    display: none;
  }

  .header-contact {
    padding-left: 12px;
  }

  .header-contact span {
    display: none;
  }

  .header-contact strong {
    font-size: 14px;
  }

  .eyebrow {
    display: grid;
    width: 100%;
    grid-template-columns: 1fr 1fr;
  }

  .eyebrow span {
    padding: 8px 10px;
    text-align: center;
  }

  .hero {
    background-size: 100% 100%, 32px 32px, 32px 32px, auto;
  }

  .hero-copy {
    padding-top: 30px;
    padding-bottom: 26px;
  }

  .hero h1 {
    font-size: clamp(42px, 12vw, 56px);
    letter-spacing: -0.065em;
    line-height: 1.01;
  }

  .hero-lead {
    margin-top: 20px;
    font-size: 16px;
    line-height: 1.7;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 22px;
  }

  .button {
    width: 100%;
    min-height: 48px;
    gap: 8px;
    padding-inline: 10px;
    font-size: 14px;
  }

  .capability-line {
    margin-top: 38px;
  }

  .capability-line span {
    padding-top: 12px;
    font-size: 10px;
  }

  .capability-line {
    display: none;
  }

  .mobile-flow-core {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 18px minmax(0, 1fr) 18px minmax(0, 1fr);
    align-items: center;
    gap: 3px;
    margin-top: 22px;
    padding: 12px 0;
    border-top: 1px solid rgba(232, 240, 241, 0.18);
    border-bottom: 1px solid rgba(232, 240, 241, 0.18);
  }

  .mobile-flow-core div {
    display: grid;
    gap: 5px;
    min-width: 0;
  }

  .mobile-flow-core small {
    color: var(--signal);
    font-family: var(--tech);
    font-size: 9px;
    letter-spacing: 0.06em;
  }

  .mobile-flow-core strong {
    font-size: 11px;
    font-weight: 700;
    line-height: 1.45;
  }

  .mobile-flow-core > span {
    color: var(--signal);
    font-family: var(--tech);
    font-size: 12px;
    text-align: center;
  }

  .system-board {
    grid-template-rows: 46px minmax(0, 1fr) 42px;
    min-height: 410px;
    box-shadow: 10px 12px 0 rgba(10, 26, 38, 0.055);
  }

  .hero-system-overlay {
    right: 12px;
    bottom: 12px;
    width: calc(100% - 24px);
  }

  .hero-system-overlay span {
    gap: 4px;
    padding: 8px;
    font-size: 7px;
  }

  .hero-system-overlay b {
    font-size: 6px;
  }

  .warehouse-viewer {
    max-width: none;
  }

  .viewer-dock {
    gap: 6px;
    margin-top: 8px;
  }

  .viewer-hint {
    top: 9px;
    left: 9px;
    padding: 6px 8px;
    font-size: 11px;
  }

  .viewer-tooltip {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
    min-height: 70px;
    padding: 10px 12px;
  }

  .viewer-tooltip small {
    font-size: 10px;
  }

  .viewer-tooltip strong {
    font-size: 15px;
  }

  .viewer-tooltip span {
    max-width: none;
    font-size: 12px;
    line-height: 1.5;
    text-align: left;
  }

  .viewer-zone-legend {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .viewer-zone-legend button {
    min-height: 52px;
    padding: 7px 6px;
    font-size: 12px;
    line-height: 1.35;
    text-align: center;
    text-overflow: clip;
    white-space: normal;
  }

  .viewer-zone-legend button:nth-child(4) {
    border-left: 0;
  }

  .viewer-zone-legend button:nth-child(n + 4) {
    border-top: 1px solid rgba(184, 207, 213, 0.16);
  }

  .hero-detail-panel {
    max-width: none;
    gap: 11px;
  }

  .hero-detail-panel h2 {
    font-size: 38px;
  }

  .detail-summary {
    font-size: 16px;
  }

  .detail-body {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .detail-media img {
    min-height: 150px;
    aspect-ratio: 16 / 9;
  }

  .detail-facts {
    gap: 12px;
  }

  .detail-facts li {
    font-size: 13px;
  }

  .detail-note p {
    font-size: 14px;
  }

  .detail-note-outcome {
    margin-top: 0;
  }

  .board-header,
  .board-footer {
    padding-inline: 13px;
    font-size: 8px;
    letter-spacing: 0.08em;
  }

  .board-footer span:last-child {
    display: none;
  }

  .board-index {
    top: 12px;
    right: 14px;
    font-size: 64px;
  }

  .board-axis {
    right: 14px;
    bottom: 13px;
  }

  .board-legend {
    top: 12px;
    left: 14px;
    gap: 9px;
    padding: 5px 7px;
    font-size: 7px;
  }

  .board-legend i {
    width: 13px;
  }

  .board-boundaries {
    right: 14px;
    bottom: 10px;
    left: 14px;
    justify-content: flex-end;
    font-size: 7px;
  }

  .board-boundaries span:first-child {
    display: none;
  }

  .hero-ruler {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    margin-inline: -20px;
    padding-inline: 6px;
    overflow: hidden;
  }

  .hero-ruler::before {
    right: 6px;
    left: 6px;
  }

  .hero-ruler span {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 3px;
    min-width: 0;
    min-height: 58px;
    padding: 16px 3px 0;
    overflow: hidden;
    font-size: 10px;
    text-overflow: ellipsis;
  }

  .hero-ruler span:not(.ruler-label)::before {
    left: 3px;
  }

  .hero-ruler .ruler-label {
    display: none;
  }

  .systems {
    padding: 78px 20px;
    background-size: 48px 48px, 48px 48px, auto;
  }

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

  .section-heading h2,
  .contact-strip h2 {
    font-size: clamp(38px, 12vw, 54px);
  }

  .section-summary {
    padding-left: 16px;
    font-size: 15px;
    line-height: 1.8;
  }

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

  .scenario-intro {
    padding: 24px 22px 22px;
  }

  .scenario-intro::after {
    right: 14px;
    font-size: 92px;
  }

  .scenario-intro h3 {
    font-size: 22px;
  }

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

  .scenario-item {
    padding: 22px 20px;
    border-top: 1px solid rgba(156, 177, 186, 0.18);
    border-left: 0;
  }

  .scenario-item:first-child {
    border-top: 0;
  }

  .scenario-item::before {
    right: 20px;
    left: 20px;
  }

  .stage-tabs {
    grid-template-columns: repeat(5, minmax(168px, 1fr));
  }

  .stage-display {
    grid-template-rows: 210px 1fr;
  }

  .stage-art {
    min-height: 210px;
  }

  .stage-topology {
    top: 47px;
    right: 12px;
    bottom: 37px;
    left: 12px;
    grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1.15fr) 28px minmax(0, 1fr);
    gap: 3px;
  }

  .topology-node {
    min-height: 78px;
    padding: 9px 8px;
  }

  .topology-node small {
    font-size: 6px;
    letter-spacing: 0.04em;
  }

  .topology-node strong {
    font-size: 9px;
  }

  .topology-node span {
    font-size: 7px;
    white-space: normal;
  }

  .topology-current {
    min-height: 92px;
  }

  .topology-current strong {
    font-size: 11px;
  }

  .topology-link {
    font-size: 5px;
  }

  .topology-link span {
    display: none;
  }

  .stage-art-label {
    bottom: 12px;
    left: 13px;
    font-size: 10px;
  }

  .stage-render-note {
    right: 13px;
    bottom: 12px;
    font-size: 8px;
  }

  .stage-art-number {
    right: 15px;
    bottom: -7px;
    font-size: 76px;
  }

  .stage-panel {
    padding: 28px 20px 34px;
  }

  .panel-kicker {
    display: grid;
    gap: 8px;
  }

  .stage-panel h3 {
    font-size: clamp(27px, 8.4vw, 36px);
  }

  .downstream-flow {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .flow-arrow {
    transform: rotate(90deg);
  }

  .interface-map {
    padding: 22px 16px;
  }

  .interface-head p {
    font-size: 18px;
    line-height: 1.5;
  }

  .interface-head p span {
    display: block;
    margin: 0 0 8px;
  }

  .interface-table,
  .interface-table tbody,
  .interface-table tr,
  .interface-table th,
  .interface-table td {
    display: block;
    width: 100%;
  }

  .interface-table thead {
    display: none;
  }

  .interface-table tbody {
    display: grid;
    gap: 12px;
  }

  .interface-table tbody tr {
    border: 1px solid rgba(156, 177, 186, 0.2);
  }

  .interface-table tbody th {
    padding: 12px 14px;
    border: 0;
    border-bottom: 1px solid rgba(156, 177, 186, 0.2);
  }

  .interface-table tbody td {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 10px;
    padding: 9px 14px;
    border: 0;
  }

  .interface-table tbody td::before {
    content: attr(data-label);
    color: #6f929e;
    font-family: var(--tech);
    font-size: 10px;
    letter-spacing: 0.04em;
  }

  .delivery-strip ol {
    grid-template-columns: 1fr;
  }

  .delivery-strip li {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 4px 10px;
    min-height: 68px;
    align-items: center;
  }

  .delivery-strip li span {
    grid-row: 1 / span 2;
  }

  .delivery-strip li small {
    grid-column: 2;
  }

  .contact-strip {
    padding: 64px 20px;
  }

  .contact-actions {
    grid-template-columns: 1fr;
  }

  .contact-link {
    min-height: 84px;
    border-left: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  }

  .contact-link:last-child {
    border-bottom: 0;
  }

  .site-footer {
    padding-inline: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
