:root,
body[data-skin="midnight"] {
  --bg: #142238;
  --ink: #f4efe6;
  --muted: rgba(244, 239, 230, 0.64);
  --accent: #5264e8;
  --panel: rgba(20, 34, 56, 0.42);
  --logo-filter: brightness(0) invert(1);
}
body[data-skin="sand"] {
  --bg: #f5efe4;
  --ink: #3a2a1f;
  --muted: rgba(58, 42, 31, 0.62);
  --accent: #a65b2f;
  --panel: rgba(245, 239, 228, 0.48);
  --logo-filter: none;
}
body[data-skin="forest"] {
  --bg: #152e27;
  --ink: #eef6f1;
  --muted: rgba(238, 246, 241, 0.64);
  --accent: #257a57;
  --panel: rgba(21, 46, 39, 0.42);
  --logo-filter: brightness(0) invert(1);
}
* { box-sizing: border-box; }
html, body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--ink);
  font-family: Outfit, "Segoe UI", sans-serif;
  transition: background 2.4s ease, color 2.4s ease;
}
body {
  min-height: 100vh;
  overflow: hidden;
}
.net, .bloom, .vignette {
  position: fixed;
  inset: 0;
  pointer-events: none;
}
.net { z-index: 0; }
.bloom {
  z-index: 1;
  background:
    radial-gradient(ellipse 52% 40% at 50% 38%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 64%),
    radial-gradient(ellipse 28% 22% at 80% 16%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 70%);
  transition: background 2.4s ease;
}
.vignette {
  z-index: 2;
  background: radial-gradient(ellipse at center, transparent 34%, color-mix(in srgb, var(--bg) 78%, #000) 100%);
  transition: background 2.4s ease;
}
.stage {
  position: relative;
  z-index: 3;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 7vh 6vw 8vh;
}
.kicker, h1, .lead, .count, .when, .brand, .legal {
  opacity: 0;
  transform: translateY(16px);
}
.stage.is-in .kicker,
.stage.is-in h1,
.stage.is-in .lead,
.stage.is-in .count,
.stage.is-in .when,
.stage.is-in .brand,
.stage.is-in .legal {
  opacity: 1;
  transform: none;
  transition: opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1), transform 1.25s cubic-bezier(0.16, 1, 0.3, 1), filter 2.4s ease;
}
.stage.is-in h1 { transition-delay: 0.12s; }
.stage.is-in .lead { transition-delay: 0.24s; }
.stage.is-in .count { transition-delay: 0.38s; }
.stage.is-in .when { transition-delay: 0.5s; }
.stage.is-in .legal { transition-delay: 0.62s; }
.brand {
  position: relative;
  margin: 0 0 28px;
}
.mark {
  display: block;
  width: min(520px, 72vw);
  height: auto;
  margin: 0;
  filter: var(--logo-filter);
}
.brand__sign {
  position: absolute;
  right: 0.5%;
  bottom: 10%;
  font-size: clamp(0.9rem, 1.9vw, 1.2rem);
  font-weight: 600;
  letter-spacing: 0;
  color: var(--ink);
  opacity: 0.82;
}
.kicker {
  margin: 0 0 16px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--accent);
  transition: color 2.4s ease;
}
.kicker .tm {
  letter-spacing: 0;
  font-size: 0.62em;
  vertical-align: super;
  margin-left: 1px;
}
h1 {
  margin: 0;
  max-width: 16ch;
  font-family: Syne, Outfit, sans-serif;
  font-size: clamp(1.85rem, 4.8vw, 3.35rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.08;
}
.lead {
  margin: 16px 0 0;
  max-width: 36ch;
  font-size: clamp(0.95rem, 1.8vw, 1.12rem);
  font-weight: 300;
  line-height: 1.5;
  color: var(--muted);
  transition: color 2.4s ease;
}
.count {
  display: grid;
  grid-template-columns: repeat(4, minmax(68px, 96px));
  gap: 10px;
  margin: 36px 0 0;
}
.count div {
  display: grid;
  gap: 8px;
  padding: 16px 8px 14px;
  border: 1px solid color-mix(in srgb, var(--accent) 28%, transparent);
  background: var(--panel);
  backdrop-filter: blur(10px);
  transition: border-color 2.4s ease, background 2.4s ease;
}
.count strong {
  font-family: Syne, Outfit, sans-serif;
  font-size: clamp(1.7rem, 3.6vw, 2.35rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
}
.count span {
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.when {
  margin: 20px 0 0;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.legal {
  max-width: 42ch;
  margin: 28px 0 0;
  font-size: 0.68rem;
  line-height: 1.45;
  letter-spacing: 0.02em;
  color: var(--muted);
}
.count.is-live {
  grid-template-columns: 1fr;
  max-width: 28ch;
  padding: 18px 22px;
  border: 1px solid color-mix(in srgb, var(--accent) 36%, transparent);
}
.count.is-live div { border: 0; padding: 0; background: none; }
@media (max-width: 640px) {
  .brand { margin-bottom: 22px; }
  .mark { width: min(86vw, 380px); }
  .count { grid-template-columns: repeat(4, minmax(56px, 1fr)); gap: 6px; }
  .count div { padding: 12px 4px 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html, body, .bloom, .vignette, .kicker, h1, .lead, .count, .when, .mark, .count div {
    transition: none !important;
  }
  .kicker, h1, .lead, .count, .when, .brand, .legal {
    opacity: 1;
    transform: none;
  }
}
