:root {
  --bg: #06090f;
  --surface: rgba(11, 18, 31, 0.72);
  --surface-2: rgba(14, 26, 28, 0.62);
  --text: #ebf2ff;
  --muted: #9fb2ce;
  --line: rgba(164, 188, 255, 0.2);
  --accent-cyan: #42e7d7;
  --accent-lime: #d2ff62;
  --accent-amber: #ffb24d;
  --maxw: 1120px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

body {
  overflow-x: hidden;
}

#scene {
  position: fixed;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 1rem 1.25rem;
  backdrop-filter: blur(12px);
  background: rgba(5, 10, 17, 0.52);
  border-bottom: 1px solid var(--line);
}

.brand {
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 0;
}

.nav {
  display: flex;
  gap: 1.2rem;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
}

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

main {
  padding: 0 1.25rem 4rem;
}

.hero,
.section {
  max-width: var(--maxw);
  margin: 0 auto;
}

.hero {
  min-height: 92vh;
  display: grid;
  align-content: center;
  gap: 1.2rem;
  padding: 5.2rem 0 4.2rem;
}

.eyebrow {
  color: var(--accent-lime);
  font-size: 0.9rem;
  font-weight: 600;
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 6vw, 4.35rem);
  line-height: 1.05;
  max-width: 16ch;
  letter-spacing: 0;
}

.lead {
  margin: 0;
  color: var(--muted);
  max-width: 70ch;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  border-radius: 8px;
  padding: 0.74rem 1rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  color: #041216;
  background: linear-gradient(120deg, var(--accent-cyan), var(--accent-lime));
}

.btn-quiet {
  color: var(--text);
  border-color: var(--line);
  background: rgba(18, 25, 41, 0.55);
}

.metrics {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.metric {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1rem;
  background: rgba(6, 15, 29, 0.42);
}

.metric-value {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--accent-cyan);
}

.metric-label {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.section {
  padding: 4.5rem 0;
}

.section-alt {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.4rem, 4vw, 2.5rem);
}

.section-head p {
  margin: 0;
  color: var(--muted);
  max-width: 75ch;
}

.grid {
  margin-top: 1.4rem;
  display: grid;
  gap: 0.9rem;
}

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

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

.tile {
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 1.2rem;
}

.tile h3 {
  margin-top: 0;
  margin-bottom: 0.55rem;
}

.tile p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.item-kicker {
  margin-bottom: 0.65rem !important;
  color: var(--accent-amber) !important;
  font-weight: 600;
}

.timeline {
  margin-top: 1.2rem;
  display: grid;
  gap: 0.8rem;
}

.timeline-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1rem 1rem;
  background: var(--surface-2);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
}

.step {
  font-weight: 700;
  color: var(--accent-lime);
  font-size: 0.95rem;
  line-height: 1.4;
}

.timeline-item h3 {
  margin: 0;
}

.timeline-item p {
  margin: 0.35rem 0 0;
  color: var(--muted);
}

.section-cta {
  text-align: center;
  padding-bottom: 2rem;
}

.section-cta h2 {
  margin: 0;
  font-size: clamp(1.4rem, 5vw, 2.9rem);
}

.section-cta p {
  margin: 0.75rem auto 1.2rem;
  color: var(--muted);
  max-width: 62ch;
}

.section-cta .hero-actions {
  justify-content: center;
}

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

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

@media (max-width: 980px) {
  .topbar {
    padding-block: 0.9rem;
  }

  .nav {
    display: none;
  }

  .grid.three {
    grid-template-columns: 1fr;
  }

  .grid.two {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .metrics {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 86vh;
    padding-top: 4.2rem;
  }

  .topbar .btn {
    display: none;
  }
}
