:root {
  color: #242229;
  background: #f7f6f3;
  font-family: "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  display: grid;
  place-items: center;
}

main {
  width: min(34rem, calc(100% - 2rem));
  padding: 2rem;
  text-align: center;
}

h1 {
  margin: 1rem 0 0.4rem;
  font-size: clamp(1.5rem, 4vw, 2rem);
}

p {
  margin: 0 0 1.25rem;
  color: #605e5c;
}

a {
  color: #0b6a48;
  font-weight: 650;
}

.spinner {
  width: 2.5rem;
  height: 2.5rem;
  margin: auto;
  display: block;
  border: 0.25rem solid #d8e9e1;
  border-top-color: #0b6a48;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .spinner {
    animation: none;
    border-color: #0b6a48;
  }
}

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

  p {
    color: #c8c6c4;
  }

  a {
    color: #73d9b3;
  }
}
