.asmr-offer-open {
  overflow: hidden;
}

.asmr-offer-overlay {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(25, 18, 15, 0.58);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 180ms ease, visibility 180ms ease;
}

.asmr-offer-overlay.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.asmr-offer-modal {
  position: relative;
  width: min(100%, 460px);
  background: #fffaf4;
  color: #2b211d;
  border-radius: 22px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
  padding: 34px 30px 28px;
  text-align: center;
  transform: translateY(10px) scale(0.98);
  transition: transform 180ms ease;
  font-family: inherit;
}

.asmr-offer-overlay.is-visible .asmr-offer-modal {
  transform: translateY(0) scale(1);
}

.asmr-offer-close {
  position: absolute;
  top: 12px;
  right: 16px;
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  color: #6b5a52;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.asmr-offer-kicker {
  margin-bottom: 10px;
  color: #8c6c5a;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.asmr-offer-modal h2 {
  margin: 0 0 12px;
  font-size: clamp(26px, 4vw, 34px);
  line-height: 1.1;
  color: #231b18;
}

.asmr-offer-body {
  margin: 0 auto 22px;
  max-width: 36em;
  color: #5a4a43;
  font-size: 16px;
  line-height: 1.55;
}

.asmr-offer-form {
  display: grid;
  gap: 12px;
}

.asmr-offer-form input[type='email'] {
  width: 100%;
  min-height: 48px;
  border: 1px solid #d8c8bd;
  border-radius: 12px;
  background: #ffffff;
  color: #2b211d;
  font-size: 16px;
  padding: 12px 14px;
  box-sizing: border-box;
}

.asmr-offer-form.has-error input[type='email'] {
  border-color: #b84d43;
}

.asmr-offer-form button[type='submit'],
.asmr-offer-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  background: #3b2b25;
  color: #fffaf4;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  padding: 12px 20px;
  cursor: pointer;
}

.asmr-offer-form button[type='submit']:disabled {
  opacity: 0.7;
  cursor: wait;
}

.asmr-offer-privacy,
.asmr-offer-error {
  margin: 12px 0 0;
  color: #78675f;
  font-size: 13px;
  line-height: 1.4;
}

.asmr-offer-error {
  color: #9f342c;
}

.asmr-offer-result {
  margin-top: 20px;
}

.asmr-offer-success-text {
  margin: 0 0 14px;
  color: #3c302b;
  line-height: 1.5;
}

.asmr-offer-coupon {
  display: inline-block;
  margin-bottom: 14px;
  padding: 12px 18px;
  border: 1px dashed #8c6c5a;
  border-radius: 12px;
  background: #fff4e8;
  color: #2b211d;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 520px) {
  .asmr-offer-overlay {
    align-items: flex-end;
    padding: 14px;
  }

  .asmr-offer-modal {
    padding: 30px 20px 22px;
    border-radius: 20px;
  }
}
