:root {
  --bg: #08090d;
  --bg-soft: #0d0f14;
  --panel: rgba(255, 255, 255, .045);
  --panel-strong: rgba(255, 255, 255, .075);
  --line: rgba(255, 255, 255, .105);
  --line-soft: rgba(255, 255, 255, .065);
  --text: #f4f5f7;
  --muted: #9aa0ac;
  --faint: #656b78;
  --brand: #8b5cf6;
  --brand-2: #22d3ee;
  --ok: #34d399;
  --warn: #fbbf24;
  --danger: #fb7185;
  --ink: #111318;
  --radius: 8px;
  --shadow: 0 24px 80px rgba(0, 0, 0, .42);
}

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

html { scroll-behavior: smooth; }

body {
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .035), transparent 22rem),
    linear-gradient(135deg, rgba(34, 211, 238, .075), transparent 24rem),
    linear-gradient(315deg, rgba(251, 191, 36, .055), transparent 26rem),
    var(--bg);
  color: var(--text);
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.intro-lock {
  overflow: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 78%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .012), rgba(255, 255, 255, .012) 1px, transparent 1px, transparent 6px);
  opacity: .55;
}

.ambient-field {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  opacity: .78;
  contain: layout paint style;
}

.ambient-field::before {
  content: "";
  position: absolute;
  inset: -12%;
  background:
    radial-gradient(520px 320px at calc(18% + var(--parallax-x, 0px) * .18) calc(20% + var(--parallax-y, 0px) * .16), rgba(34, 211, 238, .10), transparent 68%),
    radial-gradient(620px 360px at calc(82% + var(--parallax-x, 0px) * -.16) calc(76% + var(--parallax-y, 0px) * -.12), rgba(139, 92, 246, .11), transparent 70%);
  filter: blur(.2px);
}

.ambient-orbit {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--s);
  height: var(--s);
  transform:
    translate3d(calc(var(--parallax-x, 0px) * var(--d)), calc(var(--parallax-y, 0px) * var(--d)), 0)
    rotate(var(--r, 0deg));
  opacity: var(--o, .18);
  transition: opacity .25s ease;
  will-change: transform;
}

.ambient-orbit.logo {
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.015)),
    rgba(255,255,255,.02);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 20px 80px rgba(0,0,0,.22);
}

.ambient-orbit.logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 18%;
  filter: saturate(1.1) drop-shadow(0 18px 26px rgba(139,92,246,.22));
}

.ambient-orbit.token {
  width: auto;
  height: auto;
  border: 1px solid rgba(255,255,255,.085);
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  color: rgba(226, 232, 240, .52);
  font: 700 12px/1 "SFMono-Regular", Consolas, monospace;
  padding: 10px 13px;
  letter-spacing: 0;
  backdrop-filter: blur(8px);
}

.ambient-orbit.ring {
  border-radius: 999px;
  border: 1px solid rgba(34, 211, 238, .16);
  box-shadow: inset 0 0 32px rgba(34, 211, 238, .055), 0 0 50px rgba(139, 92, 246, .055);
}

.ambient-orbit.line {
  width: 180px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(165, 243, 252, .18), transparent);
}

.ambient-field.idle .ambient-orbit {
  animation: ambientFloat 8s ease-in-out infinite alternate;
}

.ambient-field.idle .ambient-orbit:nth-child(2n) {
  animation-duration: 10s;
  animation-direction: alternate-reverse;
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; display: block; }

.shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

.topbar,
main,
.footer {
  position: relative;
  z-index: 1;
}

.site-intro {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background:
    radial-gradient(900px 500px at 50% 18%, rgba(34, 211, 238, .14), transparent 62%),
    linear-gradient(180deg, rgba(255,255,255,.035), transparent),
    #07080c;
  color: var(--text);
  overflow: hidden;
}

.site-intro::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at 50% 42%, black 0%, transparent 72%);
}

.site-intro.hide {
  pointer-events: none;
  animation: introExit .55s cubic-bezier(.16, 1, .3, 1) forwards;
}

