:root {
  --bg: #121116;
  --bg-soft: #17161d;
  --panel: #1c1a23;
  --panel-light: #24212d;
  --text: #f5f1fa;
  --muted: #aaa4b6;
  --line: rgba(240, 234, 255, 0.12);
  --lavender: #c8b7ff;
  --lavender-bright: #ded4ff;
  --coral: #ff7062;
  --coral-dark: #d9524b;
  --green: #8ee2ba;
  --radius: 22px;
  --radius-small: 14px;
  --shell: min(1180px, calc(100% - 48px));
  --font: ui-monospace, "SFMono-Regular", "Cascadia Mono", "Segoe UI Mono", Menlo, Consolas, "PingFang SC", "Microsoft YaHei", monospace;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 78% 7%, rgba(200, 183, 255, 0.08), transparent 25rem),
    var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 72px 72px;
  content: "";
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, black, transparent 75%);
  mask-image: linear-gradient(to bottom, black, transparent 75%);
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
  font: inherit;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 4px;
}

.sr-only {
  position: absolute;
  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: 10px 14px;
  border-radius: 8px;
  background: var(--text);
  color: var(--bg);
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

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

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  border-bottom: 1px solid transparent;
  transition: background 220ms ease, border-color 220ms ease, backdrop-filter 220ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  border-color: var(--line);
  background: rgba(18, 17, 22, 0.84);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  width: var(--shell);
  min-height: 76px;
  margin-inline: auto;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.02em;
}

.brand-mark {
  position: relative;
  display: inline-grid;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(200, 183, 255, 0.45);
  border-radius: 10px;
  background: rgba(200, 183, 255, 0.08);
  overflow: hidden;
}

.brand-mark::before,
.brand-mark::after,
.brand-mark span {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lavender);
  box-shadow: 0 0 12px rgba(200, 183, 255, 0.75);
  content: "";
}

.brand-mark::before { left: 8px; top: 8px; }
.brand-mark::after { right: 8px; bottom: 8px; background: var(--coral); }
.brand-mark span:nth-child(1) { right: 8px; top: 8px; }
.brand-mark span:nth-child(2) { left: 8px; bottom: 8px; }
.brand-mark span:nth-child(3) { width: 17px; height: 1px; background: rgba(200, 183, 255, 0.5); transform: rotate(45deg); }

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

.site-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  color: var(--muted);
  font-size: 13px;
}

.site-nav a {
  transition: color 180ms ease;
}

.site-nav a:hover {
  color: var(--text);
}

.site-nav .nav-cta {
  padding: 9px 14px;
  border: 1px solid rgba(200, 183, 255, 0.24);
  border-radius: 999px;
  color: var(--text);
}

.site-nav .nav-cta:hover {
  border-color: var(--lavender);
  background: rgba(200, 183, 255, 0.08);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
}

.nav-toggle > span:not(.sr-only) {
  display: block;
  width: 17px;
  height: 1px;
  margin: 5px auto;
  background: var(--text);
  transition: transform 180ms ease;
}

.hero {
  position: relative;
  display: flex;
  min-height: 100svh;
  padding: 124px 0 100px;
  align-items: center;
  overflow: hidden;
}

.ambient {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.55;
  pointer-events: none;
}

.ambient-one {
  top: 14%;
  right: -160px;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(200, 183, 255, 0.16);
  box-shadow: inset 0 0 120px rgba(200, 183, 255, 0.04), 0 0 130px rgba(200, 183, 255, 0.05);
}

.ambient-two {
  bottom: -220px;
  left: 22%;
  width: 360px;
  height: 360px;
  background: rgba(255, 112, 98, 0.06);
  filter: blur(90px);
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}

.panel {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(28, 26, 35, 0.72);
  overflow: hidden;
}

.hero-copy {
  display: flex;
  grid-column: 1 / 8;
  grid-row: 1 / 3;
  min-height: 510px;
  padding: clamp(34px, 5vw, 66px);
  flex-direction: column;
  justify-content: space-between;
  background:
    linear-gradient(135deg, rgba(200, 183, 255, 0.08), transparent 38%),
    rgba(28, 26, 35, 0.8);
}

