/* ─────── Waitlist modal ─────── */
.wl-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 26, 46, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 1000;
  display: none;
  align-items: flex-start;
  justify-content: center;
  overflow-y: auto;
  padding: 56px 20px;
  opacity: 0;
  transition: opacity .25s ease;
}
.wl-overlay.is-open { display: flex; opacity: 1; }
body.wl-locked { overflow: hidden; }

.wl-modal {
  width: 100%;
  max-width: 980px;
  background: var(--night);
  color: var(--stone);
  border: 1px solid rgba(242,237,228,0.10);
  border-radius: 4px;
  position: relative;
  transform: translateY(12px);
  transition: transform .25s ease;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}
.wl-overlay.is-open .wl-modal { transform: translateY(0); }

.wl-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid rgba(242,237,228,0.18);
  color: var(--stone);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
  transition: background .15s ease, border-color .15s ease;
  z-index: 2;
}
.wl-close:hover { background: rgba(242,237,228,0.08); border-color: rgba(242,237,228,0.4); }

.wl-body {
  padding: 56px 56px 48px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
}
@media (max-width: 820px) {
  .wl-body { grid-template-columns: 1fr; padding: 48px 28px 36px; gap: 32px; }
  .wl-overlay { padding: 24px 12px; }
}

.wl-side .eyebrow { color: rgba(242,237,228,0.55); }
.wl-side h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 32px;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 12px 0 16px;
  color: var(--stone);
}
.wl-side p {
  color: rgba(242,237,228,0.7);
  font-size: 14px;
  line-height: 1.55;
  margin: 0 0 24px;
}
.wl-side ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: rgba(242,237,228,0.85);
  font-size: 13px;
  line-height: 1.5;
}
.wl-side ul li { display: flex; gap: 12px; }
.wl-side ul li span { font-family: var(--mono); color: #C9A777; flex: 0 0 auto; }
.wl-side .meta { color: rgba(242,237,228,0.5); margin-top: 28px; font-size: 11px; }
.wl-side .meta a { color: #C9A777; }

.wl-form .form-fields { display: flex; flex-direction: column; gap: 14px; }
.wl-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.wl-form .field label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(242,237,228,0.6);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.wl-form input,
.wl-form select,
.wl-form textarea {
  width: 100%;
  background: rgba(242,237,228,0.04);
  border: 1px solid rgba(242,237,228,0.14);
  color: var(--stone);
  font-family: var(--ui);
  font-size: 14px;
  padding: 11px 14px;
  border-radius: 3px;
  outline: none;
  transition: border-color .15s ease, background .15s ease;
}
.wl-form input::placeholder,
.wl-form textarea::placeholder { color: rgba(242,237,228,0.3); }
.wl-form input:focus,
.wl-form select:focus,
.wl-form textarea:focus {
  border-color: var(--moss);
  background: rgba(242,237,228,0.07);
}
.wl-form select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%23F2EDE4' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.wl-form select option { background: var(--night); color: var(--stone); }
.wl-form textarea { min-height: 84px; resize: vertical; font-family: var(--ui); }

.wl-form .submit-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 6px;
  flex-wrap: wrap;
}
.wl-form .cap { color: rgba(242,237,228,0.5); font-size: 11px; letter-spacing: 0.04em; }
.wl-form .rgpd {
  font-size: 10.5px;
  line-height: 1.5;
  color: rgba(242,237,228,0.42);
  margin: 8px 0 0;
}
.wl-form .rgpd a { color: rgba(242,237,228,0.7); }

.wl-form .confirm { display: none; padding: 24px 0; }
.wl-form .confirm h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 24px;
  letter-spacing: -0.02em;
  color: var(--stone);
  margin: 0 0 12px;
}
.wl-form .confirm p { color: rgba(242,237,228,0.7); font-size: 14px; line-height: 1.55; margin: 0; }
.wl-form .confirm a { color: var(--paper); text-decoration: underline; }
.wl-form.is-sent .form-fields { display: none; }
.wl-form.is-sent .confirm { display: block; }
