:root {
  color-scheme: dark;
  --bg: #07111c;
  --bg-soft: #0c1b2b;
  --panel: #10263a;
  --panel-soft: #16314a;
  --text: #edf5ff;
  --muted: #aab9c9;
  --line: rgba(255, 255, 255, 0.14);
  --accent: #7fd1c7;
  --accent-2: #f2c66d;
  --accent-3: #91b8ff;
  --danger: #ff9f8f;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 12% 8%, rgba(127, 209, 199, 0.14), transparent 28rem),
    radial-gradient(circle at 85% 5%, rgba(145, 184, 255, 0.12), transparent 26rem),
    linear-gradient(180deg, #07111c 0%, #091421 42%, #07111c 100%);
  color: var(--text);
  line-height: 1.65;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 17, 28, 0.9);
  backdrop-filter: blur(14px);
}

.nav {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(127, 209, 199, 0.55);
  border-radius: 50%;
  position: relative;
  background: linear-gradient(145deg, rgba(127, 209, 199, 0.2), rgba(145, 184, 255, 0.08));
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.brand-mark::before {
  width: 6px;
  height: 6px;
  right: 7px;
  top: 8px;
  background: var(--accent-2);
}

.brand-mark::after {
  width: 18px;
  height: 18px;
  left: 6px;
  bottom: 5px;
  border: 1px solid rgba(255, 255, 255, 0.38);
}

.brand strong {
  display: block;
  font-size: 15px;
  letter-spacing: 0;
}

.brand span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex-wrap: wrap;
}

.nav-links a {
  color: #d9e6f5;
  font-size: 14px;
  padding: 8px 10px;
  border-radius: 6px;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.08);
}

.hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: 74px 22px 36px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 44px;
  align-items: center;
}

.eyebrow {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  font-weight: 700;
}

h1,
h2,
h3 {
  letter-spacing: 0;
  line-height: 1.12;
}

h1 {
  margin: 12px 0 18px;
  font-size: clamp(38px, 5vw, 70px);
  max-width: 860px;
}

h2 {
  margin: 0 0 14px;
  font-size: clamp(26px, 3vw, 42px);
}

h3 {
  margin: 0 0 10px;
  font-size: 20px;
}

p {
  margin: 0 0 14px;
}

.lead {
  color: #c7d5e6;
  font-size: 18px;
  max-width: 720px;
}

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

.button {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 11px 15px;
  font-weight: 700;
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
}

.button.primary {
  color: #05131c;
  background: var(--accent);
  border-color: var(--accent);
}

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

.observatory-panel {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(16, 38, 58, 0.94), rgba(12, 27, 43, 0.94));
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.28);
}

.sky-map {
  aspect-ratio: 1.25;
  position: relative;
  background:
    radial-gradient(circle at 25% 24%, rgba(255, 255, 255, 0.9) 0 1px, transparent 2px),
    radial-gradient(circle at 65% 38%, rgba(255, 255, 255, 0.8) 0 1px, transparent 2px),
    radial-gradient(circle at 78% 64%, rgba(255, 255, 255, 0.7) 0 1px, transparent 2px),
    radial-gradient(circle at 38% 70%, rgba(255, 255, 255, 0.72) 0 1px, transparent 2px),
    linear-gradient(145deg, #0b2034, #06101c);
}

.orbit {
  position: absolute;
  border: 1px solid rgba(127, 209, 199, 0.28);
  border-radius: 50%;
  transform: rotate(-16deg);
}

.orbit.one {
  width: 64%;
  height: 36%;
  left: 18%;
  top: 28%;
}

.orbit.two {
  width: 80%;
  height: 48%;
  left: 8%;
  top: 24%;
}

.planet {
  position: absolute;
  width: 108px;
  height: 108px;
  left: 50%;
  top: 46%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0.22), transparent 38%),
    linear-gradient(160deg, #81d6d0, #355c7c 45%, #16273d);
  box-shadow: 0 0 60px rgba(127, 209, 199, 0.22);
}

.trail {
  position: absolute;
  width: 44%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(242, 198, 109, 0.75), transparent);
  left: 28%;
  top: 61%;
  transform: rotate(-21deg);
}

.panel-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.panel-meta div {
  padding: 16px;
  border-right: 1px solid var(--line);
}

.panel-meta div:last-child {
  border-right: 0;
}

.panel-meta strong {
  display: block;
  font-size: 20px;
}

.panel-meta span {
  color: var(--muted);
  font-size: 12px;
}

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 52px 22px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: end;
  margin-bottom: 26px;
}

.section-header p {
  color: var(--muted);
  max-width: 520px;
}

.grid {
  display: grid;
  gap: 18px;
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(16, 38, 58, 0.72);
  padding: 22px;
}

.card p,
.muted {
  color: var(--muted);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.tag {
  border: 1px solid rgba(127, 209, 199, 0.26);
  color: #ccebe7;
  background: rgba(127, 209, 199, 0.08);
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 12px;
}

.metric-row {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 10px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.metric-row:last-child {
  border-bottom: 0;
}

.metric-row span {
  color: var(--muted);
}

.timeline {
  border-left: 1px solid var(--line);
  padding-left: 22px;
}

.timeline-item {
  position: relative;
  padding-bottom: 24px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  left: -27px;
  top: 7px;
  background: var(--accent-2);
  box-shadow: 0 0 0 6px rgba(242, 198, 109, 0.12);
}

.table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 8px;
}

.table th,
.table td {
  padding: 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.table th {
  color: #dce9f7;
  background: rgba(255, 255, 255, 0.06);
}

.table td {
  color: var(--muted);
}

.page-title {
  max-width: 1180px;
  margin: 0 auto;
  padding: 64px 22px 26px;
}

.page-title h1 {
  max-width: 900px;
}

.site-footer {
  border-top: 1px solid var(--line);
  margin-top: 48px;
  color: var(--muted);
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 22px 42px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

@media (max-width: 820px) {
  .hero,
  .grid.three,
  .grid.two {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 48px;
  }

  .section-header {
    display: block;
  }

  .panel-meta {
    grid-template-columns: 1fr;
  }

  .panel-meta div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .panel-meta div:last-child {
    border-bottom: 0;
  }

  .table {
    display: block;
    overflow-x: auto;
  }
}
