:root {
  color-scheme: light dark;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #000;
  background: #fff;
}

* {
  box-sizing: border-box;
}

body {
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  background: inherit;
}

main {
  display: grid;
  place-items: center;
  padding: 2rem;
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 7vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  text-align: center;
}

footer {
  padding: 1.25rem 2rem;
  font-size: 0.875rem;
  line-height: 1.5;
  text-align: center;
}

a {
  color: inherit;
  text-underline-offset: 0.2em;
}

a:hover {
  text-decoration-thickness: 0.125em;
}

a:focus-visible {
  outline: 0.125rem solid currentColor;
  outline-offset: 0.25rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    color: #fff;
    background: #000;
  }
}
