:root {
  --bg: #04060a;
  --bg-1: #070b11;
  --panel: #0b1119;
  --panel-2: #0f1620;
  --line: rgba(255, 255, 255, 0.07);
  --line-2: rgba(255, 255, 255, 0.12);
  --text: #eaf1f7;
  --dim: #9fb0bf;
  --faint: #5f6f7e;
  --green: #ccff00;
  --green-deep: #a6cc00;
  --amber: #ffc94d;
  --red: #ff5a5a;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --sans: "Sora", system-ui, -apple-system, sans-serif;
  --display: "Oxanium", "Sora", system-ui, sans-serif;
  --brand: "Michroma", "Oxanium", ui-sans-serif, sans-serif;
  --maxw: 1200px;
  /* Sticky nav clearance — scroll-padding + hero overlay math */
  --nav-float: 28px;
  --nav-bar-h: 50px;
  --nav-clearance: calc(var(--nav-float) + var(--nav-bar-h));
  --nav-offset: calc(var(--nav-clearance) + 12px);
  --scroll-track: transparent;
  --scroll-thumb: rgba(159, 176, 191, 0.22);
  --scroll-thumb-hover: rgba(204, 255, 0, 0.45);
  --scroll-thumb-active: rgba(204, 255, 0, 0.7);
  --scroll-size: 7px;
}

@property --sx {
  syntax: "<number>";
  inherits: true;
  initial-value: 0;
}
@property --sy {
  syntax: "<number>";
  inherits: true;
  initial-value: 0;
}
@property --hover {
  syntax: "<number>";
  inherits: true;
  initial-value: 0;
}

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

/* ---------- scrollbar — floating overlay (no layout gutter) ---------- */
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-offset);
  scrollbar-width: none; /* Firefox: hide native so page isn’t cut */
  -webkit-text-size-adjust: 100%;
}
html::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
  background: transparent;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  overscroll-behavior-y: none;
  scrollbar-width: none;
}
body::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

/* Nested panels keep a thin transparent rail */
.w-agent,
.scrollable {
  scrollbar-width: thin;
  scrollbar-color: var(--scroll-thumb) transparent;
}
.w-agent::-webkit-scrollbar,
.scrollable::-webkit-scrollbar {
  width: 5px;
  height: 5px;
  background: transparent;
}
.w-agent::-webkit-scrollbar-track,
.scrollable::-webkit-scrollbar-track {
  background: transparent;
}
.w-agent::-webkit-scrollbar-thumb,
.scrollable::-webkit-scrollbar-thumb {
  background: var(--scroll-thumb);
  border-radius: 999px;
}
.w-agent::-webkit-scrollbar-thumb:hover,
.scrollable::-webkit-scrollbar-thumb:hover {
  background: var(--scroll-thumb-hover);
}

/* Page scrollbar floats over content */
.scroll-rail {
  position: fixed;
  top: 10px;
  right: 5px;
  bottom: 10px;
  width: 3px;
  z-index: 80;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.28s ease;
}
.scroll-rail.is-visible {
  opacity: 1;
}
.scroll-rail .scroll-thumb {
  position: absolute;
  left: 0;
  width: 100%;
  min-height: 32px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(204, 255, 0, 0.55), rgba(159, 176, 191, 0.35));
  box-shadow: 0 0 10px rgba(204, 255, 0, 0.2);
  will-change: transform, height;
}
@media (pointer: coarse) {
  .scroll-rail {
    display: none;
  }
}
a {
  color: inherit;
  text-decoration: none;
}
b {
  font-weight: 700;
}

/* ---------- ambient background ---------- */
.aurora {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.5;
  will-change: transform;
}
.b1 {
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, #ccff00, transparent 70%);
  top: -220px;
  right: -120px;
  animation: drift1 18s ease-in-out infinite;
}
.b2 {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, #0a7d3a, transparent 70%);
  top: 240px;
  left: -180px;
  opacity: 0.4;
  animation: drift2 22s ease-in-out infinite;
}
.b3 {
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, #064d24, transparent 70%);
  bottom: -160px;
  left: 45%;
  opacity: 0.35;
  animation: drift1 26s ease-in-out infinite reverse;
}
@keyframes drift1 {
  50% {
    transform: translate(-60px, 60px) scale(1.15);
  }
}
@keyframes drift2 {
  50% {
    transform: translate(80px, -40px) scale(1.1);
  }
}
.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.45;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 30%, transparent 80%);
}

/* Remy masks scattered down the scrollable background */
.mask-trail {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
  height: var(--mask-trail-h, 100vh);
}
.mask-trail .bg-mask {
  position: absolute;
  display: block;
  width: var(--mw, 180px);
  height: auto;
  opacity: var(--mo, 0.06);
  filter: saturate(1.15) brightness(1.05);
  transform: translate3d(0, calc(var(--parallax, 0) * 1px), 0) rotate(var(--rot, 0deg));
  will-change: transform;
  user-select: none;
}
@media (max-width: 720px) {
  .mask-trail .bg-mask {
    opacity: calc(var(--mo, 0.06) * 0.7);
    width: calc(var(--mw, 180px) * 0.72);
  }
}
@media (prefers-reduced-motion: reduce) {
  .blob {
    animation: none !important;
  }
  .mask-trail .bg-mask {
    transform: rotate(var(--rot, 0deg));
  }
}
main,
.nav,
footer {
  position: relative;
  z-index: 2;
}
main {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- nav — floating island ---------- */
.nav-shell {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  justify-content: center;
  padding: var(--nav-float) 16px 0;
  /* Pull hero up so the first viewport is one composition under the floating nav */
  margin-bottom: calc(-1 * var(--nav-clearance));
  pointer-events: none;
}
.nav {
  pointer-events: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  column-gap: 12px;
  width: min(100%, 760px);
  min-width: 0;
  box-sizing: border-box;
  padding: 6px 8px 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 14, 20, 0.5);
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
  transition: background 0.35s, border-color 0.35s, box-shadow 0.35s, width 0.35s, column-gap 0.35s, padding 0.35s;
}
.nav.stuck {
  width: min(100%, 700px);
  column-gap: 8px;
  padding: 5px 6px 5px 12px;
  background: rgba(8, 12, 18, 0.8);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow:
    0 16px 50px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(204, 255, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.nav.stuck .links a {
  padding: 6px 10px;
}
.nav.stuck .pillbtn {
  padding: 8px 14px;
  font-size: 12.5px;
}
.nav.stuck .ghostlink {
  width: 34px;
  height: 34px;
}
.nav.stuck .brand-mark-img {
  width: 38px;
  height: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  justify-self: start;
}
.brand-face {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 52% 48%;
  background: #0a0e14;
  border: 1px solid rgba(204, 255, 0, 0.4);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35), 0 4px 14px rgba(204, 255, 0, 0.22);
  flex-shrink: 0;
}
.brand-mark-img {
  width: 44px;
  height: 24px;
  object-fit: contain;
  object-position: center;
  flex-shrink: 0;
  display: block;
  filter: drop-shadow(0 0 10px rgba(204, 255, 0, 0.4));
}
.brand-name {
  font-family: var(--brand);
  font-weight: 400;
  font-size: 12.5px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text);
}
.nav .brand-name {
  display: none;
}
.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  color: #06210f;
  background: linear-gradient(150deg, var(--green), var(--green-deep));
  box-shadow: 0 4px 14px rgba(204, 255, 0, 0.3);
}
.brand-mark svg {
  width: 19px;
  height: 19px;
}
.mark {
  width: 14px;
  height: 14px;
  border-radius: 5px;
  background: linear-gradient(135deg, var(--green), var(--green-deep));
  box-shadow: 0 0 18px rgba(204, 255, 0, 0.6);
}
.links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  justify-self: center;
  min-width: 0;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--dim);
  font-weight: 500;
  letter-spacing: -0.01em;
}
.links a {
  position: relative;
  padding: 7px 12px;
  border-radius: 999px;
  white-space: nowrap;
  transition: color 0.15s, background 0.15s, padding 0.35s;
}
.links a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}
.links a.nav-docs {
  color: var(--text);
  font-weight: 500;
}
.links a[aria-current="page"] {
  color: var(--green);
  outline: 1.5px solid rgba(204, 255, 0, 0.7);
  outline-offset: 2px;
  background: rgba(204, 255, 0, 0.06);
}
.links a.nav-dl {
  color: var(--green);
  font-weight: 600;
  background: transparent;
  padding: 7px 12px;
}
.links a.nav-dl:hover {
  color: #e8ff66;
  background: rgba(204, 255, 0, 0.08);
}
.links a.nav-dl[aria-current="page"]:hover {
  background: rgba(204, 255, 0, 0.06);
}
.nav-cta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-shrink: 0;
  justify-self: end;
}
.ghostlink {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: var(--dim);
  border-radius: 999px;
  transition: color 0.15s, background 0.15s, width 0.35s, height 0.35s;
}
.ghostlink:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}
.pillbtn {
  font-size: 13px;
  font-weight: 600;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--green);
  color: #052012;
  white-space: nowrap;
  flex-shrink: 0;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s, padding 0.35s, font-size 0.35s;
}
.pillbtn:hover {
  transform: translateY(-1px);
  background: var(--green-deep);
  box-shadow: 0 8px 22px rgba(204, 255, 0, 0.28);
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  min-height: 100dvh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  /* Reserve nav band so copy + avatar center in the remaining viewport */
  padding: var(--nav-clearance) 0 0;
  overflow: hidden;
  text-align: left;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  /* Dissolve top + bottom edges so the video melts into the page bg */
  -webkit-mask-image: linear-gradient(
    180deg,
    transparent 0%,
    rgba(0, 0, 0, 0.6) 6%,
    #000 16%,
    #000 62%,
    rgba(0, 0, 0, 0.55) 84%,
    transparent 100%
  );
  mask-image: linear-gradient(
    180deg,
    transparent 0%,
    rgba(0, 0, 0, 0.6) 6%,
    #000 16%,
    #000 62%,
    rgba(0, 0, 0, 0.55) 84%,
    transparent 100%
  );
}
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1.2s ease, transform 1.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.hero-video.is-ready {
  opacity: 1;
  transform: scale(1);
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 6, 10, 0.88) 0%, rgba(4, 6, 10, 0.55) 42%, rgba(4, 6, 10, 0.18) 70%, rgba(4, 6, 10, 0.45) 100%),
    linear-gradient(180deg, rgba(4, 6, 10, 0.35) 0%, transparent 26%, transparent 62%, rgba(4, 6, 10, 0.85) 92%, var(--bg) 100%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 480px);
  align-items: center;
  gap: 32px;
}
.hero-copy {
  max-width: 640px;
}
.hero-copy .eyebrow {
  margin: 0 0 18px;
  display: inline-flex;
}
.hero-copy .cta + .eyebrow {
  margin-top: 2px;
}
.hero-copy .lede {
  margin-left: 0;
  margin-right: 0;
}
.hero-copy .cta {
  justify-content: flex-start;
  margin: 28px 0 14px;
}
.hero-copy .hero-meta {
  justify-content: flex-start;
}

