.lead-popup{
  position:fixed;
  inset:0;
  width:auto;
  height:auto;
  max-width:none;
  max-height:none;
  margin:0;
  padding:0;
  border:0;
  overflow:hidden;
  background:transparent;
  color:var(--fg);
  font-family:"Manrope", system-ui, sans-serif;
}
.lead-popup::backdrop{background:transparent}

.lead-popup-overlay{
  position:absolute;
  inset:0;
  background:rgba(10,10,9,.5);
  opacity:0;
  transition:opacity .3s ease;
  touch-action:none;
  -webkit-tap-highlight-color:transparent;
}

.lead-popup-sheet{
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  max-width:460px;
  max-height:calc(100% - 16px - env(safe-area-inset-top, 0px));
  margin:0 auto;
  overflow-y:auto;
  overscroll-behavior:contain;
  padding:20px 20px calc(22px + env(safe-area-inset-bottom, 0px));
  background:var(--bg);
  border-radius:var(--r-lg) var(--r-lg) 0 0;
  box-shadow:0 -10px 32px -12px rgba(0,0,0,.3);
  text-align:center;
  transform:translateY(100%);
  transition:transform .35s cubic-bezier(.22,1,.36,1);
  will-change:transform;
}
.lead-popup-sheet:focus{outline:none}

.lead-popup.is-open .lead-popup-overlay{opacity:1}
.lead-popup.is-open .lead-popup-sheet{transform:translateY(0)}
.lead-popup.is-dragging .lead-popup-sheet{transition:none}

.lead-popup-handle{
  width:36px;
  height:4px;
  margin:0 auto 14px;
  border-radius:2px;
  background:var(--line);
}

.lead-popup-close{
  position:absolute;
  top:6px;
  right:8px;
  width:44px;
  height:44px;
  display:grid;
  place-items:center;
  padding:0;
  border:0;
  border-radius:50%;
  background:none;
  color:var(--fg-dim);
  cursor:pointer;
  -webkit-tap-highlight-color:transparent;
}
.lead-popup-close::before{
  content:"";
  position:absolute;
  width:32px;
  height:32px;
  border-radius:50%;
  background:var(--surface);
}
.lead-popup-close svg{position:relative;width:18px;height:18px}
.lead-popup-close:focus-visible{outline:2px solid var(--fg);outline-offset:-4px}

.lead-popup-emoji{font-size:32px;line-height:1.2;margin-bottom:8px}

.lead-popup-title{
  margin:0 0 6px;
  font-family:"Unbounded", sans-serif;
  font-weight:700;
  font-size:18px;
  line-height:1.25;
  text-wrap:balance;
}

.lead-popup-text{
  margin:0 0 12px;
  font-size:14px;
  line-height:1.45;
  color:var(--fg-dim);
  text-wrap:pretty;
}

.lead-popup-hook{margin:0 0 12px;font-size:13px;font-weight:600}

.lead-popup-perks{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:6px;
  margin:0 0 16px;
  padding:0;
  list-style:none;
}
.lead-popup-perks li{
  padding:5px 10px;
  border-radius:var(--r-sm);
  background:var(--surface);
  font-size:12px;
  font-weight:600;
  white-space:nowrap;
}

.lead-popup-cta{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  width:100%;
  padding:14px 12px;
  border-radius:999px;
  background:#25D366;
  color:#0E0E0D;
  font-weight:700;
  font-size:15px;
  text-decoration:none;
  box-shadow:0 8px 16px -10px rgba(20,20,18,.45);
  transition:transform .15s ease;
  -webkit-tap-highlight-color:transparent;
}
.lead-popup-cta:active{transform:scale(.97)}
.lead-popup-cta:focus-visible{outline:2px solid var(--fg);outline-offset:3px}
.lead-popup-cta img{
  flex:none;
  width:22px;
  height:22px;
  padding:2px;
  border-radius:50%;
  background:#FFFFFF;
  object-fit:contain;
}

.lead-popup-note{margin:8px 0 0;font-size:12px;color:var(--fg-dim)}

html.lead-popup-open{overflow:hidden;overscroll-behavior:none}
html.lead-popup-open .sticky-cta{transform:translateY(110%)}

@media (prefers-reduced-motion: reduce){
  .lead-popup-overlay,
  .lead-popup-sheet,
  .lead-popup-cta{transition:none}
}
