:root {
  --bg: #fdfdfc;
  --fg: #1a1a1a;
  --muted: #6b6b6b;
  --link: #0b5cad;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14161a;
    --fg: #e8e8e6;
    --muted: #9a9a96;
    --link: #7ab3ef;
  }
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  height: 100%;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  line-height: 1.55;
  display: grid;
  place-items: center;
  padding: 2rem 1.25rem;
}

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

h1 {
  font-size: 2rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  margin: 0 0 0.35rem;
}

.tagline {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0 0 1.75rem;
}

.links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}

.links a {
  color: var(--link);
  text-decoration: none;
}

.links a:hover,
.links a:focus-visible {
  text-decoration: underline;
}