.intro-panel {
  position: relative;
  width: min(520px, calc(100% - 40px));
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  background: rgba(255,255,255,.055);
  box-shadow: 0 30px 120px rgba(0,0,0,.58), inset 0 1px 0 rgba(255,255,255,.12);
  backdrop-filter: blur(22px) saturate(1.25);
  padding: 26px;
  animation: introPanel .78s cubic-bezier(.16, 1, .3, 1) both;
}

.intro-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 24px;
  font-weight: 840;
}

.intro-brand img {
  width: 38px;
  height: 38px;
  border-radius: 8px;
}

.intro-sub {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

.intro-steps {
  display: grid;
  gap: 8px;
  margin-top: 22px;
}

.intro-step {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 34px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  background: rgba(0,0,0,.16);
  color: var(--muted);
  padding: 0 11px;
  font-size: 12px;
  opacity: 0;
  transform: translateY(8px);
  animation: introStep .42s cubic-bezier(.16, 1, .3, 1) forwards;
}

.intro-step:nth-child(1) { animation-delay: .28s; }
.intro-step:nth-child(2) { animation-delay: .5s; }
.intro-step:nth-child(3) { animation-delay: .72s; }

.intro-step b {
  color: #bbf7d0;
  font-size: 11px;
}

.intro-progress {
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  overflow: hidden;
  margin-top: 22px;
}

.intro-progress span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #22d3ee, #8b5cf6, #fbbf24);
  transform-origin: left center;
  animation: introProgress 1.55s cubic-bezier(.16, 1, .3, 1) .28s both;
}

.cursor-aura {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 60;
  width: 320px;
  height: 320px;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 211, 238, .12), rgba(139, 92, 246, .055) 38%, transparent 70%);
  opacity: 0;
  transform: translate3d(-50%, -50%, 0);
  transition: opacity .25s ease;
  mix-blend-mode: screen;
}

body.pointer-active .cursor-aura {
  opacity: 1;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 68px;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(8, 9, 13, .78);
  backdrop-filter: blur(22px) saturate(1.35);
}

.topbar .shell {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 760;
  letter-spacing: 0;
}

.brand-link img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  border-radius: 7px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 14px;
  transition: background .18s, color .18s, border-color .18s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  background: rgba(255, 255, 255, .055);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn,
.icon-btn {
  position: relative;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .045);
  color: var(--text);
  padding: 0 15px;
  font-size: 14px;
  font-weight: 680;
  transition: transform .18s, background .18s, border-color .18s, box-shadow .18s;
  overflow: hidden;
}

.btn::before,
.icon-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.16), transparent);
  transform: translateX(-120%);
  transition: transform .55s cubic-bezier(.16, 1, .3, 1);
}

.btn:hover::before,
.icon-btn:hover::before {
  transform: translateX(120%);
}

.btn > *,
.icon-btn > * {
  position: relative;
  z-index: 1;
}

.btn:hover,
.icon-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .075);
}

