:root {
  --carbon: #090d12;
  --graphite: #121820;
  --graphite-2: #182029;
  --ice: #f3f7f8;
  --cyan: #58e6e0;
  --lime: #b7f34a;
  --steel: #87939d;
  --steel-2: #b7c0c7;
  --line: rgba(243, 247, 248, 0.08);
  --line-strong: rgba(88, 230, 224, 0.28);
  --cyan-dim: rgba(88, 230, 224, 0.1);
  --lime-dim: rgba(183, 243, 74, 0.12);
  --glass: rgba(9, 13, 18, 0.72);
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --container: 1200px;
  --gutter: clamp(1.25rem, 4vw, 4.5rem);
  --header: 4.5rem;
  --radius: 2px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --grad: linear-gradient(120deg, var(--cyan), var(--lime));
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  color-scheme: dark;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ice);
  background: var(--carbon);
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 0.95;
}

h1 {
  font-size: clamp(2.6rem, 7.4vw, 6.4rem);
}

h2 {
  font-size: clamp(2.1rem, 5.2vw, 4.4rem);
}

h3 {
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  letter-spacing: 0.04em;
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 200;
  background: var(--cyan);
  color: var(--carbon);
  padding: 0.6rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.skip-link:focus {
  top: 1rem;
}

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

.section-index,
.eyebrow,
.sys-status,
.core-meta,
.trust-kicker,
.case-cat,
.cmd-kicker,
.cmd-info-kicker,
.cmd-meta,
.footer-tech,
.section-note,
.pillar-index,
.process-num,
.service-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--steel);
}

.section-index {
  color: var(--cyan);
  margin-bottom: 1.25rem;
}

.section-head {
  margin-bottom: clamp(2rem, 5vw, 4rem);
  max-width: 18ch;
}

.section-head h2 {
  max-width: 14ch;
}

.section-note {
  margin-top: 1rem;
  max-width: 46ch;
  letter-spacing: 0.08em;
  color: var(--steel);
}

.lede {
  max-width: 38ch;
  color: var(--steel-2);
  font-size: clamp(1rem, 1.3vw, 1.15rem);
}

.grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(243, 247, 248, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(243, 247, 248, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, #000 35%, transparent 78%);
  animation: gridShift 28s linear infinite;
  pointer-events: none;
}

@keyframes gridShift {
  from { background-position: 0 0; }
  to { background-position: 56px 28px; }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 3rem;
  padding: 0.85rem 1.35rem;
  border: 1px solid var(--line-strong);
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}

.btn-primary {
  background: var(--ice);
  color: var(--carbon);
  border-color: var(--ice);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: transparent;
  color: var(--ice);
  border-color: var(--cyan);
}

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

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: var(--lime);
  color: var(--lime);
}

.btn-nav {
  padding: 0.65rem 1rem;
  min-height: 2.5rem;
  background: transparent;
  border-color: var(--line-strong);
}

.btn-nav:hover,
.btn-nav:focus-visible {
  border-color: var(--cyan);
  color: var(--cyan);
}

.btn .arrow {
  transition: transform 0.3s var(--ease);
}

.btn:hover .arrow,
.btn:focus-visible .arrow {
  transform: translate(3px, -3px);
}

.text-link {
  display: inline-flex;
  gap: 0.4rem;
  margin-top: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--lime);
}

:focus-visible {
  outline: 1px solid var(--cyan);
  outline-offset: 3px;
}

.sys-status {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--steel-2);
}

.sys-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 0 rgba(183, 243, 74, 0.7);
  animation: pulseDot 2.2s ease-out infinite;
}

@keyframes pulseDot {
  70% { box-shadow: 0 0 0 8px rgba(183, 243, 74, 0); }
  100% { box-shadow: 0 0 0 0 rgba(183, 243, 74, 0); }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  height: var(--header);
  border-bottom: 1px solid transparent;
  background: transparent;
  transition: border-color 0.35s var(--ease);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.35s var(--ease), backdrop-filter 0.35s var(--ease);
  pointer-events: none;
}

.site-header.is-scrolled::before {
  background: var(--glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--line);
}

.header-inner {
  position: relative;
  width: min(100% - var(--gutter) * 2, 1320px);
  margin-inline: auto;
  height: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
  z-index: 1;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: max-content;
  position: relative;
  z-index: 2;
}

