:root {
  color-scheme: dark;
  --ink: #f8fbff;
  --muted: #b9c7d7;
  --night: #07111f;
  --night-2: #0e2137;
  --panel: rgba(8, 19, 33, 0.82);
  --panel-strong: rgba(248, 251, 255, 0.1);
  --line: rgba(248, 251, 255, 0.18);
  --mint: #68e6c0;
  --coral: #ff8a66;
  --gold: #ffd166;
  --blue: #76c7ff;
  --shadow: 0 24px 80px rgba(1, 8, 18, 0.45);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--night);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    linear-gradient(180deg, var(--night), #10243a 48%, #08111e 100%);
}

a {
  color: var(--mint);
  text-underline-offset: 0.22em;
}

a:hover {
  color: var(--gold);
}

main {
  overflow: hidden;
}

.hero {
  position: relative;
  display: grid;
  min-height: clamp(620px, 92vh, 900px);
  padding: 28px;
  isolation: isolate;
}

.hero__image,
.hero__shade {
  position: absolute;
  inset: 0;
}

.hero__image {
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.hero__shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(4, 9, 18, 0.86) 0%, rgba(4, 9, 18, 0.58) 45%, rgba(4, 9, 18, 0.08) 100%),
    linear-gradient(180deg, rgba(4, 9, 18, 0.26) 0%, rgba(4, 9, 18, 0.24) 62%, var(--night) 100%);
}

.hero__content {
  width: min(760px, 100%);
  align-self: center;
  padding: min(8vw, 96px) 0;
}

.eyebrow,
.info-card__kicker,
.timeline__time,
.status-band__label {
  margin: 0 0 12px;
  color: var(--mint);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 9ch;
  margin-bottom: 22px;
  font-size: clamp(4.2rem, 16vw, 9.4rem);
  line-height: 0.86;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero__copy {
  max-width: 650px;
  margin-bottom: 34px;
  color: #eaf3ff;
  font-size: clamp(1.12rem, 2.2vw, 1.45rem);
  line-height: 1.55;
}

.countdown {
  width: min(650px, 100%);
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(6, 16, 30, 0.68);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.countdown__label {
  display: block;
  margin-bottom: 14px;
  color: var(--gold);
  font-weight: 800;
}

.countdown__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.countdown__grid span {
  display: grid;
  min-height: 92px;
  place-items: center;
  padding: 12px 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.countdown__grid strong {
  font-size: clamp(2rem, 5vw, 3.35rem);
  line-height: 1;
}

.countdown__grid small {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.sky-bursts {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.sky-bursts span {
  position: absolute;
  width: 190px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--gold), white);
  filter: drop-shadow(0 0 12px rgba(255, 209, 102, 0.9));
  transform: rotate(-23deg);
  animation: meteor-swish 7s linear infinite;
}

.sky-bursts span:nth-child(1) {
  top: 16%;
  left: 78%;
}

.sky-bursts span:nth-child(2) {
  top: 35%;
  left: 62%;
  width: 140px;
  animation-delay: 2.2s;
}

.sky-bursts span:nth-child(3) {
  top: 26%;
  left: 90%;
  width: 110px;
  animation-delay: 4.4s;
}

@keyframes meteor-swish {
  0% {
    opacity: 0;
    translate: 140px -90px;
  }

  11%,
  20% {
    opacity: 1;
  }

  42%,
  100% {
    opacity: 0;
    translate: -760px 310px;
  }
}

.quicklook,
.planner,
.next-up {
  padding: clamp(54px, 8vw, 100px) 24px;
}

.quicklook__inner,
.planner,
.next-up {
  width: min(1180px, calc(100% - 24px));
  margin-inline: auto;
}

.quicklook__inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.info-card,
.timeline__item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 18px 70px rgba(1, 8, 18, 0.24);
  backdrop-filter: blur(18px);
}

.info-card {
  min-height: 240px;
  padding: clamp(22px, 3vw, 34px);
}

.info-card--wide {
  grid-column: span 3;
  display: grid;
  grid-template-columns: 1fr minmax(260px, 0.7fr);
  gap: 18px;
  align-items: end;
}

.info-card h2,
.section-heading h2,
.timeline__item h3 {
  color: var(--ink);
  letter-spacing: 0;
}

.info-card h2 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 0.98;
}

.info-card p,
.timeline__item p,
footer p {
  color: var(--muted);
  line-height: 1.65;
}

.info-card p {
  margin-bottom: 0;
  font-size: 1rem;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.section-heading h2 {
  max-width: 650px;
  margin-bottom: 0;
  font-size: clamp(2.4rem, 7vw, 5rem);
  line-height: 0.96;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.timeline__item {
  position: relative;
  min-height: 250px;
  padding: clamp(22px, 3vw, 32px);
  overflow: hidden;
}

.timeline__item::after {
  position: absolute;
  right: 24px;
  bottom: 22px;
  width: 46px;
  height: 46px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  content: "";
}

.timeline__item:nth-child(1)::after {
  background:
    linear-gradient(135deg, transparent 0 44%, var(--gold) 45% 52%, transparent 53%),
    linear-gradient(90deg, transparent 0 64%, var(--mint) 65% 70%, transparent 71%);
}

.timeline__item:nth-child(2)::after {
  background:
    linear-gradient(135deg, transparent 0 42%, var(--coral) 43% 50%, transparent 51%),
    linear-gradient(90deg, transparent 0 58%, var(--blue) 59% 65%, transparent 66%);
}

.timeline__item:nth-child(3)::after {
  background:
    linear-gradient(90deg, transparent 0 34%, var(--mint) 35% 41%, transparent 42%),
    linear-gradient(135deg, transparent 0 54%, var(--gold) 55% 62%, transparent 63%);
}

.timeline__item h3 {
  margin-bottom: 12px;
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.05;
}

.status-band {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.status-band > div {
  min-height: 170px;
  padding: clamp(28px, 5vw, 56px);
  background: #0c1d31;
}

.status-band strong {
  display: block;
  max-width: 100%;
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: clamp(1.8rem, 5vw, 4rem);
  line-height: 1;
}

.next-up__card {
  min-height: 0;
  background:
    linear-gradient(135deg, rgba(104, 230, 192, 0.14), transparent 40%),
    var(--panel);
}

footer {
  padding: 34px 24px 46px;
  border-top: 1px solid var(--line);
  background: #07111f;
  text-align: center;
}

footer p {
  max-width: 880px;
  margin: 0 auto;
  font-size: 0.94rem;
}

.footer-note {
  margin-top: 10px;
}

@media (max-width: 880px) {
  .hero {
    min-height: 760px;
    padding: 20px;
  }

  .hero__shade {
    background:
      linear-gradient(180deg, rgba(4, 9, 18, 0.72) 0%, rgba(4, 9, 18, 0.76) 58%, var(--night) 100%);
  }

  .quicklook__inner,
  .timeline,
  .status-band {
    grid-template-columns: 1fr;
  }

  .info-card--wide {
    grid-column: span 1;
    grid-template-columns: 1fr;
  }

  .section-heading {
    display: block;
  }
}

@media (max-width: 560px) {
  .hero {
    min-height: 720px;
  }

  h1 {
    font-size: clamp(3.45rem, 18vw, 4.8rem);
  }

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

  .countdown__grid span {
    min-height: 82px;
  }

  .quicklook,
  .planner,
  .next-up {
    width: 100%;
    padding-inline: 18px;
  }

  .quicklook__inner,
  .planner,
  .next-up {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
