/* Vita v20 */
:root {
  --canvas: #080a0f;
  --surface-1: #0f1219;
  --surface-2: #151a24;
  --surface-3: #1a2030;
  --hairline: rgba(255, 255, 255, 0.06);
  --hairline-strong: rgba(255, 255, 255, 0.1);
  --ink: #e8edf5;
  --ink-muted: #9aa3b2;
  --ink-subtle: #6b7280;
  --vital: #1bc7a1;
  --vital-hover: #22d4ad;
  --vital-pressed: #15a88c;
  --vital-glow: rgba(27, 199, 161, 0.22);
  --vital-soft: rgba(27, 199, 161, 0.08);
  --vital-ink: #041210;
  --max: 1120px;
  --gutter: clamp(20px, 5vw, 48px);
  --nav-h: 68px;
  --mobile-nav-h: 60px;
  --radius: 12px;
  --radius-sm: 8px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

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

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

body {
  font-family: var(--font);
  font-feature-settings: 'cv01', 'ss03', 'cv11';
  font-size: 16px;
  line-height: 1.5;
  background: var(--canvas);
  color: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

body.is-loaded .hero-stagger > * {
  opacity: 1;
  transform: translateY(0);
}

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

.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;
}

/* ─── Ambient ─── */
.ambient {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.ambient-orb {
  position: absolute;
  width: min(70vw, 560px);
  height: min(70vw, 560px);
  top: -20%;
  right: -10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(27, 199, 161, 0.14), transparent 68%);
  filter: blur(40px);
  animation: orb-drift 18s var(--ease) infinite alternate;
}

@keyframes orb-drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-40px, 30px) scale(1.08); }
}

.ambient-mesh {
  position: absolute;
  inset: 0 0 50% 0;
  background:
    radial-gradient(ellipse 90% 70% at 50% -15%, rgba(27, 199, 161, 0.12), transparent 65%),
    radial-gradient(ellipse 45% 35% at 90% 10%, rgba(46, 107, 230, 0.05), transparent 55%);
  transition: transform 0.1s linear;
}

.ambient-grid {
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image:
    linear-gradient(var(--hairline) 1px, transparent 1px),
    linear-gradient(90deg, var(--hairline) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black, transparent);
}

.ambient-grain {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ─── Nav ─── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: calc(var(--nav-h) + var(--safe-top));
  padding-top: var(--safe-top);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  transition:
    background 0.35s var(--ease),
    border-color 0.35s var(--ease),
    backdrop-filter 0.35s var(--ease);
}

.nav.scrolled {
  background: rgba(8, 10, 15, 0.78);
  backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid var(--hairline);
}

.nav-logo {
  grid-column: 2;
  justify-self: center;
}

.nav-cta {
  grid-column: 3;
  justify-self: end;
}

.nav-links {
  display: none;
  gap: 32px;
  grid-column: 1;
  justify-self: start;
}

/* ─── Brand lockup ─── */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}

.brand-mark {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: linear-gradient(145deg, #1e2536 0%, #0c0f16 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 8px 24px rgba(0, 0, 0, 0.45),
    0 0 32px rgba(27, 199, 161, 0.15);
  flex-shrink: 0;
}

.brand-mark-ring {
  position: absolute;
  inset: -3px;
  border-radius: 13px;
  border: 1px solid transparent;
  background:
    linear-gradient(145deg, rgba(27, 199, 161, 0.55), transparent 45%, rgba(27, 199, 161, 0.2)) border-box;
  -webkit-mask:
    linear-gradient(#fff 0 0) padding-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) padding-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: brand-orbit 5s linear infinite;
  pointer-events: none;
}

@keyframes brand-orbit {
  to { transform: rotate(360deg); }
}

.brand-mark::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--vital);
  transform: translate(-50%, -50%);
  box-shadow:
    0 0 16px var(--vital-glow),
    0 0 32px rgba(27, 199, 161, 0.35);
  animation: brand-pulse 3s ease-in-out infinite;
}

@keyframes brand-pulse {
  0%, 100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.8; transform: translate(-50%, -50%) scale(0.9); }
}

.brand-word {
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1;
  background: linear-gradient(135deg, #fff 0%, #c8fff2 40%, var(--vital) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 20px rgba(27, 199, 161, 0.2));
}

/* Nav — centered, prominent */
.brand--nav {
  gap: 14px;
}

.brand--nav .brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
}