.logo-mark {
  color: var(--ice);
  flex: 0 0 auto;
}

.logo-word {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.22em;
}

.nav-list {
  display: flex;
  justify-content: center;
  gap: clamp(1rem, 2.4vw, 2.2rem);
}

.nav-list a {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel-2);
}

.nav-list a:hover,
.nav-list a:focus-visible {
  color: var(--cyan);
}

.header-end {
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
  z-index: 2;
}

.menu-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  position: relative;
}

.menu-toggle span {
  position: absolute;
  left: 0.5rem;
  right: 0.5rem;
  height: 1px;
  background: var(--ice);
  transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}

.menu-toggle span:first-child { top: 0.95rem; }
.menu-toggle span:last-child { top: 1.4rem; }

body.nav-open .menu-toggle span:first-child {
  top: 1.18rem;
  transform: rotate(45deg);
}

body.nav-open .menu-toggle span:last-child {
  top: 1.18rem;
  transform: rotate(-45deg);
}

.hero {
  position: relative;
  min-height: calc(100svh - var(--header));
  display: grid;
  align-items: center;
  padding: clamp(2rem, 6vw, 5rem) 0 clamp(3rem, 8vw, 6rem);
  overflow: hidden;
}

.hero-inner {
  width: min(100% - var(--gutter) * 2, 1320px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-copy h1 span {
  display: block;
}

.hero-copy .lede {
  margin: 1.6rem 0 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.core-frame {
  position: relative;
  aspect-ratio: 1;
  max-width: 640px;
  margin-inline: auto;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 50%, rgba(88, 230, 224, 0.08), transparent 55%),
    var(--graphite);
}

.core-tick {
  position: absolute;
  width: 14px;
  height: 14px;
  border: 1px solid var(--cyan);
}

.core-tick-tl { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.core-tick-tr { top: -1px; right: -1px; border-left: 0; border-bottom: 0; }
.core-tick-bl { bottom: -1px; left: -1px; border-right: 0; border-top: 0; }
.core-tick-br { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }

.core-meta {
  position: absolute;
  z-index: 2;
  font-size: 0.62rem;
}

.core-meta-tl { top: 0.85rem; left: 0.95rem; }
.core-meta-tr { top: 0.85rem; right: 0.95rem; color: var(--lime); }
.core-meta-bl { bottom: 0.85rem; left: 0.95rem; }
.core-meta-br { bottom: 0.85rem; right: 0.95rem; }

.digital-core {
  width: 100%;
  height: 100%;
}

.core-svg {
  width: 100%;
  height: 100%;
}

.core-svg text {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  fill: var(--steel-2);
}

.ring {
  transform-box: view-box;
  transform-origin: 320px 320px;
}

.ring-a { animation: spin 18s linear infinite; }
.ring-b { animation: spin 32s linear infinite reverse; }
.ring-c { animation: spin 48s linear infinite; }

.core-heart {
  animation: corePulse 2.8s ease-in-out infinite;
  transform-origin: 320px 320px;
}

.node-pulse {
  animation: nodePulse 3.4s ease-out infinite;
  transform-origin: center;
}

.node:nth-child(2) .node-pulse { animation-delay: 0.4s; }
.node:nth-child(3) .node-pulse { animation-delay: 0.8s; }
.node:nth-child(4) .node-pulse { animation-delay: 1.2s; }
.node:nth-child(5) .node-pulse { animation-delay: 1.6s; }
.node:nth-child(6) .node-pulse { animation-delay: 2s; }

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

@keyframes corePulse {
  50% { r: 5; opacity: 0.7; }
}

@keyframes nodePulse {
  0% { opacity: 0.9; transform: scale(0.7); }
  70% { opacity: 0; transform: scale(1.35); }
  100% { opacity: 0; transform: scale(1.35); }
}

.trust {
  border-block: 1px solid var(--line);
  background: var(--graphite);
  padding: 1.4rem 0;
}

.trust-kicker {
  margin-bottom: 1rem;
  color: var(--steel);
}

.trust-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.trust-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.4rem 1.2rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--ice);
  border-left: 1px solid var(--line);
}

.trust-list li:first-child {
  border-left: 0;
  padding-left: 0;
}

.trust-list svg {
  width: 22px;
  height: 22px;
  color: var(--cyan);
  flex: 0 0 auto;
}

.intro {
  position: relative;
  padding: clamp(5rem, 12vw, 9rem) 0;
  overflow: hidden;
}

.intro-grid {
  position: relative;
  z-index: 1;
}

.intro-copy {
  max-width: 22ch;
}

.intro-copy p {
  margin-top: 1.6rem;
  max-width: 42ch;
  color: var(--steel-2);
}

.watermark {
  position: absolute;
  right: -4%;
  bottom: -18%;
  font-family: var(--font-display);
  font-size: clamp(8rem, 28vw, 22rem);
  font-weight: 700;
  letter-spacing: -0.08em;
  line-height: 0.75;
  color: transparent;
  -webkit-text-stroke: 1px rgba(88, 230, 224, 0.1);
  pointer-events: none;
  user-select: none;
}

.services {
  padding-bottom: clamp(4rem, 10vw, 8rem);
}

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

.service-row {
  display: grid;
  grid-template-columns: 5.5rem 1fr auto auto;
  align-items: center;
  gap: 1.2rem;
  padding: 1.55rem 0.4rem;
  border-bottom: 1px solid var(--line);
  position: relative;
  cursor: pointer;
  transition: background 0.35s var(--ease), padding 0.45s var(--ease);
}

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

.service-row:hover,
.service-row:focus-visible {
  background: rgba(88, 230, 224, 0.035);
  padding-block: 2.1rem;
}

.service-row:hover::before,
.service-row:focus-visible::before {
  width: 3px;
}

.service-num {
  font-size: 0.95rem;
  color: var(--steel);
  transition: transform 0.4s var(--ease), color 0.4s var(--ease);
}

.service-row:hover .service-num,
.service-row:focus-visible .service-num {
  transform: translateX(0.6rem);
  color: var(--cyan);
}

.service-body h3 {
  font-size: clamp(1.2rem, 2.4vw, 2rem);
  margin-bottom: 0.15rem;
}

.service-body p {
  max-height: 0;
  overflow: hidden;
  color: var(--steel-2);
  max-width: 48ch;
  transition: max-height 0.45s var(--ease), margin 0.45s var(--ease);
}

.service-row:hover .service-body p,
.service-row:focus-visible .service-body p,
.service-row:focus-within .service-body p {
  max-height: 6rem;
  margin-top: 0.5rem;
}

.service-visual {
  width: 0;
  opacity: 0;
  overflow: hidden;
  transition: width 0.45s var(--ease), opacity 0.4s var(--ease);
}

.service-visual svg {
  width: 160px;
  height: 80px;
}

.service-row:hover .service-visual,
.service-row:focus-visible .service-visual {
  width: 170px;
  opacity: 1;
}

.service-arrow {
  font-size: 1.4rem;
  color: var(--steel);
  transition: transform 0.35s var(--ease), color 0.35s var(--ease);
}

.service-row:hover .service-arrow,
.service-row:focus-visible .service-arrow {
  transform: translate(6px, -6px);
  color: var(--lime);
}

.stack {
  padding: clamp(5rem, 10vw, 8rem) 0;
  background: var(--graphite);
  border-block: 1px solid var(--line);
}

.stack .section-head {
  max-width: 18ch;
}

.stack-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.stack-card {
  background: var(--graphite);
  padding: 1.8rem 1.6rem 1.2rem;
  overflow: hidden;
}

.stack-card-wide {
  grid-column: 1 / -1;
}

.stack-card h3 {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  color: var(--cyan);
  margin-bottom: 1.1rem;
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.pills span {
  border: 1px solid var(--line-strong);
  padding: 0.4rem 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--ice);
}

.stack-lines {
  margin-top: 1.4rem;
  height: 28px;
  color: var(--cyan);
  opacity: 0.55;
}

.stack-lines path {
  stroke: currentColor;
  stroke-width: 1;
  stroke-dasharray: 4 8;
  animation: dashMove 8s linear infinite;
}

.stack-lines circle {
  fill: var(--lime);
}

@keyframes dashMove {
  to { stroke-dashoffset: -80; }
}

.transform {
  padding: clamp(5rem, 12vw, 9rem) 0;
}

.transform-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}

