/* devotion.fm "Join the waitlist" (CIV-2677). Nikita, 24 Nov 2026: big title, one email field and a button, a
   short line, a social proof row; devotion's own black, logo on top, Inter Tight / Inter. A dialog over the
   landing (and /funding), opened by every "Join the waitlist" button and by devotion.fm/#waitlist.
   Its own file so the landing's style blocks stay untouched. Tokens fall back to the landing's values. */
.wl{position:fixed;inset:0;margin:auto;width:min(560px,calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:0;border:1px solid var(--line,#2a2828);border-radius:28px;background:#000;color:var(--text,#f2eeec);font-family:var(--f-body,"Inter",system-ui,sans-serif);box-shadow:0 40px 120px -20px rgba(0,0,0,.9),0 0 0 1px rgba(255,240,230,.04) inset;overflow:auto;overscroll-behavior:contain}
.wl:not([open]){display:none}
.wl::backdrop{background:rgba(5,4,4,.78);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
.wl[open]{animation:wl-in .38s cubic-bezier(.2,.8,.2,1)}
@keyframes wl-in{from{opacity:0;transform:translateY(14px) scale(.985)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.wl[open]{animation:none}}
html.wl-lock,html.wl-lock body{overflow:hidden}

.wl-in{position:relative;padding:44px 44px 36px;display:flex;flex-direction:column;align-items:center;text-align:center}
.wl-in::before{content:"";position:absolute;inset:0 0 auto;height:220px;border-radius:28px 28px 0 0;background:radial-gradient(60% 100% at 50% 0,rgba(242,129,65,.16),transparent 70%);pointer-events:none}
.wl-x{position:absolute;top:14px;right:14px;width:40px;height:40px;border-radius:50%;border:0;background:transparent;color:var(--muted,#a49e9c);display:grid;place-items:center;cursor:pointer;transition:background-color .2s,color .2s;z-index:1}
.wl-x:hover{background:rgba(255,255,255,.06);color:var(--text,#f2eeec)}
.wl-x:focus-visible{outline:2px solid var(--accent,#f28141);outline-offset:2px}
.wl-x svg{width:18px;height:18px}

.wl-logo{position:relative;display:inline-flex;align-items:center;gap:2px;margin-bottom:28px;color:var(--text,#f2eeec)}
.wl-logo .star{width:40px;height:40px;color:var(--accent,#f28141);margin-left:-8px}
.wl-logo .word{height:22px;width:auto;fill:currentColor}

.wl h2{position:relative;margin:0;font-family:var(--f-display,"Inter Tight",system-ui,sans-serif);font-weight:700;font-size:clamp(38px,8vw,56px);line-height:.98;letter-spacing:-.035em;text-wrap:balance}
.wl-lede{position:relative;margin:16px auto 0;max-width:44ch;color:var(--muted,#a49e9c);font-size:16px;line-height:1.5}

.wl-form{width:100%;margin-top:28px}
.wl-row{display:flex;gap:8px;padding:6px;border:1px solid var(--line,#2a2828);border-radius:999px;background:var(--surface,#161515);transition:border-color .2s,box-shadow .2s}
.wl-row:focus-within{border-color:rgba(242,129,65,.6);box-shadow:0 0 0 4px rgba(242,129,65,.12)}
.wl-row.bad{border-color:#e5484d}
.wl .wl-input{flex:1;min-width:0;height:48px;margin:0;padding:0 18px;border:0;border-radius:999px;background:transparent;box-shadow:none;color:var(--text,#f2eeec);font:inherit;font-size:16px;outline:none;-webkit-appearance:none;appearance:none}
.wl .wl-input:focus,.wl .wl-input:focus-visible{outline:none;box-shadow:none;border:0}
.wl-input::placeholder{color:var(--faint,#66605f)}
.wl-btn{flex:none;height:48px;padding:0 22px;border:0;border-radius:999px;background:var(--accent,#f28141);color:var(--on-accent,#141112);font:inherit;font-weight:600;font-size:15px;cursor:pointer;white-space:nowrap;box-shadow:0 1px 0 rgba(255,255,255,.25) inset,0 10px 30px -10px rgba(242,129,65,.7);transition:transform .2s,box-shadow .2s,opacity .2s}
.wl-btn:hover{transform:translateY(-1px);box-shadow:0 1px 0 rgba(255,255,255,.25) inset,0 16px 40px -10px rgba(242,129,65,.85)}
.wl-btn:focus-visible{outline:2px solid var(--text,#f2eeec);outline-offset:3px}
.wl-btn[disabled]{opacity:.6;cursor:progress;transform:none}
.wl-hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;opacity:0}
.wl-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.wl-err{margin:10px 0 0;color:#ff8f8f;font-size:14px}
.wl-fine{margin:14px auto 0;max-width:46ch;color:var(--faint,#8a8381);font-size:13px;line-height:1.5}
.wl-fine a{color:var(--muted,#a49e9c);text-decoration:underline;text-underline-offset:2px}

.wl-done{width:100%;margin-top:28px;padding:22px 20px;border:1px solid rgba(242,129,65,.35);border-radius:20px;background:rgba(242,129,65,.08)}
.wl-done h3{margin:0;font-family:var(--f-display,"Inter Tight",system-ui,sans-serif);font-weight:700;font-size:24px;letter-spacing:-.02em;display:inline-flex;align-items:center;gap:10px}
.wl-done h3 svg{width:22px;height:22px;color:var(--accent,#f28141)}
.wl-done p{margin:8px 0 0;color:var(--muted,#a49e9c);font-size:15px;overflow-wrap:anywhere}
.wl-done b{color:var(--text,#f2eeec);font-weight:600}

.wl-proof{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:30px;padding-top:24px;border-top:1px solid var(--line-soft,#242222);width:100%;color:var(--muted,#a49e9c);font-size:13.5px;line-height:1.4;text-align:left}
.wl-faces{display:flex;flex:none}
.wl-faces img{width:34px;height:34px;border-radius:50%;object-fit:cover;border:2px solid #000;background:var(--surface-2,#1d1b1b)}
.wl-faces img+img{margin-left:-10px}
.wl-proof b{color:var(--text,#f2eeec);font-weight:600}

@media (max-width:520px){
  .wl{width:calc(100vw - 24px);border-radius:24px}
  .wl-in{padding:40px 20px 26px}
  .wl-logo{margin-bottom:22px}
  .wl-row{flex-direction:column;border-radius:22px;padding:6px}
  .wl .wl-input{height:50px;text-align:center}
  .wl-btn{width:100%;height:50px}
  .wl-proof{flex-direction:column;text-align:center;gap:10px}
}