.brand--nav .brand-mark::before {
  width: 12px;
  height: 12px;
}

.brand--nav .brand-mark-ring {
  inset: -4px;
  border-radius: 15px;
}

.brand--nav .brand-word {
  font-size: clamp(1.5rem, 3.5vw, 1.875rem);
  letter-spacing: -0.06em;
}

/* ─── Section meta ─── */
.section-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--mono);
  margin-bottom: 28px;
}

.section-idx {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--vital);
}

.section-tag {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-subtle);
  padding-left: 14px;
  border-left: 1px solid var(--hairline-strong);
}

.section-meta::after {
  content: '';
  flex: 1;
  height: 1px;
  margin-left: 8px;
  background: linear-gradient(90deg, var(--hairline-strong), transparent);
  max-width: 120px;
}

/* Product chrome */
.brand--chrome {
  margin-left: auto;
  gap: 8px;
}

.brand--chrome .brand-mark {
  width: 22px;
  height: 22px;
  border-radius: 6px;
}

.brand--chrome .brand-mark-ring {
  display: none;
}

.brand--chrome .brand-mark::before {
  width: 6px;
  height: 6px;
  animation: none;
}

.brand--chrome .brand-word {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: none;
  color: var(--ink-muted);
  -webkit-text-fill-color: var(--ink-muted);
  filter: none;
}

/* Footer */
.brand--footer .brand-mark {
  width: 30px;
  height: 30px;
}

.brand--footer .brand-mark::before {
  width: 9px;
  height: 9px;
}

.brand--footer .brand-word {
  font-size: 1.125rem;
}

.nav-links a {
  position: relative;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-muted);
  transition: color 0.25s var(--ease);
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background: var(--vital);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--ink);
}

.nav-links a.active::after {
  transform: scaleX(1);
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
}

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

.container.narrow {
  max-width: 640px;
}

.container.center {
  text-align: center;
}

/* ─── Buttons ─── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 22px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  color: var(--vital-ink);
  background: var(--vital);
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition:
    background 0.25s var(--ease),
    transform 0.2s var(--ease),
    box-shadow 0.25s var(--ease);
}

.btn-primary:active {
  transform: scale(0.97);
  background: var(--vital-pressed);
}

.btn-sm {
  height: 36px;
  padding: 0 16px;
  font-size: 13px;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 42px;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--hairline-strong);
  border-radius: 999px;
  transition:
    border-color 0.25s var(--ease),
    background 0.25s var(--ease),
    transform 0.2s var(--ease);
}

.btn-ghost .arrow {
  display: inline-block;
  transition: transform 0.35s var(--ease);
}

@media (hover: hover) {
  .btn-primary:hover {
    background: var(--vital-hover);
    box-shadow: 0 0 24px var(--vital-glow);
  }

  .btn-ghost:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.04);
  }

  .btn-ghost:hover .arrow {
    transform: translateY(3px);
  }

  .metric:hover {
    border-color: rgba(27, 199, 161, 0.2);
  }

  .page-dot:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.2);
  }

  .nav-logo:hover {
    opacity: 0.8;
  }
}

/* ─── Typography ─── */
.eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--vital);
  margin-bottom: 16px;
}

.display-xl {
  font-size: clamp(2.85rem, 6.5vw, 4.75rem);
  font-weight: 600;
  line-height: 1.0;
  letter-spacing: -0.035em;
  margin-bottom: 22px;
}

.display-lg {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.024em;
  margin-bottom: 24px;
}

.display-md {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.subhead {
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.6;
  color: var(--ink-muted);
  max-width: 38ch;
  margin-bottom: 28px;
}

.body-lg {
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-muted);
  max-width: 65ch;
}

.body-md {
  font-size: 16px;
  color: var(--ink-muted);
  margin-bottom: 24px;
}

.caption {
  font-size: 12px;
  color: var(--ink-subtle);
  margin-top: 12px;
}

.text-vital {
  color: var(--vital);
}

.text-shine {
  background: linear-gradient(135deg, #e8edf5 0%, var(--vital) 45%, #6eecc8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.text-outline {
  color: transparent;
  -webkit-text-stroke: 1px rgba(232, 237, 245, 0.32);
}

.trust-line {
  margin-top: 32px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink-subtle);
  text-transform: uppercase;
}

