/* S9 calculator pop-up — self-contained so it renders identically on the UK and DE
   calculators regardless of what the host page's theme is doing. Colours are the
   S9 palette literals (signal #573BFF, cyan #01C0F6) rather than vars, because this
   panel must look the same wherever it is dropped. */
#s9pop{position:fixed;inset:0;z-index:9999;display:flex;align-items:center;
  justify-content:center;padding:20px;font-family:'Manrope','Segoe UI',system-ui,sans-serif;
  animation:s9pop-in .18s ease-out}
@keyframes s9pop-in{from{opacity:0}to{opacity:1}}
@media (prefers-reduced-motion:reduce){#s9pop{animation:none}}

.s9pop__bd{position:absolute;inset:0;background:rgba(26,22,58,.62);cursor:pointer}

.s9pop__m{position:relative;z-index:2;width:100%;max-width:545px;border-radius:22px;
  overflow:hidden;box-shadow:0 34px 80px rgba(40,24,120,.42),0 10px 28px rgba(16,20,30,.2);
  max-height:calc(100vh - 40px);overflow-y:auto}

.s9pop__top{background:linear-gradient(145deg,#6A4FFF 0%,#573BFF 42%,#4630D9 100%);
  padding:30px 32px 28px;position:relative;color:#fff}
.s9pop__top:after{content:"";position:absolute;right:-70px;top:-90px;width:260px;height:260px;
  border-radius:50%;background:radial-gradient(circle,rgba(1,192,246,.40),transparent 68%)}

.s9pop__wm{display:flex;align-items:center;gap:9px;margin-bottom:20px;position:relative;z-index:2}
.s9pop__dot{width:26px;height:26px;border-radius:8px;background:#fff;color:#573BFF;
  font-weight:800;font-size:12.5px;display:flex;align-items:center;justify-content:center;
  letter-spacing:-.04em}
.s9pop__nm{font-weight:700;font-size:13.5px;letter-spacing:.015em;color:#fff}

.s9pop__h{font-weight:700;letter-spacing:-.032em;line-height:1.12;font-size:27px;
  margin:0 0 14px;color:#fff;position:relative;z-index:2}
.s9pop__h em{font-style:normal;color:#9BE8FF}
.s9pop__p{font-size:14.5px;line-height:1.55;color:rgba(255,255,255,.88);margin:0 0 22px;
  position:relative;z-index:2;max-width:45ch}
.s9pop__p b{color:#fff;font-weight:700}

.s9pop__chips{display:flex;gap:7px;margin-bottom:24px;position:relative;z-index:2;flex-wrap:wrap}
.s9pop__chip{font-size:11.5px;font-weight:600;color:#fff;background:rgba(255,255,255,.15);
  border:1px solid rgba(255,255,255,.22);padding:5px 11px;border-radius:999px}
.s9pop__chip.is-hot{background:rgba(1,192,246,.26);border-color:rgba(155,232,255,.6);color:#E6FAFF}

.s9pop__cta{display:inline-flex;align-items:center;gap:9px;background:#fff;color:#4630D9;
  font-weight:700;font-size:14.5px;padding:14px 24px;border-radius:12px;text-decoration:none;
  box-shadow:0 10px 26px rgba(20,10,70,.28);position:relative;z-index:2;transition:transform .15s}
.s9pop__cta:hover{transform:translateY(-1px);color:#4630D9}

.s9pop__bot{background:#fff;padding:15px 32px;display:flex;align-items:center;gap:12px}
.s9pop__ic{width:32px;height:32px;border-radius:9px;background:#E3F7FE;flex:none;
  display:flex;align-items:center;justify-content:center;color:#0B8FC4}
.s9pop__tx{flex:1;font-size:12.5px;line-height:1.45;color:#6B7688}
.s9pop__tx b{color:#202633;font-weight:600;display:block;font-size:13px;margin-bottom:1px}
.s9pop__bot a{color:#573BFF;font-weight:700;text-decoration:none;font-size:13px;white-space:nowrap}

.s9pop__x{position:absolute;top:18px;right:18px;z-index:4;width:32px;height:32px;
  border-radius:50%;background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.3);
  color:#fff;display:flex;align-items:center;justify-content:center;font-size:19px;
  line-height:1;cursor:pointer;padding:0;font-family:inherit;transition:background .15s}
.s9pop__x:hover{background:rgba(255,255,255,.3)}
.s9pop__x:focus-visible,.s9pop__cta:focus-visible{outline:3px solid #9BE8FF;outline-offset:2px}

@media (max-width:560px){
  .s9pop__top{padding:26px 22px 24px}
  .s9pop__bot{padding:14px 22px;flex-wrap:wrap}
  .s9pop__h{font-size:23px}
}

/* ---- offer variant (A/B arm B) ---------------------------------------- */
.s9pop__price{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap;
  margin:0 0 14px;position:relative;z-index:2}
.s9pop__price s{font-size:19px;color:rgba(255,255,255,.55);text-decoration-thickness:2px}
.s9pop__price b{font-size:38px;font-weight:800;letter-spacing:-.03em;color:#fff;line-height:1}
.s9pop__left{font-size:11.5px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;
  background:rgba(1,192,246,.26);border:1px solid rgba(155,232,255,.6);color:#E6FAFF;
  padding:4px 10px;border-radius:999px}
.s9pop__proof{font-size:12px;color:rgba(255,255,255,.8);margin:0 0 16px;
  position:relative;z-index:2;line-height:1.7}
.s9pop__proof a{color:#9BE8FF;text-decoration:underline;text-underline-offset:2px}
.s9pop__form{position:relative;z-index:2;display:flex;flex-direction:column;gap:8px}
.s9pop__in{width:100%;padding:12px 14px;border-radius:10px;font-size:14px;
  font-family:inherit;color:#202633;background:#fff;
  border:1px solid rgba(255,255,255,.35);box-sizing:border-box}
.s9pop__in::placeholder{color:#8B93A3}
.s9pop__in:focus{outline:3px solid #9BE8FF;outline-offset:1px}
.s9pop__submit{border:0;cursor:pointer;justify-content:center;margin-top:4px;width:100%;
  font-family:inherit}
.s9pop__submit:disabled{opacity:.6;cursor:default}
.s9pop__msg{font-size:12.5px;color:#FFD9DC;margin:2px 0 0;min-height:1em}
.s9pop__ok{font-size:15px;line-height:1.55;color:#fff;font-weight:600;margin:8px 0 2px}
