:root {
  color-scheme: dark;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  min-height: 100vh;
  margin: 0;
  display: grid;
  place-items: center;
  background: #101828;
  color: #f8fafc;
}

.card {
  width: min(560px, calc(100% - 32px));
  padding: 32px;
  border: 1px solid #344054;
  border-radius: 20px;
  background: #1d2939;
  box-sizing: border-box;
}

.eyebrow {
  color: #84caff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.warning {
  padding: 12px;
  border-radius: 10px;
  background: #344054;
}

button {
  width: 100%;
  margin-top: 12px;
  padding: 12px;
  border: 0;
  border-radius: 10px;
  background: #2688eb;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  min-height: 44px;
}

button:focus-visible,
textarea:focus-visible {
  outline: 3px solid #84caff;
  outline-offset: 3px;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

output,
textarea {
  display: block;
  width: 100%;
  margin-top: 16px;
  box-sizing: border-box;
}

output {
  color: #b9d6f2;
}

output.error {
  color: #fda29b;
}

textarea {
  min-height: 120px;
  padding: 10px;
  resize: vertical;
}

[hidden] {
  display: none !important;
}

@media (max-width: 420px) {
  .card {
    padding: 24px 18px;
  }
}
