:root {
  --primary: #fcfdff;
  --primary-on: #000000;
  --ink: #fcfdff;
  --body: rgba(252, 253, 255, 0.86);
  --charcoal: rgba(252, 253, 255, 0.7);
  --mute: #a1a4a5;
  --ash: #888e90;
  --canvas: #000000;
  --surface-card: #0a0a0c;
  --surface-elevated: #101012;
  --surface-deep: #06060a;
  --hairline: rgba(255, 255, 255, 0.06);
  --hairline-strong: rgba(255, 255, 255, 0.14);
  --divider-soft: rgba(255, 255, 255, 0.04);
  --accent-orange: #ff801f;
  --accent-orange-glow: rgba(255, 89, 0, 0.22);
  --accent-yellow: #ffc53d;
  --accent-blue: #3b9eff;
  --accent-blue-glow: rgba(0, 117, 255, 0.34);
  --accent-green: #11ff99;
  --accent-green-glow: rgba(34, 255, 153, 0.18);
  --accent-red: #ff2047;
  --font-display: "Playfair Display", Georgia, serif;
  --font-body: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-code: "Geist Mono", "SFMono-Regular", Consolas, monospace;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.5;
  overflow-x: hidden;
}

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

button,
input {
  font: inherit;
}

.ambient {
  position: fixed;
  inset: auto auto 8% -20%;
  width: min(760px, 80vw);
  height: min(760px, 80vw);
  pointer-events: none;
  z-index: -1;
  opacity: 0.3;
  filter: blur(4px);
}

.ambient-blue {
  top: 2%;
  right: -24%;
  left: auto;
  background: radial-gradient(circle, var(--accent-blue-glow), transparent 65%);
}

.ambient-orange {
  background: radial-gradient(circle, var(--accent-orange-glow), transparent 68%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 64px;
  padding: 0 32px;
  background: rgba(0, 0, 0, 0.82);
  border-bottom: 1px solid var(--hairline);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.35px;
}

.brand-logo {
  width: 32px;
  height: 32px;
  display: block;
  filter: drop-shadow(0 0 14px rgba(34, 255, 153, 0.08));
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 22px;
  color: var(--charcoal);
  font-size: 14px;
}

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

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

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--hairline-strong);
  border-radius: 8px;
  background: var(--surface-elevated);
  color: var(--ink);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 6px auto;
  background: currentColor;
}

.button {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 8px 16px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 500;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

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

.button-primary {
  background: var(--primary);
  color: var(--primary-on);
}

.button-ghost {
  background: var(--surface-elevated);
  border-color: var(--hairline-strong);
  color: var(--ink);
}

.button-volu {
  gap: 10px;
  background: var(--surface-elevated);
  border-color: var(--hairline-strong);
  color: var(--ink);
}

.button-volu-large {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: min(100%, 620px);
  min-height: 78px;
  margin-top: 30px;
  justify-content: space-between;
  padding: 15px 22px 15px 28px;
  border: 0;
  border-radius: 14px;
  background:
    radial-gradient(circle at 82% 24%, rgba(34, 255, 153, 0.16), transparent 42%),
    linear-gradient(180deg, rgba(252, 253, 255, 0.09), rgba(252, 253, 255, 0.02)),
    var(--surface-elevated);
  box-shadow: 0 0 44px rgba(34, 255, 153, 0.1);
}

.button-volu-large::before {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: -2;
  background: conic-gradient(
    from var(--volu-angle, 0deg),
    rgba(59, 158, 255, 0.06),
    rgba(59, 158, 255, 0.92),
    rgba(17, 255, 153, 0.94),
    rgba(255, 197, 61, 0.76),
    rgba(255, 128, 31, 0.72),
    rgba(59, 158, 255, 0.06)
  );
  animation: volu-border-spin 3.4s linear infinite;
}

.button-volu-large::after {
  content: "";
  position: absolute;
  inset: 2px;
  z-index: -1;
  border-radius: 12px;
  background:
    radial-gradient(circle at 85% 50%, rgba(17, 255, 153, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(16, 16, 18, 0.98), rgba(6, 6, 10, 0.98));
}

@property --volu-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

@keyframes volu-border-spin {
  to {
    --volu-angle: 360deg;
  }
}

.button-volu-large:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 64px rgba(34, 255, 153, 0.15), 0 0 34px rgba(59, 158, 255, 0.08);
}

.button-volu-large > * {
  position: relative;
  z-index: 1;
}

.volu-button-copy {
  display: grid;
  gap: 3px;
  text-align: left;
}

.volu-button-copy strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(30px, 3.5vw, 44px);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.02em;
}

