.hpsp-overlay {
  --hpsp-accent: rgb(255, 138, 67);
  --hpsp-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
  box-sizing: border-box;
  position: fixed;
  inset: 0;
  z-index: 999998;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.45);
  font-family: 'Outfit', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.hpsp-overlay,
.hpsp-overlay * {
  box-sizing: border-box;
}

.hpsp-overlay[hidden] {
  display: none !important;
}

.hpsp-modal {
  position: relative;
  width: 100%;
  max-width: 640px;
  max-height: 85vh;
  overflow: auto;
  margin: 0;
  padding: 24px 48px 24px 24px;
  background: #ffffff;
  color: #111;
  border-radius: 12px;
  box-shadow: var(--hpsp-shadow);
}

.hpsp-modal:focus {
  outline: none;
}

.hpsp-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: #333;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, color 0.15s ease;
}

.hpsp-close:hover,
.hpsp-close:focus-visible {
  background: rgba(0, 0, 0, 0.06);
  color: #000;
  outline: none;
}

.hpsp-close:focus-visible {
  box-shadow: 0 0 0 3px rgba(255, 138, 67, 0.45);
}

.hpsp-content {
  font-size: 16px;
  line-height: 1.55;
}

.hpsp-content :where(a) {
  color: var(--hpsp-accent);
}
