:root {
  --orange: #f97316;
  --orange-hover: #ea580c;
  --dark-blue: #1e293b;
  --gray: #64748b;
  --gray-light: #94a3b8;
  --white: #ffffff;
  --border: #e2e8f0;
  --grid: #f1f5f9;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--white);
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 24px 24px;
  min-height: 100vh;
  color: var(--dark-blue);
}

.waitlist-page {
  max-width: 680px;
  margin: 0 auto;
  padding: 48px 24px 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}

.logo {
  margin-bottom: 8px;
}

.logo-img {
  height: 48px;
  width: auto;
  display: block;
}

.hero {
  text-align: center;
}

.hero-pic {
  width: 400px;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 24px;
}

.headline {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

/* Prominent incentive (e.g. 50% off) */
.incentive {
  color: #dc2626;
  font-weight: 700;
  font-size: clamp(1.25rem, 3vw, 2rem);
}

.subheading {
  font-size: 1rem;
  color: var(--gray);
  line-height: 1.5;
}

.signup {
  width: 100%;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.waitlist-form {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.waitlist-form input[type="email"] {
  width: 100%;
  padding: 14px 18px;
  font-size: 1rem;
  font-family: inherit;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--white);
  color: var(--dark-blue);
  transition: border-color 0.2s;
}

.waitlist-form input[type="email"]:focus {
  outline: none;
  border-color: var(--orange);
}

.waitlist-form input::placeholder {
  color: var(--gray-light);
}

.btn-join {
  width: 100%;
  padding: 14px 24px;
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  color: var(--white);
  background: var(--orange);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-join:hover {
  background: var(--orange-hover);
}

.btn-join:active {
  transform: scale(0.99);
}

.social-proof {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--gray);
}

.avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  width: 100%;
}

.feature-card {
  background: var(--white);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.card-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  color: var(--orange);
  font-size: 1.5rem;
  line-height: 1;
}

.feature-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--dark-blue);
}

.feature-card p,
.feature-card li {
  font-size: 0.875rem;
  color: var(--gray);
  line-height: 1.5;
}

.feature-card ul {
  list-style: none;
}

.feature-card li {
  position: relative;
  padding-left: 0;
}

.feature-card li::before {
  content: "· ";
  color: var(--orange);
}

.success-message {
  text-align: center;
  padding: 16px 24px;
  background: #ecfdf5;
  color: #059669;
  border-radius: 12px;
  font-weight: 500;
}

.success-message.hidden,
.waitlist-form.hidden,
.social-proof.hidden {
  display: none;
}

/* Honeypot: hidden from humans, visible to bots that auto-fill all fields */
.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.btn-join:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-join:disabled:hover {
  background: var(--orange);
}

.privacy-note {
  font-size: 0.8125rem;
  color: var(--gray-light);
  margin-top: 4px;
  text-align: center;
}

@media (max-width: 600px) {
  .waitlist-page {
    padding: 32px 20px 60px;
    gap: 40px;
  }

  .hero-pic {
    width: 100%;
    margin-bottom: 20px;
  }

  .features {
    grid-template-columns: 1fr;
  }
}
