/* ── EMAIL CAPTURE FORM (shared) ── */
.email-capture-form {
  display: flex;
  gap: 0.75rem;
  align-items: stretch;
}

.email-capture-form input[type="email"] {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--rule);
  border-radius: 100px;
  background: var(--off-white);
  color: var(--charcoal);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  padding: 0.95rem 1.2rem;
  outline: none;
}

.email-capture-form input[type="email"]:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(46,125,120,0.1);
}

.email-capture-form button {
  border: 0;
  border-radius: 100px;
  background: var(--teal);
  color: #fff;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.95rem 1.5rem;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
}

.email-capture-form button:hover { background: var(--teal-dark); transform: translateY(-1px); }
.email-capture-form button:disabled { opacity: 0.6; cursor: default; transform: none; }

.email-capture-status {
  color: var(--mid-gray);
  font-size: 0.86rem;
  margin-top: 0.85rem;
  min-height: 1.4rem;
}
.email-capture-status a { color: var(--teal); font-weight: 600; }

.email-capture-note {
  font-size: 0.76rem;
  color: var(--mid-gray);
  margin-top: 0.75rem;
}

/* ── WAITLIST BAND (Home / Parents / Schools) ── */
.waitlist-band {
  background: #fff;
  border-top: 1px solid var(--rule);
  padding: 5rem;
  scroll-margin-top: 84px;
}

.waitlist-inner {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
}

.waitlist-inner .section-label { color: var(--teal); }

.waitlist-inner h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--charcoal);
  margin-bottom: 0.85rem;
}

.waitlist-inner > p {
  color: var(--mid-gray);
  line-height: 1.75;
  margin-bottom: 1.75rem;
}

.waitlist-inner .email-capture-form { max-width: 480px; margin: 0 auto; }
.waitlist-inner .email-capture-status { text-align: center; }
.waitlist-inner .email-capture-note { text-align: center; }

/* Inline waitlist used inside enroll/referral CTA blocks */
.referral-waitlist { max-width: 640px; margin: 0 auto; }
.referral-waitlist p { color: var(--mid-gray); font-size: 0.95rem; line-height: 1.75; margin: 0 0 1rem; }
.referral-waitlist .email-capture-form { max-width: 520px; margin: 0 auto; }
.referral-waitlist .email-capture-status { text-align: center; }

/* ── CONTACT PAGE ── */
.contact-grid {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 5rem 6rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-panel {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 20px;
  padding: 2.5rem;
}

.contact-panel h2 {
  font-family: 'Fraunces', serif;
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--charcoal);
  letter-spacing: -0.01em;
  margin-bottom: 0.6rem;
}

.contact-panel p {
  font-size: 0.92rem;
  color: var(--mid-gray);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.contact-panel .email-capture-form { max-width: 100%; }

.contact-direct { display: flex; flex-direction: column; gap: 2rem; }

.contact-direct-item { padding-bottom: 1.75rem; border-bottom: 1px solid var(--rule); }
.contact-direct-item:last-child { border-bottom: none; padding-bottom: 0; }

.contact-direct-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.6rem;
}

.contact-direct-item p { font-size: 0.92rem; color: var(--mid-gray); line-height: 1.75; }
.contact-direct-item a { color: var(--teal); font-weight: 600; text-decoration: none; }
.contact-direct-item a:hover { color: var(--teal-dark); }

/* ── FOOTER LEGAL LINE ── */
.footer-legal {
  margin-top: 0.85rem;
  font-size: 0.72rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.35);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .waitlist-band { padding: 3.5rem 1.75rem; scroll-margin-top: 132px; }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; padding: 0 1.75rem 4rem; }
  .contact-panel { padding: 2rem; }
}

@media (max-width: 520px) {
  .email-capture-form { flex-direction: column; }
  .email-capture-form button { width: 100%; }
}
