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

.exit-offer {
  position: fixed;
  z-index: 61;
  inset-inline: 0;
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  width: min(32rem, calc(100% - 2rem));
  max-height: calc(100dvh - 5rem);
  overflow: auto;
  margin-inline: auto;
  padding: 26px;
  border: 1px solid #cbdcf3;
  border-radius: 22px;
  background: #fff;
  color: #16314f;
  box-shadow: 0 16px 50px #183a6340;
  animation: exit-offer-in .25s ease-out both;
}

.exit-offer-eyebrow { margin: 0 32px 7px 0; color: #175a43; font-size: .78rem; font-weight: 700; }
.exit-offer h2 { margin: 0 32px 10px 0; line-height: 1.15; font-size: clamp(1.35rem, 4.6vw, 1.9rem); letter-spacing: -.025em; }
.exit-offer h2 strong { color: #126044; white-space: nowrap; }
.exit-offer-summary { margin: 0; font-size: .91rem; line-height: 1.55; }
.exit-offer-terms { margin: 9px 0 14px; color: #425970; font-size: .76rem; line-height: 1.5; }
.exit-offer-action {
  display: grid;
  place-content: center;
  min-height: 52px;
  padding: 8px 12px;
  border-radius: 10px;
  background: #146442;
  color: #fff;
  text-align: center;
  font-weight: 700;
}
.exit-offer-action span { font-size: .75rem; font-weight: 600; }
.exit-offer-action:hover { background: #0e5034; }
.exit-offer button { border: 0; background: transparent; color: #244561; }
.exit-offer-close { position: absolute; inset: 5px 5px auto auto; width: 44px; height: 44px; font-size: 1.65rem; }
.exit-offer-dismiss { display: block; min-height: 44px; margin: 3px auto -8px; font-size: .83rem; text-decoration: underline; }
.exit-offer-active .purchase-demo { visibility: hidden; }

@media (max-width: 800px) {
  .exit-offer {
    bottom: calc(92px + env(safe-area-inset-bottom, 0px));
    max-height: calc(100dvh - 104px - env(safe-area-inset-bottom, 0px));
    padding: 18px 16px;
  }
}

@keyframes exit-offer-in {
  from { transform: translateY(12px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

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