.transform-copy p:last-child {
  margin-top: 1.5rem;
  max-width: 42ch;
  color: var(--steel-2);
}

.pathway {
  position: relative;
  display: grid;
  gap: 0;
}

.pathway::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 12px;
  bottom: 12px;
  width: 1px;
  background: linear-gradient(var(--cyan), var(--lime));
  opacity: 0.55;
}

.pathway::after {
  content: "";
  position: absolute;
  left: 9px;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 12px var(--lime);
  animation: pathTravel 5.5s var(--ease) infinite;
}

@keyframes pathTravel {
  0% { top: 8px; }
  100% { top: calc(100% - 18px); }
}

.pathway li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 1.2rem;
  align-items: center;
  min-height: 4.6rem;
}

.path-node {
  width: 23px;
  height: 23px;
  border: 1px solid var(--cyan);
  background: var(--carbon);
  position: relative;
  z-index: 1;
}

.path-node-end {
  background: var(--cyan);
}

.path-label {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.7rem);
  letter-spacing: 0.06em;
}

.always {
  padding: clamp(5rem, 10vw, 8rem) 0;
  background:
    linear-gradient(180deg, rgba(88, 230, 224, 0.04), transparent 30%),
    var(--graphite);
  border-block: 1px solid var(--line);
}

.always .section-head {
  max-width: 12ch;
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--line);
}

