:root {
  color-scheme: dark;
  --bg-top: #020617;
  --bg-mid: #111827;
  --bg-bottom: #020617;
  --card: rgba(17, 24, 39, 0.6);
  --border: rgba(255, 255, 255, 0.08);
  --text: #ffffff;
  --muted: #9ca3af;
  --muted-strong: #6b7280;
  --accent: #2563eb;
  --accent-hover: #3b82f6;
  --field-bg: rgba(2, 6, 23, 0.5);
}

* {
  box-sizing: border-box;
}

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

body {
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: linear-gradient(135deg, var(--bg-top), var(--bg-mid), var(--bg-bottom));
  display: flex;
  align-items: center;
  justify-content: center;
}

.landing-shell {
  display: flex;
  min-height: 100vh;
  width: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.landing-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  border-radius: 1rem;
  background: var(--card);
  border: 1px solid var(--border);
  padding: 2rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(12px);
}

h1 {
  margin: 0 0 0.5rem;
  text-align: center;
  font-family: "Inter Tight", "Inter", sans-serif;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 0;
  color: var(--text);
}

.subheadline {
  margin: 0 0 2rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
}

.waitlist-form {
  display: grid;
  gap: 1rem;
  width: 100%;
}

.field {
  display: grid;
  gap: 0.5rem;
  width: 100%;
}

.field span {
  display: block;
  text-align: left;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted-strong);
}

.field input {
  width: 100%;
  border-radius: 0.75rem;
  background: var(--field-bg);
  border: 1px solid rgba(31, 41, 55, 0.95);
  padding: 0.95rem 1rem;
  font: inherit;
  font-size: 0.95rem;
  color: var(--text);
  outline: none;
  transition: border-color 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

.field input::placeholder {
  color: #6b7280;
}

.field input:focus {
  border-color: var(--accent-hover);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.18);
}

.waitlist-form button {
  width: 100%;
  border: 0;
  border-radius: 0.75rem;
  background: var(--accent);
  padding: 0.95rem 1rem;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  transition: background 140ms ease, transform 140ms ease, box-shadow 140ms ease;
  box-shadow: 0 16px 30px rgba(37, 99, 235, 0.28);
}

.landing-card > * {
  max-width: 100%;
}

.waitlist-form button:hover:not(:disabled) {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.waitlist-form button:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.18);
}

.waitlist-form button:disabled {
  opacity: 0.72;
  cursor: wait;
}

.form-status {
  min-height: 1.4rem;
  margin: 1rem 0 0;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 500;
}

.form-status[data-state="success"] {
  color: #bfdbfe;
}

.form-status[data-state="error"] {
  color: #fca5a5;
}

.form-status[data-state="pending"] {
  color: #cbd5e1;
}

@media (max-width: 480px) {
  .landing-card {
    padding: 1.4rem;
  }
}