.btn.primary {
  border-color: rgba(139, 92, 246, .48);
  background: linear-gradient(135deg, #8b5cf6, #2563eb 55%, #0891b2);
  color: #fff;
  box-shadow: 0 14px 38px rgba(37, 99, 235, .25);
}

.btn.primary:hover { box-shadow: 0 18px 48px rgba(37, 99, 235, .33); }
.btn.ghost { background: transparent; }
.btn.danger { color: var(--danger); border-color: rgba(251, 113, 133, .22); background: rgba(251, 113, 133, .08); }
.btn.full { width: 100%; }

.mobile-menu { display: none; width: 38px; padding: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 28px;
  padding: 0 11px;
  border: 1px solid rgba(34, 211, 238, .22);
  border-radius: 999px;
  background: rgba(34, 211, 238, .07);
  color: #9be8f5;
  font-size: 12px;
  font-weight: 720;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 5px rgba(52, 211, 153, .12);
}

.hero {
  min-height: calc(100vh - 68px);
  padding: 70px 0 58px;
  display: grid;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

.hero-copy {
  width: min(900px, 100%);
  margin: 0 auto;
  text-align: center;
}

.hero-copy h1,
.page-hero h1 {
  margin-top: 22px;
  font-size: clamp(44px, 6vw, 78px);
  line-height: 1.04;
  letter-spacing: 0;
  font-weight: 850;
}

.hero-copy h1 span,
.page-hero h1 span {
  background: linear-gradient(110deg, #fff 0%, #a5f3fc 34%, #c4b5fd 66%, #fde68a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  margin-top: 22px;
  max-width: 650px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.9;
}

.hero-copy .lead {
  margin-left: auto;
  margin-right: auto;
  max-width: 720px;
}

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

.hero-copy .hero-actions {
  justify-content: center;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 42px;
}

.hero-copy .metrics {
  width: min(760px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.metric {
  border-top: 1px solid var(--line-soft);
  padding-top: 15px;
}

.metric strong {
  display: block;
  font-size: 28px;
  line-height: 1;
}

.metric span {
  display: block;
  margin-top: 7px;
  color: var(--faint);
  font-size: 13px;
}

.product-stage {
  position: relative;
  min-height: 560px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.025)),
    rgba(11, 13, 18, .88);
  box-shadow: var(--shadow);
  overflow: hidden;
  transform-style: preserve-3d;
}

.product-stage.elevated {
  width: min(1080px, 100%);
  min-height: 606px;
  margin: 0 auto;
  border-color: rgba(255, 255, 255, .14);
  background:
    linear-gradient(180deg, rgba(255,255,255,.095), rgba(255,255,255,.022)),
    radial-gradient(900px 360px at 88% 4%, rgba(34, 211, 238, .16), transparent 62%),
    radial-gradient(700px 420px at 6% 100%, rgba(251, 191, 36, .105), transparent 64%),
    #0a0c11;
}

.product-stage.elevated.visible {
  animation: stageLift .85s cubic-bezier(.16, 1, .3, 1) both, stageBreath 7s ease-in-out 1s infinite;
}

.product-stage.is-tilting {
  transition: transform .08s linear;
}

.product-stage.elevated::before {
  content: "";
  position: absolute;
  inset: 42px 0 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(to bottom, black, transparent 75%);
}

.product-stage.elevated .stage-main::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -70%;
  height: 55%;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(165, 243, 252, .08), transparent);
  animation: consoleScan 5.6s ease-in-out 1.4s infinite;
}

.product-stage.elevated::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16), inset 0 -1px 0 rgba(255,255,255,.045);
}

.stage-titlebar {
  height: 42px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, .04);
  color: var(--faint);
  font-size: 12px;
}

.stage-chip {
  margin-left: auto;
  height: 24px;
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
  border: 1px solid rgba(34, 211, 238, .22);
  border-radius: 999px;
  color: #a5f3fc;
  background: rgba(34, 211, 238, .065);
}

.traffic {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--danger);
}
.traffic:nth-child(2) { background: var(--warn); }
.traffic:nth-child(3) { background: var(--ok); }

.stage-body {
  display: grid;
  grid-template-columns: 176px 1fr;
  min-height: 564px;
  position: relative;
  z-index: 1;
}

.stage-side {
  border-right: 1px solid var(--line-soft);
  padding: 16px 12px;
  background: rgba(255, 255, 255, .025);
}

.side-brand {
  display: grid;
  grid-template-columns: 28px 1fr;
  column-gap: 9px;
  align-items: center;
  color: #f8fafc;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 18px;
}

.side-brand img {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  grid-row: span 2;
}

.side-brand span {
  display: block;
  color: var(--faint);
  font-size: 11px;
  font-weight: 520;
  margin-top: 3px;
}

.stage-side .side-item {
  display: flex;
  align-items: center;
  gap: 9px;
  height: 34px;
  padding: 0 8px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 7px;
}

.stage-side .side-item b {
  margin-left: auto;
  border: 1px solid rgba(251, 191, 36, .24);
  border-radius: 999px;
  padding: 1px 6px;
  color: #fde68a;
  font-size: 10px;
}

.stage-side .side-item.active {
  background: rgba(139, 92, 246, .16);
  color: #e9ddff;
}

.side-dot {
  width: 8px;
  height: 8px;
  border-radius: 3px;
  background: currentColor;
}

.side-sep {
  border-top: 1px solid var(--line-soft);
  margin: 14px 0;
}

.side-mini {
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: rgba(255,255,255,.035);
  padding: 9px;
  margin-bottom: 9px;
}

.side-mini span {
  display: block;
  color: var(--faint);
  font-size: 11px;
}

