:root {
  color-scheme: light dark;
  --bg: #ffffff;
  --bg-glow: #eaf0fb;
  --fg: #0b0d12;
  --muted: #5a6477;
  --accent: #2563eb;
  --border: rgba(0, 0, 0, 0.12);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0d12;
    --bg-glow: #151a26;
    --fg: #e8ecf4;
    --muted: #8a93a6;
    --accent: #4f8cff;
    --border: rgba(255, 255, 255, 0.12);
  }
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  height: 100%;
}

body {
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--fg);
  background:
    radial-gradient(1200px 600px at 50% -10%, var(--bg-glow), transparent 70%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
}

.stage {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  padding: 2rem;
  text-align: center;
}

.card {
  max-width: 560px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  animation: rise 0.7s ease both;
}

.logo {
  display: block;
  width: clamp(220px, 40vw, 300px);
  height: auto;
  margin-bottom: 0.5rem;
}

.logo--placeholder {
  width: auto;
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 0.5rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: 12px;
}

h1 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700;
  margin: 0;
}

.lead {
  margin: 0;
  color: var(--accent);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.sub {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}

.dots {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.35;
  animation: pulse 1.4s ease-in-out infinite;
}

.dots span:nth-child(2) { animation-delay: 0.2s; }
.dots span:nth-child(3) { animation-delay: 0.4s; }

.foot {
  color: var(--muted);
  font-size: 0.85rem;
}

@keyframes pulse {
  0%, 100% { opacity: 0.25; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-4px); }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .card, .dots span { animation: none; }
}
