:root {
  --bg: #000000;
  --cream: #fdf9f5;
  --cyan: #00b8fd;
  --blue: #0184ef;
  --muted: rgba(253, 249, 245, 0.62);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--cream);
}

body {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

.stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: min(760px, calc(100vw - 32px));
  max-height: 100dvh;
  padding: clamp(16px, 4vh, 40px) 0;
  text-align: center;
}

.logo {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: min(68dvh, 620px);
  object-fit: contain;
}

.rule {
  flex: 0 0 auto;
  width: 56px;
  height: 1px;
  margin: clamp(8px, 2vh, 18px) auto clamp(14px, 2.4vh, 22px);
  border: 0;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
}

.status {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--cream);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.42em;
  text-indent: 0.42em;
  text-transform: uppercase;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
  text-indent: 0;
  animation: pulse 2.4s ease-in-out infinite;
}

.miss {
  margin: 0 0 18px;
  font-size: clamp(1.6rem, 4vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.back {
  color: var(--cyan);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.back:hover,
.back:focus-visible {
  color: var(--cream);
}

.back:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.45;
    transform: scale(0.82);
  }
}

@media (max-width: 640px) {
  .stage {
    width: min(760px, calc(100vw - 16px));
  }

  .logo {
    max-height: 62dvh;
  }

  .status {
    letter-spacing: 0.28em;
    text-indent: 0.28em;
  }
}

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