/* The waitlist form, its done state, and the waitlist and privacy pages
 * (spec 2026-10-16 §8). Tokens only; no new colours. */
.wl { display: flex; flex-direction: column; gap: 10px; max-width: 560px; }
.wl-form { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.wl-input { flex: 1 1 240px; min-width: 0; height: 52px; padding: 0 16px; border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .14); background: rgba(14, 18, 22, .7); color: var(--ink);
  font: inherit; font-size: 16px; }
.wl-input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.wl-btn { height: 52px; padding: 0 22px; font-size: 16px; }
.wl-msg { flex-basis: 100%; margin: 0; min-height: 1lh; font-size: 14px; color: var(--ink-2); }
.wl-fine { flex-basis: 100%; margin: 0; font-size: 13px; }
.wl-form noscript { flex-basis: 100%; }
.wl-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.wl-done { padding: 18px; border-radius: 16px; display: flex; flex-direction: column; gap: 10px; }
.wl-done:focus { outline: none; }
.wl-done:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.wl-place { margin: 0; font-size: 18px; font-weight: 600; }
.wl-sharerow { display: flex; gap: 8px; flex-wrap: wrap; }
.wl-share { flex: 1 1 220px; min-width: 0; height: 44px; padding: 0 12px; border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .12); background: rgba(14, 18, 22, .7); color: var(--ink); font-size: 13px; }
.wl-copy { height: 44px; }
.wl-rule { margin: 0; font-size: 13px; }
.wl-page { box-sizing: border-box; max-width: 720px; margin: 0 auto; padding: 72px 16px 48px;
  display: flex; flex-direction: column; gap: 22px; }
.wl-page h1 { margin: 0; font-size: 34px; line-height: 1.15; letter-spacing: -.02em; font-weight: 600; }
.wl-page p, .wl-page li { font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.wl [hidden], .wl-page [hidden] { display: none !important; }
/* THE SWITCH (ruling 16). The server writes data-gate="open" or "closed" on
 * <html> of the landing and /waitlist.html as it sends them (main._fill), and
 * each block of copy is in the file twice, data-wl="closed" and "open". The
 * one the switch names is right from the first paint, so nothing is swapped
 * under the reader. A page sent without the attribute shows the waitlist. */
[data-gate="open"] [data-wl="closed"],
[data-gate="closed"] [data-wl="open"],
html:not([data-gate]) [data-wl="open"] { display: none !important; }
/* Where the form and the way in replace each other (the hero and the final
 * call), both are laid out in one cell and only the one in force is
 * painted: the row is as tall either way, at every width. */
.wl-slot { display: grid; }
html .wl-slot > [data-wl] { grid-area: 1 / 1; display: flex !important; }
[data-gate="open"] .wl-slot > [data-wl="closed"],
[data-gate="closed"] .wl-slot > [data-wl="open"],
html:not([data-gate]) .wl-slot > [data-wl="open"] { visibility: hidden; }
.wl-open { align-items: flex-start; }
.wl-open p { margin: 0; }
/* The static footer, for the pages that do not load shell.css (the same
 * credit and links as every other page's .sitefoot). */
.wl-page ~ .sitefoot { box-sizing: border-box; max-width: 720px; margin: 0 auto; padding: 8px 16px 32px;
  display: flex; flex-direction: column; gap: 4px; border-top: 1px solid var(--line-soft);
  font-size: 12px; line-height: 1.5; color: var(--ink-3); }
.wl-page ~ .sitefoot p { margin: 0; }
.wl-page ~ .sitefoot .sitefoot__nav { display: flex; flex-wrap: wrap; column-gap: 4px; margin: 0 -8px; }
.wl-page ~ .sitefoot .sitefoot__nav a { display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; min-width: 44px; padding: 0 8px; color: var(--ink-2); text-decoration: none; }
.wl-page ~ .sitefoot a:hover { color: var(--ink); }
.wl-page ~ .sitefoot .sitefoot__maker a { color: var(--ink-2); }