.side-mini strong {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: #dbeafe;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stage-main { position: relative; padding: 18px; overflow: hidden; }

.build-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.build-header h3 { font-size: 18px; }
.build-header p { color: var(--faint); font-size: 12px; max-width: 360px; }

.build-status {
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 8px;
  flex-wrap: wrap;
}

.build-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 14px;
}

.console-overview {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  gap: 12px;
}

.panel {
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: rgba(255, 255, 255, .04);
  padding: 14px;
}

.panel h4 {
  font-size: 13px;
  color: #d7dae2;
  margin-bottom: 12px;
}

.build-config {
  background:
    linear-gradient(180deg, rgba(139, 92, 246, .08), rgba(255,255,255,.04)),
    rgba(255,255,255,.04);
}

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

.config-item {
  min-height: 52px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: rgba(0, 0, 0, .17);
  padding: 9px;
}

.config-item span {
  display: block;
  color: var(--faint);
  font-size: 11px;
  margin-bottom: 5px;
}

.config-item code {
  display: block;
  color: #e0f2fe;
  font-size: 11px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.switch-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 12px 0;
}

.switch-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 26px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 999px;
  padding: 0 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 720;
}

.switch-pill::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.switch-pill.on {
  color: #bbf7d0;
  border-color: rgba(52, 211, 153, .22);
  background: rgba(52, 211, 153, .075);
}

.field-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid var(--line-soft);
  padding: 10px 0;
  color: var(--muted);
  font-size: 12px;
}

.field-row:last-child { border-bottom: 0; }
.field-row code { color: #a5f3fc; font-family: "SFMono-Regular", Consolas, monospace; font-size: 12px; }

.progress-list { display: grid; gap: 10px; }
.progress-line { height: 8px; border-radius: 999px; background: rgba(255,255,255,.06); overflow: hidden; }
.progress-line span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #22d3ee, #8b5cf6, #fbbf24); }

.visible .progress-line span {
  transform-origin: left center;
  animation: progressGrow .95s cubic-bezier(.16, 1, .3, 1) both, progressFlow 2.8s linear 1s infinite;
  background-size: 220% 100%;
}

.release-card {
  margin-top: 12px;
  border: 1px solid rgba(52, 211, 153, .18);
  border-radius: 8px;
  background: rgba(52, 211, 153, .07);
  padding: 14px;
}

.release-card strong { display: block; color: #c7f9e6; }
.release-card span { color: var(--muted); font-size: 12px; }
.release-card.premium {
  border-color: rgba(34, 211, 238, .25);
  background:
    linear-gradient(135deg, rgba(34, 211, 238, .11), rgba(139, 92, 246, .085)),
    rgba(255,255,255,.035);
}

.release-flow {
  background:
    linear-gradient(180deg, rgba(34, 211, 238, .06), rgba(255,255,255,.035)),
    rgba(255,255,255,.04);
}

.pipeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.pipe-step {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 7px;
  align-items: center;
  min-height: 86px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: rgba(0, 0, 0, .15);
  padding: 10px;
}

.pipe-step b {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(255,255,255,.07);
  color: var(--muted);
  font-size: 11px;
}

.pipe-step span {
  display: block;
  color: var(--text);
  font-weight: 760;
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pipe-step small {
  display: block;
  color: var(--faint);
  font-size: 11px;
  line-height: 1.45;
}

.pipe-step.done b {
  color: #bbf7d0;
  background: rgba(52, 211, 153, .12);
}

.pipe-step.active {
  border-color: rgba(34, 211, 238, .28);
  box-shadow: inset 0 0 0 1px rgba(34, 211, 238, .06), 0 0 34px rgba(34, 211, 238, .08);
}

.pipe-step.active b {
  color: #a5f3fc;
  background: rgba(34, 211, 238, .13);
}

.visible .pipe-step {
  animation: pipeRise .52s cubic-bezier(.16, 1, .3, 1) both;
}

.visible .pipe-step:nth-child(1) { animation-delay: .12s; }
.visible .pipe-step:nth-child(2) { animation-delay: .22s; }
.visible .pipe-step:nth-child(3) { animation-delay: .32s; }
.visible .pipe-step:nth-child(4) { animation-delay: .42s; }

.pipe-step.active b,
.switch-pill.on::before,
.status-dot {
  animation: softPulse 2.4s ease-in-out infinite;
}

.progress-list.compact {
  margin-top: 12px;
}

.stage-bottom {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 12px;
}

.version-table,
.security-stack {
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: rgba(255,255,255,.04);
  padding: 14px;
}

.table-head,
.version-row {
  display: grid;
  grid-template-columns: 88px 104px 1fr;
  gap: 10px;
  align-items: center;
  min-height: 34px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 12px;
}

.table-head {
  color: #dbeafe;
  font-weight: 760;
}

.version-row:last-child { border-bottom: 0; }
.version-row b { color: var(--faint); font-weight: 680; }
.version-row em { color: var(--faint); font-style: normal; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.version-row.live span, .version-row.live b { color: #bbf7d0; }

.security-stack {
  display: flex;
  align-content: start;
  align-items: start;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 14px;
}

.section {
  padding: 96px 0;
  border-top: 1px solid rgba(255, 255, 255, .045);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 34px;
}

.section-head h2,
.page-hero h1 {
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: 0;
  font-weight: 820;
}

.section-head p,
.page-hero p {
  max-width: 560px;
  color: var(--muted);
  margin-top: 12px;
}

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }

.card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: rgba(255, 255, 255, .04);
  padding: 20px;
  transition: transform .2s, background .2s, border-color .2s;
}

.panel,
.plan,
.form-card,
.version-table,
.security-stack,
.download-grid .card {
  position: relative;
  overflow: hidden;
}

.interactive-surface::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(165, 243, 252, .13), rgba(139, 92, 246, .055) 34%, transparent 62%);
  transition: opacity .22s ease;
}

.interactive-surface:hover::before {
  opacity: 1;
}

.interactive-surface > * {
  position: relative;
  z-index: 1;
}

.card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .06);
}

