/* The waiting-list sign-up for the versions that have no dialog styles of their own (C, D, G, H, I).
   site.js opens #note-dialog from any [data-open-note] control and posts it to /api/contact.
   Each page sets the colours with the --wl-* properties in a style attribute. */
.note-dialog { width: min(100% - 32px, 560px); margin: auto; padding: 0; border: 0; border-radius: 6px; background: var(--wl-bg, #fff); color: var(--wl-ink, #141414); box-shadow: 0 30px 80px rgba(0, 0, 0, .35); font-family: inherit; }
.note-dialog::backdrop { background: rgba(10, 12, 12, .62); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.note-head { position: relative; padding: 26px 28px 0; }
.note-kicker { margin: 0 0 8px; padding-right: 52px; font-size: 12px; font-weight: 600; letter-spacing: .14em; line-height: 1.4; text-transform: uppercase; color: var(--wl-muted, #5f6368); }
.note-title { margin: 0; padding-right: 44px; font-size: 32px; line-height: 1.05; font-weight: 800; letter-spacing: -.01em; }
.note-close { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--wl-line, #d6d6d6); border-radius: 50%; background: transparent; color: inherit; font-size: 24px; line-height: 1; cursor: pointer; }
.contact-form { display: grid; gap: 14px; padding: 20px 28px 28px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 13px; font-weight: 600; letter-spacing: .03em; }
.field .opt { margin-left: 4px; font-weight: 400; color: var(--wl-muted, #5f6368); }
.field input, .field textarea { width: 100%; box-sizing: border-box; padding: 12px 13px; border: 1.5px solid var(--wl-line, #d6d6d6); border-radius: 4px; background: #fff; color: #141414; font: inherit; font-size: 16px; }
.field textarea { resize: vertical; min-height: 88px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--wl-accent, #141414); box-shadow: 0 0 0 3px rgba(0, 0, 0, .12); }
.field [aria-invalid="true"] { border-color: #c2261a; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-note { margin: 0; min-height: 1.4em; font-size: 14px; color: var(--wl-muted, #5f6368); }
.form-note:empty { display: none; }
.form-note.is-error { color: #b3261e; font-weight: 600; }
.note-submit { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 52px; border: 0; border-radius: 4px; background: var(--wl-accent, #141414); color: var(--wl-on-accent, #fff); font: inherit; font-weight: 700; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }
.note-submit[aria-busy="true"] { opacity: .6; }
.note-submit:focus-visible, .note-close:focus-visible { outline: 3px solid var(--wl-accent, #141414); outline-offset: 3px; }
.form-done { display: grid; gap: 10px; padding: 24px 28px 28px; }
.form-done[hidden] { display: none; }
.done-title { margin: 0; font-size: 28px; font-weight: 800; }
.done-copy { margin: 0 0 8px; color: var(--wl-muted, #5f6368); }
@media (prefers-reduced-motion: no-preference) { .note-dialog[open] { animation: wl-in .25s ease-out; } }
@keyframes wl-in { from { opacity: 0; transform: translateY(12px); } }

/* The button that opens it, inside each page's "new families" section. */
.wl-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 52px; margin-top: 18px; padding: 0 20px; border: 0; border-radius: var(--wl-btn-radius, 0); background: var(--wl-btn-bg, #141414); color: var(--wl-btn-ink, #fff); font: inherit; font-weight: 600; font-size: 14px; letter-spacing: .04em; text-decoration: none; cursor: pointer; }
.wl-button:hover { filter: brightness(1.12); }
.wl-button span { font-size: 20px; line-height: 1; }
.wl-link { color: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
