:root {
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #172033;
}
* {
  box-sizing: border-box;
}
body {
  min-height: 100vh;
  margin: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at top left, #dbeafe, transparent 42%), #f8fafc;
}
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
main {
  width: min(100%, 680px);
  padding: 42px;
  border: 1px solid #dbe3ef;
  border-radius: 24px;
  background: rgb(255 255 255 / 70%);
  backdrop-filter: blur(12px);
  box-shadow: 0 24px 60px rgb(15 23 42 / 12%);
  animation: slideUp 0.6s ease-out;
}
.icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
  border-radius: 15px;
  color: white;
  font-size: 26px;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
}
h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 2.8rem);
  letter-spacing: -0.045em;
}
p {
  color: #475569;
  line-height: 1.6;
}
form {
  margin-top: 28px;
}
label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  color: #344054;
}
.row {
  display: flex;
  gap: 10px;
}
input {
  min-width: 0;
  flex: 1;
  padding: 14px 15px;
  border: 1px solid #b9c5d5;
  border-radius: 11px;
  color: inherit;
  font: inherit;
  outline: none;
  transition: all 0.2s ease;
}
input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 4px #dbeafe;
}
button {
  cursor: pointer;
  border: 0;
  border-radius: 11px;
  padding: 14px 20px;
  color: white;
  background: #2563eb;
  font: inherit;
  font-weight: 700;
  white-space: nowrap;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
button:hover:not(:disabled) {
  background: #1d4ed8;
}
button:active:not(:disabled) {
  transform: scale(0.98);
}
button:disabled {
  cursor: wait;
  opacity: 0.65;
}
.spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: white;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
#message {
  min-height: 1.5em;
  margin: 13px 0 0;
  font-size: 0.92rem;
  transition: all 0.3s ease;
}
#message.error {
  color: #b42318;
  background: #fee2e2;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #fecaca;
}
#message.success {
  color: #15803d;
  background: #dcfce7;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #bbf7d0;
}
.faq {
  margin-top: 24px;
  border: 1px solid #e4eaf2;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.5);
  overflow: hidden;
}
.faq summary {
  padding: 12px 16px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  color: #344054;
  outline: none;
  user-select: none;
}
.faq summary:hover {
  background: rgba(255, 255, 255, 0.8);
}
.faq-content {
  padding: 0 16px 16px;
  font-size: 0.88rem;
  border-top: 1px solid #e4eaf2;
}
.faq-content p {
  margin-bottom: 12px;
}
.note {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #e4eaf2;
  font-size: 0.88rem;
}
@media (max-width: 540px) {
  main {
    padding: 28px 22px;
  }
  .row {
    flex-direction: column;
  }
  button {
    width: 100%;
  }
}
