:root {
  --bg: #07111f;
  --bg-soft: #0d1a2e;
  --surface: rgba(12, 24, 43, 0.8);
  --surface-strong: rgba(18, 34, 61, 0.95);
  --text: #ecf4ff;
  --muted: #9db1cc;
  --accent: #7ee0c3;
  --accent-strong: #ffb86c;
  --ring: rgba(246, 216, 163, 0.55);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  --border: rgba(255, 255, 255, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "IBM Plex Sans", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(126, 224, 195, 0.16), transparent 32%),
    radial-gradient(circle at 85% 15%, rgba(255, 184, 108, 0.18), transparent 24%),
    linear-gradient(180deg, #06101d 0%, #091524 45%, #07111f 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.65) 0 1px, transparent 1.5px);
  background-size: 120px 120px;
  opacity: 0.16;
}

.page-shell {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 48px;
}

.topbar,
.hero-grid,
.stats,
.content-grid,
.orbit-section,
.facts-panel {
  position: relative;
  z-index: 1;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0 24px;
}

.brand,
h1,
h2,
strong {
  font-family: "Space Grotesk", sans-serif;
}

.brand {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ghost-link {
  color: var(--text);
  text-decoration: none;
  opacity: 0.9;
}

.hero {
  padding: 8px 0 24px;
}

.hero-grid,
.content-grid,
.orbit-section {
  display: grid;
  gap: 24px;
}

.hero-grid {
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  min-height: 72vh;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

h1 {
  margin: 0;
  max-width: 10ch;
  font-size: clamp(3rem, 7vw, 6.2rem);
  line-height: 0.95;
}

.lead {
  max-width: 60ch;
  margin: 24px 0;
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid transparent;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

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

.primary {
  background: linear-gradient(135deg, var(--accent), #93ffe0);
  color: #07201a;
}

.secondary {
  color: var(--text);
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.hero-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
  color: var(--muted);
}

.hero-points li::before {
  content: "•";
  color: var(--accent-strong);
  margin-right: 10px;
}

.hero-visual,
.panel,
.stat-card {
  backdrop-filter: blur(12px);
  background: linear-gradient(180deg, rgba(15, 29, 50, 0.82), rgba(10, 20, 36, 0.86));
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.hero-visual {
  border-radius: 28px;
  min-height: 520px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.saturn-scene {
  position: relative;
  width: min(420px, 84%);
  aspect-ratio: 1;
}

.saturn {
  position: absolute;
  inset: 20% 20%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, #f8df9d 0 15%, #d9a867 33%, #97643c 72%, #60381e 100%);
  box-shadow: inset -18px -30px 40px rgba(50, 21, 5, 0.35);
}

.ring {
  position: absolute;
  inset: 36% 5%;
  border-radius: 50%;
  border: 18px solid var(--ring);
  transform: rotate(-18deg);
}

.ring-b {
  inset: 40% 10%;
  border-width: 8px;
  opacity: 0.85;
}

.pan-orbit {
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.18);
}

.pan-moon,
.orbit-pan {
  position: absolute;
  width: 34px;
  height: 24px;
  border-radius: 45%;
  background: linear-gradient(135deg, #f7efde 0%, #d4c3a8 50%, #a1907a 100%);
  box-shadow: inset -4px -4px 8px rgba(70, 56, 41, 0.22);
}

.pan-moon {
  top: 8%;
  left: 74%;
  transform: rotate(-14deg);
}

.pan-ridge {
  position: absolute;
  inset: 7px -4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #e9dfcc, #c7b59a, #e9dfcc);
}

.label-pan {
  position: absolute;
  top: 9%;
  right: 6%;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(7, 17, 31, 0.72);
  color: var(--text);
  font-size: 0.85rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 12px 0 24px;
}

.stat-card,
.panel {
  border-radius: 24px;
}

.stat-card {
  padding: 24px;
}

.stat-label {
  display: block;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 0.9rem;
}

.stat-card strong {
  display: block;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 12px;
}

.stat-card p,
.panel p {
  color: var(--muted);
  line-height: 1.65;
}

.content-grid {
  grid-template-columns: 1.15fr 0.85fr;
  margin: 24px 0;
}

.panel {
  padding: 28px;
}

h2 {
  margin: 0 0 16px;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.02;
}

.timeline-list {
  display: grid;
  gap: 18px;
}

.timeline-item {
  padding-left: 18px;
  border-left: 2px solid rgba(126, 224, 195, 0.38);
}

.timeline-item span {
  display: inline-block;
  margin-bottom: 6px;
  color: var(--accent-strong);
  font-weight: 700;
  font-family: "Space Grotesk", sans-serif;
}

.orbit-section {
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  margin: 24px 0;
}

.orbit-visual {
  position: relative;
  min-height: 420px;
  overflow: hidden;
}

.orbit-saturn {
  position: absolute;
  inset: 34% 35%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, #f2d8a0 0 16%, #d7a166 40%, #8e5d39 100%);
}

.orbit-ring,
.orbit-gap,
.orbit-track {
  position: absolute;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  border-radius: 50%;
}

.orbit-ring {
  width: min(480px, 100%);
  height: 180px;
  border: 18px solid rgba(233, 206, 161, 0.48);
  transform: rotate(-9deg);
}

.orbit-gap {
  width: min(370px, 78%);
  height: 132px;
  border: 2px dashed rgba(126, 224, 195, 0.25);
  transform: rotate(-9deg);
}

.orbit-track {
  width: min(370px, 78%);
  height: 132px;
  animation: spin 9s linear infinite;
}

.orbit-track.is-paused {
  animation-play-state: paused;
}

.orbit-pan {
  top: calc(50% - 12px);
  right: -10px;
}

.facts-panel {
  margin: 24px 0 12px;
}

.fact-list {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 16px 0 18px;
}

.fact-chip {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.fact-chip.is-active {
  background: rgba(126, 224, 195, 0.16);
  border-color: rgba(126, 224, 195, 0.4);
  color: #dffff6;
}

.fact-display {
  min-height: 96px;
  padding: 22px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.7;
}

.footer {
  position: relative;
  z-index: 1;
  padding: 18px 0 0;
  color: var(--muted);
  text-align: center;
  font-size: 0.95rem;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 960px) {
  .hero-grid,
  .content-grid,
  .orbit-section,
  .stats {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
  }

  h1 {
    max-width: 12ch;
  }

  .hero-visual {
    min-height: 380px;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 20px, 1160px);
    padding-top: 16px;
  }

  .panel,
  .stat-card,
  .hero-visual {
    border-radius: 20px;
  }

  .panel,
  .stat-card {
    padding: 22px;
  }

  .hero-actions,
  .fact-list {
    gap: 10px;
  }

  .button,
  .fact-chip {
    width: 100%;
  }
}
