* {
  box-sizing: border-box;
}

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

body {
  display: grid;
  place-items: center;
  padding: 2rem;
  background: #f7f8fa;
  color: #202124;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-align: center;
}

main {
  max-width: 28rem;
}

.spinner {
  width: 2rem;
  height: 2rem;
  margin: 0 auto 1.25rem;
  border: 3px solid #d9dde3;
  border-top-color: #315c8c;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.35rem, 5vw, 1.75rem);
  line-height: 1.25;
}

p {
  margin: 0;
  color: #5f6368;
  font-size: 1rem;
  line-height: 1.5;
}

a {
  color: #245b91;
  font-weight: 600;
}

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

@media (prefers-reduced-motion: reduce) {
  .spinner {
    animation: none;
  }
}
