/* Waitlist form. Link after the page's own <style>, same as consent.css. */

.wl {
  width: 100%;
  max-width: 460px;
}

.wl-label {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--slate-muted, #4A5968);
  margin-bottom: 8px;
}


.wl-row {
  display: flex;
  gap: 10px;
  align-items: stretch;
}

.wl-input {
  flex: 1 1 auto;
  min-width: 0;
  font-family: inherit;
  font-size: 1rem;
  color: var(--slate, #2C3E50);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(44, 62, 80, 0.28);
  border-radius: 8px;
  padding: 13px 16px;
  transition: border-color 180ms ease, background-color 180ms ease;
}

.wl-input::placeholder { color: rgba(74, 89, 104, 0.7); }

.wl-input:hover { background: rgba(255, 255, 255, 0.9); }

.wl-input:focus {
  outline: none;
  background: #fff;
  border-color: var(--orange-cta, #C2410C);
}

.wl-input:focus-visible {
  outline: 3px solid var(--focus, #0B5CAD);
  outline-offset: 2px;
}

.wl-btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background: var(--orange-cta, #C2410C);
  border: 1px solid var(--orange-cta, #C2410C);
  border-radius: 8px;
  padding: 13px 24px;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(194, 65, 12, 0.25);
  transition: background-color 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.wl-btn:hover:not(:disabled) {
  background: var(--orange-cta-hover, #9A3412);
  border-color: var(--orange-cta-hover, #9A3412);
  box-shadow: 0 8px 22px rgba(194, 65, 12, 0.35);
}

.wl-btn:disabled {
  opacity: 0.6;
  cursor: default;
  box-shadow: none;
}

.wl-btn:focus-visible {
  outline: 3px solid var(--focus, #0B5CAD);
  outline-offset: 3px;
}

.wl-btn svg { transition: transform 200ms ease; }

.wl-btn:hover:not(:disabled) svg { transform: translateX(3px); }

/* Empty until the field is used. .is-live holds the height so nothing jumps. */
.h-captcha { margin-top: 14px; }

.h-captcha.is-live { min-height: 78px; }

/* The widget is a fixed 303px iframe and will not reflow. */
@media (max-width: 359px) {
  .h-captcha {
    transform: scale(0.88);
    transform-origin: left top;
  }
  .h-captcha.is-live { min-height: 70px; }
}

/* Holds its line either way, so submitting does not shift the layout. */
.wl-msg {
  min-height: 1.4em;
  margin-top: 10px;
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--slate-muted, #4A5968);
  text-align: left;
}

.wl-msg.is-error { color: var(--orange-pill, #9A3412); }

.wl-done {
  font-size: 1rem;
  line-height: 1.5;
  color: var(--slate, #2C3E50);
  padding: 14px 0;
}

.wl-note {
  margin-top: 10px;
  font-size: 0.8125rem;
  color: var(--slate-muted, #4A5968);
}

.wl-note a {
  color: var(--slate-muted, #4A5968);
  text-decoration: none;
  border-bottom: 1px solid var(--border, rgba(44, 62, 80, 0.18));
}

.wl-note a:hover { color: var(--cyan, #167C89); border-color: var(--cyan, #167C89); }

/* Honeypot: off-screen rather than display:none, which bots detect. */
.wl-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none;
}

@media (max-width: 560px) {
  .wl-row { flex-direction: column; }
  .wl-btn { padding: 14px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .wl-input, .wl-btn, .wl-btn svg {
    transition-duration: 0.01ms !important;
  }
}