.volu-button-copy small {
  color: var(--accent-green);
  font-family: var(--font-code);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.volu-wave-player {
  position: relative;
  flex: 0 0 auto;
  width: 172px;
  height: 64px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(252, 253, 255, 0.12);
  border-radius: 14px;
  background:
    radial-gradient(circle at 50% 50%, rgba(17, 255, 153, 0.18), transparent 58%),
    rgba(6, 6, 10, 0.64);
  box-shadow: inset 0 0 22px rgba(59, 158, 255, 0.08);
}

#voluSiriWave {
  display: block;
  width: 150px;
  height: 54px;
  overflow: hidden;
}

@keyframes volu-blink {
  0%,
  46%,
  54%,
  100% {
    transform: scaleY(1);
  }

  50% {
    transform: scaleY(0.15);
  }
}

@keyframes volu-talk {
  50% {
    height: 5px;
    border-radius: 50%;
    transform: translateY(2px);
  }
}

.section,
.section-band {
  position: relative;
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

.section {
  padding: 96px 0;
}

.section-band {
  padding: 96px 0 72px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.9fr);
  gap: 48px;
  min-height: calc(100vh - 64px);
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--charcoal);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent-green);
  box-shadow: 0 0 24px var(--accent-green-glow);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.02em;
}

h1 {
  display: grid;
  gap: 18px;
  max-width: 820px;
  margin-bottom: 24px;
  font-size: clamp(44px, 8vw, 96px);
  line-height: 0.94;
}

.hero-brand {
  display: block;
}

.hero-tagline {
  display: block;
  color: var(--body);
  font-family: var(--font-body);
  font-size: clamp(20px, 2.6vw, 34px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.08;
  white-space: nowrap;
  vertical-align: baseline;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(38px, 5vw, 76px);
  line-height: 1;
}

h3 {
  color: var(--ink);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.3;
}

p {
  color: var(--body);
}

.hero-subtitle,
.section-heading p,
.final-card p {
  max-width: 680px;
  color: var(--body);
  font-size: 20px;
  line-height: 1.35;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  width: min(100%, 520px);
  margin: 14px 0 0;
}

.hero-actions .button-primary,
.hero-actions .button-ghost {
  flex: 1 1 190px;
  min-height: 44px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 660px;
  margin: 36px 0 0;
}

.hero-metrics div,
.challenge-card,
.strength-panel,
.feature-card,
.metric-card,
.journey-step,
.final-card,
.observe-panel {
  border: 1px solid var(--hairline-strong);
  border-radius: 12px;
  background: linear-gradient(180deg, var(--surface-elevated), var(--surface-card));
}

.hero-metrics div {
  padding: 18px;
}

.hero-metrics dt {
  font-family: var(--font-code);
  font-size: 22px;
  color: var(--ink);
}

.hero-metrics dd {
  margin: 4px 0 0;
  color: var(--mute);
  font-size: 13px;
}

.hero-visual {
  position: relative;
  min-height: 620px;
  border: 0;
  border-radius: 0;
  overflow: visible;
  background: transparent;
}

.spline-hero spline-viewer {
  position: absolute;
  inset: -62px -104px -40px -94px;
  z-index: 1;
  display: block;
  width: calc(100% + 198px);
  height: calc(100% + 102px);
}

.caption {
  display: block;
  margin-bottom: 8px;
  color: var(--mute);
  font-size: 12px;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 42px;
}

.section-heading.narrow {
  max-width: 520px;
}

.section-glow-orange::before,
.section-glow-blue::before,
.section-glow-green::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 50%;
  width: min(860px, 100vw);
  height: 420px;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: -1;
}

.section-glow-orange::before {
  background: radial-gradient(circle, var(--accent-orange-glow), transparent 70%);
}

.section-glow-blue::before {
  background: radial-gradient(circle, var(--accent-blue-glow), transparent 70%);
}

.section-glow-green::before {
  background: radial-gradient(circle, var(--accent-green-glow), transparent 70%);
}

.challenge-grid,
.impact-grid,
.custom-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.challenge-card,
.feature-card {
  padding: 28px;
}

.challenge-card p,
.feature-card p,
.journey-step p,
.strength-panel p {
  color: var(--charcoal);
}

.challenge-card strong {
  display: block;
  margin-top: 24px;
  color: var(--ink);
  font-size: 14px;
}

.risk {
  display: inline-flex;
  margin-bottom: 28px;
  border-radius: 999px;
  padding: 4px 10px;
  background: var(--surface-elevated);
  color: var(--accent-yellow);
  font-family: var(--font-code);
  font-size: 12px;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) 1.25fr;
  gap: 56px;
  align-items: start;
}