/* 3D avatar over video */
.hero-3d {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 460px;
  perspective: 900px;
  --sx: 0;
  --sy: 0;
  --hover: 0;
  transition: --sx 0.5s cubic-bezier(0.2, 0.7, 0.2, 1), --sy 0.5s cubic-bezier(0.2, 0.7, 0.2, 1), --hover 0.45s ease;
}
.hero-3d.is-tracking {
  transition: none;
}
.avatar-frame {
  position: relative;
  width: min(100%, 440px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  overflow: visible;
}
.avatar-mv {
  width: 100%;
  height: 100%;
  background-color: transparent;
  --poster-color: transparent;
  --progress-bar-color: var(--green);
  z-index: 2;
  cursor: default;
  filter:
    brightness(0.98) saturate(1.12) hue-rotate(10deg) contrast(1.04)
    drop-shadow(calc(var(--sx) * 40px) calc(30px + var(--sy) * 22px) 24px rgba(0, 0, 0, 0.6))
    drop-shadow(calc(var(--sx) * -34px) calc(20px - var(--sy) * 14px) 56px rgba(204, 255, 0, 0.5));
  opacity: 0;
  transform: translateY(12px) scale(0.97);
  transition: opacity 0.9s ease, transform 1.1s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.avatar-mv.is-ready {
  opacity: 1;
  transform: none;
}
.mv-loader {
  display: none;
}
.product-section {
  padding: 72px 0 12px;
}
/* Extra landing offset on top of html scroll-padding-top (stacks intentionally). */
#token,
#download {
  scroll-margin-top: 36px;
}
.demo-stage {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 8px;
}
.demo-window {
  margin-top: 0;
}
/* spotlight active pane inside the terminal */
.win-body > [data-spot],
.w-ticket,
.w-chips {
  transition: box-shadow 0.35s ease, background-color 0.35s ease, opacity 0.35s ease;
}
.demo-window.is-guiding .win-body > [data-spot]:not(.spot) {
  opacity: 0.42;
}
.win-body > .spot {
  opacity: 1 !important;
  box-shadow: inset 0 0 0 1px rgba(204, 255, 0, 0.42);
  background-color: rgba(204, 255, 0, 0.03);
}
.w-ticket.spot {
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(204, 255, 0, 0.5);
  background-color: rgba(204, 255, 0, 0.06);
}
.w-chips.spot {
  outline: 1px dashed rgba(204, 255, 0, 0.45);
  outline-offset: 4px;
  border-radius: 6px;
}
/* single caption under the window — always same place */
.demo-caption {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  margin: 16px auto 0;
  max-width: 560px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(8, 12, 18, 0.92);
  border: 1px solid rgba(204, 255, 0, 0.35);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}
.demo-caption[hidden] {
  display: none !important;
}
.demo-cap-n {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--green);
  padding-top: 2px;
}
.demo-cap-copy strong {
  display: block;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 4px;
}
.demo-cap-copy p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--dim);
}
@media (max-width: 720px) {
  .demo-stage {
    padding: 0;
  }
  .demo-caption {
    max-width: none;
    margin-top: 12px;
  }
}
.hero-avatar {
  position: relative;
  width: 108px;
  height: 108px;
  margin: 0 auto 22px;
}
.hero-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(204, 255, 0, 0.35);
  box-shadow: 0 0 50px rgba(204, 255, 0, 0.4), inset 0 0 20px rgba(0, 0, 0, 0.5);
  position: relative;
  z-index: 2;
  animation: float 6s ease-in-out infinite;
}
.ha-ring {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px solid rgba(204, 255, 0, 0.25);
  animation: haloSpin 8s linear infinite, pulseRing 3s ease-in-out infinite;
}
.ha-ring::after {
  content: "";
  position: absolute;
  top: -4px;
  left: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px var(--green);
  transform: translateX(-50%);
}
@keyframes float {
  50% {
    transform: translateY(-8px);
  }
}
@keyframes haloSpin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes pulseRing {
  50% {
    border-color: rgba(204, 255, 0, 0.5);
  }
}
.hero-name {
  display: block;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--dim);
  margin-bottom: 20px;
  letter-spacing: 0.01em;
}
.hero-name b {
  color: var(--green);
  font-weight: 600;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--dim);
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 0;
}
.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}
.hero h1,
.hero-title {
  font-family: var(--display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-top: 22px;
  white-space: nowrap;
  text-transform: none;
}
.hero h1.hero-brand,
.docs-hero h1.hero-brand {
  font-family: var(--brand);
  font-weight: 400;
  font-size: clamp(28px, 4.2vw, 44px);
  letter-spacing: 0.02em;
  line-height: 0.95;
  margin-top: 0;
  margin-bottom: 0;
  text-transform: uppercase;
  white-space: nowrap;
  background:
    linear-gradient(
      185deg,
      #ffffff 0%,
      #e8eef5 12%,
      #9aa8b8 28%,
      #f4f7fb 42%,
      #6f7d8c 55%,
      #d7e0ea 70%,
      #8a96a4 84%,
      #f7fafc 100%
    );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter:
    drop-shadow(0 1px 0 rgba(255, 255, 255, 0.35))
    drop-shadow(0 10px 28px rgba(0, 0, 0, 0.55))
    drop-shadow(0 0 34px rgba(204, 255, 0, 0.18));
}
.docs-hero .hero-sub {
  margin-top: 12px;
  margin-bottom: 14px;
}
.hero-sub {
  font-family: var(--display);
  font-size: clamp(18px, 2.4vw, 28px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-top: 14px;
  color: var(--green);
}
.grad {
  color: var(--green);
}
.lede {
  max-width: 440px;
  margin: 18px 0 0;
  font-size: 17px;
  color: var(--dim);
}
.hero-copy .lede {
  color: rgba(234, 241, 247, 0.85);
}
.lede b {
  color: var(--text);
  font-weight: 600;
}
.lede code {
  font-family: var(--mono);
  font-size: 13.5px;
  color: var(--green);
  background: rgba(204, 255, 0, 0.08);
  padding: 1px 6px;
  border-radius: 5px;
}
.cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin: 34px 0 28px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 22px;
  border-radius: 11px;
  font-weight: 600;
  font-size: 14.5px;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}
.btn.primary {
  background: var(--green);
  color: #052012;
}
.btn.primary:hover {
  transform: translateY(-2px);
  background: var(--green-deep);
}
.btn.ghost {
  color: var(--text);
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.02);
}
.btn.ghost:hover {
  border-color: var(--green-deep);
  transform: translateY(-3px);
}
.btn.big {
  padding: 17px 34px;
  font-size: 17px;
}
.hero-dl-os {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: 2px;
}
.hero-dl-os svg {
  display: block;
  flex-shrink: 0;
  opacity: 0.92;
}
.hero-dl-mac {
  margin-top: -1px;
}
.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;
}
.hero-meta {
  display: flex;
  gap: 18px;
  justify-content: center;
  align-items: center;
  color: var(--faint);
  font-size: 14px;
  flex-wrap: wrap;
}
.hero-meta b {
  color: var(--text);
}
.hero-meta i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--faint);
}

