:root {
  --earth: #2d5016;
  --space: #0a2463;
  --gold: #ffb627;
  --silver: #c0c0c0;
  --night: #0f1419;
  --white: #ffffff;
  --muted: #9fb1c5;
  --bg: #060a11;
  --card: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.12);
  --gradient: linear-gradient(135deg, rgba(45, 80, 22, 0.9), rgba(10, 36, 99, 0.85));
  font-family: 'Source Sans Pro', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #e9f0ff;
  background: var(--bg);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255, 182, 39, 0.08), transparent 40%),
              radial-gradient(circle at 80% 0%, rgba(45, 80, 22, 0.12), transparent 45%),
              radial-gradient(circle at 60% 70%, rgba(10, 36, 99, 0.18), transparent 55%),
              #05070d;
  color: #e9f0ff;
}

img { max-width: 100%; display: block; }

a { color: #dfe7ff; text-decoration: none; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background: rgba(5, 7, 13, 0.8);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--gold);
}

.site-logo {
  width: 64px;
  height: 64px;
  display: block;
  object-fit: contain;
  padding: 4px;
  background: transparent;
  border-radius: 8px;
}
.site-logo--small { width: 40px; height: 40px; }
.brand-text { display: inline-block; vertical-align: middle; }

/* Hero image for WebP/large visuals */
.hero__media { margin-top: 1rem; display: flex; justify-content: center; }
.hero__image { width: 100%; max-width: 640px; height: auto; border-radius: 12px; display: block; }

.nav { display: flex; gap: 1rem; flex-wrap: wrap; }
.nav a { padding: 0.35rem 0.6rem; border-radius: 999px; transition: background 0.2s, color 0.2s; }
.nav a:hover { background: rgba(255, 255, 255, 0.08); color: var(--gold); }

.cta-group { display: flex; gap: 0.75rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--gold), #ffda77);
  color: #0f1419;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover { transform: translateY(-1px); box-shadow: 0 12px 30px rgba(255, 182, 39, 0.2); }

.btn.ghost {
  background: transparent;
  color: #e9f0ff;
  border: 1px solid var(--border);
}

main { max-width: 1200px; margin: 0 auto; padding: 2rem; }

section { margin: 4rem 0; }

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  align-items: center;
}

.hero__copy h1 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  line-height: 1.05;
  margin: 0.25rem 0 0.75rem;
}