.strength-stack {
  display: grid;
  gap: 16px;
}

.strength-panel {
  position: relative;
  padding: 32px;
  overflow: hidden;
}

.panel-index {
  color: var(--accent-blue);
  font-family: var(--font-code);
  font-size: 13px;
}

.meter {
  height: 8px;
  margin: 24px 0 10px;
  border-radius: 999px;
  background: var(--surface-deep);
  overflow: hidden;
}

.meter span {
  display: block;
  width: var(--value);
  height: 100%;
  border-radius: inherit;
  background: var(--accent-green);
  box-shadow: 0 0 24px var(--accent-green-glow);
}

.mini-log {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.mini-log span {
  border-radius: 6px;
  padding: 7px 9px;
  background: var(--surface-deep);
  color: var(--charcoal);
  font-family: var(--font-code);
  font-size: 12px;
}

.concurrency-dots {
  min-height: 80px;
  margin-top: 18px;
  background-image: radial-gradient(circle, var(--accent-green) 1.5px, transparent 2px);
  background-size: 18px 18px;
  opacity: 0.8;
  animation: drift 7s linear infinite;
}

@keyframes drift {
  to {
    background-position: 36px 18px;
  }
}

.architecture-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 24px;
  align-items: stretch;
}

.pipeline {
  display: grid;
  align-content: center;
  gap: 10px;
}

.pipeline-node {
  position: relative;
  padding: 18px;
  border: 1px solid var(--hairline-strong);
  border-radius: 12px;
  background: var(--surface-card);
  color: var(--ink);
  font-weight: 500;
}

.pipeline-node span {
  display: block;
  margin-top: 6px;
  color: var(--mute);
  font-size: 13px;
  font-weight: 400;
}

.pipeline-line {
  width: 1px;
  height: 22px;
  margin-left: 28px;
  background: linear-gradient(var(--accent-blue), transparent);
  animation: pulse-line 1.6s ease-in-out infinite;
}

@keyframes pulse-line {
  50% {
    opacity: 0.35;
  }
}

.code-window {
  min-height: 100%;
  padding: 24px;
  border: 1px solid var(--hairline-strong);
  border-radius: 12px;
  background: var(--surface-deep);
  overflow: auto;
}

.window-dots {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}

.window-dots span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
}

.window-dots span:nth-child(1) {
  background: var(--accent-red);
}

.window-dots span:nth-child(2) {
  background: var(--accent-yellow);
}

.window-dots span:nth-child(3) {
  background: var(--accent-green);
}

pre {
  margin: 0;
  white-space: pre-wrap;
}

code {
  color: var(--body);
  font-family: var(--font-code);
  font-size: 13px;
  line-height: 1.65;
}

.impact-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.metric-card {
  padding: 26px;
  min-height: 160px;
}

.metric-card span {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1;
}

.metric-card small {
  color: var(--charcoal);
}

.observe-panel {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 32px;
  margin-top: 18px;
  padding: 32px;
}

.call-table {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--hairline);
  border-radius: 8px;
  background: var(--hairline);
}

.call-table div {
  display: grid;
  grid-template-columns: 1.1fr 1fr 0.8fr 0.6fr;
  gap: 10px;
  padding: 12px;
  background: var(--surface-deep);
  color: var(--charcoal);
  font-family: var(--font-code);
  font-size: 12px;
}

.call-table div:first-child {
  color: var(--ink);
  background: var(--surface-elevated);
}

.custom-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.journey-step {
  padding: 28px;
}

.journey-step span {
  display: inline-block;
  margin-bottom: 42px;
  color: var(--accent-green);
  font-family: var(--font-code);
}

.final-cta {
  padding-bottom: 96px;
}

.final-card {
  max-width: 820px;
  margin: 0 auto;
  padding: 48px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(59, 158, 255, 0.16), transparent 52%),
    var(--surface-card);
}

.final-card .eyebrow,
.final-card p {
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
}

.signup-form {
  display: flex;
  gap: 10px;
  max-width: 520px;
  margin: 30px auto 12px;
}

.signup-form input {
  min-width: 0;
  flex: 1;
  height: 44px;
  border: 1px solid var(--hairline-strong);
  border-radius: 8px;
  padding: 10px 14px;
  background: var(--surface-deep);
  color: var(--ink);
}

.signup-form input:focus {
  outline: none;
  border-color: var(--ink);
}

.form-note {
  color: var(--mute);
  font-size: 13px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 34px 32px;
  border-top: 1px solid var(--divider-soft);
  color: var(--charcoal);
  font-size: 14px;
}

.site-footer p {
  margin: 0;
  color: var(--charcoal);
}