/* ---------- product window ---------- */
.window {
  margin: 56px auto 0;
  max-width: 1080px;
  background: linear-gradient(180deg, rgba(15, 22, 32, 0.9), rgba(8, 12, 18, 0.9));
  border: 1px solid var(--line-2);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(204, 255, 0, 0.06);
  backdrop-filter: blur(8px);
}
.win-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}
.tl {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #2a3542;
}
.tl.r {
  background: #ff5f57;
}
.tl.y {
  background: #febc2e;
}
.tl.g {
  background: #28c840;
}
.win-title {
  margin-left: 12px;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--faint);
}
.win-live {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-family: var(--mono);
  color: var(--green);
}
.win-body {
  display: grid;
  grid-template-columns: 210px 1fr 260px;
  height: 460px;
  text-align: left;
}
.w-rail {
  border-right: 1px solid var(--line);
  overflow: hidden;
}
.w-rail-h {
  display: flex;
  gap: 5px;
  padding: 12px;
  border-bottom: 1px solid var(--line);
}
.tag {
  font-size: 11px;
  padding: 4px 9px;
  border-radius: 6px;
  color: var(--faint);
}
.tag.on {
  background: var(--panel-2);
  color: var(--text);
}
.w-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 10px;
  padding: 11px 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  align-items: center;
}
.w-row b {
  font-size: 13px;
  font-weight: 600;
}
.w-row small {
  display: block;
  color: var(--faint);
  font-size: 10px;
}
.w-row .mono {
  font-family: var(--mono);
  font-size: 12px;
}
.w-row em {
  grid-column: 2;
  font-family: var(--mono);
  font-size: 11px;
  font-style: normal;
  text-align: right;
}
.w-row.sel {
  background: rgba(204, 255, 0, 0.06);
  box-shadow: inset 2px 0 0 var(--green);
}
.pos {
  color: var(--green);
}
.neg {
  color: var(--red);
}
.w-center {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.w-chart-h {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 14px 16px 4px;
}
.w-sym {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.w-name {
  display: block;
  color: var(--faint);
  font-size: 11px;
}
.w-px {
  text-align: right;
}
.w-px .big {
  font-size: 18px;
  font-weight: 600;
}
.w-px .mono {
  font-family: var(--mono);
  display: block;
}
.w-px .pos {
  font-size: 12px;
}
.w-chart {
  flex: 1;
  width: 100%;
  min-height: 0;
}
.w-chart .tip {
  filter: drop-shadow(0 0 4px rgba(204, 255, 0, 0.8));
}
.w-chart .tip.pulse {
  animation: tipPulse 1.2s ease-in-out infinite;
}
@keyframes tipPulse {
  50% {
    r: 5;
    opacity: 0.7;
  }
}
.w-row .px.flash,
.w-px .big.flash {
  animation: pxFlash 0.35s ease;
}
@keyframes pxFlash {
  from {
    color: var(--green);
  }
}
.w-ticket {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-top: 1px solid var(--line);
}
.w-ticket .seg {
  display: flex;
  border: 1px solid var(--line-2);
  border-radius: 7px;
  overflow: hidden;
}
.w-ticket .seg b {
  padding: 6px 13px;
  font-size: 12px;
  color: var(--faint);
  font-weight: 600;
}
.w-ticket .seg b.on {
  background: var(--green);
  color: #04120a;
}
.w-ticket .fld {
  font-family: var(--mono);
  font-size: 12px;
  padding: 6px 11px;
  border: 1px solid var(--line-2);
  border-radius: 7px;
}
.w-ticket .fld.dim {
  color: var(--faint);
  border-style: dashed;
}
.w-ticket .go {
  margin-left: auto;
  background: var(--green);
  color: #04120a;
  font-weight: 700;
  font-size: 12px;
  padding: 8px 16px;
  border-radius: 7px;
  transition: transform 0.15s, box-shadow 0.15s;
}
.w-ticket .go.pulse {
  animation: goPulse 1.6s ease-in-out infinite;
}
@keyframes goPulse {
  50% {
    box-shadow: 0 0 18px rgba(204, 255, 0, 0.35);
    transform: scale(1.03);
  }
}
.w-agent {
  border-left: 1px solid var(--line);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: rgba(255, 255, 255, 0.01);
  overflow: auto;
  min-height: 0;
}
.w-agent-h {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 13px;
}
.w-ava {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  background: #0a0e14;
  border: 1px solid rgba(204, 255, 0, 0.4);
  flex-shrink: 0;
}
.w-agent-h em {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--faint);
  font-style: normal;
}
.w-msg {
  font-size: 12.5px;
  padding: 9px 12px;
  border-radius: 11px;
  line-height: 1.5;
}
.w-msg.you {
  background: var(--green);
  color: #04120a;
  align-self: flex-end;
  font-weight: 500;
  border-bottom-right-radius: 3px;
}
.w-msg.bot {
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-bottom-left-radius: 3px;
}
.w-msg.bot b {
  color: var(--green);
}
.w-msg.bot b.pos {
  color: var(--green);
}
.w-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  min-height: 22px;
}
.w-chips span {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--green);
  background: rgba(204, 255, 0, 0.08);
  border: 1px solid rgba(204, 255, 0, 0.2);
  padding: 3px 8px;
  border-radius: 6px;
  opacity: 0;
  transform: translateY(4px);
  animation: chipIn 0.35s ease forwards;
}
.w-chips span.run {
  color: var(--dim);
  border-color: var(--line-2);
}
.w-chips span.ok {
  color: var(--green);
}
@keyframes chipIn {
  to {
    opacity: 1;
    transform: none;
  }
}
.w-msg[hidden],
.w-typing[hidden] {
  display: none !important;
}
.w-msg.show {
  animation: msgIn 0.35s ease;
}
@keyframes msgIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
}
.w-typing {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  align-self: flex-start;
  padding: 10px 14px;
  border-radius: 11px;
  background: var(--panel-2);
  border: 1px solid var(--line);
}
.w-typing i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--dim);
  animation: typeDot 1s ease-in-out infinite;
}
.w-typing i:nth-child(2) {
  animation-delay: 0.15s;
}
.w-typing i:nth-child(3) {
  animation-delay: 0.3s;
}
@keyframes typeDot {
  50% {
    opacity: 0.25;
    transform: translateY(-2px);
  }
}

/* ---------- marquee ---------- */
.marquee-wrap {
  margin: 80px 0 20px;
  text-align: center;
}
.marquee-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--faint);
}
.marquee {
  margin-top: 20px;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  display: flex;
  gap: 52px;
  width: max-content;
  animation: scroll 30s linear infinite;
}
.marquee:hover .marquee-track {
  animation-play-state: paused;
}
.marquee-track .logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--dim);
  opacity: 0.62;
  white-space: nowrap;
  transition: color 0.25s, opacity 0.25s;
}
.marquee-track .logo:hover {
  color: var(--green);
  opacity: 1;
}
.marquee-track .lg {
  width: 26px;
  height: 26px;
  flex: none;
  background: currentColor;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}
@keyframes scroll {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- sections ---------- */
.section {
  padding: 90px 0;
}
.section-head {
  max-width: 720px;
  margin: 0 auto 52px;
  text-align: center;
}
.kicker {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
}
.section-head h2 {
  font-family: var(--display);
  font-size: clamp(27px, 3.9vw, 46px);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.12;
  margin-top: 14px;
}
.section-head p {
  color: var(--dim);
  font-size: 16.5px;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-top: 16px;
}

/* router — one-screen compact: cheap | judge | capable */
.router-section {
  padding: 48px 0 56px;
}
.router-section .section-head {
  margin: 0 auto 20px;
  max-width: 640px;
}
.router-section .section-head h2 {
  font-size: clamp(22px, 2.8vw, 30px);
  margin-top: 8px;
  line-height: 1.15;
}
.router-section .section-head p {
  font-size: 14px;
  margin-top: 8px;
}
.router-stage {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr) 148px;
  gap: 12px;
  align-items: start;
}
.tier-rail {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.tier-rail-lbl {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
  padding: 0 2px;
  line-height: 1;
}
.tier-rail.right .tier-rail-lbl {
  text-align: right;
}
.router-console {
  overflow: hidden;
  margin: 0;
  max-width: none;
  border-radius: 14px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(204, 255, 0, 0.06);
}
.router-console .win-bar {
  padding: 10px 14px;
}
.rc-body {
  padding: 14px 16px 16px;
  display: grid;
  gap: 10px;
  align-content: start;
  min-height: 0;
}
.rc-row {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 10px;
  align-items: start;
}
.rc-tag {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--faint);
  padding-top: 3px;
}
.rc-tag.you {
  color: var(--dim);
}
.rc-tag.ok {
  color: var(--green);
}
.rc-prompt {
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.45;
  color: var(--text);
  min-height: 1.45em;
}
.rc-prompt::after {
  content: "▋";
  margin-left: 2px;
  color: var(--green);
  animation: blinkCaret 1s step-end infinite;
  opacity: 0;
}
.rc-prompt.typing::after {
  opacity: 1;
}
@keyframes blinkCaret {
  50% {
    opacity: 0;
  }
}
.rc-bars {
  display: grid;
  gap: 5px;
  width: 100%;
  max-width: 280px;
}
.rc-bar {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 8px;
  align-items: center;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--faint);
  transition: color 0.3s, opacity 0.3s;
  opacity: 0.55;
}
.rc-bar em {
  font-style: normal;
  font-weight: 600;
}
.rc-bar span {
  display: block;
  height: 4px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}
.rc-bar i {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: #66788a;
  transition: width 0.55s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.rc-bar[data-r="1"] i {
  background: var(--green);
}
.rc-bar[data-r="2"] i {
  background: var(--amber);
}
.rc-bar[data-r="3"] i {
  background: var(--red);
}
.rc-bar.hot {
  opacity: 1;
  color: var(--text);
}
.rc-bar.hot em {
  color: inherit;
}
.rc-bar[data-r="0"].hot {
  color: #9fb0bf;
}
.rc-bar[data-r="1"].hot {
  color: var(--green);
}
.rc-bar[data-r="2"].hot {
  color: var(--amber);
}
.rc-bar[data-r="3"].hot {
  color: var(--red);
}
.rc-route {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--green);
}
.rc-route b {
  color: var(--text);
}

/* compact tier chips */
.tier {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  background: linear-gradient(180deg, var(--panel), var(--bg-1));
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1), border-color 0.3s, opacity 0.3s, box-shadow 0.3s;
}
.tier::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  opacity: 0.9;
}
.router-stage.is-routing .tier:not(.on) {
  opacity: 0.4;
}
.tier:hover {
  transform: translateY(-2px);
  border-color: var(--line-2);
}
.tier.on {
  transform: translateY(-2px);
  opacity: 1;
  z-index: 1;
}
.t0.on {
  border-color: rgba(159, 176, 191, 0.5);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}
.t1.on {
  border-color: rgba(204, 255, 0, 0.5);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3), 0 0 18px rgba(204, 255, 0, 0.1);
}
.t2.on {
  border-color: rgba(255, 201, 77, 0.5);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3), 0 0 18px rgba(255, 201, 77, 0.1);
}
.t3.on {
  border-color: rgba(255, 90, 90, 0.5);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3), 0 0 18px rgba(255, 90, 90, 0.1);
}
.tier-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 6px;
}
.tier .lbl {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 11px;
  padding: 2px 7px;
  border-radius: 5px;
  display: inline-block;
}
.tier b {
  display: block;
  font-size: 14px;
  margin: 0 0 2px;
  line-height: 1.2;
}
.tier p {
  color: var(--dim);
  font-size: 11.5px;
  line-height: 1.3;
  margin: 0;
}
.tier code[data-ex] {
  display: none;
}
.tier-pick {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green);
  opacity: 0;
  transition: opacity 0.3s;
}
.tier.on .tier-pick:not([hidden]) {
  opacity: 1;
}
.t0 .tier-pick {
  color: #9fb0bf;
}
.t2 .tier-pick {
  color: var(--amber);
}
.t3 .tier-pick {
  color: var(--red);
}
.t0::before {
  background: #66788a;
}
.t0 .lbl {
  background: rgba(125, 139, 153, 0.16);
  color: #9fb0bf;
}
.t1::before {
  background: var(--green);
}
.t1 .lbl {
  background: rgba(204, 255, 0, 0.14);
  color: var(--green);
}
.t2::before {
  background: var(--amber);
}
.t2 .lbl {
  background: rgba(255, 201, 77, 0.16);
  color: var(--amber);
}
.t3::before {
  background: var(--red);
}
.t3 .lbl {
  background: rgba(255, 90, 90, 0.18);
  color: var(--red);
}
.t3 {
  border-color: rgba(255, 90, 90, 0.25);
}

