:root {
  color-scheme: light;
  font-family: Arial, Helvetica, sans-serif;
  background: #f4f4f2;
  color: #181818;
}

* {
  box-sizing: border-box;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background: #f4f4f2;
}

.page-shell {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
}

.verification-panel {
  width: min(100%, 520px);
  border: 1px solid #d8d8d4;
  border-radius: 6px;
  background: #ffffff;
  padding: 40px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.wordmark {
  margin: 0 0 32px;
  color: #111111;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0;
}

h1 {
  margin: 0 0 16px;
  font-size: 28px;
  line-height: 1.25;
}

p {
  margin: 0;
  color: #4f4f4f;
  font-size: 16px;
  line-height: 1.6;
}

.status-indicator {
  width: 40px;
  height: 40px;
  margin: 0 auto 24px;
  border: 3px solid #ddddda;
  border-top-color: #181818;
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}

.status-indicator.is-success,
.status-indicator.is-error {
  display: grid;
  border: 0;
  animation: none;
  place-items: center;
}

.status-indicator.is-success {
  background: #e4f4e8;
  color: #17652b;
}

.status-indicator.is-error {
  background: #fbe7e7;
  color: #9f2525;
}

.status-indicator.is-success::before {
  content: "\2713";
  font-size: 24px;
  font-weight: 700;
}

.status-indicator.is-error::before {
  content: "!";
  font-size: 24px;
  font-weight: 700;
}

.primary-action {
  display: inline-block;
  min-height: 48px;
  margin-top: 28px;
  border-radius: 4px;
  background: #181818;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  line-height: 48px;
  padding: 0 24px;
  text-decoration: none;
}

.primary-action:focus-visible {
  outline: 3px solid #555555;
  outline-offset: 3px;
}

.is-hidden {
  display: none;
}

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

@media (max-width: 560px) {
  .page-shell {
    padding: 16px;
  }

  .verification-panel {
    padding: 32px 24px;
  }

  h1 {
    font-size: 24px;
  }
}

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