/* Mazzy marketing — pre-launch waitlist (D-195).
   One compact block on the home page. Colours come from site.css semantic
   tokens, so the block flips with the site's dark mode without a second set. */

.mz-waitlist {
  /* The waitlist surface is lighter than the page; the secondary content
     token needs a darker value here to keep 4.5:1. Scoped to the block. */
  --ink-2: #5f5d59;
  --muted: #5f5d59;
  --mv-color-content-secondary: #5f5d59;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--rule);
  background: var(--surface);
}

.mz-waitlist__copy .kicker {
  margin-bottom: 12px;
}

.mz-waitlist__lede {
  margin: 0;
  max-width: 46ch;
  color: var(--ink-2);
  font-size: 17px;
  line-height: 1.5;
}

.mz-waitlist__fine {
  margin: 16px 0 0;
  max-width: 52ch;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.mz-waitlist__fine a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.mz-waitlist__form {
  display: grid;
  gap: 14px;
  align-content: start;
}

.mz-waitlist__field {
  display: grid;
  gap: 6px;
}

.mz-waitlist__field label {
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mz-waitlist__field input[type='email'] {
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
}

.mz-waitlist__field input[type='email']::placeholder {
  color: var(--muted);
}

.mz-waitlist__field input[type='email']:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 1px;
}

.mz-waitlist__consent {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  color: var(--ink-2);
  font-size: 13.5px;
  line-height: 1.45;
  cursor: pointer;
}

.mz-waitlist__consent input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--signal);
}

/* Honeypot: present for bots, unreachable and unannounced for people. */
.mz-waitlist__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.mz-waitlist__submit {
  justify-self: start;
}

.mz-waitlist__status {
  margin: 0;
  min-height: 1.2em;
  color: var(--ink-2);
  font-size: 13.5px;
  line-height: 1.45;
}

.mz-waitlist__status[data-state='error'] {
  color: var(--signal-strong);
  font-weight: 600;
}

.mz-waitlist__status[data-state='success'] {
  color: var(--ink);
  font-weight: 600;
}

@media (max-width: 860px) {
  .mz-waitlist {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mz-waitlist * {
    transition: none;
  }
}

[data-theme='dark'] .mz-waitlist {
  --ink-2: #aab8c9;
  --muted: #aab8c9;
  --mv-color-content-secondary: #aab8c9;
}