/* capability bay */
.features-section {
  padding: 72px 0 80px;
}
.cap-bay {
  max-width: 1040px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
}
.cap-nav {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 6px 0;
}
.cap-item {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  align-items: start;
  text-align: left;
  padding: 12px 14px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
}
.cap-item em {
  font-family: var(--mono);
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  color: var(--faint);
  padding-top: 2px;
  transition: color 0.25s;
}
.cap-item b {
  display: block;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 2px;
}
.cap-item small {
  display: block;
  font-size: 12px;
  color: var(--faint);
  line-height: 1.35;
}
.cap-item:hover {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--line);
}
.cap-item.on {
  background: rgba(204, 255, 0, 0.06);
  border-color: rgba(204, 255, 0, 0.28);
  transform: translateX(2px);
}
.cap-item.on em {
  color: var(--green);
}
.cap-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 99px;
  overflow: hidden;
  margin-top: 8px;
}
.cap-progress i {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--green);
  transition: width 0.2s linear;
}
.cap-stage {
  margin: 0;
  max-width: none;
  min-height: 340px;
  border-radius: 16px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(204, 255, 0, 0.08);
  display: flex;
  flex-direction: column;
}
.cap-stage .win-bar {
  padding: 11px 14px;
}
.cap-panel {
  padding: 22px 24px 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: capIn 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.cap-panel[hidden] {
  display: none !important;
}
@keyframes capIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.cap-lead {
  color: var(--dim);
  font-size: 14.5px;
  line-height: 1.5;
  max-width: 42ch;
}
.cap-lead code {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--green);
  background: rgba(204, 255, 0, 0.08);
  padding: 1px 6px;
  border-radius: 5px;
}
.cap-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 88px;
  align-content: flex-start;
}
.cap-chips span {
  font-family: var(--mono);
  font-size: 12.5px;
  padding: 7px 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
  color: var(--faint);
  background: rgba(255, 255, 255, 0.02);
  opacity: 0;
  transform: translateY(6px);
  animation: chipIn 0.35s ease forwards;
}
.cap-chips span.run {
  color: var(--text);
  border-color: var(--line-2);
}
.cap-chips span.ok {
  color: var(--green);
  border-color: rgba(204, 255, 0, 0.4);
  background: rgba(204, 255, 0, 0.1);
}
.cap-result {
  margin-top: auto;
  min-height: 1.4em;
  font-size: 13px;
  color: var(--green);
  opacity: 0;
  transition: opacity 0.3s;
}
.cap-result.on {
  opacity: 1;
}
.cap-equity {
  display: grid;
  gap: 4px;
}
.cap-eq-lbl {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
}
.cap-equity strong {
  font-size: clamp(32px, 5vw, 44px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.cap-equity em {
  font-style: normal;
  font-size: 14px;
}
.cap-spark {
  width: 100%;
  height: 72px;
  margin-top: 4px;
}
.cap-fills {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: auto;
  font-size: 12px;
  color: var(--dim);
  min-height: 3.6em;
}
.cap-fills span {
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.3s, transform 0.3s;
}
.cap-fills span.on {
  opacity: 1;
  transform: none;
}
.cap-fills span.hot {
  color: var(--green);
}
.cap-lock {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.28);
  transition: border-color 0.4s, background 0.4s;
}
.cap-lock-orb {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.cap-lock-orb i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--faint);
  transition: background 0.4s, box-shadow 0.4s, transform 0.4s;
}
.cap-lock b {
  display: block;
  font-size: 16px;
  margin-bottom: 2px;
}
.cap-lock span {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--faint);
}
.cap-lock.open {
  border-color: rgba(204, 255, 0, 0.35);
  background: rgba(204, 255, 0, 0.05);
}
.cap-lock.open .cap-lock-orb i {
  background: var(--green);
  box-shadow: 0 0 16px rgba(204, 255, 0, 0.55);
  transform: scale(1.15);
}
.cap-lock.open b {
  color: var(--green);
}
.cap-live-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cap-live-tools span {
  font-family: var(--mono);
  font-size: 12px;
  padding: 6px 11px;
  border-radius: 8px;
  border: 1px solid var(--line);
  color: var(--faint);
  opacity: 0.3;
  transform: scale(0.96);
  transition: opacity 0.4s, color 0.4s, border-color 0.4s, transform 0.4s;
}
.cap-lock.open ~ .cap-live-tools span,
.cap-panel.live-on .cap-live-tools span {
  opacity: 1;
  color: var(--green);
  border-color: rgba(204, 255, 0, 0.35);
  transform: none;
}
.cap-card {
  margin-top: 4px;
  padding: 20px;
  border-radius: 14px;
  border: 1px solid rgba(255, 201, 77, 0.35);
  background: linear-gradient(180deg, rgba(255, 201, 77, 0.08), rgba(0, 0, 0, 0.2));
  max-width: 360px;
}
.cap-card-tag {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber);
}
.cap-card strong {
  display: block;
  font-size: 20px;
  margin: 10px 0 6px;
}
.cap-card p {
  color: var(--dim);
  font-size: 13px;
  margin: 0 0 16px;
}
.cap-card-acts {
  display: flex;
  gap: 10px;
}
.cap-deny,
.cap-ok {
  flex: 1;
  text-align: center;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  padding: 9px 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
  color: var(--dim);
  transition: background 0.25s, border-color 0.25s, color 0.25s, transform 0.25s;
}
.cap-ok.pulse {
  background: rgba(204, 255, 0, 0.16);
  border-color: rgba(204, 255, 0, 0.5);
  color: var(--green);
  transform: scale(1.04);
}
.cap-deny.pulse {
  background: rgba(255, 90, 90, 0.12);
  border-color: rgba(255, 90, 90, 0.4);
  color: var(--red);
}
.cap-log {
  flex: 1;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 160px;
  font-size: 12.5px;
}
.cap-log span {
  color: var(--faint);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.3s, transform 0.3s, color 0.3s;
}
.cap-log span.on {
  opacity: 1;
  transform: none;
  color: var(--dim);
}
.cap-log span.hot {
  color: var(--green);
}

/* surfaces — animated three-surface stage */
.surf-stage {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 8px;
}
.surf-rail {
  position: relative;
  height: 28px;
  margin: 0 8% 18px;
  display: flex;
  align-items: center;
}
.surf-rail-track {
  position: absolute;
  inset: 50% 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(204, 255, 0, 0.35), transparent);
  transform: translateY(-50%);
}
.surf-rail-dot {
  position: absolute;
  top: 50%;
  left: 16.66%;
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 18px rgba(204, 255, 0, 0.7);
  transition: left 0.55s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.surf-rail-dot[data-at="cli"] { left: 16.66%; }
.surf-rail-dot[data-at="console"] { left: 50%; }
.surf-rail-dot[data-at="term"] { left: 83.33%; }
.surf-rail-tag {
  position: absolute;
  left: 50%;
  top: -2px;
  transform: translateX(-50%);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  background: var(--bg);
  padding: 0 10px;
  opacity: 0.85;
}
.surfaces {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.surface {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(204, 255, 0, 0.05), transparent 55%),
    linear-gradient(180deg, var(--panel), var(--bg-1));
  transition: transform 0.35s, border-color 0.35s, box-shadow 0.35s, opacity 0.35s;
  opacity: 0.55;
}
.surface.on,
.surface:hover {
  opacity: 1;
  transform: translateY(-4px);
  border-color: rgba(204, 255, 0, 0.28);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(204, 255, 0, 0.08);
}
.surf-mock {
  height: 150px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent),
    var(--bg);
  padding: 14px;
  margin-bottom: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
  position: relative;
}
.surf-mock.cli {
  font-family: var(--mono);
  font-size: 12px;
  justify-content: flex-start;
  padding-top: 18px;
}
.surf-cli-line {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 18px;
  color: var(--text);
}
.surf-mock .p {
  color: var(--green);
  font-style: normal;
  flex-shrink: 0;
}
.surf-typed {
  color: #9ec9e8;
}
.surf-caret {
  width: 7px;
  height: 14px;
  background: var(--green);
  display: inline-block;
  animation: surfBlink 0.9s step-end infinite;
  opacity: 0;
}
.surf-caret.on {
  opacity: 1;
}
@keyframes surfBlink {
  50% { opacity: 0; }
}
.surf-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 26px;
}
.surf-chips .chip {
  font-family: var(--mono);
  font-size: 10.5px;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(204, 255, 0, 0.25);
  color: var(--green);
  background: rgba(204, 255, 0, 0.08);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s, transform 0.3s;
}
.surf-chips .chip.in {
  opacity: 1;
  transform: none;
}
.surf-fill {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--green);
  margin-top: auto;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s, transform 0.35s;
}
.surf-fill.in {
  opacity: 1;
  transform: none;
}
.surf-mock.console {
  justify-content: center;
  gap: 8px;
}
.surf-mock.console .row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--dim);
  padding: 6px 8px;
  border-radius: 8px;
  transition: background 0.25s, color 0.25s;
}
.surf-mock.console .row.on {
  background: rgba(204, 255, 0, 0.06);
  color: var(--text);
}
.surf-mock.console .row i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--faint);
  transition: background 0.25s, box-shadow 0.25s;
}
.surf-mock.console .row.on i {
  background: var(--green);
  box-shadow: 0 0 10px rgba(204, 255, 0, 0.55);
}
.surf-mock.console b {
  margin-left: auto;
  font-family: var(--mono);
  color: var(--text);
}
.surf-mock.console b.amber {
  color: var(--amber);
}
.surf-toast {
  font-family: var(--mono);
  font-size: 11px;
  color: #052012;
  background: var(--amber);
  border-radius: 8px;
  padding: 7px 10px;
  margin-top: 2px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s, transform 0.3s;
}
.surf-toast.in {
  opacity: 1;
  transform: none;
}
.surf-mock.term {
  justify-content: flex-start;
  gap: 10px;
}
.surf-tape {
  display: flex;
  gap: 10px;
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--dim);
  white-space: nowrap;
  overflow: hidden;
}
.surf-tape .up { color: var(--green); }
.surf-tape .dn { color: var(--red); }
.surf-mock.term .bars {
  display: flex;
  gap: 7px;
  align-items: flex-end;
  height: 72px;
  width: 100%;
}
.surf-mock.term .bars i {
  flex: 1;
  height: 18%;
  background: linear-gradient(180deg, var(--green), var(--green-deep));
  border-radius: 4px 4px 0 0;
  opacity: 0.85;
  transition: height 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.surf-ticket {
  font-family: var(--mono);
  font-size: 11px;
  color: #052012;
  background: var(--green);
  border-radius: 8px;
  padding: 7px 10px;
  width: fit-content;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s, transform 0.3s;
}
.surf-ticket.in {
  opacity: 1;
  transform: none;
}
.surf-meta {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 6px;
}
.surf-idx {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--green);
  letter-spacing: 0.08em;
}
.surface h3 {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0;
}
.surface p {
  color: var(--dim);
  font-size: 14px;
}
.surface code,
.side-card code,
.tiny code {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--green);
  background: rgba(204, 255, 0, 0.08);
  padding: 1px 6px;
  border-radius: 5px;
}

