/* ── Header ───────────────────────────────────────────────── */
header {
  width: 100%;
  padding: 15px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.logo-img {
  height: 25px;
  width: auto;
  display: block;
  object-fit: contain;
}

.header-badge {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  padding: 5px 11px;
  border-radius: 100px;
}

/* ── Main content ─────────────────────────────────────────── */
main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 30px 24px;
  gap: 0;
}

.eyebrow {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 32px;
  opacity: 0;
  transform: translateY(8px);
  animation: fadeUp 0.6s 1.4s ease forwards;
}

.headline {
  font-size: clamp(32px, 6vw, 64px);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: var(--ink);
  max-width: 720px;
  opacity: 0;
  transform: translateY(12px);
  animation: fadeUp 0.7s 1.6s ease forwards;
}

.headline em {
  font-style: normal;
  font-weight: 600;
}

.divider {
  width: 1px;
  height: 20px;
  background: var(--line);
  margin: 10px 0;
  opacity: 0;
  animation: fadeIn 0.5s 1.9s ease forwards;
}

.subtext {
  font-size: clamp(14px, 2vw, 16px);
  font-weight: 400;
  color: var(--ink-mid);
  line-height: 1.65;
  max-width: 440px;
  opacity: 0;
  transform: translateY(8px);
  animation: fadeUp 0.6s 2.0s ease forwards;
}

/* ── Countdown ────────────────────────────────────────────── */
.countdown-wrap {
  margin-top: 52px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0;
  transform: translateY(8px);
  animation: fadeUp 0.6s 2.2s ease forwards;
}

.countdown-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.countdown-number {
  font-size: clamp(56px, 10vw, 96px);
  font-weight: 200;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.countdown-number.tick {
  transform: scale(0.9);
  opacity: 0.5;
}

.countdown-unit {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* Progress ring */
.progress-ring-wrap {
  position: relative;
  width: 56px;
  height: 56px;
  margin-top: 16px;
}

.progress-ring {
  transform: rotate(-90deg);
  width: 56px;
  height: 56px;
}

.ring-bg {
  fill: none;
  stroke: var(--line);
  stroke-width: 1.5;
}

.ring-fill {
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-dasharray: 150.796;
  stroke-dashoffset: 150.796;
  transition: stroke-dashoffset 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── CTA link ─────────────────────────────────────────────── */
.cta-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 36px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
  opacity: 0;
  animation: fadeIn 0.5s 2.6s ease forwards;
  transition: opacity 0.2s ease;
}

.cta-link:hover {
  opacity: 0.5;
}

.cta-arrow {
  font-size: 14px;
  transition: transform 0.2s ease;
}

.cta-link:hover .cta-arrow {
  transform: translateX(3px);
}

/* ── Footer ───────────────────────────────────────────────── */
footer {
  padding: 20px 40px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-copy {
  font-size: 11px;
  color: var(--ink-soft);
  letter-spacing: 0.05em;
}

.footer-url {
  font-size: 11px;
  color: var(--ink-soft);
  letter-spacing: 0.05em;
  text-decoration: none;
}

.footer-url:hover {
  color: var(--ink);
}

/* ── Page fade-out (before redirect) ─────────────────────── */
.page.fade-out {
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.9s ease, transform 0.9s ease;
  pointer-events: none;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 600px) {
  header {
    padding: 20px;
  }

  .header-badge {
    display: none;
  }

  footer {
    padding: 16px 20px;
    justify-content: center;
    text-align: center;
  }

  .footer-copy {
    width: 100%;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
