:root {
  color-scheme: dark;
  --bg: #07110f;
  --bg-soft: #0d1916;
  --panel: rgba(14, 30, 26, 0.78);
  --line: rgba(217, 255, 241, 0.16);
  --text: #eefaf5;
  --muted: #a6bbb4;
  --teal: #28d2a3;
  --teal-deep: #0a7f68;
  --amber: #e0b65d;
  --ink: #050908;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -3;
  content: "";
  background:
    linear-gradient(90deg, rgba(7, 17, 15, 0.96), rgba(7, 17, 15, 0.72) 42%, rgba(7, 17, 15, 0.18)),
    radial-gradient(circle at 75% 28%, rgba(40, 210, 163, 0.16), transparent 28%),
    linear-gradient(135deg, #07110f 0%, #0b1613 50%, #141106 100%);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
  padding: 14px clamp(18px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
  background: rgba(7, 17, 15, 0.78);
  backdrop-filter: blur(18px);
}

.brand,
.nav,
.hero-actions,
.signal-row,
.contact-actions,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(40, 210, 163, 0.45);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(40, 210, 163, 0.22), rgba(224, 182, 93, 0.12));
  color: var(--teal);
}

.nav {
  gap: clamp(12px, 3vw, 30px);
  color: var(--muted);
  font-size: 15px;
}

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

.nav a:hover,
.site-footer a:hover {
  color: var(--teal);
}

.header-action,
.btn,
.plan a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  border-radius: var(--radius);
  font-weight: 800;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.header-action {
  min-width: 86px;
  padding: 0 18px;
  border: 1px solid rgba(40, 210, 163, 0.35);
  color: var(--teal);
}

.header-action:hover,
.btn:hover,
.plan a:hover,
.contact-link:hover {
  transform: translateY(-2px);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.78fr);
  gap: clamp(30px, 5vw, 72px);
  min-height: max(610px, calc(100svh - 160px));
  padding: clamp(42px, 8vh, 86px) clamp(18px, 5vw, 72px) 34px;
  overflow: hidden;
}

.hero::after {
  position: absolute;
  right: clamp(12px, 4vw, 56px);
  bottom: -1px;
  left: clamp(18px, 5vw, 72px);
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(40, 210, 163, 0.7), transparent);
}

.hero-copy {
  align-self: center;
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--amber);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 820px;
  margin-bottom: 20px;
  font-size: clamp(54px, 9vw, 118px);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  max-width: 850px;
  margin-bottom: 0;
  font-size: clamp(34px, 5vw, 68px);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 18px;
  font-size: 22px;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 650px;
  margin-bottom: 30px;
  color: #d2e4df;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.48;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.btn {
  padding: 0 22px;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--teal);
  color: var(--ink);
  box-shadow: 0 18px 44px rgba(40, 210, 163, 0.18);
}

.btn-secondary {
  border-color: rgba(238, 250, 245, 0.2);
  background: rgba(238, 250, 245, 0.06);
  color: var(--text);
}

.btn-icon {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  background: rgba(7, 17, 15, 0.14);
}

.signal-row {
  flex-wrap: wrap;
  gap: 10px;
}

.signal-row span {
  padding: 9px 12px;
  border: 1px solid rgba(238, 250, 245, 0.13);
  border-radius: 999px;
  background: rgba(238, 250, 245, 0.05);
  color: var(--muted);
  font-size: 14px;
}

.hero-stage {
  position: relative;
  align-self: center;
  min-height: min(62vw, 560px);
}

.terminal-window {
  position: absolute;
  right: 4%;
  top: 15%;
  width: min(420px, 84vw);
  overflow: hidden;
  border: 1px solid rgba(40, 210, 163, 0.28);
  border-radius: var(--radius);
  background: rgba(5, 9, 8, 0.74);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(12px);
  animation: floatPanel 7s ease-in-out infinite;
}

.terminal-top {
  display: flex;
  gap: 7px;
  padding: 14px;
  border-bottom: 1px solid rgba(238, 250, 245, 0.1);
}

.terminal-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--teal);
}

.terminal-top span:nth-child(2) {
  background: var(--amber);
}

.terminal-top span:nth-child(3) {
  background: #eefaf5;
}

.terminal-lines {
  padding: 18px;
  color: #cceee4;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: clamp(13px, 1.4vw, 15px);
}

.terminal-lines p {
  margin-bottom: 12px;
  white-space: nowrap;
}

.terminal-lines strong {
  color: var(--teal);
}

.orbit {
  position: absolute;
  border: 1px solid rgba(40, 210, 163, 0.26);
  border-radius: 50%;
  transform: rotate(-16deg);
}