/* install */
.install-gh {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  color: var(--dim);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  transition: color 0.15s, border-color 0.15s, background 0.15s, transform 0.15s;
}
.install-gh:hover {
  color: var(--text);
  border-color: rgba(204, 255, 0, 0.35);
  background: rgba(204, 255, 0, 0.07);
  transform: translateY(-1px);
}
.install-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 16px;
}

/* ---------- download / OS cards ---------- */
.download-section {
  position: relative;
  text-align: center;
}
.download-section .section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.download-section .section-head .lede {
  max-width: 44ch;
  color: var(--dim);
  margin: 10px auto 0;
}
.download-section .section-head .lede b {
  color: var(--text);
  font-weight: 600;
}
.download-stage {
  position: relative;
  margin: 32px auto 28px;
  padding: 8px;
  max-width: 1040px;
  width: 100%;
}
.download-glow {
  position: absolute;
  inset: -10% 0 auto;
  height: 70%;
  left: 50%;
  width: 110%;
  transform: translateX(-50%);
  background:
    radial-gradient(ellipse 55% 70% at 30% 40%, rgba(204, 255, 0, 0.16), transparent 70%),
    radial-gradient(ellipse 50% 65% at 72% 50%, rgba(10, 125, 58, 0.18), transparent 72%);
  filter: blur(28px);
  pointer-events: none;
  z-index: 0;
}
.os-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  text-align: left;
}
.os-card {
  --sx: 50%;
  --sy: 40%;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 10px;
  min-height: 300px;
  padding: 28px 30px 24px;
  border: 1px solid rgba(204, 255, 0, 0.18);
  border-radius: 22px;
  background:
    linear-gradient(165deg, rgba(18, 26, 36, 0.98), rgba(6, 10, 16, 0.99));
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.03) inset,
    0 28px 60px rgba(0, 0, 0, 0.45);
  transition:
    border-color 0.25s ease,
    transform 0.25s cubic-bezier(0.22, 0.7, 0.2, 1),
    box-shadow 0.25s ease;
}
.os-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.08) 0%,
    transparent 28%,
    transparent 72%,
    rgba(204, 255, 0, 0.06) 100%
  );
  pointer-events: none;
  z-index: 1;
}
.os-card:hover {
  border-color: rgba(204, 255, 0, 0.55);
  transform: translateY(-4px) scale(1.01);
  box-shadow:
    0 0 0 1px rgba(204, 255, 0, 0.12) inset,
    0 0 48px rgba(204, 255, 0, 0.12),
    0 36px 70px rgba(0, 0, 0, 0.55);
}
.os-spot {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.35s ease;
  background: radial-gradient(
    420px circle at var(--sx) var(--sy),
    rgba(204, 255, 0, 0.22),
    rgba(204, 255, 0, 0.06) 28%,
    transparent 58%
  );
  mix-blend-mode: screen;
}
.os-card:hover .os-spot {
  opacity: 1;
}
.os-sheen {
  position: absolute;
  inset: -40% -60%;
  pointer-events: none;
  z-index: 3;
  background: linear-gradient(
    105deg,
    transparent 35%,
    rgba(255, 255, 255, 0.03) 42%,
    rgba(204, 255, 0, 0.14) 50%,
    rgba(255, 255, 255, 0.05) 58%,
    transparent 65%
  );
  transform: translateX(-40%) rotate(8deg);
  animation: osSheen 5.5s ease-in-out infinite;
}
.os-card[data-os="win"] .os-sheen {
  animation-delay: 1.6s;
}
@keyframes osSheen {
  0%,
  18% {
    transform: translateX(-55%) rotate(8deg);
    opacity: 0;
  }
  35% {
    opacity: 1;
  }
  55% {
    transform: translateX(55%) rotate(8deg);
    opacity: 0.85;
  }
  70%,
  100% {
    transform: translateX(70%) rotate(8deg);
    opacity: 0;
  }
}
.os-mark {
  position: absolute;
  right: -6px;
  top: -4px;
  opacity: 0.14;
  pointer-events: none;
  z-index: 1;
  filter: saturate(1.2);
  transform: rotate(-8deg) scale(1.05);
}
.os-mark img {
  display: block;
  width: 148px;
  height: auto;
}
.os-top,
.os-name,
.os-desc,
.os-file,
.os-cta {
  position: relative;
  z-index: 4;
}
.os-top {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  width: 100%;
  margin-bottom: 8px;
}
.os-logo {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: var(--green);
  background:
    linear-gradient(145deg, rgba(204, 255, 0, 0.16), rgba(204, 255, 0, 0.04));
  border: 1px solid rgba(204, 255, 0, 0.28);
  box-shadow: 0 0 24px rgba(204, 255, 0, 0.12);
}
.os-chip {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--green);
  padding: 5px 9px;
  border-radius: 999px;
  border: 1px solid rgba(204, 255, 0, 0.28);
  background: rgba(204, 255, 0, 0.07);
}
.os-name {
  font-family: var(--display);
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}
.os-desc {
  color: var(--dim);
  font-size: 14px;
  line-height: 1.5;
  max-width: 32ch;
  margin: 0 0 4px;
}
.os-file {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--faint);
  margin-top: auto;
  padding-top: 8px;
}
.os-cta {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  gap: 10px;
  margin-top: 14px;
  font-size: 14px;
  font-weight: 700;
  color: #08100a;
  background: linear-gradient(120deg, #e8ff66 0%, var(--green) 42%, var(--green-deep) 100%);
  padding: 13px 18px;
  border-radius: 12px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.2) inset,
    0 10px 28px rgba(204, 255, 0, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}
.os-cta-gloss {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 30%,
    rgba(255, 255, 255, 0.55) 48%,
    transparent 62%
  );
  transform: translateX(-120%);
  animation: ctaGloss 2.8s ease-in-out infinite;
  pointer-events: none;
}
.os-card[data-os="win"] .os-cta-gloss {
  animation-delay: 0.9s;
}
@keyframes ctaGloss {
  0%,
  40% {
    transform: translateX(-130%);
  }
  70% {
    transform: translateX(130%);
  }
  100% {
    transform: translateX(130%);
  }
}
.os-cta-label,
.os-cta svg {
  position: relative;
  z-index: 1;
}
.os-card:hover .os-cta {
  filter: brightness(1.06);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.28) inset,
    0 12px 36px rgba(204, 255, 0, 0.4);
  transform: translateY(-1px);
}

