/* ============ Waitlist page ============ */
.waitlist-section {
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 24px;
  background: var(--surface);
}

/* Embedded at the top of the homepage — it's immediately followed by the
   rest of the page, not alone in the viewport, so it doesn't need to fill
   the full remaining height the way the standalone waitlist.html page does. */
.waitlist-section.embedded {
  min-height: auto;
  padding: 64px 24px 72px;
}

.waitlist-card {
  width: 100%;
  max-width: 420px;
  background: var(--bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.waitlist-hero {
  background: var(--text);
  color: white;
  text-align: center;
  padding: 40px 36px 36px;
}

.waitlist-badge {
  width: 48px;
  height: 48px;
  margin: 0 auto 20px;
  border-radius: 14px;
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
}

.waitlist-hero h1 {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.waitlist-hero p {
  margin-top: 12px;
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
}

.waitlist-form {
  padding: 32px 36px 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; font-weight: 700; color: var(--text-secondary); }
.field input {
  font-family: var(--font);
  font-size: 15px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  color: var(--text);
  background: var(--bg);
  transition: border-color 0.15s ease;
}
.field input:focus { outline: none; border-color: var(--blue); }
.field input.field-invalid { border-color: #dc2626; }

/* Honeypot — off-screen, not display:none (some bots skip fields hidden
   that way), and out of tab order so a real keyboard user never lands on it. */
.field-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.waitlist-submit { width: 100%; margin-top: 4px; }
.waitlist-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.waitlist-status {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  min-height: 18px;
}
.waitlist-status.is-success { color: var(--green); }
.waitlist-status.is-error { color: #dc2626; }

@media (max-width: 480px) {
  .waitlist-hero { padding: 32px 24px 28px; }
  .waitlist-form { padding: 28px 24px 32px; }
}
