:root {
  color-scheme: light dark;
  --bg: #fff;
  --fg: #111;
  --muted: #666;
  --link: #0b5fff;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1115;
    --fg: #f5f7fa;
    --muted: #98a2b3;
    --link: #7aa7ff;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  padding: 2rem;
  display: grid;
  place-items: center;
  background: var(--bg);
  color: var(--fg);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
}

main {
  width: 100%;
  max-width: 40rem;
}

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

h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 6vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

p {
  margin: 0 0 0.85rem;
}

footer {
  margin-top: 2rem;
  color: var(--muted);
  font-size: 0.95rem;
}
