.hn-signup {
  box-sizing: border-box;
  font-family: Arial, "Helvetica Neue", sans-serif;
  color: #fff;
}
.hn-signup *,
.hn-signup *::before,
.hn-signup *::after {
  box-sizing: border-box;
}

.hn-signup--inline {
  background: linear-gradient(135deg, #3b1a5c 0%, #5a2470 100%);
  padding: 22px 15px 16px;
  box-shadow: 0 6px 18px rgba(59, 26, 92, 0.18);
  width: 100%;
  max-width: 100%;
  border-radius: 8px;
}
.hn-signup--inline .hn-signup__form {
  max-width: 420px;
  margin: 0 auto;
}

.hn-signup--popup {
  display: none;
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 99999;
  width: calc(100% - 32px);
  max-width: 360px;
  background: #fff;
  color: #2b1838;
  padding: 0 20px 16px;
  border: 2px solid #f39c12;
  border-radius: 12px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45), 0 0 0 4px rgba(255, 255, 255, 0.9);
  overflow: hidden;
}
.hn-signup--popup .hn-signup__title {
  margin: 0 -20px 14px;
  padding: 18px 40px 14px;
  background: linear-gradient(135deg, #3b1a5c 0%, #5a2470 100%);
  color: #fff;
}
.hn-signup--popup .hn-signup__lead,
.hn-signup--popup .hn-signup__benefits,
.hn-signup--popup .hn-signup__field label,
.hn-signup--popup .hn-signup__fineprint,
.hn-signup--popup .hn-signup__status.is-ok {
  color: #2b1838;
}
.hn-signup--popup .hn-signup__status.is-error {
  color: #c0392b;
}
.hn-signup--popup .hn-signup__field input,
.hn-signup--popup .hn-signup__field select {
  border-color: #c9b6d6;
}
.hn-signup--popup.is-open {
  display: block;
}

.hn-signup__close {
  position: absolute;
  z-index: 2;
  top: 8px;
  right: 10px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.hn-signup__title {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 700;
  text-align: center;
}
.hn-signup__lead {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}
.hn-signup__benefits {
  margin: 0 0 14px;
  padding: 0 0 0 1.1em;
  font-size: 14px;
  line-height: 1.45;
}
.hn-signup__benefits li {
  margin: 0 0 4px;
}

.hn-signup__field {
  margin: 0 0 10px;
}
.hn-signup__field label {
  display: block;
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}
.hn-signup__field input,
.hn-signup__field select {
  width: 100%;
  height: 35px;
  padding: 0 8.75px;
  border: 1px solid #cccccc;
  border-radius: 4px;
  background: #fff;
  color: #222;
  font-size: 15px;
}

.hn-signup__honeypot {
  position: absolute !important;
  left: -9999px !important;
  height: 0 !important;
  overflow: hidden !important;
}

.hn-signup__actions {
  margin: 0 0 8px;
}
.hn-signup__button {
  border: 0;
  border-radius: 4px;
  background: linear-gradient(180deg, #f5a623 0%, #e67e22 100%);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 10px 22px;
  cursor: pointer;
}
.hn-signup__button:hover {
  filter: brightness(1.06);
}
.hn-signup--popup .hn-signup__actions {
  text-align: center;
}
.hn-signup--popup .hn-signup__button {
  width: 100%;
}

.hn-signup__status {
  margin: 0 0 8px;
  min-height: 1.2em;
  font-size: 13px;
  line-height: 1.4;
}
.hn-signup__status.is-ok {
  color: #fff;
}
.hn-signup__status.is-error {
  color: #fff8b0;
}

.hn-signup__fineprint {
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 1.4;
  text-align: center;
  color: #fff;
}

.hn-signup--inline .hn-signup__fineprint {
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255, 255, 255, 0.95);
}

@media (max-width: 480px) {
  .hn-signup--popup {
    right: 8px;
    left: 8px;
    bottom: 8px;
    max-width: none;
    width: auto;
  }
}