.mono-num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--vital);
  letter-spacing: 0.04em;
  flex-shrink: 0;
  padding-top: 4px;
  transition: color 0.4s var(--ease);
}

/* ─── Hero stagger load ─── */
.hero-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease);
}

.hero-stagger > *:nth-child(1) { transition-delay: 0.04s; }
.hero-stagger > *:nth-child(2) { transition-delay: 0.12s; }
.hero-stagger > *:nth-child(3) { transition-delay: 0.2s; }
.hero-stagger > *:nth-child(4) { transition-delay: 0.28s; }

.hero-product {
  opacity: 0;
  transition: opacity 1s var(--ease) 0.25s;
}

body.is-loaded .hero-product {
  opacity: 1;
}

/* ─── Reveal ─── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
}

@supports (animation-timeline: view()) {
  .reveal {
    animation: reveal-up linear both;
    animation-timeline: view();
    animation-range: entry 5% cover 32%;
    opacity: 1;
    transform: none;
  }
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.8s var(--ease),
    transform 0.8s var(--ease);
}

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

/* ─── Stacked pages ─── */
.stack {
  position: relative;
  z-index: 1;
  perspective: 1600px;
  perspective-origin: 50% 40%;
}

.page,
.page-slot .page {
  position: sticky;
  top: 0;
  height: 100dvh;
  height: 100svh;
  z-index: var(--z);
  display: flex;
  align-items: stretch;
  overflow: hidden;
  transform-style: preserve-3d;
  backface-visibility: hidden;
}

.page-inner {
  width: 100%;
  transform-origin: center 28%;
  will-change: transform, opacity, filter;
  display: flex;
  align-items: center;
}

.page.is-covered {
  box-shadow:
    0 -1px 0 var(--hairline),
    0 -32px 64px rgba(0, 0, 0, 0.55);
}

.page.is-covered::before {
  opacity: 0.92;
}

.page.is-entering::before {
  border-top-color: rgba(27, 199, 161, 0.12);
}

.page-slot {
  height: var(--h);
  position: relative;
  z-index: var(--z);
}

.page-slot > .page {
  z-index: var(--z);
}

.page::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--surface, var(--canvas));
  border-top: 1px solid var(--hairline);
}

.page::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse 80% 50% at 50% 0%, var(--vital-soft), transparent 70%);
  opacity: 0;
  transition: opacity 0.6s var(--ease);
}

.page.is-active::after {
  opacity: 1;
}

.page-hero::before {
  border-top: none;
}

/* ─── Hero ─── */
.hero-frame {
  width: min(100% - var(--gutter) * 2, 1240px);
  margin-inline: auto;
  height: 100%;
  min-height: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: calc(var(--nav-h) + 20px) 0 32px;
  box-sizing: border-box;
}

.hero-meta {
  margin-bottom: 0;
}

.hero-meta::after {
  max-width: 200px;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr;
  align-items: end;
  gap: 36px;
  min-height: 0;
  padding-bottom: 4vh;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  max-width: 36rem;
  min-width: 0;
}

.page-hero .eyebrow {
  margin-bottom: 18px;
}

.page-hero .subhead {
  max-width: 34ch;
}

.page-hero .cta-row {
  justify-content: flex-start;
}

@media (min-width: 900px) {
  .hero-layout {
    grid-template-columns: 1.08fr 0.92fr;
    gap: clamp(32px, 5vw, 72px);
    align-items: end;
    padding-bottom: 6vh;
  }

  .hero-product {
    justify-self: end;
    align-self: center;
    margin-bottom: 2vh;
  }
}

.scroll-cue {
  display: flex;
  align-items: center;
  gap: 14px;
  opacity: 0.55;
}

.scroll-cue-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-subtle);
}

.scroll-cue-track {
  position: relative;
  flex: 1;
  max-width: 140px;
  height: 1px;
  background: var(--hairline);
  overflow: hidden;
}

.scroll-cue-fill {
  display: block;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--vital), transparent);
  animation: cue-slide 2.2s var(--ease) infinite;
}

@keyframes cue-slide {
  from { transform: translateX(-100%); }
  to { transform: translateX(350%); }
}

