:root {
  color-scheme: dark light;
  --bg: #0b0b0f;
  --fg: #f5f5f7;
  --muted: #9a9aa5;
  --accent: #6ea8fe;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #fdfdfd;
    --fg: #16161a;
    --muted: #6b6b76;
    --accent: #1f5fd0;
  }
}

* {
  box-sizing: border-box;
}

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

main {
  text-align: center;
  max-width: 40rem;
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 8vw, 3.5rem);
  font-weight: 650;
  letter-spacing: -0.02em;
}

.links {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.5rem;
}

.links a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 120ms ease;
}

.links a:hover,
.links a:focus-visible {
  border-bottom-color: currentColor;
}