.pillar {
  padding: clamp(1.8rem, 4vw, 3rem);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  min-height: 14rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pillar:hover,
.pillar:focus-within {
  background: rgba(88, 230, 224, 0.04);
}

.pillar:nth-child(2n) { border-right: 0; }
.pillar:nth-child(n + 3) { border-bottom: 0; }

.stack-card:hover {
  background: #161d26;
}

.pillar-index {
  color: var(--cyan);
}

.pillar h3 {
  font-size: clamp(1.8rem, 4vw, 3.1rem);
  margin: 1.4rem 0 1rem;
}

.pillar p {
  color: var(--steel-2);
  max-width: 28ch;
}

.industries {
  padding: clamp(5rem, 10vw, 8rem) 0;
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.industry {
  background: var(--carbon);
  padding: 1.6rem;
  min-height: 16rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
  cursor: default;
  transition: background 0.35s var(--ease);
}

.industry-viz {
  position: absolute;
  inset: 1.2rem 1.2rem auto;
  height: 88px;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}

.industry-viz svg {
  width: 120px;
  height: 80px;
}

.industry:hover,
.industry:focus-visible {
  background: var(--graphite);
}

.industry:hover .industry-viz,
.industry:focus-visible .industry-viz {
  opacity: 1;
  transform: none;
}

.industry h3 {
  margin-bottom: 0.6rem;
}

.industry p {
  color: var(--steel-2);
  max-width: 28ch;
}

.cases {
  padding: clamp(5rem, 10vw, 8rem) 0;
  background: var(--graphite);
  border-block: 1px solid var(--line);
}

.cases .section-head {
  max-width: 16ch;
}

.case-list {
  display: grid;
  gap: clamp(3rem, 8vw, 6rem);
}

.case-item {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}

.case-item-flip {
  grid-template-columns: 0.85fr 1.15fr;
}

.case-item-flip .case-visual { order: 2; }
.case-item-flip .case-copy { order: 1; }

.case-visual {
  position: relative;
  background: var(--carbon);
  border: 1px solid var(--line);
  min-height: 280px;
  overflow: hidden;
}

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

.case-visual span {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  color: var(--cyan);
}

.case-visual-a { background: radial-gradient(circle at 30% 20%, rgba(88, 230, 224, 0.12), transparent 40%), var(--carbon); }
.case-visual-b { background: linear-gradient(135deg, rgba(88, 230, 224, 0.08), transparent 45%), var(--carbon); }
.case-visual-c { background: radial-gradient(circle at 70% 50%, rgba(183, 243, 74, 0.08), transparent 40%), var(--carbon); }

.case-cat {
  color: var(--lime);
  margin-bottom: 0.7rem;
}

.case-copy h3 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  margin-bottom: 1.4rem;
}

.case-copy dl {
  display: grid;
  gap: 1rem;
}

.case-copy dt {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.25rem;
}

.case-copy dd {
  color: var(--steel-2);
}

.case-copy em {
  font-style: normal;
  color: var(--steel);
  font-family: var(--font-mono);
  font-size: 0.8em;
}

.process {
  padding: clamp(5rem, 10vw, 8rem) 0;
}

.process-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  position: relative;
  gap: 1.2rem;
}

