:root {
  --bg: #f6f3ff;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-strong: rgba(255, 255, 255, 0.88);
  --stroke: rgba(70, 53, 116, 0.1);
  --text: #181423;
  --muted: #625d74;
  --accent: #8b72e8;
  --accent-strong: #745ed1;
  --success: #1d8b57;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 18% 12%, rgba(161, 135, 244, 0.18) 0%, transparent 34%),
    radial-gradient(circle at 82% 88%, rgba(184, 168, 255, 0.18) 0%, transparent 32%),
    linear-gradient(180deg, #fcfbff 0%, #f3efff 100%);
  overflow-x: hidden;
}

.shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(43, 29, 82, 0.06) 1px, transparent 1px);
  background-size: 3px 3px;
  opacity: 0.4;
}

.orb {
  position: fixed;
  width: 20rem;
  height: 20rem;
  border-radius: 999px;
  filter: blur(90px);
  pointer-events: none;
  z-index: -1;
}

.orb-a {
  top: -8rem;
  left: -7rem;
  background: rgba(162, 135, 244, 0.22);
  animation: drift 15s ease-in-out infinite;
}

.orb-b {
  right: -6rem;
  bottom: -8rem;
  background: rgba(202, 191, 255, 0.26);
  animation: drift 18s ease-in-out infinite reverse;
}

.waitlist-card {
  width: min(100%, 34rem);
  border: 1px solid var(--stroke);
  border-radius: 1.5rem;
  padding: 1.5rem;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.92), rgba(247, 243, 255, 0.78));
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 60px rgba(110, 92, 169, 0.12), 0 0 0 1px rgba(255, 255, 255, 0.65);
}

.eyebrow {
  margin: 0;
  color: var(--accent-strong);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
}

h1 {
  margin: 0.4rem 0 0;
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: clamp(2.1rem, 12vw, 3.2rem);
  line-height: 1;
}

.logo-x {
  color: var(--accent-strong);
  text-shadow: 0 0 16px rgba(139, 114, 232, 0.22);
}

.tagline {
  margin: 0.45rem 0 0;
  color: #241d35;
  font-weight: 600;
  font-size: clamp(1rem, 4vw, 1.15rem);
}

.description {
  margin: 0.8rem 0 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.45;
}

.verification-note {
  margin-top: 0.95rem;
  border: 1px solid rgba(139, 114, 232, 0.26);
  border-radius: 0.95rem;
  padding: 0.72rem 0.82rem;
  background: linear-gradient(130deg, rgba(243, 236, 255, 0.92), rgba(251, 248, 255, 0.84));
}

.verification-note p {
  margin: 0;
  color: #5e4f87;
  font-size: 0.8rem;
  line-height: 1.4;
}

.verification-note p + p {
  margin-top: 0.25rem;
}

.waitlist-form {
  margin-top: 1rem;
  display: grid;
  gap: 0.6rem;
}

.trap-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.waitlist-form label {
  font-size: 0.83rem;
  color: #4f4a61;
  font-weight: 600;
}

.waitlist-form input[type="text"],
.waitlist-form input[type="email"] {
  width: 100%;
  border: 1px solid var(--stroke);
  border-radius: 1rem;
  background: var(--surface);
  color: var(--text);
  padding: 0.92rem 1rem;
  font-size: 16px;
  outline: none;
  transition: border-color 200ms ease, box-shadow 200ms ease, background 200ms ease;
}

.waitlist-form input::placeholder {
  color: #8d879e;
}

.waitlist-form input:focus {
  border-color: rgba(139, 114, 232, 0.45);
  background: var(--surface-strong);
  box-shadow: 0 0 0 4px rgba(139, 114, 232, 0.12);
}

.disclaimer {
  margin: 0.1rem 0 0;
  color: #777289;
  font-size: 0.8rem;
  line-height: 1.45;
}

button {
  margin-top: 0.2rem;
  width: 100%;
  border: 1px solid rgba(139, 114, 232, 0.34);
  border-radius: 999px;
  background: linear-gradient(120deg, #7f63e6, #9a88ea);
  color: #fff;
  font-weight: 700;
  font-size: 0.97rem;
  padding: 0.98rem 1rem;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(124, 85, 230, 0.2);
}

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

.form-feedback {
  min-height: 1.2rem;
  margin: 0.15rem 0 0;
  color: var(--accent-strong);
  font-size: 0.84rem;
}

.form-feedback.success {
  color: var(--success);
}

.form-feedback.error {
  color: #ab2e2e;
}

.microcopy {
  margin: 0.8rem 0 0;
  color: #969bb3;
  font-size: 0.74rem;
  line-height: 1.45;
}

@keyframes drift {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(22px);
  }
}

@media (max-width: 520px) {
  .shell {
    min-height: 100dvh;
    padding: max(0.85rem, env(safe-area-inset-top)) 0.75rem max(1rem, env(safe-area-inset-bottom));
  }

  .waitlist-card {
    padding: 1rem;
    border-radius: 1.2rem;
  }

  .description {
    font-size: 0.9rem;
  }

  .orb {
    filter: blur(72px);
    opacity: 0.8;
  }
}
