:root {
  --bg: #04070d;
  --bg-soft: #0a1220;
  --panel: rgba(10, 18, 32, 0.76);
  --panel-strong: rgba(13, 24, 41, 0.92);
  --text: #edf3fb;
  --muted: #aab8ca;
  --line: rgba(192, 204, 220, 0.16);
  --accent: #6aa9ff;
  --accent-strong: #2b6fd6;
  --silver: #c9d3df;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(74, 120, 194, 0.32), transparent 28%),
    radial-gradient(circle at top right, rgba(112, 137, 168, 0.16), transparent 24%),
    linear-gradient(180deg, #02050b 0%, var(--bg) 42%, var(--bg-soft) 100%);
  overflow-x: hidden;
}

a {
  color: inherit;
}

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

.background-image {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(2, 5, 11, 0.5), rgba(4, 7, 13, 0.82)),
    linear-gradient(90deg, rgba(3, 7, 14, 0.88), rgba(3, 7, 14, 0.22)),
    url("https://images-assets.nasa.gov/image/AFRC2020-0082-04/AFRC2020-0082-04~large.jpg?crop=faces%2Cfocalpoint&fit=clip&h=1257&w=1919") center center / cover no-repeat;
  filter: saturate(0.84) contrast(1.06) brightness(0.74);
  transform: scale(1.03);
}

.page-shell {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 48px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 28px;
  align-items: stretch;
  min-height: calc(100vh - 76px);
  padding: 28px 0 18px;
}

.hero-copy,
.hero-card,
.footer {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.hero-copy {
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(15, 26, 44, 0.92), rgba(7, 13, 24, 0.88)),
    radial-gradient(circle at top left, rgba(106, 169, 255, 0.14), transparent 34%);
  box-shadow: var(--shadow);
}

.eyebrow {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--silver);
}

h1,
h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 0.96;
  letter-spacing: -0.03em;
}

h1 {
  max-width: 8ch;
  font-size: clamp(3rem, 8vw, 6.4rem);
  text-transform: uppercase;
  text-shadow: 0 0 28px rgba(106, 169, 255, 0.18);
}

h2 {
  max-width: 14ch;
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.lede,
.footer p,
dd {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--muted);
}

.lede {
  max-width: 32ch;
  margin: 20px 0 0;
  font-size: 0.98rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--silver);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button-primary {
  background: linear-gradient(135deg, #7bb7ff, #3d7ee0);
  color: #07111f;
  box-shadow: 0 16px 32px rgba(69, 125, 216, 0.3);
}

.button-primary:hover {
  background: linear-gradient(135deg, #90c3ff, #4f90ef);
}

.hero-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background:
    linear-gradient(135deg, rgba(14, 29, 50, 0.98), rgba(4, 10, 19, 0.94)),
    radial-gradient(circle at top right, rgba(123, 183, 255, 0.16), transparent 40%);
  color: #f2f6f8;
  box-shadow: var(--shadow);
}

.detail-grid {
  display: grid;
  gap: 16px;
  margin: 0;
}

dt {
  margin-bottom: 6px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(242, 246, 248, 0.7);
}

dd {
  margin: 0;
  color: #f2f6f8;
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  h1 {
    max-width: 13ch;
  }
}

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

  .hero-copy,
  .hero-card,
  .panel,
  .footer {
    border-radius: 24px;
  }

  h1 {
    font-size: clamp(2.6rem, 13vw, 4.2rem);
  }

  h2 {
    font-size: clamp(1.9rem, 9vw, 2.8rem);
  }
}
