:root {
  --bg: #0a0e17;
  --bg-panel: #10151f;
  --line: #232b3a;
  --text: #e7e5df;
  --text-dim: #8b93a7;
  --accent: #ff6b35;
  --accent-dim: #c9502199;
  --mono: 'IBM Plex Mono', monospace;
  --sans: 'IBM Plex Sans', sans-serif;
  --display: 'Space Grotesk', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.01em;
}

a { color: inherit; }

p { color: var(--text-dim); max-width: 62ch; }

/* ---------- topbar ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 14, 23, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.topbar-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.brand {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none;
  color: var(--text);
}
.brand span { color: var(--accent); }

.nav {
  display: flex;
  gap: 28px;
  margin-right: auto;
}
.nav a {
  text-decoration: none;
  color: var(--text-dim);
  font-size: 0.92rem;
}
.nav a:hover { color: var(--text); }

.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 3px;
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary { background: var(--accent); color: #140900; }
.btn-primary:hover { background: #ff7f52; }
.btn-ghost { border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--text-dim); }
.btn-large { padding: 14px 26px; font-size: 1rem; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

#satellite-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
  width: 100%;
}

.hero-kicker {
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--accent);
  margin: 0 0 18px;
  letter-spacing: 0.02em;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.06;
  max-width: 11ch;
  margin-bottom: 22px;
}

.hero-lede {
  max-width: 46ch;
  font-size: 1.05rem;
  color: #b7bdca;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 32px;
}

/* ---------- strip ---------- */

.strip {
  border-bottom: 1px solid var(--line);
  background: var(--bg-panel);
}
.strip-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 32px;
}
.strip-inner p {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--text-dim);
  max-width: none;
}

/* ---------- section shell ---------- */

section:not(.hero):not(.strip) {
  max-width: 1180px;
  margin: 0 auto;
  padding: 96px 32px;
}

.section-head {
  margin-bottom: 48px;
  max-width: 56ch;
}
.section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin-bottom: 12px;
}

/* ---------- steps ---------- */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.steps li {
  display: flex;
  gap: 28px;
  padding: 32px 0;
  border-top: 1px solid var(--line);
}
.steps li:last-child { border-bottom: 1px solid var(--line); }

.step-index {
  font-family: var(--mono);
  color: var(--accent);
  font-size: 0.95rem;
  padding-top: 3px;
  flex: 0 0 28px;
}

.steps h3 { font-size: 1.15rem; margin-bottom: 8px; }

/* ---------- network stats ---------- */

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.stat {
  background: var(--bg-panel);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stat-value {
  font-family: var(--mono);
  font-size: 1.7rem;
  color: var(--text);
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-dim);
}

/* ---------- partners ---------- */

.partner-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.partner-item {
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.partner-item h4 {
  font-size: 1rem;
  margin-bottom: 10px;
  color: var(--accent);
}
.partner-item p { font-size: 0.92rem; }

/* ---------- install ---------- */

.install { text-align: left; }
.install-actions { display: flex; gap: 14px; margin-bottom: 18px; }
.install-note { font-size: 0.85rem; }

/* ---------- footer ---------- */

.footer {
  border-top: 1px solid var(--line);
  padding: 28px 32px;
}
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-dim);
  font-family: var(--mono);
}

/* ---------- responsive ---------- */

@media (max-width: 860px) {
  .nav { display: none; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .partner-list { grid-template-columns: 1fr; }
  .hero { min-height: 80vh; }
}

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