/* ═══════════════════════════════════════════════════════════════
   TEAMS WAITLIST — styles

   The modal public/waitlist.js has been asking for. That file has
   been shipping for several batches against markup that did not
   exist, so `document.getElementById('wlModal')` returned null and it
   returned early on every page load — no error, no warning, and a
   "Coming soon" card with nothing behind it.

   Small surface, and the whole job is: be dismissable, be reachable
   by keyboard, and do not look like a different product from the
   pricing page it opens over.
   ═══════════════════════════════════════════════════════════════ */

.wl {
  position: fixed;
  inset: 0;
  z-index: 8000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: rgba(4, 7, 12, .72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: wlIn .18s ease;
}
/* waitlist.js toggles `hidden`, and a flex display beats it without
   this — the modal would sit open on every page load. */
.wl[hidden] { display: none; }

@keyframes wlIn { from { opacity: 0 } to { opacity: 1 } }

.wl__box {
  position: relative;
  width: min(460px, 100%);
  max-height: 100%;
  overflow-y: auto;
  padding: var(--s-11) 26px var(--s-10);
  border-radius: 18px;
  border: 1px solid var(--border);
  background: linear-gradient(168deg, rgba(28, 36, 50, .96), rgba(11, 15, 22, .98));
  box-shadow: 0 40px 110px rgba(0, 0, 0, .58);
  animation: wlUp .22s cubic-bezier(.2, .8, .2, 1);
}
@keyframes wlUp { from { transform: translateY(10px) } to { transform: none } }

.wl__x {
  position: absolute;
  top: 14px; right: 14px;
  width: 30px; height: 30px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  font-size: var(--t-base);
  line-height: 1;
  cursor: pointer;
}
.wl__x:hover { color: var(--ink); border-color: var(--border-hi); }

.wl__eyebrow {
  font-family: var(--mono);
  font-size: var(--t-2xs);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent2);
  margin-bottom: var(--s-5);
}
.wl__t {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--ink);
  margin-bottom: 9px;
}
.wl__d {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--dim);
  margin-bottom: var(--s-9);
}

.wl__field { margin-bottom: 13px; }
.wl__label {
  display: block;
  font-size: var(--t-sm);
  font-weight: 600;
  color: var(--muted);
  margin-bottom: var(--s-3);
}
.wl__in {
  width: 100%;
  padding: 11px 13px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(6, 10, 16, .5);
  color: var(--ink);
  font: inherit;
  font-size: var(--t-md);
}
.wl__in:focus {
  outline: none;
  border-color: var(--border-hi);
  box-shadow: 0 0 0 3px rgba(34, 211, 166, .12);
}
.wl__in::placeholder { color: var(--dim); }
textarea.wl__in { resize: vertical; min-height: 74px; line-height: 1.55; }

.wl__go {
  width: 100%;
  margin-top: var(--s-2);
  padding: var(--s-6) 18px;
  border-radius: 10px;
  border: none;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #04121a;
  font: inherit;
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .16s ease, filter .16s ease;
}
.wl__go:hover:not(:disabled) { filter: brightness(1.06); }
.wl__go:active:not(:disabled) { transform: translateY(1px); }
.wl__go:disabled { opacity: .6; cursor: default; }

.wl__msg {
  margin-top: 13px;
  font-size: var(--t-base);
  line-height: 1.55;
  color: var(--accent2);
  min-height: 1px;
}
.wl__msg.err { color: #ff9db1; }

.wl__fine {
  margin-top: 15px;
  padding-top: var(--s-7);
  border-top: 1px solid var(--border);
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--dim);
}

/* ── The trigger on the Teams card ────────────────────────────── */

.wl__open {
  margin-top: var(--s-6);
  width: 100%;
  padding: 9px var(--s-7);
  border-radius: 9px;
  border: 1px solid var(--border-hi);
  background: rgba(34, 211, 166, .08);
  color: var(--accent2);
  font: inherit;
  font-size: var(--t-base);
  font-weight: 600;
  cursor: pointer;
  transition: background .16s ease;
}
.wl__open:hover { background: rgba(34, 211, 166, .16); }

@media (prefers-reduced-motion: reduce) {
  .wl, .wl__box { animation: none; }
  .wl__go { transition: none; }
  .wl__go:active:not(:disabled) { transform: none; }
}
