.exit-overlay {
  --exit-navy: #0b2545;
  --exit-teal: #0e9c9c;
  --exit-aqua: #17bdb8;
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(5, 22, 43, .72);
  backdrop-filter: blur(5px);
}

.exit-overlay[hidden] { display: none; }

.exit-popup {
  position: relative;
  width: min(100%, 440px);
  overflow: hidden;
  border: 1px solid rgba(14, 156, 156, .35);
  border-radius: 24px;
  padding: 38px 34px 30px;
  background: #fff;
  color: var(--exit-navy);
  text-align: center;
  box-shadow: 0 28px 80px rgba(5, 22, 43, .3);
  animation: exit-pop .24s ease-out;
}

.exit-popup::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 7px;
  background: linear-gradient(90deg, var(--exit-teal), var(--exit-aqua));
}

.exit-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #e8f7f7;
  color: var(--exit-navy);
  font: 700 22px/1 sans-serif;
  cursor: pointer;
}

.exit-eyebrow {
  margin: 0 0 10px;
  color: var(--exit-teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.exit-title {
  margin: 0;
  color: var(--exit-navy);
  font-size: clamp(25px, 5vw, 34px);
  line-height: 1.08;
}

.exit-copy {
  margin: 14px auto 18px;
  max-width: 35ch;
  color: #39516d;
  font-size: 16px;
  line-height: 1.55;
}

.exit-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
}

.exit-old-price {
  color: #75859a;
  font-size: 17px;
  text-decoration: line-through;
}

.exit-new-price {
  color: var(--exit-teal);
  font-size: 42px;
  font-weight: 900;
  letter-spacing: -.04em;
}

.exit-btn {
  display: block;
  width: 100%;
  border-radius: 14px;
  padding: 16px 20px;
  background: linear-gradient(135deg, var(--exit-aqua), var(--exit-teal));
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .025em;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: 0 12px 28px rgba(14, 156, 156, .25);
}

.exit-skip {
  margin-top: 15px;
  border: 0;
  padding: 6px;
  background: transparent;
  color: #60728a;
  font: 600 13px/1.4 inherit;
  text-decoration: underline;
  cursor: pointer;
}

@keyframes exit-pop {
  from { opacity: 0; transform: translateY(12px) scale(.98); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 480px) {
  .exit-overlay { padding: 14px; }
  .exit-popup { border-radius: 20px; padding: 34px 22px 25px; }
  .exit-copy { font-size: 15px; }
  .exit-new-price { font-size: 38px; }
}

@media (prefers-reduced-motion: reduce) {
  .exit-popup { animation: none; }
}