.stack.is-scrolling .scroll-cue {
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.hero-product {
  position: relative;
  width: 100%;
  max-width: min(100%, 400px);
  margin-inline: auto;
  perspective: 1400px;
  transform-style: preserve-3d;
  transition: transform 0.12s linear;
}

.hero-orbit {
  position: absolute;
  inset: -18%;
  border: 1px solid rgba(27, 199, 161, 0.12);
  border-radius: 50%;
  pointer-events: none;
  animation: orbit-spin 28s linear infinite;
}

.hero-orbit--inner {
  inset: -8%;
  border-color: rgba(27, 199, 161, 0.06);
  animation-duration: 18s;
  animation-direction: reverse;
}

.hero-orbit::before {
  content: '';
  position: absolute;
  top: -3px;
  left: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--vital);
  box-shadow: 0 0 12px var(--vital-glow);
  transform: translateX(-50%);
}

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

.product-chrome {
  position: relative;
  z-index: 1;
  border: 1px solid var(--hairline-strong);
  border-radius: var(--radius);
  background: linear-gradient(165deg, rgba(21, 26, 36, 0.95), rgba(15, 18, 25, 0.98));
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.03) inset,
    0 32px 64px -16px rgba(0, 0, 0, 0.55);
  transition: box-shadow 0.2s linear;
  transform: rotateY(-6deg) rotateX(4deg);
}

@media (hover: hover) {
  .product-chrome:hover {
    box-shadow:
      0 0 0 1px rgba(27, 199, 161, 0.12) inset,
      0 40px 80px -16px rgba(0, 0, 0, 0.65),
      0 0 56px -8px var(--vital-glow);
  }
}

.chrome-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--hairline);
  background: rgba(0, 0, 0, 0.2);
}

.chrome-bar span:nth-child(-n + 3) {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--hairline-strong);
}

.chrome-label {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-subtle);
}

.product-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.metric-row {
  display: flex;
  gap: 16px;
}

.metric {
  flex: 1;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--hairline);
  background: rgba(0, 0, 0, 0.15);
  transition: border-color 0.3s var(--ease);
}

.metric.wide {
  flex: 1 1 100%;
}

.metric-label {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-subtle);
  margin-bottom: 6px;
}

.metric-value {
  font-size: 15px;
  font-weight: 500;
  font-variant-numeric: tabular-nums lining-nums;
}

.metric-value.live {
  color: var(--vital);
}

.metric-value.live::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--vital);
  margin-right: 6px;
  vertical-align: middle;
  box-shadow: 0 0 10px var(--vital-glow);
  animation: pulse-dot 2.5s ease infinite;
}

@keyframes pulse-dot {
  50% { opacity: 0.45; transform: scale(0.9); }
}

.pulse-chart {
  height: 72px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--hairline);
  background: rgba(0, 0, 0, 0.15);
  overflow: hidden;
  position: relative;
}

.chart-svg {
  display: block;
  width: 100%;
  height: 100%;
}

.chart-path {
  fill: none;
  stroke: var(--vital);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  animation: draw-line 2.5s var(--ease) 0.8s forwards;
}