.hero-copy::after {
  position: absolute;
  right: 34px;
  bottom: 28px;
  width: 94px;
  height: 94px;
  border-right: 1px solid rgba(200, 183, 255, 0.13);
  border-bottom: 1px solid rgba(200, 183, 255, 0.13);
  content: "";
  pointer-events: none;
}

.eyebrow {
  display: flex;
  margin: 0 0 22px;
  align-items: center;
  gap: 10px;
  color: var(--lavender);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.eyebrow span {
  width: 24px;
  height: 1px;
  background: currentColor;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

.hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(46px, 5.8vw, 78px);
  font-weight: 520;
  letter-spacing: -0.07em;
  line-height: 1.12;
}

.hero h1 em,
.contact h2 em {
  color: var(--coral);
  font-style: normal;
}

.hero-lead {
  max-width: 590px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.hero-actions {
  display: flex;
  margin-top: 38px;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  gap: 22px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

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

.button-primary {
  background: var(--coral);
  color: #1a1011;
}

.button-primary:hover {
  background: #ff877b;
}

.button-quiet {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
}

.button-quiet:hover {
  border-color: rgba(200, 183, 255, 0.38);
  background: rgba(200, 183, 255, 0.06);
}

.system-card {
  display: flex;
  grid-column: 8 / 13;
  grid-row: 1 / 4;
  min-height: 680px;
  padding: 24px;
  flex-direction: column;
  justify-content: space-between;
  background:
    radial-gradient(circle at 50% 40%, rgba(200, 183, 255, 0.13), transparent 42%),
    rgba(24, 22, 30, 0.82);
}

.card-topline {
  position: relative;
  z-index: 2;
  display: flex;
  color: #8e8899;
  font-size: 10px;
  letter-spacing: 0.08em;
  justify-content: space-between;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px rgba(142, 226, 186, 0.65);
}

.system-map {
  --shift-x-small: 0px;
  --shift-y-small: 0px;
  --shift-x-large: 0px;
  --shift-y-large: 0px;
  position: relative;
  width: min(370px, 92%);
  aspect-ratio: 1;
  margin: auto;
}

.scene-layer {
  will-change: transform;
  transition: transform 120ms linear;
}

.layer-back { transform: translate3d(var(--shift-x-small, 0), var(--shift-y-small, 0), 0); }
.layer-mid { transform: translate3d(var(--shift-x-small, 0), var(--shift-y-small, 0), 0); }
.layer-front { transform: translate3d(var(--shift-x-large, 0), var(--shift-y-large, 0), 0); }
.layer-core { transform: translate3d(var(--shift-x-large, 0), var(--shift-y-large, 0), 0); }

.map-grid {
  position: absolute;
  inset: 7%;
  border-radius: 50%;
  background-image:
    linear-gradient(rgba(200, 183, 255, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 183, 255, 0.09) 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(circle, black 15%, transparent 69%);
  mask-image: radial-gradient(circle, black 15%, transparent 69%);
}

.map-orbit {
  position: absolute;
  border: 1px solid rgba(200, 183, 255, 0.23);
  border-radius: 50%;
}

.map-orbit::before,
.map-orbit::after {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 50%;
  content: "";
}

.map-orbit::before { inset: 12%; }
.map-orbit::after { inset: 26%; }
.orbit-wide { inset: 4%; animation: slow-spin 26s linear infinite; }
.orbit-tight { inset: 22%; border-style: dashed; animation: slow-spin-reverse 18s linear infinite; }

.map-orbit span,
.map-orbit i {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--lavender);
  box-shadow: 0 0 16px rgba(200, 183, 255, 0.8);
}

.orbit-wide span { top: 12%; left: 13%; }
.orbit-wide i { right: 5%; bottom: 30%; background: var(--coral); box-shadow: 0 0 16px rgba(255, 112, 98, 0.8); }
.orbit-tight span { top: -5px; left: 50%; }
.orbit-tight i { right: -5px; top: 50%; width: 7px; height: 7px; }

.map-core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 82px;
  height: 82px;
  margin: -41px;
  border: 1px solid rgba(200, 183, 255, 0.38);
  border-radius: 24px;
  background: rgba(200, 183, 255, 0.08);
  box-shadow: 0 0 52px rgba(200, 183, 255, 0.13);
  rotate: 45deg;
}

.map-core b {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--coral);
}

.map-core b:nth-child(1) { top: 18px; left: 18px; }
.map-core b:nth-child(2) { right: 18px; top: 18px; background: var(--lavender); }
.map-core b:nth-child(3) { right: 18px; bottom: 18px; background: var(--green); }

.map-label {
  position: absolute;
  color: rgba(222, 212, 255, 0.5);
  font-size: 10px;
  letter-spacing: 0.12em;
}

.label-a { top: 14%; right: 19%; }
.label-b { bottom: 15%; left: 16%; }
.label-c { top: 51%; left: 2%; color: rgba(255, 112, 98, 0.66); }

@keyframes slow-spin { to { rotate: 360deg; } }
@keyframes slow-spin-reverse { to { rotate: -360deg; } }

.system-caption {
  position: relative;
  z-index: 2;
  padding: 8px 8px 4px;
}

.kicker {
  margin: 0 0 9px;
  color: var(--coral);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.system-caption h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 550;
  letter-spacing: -0.05em;
}

.system-caption > p:last-child {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.mini-card {
  display: flex;
  grid-column: span 3;
  min-height: 156px;
  padding: 22px;
  flex-direction: column;
  justify-content: space-between;
}

.mini-index {
  color: var(--lavender);
  font-size: 11px;
}

.mini-index.coral { color: var(--coral); }
.mini-card h2 { margin: 0; font-size: 16px; font-weight: 650; }
.mini-card p { margin: 5px 0 0; color: var(--muted); font-size: 12px; }

.scroll-cue {
  position: absolute;
  right: max(24px, calc((100vw - 1180px) / 2));
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #7f798a;
  font-size: 10px;
  letter-spacing: 0.12em;
}

.scroll-cue i {
  position: relative;
  width: 36px;
  height: 1px;
  background: #65606d;
}

.scroll-cue i::after {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 7px;
  height: 7px;
  border-right: 1px solid #65606d;
  border-bottom: 1px solid #65606d;
  content: "";
  transform: rotate(-45deg);
  transform-origin: bottom right;
}

.section {
  position: relative;
  padding: clamp(100px, 12vw, 170px) 0;
}

.section-heading {
  display: grid;
  margin-bottom: 60px;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: end;
  gap: 60px;
}

.section-heading h2,
.process-intro > h2 {
  margin: 0;
  font-size: clamp(38px, 5.6vw, 72px);
  font-weight: 520;
  letter-spacing: -0.07em;
  line-height: 1.15;
}

.section-heading > p {
  max-width: 460px;
  margin: 0 0 7px;
  color: var(--muted);
  font-size: 14px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}

.service-card {
  display: flex;
  grid-column: span 4;
  min-height: 410px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-soft);
  flex-direction: column;
  justify-content: space-between;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.service-card:hover {
  border-color: rgba(200, 183, 255, 0.3);
  background: #1b1922;
  transform: translateY(-4px);
}

.service-feature {
  grid-column: span 8;
  background:
    linear-gradient(120deg, rgba(200, 183, 255, 0.11), transparent 60%),
    #1d1b24;
}

.service-card:nth-child(3) { grid-column: span 5; }
.service-card:nth-child(4) { grid-column: span 7; }

.service-icon {
  position: relative;
  width: 70px;
  height: 70px;
  margin-bottom: 58px;
  border: 1px solid rgba(200, 183, 255, 0.18);
  border-radius: 18px;
  background: rgba(200, 183, 255, 0.05);
}

.service-icon i {
  position: absolute;
  display: block;
}

.icon-plan i { width: 8px; height: 8px; border-radius: 50%; background: var(--lavender); }
.icon-plan i:nth-child(1) { top: 17px; left: 18px; }
.icon-plan i:nth-child(2) { right: 15px; top: 28px; background: var(--coral); }
.icon-plan i:nth-child(3) { left: 27px; bottom: 14px; background: var(--green); }
.icon-plan::before,
.icon-plan::after { position: absolute; width: 32px; height: 1px; background: rgba(200, 183, 255, 0.38); content: ""; transform-origin: left; }
.icon-plan::before { top: 24px; left: 23px; rotate: 19deg; }
.icon-plan::after { top: 42px; left: 31px; rotate: -33deg; }

.icon-design i:nth-child(1) { inset: 15px; border: 1px solid var(--lavender); border-radius: 50%; }
.icon-design i:nth-child(2) { right: 10px; bottom: 12px; width: 23px; height: 23px; border-radius: 8px; background: var(--coral); }

.icon-build i { left: 15px; right: 15px; height: 1px; background: rgba(200, 183, 255, 0.55); }
.icon-build i:nth-child(1) { top: 20px; }
.icon-build i:nth-child(2) { top: 34px; width: 25px; background: var(--coral); }
.icon-build i:nth-child(3) { top: 48px; width: 34px; }

.icon-data i { bottom: 14px; width: 8px; border-radius: 5px 5px 2px 2px; background: var(--lavender); }
.icon-data i:nth-child(1) { left: 17px; height: 19px; }
.icon-data i:nth-child(2) { left: 31px; height: 32px; background: var(--coral); }
.icon-data i:nth-child(3) { left: 45px; height: 42px; background: var(--green); }

.service-no {
  display: block;
  margin-bottom: 12px;
  color: var(--lavender);
  font-size: 11px;
  letter-spacing: 0.09em;
}

.service-card h3 {
  margin: 0;
  font-size: 25px;
  font-weight: 550;
  letter-spacing: -0.04em;
}

.service-card p {
  max-width: 610px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.service-card ul {
  display: flex;
  padding: 22px 0 0;
  margin: 30px 0 0;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.service-card li {
  padding: 5px 9px;
  border: 1px solid rgba(200, 183, 255, 0.14);
  border-radius: 999px;
  color: #c6c0cf;
  font-size: 10px;
}

.scenarios {
  background: #16151b;
}

.scenario-board {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #1b1921;
  overflow: hidden;
}

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

.scenario-tabs button {
  position: relative;
  min-height: 78px;
  padding: 0 30px;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  text-align: left;
  cursor: pointer;
}

.scenario-tabs button:last-child { border-right: 0; }
.scenario-tabs button span { margin-right: 16px; color: #6f6977; font-size: 10px; }
.scenario-tabs button::after { position: absolute; right: 24px; bottom: -1px; left: 24px; height: 2px; background: var(--coral); content: ""; transform: scaleX(0); transition: transform 220ms ease; }
.scenario-tabs button[aria-selected="true"] { background: rgba(200, 183, 255, 0.04); color: var(--text); }
.scenario-tabs button[aria-selected="true"]::after { transform: scaleX(1); }

.scenario-stage {
  min-height: 510px;
}

.scenario-panel {
  display: grid;
  min-height: 510px;
  padding: clamp(34px, 5vw, 66px);
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: clamp(40px, 7vw, 100px);
  animation: panel-in 360ms ease both;
}

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

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

.scenario-content h3 {
  max-width: 510px;
  margin: 0;
  font-size: clamp(28px, 3.6vw, 45px);
  font-weight: 520;
  letter-spacing: -0.06em;
  line-height: 1.25;
}

.scenario-content > p:not(.kicker) {
  max-width: 500px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.scenario-content ul {
  display: flex;
  padding: 0;
  margin: 28px 0 0;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.scenario-content li {
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #d4cddd;
  font-size: 11px;
}

.deliverable-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 1.13;
  border: 1px solid rgba(200, 183, 255, 0.16);
  border-radius: 20px;
  background: #141319;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.visual-toolbar {
  display: flex;
  height: 11%;
  padding-left: 14px;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid var(--line);
}

.visual-toolbar i { width: 5px; height: 5px; border-radius: 50%; background: #494551; }
.visual-nav { position: absolute; top: 16%; left: 7%; width: 30%; height: 3px; background: rgba(255,255,255,.18); box-shadow: 265px 0 0 rgba(255,255,255,.09); }
.visual-copy { position: absolute; top: 32%; left: 8%; width: 45%; }
.visual-copy span { display: block; width: 42px; height: 3px; margin-bottom: 14px; background: var(--coral); }
.visual-copy b { display: block; width: 100%; height: 16px; margin: 7px 0; background: var(--lavender); opacity: .85; }
.visual-copy b:last-child { width: 72%; }
.visual-orb { position: absolute; right: 7%; bottom: 13%; width: 36%; aspect-ratio: 1; border: 1px solid rgba(200,183,255,.25); border-radius: 50%; background: radial-gradient(circle at 45% 45%, rgba(255,112,98,.8) 0 5%, transparent 6%), repeating-radial-gradient(circle, transparent 0 17px, rgba(200,183,255,.11) 18px 19px); }
.visual-button { position: absolute; bottom: 15%; left: 8%; width: 24%; height: 24px; border-radius: 6px; background: var(--coral); }

.visual-platform { display: grid; padding: 11% 5% 5% 24%; grid-template-columns: repeat(3, 1fr); grid-template-rows: 17% 24% 1fr; gap: 5%; }
.platform-side { position: absolute; top: 0; bottom: 0; left: 0; width: 18%; padding-top: 20%; border-right: 1px solid var(--line); background: rgba(200,183,255,.035); }
.platform-side i { display: block; width: 38%; height: 4px; margin: 0 auto 18px; background: rgba(200,183,255,.18); }
.platform-side i:nth-child(2) { background: var(--coral); }
.platform-head { grid-column: 1/-1; width: 45%; height: 10px; background: var(--lavender); opacity: .65; }
.platform-cards { display: contents; }
.platform-cards i { border: 1px solid var(--line); border-radius: 9px; background: linear-gradient(140deg, rgba(200,183,255,.15), rgba(200,183,255,.02)); }
.platform-cards i:nth-child(2) { background: linear-gradient(140deg, rgba(255,112,98,.19), rgba(255,112,98,.02)); }
.platform-chart { display: flex; grid-column: 1/-1; padding: 7% 7% 0; border: 1px solid var(--line); border-radius: 9px; align-items: end; gap: 8%; }
.platform-chart i { flex: 1; height: 40%; border-radius: 4px 4px 0 0; background: rgba(200,183,255,.5); }
.platform-chart i:nth-child(2) { height: 72%; }
.platform-chart i:nth-child(3) { height: 54%; background: var(--coral); }
.platform-chart i:nth-child(4) { height: 84%; }
.platform-chart i:nth-child(5) { height: 64%; background: rgba(142,226,186,.6); }

.visual-data { background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px); background-size: 30px 30px; }
.data-ring { position: absolute; top: 12%; left: 8%; width: 34%; aspect-ratio: 1; border: 15px solid rgba(200,183,255,.12); border-top-color: var(--coral); border-right-color: rgba(200,183,255,.55); border-radius: 50%; }
.data-ring i { position: absolute; inset: 23%; border: 1px solid var(--line); border-radius: 50%; }
.data-bars { position: absolute; top: 13%; right: 7%; display: flex; width: 43%; height: 32%; align-items: end; gap: 6%; }
.data-bars i { flex: 1; height: 45%; background: rgba(200,183,255,.32); }
.data-bars i:nth-child(2) { height: 76%; }
.data-bars i:nth-child(3) { height: 54%; background: var(--coral); }
.data-bars i:nth-child(4) { height: 88%; }
.data-bars i:nth-child(5) { height: 67%; }
.data-bars i:nth-child(6) { height: 96%; background: rgba(142,226,186,.48); }
.data-line { position: absolute; right: 7%; bottom: 14%; left: 8%; height: 30%; border-bottom: 1px solid var(--line); }
.data-line::before { position: absolute; top: 48%; left: 0; width: 100%; height: 2px; background: linear-gradient(90deg, var(--lavender), var(--coral)); content: ""; transform: skewY(-8deg); box-shadow: 0 0 14px rgba(200,183,255,.25); }
.data-line i { position: absolute; top: 40%; width: 8px; height: 8px; border: 2px solid var(--lavender); border-radius: 50%; background: #141319; }
.data-line i:nth-child(1) { left: 5%; top: 56%; }
.data-line i:nth-child(2) { left: 32%; top: 45%; }
.data-line i:nth-child(3) { left: 64%; top: 31%; border-color: var(--coral); }
.data-line i:nth-child(4) { right: 3%; top: 18%; }
.data-key { position: absolute; bottom: 6%; left: 8%; display: flex; gap: 9px; }
.data-key i { width: 28px; height: 3px; background: rgba(200,183,255,.22); }
.data-key i:nth-child(2) { background: var(--coral); }

.process-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(70px, 9vw, 130px);
}

.process-intro {
  position: sticky;
  top: 120px;
  height: max-content;
}

.process-intro > p:not(.eyebrow) {
  max-width: 480px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.terminal {
  margin-top: 50px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: rgba(27, 25, 34, 0.88);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
}

.terminal-top {
  display: flex;
  padding-bottom: 14px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--line);
  align-items: center;
  gap: 6px;
}

.terminal-top i { width: 6px; height: 6px; border-radius: 50%; background: #4c4852; }
.terminal-top i:first-child { background: var(--coral); }
.terminal-top span { margin-left: auto; color: #716b79; font-size: 9px; letter-spacing: .08em; }
.terminal > p { display: grid; margin: 0; padding: 10px 0; grid-template-columns: 32px 1fr auto; align-items: center; gap: 8px; color: #77717f; font-size: 10px; }
.terminal > p span { color: #645f6c; }
.terminal > p b { color: #b9b2c2; font-weight: 500; }
.terminal > p i { color: var(--green); font-style: normal; }
.terminal > p i.working { color: var(--coral); }
.terminal > p i.waiting { color: #706a78; }

.process-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.process-list li {
  display: grid;
  min-height: 185px;
  padding: 34px 12px;
  border-top: 1px solid var(--line);
  grid-template-columns: 60px 1fr auto;
  align-items: start;
  gap: 24px;
  transition: padding 220ms ease, background 220ms ease;
}

.process-list li:last-child { border-bottom: 1px solid var(--line); }
.process-list li:hover { padding-right: 22px; padding-left: 22px; background: rgba(200,183,255,.035); }
.process-list > li > span { color: var(--coral); font-size: 11px; }
.process-list h3 { margin: -4px 0 9px; font-size: 26px; font-weight: 550; letter-spacing: -.04em; }
.process-list p { max-width: 460px; margin: 0; color: var(--muted); font-size: 13px; }
.process-list > li > i { color: #6e6876; font-style: normal; transition: color 180ms ease, transform 180ms ease; }
.process-list li:hover > i { color: var(--coral); transform: translate(3px, -3px); }

.contact {
  padding-top: 80px;
  padding-bottom: 100px;
}

.contact-panel {
  --shift-x-small: 0px;
  --shift-y-small: 0px;
  --shift-x-large: 0px;
  --shift-y-large: 0px;
  position: relative;
  min-height: 590px;
  padding: clamp(38px, 7vw, 86px);
  border: 1px solid rgba(200, 183, 255, 0.18);
  border-radius: 30px;
  background:
    radial-gradient(circle at 75% 40%, rgba(200, 183, 255, 0.13), transparent 30%),
    #1a1820;
  overflow: hidden;
}

.contact-grid {
  position: absolute;
  inset: -40px;
  background-image:
    linear-gradient(rgba(200, 183, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 183, 255, 0.045) 1px, transparent 1px);
  background-size: 42px 42px;
  -webkit-mask-image: radial-gradient(circle at 78% 48%, black, transparent 45%);
  mask-image: radial-gradient(circle at 78% 48%, black, transparent 45%);
}

.contact-copy {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.contact h2 {
  margin: 0;
  font-size: clamp(40px, 6.4vw, 78px);
  font-weight: 520;
  letter-spacing: -0.075em;
  line-height: 1.13;
}

.contact-copy > p:not(.eyebrow) {
  max-width: 620px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.contact-orb {
  position: absolute;
  top: 50%;
  right: -40px;
  width: 390px;
  height: 390px;
  margin-top: -195px;
  border: 1px solid rgba(200, 183, 255, 0.14);
  border-radius: 50%;
  box-shadow: inset 0 0 80px rgba(200, 183, 255, 0.035);
}

.contact-orb::before,
.contact-orb::after { position: absolute; border: 1px solid rgba(200, 183, 255, .1); border-radius: 50%; content: ""; }
.contact-orb::before { inset: 18%; }
.contact-orb::after { inset: 36%; background: rgba(200,183,255,.04); }
.contact-orb i { position: absolute; width: 9px; height: 9px; border-radius: 50%; background: var(--lavender); box-shadow: 0 0 16px rgba(200,183,255,.65); }
.contact-orb i:nth-child(1) { top: 19%; left: 12%; }
.contact-orb i:nth-child(2) { right: 10%; top: 48%; background: var(--coral); }
.contact-orb i:nth-child(3) { bottom: 7%; left: 46%; background: var(--green); }

.contact-code {
  position: absolute;
  right: 30px;
  bottom: 26px;
  display: flex;
  color: rgba(200, 183, 255, 0.28);
  font-size: 9px;
  letter-spacing: .08em;
  flex-direction: column;
  align-items: end;
}

.brief-dialog {
  width: min(640px, calc(100% - 32px));
  max-height: calc(100svh - 40px);
  padding: 0;
  border: 1px solid rgba(200, 183, 255, 0.25);
  border-radius: 22px;
  background: #1b1921;
  color: var(--text);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.55);
}

.brief-dialog::backdrop {
  background: rgba(10, 9, 12, 0.78);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}

.dialog-head {
  display: flex;
  min-height: 60px;
  padding: 0 18px 0 24px;
  border-bottom: 1px solid var(--line);
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 11px;
}

.dialog-head button {
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  color: var(--text);
  font-size: 21px;
  cursor: pointer;
}

.dialog-body {
  padding: clamp(28px, 5vw, 48px);
}

.dialog-body h2 { margin: 0; font-size: clamp(28px, 5vw, 42px); font-weight: 520; letter-spacing: -.06em; }
.dialog-body ol { padding: 0; margin: 32px 0 0; list-style: none; }
.dialog-body li { display: grid; padding: 17px 0; border-top: 1px solid var(--line); grid-template-columns: 48px 1fr; gap: 12px; }
.dialog-body li > span { color: var(--coral); font-size: 10px; }
.dialog-body li b { display: block; margin-top: -4px; font-size: 14px; font-weight: 650; }
.dialog-body li p { margin: 3px 0 0; color: var(--muted); font-size: 12px; }
.dialog-note { padding: 13px 15px; margin: 24px 0 0; border-radius: 10px; background: rgba(200,183,255,.06); color: #c7c0d0; font-size: 11px; }

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

.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 700ms cubic-bezier(.2,.75,.25,1), transform 700ms cubic-bezier(.2,.75,.25,1);
}

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

@media (max-width: 980px) {
  :root { --shell: min(100% - 36px, 760px); }
  .site-nav { gap: 20px; }
  .hero { align-items: start; }
  .hero-copy { grid-column: 1 / -1; grid-row: auto; min-height: 520px; }
  .system-card { grid-column: 1 / -1; grid-row: auto; min-height: 600px; }
  .mini-card { grid-column: span 6; }
  .section-heading { grid-template-columns: 1fr; gap: 24px; }
  .service-card,
  .service-feature,
  .service-card:nth-child(3),
  .service-card:nth-child(4) { grid-column: span 6; }
  .scenario-panel { grid-template-columns: 1fr; }
  .deliverable-visual { max-width: 540px; }
  .process-layout { grid-template-columns: 1fr; }
  .process-intro { position: static; }
  .terminal { max-width: 560px; }
  .contact-orb { right: -170px; opacity: .55; }
  .contact-copy { max-width: 650px; }
}

@media (max-width: 760px) {
  :root { --shell: calc(100% - 28px); --radius: 18px; }
  html { scroll-padding-top: 76px; }
  body::before { background-size: 48px 48px; }
  .header-inner { min-height: 68px; gap: 14px; }
  .brand { gap: 9px; font-size: 11px; }
  .brand-mark { width: 30px; height: 30px; border-radius: 9px; }
  .brand-mark::before { left: 7px; top: 7px; }
  .brand-mark::after { right: 7px; bottom: 7px; }
  .brand-mark span:nth-child(1) { right: 7px; top: 7px; }
  .brand-mark span:nth-child(2) { left: 7px; bottom: 7px; }
  .nav-toggle { display: block; flex: 0 0 auto; }
  .site-nav {
    position: absolute;
    top: 68px;
    left: 0;
    display: none;
    width: 100%;
    padding: 18px 14px 24px;
    border-bottom: 1px solid var(--line);
    background: rgba(18, 17, 22, .97);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .site-header.is-open .site-nav { display: flex; }
  .site-nav a { padding: 13px 10px; border-bottom: 1px solid rgba(255,255,255,.06); }
  .site-nav .nav-cta { margin-top: 12px; border-bottom: 1px solid rgba(200,183,255,.24); text-align: center; }
  .site-header.is-open .nav-toggle > span:nth-child(2) { transform: translateY(3px) rotate(45deg); }
  .site-header.is-open .nav-toggle > span:nth-child(3) { transform: translateY(-3px) rotate(-45deg); }
  .hero { min-height: auto; padding: 96px 0 80px; }
  .hero-copy { min-height: 500px; padding: 30px 24px; }
  .hero h1 { font-size: clamp(40px, 12.8vw, 58px); }
  .hero-lead { font-size: 14px; }
  .button { width: 100%; }
  .system-card { min-height: 550px; padding: 20px; }
  .mini-card { grid-column: 1 / -1; min-height: 140px; }
  .scroll-cue { display: none; }
  .section { padding: 96px 0; }
  .section-heading { margin-bottom: 40px; }
  .section-heading h2,
  .process-intro > h2 { font-size: clamp(36px, 12vw, 52px); }
  .service-card,
  .service-feature,
  .service-card:nth-child(3),
  .service-card:nth-child(4) { grid-column: 1 / -1; min-height: 390px; padding: 25px; }
  .service-icon { margin-bottom: 46px; }
  .scenario-tabs { display: flex; padding: 8px; gap: 6px; overflow-x: auto; }
  .scenario-tabs button { flex: 0 0 auto; min-height: 52px; padding: 0 14px; border: 0; border-radius: 9px; font-size: 12px; white-space: nowrap; }
  .scenario-tabs button::after { right: 12px; left: 12px; }
  .scenario-tabs button span { margin-right: 7px; }
  .scenario-panel { min-height: auto; padding: 32px 20px 20px; gap: 36px; }
  .scenario-content h3 { font-size: 30px; }
  .deliverable-visual { border-radius: 14px; }
  .process-layout { gap: 56px; }
  .process-list li { min-height: 170px; padding: 28px 4px; grid-template-columns: 38px 1fr; gap: 12px; }
  .process-list > li > i { display: none; }
  .process-list h3 { font-size: 22px; }
  .contact { padding-top: 20px; padding-bottom: 70px; }
  .contact-panel { min-height: 620px; padding: 36px 24px; }
  .contact h2 { font-size: clamp(40px, 12.3vw, 57px); }
  .contact-orb { top: auto; right: -80px; bottom: -170px; width: 330px; height: 330px; margin: 0; }
  .contact-code { right: 20px; bottom: 18px; }
  .dialog-body { padding: 28px 22px; }
}

@media (max-width: 390px) {
  .brand-name { max-width: 210px; font-size: 10px; }
  .hero-copy { min-height: 540px; }
  .hero h1 { font-size: 39px; }
  .system-card { min-height: 500px; }
  .map-label { display: none; }
  .service-card { min-height: 410px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .scene-layer { transform: none !important; }
}