.click-ripple {
  position: fixed;
  z-index: 9998;
  width: 12px;
  height: 12px;
  border: 1px solid rgba(165, 243, 252, .75);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  animation: rippleOut .6s ease-out forwards;
}

.card .icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
  color: #a5f3fc;
  margin-bottom: 16px;
}

.card h3 { font-size: 17px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 14px; }

.tag {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 9px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 680;
}

.tag.hot { border-color: rgba(251, 191, 36, .22); color: #fde68a; background: rgba(251, 191, 36, .08); }
.tag.ok { border-color: rgba(52, 211, 153, .22); color: #bbf7d0; background: rgba(52, 211, 153, .08); }
.tag.brand { border-color: rgba(139, 92, 246, .25); color: #ddd6fe; background: rgba(139, 92, 246, .09); }

.page-hero {
  padding: 76px 0 46px;
}

.page-hero.compact {
  padding-bottom: 28px;
}

.roadmap-hero {
  padding-bottom: 72px;
}

.roadmap-hero p {
  max-width: 760px;
  font-size: 16px;
  line-height: 1.85;
}

.roadmap-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 180px));
  gap: 32px;
  margin-top: 42px;
}

.roadmap-summary div {
  display: grid;
  gap: 2px;
  border-left: 1px solid var(--line);
  padding-left: 18px;
}

.roadmap-summary strong {
  font-size: 28px;
  line-height: 1.1;
}

.roadmap-summary span {
  color: var(--muted);
  font-size: 13px;
}

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

.roadmap-track {
  position: relative;
}

.roadmap-track::before {
  content: "";
  position: absolute;
  top: 20px;
  bottom: 20px;
  left: 25px;
  width: 1px;
  background: linear-gradient(to bottom, var(--brand-2), var(--brand), var(--warn), rgba(255,255,255,.08));
}

.roadmap-phase {
  position: relative;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 28px;
  padding-bottom: 72px;
}

.roadmap-phase:last-child {
  padding-bottom: 0;
}

.phase-marker {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(165, 243, 252, .3);
  border-radius: 50%;
  background: #0b0d12;
  box-shadow: 0 0 0 8px rgba(8, 9, 13, .9), 0 0 34px rgba(34, 211, 238, .12);
  color: #a5f3fc;
  font: 750 12px/1 "SFMono-Regular", Consolas, monospace;
}