.chart-fill {
  fill: url(#chartGrad);
  opacity: 0;
  animation: fade-in 1s var(--ease) 1.5s forwards;
}

@keyframes draw-line {
  to { stroke-dashoffset: 0; }
}

@keyframes fade-in {
  to { opacity: 1; }
}

.flow-bar {
  height: 4px;
  border-radius: 2px;
  background: var(--hairline);
  overflow: hidden;
  margin-top: 4px;
}

.flow-bar span {
  display: block;
  height: 100%;
  width: 68%;
  background: linear-gradient(90deg, var(--vital-pressed), var(--vital));
  border-radius: 2px;
  animation: flow 4s var(--ease) infinite alternate;
}

@keyframes flow {
  from { width: 42%; }
  to { width: 88%; }
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* ─── Live words ─── */
.page-live .live-layout {
  width: min(100% - var(--gutter) * 2, 1140px);
  margin-inline: auto;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr;
  align-content: center;
  padding: calc(var(--nav-h) + 16px) 0 32px;
  gap: 0;
  position: relative;
}

.live-meta {
  grid-column: 1;
}

.live-content {
  text-align: left;
  align-self: center;
}

.live-rail {
  display: none;
}

@media (min-width: 900px) {
  .page-live .live-layout {
    grid-template-columns: auto 1fr auto;
    grid-template-rows: auto 1fr;
    align-items: center;
    column-gap: clamp(32px, 5vw, 64px);
    padding-bottom: 48px;
  }

  .live-meta {
    grid-column: 1;
    grid-row: 1;
    align-self: start;
  }

  .live-content {
    grid-column: 2;
    grid-row: 1 / -1;
    padding-left: clamp(24px, 4vw, 64px);
    border-left: 1px solid var(--hairline);
  }

  .live-rail {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    grid-column: 3;
    grid-row: 1 / -1;
    height: min(280px, 40vh);
    align-self: center;
  }

  .live-rail-track {
    flex: 1;
    width: 2px;
    background: var(--hairline);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
  }

  .live-rail-fill {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, var(--vital), rgba(27, 199, 161, 0.2));
    transform-origin: top;
    transform: scaleY(0);
    box-shadow: 0 0 16px var(--vital-glow);
  }

  .live-rail-count {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.1em;
    color: var(--vital);
  }
}

.page-live::after {
  opacity: 0.6;
}

.live-stage {
  position: relative;
  width: 100%;
  height: clamp(120px, 22vw, 200px);
  margin: 24px 0 0;
  perspective: 800px;
}

.live-stage::before {
  content: '';
  position: absolute;
  inset: -40% -20%;
  background: radial-gradient(ellipse 50% 60% at 50% 50%, var(--vital-soft), transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.live-word {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  font-size: clamp(3.5rem, 12vw, 9rem);
  font-weight: 600;
  letter-spacing: -0.05em;
  color: var(--ink);
  opacity: 0;
  transform: translate3d(0, 32px, 0) scale(0.96) rotateX(8deg);
  transform-origin: left center;
  will-change: transform, opacity;
  backface-visibility: hidden;
}

.live-word.is-front {
  background: linear-gradient(180deg, #fff 0%, #d4faf2 40%, var(--vital) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ─── Vision ─── */
.vision-layout {
  width: min(100% - var(--gutter) * 2, 1040px);
  margin-inline: auto;
  padding: calc(var(--nav-h) + 24px) 0 40px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.vision-copy {
  max-width: 38rem;
}

@media (min-width: 900px) {
  .vision-layout {
    grid-template-columns: 1fr 1.4fr;
    align-items: end;
    gap: clamp(40px, 6vw, 80px);
    padding-left: clamp(24px, 5vw, 80px);
  }

  .vision-layout .section-meta {
    align-self: start;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 0;
  }

  .vision-layout .section-meta::after {
    display: none;
  }

  .vision-layout .section-tag {
    border-left: none;
    padding-left: 0;
  }

  .vision-copy {
    padding-bottom: 6vh;
  }
}

/* ─── Principles ─── */
.principles-layout {
  width: min(100% - var(--gutter) * 2, 1140px);
  margin-inline: auto;
  padding: calc(var(--nav-h) + 20px) 0 40px;
}

.principles-head {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}

@media (min-width: 900px) {
  .principles-head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 48px;
    margin-bottom: 40px;
  }

  .principles-head .section-meta {
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .principles-head .display-md {
    margin-bottom: 0;
  }
}

.principle-list {
  margin-top: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  text-align: left;
}

@media (min-width: 900px) {
  .principle-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: none;
  }
}

.principle-item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px 24px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.12);
  opacity: 0.28;
  transform: translate3d(0, 40px, 0) scale(0.96);
  will-change: opacity, transform;
}

.principle-item::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 0;
  right: 24px;
  height: 2px;
  background: linear-gradient(90deg, var(--vital), transparent);
  border-radius: 1px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}

.principle-item.is-lit::before {
  transform: scaleX(1);
}

.principle-item.is-lit {
  border-color: rgba(27, 199, 161, 0.2);
  background: rgba(27, 199, 161, 0.04);
  box-shadow: 0 0 40px -12px var(--vital-glow);
}

.principle-item.is-lit .mono-num {
  color: var(--vital-hover);
}

.principle-item:last-child {
  border-bottom: 1px solid var(--hairline);
}

.principle-item h3 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.012em;
  margin-bottom: 6px;
}

.principle-item p {
  font-size: 15px;
  color: var(--ink-muted);
  line-height: 1.55;
}

/* ─── Statement ─── */
.statement-wrap {
  padding: var(--nav-h) 0;
}

.display-statement {
  font-size: clamp(2rem, 5.5vw, 3.75rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 0;
}

.statement-a,
.statement-b {
  will-change: transform, opacity;
}

.statement-b {
  margin-top: 12px;
}

/* ─── Waitlist ─── */
.access-wrap {
  max-width: 480px;
}

.page-access .reveal-access {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.8s var(--ease),
    transform 0.8s var(--ease);
}

.page-access .reveal-access:nth-child(2) { transition-delay: 0.06s; }
.page-access .reveal-access:nth-child(3) { transition-delay: 0.12s; }
.page-access .reveal-access:nth-child(4) { transition-delay: 0.18s; }
.page-access .reveal-access:nth-child(5) { transition-delay: 0.24s; }
.page-access .reveal-access:nth-child(6) { transition-delay: 0.3s; }
.page-access .reveal-access:nth-child(7) { transition-delay: 0.36s; }

.page-access .reveal-access.in {
  opacity: 1;
  transform: translateY(0);
}

.waitlist {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  max-width: 440px;
  margin: 0 auto;
}

.input {
  flex: 1 1 200px;
  height: 44px;
  padding: 0 16px;
  font-family: var(--font);
  font-size: 15px;
  color: var(--ink);
  background: var(--surface-2);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  outline: none;
  transition:
    border-color 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}

.input:focus {
  border-color: rgba(27, 199, 161, 0.5);
  box-shadow: 0 0 0 3px var(--vital-soft);
}

.input::placeholder {
  color: var(--ink-subtle);
}

.form-status {
  min-height: 1.25rem;
  margin-top: 12px;
  font-size: 14px;
  color: var(--ink-muted);
  transition: color 0.3s;
}

.form-status.ok {
  color: var(--vital);
}

/* ─── Scroll rail ─── */
.scroll-rail {
  position: fixed;
  left: max(var(--gutter), calc((100vw - 1240px) / 2 - 32px));
  top: 50%;
  transform: translateY(-50%);
  z-index: 140;
  display: none;
  height: min(200px, 28vh);
}

@media (min-width: 1100px) {
  .scroll-rail {
    display: block;
  }
}

.scroll-rail-track {
  width: 2px;
  height: 100%;
  background: var(--hairline);
  border-radius: 2px;
  overflow: hidden;
}

.scroll-rail-fill {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, var(--vital), rgba(27, 199, 161, 0.15));
  transform-origin: top;
  transform: scaleY(0);
  box-shadow: 0 0 12px var(--vital-glow);
}

/* ─── Page dots ─── */
.page-dots {
  position: fixed;
  right: var(--gutter);
  top: 50%;
  transform: translateY(-50%);
  z-index: 150;
  display: none;
  flex-direction: column;
  gap: 12px;
}

@media (min-width: 1024px) {
  .page-dots {
    display: flex;
  }
}

.page-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--hairline-strong);
  cursor: pointer;
  transition:
    background 0.4s var(--ease),
    transform 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}