.volu-modal {
  width: min(760px, calc(100% - 32px));
  border: 1px solid var(--hairline-strong);
  border-radius: 12px;
  padding: 0;
  background: var(--surface-card);
  color: var(--ink);
}

.volu-modal::backdrop {
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(8px);
}

.modal-shell {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 24px;
  padding: 32px;
  background: radial-gradient(circle at 72% 18%, rgba(34, 255, 153, 0.12), transparent 45%), var(--surface-card);
}

.modal-copy h2 {
  font-size: clamp(38px, 6vw, 64px);
}

.modal-copy p {
  color: var(--charcoal);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--hairline-strong);
  border-radius: 8px;
  background: var(--surface-elevated);
  color: var(--ink);
  cursor: pointer;
}

.volu-demo-panel {
  display: grid;
  min-height: 280px;
  place-items: center;
  align-content: center;
  gap: 12px;
  border: 1px solid var(--hairline-strong);
  border-radius: 12px;
  padding: 24px;
  background: var(--surface-deep);
  text-align: center;
}

.volu-demo-panel p {
  margin: 0;
  color: var(--mute);
  font-size: 14px;
}

.volu-call-frame {
  width: 100%;
  height: 360px;
  border: 0;
  border-radius: 8px;
  background: var(--surface-deep);
}

.volu-large-face {
  position: relative;
  width: 116px;
  height: 92px;
  margin-bottom: 8px;
  border: 1px solid var(--hairline-strong);
  border-radius: 30px 30px 38px 38px;
  background: linear-gradient(180deg, var(--surface-elevated), var(--surface-deep));
}

.volu-large-face::before {
  content: "";
  position: absolute;
  top: -22px;
  left: 50%;
  width: 1px;
  height: 22px;
  background: var(--hairline-strong);
}

.volu-large-face::after {
  content: "";
  position: absolute;
  top: -30px;
  left: calc(50% - 5px);
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent-green);
  box-shadow: 0 0 28px var(--accent-green-glow);
}

.volu-large-face span {
  position: absolute;
  top: 31px;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--primary);
  animation: volu-blink 4s infinite;
}

.volu-large-face span:first-child {
  left: 31px;
}

.volu-large-face span:nth-child(2) {
  right: 31px;
}

.volu-large-face i {
  position: absolute;
  left: 42px;
  bottom: 24px;
  width: 32px;
  height: 4px;
  border-radius: 999px;
  background: var(--primary);
  animation: volu-talk 700ms ease-in-out infinite;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

@media (max-width: 1023px) {
  .site-header {
    grid-template-columns: auto auto 1fr;
    padding: 0 20px;
  }

  .menu-toggle {
    display: block;
    order: 3;
    justify-self: end;
  }

  .site-nav {
    position: absolute;
    top: 64px;
    right: 20px;
    display: none;
    width: min(260px, calc(100vw - 40px));
    flex-direction: column;
    gap: 0;
    border: 1px solid var(--hairline-strong);
    border-radius: 12px;
    background: var(--surface-elevated);
    overflow: hidden;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 14px 16px;
    border-bottom: 1px solid var(--hairline);
  }

  .header-cta {
    justify-self: end;
  }

  .hero,
  .split-section,
  .architecture-grid,
  .observe-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 64px;
  }

  .hero-visual {
    min-height: 520px;
  }

  .spline-hero spline-viewer {
    inset: -64px -96px 18px -96px;
    width: calc(100% + 192px);
    height: calc(100% + 46px);
  }

  .modal-shell {
    grid-template-columns: 1fr;
  }

  .challenge-grid,
  .impact-grid,
  .custom-grid,
  .journey {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .section,
  .section-band {
    width: min(100% - 32px, 1200px);
    padding: 64px 0;
  }

  .site-header {
    gap: 10px;
  }

  .header-cta {
    display: none;
  }

  .button {
    min-height: 44px;
  }

  .hero {
    min-height: auto;
    gap: 30px;
  }

  .hero-actions,
  .signup-form {
    flex-direction: column;
    align-items: stretch;
  }

  h1 {
    gap: 10px;
  }

  .hero-tagline {
    white-space: normal;
  }

  .hero-metrics,
  .challenge-grid,
  .impact-grid,
  .custom-grid,
  .journey {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 460px;
  }

  .spline-hero spline-viewer {
    inset: -52px -150px 64px -150px;
    width: calc(100% + 300px);
    height: calc(100% + 18px);
  }

  .challenge-card,
  .strength-panel,
  .feature-card,
  .metric-card,
  .journey-step,
  .observe-panel,
  .final-card {
    padding: 24px;
  }

  .call-table {
    overflow-x: auto;
  }

  .call-table div {
    min-width: 560px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

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