.process-track::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 1.15rem;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--cyan) 0 8px, transparent 8px 16px);
  animation: dashMove 10s linear infinite;
  opacity: 0.55;
}

.process-track li {
  position: relative;
}

.process-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.3rem;
  height: 2.3rem;
  margin-bottom: 1.2rem;
  border: 1px solid var(--cyan);
  background: var(--carbon);
  color: var(--cyan);
  position: relative;
  z-index: 1;
}

.process-track h3 {
  margin-bottom: 0.7rem;
}

.process-track p {
  color: var(--steel-2);
  max-width: 22ch;
}

.why {
  padding: clamp(5rem, 10vw, 8rem) 0;
  border-top: 1px solid var(--line);
}

.why-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 6vw, 6rem);
}

.why-copy h2 {
  max-width: 8ch;
}

.why-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.why-list article {
  background: var(--carbon);
  padding: 1.8rem 1.5rem;
  min-height: 12rem;
}

.why-list h3 {
  margin-bottom: 0.8rem;
}

.why-list p {
  color: var(--steel-2);
}

.command {
  padding: clamp(5rem, 10vw, 8rem) 0 4rem;
  background: var(--graphite);
  border-block: 1px solid var(--line);
}

.command .section-head {
  max-width: 14ch;
}

.command-stage {
  position: relative;
  min-height: 32rem;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 42%, rgba(88, 230, 224, 0.07), transparent 42%),
    var(--carbon);
  overflow: hidden;
}

.command-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.command-lines path {
  fill: none;
  stroke: rgba(88, 230, 224, 0.28);
  stroke-width: 1.2;
  transition: stroke 0.3s var(--ease), stroke-width 0.3s var(--ease);
}

.command-stage.is-active .command-lines path {
  stroke: rgba(88, 230, 224, 0.12);
}

.command-lines path.is-hot {
  stroke: url(#none);
  stroke: #58e6e0;
  stroke-width: 1.8;
  filter: drop-shadow(0 0 6px rgba(88, 230, 224, 0.45));
}

.cmd-node {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%);
  min-width: 9.5rem;
  padding: 0.85rem 1rem;
  text-align: left;
  border: 1px solid var(--line-strong);
  background: rgba(18, 24, 32, 0.88);
  backdrop-filter: blur(8px);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), background 0.3s var(--ease);
}

.cmd-node:hover,
.cmd-node:focus-visible,
.cmd-node.is-hot {
  border-color: var(--cyan);
  background: rgba(18, 24, 32, 0.98);
  transform: translate(-50%, -50%) scale(1.04);
  z-index: 2;
}

.cmd-name {
  display: block;
  font-family: var(--font-display);
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  margin-top: 0.2rem;
}

.cmd-info {
  position: absolute;
  left: 1.2rem;
  top: 1.2rem;
  max-width: 22rem;
  padding: 1.1rem 1.2rem;
  border: 1px solid var(--line);
  background: rgba(9, 13, 18, 0.78);
  z-index: 3;
}

.cmd-info h3 {
  margin: 0.35rem 0 0.55rem;
  font-size: 1.3rem;
}

.cmd-info p {
  color: var(--steel-2);
  font-size: 0.92rem;
}

.cmd-meta {
  margin-top: 0.7rem;
  color: var(--lime);
}

.cta {
  position: relative;
  padding: clamp(6rem, 14vw, 10rem) 0;
  overflow: hidden;
}

.cta-inner {
  position: relative;
  z-index: 1;
  max-width: 18ch;
}

.cta .lede {
  margin: 1.5rem 0 2rem;
}

.sys-status-cta {
  margin-top: 2rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 3.5rem 0 1.6rem;
  background: #07090d;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2rem;
  padding-bottom: 2.5rem;
}

.footer-brand p {
  margin-top: 1rem;
  color: var(--steel-2);
  max-width: 26ch;
}

.site-footer h2 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--cyan);
  margin-bottom: 1rem;
}