.orbit-one {
  right: 0;
  top: 2%;
  width: min(520px, 76vw);
  aspect-ratio: 1;
  animation: rotateSlow 24s linear infinite;
}

.orbit-two {
  right: 12%;
  top: 20%;
  width: min(320px, 52vw);
  aspect-ratio: 1;
  border-color: rgba(224, 182, 93, 0.28);
  animation: rotateSlow 18s linear infinite reverse;
}

.node {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 28px rgba(40, 210, 163, 0.72);
}

.node-a {
  right: 8%;
  top: 14%;
}

.node-b {
  right: 48%;
  top: 64%;
  background: var(--amber);
  box-shadow: 0 0 28px rgba(224, 182, 93, 0.62);
}

.node-c {
  right: 70%;
  top: 28%;
}

.stats-band,
.section,
.contact-section {
  padding-right: clamp(18px, 5vw, 72px);
  padding-left: clamp(18px, 5vw, 72px);
}

.stats-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  padding-top: 28px;
  padding-bottom: 28px;
  background: rgba(238, 250, 245, 0.04);
  border-block: 1px solid var(--line);
}

.stat {
  padding: 18px clamp(14px, 2vw, 26px);
}

.stat span {
  display: block;
  margin-bottom: 6px;
  color: var(--teal);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 900;
  line-height: 1;
}

.stat p,
.plan p,
.step p,
.contact-copy p {
  color: var(--muted);
  line-height: 1.6;
}

.stat p,
.plan p,
.step p {
  margin-bottom: 0;
}

.section {
  padding-top: clamp(70px, 10vw, 120px);
  padding-bottom: clamp(70px, 10vw, 120px);
}

.section-heading {
  margin-bottom: 34px;
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.plan,
.step,
.contact-link {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  backdrop-filter: blur(16px);
}

.plan {
  display: flex;
  min-height: 270px;
  flex-direction: column;
  padding: 24px;
}

.plan.featured {
  border-color: rgba(40, 210, 163, 0.55);
  background: linear-gradient(180deg, rgba(40, 210, 163, 0.16), rgba(14, 30, 26, 0.78));
}

.plan-volume {
  margin-bottom: 14px;
  color: var(--amber);
  font-size: 36px;
  font-weight: 900;
  line-height: 1;
}

.plan a {
  margin-top: auto;
  padding: 0 18px;
  background: rgba(238, 250, 245, 0.08);
  color: var(--text);
}

.featured a {
  background: var(--teal);
  color: var(--ink);
}

.split {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(5, 9, 8, 0.32);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.step {
  min-height: 180px;
  padding: 24px;
}

.step span {
  display: block;
  margin-bottom: 28px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  gap: 30px;
  padding-top: clamp(70px, 10vw, 110px);
  padding-bottom: clamp(70px, 10vw, 110px);
}

.contact-copy p {
  max-width: 560px;
  margin-top: 20px;
}

.contact-actions {
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
}

.contact-link {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 22px;
  transition: transform 180ms ease, border-color 180ms ease;
}

.contact-link:hover {
  border-color: rgba(40, 210, 163, 0.5);
}

.contact-link span {
  color: var(--muted);
}

.contact-link strong {
  color: var(--text);
  text-align: right;
}

.contact-link.muted {
  color: var(--muted);
}

.site-footer {
  justify-content: space-between;
  gap: 20px;
  min-height: 84px;
  padding: 24px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

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

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

@keyframes floatPanel {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}

@keyframes rotateSlow {
  to {
    transform: rotate(344deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}

@media (max-width: 960px) {
  .site-header {
    min-height: 66px;
  }

  .nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 56px;
  }

  .hero-stage {
    min-height: 360px;
  }

  .terminal-window {
    left: 0;
    right: auto;
    width: min(460px, 100%);
  }

  .plan-grid,
  .steps,
  .contact-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .brand span:last-child {
    max-width: 118px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .header-action {
    min-width: 70px;
    padding: 0 12px;
  }

  .hero {
    padding-top: 44px;
  }

  .hero-stage {
    min-height: 220px;
  }

  .terminal-window {
    top: 0;
  }

  .terminal-top {
    padding: 10px 14px;
  }

  .terminal-lines {
    padding: 14px;
    font-size: 12px;
  }

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

  .btn {
    width: 100%;
  }

  .stats-band {
    grid-template-columns: 1fr;
  }

  .terminal-lines p {
    white-space: normal;
  }

  .contact-link {
    flex-direction: column;
  }

  .contact-link strong {
    text-align: left;
    overflow-wrap: anywhere;
  }
}
