:root {
  --bg: #ffffff;
  --fg: #1a1a1a;
  --muted: #5c5c5c;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #161616;
    --fg: #ececec;
    --muted: #a3a3a3;
  }
}

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

html { background: var(--bg); color: var(--fg); }

body {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-content: center;
  padding: 1.5rem;
  text-align: center;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}

h1 {
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

a {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 1.0625rem;
  color: var(--muted);
  text-decoration: none;
}

a:hover { color: var(--fg); text-decoration: underline; text-underline-offset: 0.2em; }

a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; border-radius: 2px; }
