/* Waitlist form and sheet, shared by ripamaps.com (experience/) and /layers (Bjorn 2026-11-25). Needs --petrol, --petrol-hi, --ink, --muted and the .rb bird rules of the page. */
/* waitlist (Bjorn 2026-11-25: the ad opens this page, people sign up after seeing it) */
.wl-form{pointer-events:auto;margin:22px auto 0;display:flex;gap:6px;background:rgba(255,255,255,.97);padding:5px;border-radius:999px;box-shadow:0 18px 50px rgba(0,20,40,.4);width:min(460px,100%);text-align:left}
.wl-form input{flex:1;min-width:0;border:0;outline:0;background:transparent;font:500 16px Inter;color:#0f2a3c;padding:0 6px 0 16px}
.wl-form input::placeholder{color:#7a8c99}
.wl-form button{height:46px;border:0;border-radius:999px;background:var(--petrol);color:#fff;font:600 15px Inter;padding:0 20px;white-space:nowrap;cursor:pointer;transition:background .25s}
.wl-form button:hover{background:var(--petrol-hi)}.wl-form button[disabled]{opacity:.7;cursor:default}
.wl-hp{position:absolute;left:-9999px;width:1px;height:1px;opacity:0}
.wl-fine{margin:10px auto 0;max-width:460px;font-size:12.5px;line-height:1.45;color:rgba(243,249,252,.6)}.wl-fine a{color:rgba(243,249,252,.85);pointer-events:auto}
.wl-err{margin:8px auto 0;font:600 13px Inter;color:#ffd9da;min-height:0}
.wl-done{pointer-events:auto;margin:22px auto 0;width:min(460px,100%);padding:20px 20px 18px;border-radius:22px;background:rgba(255,255,255,.97);color:#0f2a3c;text-align:left;box-shadow:0 18px 50px rgba(0,20,40,.4)}
.wl-done .ok{display:flex;align-items:center;gap:12px}
.wl-done .ok i{flex:none;width:38px;height:38px;border-radius:50%;background:var(--petrol) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E") center/55% no-repeat}
.wl-done b{font:600 21px Outfit;letter-spacing:-.01em}
.wl-done p{margin-top:8px;font-size:14.5px;line-height:1.5;color:#4b6273}
.wl-share{margin-top:14px;display:inline-flex;align-items:center;height:42px;padding:0 18px;border:0;border-radius:999px;background:#e8f1f4;color:#0f2a3c;font:600 14.5px Inter;cursor:pointer}
.wl-more{display:inline-block;margin-top:14px;font:600 14px Inter;color:rgba(243,249,252,.8);pointer-events:auto;text-decoration:none;border-bottom:1px solid rgba(243,249,252,.35)}
/* sheet opened from the top button */
.wl-sheet{position:fixed;inset:0;z-index:30;display:flex;align-items:center;justify-content:center;padding:16px;background:rgba(0,20,40,.45);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);opacity:0;visibility:hidden;transition:opacity .25s,visibility .25s}
.wl-sheet.open{opacity:1;visibility:visible}
.wl-card{position:relative;width:min(480px,100%);padding:26px 22px 22px;border-radius:22px;background:var(--ink);border:1px solid rgba(143,211,224,.22);box-shadow:0 30px 80px rgba(0,0,0,.5);text-align:center;transform:translateY(16px);transition:transform .25s}
.wl-sheet.open .wl-card{transform:none}
.wl-card .hero-rb{display:block;width:84px;margin:0 auto 14px;filter:drop-shadow(0 10px 30px rgba(0,20,40,.35))}
.wl-card h2{font:600 clamp(30px,7vw,40px)/1.02 Outfit,Inter,sans-serif;letter-spacing:-.015em;margin:0;text-shadow:none}
.wl-card .lead{margin-top:10px;font-size:15.5px;line-height:1.5;color:var(--muted)}
.wl-card .wl-form{margin-top:18px;box-shadow:none}
.wl-card .wl-done{box-shadow:none}
.wl-x{position:absolute;right:12px;top:12px;width:36px;height:36px;border:0;border-radius:50%;background:rgba(255,255,255,.1);color:#fff;font:500 20px/36px Inter;cursor:pointer}
@media (max-width:700px){
  .wl-sheet{align-items:flex-end;padding:0}
  .wl-card{width:100%;border-radius:22px 22px 0 0;padding:24px 16px calc(20px + env(safe-area-inset-bottom));border-bottom:0}
  .wl-form{flex-direction:row}.wl-form button{padding:0 16px}
}
