.cta-popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.55);
  opacity: 0;
  transform: translateY(-16px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.cta-popup-overlay.cta-popup-visible {
  opacity: 1;
  transform: translateY(0);
}

.cta-popup-overlay.cta-popup-hidden {
  opacity: 0;
  transform: translateY(-16px);
}

.cta-popup-modal {
  position: relative;
  width: min(90vw, 520px);
  border-radius: 20px;
  background: #ffffff;
  padding: 28px;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.25);
  color: #0f172a;
  font-family: inherit;
}

.cta-popup-close {
  position: absolute;
  top: 16px;
  right: 16px;
  border: none;
  background: transparent;
  font-size: 26px;
  line-height: 1;
  color: #475569;
  cursor: pointer;
}

.cta-popup-headline {
  margin: 0 0 12px;
  font-size: 22px;
  font-weight: 600;
}

.cta-popup-subline {
  margin: 0 0 16px;
  font-size: 15px;
  color: #475569;
}

.cta-popup-list {
  margin: 0 0 20px;
  padding-left: 20px;
  color: #1f2937;
}

.cta-popup-list li {
  margin-bottom: 8px;
}

.cta-popup-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cta-popup-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 12px;
  background: #2563eb;
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  text-align: center;
  width: 100%;
}

.cta-popup-button:hover {
  background: #1d4ed8;
}

.cta-popup-dismiss {
  border: none;
  background: transparent;
  color: #64748b;
  font-size: 14px;
  cursor: pointer;
}

.cta-popup-dismiss:hover {
  color: #0f172a;
}

@media (min-width: 640px) {
  .cta-popup-actions {
    flex-direction: row;
    justify-content: flex-start;
  }

  .cta-popup-button {
    width: auto;
  }
}
