/* ==========================================================================
   Waitlist Page — page-waitlist.php
   ========================================================================== */

/* ─── Hero ─────────────────────────────────────────────────────────────── */
.wl-hero {
  background: var(--green-950);
  color: var(--sage-50);
  padding: 120px 0 100px;
  position: relative;
  overflow: hidden;
}

/* Subtle radial glow behind the text */
.wl-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 40%, rgba(107,155,90,.18) 0%, transparent 70%);
  pointer-events: none;
}

.wl-hero-inner { position: relative; z-index: 1; max-width: 680px; }

.wl-label {
  color: var(--sage-400);
  letter-spacing: .22em;
  font-size: 11px;
  margin-bottom: 20px;
  display: block;
}

.wl-headline {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(42px, 7vw, 76px);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -.01em;
  color: var(--sage-50);
  margin-bottom: 20px;
}

.wl-subline {
  font-size: 17px;
  color: var(--sage-300);
  line-height: 1.65;
  max-width: 520px;
  margin-bottom: 36px;
}

.wl-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* ─── Teaser Strip ──────────────────────────────────────────────────────── */
.wl-strip { padding: 72px 0; }

.wl-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.wl-pillar { text-align: center; }

.wl-pillar-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 18px;
  color: var(--green-600);
}

.wl-pillar-icon svg { width: 100%; height: 100%; }

.wl-pillar-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 19px;
  font-weight: 700;
  color: var(--green-800);
  margin-bottom: 8px;
}

.wl-pillar-desc {
  font-size: 14px;
  color: var(--ink-3);
  line-height: 1.6;
}

/* ─── Form Section ──────────────────────────────────────────────────────── */
.wl-form-section { padding: 80px 0 100px; }

.wl-form-wrap {
  max-width: 520px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 48px 44px;
}

.wl-form-headline {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--green-800);
  margin-bottom: 10px;
}

.wl-form-sub {
  font-size: 14.5px;
  color: var(--ink-3);
  line-height: 1.6;
  margin-bottom: 28px;
}

/* ─── Form Fields ───────────────────────────────────────────────────────── */
.wl-form { display: flex; flex-direction: column; gap: 16px; }

.wl-field-group { display: flex; flex-direction: column; gap: 5px; }

.wl-field-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
}

.wl-field-group label abbr {
  text-decoration: none;
  color: var(--green-600);
  margin-left: 2px;
}

.wl-field-group input {
  padding: 11px 14px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  color: var(--ink);
  background: var(--paper);
  transition: border-color .15s;
  outline: none;
}

.wl-field-group input:focus { border-color: var(--green-600); background: #fff; }

.wl-submit {
  width: 100%;
  justify-content: center;
  margin-top: 4px;
  font-size: 15px;
}

.wl-privacy {
  font-size: 12px;
  color: var(--ink-3);
  text-align: center;
  margin-top: 4px;
}

/* ─── Notices ───────────────────────────────────────────────────────────── */
.wl-notice {
  font-size: 13.5px;
  padding: 10px 14px;
  border-radius: 8px;
  margin: 0;
}

.wl-notice-error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* ─── Success State ─────────────────────────────────────────────────────── */
.wl-success {
  text-align: center;
  padding: 16px 0;
  animation: toast-in .45s var(--ease) both;
}

.wl-success-icon {
  width: 64px;
  height: 64px;
  color: var(--green-600);
  margin: 0 auto 20px;
}

.wl-success-icon svg { width: 100%; height: 100%; }

.wl-success-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--green-800);
  margin-bottom: 10px;
}

.wl-success-msg {
  font-size: 14.5px;
  color: var(--ink-3);
  line-height: 1.65;
  max-width: 360px;
  margin: 0 auto;
}

/* ─── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .wl-pillars { grid-template-columns: 1fr; gap: 36px; }
  .wl-hero { padding: 96px 0 80px; }
  .wl-form-wrap { padding: 36px 28px; }
}

@media (max-width: 480px) {
  .wl-form-wrap { padding: 28px 18px; border-radius: 12px; }
  .wl-hero { padding: 80px 0 64px; }
}
