.popup__title {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  letter-spacing: -0.004em;
  --font-size: 20px;
  --font-size-rem: 1.25rem;
  --line-height: 28px;
  --line-height-rem: 1.75rem;
  font-size: var(--font-size-rem);
  line-height: var(--line-height-rem);
}

.popup__text {
  font-family: "Poppins", sans-serif;
  font-weight: 300;
  --font-size: 16px;
  --font-size-rem: 1rem;
  --line-height: 26px;
  --line-height-rem: 1.625rem;
  font-size: var(--font-size-rem);
  line-height: var(--line-height-rem);
}

.popup {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: 150ms cubic-bezier(0.445, 0.05, 0.55, 0.95);
}
.popup.-active {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}
.popup.-active .popup__panel {
  transform: scale(1) translateY(0);
}
.popup__backdrop {
  position: absolute;
  inset: 0;
  padding: 0;
  border: 0;
  background-color: rgba(17, 27, 33, 0.56);
  cursor: pointer;
}
.popup__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 420px;
  padding: 2.5rem 2rem;
  border-radius: 24px;
  background-color: #faf8f1;
  box-shadow: 0 14px 45px -8px rgba(0, 0, 0, 0.04);
  text-align: center;
  transform: scale(0.96) translateY(8px);
  transition: 150ms cubic-bezier(0.445, 0.05, 0.55, 0.95);
}
.popup__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  margin-bottom: 2rem;
  border-radius: 100%;
  background-color: #e8cf80;
}
.popup__icon svg {
  width: 28px;
  height: 28px;
}
.popup__icon.-success {
  --icon-color: #194547;
  color: #194547;
}
.popup__icon.-error {
  --icon-color: red;
  color: red;
}
.popup__title {
  margin: 0 0 0.5rem;
}
.popup__text {
  margin: 0;
  color: rgba(17, 27, 33, 0.64);
}
.popup__cta {
  margin-top: 2rem;
}