.lede { font-size: 1.15rem; color: #c8d5f1; max-width: 560px; }

.hero__actions { display: flex; gap: 1rem; margin: 1rem 0 1.5rem; }

.hero__metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0.75rem; }
.metric { padding: 0.8rem 1rem; background: var(--card); border: 1px solid var(--border); border-radius: 14px; color: #c8d5f1; }
.metric span { display: block; font-family: 'Inter'; font-size: 1.3rem; color: var(--gold); }

.hero__visual { position: relative; display: grid; gap: 1rem; }
.visual-card {
  position: relative;
  padding: 1.5rem;
  border-radius: 18px;
  background: radial-gradient(circle at 10% 10%, rgba(255, 182, 39, 0.12), transparent 50%),
              radial-gradient(circle at 80% 0%, rgba(10, 36, 99, 0.35), transparent 60%),
              radial-gradient(circle at 20% 80%, rgba(45, 80, 22, 0.25), transparent 60%),
              rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  overflow: hidden;
  min-height: 240px;
}
.visual-layer { padding: 0.9rem 1rem; margin: 0.5rem 0; border-radius: 12px; color: #eaf2ff; font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em; }
.visual-layer.earth { background: linear-gradient(120deg, rgba(45, 80, 22, 0.7), rgba(12, 88, 48, 0.4)); }
.visual-layer.orbit { background: linear-gradient(120deg, rgba(10, 36, 99, 0.7), rgba(53, 104, 180, 0.35)); }
.visual-layer.streams { background: linear-gradient(120deg, rgba(255, 182, 39, 0.8), rgba(255, 255, 255, 0.2)); color: #0f1419; }

.floating.spec {
  position: absolute;
  right: -1rem;
  bottom: -2rem;
  width: 280px;
  background: rgba(15, 20, 25, 0.9);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1rem 1.25rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  font-family: 'Fira Code', monospace;
}

.eyebrow { color: var(--muted); text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.78rem; }

.section-heading h2 { font-family: 'Inter'; font-size: 2.1rem; margin: 0.35rem 0 0.25rem; }
.section-heading p { color: #c8d5f1; max-width: 720px; }

.timeline__wrap { display: grid; grid-template-columns: 48px 1fr 48px; align-items: center; gap: 1rem; }
.timeline__nav { height: 48px; width: 48px; border-radius: 50%; background: var(--card); border: 1px solid var(--border); color: #fff; cursor: pointer; }
.timeline__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 1fr);
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0.5rem;
}
.phase {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.25rem;
  scroll-snap-align: start;
}
.phase header h3 { margin: 0.2rem 0; font-size: 1.4rem; }
.phase__year { color: var(--gold); font-weight: 700; }
.phase ul { padding-left: 1rem; color: #d7e3ff; line-height: 1.6; }
.phase__visual { margin-top: 1rem; padding: 1rem; border-radius: 14px; background: rgba(255, 255, 255, 0.04); border: 1px dashed var(--border); color: #c8d5f1; }
.phase__visual .badge { display: inline-block; padding: 0.25rem 0.6rem; border-radius: 999px; background: rgba(255, 182, 39, 0.15); color: var(--gold); font-weight: 700; margin-bottom: 0.35rem; }
.phase__visual.map { display: grid; gap: 0.4rem; }
.phase__visual.diagram { font-style: italic; }

.spec-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; margin-top: 2rem; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: 18px; padding: 1.25rem; }
.card h4 { margin: 0 0 0.4rem; font-family: 'Inter'; }
.card ul { margin: 0; padding-left: 1rem; color: #d7e3ff; line-height: 1.6; }
.card .mono { font-family: 'Fira Code', monospace; }

.cta-banner {
  background: linear-gradient(120deg, rgba(10, 36, 99, 0.75), rgba(45, 80, 22, 0.65));
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.subscribe__form { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0.75rem; margin-top: 1rem; }
.subscribe__form input, .subscribe__form select {
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: #e9f0ff;
}
.subscribe__form input:focus, .subscribe__form select:focus { outline: 2px solid var(--gold); border-color: transparent; }

.footer {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 2rem 2.5rem;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  align-items: center;
  color: #c8d5f1;
}
.footer__links { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.footer__links a { color: #dfe7ff; }
.footer__cta { display: flex; gap: 0.75rem; justify-content: flex-end; }

.grid-two { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1.5rem; }
.panel { background: var(--card); border: 1px solid var(--border); border-radius: 18px; padding: 1.25rem; }
.panel h3 { margin-top: 0; }

.list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.5rem; }
.list li { padding: 0.75rem 0.9rem; border-radius: 12px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--border); }

.badge-grid { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.badge-grid span { padding: 0.4rem 0.7rem; border-radius: 999px; border: 1px solid var(--border); background: rgba(255, 255, 255, 0.03); }

.table { width: 100%; border-collapse: collapse; }
.table th, .table td { padding: 0.75rem; text-align: left; border-bottom: 1px solid var(--border); }
.table th { color: var(--gold); font-family: 'Inter'; }

.hero-alt { background: var(--card); border: 1px solid var(--border); border-radius: 18px; padding: 1.5rem; margin-top: 2rem; }

iframe {
  border: none;
}

@media (max-width: 720px) {
  .topbar { flex-wrap: wrap; gap: 0.75rem; }
  .cta-group { width: 100%; justify-content: flex-start; }
  .footer__cta { justify-content: flex-start; }
  main { padding: 1.25rem; }
  .site-logo { width: 48px; height: 48px; }
  .site-logo--small { width: 32px; height: 32px; }
}
