:root {
  color-scheme: dark;
  --bg: #050505;
  --ink: #f5f5f2;
  --muted: rgba(245, 245, 242, 0.52);
  --hairline: rgba(255, 255, 255, 0.11);
  --accent: #b99a62;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  font-synthesis: none;
  text-rendering: geometricPrecision;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
  overflow: hidden;
  background: var(--bg);
}

body {
  min-height: 100svh;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

.launch {
  position: relative;
  display: grid;
  min-height: 100svh;
  padding: max(1.5rem, env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right)) max(1.5rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
  place-items: center;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 43%, rgba(185, 154, 98, 0.07), transparent 34%),
    linear-gradient(180deg, #070707 0%, #040404 100%);
}

.launch::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.14;
  background-image: repeating-linear-gradient(90deg, transparent 0, transparent calc(25% - 1px), rgba(255, 255, 255, 0.028) 25%);
}

.launch__glow {
  position: absolute;
  z-index: -1;
  width: min(74vw, 70rem);
  aspect-ratio: 1.9;
  border-radius: 50%;
  opacity: 0.65;
  filter: blur(70px);
  background: radial-gradient(circle, rgba(142, 114, 66, 0.11), transparent 68%);
  animation: breathe 8s ease-in-out infinite alternate;
}

.launch__content {
  width: min(100%, 76rem);
  animation: enter 1.2s cubic-bezier(.22, 1, .36, 1) both;
}

.launch__date {
  margin: 0 0 clamp(2rem, 5vh, 4.5rem);
  text-align: center;
}

.launch__date time {
  display: grid;
  justify-items: center;
  gap: clamp(0.8rem, 2vh, 1.35rem);
}

.launch__date span,
.countdown-label,
.countdown__name {
  font-size: clamp(0.62rem, 0.72vw, 0.72rem);
  font-weight: 600;
  letter-spacing: 0.28em;
  line-height: 1;
}

.launch__date span {
  color: rgba(245, 245, 242, 0.72);
}

.launch__date strong {
  color: var(--ink);
  font-size: clamp(3.1rem, 7.3vw, 7.4rem);
  font-weight: 300;
  letter-spacing: -0.055em;
  line-height: 0.88;
  white-space: nowrap;
}

.launch__date strong b {
  color: var(--accent);
  font-weight: 300;
}

.countdown-shell {
  position: relative;
  padding: clamp(1.6rem, 4vw, 3rem) 0 clamp(1.25rem, 3vw, 2.35rem);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

.countdown-label {
  margin: 0 0 clamp(1.6rem, 3.4vw, 2.8rem);
  color: var(--muted);
  text-align: center;
}

.countdown {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: start;
  width: 100%;
}

.countdown__unit {
  display: grid;
  min-width: 0;
  justify-items: center;
  gap: clamp(0.8rem, 2vw, 1.3rem);
}

.countdown__value {
  font-size: clamp(3.6rem, 9.6vw, 9.25rem);
  font-weight: 200;
  font-variant-numeric: tabular-nums lining-nums;
  letter-spacing: -0.075em;
  line-height: 0.8;
  will-change: opacity, transform, filter;
}

.countdown__name {
  color: var(--muted);
  font-size: clamp(0.52rem, 0.62vw, 0.64rem);
}

.countdown__divider {
  margin-top: -0.08em;
  padding: 0 clamp(0.16rem, 1.1vw, 1rem);
  color: var(--accent);
  font-size: clamp(2.8rem, 6vw, 6rem);
  font-weight: 200;
  line-height: 0.8;
  opacity: 0.72;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@keyframes enter {
  from { opacity: 0; transform: translateY(1.25rem); filter: blur(8px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

@keyframes breathe {
  from { transform: scale(0.92); opacity: 0.42; }
  to { transform: scale(1.08); opacity: 0.75; }
}

@media (max-width: 42rem) {
  .launch {
    padding-inline: 1.2rem;
  }

  .launch__content {
    transform: translateY(-1.5vh);
  }

  .launch__date {
    margin-bottom: clamp(2.6rem, 8vh, 5rem);
  }

  .launch__date strong {
    font-size: clamp(3rem, 15vw, 5.1rem);
  }

  .countdown-shell {
    padding-block: 1.7rem 1.4rem;
  }

  .countdown-label {
    margin-bottom: 2rem;
  }

  .countdown__value {
    font-size: clamp(3rem, 16vw, 5.4rem);
  }

  .countdown__divider {
    padding-inline: 0.08rem;
    font-size: clamp(2.2rem, 10vw, 3.6rem);
  }

  .countdown__name {
    font-size: 0.5rem;
    letter-spacing: 0.19em;
  }
}

@media (max-height: 35rem) {
  .launch__date {
    margin-bottom: 1.4rem;
  }

  .launch__date time {
    gap: 0.65rem;
  }

  .countdown-shell {
    padding-block: 1rem 0.8rem;
  }

  .countdown-label {
    margin-bottom: 1.1rem;
  }

  .countdown__unit {
    gap: 0.6rem;
  }
}

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