/* Dustforge waitlist.
   Each site sets its own palette via --wl-* variables (see its own stylesheet);
   the defaults inherit the page colour so a page that sets nothing still looks native. */
.waitlist {
  --wl-accent: currentColor;
  --wl-on-accent: #ffffff;
  --wl-line: color-mix(in srgb, currentColor 22%, transparent);
  --wl-muted: color-mix(in srgb, currentColor 68%, transparent);
  margin: 46px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--wl-line);
  max-width: 760px;
}
.waitlist h2 {
  margin: 0 0 8px;
  font-size: 1.06rem;
  font-weight: 650;
  letter-spacing: -0.01em;
}
.waitlist .lede {
  margin: 0 0 18px;
  max-width: 62ch;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--wl-muted);
}
.waitlist form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: stretch;
}
.waitlist input[type="email"] {
  flex: 1 1 260px;
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid var(--wl-line);
  border-radius: 9px;
  background: transparent;
  color: inherit;
  font: inherit;
}
.waitlist input[type="email"]::placeholder { color: var(--wl-muted); }
.waitlist input[type="email"]:focus-visible,
.waitlist button:focus-visible {
  outline: 2px solid var(--wl-accent);
  outline-offset: 2px;
}
.waitlist button {
  min-height: 50px;
  margin: 0;
  padding: 0 20px;
  border: 1px solid var(--wl-accent);
  border-radius: 9px;
  background: var(--wl-accent);
  color: var(--wl-on-accent);
  font: inherit;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
}
.waitlist button:hover { filter: brightness(1.08); }
.waitlist button[disabled] { opacity: 0.6; cursor: default; }
.waitlist .fine {
  margin: 14px 0 0;
  max-width: 70ch;
  font-size: 0.78rem;
  line-height: 1.6;
  color: var(--wl-muted);
}
.waitlist .status { margin: 12px 0 0; font-size: 0.86rem; }
.waitlist .status.error { color: #b32d25; }
.waitlist .sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
