:root {
  --bg: #0a0a0a;
  --fg: #ffffff;
  --muted: #bfbfbf;
  --line: #1a1a1a;
  --accent: #ffffff;
  --radius: 16px;
}

* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans",
    "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--fg);
  background: radial-gradient(1200px 600px at 50% -10%, #1a1a1a 0%, transparent 60%),
    radial-gradient(1200px 600px at 50% 110%, #1a1a1a 0%, transparent 60%), var(--bg);
  letter-spacing: 0.2px;
}

.site-header,
.site-footer {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid var(--line);
}
.site-footer {
  border-top: 1px solid var(--line);
  border-bottom: none;
  color: var(--muted);
}

.brand {
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--fg);
  opacity: 0.9;
}

.hero {
  min-height: calc(100dvh - 140px);
  display: grid;
  place-items: center;
  text-align: center;
  gap: 24px;
  padding: 40px 20px;
}

h1 {
  margin: 8px 0 0;
  font-size: clamp(36px, 6vw, 72px);
  line-height: 1.06;
  letter-spacing: -0.02em;
}

.subtitle {
  margin: 0;
  color: var(--muted);
  font-size: clamp(14px, 2vw, 18px);
}

.countdown {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 16px;
  width: min(900px, 94vw);
}

.segment {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 16px;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: saturate(120%) blur(2px);
  transition: transform .2s ease;
}

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

.value {
  font-variant-numeric: tabular-nums lining-nums;
  font-size: clamp(36px, 6vw, 56px);
  line-height: 1;
  font-weight: 800;
}

.label {
  margin-top: 10px;
  font-size: 13px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Subtle tick animation when a number changes */
.value.tick {
  animation: pop .32s ease;
}
@keyframes pop {
  0% {
    transform: scale(1);
    filter: brightness(1);
  }
  40% {
    transform: scale(1.06);
    filter: brightness(1.2);
  }
  100% {
    transform: scale(1);
    filter: brightness(1);
  }
}

/* Launch date line */
.launch-date {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  border-top: 1px dashed var(--line);
  padding-top: 14px;
}

/* No-script text */
.noscript {
  color: var(--muted);
  font-size: 14px;
}

/* Footer */
.site-footer small {
  opacity: 0.7;
}

/* Responsive */
@media (max-width: 640px) {
  .countdown {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
  }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .segment,
  .value {
    transition: none !important;
    animation: none !important;
  }
}
