/* The mailing list's sign-up block (Home's band and /download/, js/waitlist.js) and the two small pages the mail's
   links lead to (/waitlist/confirmed/, /waitlist/unsubscribed/). A dark panel in the cards' style, left-aligned
   even inside the centred band, so the field, the choice and the box read top to bottom. */
.signup {
  max-width: 560px; margin: 36px auto 0; text-align: left; padding: 26px 28px 24px;
  background: color-mix(in srgb, var(--panel) 92%, transparent); border: var(--border);
  border-radius: var(--radius); box-shadow: var(--card-shadow);
}
.signup h2, .signup h3 { margin: 0 0 6px; font-size: 1.3rem; }
.signup > p { color: var(--muted); margin: 0 0 18px; }
.signup .field input { width: 100%; }
.signup .field input:focus-visible, .signup input:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.signup fieldset { border: 0; margin: 0 0 14px; padding: 0; }
.signup legend { font-weight: 700; margin-bottom: 8px; }
.signup .choice { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.signup .choice label {
  display: flex; align-items: center; gap: 10px; cursor: pointer; padding: 12px 14px; min-height: 48px;
  background: var(--surface); border: var(--border); border-radius: var(--radius); font-weight: 600;
}
.signup .choice label:has(input:checked) { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.signup input[type="radio"], .signup input[type="checkbox"] { accent-color: var(--accent); width: 18px; height: 18px; flex: none; }
.signup .consent { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: 0.92rem; margin: 4px 0 18px; cursor: pointer; }
.signup .consent input { margin-top: 3px; }
.signup .consent a { color: var(--link); }
.signup .btn { width: 100%; justify-content: center; }
.signup-status { min-height: 1.5em; margin: 12px 0 0; font-weight: 600; }
.signup-status.is-bad { color: var(--bad); }
.signup-done { text-align: center; padding-block: 12px; }
.signup-done h2, .signup-done h3 { color: var(--good); }
.signup-done p { color: var(--muted); margin: 0; }
/* the honeypot: out of sight and out of the tab order; only a bot fills it */
.signup .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 520px) {
  .signup { padding: 22px 18px 20px; }
  .signup .choice { grid-template-columns: 1fr; }
}

/* /waitlist/confirmed/ and /waitlist/unsubscribed/: one message on the page's hero */
.waitlist-page [hidden] { display: none; }
.waitlist-page .actions { margin-top: 26px; }