.site-footer li + li {
  margin-top: 0.55rem;
}

.site-footer a {
  color: var(--steel-2);
  font-size: 0.95rem;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--ice);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.3rem;
  border-top: 1px solid var(--line);
  color: var(--steel);
  font-size: 0.85rem;
}

.cursor {
  display: none;
}

.reveal {
  animation: reveal 0.8s var(--ease);
}

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

@media (hover: hover) and (pointer: fine) {
  .cursor {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 14px;
    height: 14px;
    border: 1px solid var(--cyan);
    border-radius: 50%;
    pointer-events: none;
    z-index: 120;
    transform: translate(-50%, -50%);
    mix-blend-mode: screen;
    opacity: 0;
    transition: opacity 0.3s ease, width 0.25s var(--ease), height 0.25s var(--ease);
  }

  .cursor.is-on {
    opacity: 0.8;
  }

  .cursor.is-hot {
    width: 36px;
    height: 36px;
    border-color: var(--lime);
  }
}

@media (max-width: 1100px) {
  .hero-inner,
  .transform-grid,
  .why-grid,
  .case-item,
  .case-item-flip {
    grid-template-columns: 1fr;
  }

  .case-item-flip .case-visual,
  .case-item-flip .case-copy {
    order: initial;
  }

  .header-end .btn-nav {
    display: none;
  }

  .process-track {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }

  .process-track::before {
    left: 1.1rem;
    right: auto;
    top: 0;
    bottom: 0;
    width: 1px;
    height: auto;
    background: repeating-linear-gradient(180deg, var(--cyan) 0 8px, transparent 8px 16px);
  }

  .trust-list,
  .industry-grid {
    grid-template-columns: 1fr 1fr;
  }

  .trust-list li {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 1rem 0;
  }

  .trust-list li:nth-child(-n + 2) {
    border-top: 0;
  }

  .command-stage {
    min-height: auto;
    display: grid;
    gap: 0.7rem;
    padding: 1.2rem 1rem;
  }

  .command-lines {
    display: none;
  }

  .cmd-node {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    width: 100%;
  }

  .cmd-node:hover,
  .cmd-node:focus-visible,
  .cmd-node.is-hot {
    transform: none;
  }

  .cmd-info {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    max-width: none;
    order: -1;
  }
}

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

  .menu-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    inset: 0;
    background: rgba(9, 13, 18, 0.96);
    backdrop-filter: blur(18px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s var(--ease);
    z-index: 1;
  }

  body.nav-open .nav {
    opacity: 1;
    pointer-events: auto;
  }

  .nav-list {
    flex-direction: column;
    gap: 1.4rem;
    text-align: center;
  }

  .nav-list a {
    font-family: var(--font-display);
    font-size: 1.8rem;
    letter-spacing: 0.08em;
    color: var(--ice);
  }

  .header-inner {
    grid-template-columns: auto 1fr auto;
  }

  .nav {
    grid-column: 1 / -1;
  }

  .site-header .nav {
    position: fixed;
  }

  .header-end .sys-status {
    display: none;
  }

  .service-row {
    grid-template-columns: 3rem 1fr auto;
  }

  .service-visual {
    display: none;
  }

  .service-body p {
    max-height: 6rem;
    margin-top: 0.4rem;
  }

  .pillar-grid,
  .stack-grid,
  .why-list,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .pillar:nth-child(2n),
  .pillar {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

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

  .stack-card-wide {
    grid-column: auto;
  }

  .pills {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.4rem;
    -webkit-overflow-scrolling: touch;
  }

  .pills span {
    flex: 0 0 auto;
  }
}

@media (max-width: 640px) {
  .industry-grid,
  .trust-list {
    grid-template-columns: 1fr;
  }

  .trust-list li:nth-child(-n + 2) {
    border-top: 1px solid var(--line);
  }

  .trust-list li:first-child {
    border-top: 0;
  }

  .hero-actions,
  .btn {
    width: 100%;
    justify-content: center;
  }

  .core-frame {
    max-width: 100%;
  }

  .core-svg text {
    font-size: 11px;
  }

  .watermark {
    right: -8%;
    bottom: -10%;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .grid-bg,
  .cursor {
    display: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .service-body p {
    max-height: none;
  }
}
