:root {
  --bg: #fafafa;
  --text: #1a1a1a;
  --muted: #555;
  --accent: #2563eb;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121212;
    --text: #f0f0f0;
    --muted: #aaa;
    --accent: #60a5fa;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  text-align: center;
  transition: background-color 0.4s ease, color 0.4s ease;
}

h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(2rem, 8vw, 4rem);
}

p {
  margin: 0.25rem 0;
  color: var(--muted);
  font-size: 1.125rem;
}

a {
  color: var(--accent);
}

button {
  margin-top: 1.5rem;
  padding: 0.75rem 1.5rem;
  border: 2px solid currentColor;
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

button:hover {
  background: color-mix(in srgb, currentColor 12%, transparent);
}