.phase-main {
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

.phase-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 24px;
}

.phase-kicker {
  display: block;
  margin-bottom: 6px;
  color: var(--brand-2);
  font-size: 12px;
  font-weight: 760;
}

.phase-heading h3 {
  font-size: clamp(23px, 3vw, 34px);
  line-height: 1.25;
}

.phase-status {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.phase-status.building { border-color: rgba(52, 211, 153, .28); color: #86efac; background: rgba(52, 211, 153, .07); }
.phase-status.research { border-color: rgba(34, 211, 238, .28); color: #a5f3fc; background: rgba(34, 211, 238, .07); }
.phase-status.planned { border-color: rgba(139, 92, 246, .32); color: #c4b5fd; background: rgba(139, 92, 246, .08); }
.phase-status.explore { border-color: rgba(251, 191, 36, .25); color: #fde68a; background: rgba(251, 191, 36, .06); }

.phase-intro {
  max-width: 790px;
  margin-top: 12px;
  color: var(--muted);
}

.feature-lines {
  margin-top: 26px;
  border-top: 1px solid var(--line-soft);
}

.feature-line {
  display: grid;
  grid-template-columns: minmax(150px, .7fr) minmax(280px, 1.8fr) auto;
  align-items: center;
  gap: 24px;
  min-height: 82px;
  border-bottom: 1px solid var(--line-soft);
}

.feature-line b {
  font-size: 15px;
}

.feature-line span {
  color: var(--muted);
  font-size: 14px;
}

.feature-line em {
  color: var(--faint);
  font: 700 11px/1 "SFMono-Regular", Consolas, monospace;
  font-style: normal;
  text-transform: uppercase;
}

.roadmap-principles {
  background: rgba(255, 255, 255, .018);
}

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

.principle-item {
  min-height: 210px;
  border-right: 1px solid var(--line);
  padding: 26px 24px;
}

.principle-item:last-child {
  border-right: 0;
}

.principle-item > span {
  color: var(--faint);
  font: 700 11px/1 "SFMono-Regular", Consolas, monospace;
}

.principle-item strong {
  display: block;
  margin: 42px 0 10px;
  font-size: 17px;
}

.principle-item p {
  color: var(--muted);
  font-size: 14px;
}

.roadmap-cta {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}

.roadmap-cta h2 {
  margin-top: 18px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.12;
}

.roadmap-cta p {
  max-width: 660px;
  margin-top: 12px;
  color: var(--muted);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  align-items: stretch;
}

.plan {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: rgba(255, 255, 255, .04);
  padding: 24px;
}

.plan.featured {
  border-color: rgba(139, 92, 246, .42);
  background: linear-gradient(180deg, rgba(139, 92, 246, .12), rgba(255, 255, 255, .045));
}

.plan-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
  margin-bottom: 18px;
}

.plan-name { font-size: 18px; font-weight: 760; }
.price { margin: 8px 0 16px; }
.price strong { font-size: 44px; line-height: 1; }
.price span { color: var(--muted); font-size: 14px; }
.plan-desc { color: var(--muted); font-size: 14px; margin-bottom: 20px; }

.feature-list {
  list-style: none;
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.feature-list li {
  display: flex;
  gap: 9px;
  align-items: center;
}

.check {
  color: var(--ok);
  font-weight: 820;
}

.muted-check { color: var(--faint); }

.toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: rgba(255, 255, 255, .04);
}

.toggle button {
  height: 32px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  padding: 0 13px;
}

.toggle button.active {
  background: rgba(255, 255, 255, .1);
  color: var(--text);
}

.doc-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 42px;
  align-items: start;
}

.doc-nav {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 6px;
}

.doc-nav a {
  color: var(--muted);
  padding: 9px 11px;
  border-radius: 8px;
  font-size: 14px;
}

.doc-nav a:hover { background: rgba(255,255,255,.055); color: var(--text); }

.doc-content {
  max-width: 820px;
}

.doc-block {
  padding: 30px 0;
  border-bottom: 1px solid var(--line-soft);
}

.doc-block:first-child { padding-top: 0; }
.doc-block h2 { font-size: 28px; margin-bottom: 16px; }
.doc-block h3 { font-size: 18px; margin: 22px 0 8px; color: #dbeafe; }
.doc-block p, .doc-block li { color: var(--muted); }
.doc-block ul, .doc-block ol { padding-left: 20px; margin: 12px 0; }
.doc-block li { margin: 6px 0; }

pre {
  overflow-x: auto;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: rgba(0, 0, 0, .24);
  padding: 16px;
  margin: 14px 0;
}

code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  color: #a5f3fc;
}

:not(pre) > code {
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  background: rgba(255, 255, 255, .045);
  padding: 2px 6px;
  font-size: .92em;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 14px 0;
  overflow: hidden;
  border-radius: 8px;
}

th, td {
  border: 1px solid var(--line-soft);
  text-align: left;
  padding: 11px 12px;
  color: var(--muted);
  font-size: 14px;
}

th { color: var(--text); background: rgba(255,255,255,.055); }

.form-shell {
  min-height: calc(100vh - 68px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 54px;
  align-items: center;
  padding: 56px 0;
}

.form-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,.05);
  box-shadow: var(--shadow);
  padding: 28px;
}

.form-card h1 { font-size: 28px; margin-bottom: 8px; }
.form-card p { color: var(--muted); margin-bottom: 24px; }

.field {
  display: grid;
  gap: 7px;
  margin-bottom: 15px;
}

.field label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.field input {
  width: 100%;
  height: 44px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: rgba(0,0,0,.18);
  color: var(--text);
  padding: 0 13px;
  outline: 0;
}

.field input:focus {
  border-color: rgba(34, 211, 238, .45);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, .08);
}

.tip {
  min-height: 20px;
  color: var(--danger);
  font-size: 13px;
  margin: 8px 0 12px;
}

.tip.success { color: var(--ok); }

.account-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.kv {
  border-bottom: 1px solid var(--line-soft);
  padding: 12px 0;
  color: var(--muted);
  font-size: 14px;
}

.kv strong {
  display: block;
  color: var(--text);
  margin-bottom: 4px;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.footer {
  border-top: 1px solid rgba(255, 255, 255, .055);
  padding: 34px 0;
  color: var(--faint);
}

.footer .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

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

.home-footer .shell {
  display: grid;
  gap: 18px;
}

.footer-primary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-compliance {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border-top: 1px solid var(--line-soft);
  padding-top: 16px;
  color: var(--faint);
  font-size: 11px;
}

.footer-compliance a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.footer-compliance a:hover {
  color: var(--muted);
}

.footer-compliance img {
  width: 14px;
  height: 14px;
  object-fit: contain;
}

.legal-page {
  min-height: calc(100vh - 68px);
  padding: 78px 0 96px;
}

.legal-shell {
  width: min(820px, calc(100% - 40px));
}

.legal-heading {
  border-bottom: 1px solid var(--line);
  padding-bottom: 34px;
  margin-bottom: 40px;
}

.legal-heading h1 {
  margin-top: 18px;
  font-size: clamp(38px, 6vw, 58px);
  line-height: 1.08;
}

.legal-heading p {
  margin-top: 10px;
  color: var(--faint);
  font-size: 13px;
}

.legal-lead {
  color: #c5cad3;
  font-size: 16px;
  line-height: 1.9;
  margin-bottom: 36px;
}

.legal-shell section {
  padding: 30px 0;
  border-top: 1px solid var(--line-soft);
}

.legal-shell section:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.legal-shell h2 {
  margin-bottom: 14px;
  font-size: 19px;
}

.legal-shell p,
.legal-shell li {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.legal-shell p + p {
  margin-top: 9px;
}

.legal-shell ul {
  display: grid;
  gap: 8px;
  margin: 12px 0;
  padding-left: 20px;
}

.legal-shell b {
  color: #d8dbe2;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .55s ease, transform .55s ease;
}

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

@keyframes stageLift {
  from {
    opacity: 0;
    transform: translateY(26px) scale(.985);
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes stageBreath {
  0%, 100% {
    box-shadow: var(--shadow);
    transform: translateY(0);
  }
  50% {
    box-shadow: 0 32px 100px rgba(0, 0, 0, .46), 0 0 70px rgba(34, 211, 238, .08);
    transform: translateY(-3px);
  }
}

@keyframes consoleScan {
  0%, 18% { transform: translateY(0); opacity: 0; }
  32% { opacity: 1; }
  62% { opacity: .35; }
  100% { transform: translateY(320%); opacity: 0; }
}

@keyframes progressGrow {
  from { transform: scaleX(.08); }
  to { transform: scaleX(1); }
}

@keyframes progressFlow {
  from { background-position: 0% center; }
  to { background-position: 220% center; }
}

@keyframes pipeRise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes softPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34, 211, 238, .2); }
  50% { box-shadow: 0 0 0 6px rgba(34, 211, 238, 0); }
}

@keyframes introPanel {
  from {
    opacity: 0;
    transform: translateY(18px) scale(.96);
    filter: blur(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes introStep {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes introProgress {
  from { transform: scaleX(.06); }
  to { transform: scaleX(1); }
}

@keyframes introExit {
  to {
    opacity: 0;
    transform: scale(1.018);
    filter: blur(12px);
  }
}

@keyframes rippleOut {
  from {
    opacity: .95;
    transform: translate(-50%, -50%) scale(.8);
  }
  to {
    opacity: 0;
    transform: translate(-50%, -50%) scale(7);
  }
}

@keyframes ambientFloat {
  from {
    translate: 0 0;
  }
  to {
    translate: 0 -14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .form-shell,
  .doc-layout {
    grid-template-columns: 1fr;
  }

  .product-stage { min-height: auto; }
  .console-overview { grid-template-columns: 1fr; }
  .stage-bottom { grid-template-columns: 1fr; }
  .doc-nav { position: static; display: flex; flex-wrap: wrap; }
  .pricing-grid, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .ambient-field { opacity: .42; }
  .principle-grid { grid-template-columns: repeat(2, 1fr); }
  .principle-item:nth-child(2) { border-right: 0; }
  .principle-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 760px) {
  .shell { width: min(100% - 28px, 1180px); }
  .topbar { height: auto; min-height: 62px; }
  .topbar .shell { min-height: 62px; flex-wrap: wrap; padding: 10px 0; }
  .mobile-menu { display: inline-flex; }
  .nav-links {
    order: 3;
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding-top: 8px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { width: 100%; justify-content: center; }
  .nav-actions .hide-sm { display: none; }
  .hero { min-height: auto; padding: 56px 0 38px; }
  .hero-copy h1, .page-hero h1 { font-size: 40px; }
  .metrics, .grid-3, .grid-4, .grid-2, .pricing-grid, .account-grid, .download-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .section-head { display: block; }
  .stage-body { grid-template-columns: 1fr; }
  .stage-side { display: none; }
  .build-grid { grid-template-columns: 1fr; }
  .pipeline { grid-template-columns: 1fr 1fr; }
  .config-grid { grid-template-columns: 1fr; }
  .table-head, .version-row { grid-template-columns: 74px 86px 1fr; }
  .ambient-field { display: none; }
  .roadmap-summary { grid-template-columns: 1fr; gap: 14px; }
  .roadmap-phase { grid-template-columns: 38px minmax(0, 1fr); gap: 16px; padding-bottom: 54px; }
  .roadmap-track::before { left: 18px; }
  .phase-marker { width: 38px; height: 38px; box-shadow: 0 0 0 6px rgba(8, 9, 13, .9); }
  .phase-heading { display: block; }
  .phase-status { margin-top: 12px; }
  .feature-line { grid-template-columns: 1fr; gap: 7px; padding: 18px 0; }
  .feature-line em { order: -1; }
  .principle-grid { grid-template-columns: 1fr; }
  .principle-item,
  .principle-item:nth-child(2) { min-height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .principle-item:last-child { border-bottom: 0; }
  .principle-item strong { margin-top: 24px; }
  .roadmap-cta { display: block; }
  .roadmap-cta .hero-actions { margin-top: 28px; }
  .intro-panel { width: calc(100% - 28px); padding: 20px; }
  .footer-primary { display: grid; justify-items: center; text-align: center; }
  .footer-links { justify-content: center; }
  .footer-compliance { flex-direction: column; gap: 8px; }
  .legal-page { padding: 54px 0 72px; }
}