/* Setup reel — animated how-to video */
.setup-reel {
  max-width: 560px;
  margin: 8px auto 36px;
  text-align: center;
}
.setup-reel-head {
  margin-bottom: 16px;
}
.setup-reel-head .kicker {
  display: inline-block;
  margin-bottom: 6px;
}
.setup-reel-head h3 {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.setup-frame {
  border: 1px solid rgba(204, 255, 0, 0.2);
  border-radius: 18px;
  overflow: hidden;
  background: #070b11;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 30px 70px rgba(0, 0, 0, 0.5);
  text-align: left;
}
.setup-chrome {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}
.setup-chrome .tl {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}
.setup-chrome .tl.r { background: #ff5a5a; }
.setup-chrome .tl.y { background: #ffc94d; }
.setup-chrome .tl.g { background: #6bff8a; }
.setup-chrome-title {
  margin-left: 8px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--faint);
}
.setup-rec {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 10px;
  color: #ff6b6b;
  letter-spacing: 0.08em;
}
.setup-rec i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff3b3b;
  box-shadow: 0 0 8px rgba(255, 59, 59, 0.7);
  animation: recBlink 1.1s ease-in-out infinite;
}
@keyframes recBlink {
  50% { opacity: 0.25; }
}
.setup-screen {
  position: relative;
  height: 280px;
  overflow: hidden;
}
.setup-scene {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 22px;
  opacity: 0;
  transform: translateY(12px) scale(0.98);
  transition: opacity 0.45s ease, transform 0.45s ease;
  pointer-events: none;
}
.setup-scene.is-on {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.su-browser {
  width: min(100%, 340px);
  border: 1px solid var(--line-2);
  border-radius: 12px;
  overflow: hidden;
  background: #0b1119;
}
.su-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}
.su-bar span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--faint);
}
.su-bar em {
  flex: 1;
  margin-left: 6px;
  font-family: var(--mono);
  font-size: 10px;
  font-style: normal;
  color: var(--faint);
  background: rgba(0, 0, 0, 0.35);
  border-radius: 6px;
  padding: 4px 8px;
}
.su-dl {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 22px 16px 18px;
  text-align: center;
}
.su-dl b {
  font-family: var(--display);
  font-size: 16px;
}
.su-btns {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}
.su-btns span {
  font-size: 12px;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: 8px;
  border: 1px solid var(--line-2);
  color: var(--dim);
}
.su-btns span.on {
  color: #0a0e14;
  background: var(--green);
  border-color: transparent;
  box-shadow: 0 0 16px rgba(204, 255, 0, 0.3);
}
.su-progress {
  width: 70%;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
  margin-top: 6px;
}
.su-progress i {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green-deep), var(--green));
}
.setup-scene.is-on .su-progress i {
  animation: suFill 2.4s ease-in-out infinite;
}
@keyframes suFill {
  0% { width: 8%; }
  70% { width: 92%; }
  100% { width: 100%; }
}
.su-dl small {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--faint);
}
.su-desktop {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  width: 100%;
}
.su-dmg,
.su-apps {
  width: 110px;
  height: 110px;
  border-radius: 16px;
  border: 1px dashed rgba(204, 255, 0, 0.35);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(204, 255, 0, 0.04);
  color: var(--dim);
  font-size: 12px;
  font-weight: 600;
}
.setup-scene.is-on .su-dmg {
  animation: suDrag 2.6s ease-in-out infinite;
}
@keyframes suDrag {
  0%, 20% { transform: translate(0, 0); }
  55% { transform: translate(54px, 0) scale(0.92); opacity: 0.85; }
  75%, 100% { transform: translate(0, 0); }
}
.su-apps {
  border-style: solid;
  border-color: var(--line-2);
  background: rgba(255, 255, 255, 0.03);
}
.su-slot {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid rgba(204, 255, 0, 0.35);
  background: rgba(204, 255, 0, 0.08);
  display: grid;
  place-items: center;
}
.su-slot i {
  width: 18px;
  height: 10px;
  border-radius: 4px;
  background: var(--green);
  opacity: 0;
}
.setup-scene.is-on .su-slot i {
  animation: suDrop 2.6s ease-in-out infinite;
}
@keyframes suDrop {
  0%, 45% { opacity: 0; transform: scale(0.6); }
  60%, 85% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; }
}
.su-arrow {
  color: var(--green);
  font-size: 22px;
  opacity: 0.7;
}
.su-hint {
  position: absolute;
  bottom: 18px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 12px;
  color: var(--faint);
}
.su-hint em {
  font-style: normal;
  color: var(--dim);
}
.su-launcher {
  width: min(100%, 260px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 22px 18px 18px;
  border-radius: 16px;
  border: 1px solid rgba(204, 255, 0, 0.22);
  background:
    radial-gradient(circle at 50% 0%, rgba(204, 255, 0, 0.1), transparent 55%),
    #0b1119;
  text-align: center;
}
.su-mask {
  filter: drop-shadow(0 8px 18px rgba(204, 255, 0, 0.25));
  margin-bottom: 2px;
}
.su-launcher b {
  font-family: var(--brand);
  font-size: 15px;
  letter-spacing: 0.16em;
}
.su-launcher > em {
  font-family: var(--display);
  font-style: normal;
  font-size: 12px;
  color: var(--dim);
}
.su-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 11px;
  color: var(--dim);
}
.su-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--faint);
}
.su-status.on i {
  background: var(--green);
  box-shadow: 0 0 8px rgba(204, 255, 0, 0.7);
}
.su-status.on {
  color: var(--text);
  border-color: rgba(204, 255, 0, 0.3);
}
.su-start {
  margin-top: 10px;
  width: 100%;
  border: none;
  border-radius: 10px;
  padding: 11px 14px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  color: #0a0e14;
  background: linear-gradient(120deg, #e8ff66, var(--green), var(--green-deep));
  box-shadow: 0 8px 22px rgba(204, 255, 0, 0.28);
  cursor: default;
}
.setup-scene.is-on .su-start {
  animation: suPulse 1.4s ease-in-out infinite;
}
@keyframes suPulse {
  50% {
    transform: scale(1.03);
    box-shadow: 0 10px 28px rgba(204, 255, 0, 0.42);
  }
}
.su-desks {
  display: flex;
  gap: 8px;
  width: 100%;
  margin-top: 8px;
}
.su-desks span {
  flex: 1;
  font-size: 11px;
  font-weight: 600;
  padding: 9px 6px;
  border-radius: 9px;
  border: 1px solid rgba(204, 255, 0, 0.28);
  color: var(--green);
  text-align: center;
}
.setup-scene.is-on .su-desks span {
  animation: suDeskIn 0.5s ease both;
}
.setup-scene.is-on .su-desks span:last-child {
  animation-delay: 0.12s;
}
@keyframes suDeskIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}
.setup-caption {
  margin-top: 14px;
  font-size: 14px;
  color: var(--dim);
  min-height: 1.4em;
}
.setup-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 10px;
}
.setup-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  transition: background 0.25s ease, transform 0.25s ease;
}
.setup-dots i.on {
  background: var(--green);
  transform: scale(1.2);
  box-shadow: 0 0 10px rgba(204, 255, 0, 0.45);
}

.how-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 0 auto 22px;
  max-width: 1040px;
  text-align: left;
}
.how-steps li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
}
.how-steps b {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--green);
  min-width: 28px;
}
.how-steps strong {
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
}
.how-steps span {
  display: block;
  font-size: 13px;
  color: var(--dim);
  line-height: 1.45;
}
.download-fine {
  font-size: 13px;
  color: var(--faint);
  max-width: 60ch;
  margin: 0 auto;
}
.download-fine a {
  color: var(--dim);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.download-fine a:hover {
  color: var(--green);
  border-color: rgba(204, 255, 0, 0.4);
}
@media (prefers-reduced-motion: reduce) {
  .os-sheen,
  .os-cta-gloss,
  .setup-rec i,
  .su-progress i,
  .su-dmg,
  .su-slot i,
  .su-start {
    animation: none;
  }
  .os-card:hover {
    transform: none;
  }
}
@media (max-width: 720px) {
  .os-grid,
  .how-steps {
    grid-template-columns: 1fr;
  }
  .os-card {
    min-height: 0;
  }
  .os-name {
    font-size: 28px;
  }
  .setup-screen {
    height: 300px;
  }
  .su-desktop {
    gap: 10px;
  }
  .su-dmg,
  .su-apps {
    width: 96px;
    height: 96px;
  }
}

.term-card {
  background: linear-gradient(180deg, rgba(15, 22, 32, 0.9), rgba(8, 12, 18, 0.95));
  border: 1px solid var(--line-2);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}
.term-card pre {
  padding: 22px;
  overflow-x: auto;
  font-family: var(--mono);
  font-size: 13.5px;
  line-height: 1.85;
}
.term-card .c {
  color: var(--faint);
}
.term-card .p {
  color: var(--green);
}
.term-card .s {
  color: #7fd1ff;
}
.term-card .o {
  color: var(--dim);
}
.term-card .g {
  color: #e2ff7a;
}
.install-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.side-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px 22px;
  background: linear-gradient(180deg, var(--panel), var(--bg-1));
  flex: 1;
}
.side-card h4 {
  font-size: 16px;
  margin-bottom: 6px;
}
.side-card p {
  color: var(--dim);
  font-size: 14px;
}
.side-card a {
  color: var(--green);
}
.side-card .mini {
  font-family: var(--mono);
  font-size: 12.5px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 12px 14px;
  margin: 6px 0 10px;
  line-height: 1.6;
}
.side-card .mini .s {
  color: #7fd1ff;
}
.tiny {
  font-size: 12.5px;
  color: var(--faint);
}