.page-dot:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.2);
}

.page-dot.active {
  background: var(--vital);
  transform: scale(1.4);
  box-shadow: 0 0 12px var(--vital-glow);
}

/* ─── Footer ─── */
.footer {
  position: relative;
  z-index: 10;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 28px var(--gutter) 44px;
  font-size: 13px;
  color: var(--ink-subtle);
  border-top: 1px solid var(--hairline);
  background: var(--canvas);
}

.footer-brand {
  transition: opacity 0.2s var(--ease);
}

@media (hover: hover) {
  .brand--nav:hover {
    opacity: 0.85;
  }
}

/* ─── Mobile bottom nav ─── */
.mobile-nav {
  display: none;
}

/* ─── Reduced motion ─── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }

  .reveal,
  .live-word,
  .principle-item,
  .hero-stagger > *,
  .hero-product,
  .reveal-access {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }

  .brand-mark::before {
    animation: none !important;
  }

  .brand-mark-ring {
    animation: none !important;
  }

  .page-slot {
    height: auto !important;
  }

  .page,
  .page-slot .page {
    position: relative;
    height: auto;
    min-height: 80vh;
  }

}

/* ─── Mobile ─── */
@media (max-width: 768px) {
  :root {
    --gutter: 20px;
  }

  .page-slot {
    --h: 240vh !important;
  }

  .nav {
    grid-template-columns: 1fr auto 1fr;
    padding-left: var(--gutter);
    padding-right: var(--gutter);
  }

  .nav-logo {
    grid-column: 2;
    position: static;
    transform: none;
  }

  .nav-cta {
    grid-column: 3;
    position: relative;
    z-index: 2;
    justify-self: end;
    min-height: 40px;
    padding: 0 14px;
  }

  .nav-links {
    display: none;
  }

  .brand--nav .brand-mark {
    width: 36px;
    height: 36px;
  }

  .brand--nav .brand-word {
    font-size: 1.5rem;
  }

  .page-hero .hero-copy {
    align-items: flex-start;
    text-align: left;
    max-width: none;
  }

  .page-hero .eyebrow {
    margin-bottom: 14px;
  }

  .page-hero .subhead {
    margin-inline: 0;
    max-width: none;
  }

  .page-hero .cta-row {
    justify-content: flex-start;
    width: 100%;
  }

  .hero-frame {
    padding: calc(var(--nav-h) + var(--safe-top) + 16px) 0 24px;
  }

  .hero-layout {
    gap: 32px;
    padding-bottom: 2vh;
  }

  .hero-product {
    max-width: min(100%, 360px);
  }

  .product-chrome {
    transform: none;
  }

  .hero-orbit {
    inset: -12%;
  }

  .scroll-cue {
    display: none;
  }

  .live-content {
    text-align: left;
  }

  .live-word {
    justify-content: flex-start;
    font-size: clamp(2.75rem, 16vw, 4.25rem);
  }

  .live-stage {
    height: clamp(88px, 22vw, 120px);
    margin: 20px 0 0;
  }

  .vision-layout {
    padding-left: 0;
  }

  .vision-copy {
    max-width: none;
  }

  .principles-head {
    margin-bottom: 24px;
  }

  .principle-list {
    gap: 12px;
  }

  .principle-item {
    padding: 22px 20px;
  }

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

  .display-xl {
    font-size: clamp(2.35rem, 10vw, 3.25rem);
    letter-spacing: -0.03em;
  }

  .subhead {
    font-size: 17px;
    max-width: none;
    margin-bottom: 24px;
  }

  .cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-row .btn-primary,
  .cta-row .btn-ghost {
    width: 100%;
    min-height: 48px;
    justify-content: center;
  }

  .page-principles .principles-layout {
    padding-top: calc(var(--nav-h) + 12px);
  }

  .principle-list {
    margin-top: 0;
  }

  .principle-item {
    gap: 12px;
  }

  .principle-item::before {
    top: 0;
    bottom: auto;
  }

  .principle-item h3 {
    font-size: 18px;
  }

  .principle-item p {
    font-size: 14px;
  }

  .display-statement {
    font-size: clamp(1.65rem, 7.5vw, 2.5rem);
  }

  .waitlist {
    flex-direction: column;
    max-width: 100%;
  }

  .waitlist .input,
  .waitlist .btn-primary {
    width: 100%;
    min-height: 48px;
    font-size: 16px;
  }

  .container.narrow .body-lg,
  .container.narrow .display-lg {
    text-align: left;
  }

  .page-access .access-wrap,
  .page-statement .statement-wrap {
    padding-bottom: 16px;
  }

  .footer {
    padding-bottom: calc(28px + var(--mobile-nav-h) + var(--safe-bottom));
  }

  .mobile-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 200;
    height: calc(var(--mobile-nav-h) + var(--safe-bottom));
    padding-bottom: var(--safe-bottom);
    background: rgba(8, 10, 15, 0.82);
    backdrop-filter: blur(20px) saturate(180%);
    border-top: 1px solid var(--hairline);
  }

  .mobile-nav-link {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 500;
    color: var(--ink-muted);
    min-height: var(--mobile-nav-h);
    transition: color 0.25s var(--ease);
  }

  .mobile-nav-link.active {
    color: var(--ink);
  }

  .mobile-nav-accent {
    color: var(--vital);
    font-weight: 600;
  }

  .mobile-nav-accent.active {
    color: var(--vital-hover);
  }

  .page-dots {
    display: none !important;
  }
}

@media (max-width: 380px) {
  .nav-cta {
    font-size: 12px;
    padding: 0 12px;
  }

  .display-xl {
    font-size: 2.1rem;
  }
}
