/* Closed-launch waitlist page + modal */
.page-waitlist .wl-main {
  min-height: calc(100vh - 4rem);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem 3rem;
}
.wl-card {
  width: min(420px, 100%);
  background: var(--card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.75rem 1.5rem 1.5rem;
}
.wl-card h1 {
  margin: 0 0 0.65rem;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}
.wl-msg {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0 0 1.15rem;
  line-height: 1.55;
}
.wl-form label {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}
.wl-form input[type="email"] {
  width: 100%;
  box-sizing: border-box;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: rgba(0, 0, 0, 0.25);
  color: var(--text);
  font-size: 0.95rem;
  margin-bottom: 0.85rem;
}
.wl-form .btn {
  width: 100%;
}
.wl-err {
  color: #f87171;
  font-size: 0.88rem;
  margin: 0 0 0.75rem;
}
.wl-ok {
  color: #4ade80;
  font-size: 0.92rem;
  margin: 0 0 0.75rem;
  line-height: 1.5;
}
.wl-foot {
  margin: 1.15rem 0 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
}
.wl-foot a {
  color: var(--accent);
}

/* Modal overlay on home */
.wl-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
}
.wl-modal-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}
.wl-modal {
  width: min(400px, 100%);
  background: var(--card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.35rem 1.25rem 1.15rem;
  position: relative;
}
.wl-modal h2 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
}
.wl-modal .wl-close {
  position: absolute;
  top: 0.65rem;
  right: 0.75rem;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.35rem;
  cursor: pointer;
  line-height: 1;
}
.wl-modal .wl-close:hover {
  color: var(--text);
}
.wl-modal-status {
  font-size: 0.88rem;
  margin: 0 0 0.65rem;
  line-height: 1.4;
}
.wl-modal-status.is-ok { color: #4ade80; }
.wl-modal-status.is-err { color: #f87171; }