/* tokenomics */
.token-section {
  padding: 72px 0 40px;
}
.token-section .section-head {
  max-width: 720px;
}
.token-stage {
  max-width: 1040px;
  margin: 0 auto;
}
.token-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 0 0 16px;
}
.token-stats article {
  padding: 16px 18px 14px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(15, 22, 32, 0.9), rgba(8, 12, 18, 0.92));
}
.token-stat-label {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 8px;
}
.token-stats strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}
.token-stats em {
  display: block;
  margin-top: 6px;
  font-style: normal;
  font-size: 13px;
  color: var(--dim);
}
.token-grid {
  display: grid;
  gap: 16px;
}
.token-alloc,
.token-utility {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px 24px;
  background: linear-gradient(180deg, rgba(15, 22, 32, 0.92), rgba(8, 12, 18, 0.95));
}
.token-utility {
  padding-bottom: 24px;
  background:
    radial-gradient(90% 80% at 50% 0%, rgba(204, 255, 0, 0.06), transparent 55%),
    linear-gradient(180deg, rgba(15, 22, 32, 0.92), rgba(8, 12, 18, 0.95));
}
.alloc-head,
.util-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 16px;
  margin-bottom: 20px;
}
.alloc-head h3,
.util-head h3 {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}
.alloc-head p,
.util-head p {
  color: var(--dim);
  font-size: 14px;
  line-height: 1.4;
  margin: 0;
}
.alloc-body {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 28px 40px;
  align-items: center;
}
.alloc-wheel {
  position: relative;
  width: 220px;
  height: 220px;
  justify-self: center;
}
.alloc-wheel .pie {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: conic-gradient(
    from -90deg,
    var(--green) 0 45%,
    #7fd1ff 45% 70%,
    #9fb0bf 70% 85%,
    #ffc94d 85% 95%,
    #5f6f7e 95% 100%
  );
  mask: radial-gradient(closest-side, transparent 56%, #000 57%);
  -webkit-mask: radial-gradient(closest-side, transparent 56%, #000 57%);
}
.token-stage.is-live .alloc-wheel .pie {
  animation: pieIn 0.7s cubic-bezier(0.22, 0.7, 0.2, 1) both;
}
@keyframes pieIn {
  from { opacity: 0.4; transform: scale(0.94); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .token-stage.is-live .alloc-wheel .pie,
  .alloc-list i::after {
    animation: none !important;
    transition: none !important;
  }
  .token-stage .alloc-list li i::after {
    width: calc(var(--pct) * 1%);
  }
}
.wheel-center {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
  pointer-events: none;
}
.wheel-center b {
  font-family: var(--display);
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}
.wheel-center span {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--faint);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 5px;
}
.alloc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.alloc-list li {
  display: grid;
  grid-template-columns: 10px 1fr;
  gap: 5px 10px;
  align-items: center;
}
.alloc-swatch {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  grid-row: 1 / 3;
  align-self: center;
}
.alloc-list .a1 .alloc-swatch { background: var(--green); }
.alloc-list .a2 .alloc-swatch { background: #7fd1ff; }
.alloc-list .a3 .alloc-swatch { background: #9fb0bf; }
.alloc-list .a4 .alloc-swatch { background: #ffc94d; }
.alloc-list .a5 .alloc-swatch { background: #5f6f7e; }
.alloc-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  grid-column: 2;
  min-width: 0;
  font-size: 13.5px;
}
.alloc-meta b {
  font-weight: 600;
  color: var(--text);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.alloc-meta span {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--faint);
  white-space: nowrap;
  flex-shrink: 0;
}
.alloc-list i {
  display: block;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  position: relative;
  overflow: hidden;
  grid-column: 2;
}
.alloc-list i::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  border-radius: inherit;
  background: var(--bar, var(--green));
  transition: width 0.85s cubic-bezier(0.22, 0.7, 0.2, 1);
}
.alloc-list .a1 { --bar: var(--green); }
.alloc-list .a2 { --bar: #7fd1ff; }
.alloc-list .a3 { --bar: #9fb0bf; }
.alloc-list .a4 { --bar: #ffc94d; }
.alloc-list .a5 { --bar: #5f6f7e; }
.token-stage.is-live .alloc-list li i::after {
  width: calc(var(--pct) * 1%);
}
.token-stage.is-live .alloc-list li:nth-child(2) i::after { transition-delay: 0.08s; }
.token-stage.is-live .alloc-list li:nth-child(3) i::after { transition-delay: 0.14s; }
.token-stage.is-live .alloc-list li:nth-child(4) i::after { transition-delay: 0.2s; }
.token-stage.is-live .alloc-list li:nth-child(5) i::after { transition-delay: 0.26s; }

.plan-picker {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  align-items: stretch;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 22px 20px 20px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(8, 12, 18, 0.85);
  min-width: 0;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.plan:hover {
  border-color: rgba(255, 255, 255, 0.16);
  transform: translateY(-2px);
}
.plan.featured {
  border-color: rgba(204, 255, 0, 0.45);
  background:
    linear-gradient(180deg, rgba(204, 255, 0, 0.1), rgba(204, 255, 0, 0.02) 40%, rgba(8, 12, 18, 0.9)),
    rgba(8, 12, 18, 0.95);
  box-shadow:
    0 0 0 1px rgba(204, 255, 0, 0.12),
    0 18px 40px rgba(0, 0, 0, 0.35);
  transform: translateY(-6px);
}
.plan.featured:hover {
  transform: translateY(-8px);
  border-color: rgba(204, 255, 0, 0.55);
}
.plan-badge {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 10px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0a0e12;
  background: var(--green);
  white-space: nowrap;
}
.plan-label {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 12px;
}
.plan-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 14px;
}
.plan-price strong {
  font-family: var(--display);
  font-size: clamp(36px, 4vw, 44px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.95;
  color: var(--text);
}
.plan-price span {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--faint);
}
.plan h4 {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 4px;
}
.plan-lead {
  font-size: 13.5px;
  color: var(--dim);
  line-height: 1.4;
  margin: 0 0 16px;
}
.plan ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.plan li {
  position: relative;
  padding-left: 18px;
  font-size: 13px;
  color: var(--dim);
  line-height: 1.35;
}
.plan li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--green);
  opacity: 0.85;
}
.plan.featured li {
  color: var(--text);
}
.token-note {
  max-width: 820px;
  margin: 20px auto 0;
  text-align: center;
  font-size: 13px;
  color: var(--faint);
  line-height: 1.5;
}

/* cta */
.cta-band {
  text-align: center;
  padding: 100px 0 90px;
  border-top: 1px solid var(--line);
  margin-top: 40px;
}
.cta-band h2 {
  font-family: var(--display);
  font-size: clamp(28px, 4.4vw, 52px);
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 34px;
}
.cta-band-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
}
.cta .btn,
.cta-band-actions .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.muted a {
  color: var(--dim);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.muted a:hover {
  color: var(--green);
}

/* footer */
footer {
  border-top: 1px solid var(--line);
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 34px 24px 50px;
}
.foot-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.foot-top .brand-mark-img {
  width: 48px;
  height: 26px;
  filter: drop-shadow(0 0 12px rgba(204, 255, 0, 0.35));
}
.foot-links {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13.5px;
  color: var(--dim);
  font-weight: 500;
}
.foot-links a {
  padding: 8px 12px;
  border-radius: 999px;
  transition: color 0.15s, background 0.15s;
}
.foot-links a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}
.muted {
  color: var(--faint);
  font-size: 13px;
}

/* ---------- reveal (scroll down in / scroll up out) ---------- */
.reveal {
  --reveal-delay: 0ms;
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition:
    opacity 0.65s cubic-bezier(0.22, 0.7, 0.2, 1) var(--reveal-delay),
    transform 0.65s cubic-bezier(0.22, 0.7, 0.2, 1) var(--reveal-delay);
  will-change: opacity, transform;
}
.reveal:not(.in)[data-reveal-dir="up"] {
  transform: translate3d(0, -28px, 0);
}
.reveal:not(.in)[data-reveal-dir="down"] {
  transform: translate3d(0, 28px, 0);
}
.reveal.in {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
    will-change: auto;
  }
  .blob,
  .marquee-track,
  .live-dot,
  .hero-avatar img,
  .ha-ring,
  .w-chart .tip,
  .w-ticket .go.pulse,
  .w-typing i,
  .rc-prompt::after {
    animation: none;
  }
  .cap-panel {
    animation: none;
  }
  .cap-progress i {
    transition: none;
  }
  .hero-video,
  .avatar-mv {
    transition: none;
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 720px) {
  .rc-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

@media (max-width: 1100px) and (min-width: 961px) {
  .router-stage {
    grid-template-columns: 132px minmax(0, 1fr) 132px;
    gap: 10px;
  }
}

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  main {
    padding: 0 18px;
  }
  .nav-shell {
    --nav-float: calc(24px + env(safe-area-inset-top, 0px));
    padding: var(--nav-float) 12px 0;
    margin-bottom: calc(-1 * var(--nav-clearance));
  }
  .nav {
    width: min(100%, 520px);
    gap: 8px;
    padding: 5px 5px 5px 12px;
  }
  .nav.stuck {
    width: min(100%, 480px);
  }
  .links {
    display: flex;
  }
  .links a:not(.nav-dl):not(.nav-docs) {
    display: none;
  }
  .nav {
    grid-template-columns: 1fr auto 1fr;
  }
  .nav-cta {
    justify-self: end;
    gap: 6px;
  }
  .pillbtn {
    padding: 10px 16px;
    min-height: 40px;
  }
  .ghostlink {
    width: 40px;
    height: 40px;
  }

  .hero {
    min-height: 100dvh;
    min-height: 100svh;
    align-items: center;
    padding: var(--nav-clearance) 0 calc(20px + env(safe-area-inset-bottom, 0px));
  }
  .hero-inner {
    grid-template-columns: 1fr;
    padding: 0 18px;
    gap: 8px;
  }
  .hero-3d {
    order: -1;
    min-height: 260px;
    margin: 0 auto;
  }
  .avatar-frame {
    width: min(72vw, 280px);
  }
  .hero-copy {
    text-align: left;
    max-width: none;
  }
  .hero-title {
    white-space: normal;
  }
  .hero h1.hero-brand {
    font-size: clamp(28px, 9vw, 40px);
    white-space: normal;
    letter-spacing: 0.02em;
  }
  .hero-sub {
    font-size: clamp(16px, 4.2vw, 22px);
  }
  .lede {
    font-size: 15.5px;
    max-width: none;
  }
  .hero-copy .cta {
    margin: 20px 0 12px;
    gap: 10px;
  }
  .hero-copy .cta .btn {
    flex: 1 1 auto;
    justify-content: center;
    min-height: 46px;
    padding: 12px 16px;
  }
  .hero-meta {
    gap: 10px 14px;
    font-size: 12.5px;
    justify-content: flex-start;
  }
  .hero-scrim {
    background:
      linear-gradient(180deg, rgba(4, 6, 10, 0.2) 0%, rgba(4, 6, 10, 0.5) 45%, rgba(4, 6, 10, 0.94) 100%);
  }

  .section,
  .product-section,
  .features-section {
    padding: 48px 0;
  }
  .product-section {
    padding-bottom: 8px;
  }
  .section-head {
    margin: 0 auto 28px;
    padding: 0 4px;
  }
  .section-head h2 {
    font-size: clamp(24px, 6vw, 34px);
  }
  .section-head p {
    font-size: 15px;
  }

  .win-body {
    grid-template-columns: 1fr;
    height: auto;
  }
  .w-rail,
  .w-agent {
    display: none;
  }
  .w-chart {
    height: 200px;
  }

  .surfaces {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .surf-rail {
    display: none;
  }
  .surface {
    opacity: 1;
    padding: 14px;
  }
  .surf-mock {
    height: 132px;
    margin-bottom: 12px;
  }

  .cap-bay {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .cap-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }
  .cap-item {
    min-height: 44px;
  }
  .cap-progress {
    display: none;
  }
  .cap-stage {
    min-height: 280px;
  }

  .router-section {
    padding: 36px 0 44px;
  }
  .router-stage {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .router-console {
    grid-column: 1 / -1;
    order: -1;
  }
  .tier-rail.left {
    order: 0;
  }
  .tier-rail.right {
    order: 1;
  }

  .install-grid {
    grid-template-columns: 1fr;
  }
  .alloc-body {
    grid-template-columns: 1fr;
    gap: 20px;
    justify-items: stretch;
  }
  .alloc-wheel {
    width: 180px;
    height: 180px;
    margin: 0 auto;
  }
  .plan-picker {
    grid-template-columns: 1fr;
    gap: 14px;
    padding-top: 6px;
  }
  .plan.featured {
    transform: none;
    order: -1;
  }
  .plan.featured:hover {
    transform: translateY(-2px);
  }
  .term-card pre {
    font-size: 12px;
    padding: 14px;
  }

  .cta-band {
    padding: 64px 16px calc(56px + env(safe-area-inset-bottom, 0px));
  }
  .cta-band h2 {
    font-size: clamp(24px, 7vw, 36px);
    margin-bottom: 22px;
  }
  .cta-band-actions {
    flex-direction: column;
    width: min(100%, 360px);
    margin: 0 auto;
  }
  .cta-band-actions .btn {
    width: 100%;
    justify-content: center;
    min-height: 48px;
  }

  footer {
    padding: 28px 18px calc(36px + env(safe-area-inset-bottom, 0px));
  }
  .foot-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .foot-links {
    flex-wrap: wrap;
    gap: 2px;
  }
  .foot-links a {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
  }
}

@media (max-width: 560px) {
  .nav-shell {
    --nav-float: calc(20px + env(safe-area-inset-top, 0px));
    padding: var(--nav-float) 10px 0;
  }
  .nav {
    width: 100%;
    max-width: none;
  }
  .nav.stuck {
    width: 100%;
  }
  .brand-mark-img {
    width: 34px;
    height: 18px;
  }
  .pillbtn {
    padding: 9px 14px;
    font-size: 13px;
  }

  .hero-inner {
    padding: 0 16px;
  }
  .hero-3d {
    min-height: 190px;
  }
  .avatar-frame {
    width: min(56vw, 200px);
  }
  .hero h1.hero-brand {
    font-size: clamp(24px, 8.2vw, 32px);
    letter-spacing: 0.01em;
  }
  .hero-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 12px;
  }
  .hero-meta i {
    display: none;
  }
  .hero-meta span {
    padding: 8px 10px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
  }

  .surfaces {
    grid-template-columns: 1fr;
  }
  .surf-mock {
    height: 128px;
  }
  .surface h3 {
    font-size: 16px;
  }

  .router-stage {
    grid-template-columns: 1fr;
  }
  .cap-nav {
    grid-template-columns: 1fr;
  }
  .cap-stage {
    min-height: 260px;
  }

  .section {
    padding: 44px 0;
  }
  .demo-stage {
    padding: 0;
  }
  .window {
    border-radius: 14px;
  }

  .term-card pre {
    font-size: 11.5px;
    line-height: 1.7;
    -webkit-overflow-scrolling: touch;
  }
  .side-card {
    padding: 16px;
  }
  .token-stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 380px) {
  .hero-copy .cta {
    flex-direction: column;
  }
  .hero-copy .cta .btn {
    width: 100%;
  }
  .hero-meta {
    grid-template-columns: 1fr;
  }
}

/* ---------- first-visit intro (bowyer-style tour) ---------- */
body.intro-open {
  overflow: hidden;
}
.intro {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: max(16px, env(safe-area-inset-top)) 16px max(16px, env(safe-area-inset-bottom));
}
.intro[hidden] {
  display: none !important;
}
.intro-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(204, 255, 0, 0.07), transparent 55%),
    rgba(4, 6, 10, 0.78);
  backdrop-filter: blur(10px) saturate(1.1);
  -webkit-backdrop-filter: blur(10px) saturate(1.1);
  animation: introFade 0.35s ease both;
}
.intro-card {
  position: relative;
  z-index: 1;
  width: min(100%, 440px);
  display: flex;
  flex-direction: column;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(180deg, rgba(18, 26, 36, 0.98), rgba(8, 12, 18, 0.98));
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.65),
    0 0 0 1px rgba(204, 255, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
  animation: introUp 0.45s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.intro-x {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  color: var(--dim);
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.intro-x:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
}
.intro-visual {
  position: relative;
  height: 188px;
  background:
    radial-gradient(circle at 50% 70%, rgba(204, 255, 0, 0.16), transparent 55%),
    linear-gradient(180deg, #0c121a, #06090e);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.intro-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, transparent, #000 25%, #000 75%, transparent);
  opacity: 0.7;
  pointer-events: none;
}
.intro-visual .iv {
  position: relative;
  z-index: 1;
  height: 100%;
  padding: 18px 20px;
  display: grid;
  place-items: center;
  animation: introSceneIn 0.35s ease both;
}
@keyframes introSceneIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

/* welcome */
.iv-welcome {
  gap: 14px;
}
.iv-mark {
  width: 78px;
  height: auto;
  filter: drop-shadow(0 0 18px rgba(204, 255, 0, 0.45));
  animation: introPulse 2.8s ease-in-out infinite;
}
.iv-orbit {
  display: flex;
  gap: 8px;
}
.iv-orbit span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(204, 255, 0, 0.35);
  box-shadow: 0 0 10px rgba(204, 255, 0, 0.35);
}
.iv-orbit span:nth-child(2) {
  background: var(--green);
  transform: scale(1.15);
}
.iv-chip-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}
.iv-chip-row em {
  font-style: normal;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: var(--dim);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 999px;
  padding: 5px 9px;
}

/* install flow */
.iv-install {
  width: 100%;
  gap: 12px;
  align-content: center;
}
.iv-flow {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  width: 100%;
}
.iv-flow li {
  display: grid;
  gap: 4px;
  justify-items: center;
  padding: 10px 4px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  position: relative;
}
.iv-flow li:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -5px;
  top: 50%;
  width: 6px;
  height: 1px;
  background: rgba(204, 255, 0, 0.45);
  z-index: 1;
}
.iv-flow b {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--green);
  font-weight: 600;
}
.iv-flow span {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text);
}
.iv-term-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid rgba(204, 255, 0, 0.22);
  background: rgba(204, 255, 0, 0.06);
  font-family: var(--mono);
  font-size: 12px;
  color: #e2ff7a;
}
.iv-term-line i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px rgba(204, 255, 0, 0.7);
}

