:root {
  --bg: #16121a;
  --fg: #e8e6e3;
  --muted: #8b949e;
  --accent: #d98e73;
  color-scheme: dark;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #faf6f1;
    --fg: #1c2126;
    --muted: #5f6b76;
    --accent: #a8553a;
    color-scheme: light;
  }
}

* { box-sizing: border-box; margin: 0; }

html, body { height: 100%; }

body {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--fg);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(100% - 3rem, 46rem);
  margin-inline: auto;
}

.eyebrow {
  color: var(--accent);
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

h1 {
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-weight: 600;
  font-size: clamp(2.5rem, 8vw, 4.75rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.status {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 2px solid var(--accent);
  width: fit-content;
  color: var(--muted);
  font-size: clamp(1.1rem, 2.6vw, 1.35rem);
}

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

@keyframes blink {
  0%, 80%, 100% { opacity: 0.2; }
  40% { opacity: 1; }
}

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

footer {
  padding: 1.5rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.8rem;
}
