:root {
  color-scheme: light;
  font-family: system-ui, sans-serif;
  color: #222;
  background: #FFFFFF;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
}

main {
  display: grid;
  min-height: 100vh;
  place-items: center;
  text-align: center;
}

.eyebrow {
  position: absolute;
  top: 1.5rem;
  left: 50%;
  margin: 0;
  color: #666;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  transform: translateX(-50%);
}

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

.spinner {
  position: relative;
  width: 48px;
  height: 48px;
  margin: 0 auto;
  color: #cfd4da;
}

.spinner span {
  position: absolute;
  top: 0;
  left: 50%;
  width: 8px;
  height: 8px;
  margin-left: -4px;
  border-radius: 50%;
  background: currentColor;
  transform-origin: 50% 24px;
  animation: fade 1s linear infinite;
}

.spinner span:nth-child(1) {
  transform: rotate(0deg);
  animation-delay: -1s;
}

.spinner span:nth-child(2) {
  transform: rotate(45deg);
  animation-delay: -0.875s;
}

.spinner span:nth-child(3) {
  transform: rotate(90deg);
  animation-delay: -0.75s;
}

.spinner span:nth-child(4) {
  transform: rotate(135deg);
  animation-delay: -0.625s;
}

.spinner span:nth-child(5) {
  transform: rotate(180deg);
  animation-delay: -0.5s;
}

.spinner span:nth-child(6) {
  transform: rotate(225deg);
  animation-delay: -0.375s;
}

.spinner span:nth-child(7) {
  transform: rotate(270deg);
  animation-delay: -0.25s;
}

.spinner span:nth-child(8) {
  transform: rotate(315deg);
  animation-delay: -0.125s;
}

@keyframes fade {
  from {
    opacity: 1;
  }

  to {
    opacity: 0.15;
  }
}