/* router bars */
.iv-router {
  width: 100%;
  gap: 10px;
}
.iv-tiers {
  width: 100%;
  display: grid;
  gap: 7px;
}
.iv-tier {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 8px;
  align-items: center;
}
.iv-tier span {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--faint);
}
.iv-tier i {
  display: block;
  height: 8px;
  width: var(--w);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}
.iv-tier.on span {
  color: var(--green);
}
.iv-tier.on i {
  background: linear-gradient(90deg, var(--green-deep), var(--green));
  box-shadow: 0 0 12px rgba(204, 255, 0, 0.35);
}
.iv-pick {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--green);
  letter-spacing: 0.04em;
}

/* surfaces */
.iv-surfaces {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.iv-surfaces article {
  display: grid;
  gap: 8px;
  place-items: center;
  padding: 16px 8px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
}
.iv-surfaces span {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--green);
}
.iv-surfaces b {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 600;
}

/* tools */
.iv-tools {
  width: 100%;
  gap: 10px;
}
.iv-toolgrid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px;
}
.iv-toolgrid em {
  font-style: normal;
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--dim);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  padding: 5px 7px;
}
.iv-toolgrid em.live {
  color: #052012;
  background: var(--green);
  border-color: transparent;
  font-weight: 600;
}
.iv-ok {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--green);
  letter-spacing: 0.04em;
}
.intro-body {
  padding: 22px 24px 8px;
}
.intro-kicker {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 10px;
}
.intro-title {
  font-family: var(--display);
  font-size: clamp(22px, 5vw, 28px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 10px;
}
.intro-copy {
  color: var(--dim);
  font-size: 14.5px;
  line-height: 1.55;
  margin: 0;
}
.intro-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px 20px;
}
.intro-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}
.intro-dots i {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  transition: width 0.25s, background 0.25s;
}
.intro-dots i.on {
  width: 22px;
  background: var(--green);
}
.intro-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.intro-skip {
  border: 0;
  background: transparent;
  color: var(--faint);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  padding: 10px 12px;
  cursor: pointer;
  border-radius: 999px;
  transition: color 0.15s, background 0.15s;
}
.intro-skip:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}
.intro-next {
  border: 0;
  background: var(--green);
  color: #052012;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  padding: 11px 18px;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(204, 255, 0, 0.22);
  transition: transform 0.15s, background 0.15s;
}
.intro-next:hover {
  transform: translateY(-1px);
  background: var(--green-deep);
}
.intro.is-out .intro-card {
  animation: introDown 0.28s ease forwards;
}
.intro.is-out .intro-backdrop {
  animation: introFadeOut 0.28s ease forwards;
}
@keyframes introFade {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes introFadeOut {
  to { opacity: 0; }
}
@keyframes introUp {
  from { opacity: 0; transform: translateY(18px) scale(0.98); }
  to { opacity: 1; transform: none; }
}
@keyframes introDown {
  to { opacity: 0; transform: translateY(10px) scale(0.98); }
}
@keyframes introPulse {
  0%, 100% { opacity: 0.85; filter: drop-shadow(0 0 12px rgba(204, 255, 0, 0.35)); }
  50% { opacity: 1; filter: drop-shadow(0 0 22px rgba(204, 255, 0, 0.55)); }
}

@media (max-width: 560px) {
  .intro-visual {
    height: 168px;
  }
  .intro-body {
    padding: 18px 18px 6px;
  }
  .intro-foot {
    padding: 14px 14px 16px;
  }
  .intro-title {
    font-size: 22px;
  }
  .iv-flow span {
    font-size: 10.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .intro-backdrop,
  .intro-card,
  .iv-mark,
  .intro-visual .iv,
  .intro.is-out .intro-card,
  .intro.is-out .intro-backdrop {
    animation: none;
  }
}
