/* Waitlist landing page (waitlist.html). Uses the tokens and buttons from style.css. */
.wl-page{min-height:100dvh;display:flex;flex-direction:column;background:radial-gradient(1200px 600px at 85% 10%,rgba(212,171,98,.10),transparent 60%),var(--bg)}
.wlp-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;max-width:1160px;width:100%;margin:0 auto;padding:20px 24px}
.wlp-bar img{height:30px;width:auto}
.wlp-soon{display:inline-flex;align-items:center;gap:8px;height:30px;padding:0 12px;border-radius:999px;border:1px solid var(--line);background:var(--panel-2);font-size:12.5px;font-weight:600;color:var(--soft)}
.wlp-soon .dot,.wlp-count .dot{width:7px;height:7px;border-radius:50%;background:var(--green);box-shadow:0 0 0 0 rgba(212,171,98,.6);animation:wlpPulse 2s infinite}
@keyframes wlpPulse{70%{box-shadow:0 0 0 8px rgba(212,171,98,0)}100%{box-shadow:0 0 0 0 rgba(212,171,98,0)}}

.wlp-hero{flex:1;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);align-items:center;gap:40px;max-width:1160px;width:100%;margin:0 auto;padding:40px 24px 30px}
.wlp-kicker{display:inline-block;font-size:12px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--green);margin-bottom:14px}
.wlp-copy h1{margin:0;font-size:clamp(38px,6vw,64px);line-height:1.02;letter-spacing:-.04em;font-weight:800;color:#fff}
.wlp-sub{margin:18px 0 26px;max-width:540px;font-size:17px;line-height:1.55;color:var(--muted)}

.wlp-card{max-width:540px;padding:18px;border-radius:16px;background:var(--panel);border:1px solid var(--line);box-shadow:0 24px 60px rgba(0,0,0,.35)}
.wlp-row{display:flex;gap:10px}
.wlp-row input{flex:1;min-width:0;height:52px;padding:0 16px;border-radius:10px;border:1px solid var(--line-2);background:var(--field);color:#fff;font:500 16px var(--font);outline:none;transition:border-color .15s,box-shadow .15s}
.wlp-row input:focus{border-color:var(--green);box-shadow:0 0 0 4px rgba(212,171,98,.15)}
.wlp-row .btn{flex:none;height:52px}
.wlp-consent{display:flex;gap:10px;align-items:flex-start;margin-top:12px;font-size:13px;line-height:1.45;color:var(--muted);cursor:pointer}
.wlp-consent input{width:16px;height:16px;margin:2px 0 0;accent-color:var(--green);flex:none}
.wlp-consent a{color:var(--soft);text-decoration:underline;text-underline-offset:2px}
.wlp-msg{margin:10px 0 0;font-size:13px;color:var(--soft)}
.wlp-msg.bad{color:#ffb4ae}
.wlp-count{display:flex;align-items:center;gap:10px;margin:16px 0 0;font-size:14px;color:var(--muted)}
.wlp-count b{color:#fff;font-family:var(--mono)}

.wlp-done{display:flex;flex-direction:column;gap:8px;padding:4px 2px}
.wlp-done b{font-size:20px;color:#fff;letter-spacing:-.02em}
.wlp-done p{margin:0;font-size:14.5px;line-height:1.55;color:var(--soft)}
.wlp-done small{font-size:12.5px;color:var(--dim)}
.wlp-big-ic{display:grid;place-items:center;width:44px;height:44px;border-radius:12px;background:#32291c;color:var(--green);margin-bottom:4px}
.wlp-big-ic .ic{width:22px;height:22px}
.wlp-done.ok .wlp-big-ic{background:rgba(143,209,79,.14);color:var(--pos)}
.wlp-invite{display:flex;gap:8px;margin-top:8px}
.wlp-invite input{flex:1;min-width:0;height:44px;padding:0 12px;border-radius:9px;border:1px solid var(--line-2);background:var(--field);color:var(--soft);font-size:13px}
.wlp-invite .btn .ic{width:16px;height:16px}
.wlp-share{display:flex;flex-wrap:wrap;gap:8px;margin-top:4px}

.wlp-art{margin:0;display:flex;justify-content:center}
.wlp-art img{width:100%;max-width:460px;height:auto;filter:drop-shadow(0 40px 60px rgba(0,0,0,.5))}

.wlp-features{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;max-width:1160px;width:100%;margin:0 auto;padding:10px 24px 34px}
.wlp-features div{padding:18px;border-radius:14px;background:var(--panel);border:1px solid var(--line)}
.wlp-features b{display:block;margin-top:12px;font-size:15px;color:#fff}
.wlp-features p{margin:6px 0 0;font-size:13px;line-height:1.5;color:var(--muted)}
.wlp-ic{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:#32291c;color:var(--green)}
.wlp-ic .ic{width:19px;height:19px}

.wlp-foot{display:flex;gap:18px;align-items:center;max-width:1160px;width:100%;margin:0 auto;padding:18px 24px 28px;border-top:1px solid var(--line);font-size:13px;color:var(--dim)}
.wlp-foot a{color:var(--muted)}
.wlp-foot a:hover{color:#fff}
.wlp-foot span{margin-right:auto}

@media (max-width:900px){
 .wlp-hero{grid-template-columns:minmax(0,1fr);padding-top:20px;gap:10px}
 .wlp-art{order:-1}
 .wlp-art img{max-width:260px}
 .wlp-features{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:560px){
 .wlp-row{flex-direction:column}
 .wlp-row .btn{width:100%}
 .wlp-features{grid-template-columns:minmax(0,1fr)}
 .wlp-sub{font-size:15.5px}
 .wlp-art img{max-width:200px}
}

.piece-pair{position:relative;width:min(100%,460px);aspect-ratio:860/504;transform:perspective(850px) rotateY(var(--yaw,0deg)) rotateX(var(--pitch,0deg));transition:transform .18s ease-out}
.wlp-art .piece-pair img{position:absolute;bottom:0;width:auto;max-width:none;pointer-events:none}.piece-pair .piece-king{height:98%;left:40%;transform:rotate(7deg)}.piece-pair .piece-rook{height:62%;left:14%;transform:rotate(-9deg)}
.wl-downloads{max-width:1160px;width:100%;margin:-16px auto 16px;padding:0 24px;display:flex;justify-content:flex-end;gap:13px;flex-wrap:wrap;font-size:11px;color:var(--dim)}.wl-downloads a{color:inherit;text-decoration:none}.wl-downloads a:hover,.wl-downloads a:focus-visible{text-decoration:underline;color:var(--soft)}
@media(max-width:900px){.piece-pair{max-width:260px}}@media(max-width:560px){.piece-pair{max-width:200px}}@media(prefers-reduced-motion:reduce){.piece-pair{transform:none;transition:none}}
