:root {
  color-scheme: dark;
  --bg: #08110f;
  --bg-soft: #0d1d19;
  --text: #f3f7f2;
  --muted: #a9b8af;
  --line: rgba(243, 247, 242, 0.16);
  --accent: #48e0a4;
  --accent-strong: #9ff7d3;
  --ink: #06100d;
  --header-h: 72px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  padding: 0 clamp(20px, 5vw, 64px);
  border-bottom: 1px solid rgba(243, 247, 242, 0.1);
  background: rgba(8, 17, 15, 0.72);
  backdrop-filter: blur(18px);
}

.brand-link,
.site-nav,
.hero-actions,
.launch-section {
  display: flex;
  align-items: center;
}

.brand-link {
  gap: 11px;
  font-size: 0.96rem;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 30px rgba(72, 224, 164, 0.85);
}

.site-nav {
  gap: clamp(16px, 3vw, 34px);
  color: var(--muted);
  font-size: 0.88rem;
}

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

.site-nav a:hover {
  color: var(--text);
  transform: translateY(-1px);
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  overflow: hidden;
  place-items: center start;
  padding: calc(var(--header-h) + 32px) clamp(20px, 7vw, 96px) 64px;
  isolation: isolate;
}

.signal-canvas,
.hero-shade {
  position: absolute;
  inset: 0;
}

.signal-canvas {
  z-index: -3;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 68% 38%, rgba(72, 224, 164, 0.22), transparent 32%),
    linear-gradient(140deg, #06100d 0%, #0a1915 44%, #14261f 100%);
}

.hero-shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(8, 17, 15, 0.94) 0%, rgba(8, 17, 15, 0.68) 42%, rgba(8, 17, 15, 0.2) 100%),
    linear-gradient(0deg, rgba(8, 17, 15, 0.62), transparent 46%);
}

.hero-copy {
  width: min(680px, 100%);
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--accent-strong);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 20px;
  font-size: clamp(5.2rem, 16vw, 15rem);
  line-height: 0.82;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.2rem, 5vw, 5.4rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 560px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.42rem);
}

.hero-actions {
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 800;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

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

.button.primary {
  border-color: transparent;
  background: var(--accent);
  color: var(--ink);
}

.button.secondary {
  color: var(--text);
}

.button.secondary:hover {
  border-color: rgba(159, 247, 211, 0.5);
  background: rgba(159, 247, 211, 0.08);
}

.section {
  padding: clamp(72px, 11vw, 150px) clamp(20px, 7vw, 96px);
}

.protocol-section {
  background: #f4f2eb;
  color: #0b1412;
}

.protocol-section .section-kicker {
  color: #0d6f52;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.7fr);
  gap: clamp(36px, 7vw, 108px);
  align-items: start;
}

.copy-stack {
  color: #40524b;
  font-size: clamp(1rem, 1.6vw, 1.22rem);
}

.feature-list {
  display: grid;
  gap: 16px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  padding-top: 16px;
  border-top: 1px solid rgba(6, 16, 13, 0.18);
}

.routing-section {
  position: relative;
  display: grid;
  min-height: 720px;
  overflow: hidden;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
  background:
    linear-gradient(180deg, rgba(8, 17, 15, 0.92), rgba(8, 17, 15, 0.98)),
    var(--bg-soft);
}

.route-map {
  position: relative;
  width: min(58vw, 720px);
  aspect-ratio: 1 / 1;
}

.node,
.path {
  position: absolute;
  display: block;
}

.node {
  width: clamp(14px, 2.4vw, 26px);
  height: clamp(14px, 2.4vw, 26px);
  border: 2px solid rgba(159, 247, 211, 0.8);
  border-radius: 50%;
  background: #08110f;
  box-shadow: 0 0 40px rgba(72, 224, 164, 0.48);
}

.node-a {
  top: 18%;
  left: 20%;
}

.node-b {
  top: 35%;
  right: 18%;
}

.node-c {
  right: 34%;
  bottom: 17%;
}

.node-d {
  bottom: 34%;
  left: 11%;
}

.path {
  height: 2px;
  transform-origin: left center;
  background: linear-gradient(90deg, transparent, rgba(72, 224, 164, 0.78), transparent);
  animation: pulse-line 2.8s ease-in-out infinite;
}

.path-one {
  top: 26%;
  left: 23%;
  width: 58%;
  transform: rotate(15deg);
}

.path-two {
  top: 54%;
  left: 15%;
  width: 55%;
  transform: rotate(-21deg);
  animation-delay: 700ms;
}

.path-three {
  top: 42%;
  left: 33%;
  width: 40%;
  transform: rotate(70deg);
  animation-delay: 1.2s;
}

.routing-copy {
  max-width: 620px;
}

.routing-copy p {
  max-width: 520px;
  margin-top: 24px;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
}

.launch-section {
  justify-content: space-between;
  gap: 32px;
  background: #101515;
}

.launch-section h2 {
  max-width: 820px;
}

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

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

@keyframes pulse-line {
  0%,
  100% {
    opacity: 0.32;
    filter: blur(0);
  }

  50% {
    opacity: 1;
    filter: blur(0.4px);
  }
}

@media (max-width: 780px) {
  :root {
    --header-h: 64px;
  }

  .site-header {
    padding-inline: 18px;
  }

  .site-nav {
    gap: 14px;
    font-size: 0.78rem;
  }

  .hero {
    align-items: end;
    min-height: 92svh;
    padding-bottom: 46px;
  }

  .hero-shade {
    background:
      linear-gradient(0deg, rgba(8, 17, 15, 0.96) 0%, rgba(8, 17, 15, 0.72) 58%, rgba(8, 17, 15, 0.24) 100%),
      linear-gradient(90deg, rgba(8, 17, 15, 0.6), transparent);
  }

  h1 {
    font-size: clamp(4rem, 23vw, 6.2rem);
  }

  .split-layout,
  .routing-section {
    grid-template-columns: 1fr;
  }

  .routing-section {
    min-height: 760px;
  }

  .route-map {
    width: min(100%, 520px);
    margin-inline: auto;
  }

  .launch-section {
    align-items: flex-start;
    flex-direction: column;
  }
}

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