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

html,
body {
  margin: 0;
  min-height: 100%;
  background: #fff;
  color: #000;
}

body {
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Helvetica Neue",
    Helvetica,
    Arial,
    sans-serif;
}

.page {
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding: clamp(1.5rem, 6vw, 4rem);
}

.panel {
  width: min(100%, 28rem);
  text-align: center;
}

.title {
  margin: 0 0 1.25rem;
  font-size: clamp(1.35rem, 4vw, 1.75rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.2;
}

.tagline,
.consent,
.status,
.confirmation {
  margin: 0;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
}

.tagline {
  margin-bottom: 2rem;
  font-style: italic;
}

.form {
  display: grid;
  gap: 0.75rem;
}

.input {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid #000;
  border-radius: 0;
  background: #fff;
  color: #000;
  font: inherit;
  text-align: center;
}

.input:focus {
  outline: 2px solid #000;
  outline-offset: 2px;
}

.submit {
  padding: 0.85rem 1rem;
  border: 1px solid #000;
  border-radius: 0;
  background: #000;
  color: #fff;
  font: inherit;
  cursor: pointer;
}

.submit:hover {
  background: #222;
}

.submit:disabled {
  opacity: 0.6;
  cursor: wait;
}

.consent {
  margin-top: 1.5rem;
  font-size: 0.875rem;
  color: #444;
}

.confirmation {
  font-size: 1.125rem;
  font-weight: 500;
}

.error {
  margin: 1rem 0 0;
  color: #8b0000;
  font-size: 0.875rem;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.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;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
