/* Waitlist page, styled like the dashboards: mint page with a faint grid, a large
   left-aligned heading with small tinted chips, white cards, a tinted segmented
   control (as in the dashboard tabs) and tidy bordered rows with icon tiles.
   No blur or backdrop effects anywhere on this page. */
body.waitlist-page.application-page::before{background:radial-gradient(circle at 2% 0%,rgba(126,195,164,.3),transparent 32rem),radial-gradient(circle at 100% 32%,rgba(223,210,175,.28),transparent 34rem),#eef3ec;will-change:auto}
body.waitlist-page::after{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;background-image:linear-gradient(rgba(21,61,50,.024) 1px,transparent 1px),linear-gradient(90deg,rgba(21,61,50,.024) 1px,transparent 1px);background-size:48px 48px;-webkit-mask-image:linear-gradient(#000,transparent 76%);mask-image:linear-gradient(#000,transparent 76%)}

.wl-shell{width:min(760px,calc(100% - 48px));margin:0 auto;padding:20px 0 80px}
.wl-shell:focus{outline:none}
.wl-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:30px 0 28px}
.wl-heading h1{margin:0;padding-bottom:.08em;font-size:clamp(2.5rem,4vw,3.6rem);line-height:1.05;letter-spacing:-.05em}

.wl-layout{display:block}
.wl-layout[hidden]{display:none}
.wl-card{padding:30px;border:1px solid rgba(23,63,53,.13);border-radius:23px;background:rgba(255,254,250,.91);box-shadow:0 16px 45px rgba(23,63,53,.075),0 2px 7px rgba(23,63,53,.04)}
.wl-card h2{margin:0;padding-bottom:.08em;font-size:clamp(1.6rem,2.4vw,2rem);line-height:1.15;letter-spacing:-.045em}
.wl-card-head{margin-bottom:30px}
.wl-card-head[hidden]{display:none}

/* Form */
.wl-form{display:grid;grid-template-columns:1fr 1fr;gap:20px 16px}
.wl-form[hidden]{display:none}
.wl-field{display:flex;min-width:0;flex-direction:column;gap:8px;margin:0;padding:0;border:0}
.wl-wide{grid-column:1/-1}
.wl-label{padding:0;color:var(--forest-deep);font-size:.8rem;font-weight:800}
.wl-input{width:100%;min-height:48px;padding:13px 14px;border:1px solid rgba(23,63,53,.16);border-radius:11px;outline:none;color:var(--text);background:#fffefa;font:inherit;font-size:max(16px,.95rem);transition:border-color .18s ease,box-shadow .18s ease}
.wl-input::placeholder{color:#97a29d}
.wl-input:hover{border-color:rgba(23,63,53,.3)}
.wl-input:focus{border-color:var(--forest);box-shadow:0 0 0 3px rgba(57,167,123,.22)}
.wl-field[data-invalid] .wl-input{border-color:var(--error)}
.wl-error{margin:0;color:var(--error);font-size:.78rem;font-weight:700;line-height:1.4}
.wl-error:empty{display:none}

/* Yes / No, built like the dashboard tab control */
.wl-seg{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:6px;border:1px solid rgba(36,90,74,.13);border-radius:16px;background:#edf3ee}
.wl-seg-option{position:relative;display:block;cursor:pointer}
.wl-seg-option input{position:absolute;opacity:0;width:1px;height:1px;pointer-events:none}
.wl-seg-face{display:flex;align-items:center;justify-content:center;gap:10px;min-height:52px;padding:12px 14px;border:1px solid transparent;border-radius:11px;color:var(--forest-deep);font-size:.83rem;font-weight:800;text-align:center;transition:background-color .18s ease,border-color .18s ease,box-shadow .18s ease}
.wl-seg-face svg{width:22px;height:22px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.wl-seg-option:hover .wl-seg-face{background:#fffefa}
.wl-seg-option input:checked+.wl-seg-face{border-color:rgba(36,90,74,.12);background:#fffefa;box-shadow:0 3px 10px rgba(23,63,53,.04)}
.wl-seg-option input:focus-visible+.wl-seg-face{outline:3px solid var(--green);outline-offset:2px}
.wl-field[data-invalid] .wl-seg{border-color:var(--error)}

/* Consent row, like a dashboard list row */
.wl-consent{display:grid;grid-template-columns:auto 1fr;gap:13px;align-items:start;padding:13px 14px;border:1px solid rgba(36,90,74,.17);border-radius:12px;background:#fffefa;cursor:pointer;transition:border-color .18s ease,background-color .18s ease}
.wl-consent:hover{border-color:var(--forest);background:#edf5ee}
.wl-consent input{position:absolute;opacity:0;width:1px;height:1px;pointer-events:none}
.wl-tick{display:grid;place-items:center;width:24px;height:24px;margin-top:1px;border:1.5px solid var(--line-strong);border-radius:7px;color:#fff;background:#fff;transition:background-color .18s ease,border-color .18s ease}
.wl-tick svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:22;stroke-dashoffset:22;transition:stroke-dashoffset .2s ease .03s}
.wl-consent input:checked+.wl-tick{border-color:var(--forest);background:var(--forest)}
.wl-consent input:checked+.wl-tick svg{stroke-dashoffset:0}
.wl-consent input:focus-visible+.wl-tick{outline:3px solid var(--green);outline-offset:2px}
.wl-field[data-invalid] .wl-consent{border-color:var(--error)}
.wl-consent-text{color:#49665a;font-size:.86rem;line-height:1.55}
.wl-consent-text a{color:var(--forest);font-weight:700;text-underline-offset:3px}

.wl-trap{position:absolute;left:-9999px;width:1px;height:1px;opacity:0}

/* Footer: status on the left, your normal primary button on the right */
.wl-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;grid-column:1/-1}
.wl-status{flex:1;margin:0;font-size:.8rem;line-height:1.45}
.wl-status:empty{display:none}
.wl-status:not(:empty){padding:10px 12px;border-radius:9px;color:#9e3342;background:#fcecef}
.wl-status[data-state="info"]:not(:empty){color:#6b5a31;background:#f9f2df}
.wl-footer .wl-submit{margin-left:auto}
.wl-card .wl-submit{min-height:50px;padding:13px 22px;border-radius:10px;font-size:.875rem;gap:14px}
.wl-card .wl-submit svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}

/* Success */
.wl-done{padding:18px;border:1px solid #b9ddcb;border-radius:13px;background:#f0f8f4}
.wl-done[hidden]{display:none}
.wl-done:focus{outline:none}
.wl-done-row{display:flex;align-items:flex-start;gap:14px}
.wl-done h3{margin:2px 0 16px;color:var(--forest-deep);font-size:1.25rem;letter-spacing:-.03em}
.wl-done p{margin:0 0 16px;color:#365b49;font-size:.9rem;line-height:1.6}

.wl-nojs{margin:24px 0;color:#49665a;font-size:.9rem}

@media(max-width:900px){.wl-heading{align-items:flex-start;flex-direction:column;gap:16px}}
@media(max-width:640px){.wl-shell{width:min(100% - 24px,1240px);padding-top:12px}.wl-card{padding:22px 18px;border-radius:18px}.wl-form{grid-template-columns:1fr}.wl-footer{flex-direction:column-reverse;align-items:stretch}.wl-card .wl-submit{width:100%}.wl-seg-face{flex-direction:column;gap:4px;min-height:60px}}
@media(prefers-reduced-motion:reduce){.wl-input,.wl-seg-face,.wl-consent,.wl-tick,.wl-tick svg{transition:none}}
