.lead-popup {
  position: fixed;
  bottom: 16px;
  right: 16px;
  left: 16px;

  min-height: auto;

  overflow: hidden;
  border-radius: 8px;
  box-shadow: -8px 6px 24px 0 rgba(11, 11, 11, 0.01);
  background: var(--white);
  z-index: 9999;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  display: none;
  visibility: hidden;
}

.lead-popup::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 8px;
  padding: 1px;
  background: linear-gradient(259deg, #f6358a 0%, #7a2bf4 70%, #1c25a3 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
  z-index: 1;
}

.lead-popup__content {
  position: relative;
  z-index: 2;
  overflow-y: auto;
  padding: 16px 24px;
}

.lead-popup.active {
  opacity: 1;
  transform: translateY(0);
  display: block;
  visibility: visible;
}

.lead-popup__title {
  font-weight: 600;
  font-size: 20px;
  line-height: 130%;
  color: var(--80);
  margin: 8px 0;
}

.lead-popup__description {
  color: var(--75);
  font-weight: 500;
  font-size: 16px;
  line-height: 150%;
  margin-bottom: 24px;
}

.lead-popup__buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lead-popup__button {
  width: 100%;
  height: 48px;
}

@media screen and (min-width: 768px) {
  .lead-popup {
    width: 50%;
    left: auto;
  }
}

@media screen and (min-width: 1024px) {
  .lead-popup__buttons {
    flex-direction: row;
  }
}
