/* The short waitlist (landing page and role pages): one column, three required fields,
   details tucked under "Add details", errors beside each field, and a confirmation that
   takes the form's place. Behaviour is in role-page.js (form.lq-form). */
#waitlist { scroll-margin-top: 84px; }
.lq-wl { padding: 1.6rem 0 4.5rem; }
.lq-wl-in { max-width: 38rem; margin: 0 auto; }
.lq-wl-title { margin: 0 0 1.4rem; text-align: center; text-wrap: balance; }
.lq-form .waitlist-head p { text-wrap: pretty; }
form.lq-form :is(input, select, textarea) { caret-color: var(--mushroom); }
form.lq-form :is(input, select, textarea):focus { outline: 2px solid var(--mushroom); outline-offset: 1px; border-color: transparent; }
.lq-err { font-size: 0.8rem; color: #ffb3a6; }
.lq-err:empty { display: none; }
.lq-form [aria-invalid="true"] { border-color: rgb(255 179 166 / 0.85); }
.lq-extra { border-top: 1px solid var(--edge); border-bottom: 1px solid var(--edge); }
.lq-extra summary { display: flex; align-items: center; gap: 0.5rem; padding: 0.75rem 0; cursor: pointer; list-style: none; font-size: 0.9rem; color: var(--ink-2); }
.lq-extra summary::-webkit-details-marker { display: none; }
.lq-extra summary::before { content: ""; width: 0.5rem; height: 0.5rem; border-right: 1.5px solid var(--mushroom); border-bottom: 1.5px solid var(--mushroom); transform: rotate(-45deg); transition: transform 0.2s var(--ease-out); }
.lq-extra[open] summary::before { transform: rotate(45deg); }
.lq-extra summary span { color: var(--ink-3); }
.lq-extra summary:focus-visible { outline: 2px solid var(--mushroom); outline-offset: 3px; border-radius: 4px; }
.lq-extra-in { display: grid; gap: 0.9rem; padding: 0 0 1rem; }
/* Sent (v3, from the 2026-11-15 motion audit): the shared crossfade in site.css runs:
   the fields fade out with a slight blur (160ms) and the thank-you rises in (320ms) in the
   same box, which keeps its height, so the page doesn't jump. The hidden fields are made
   inert by the script. */
@media (prefers-reduced-motion: reduce) {
  form.join > *, form.join .wl-done, form.join .wl-done img { transition: none !important; }
}
@media (max-width: 640px) {
  form.lq-form { grid-template-columns: 1fr; }
  .lq-wl { padding-bottom: 3rem; }
}
@media (prefers-reduced-motion: reduce) { .lq-extra summary::before { transition: none; } }
