:root {
  --sfhh-accent: #ff0013;
  --sfhh-accent-alt: #d7a448;
  --sfhh-popup-max-width: 520px;
}

.sfhh-growth-popup[hidden] {
  display: none !important;
}

.sfhh-growth-popup {
  position: fixed;
  inset: 0;
  z-index: 999999;
}

.sfhh-growth-popup__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.68);
}

.sfhh-growth-popup__container {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 32px), var(--sfhh-popup-max-width));
  margin: 7vh auto 0;
  background: linear-gradient(135deg, #0f0f0f 0%, #181818 55%, #242424 100%);
  color: #fff;
  border-radius: 22px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.sfhh-growth-popup__content {
  padding: 28px 26px 24px;
}

.sfhh-growth-popup__close {
  position: absolute;
  right: 12px;
  top: 10px;
  border: 0;
  background: transparent;
  color: rgba(255,255,255,0.8);
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
}

.sfhh-growth-popup__logo {
  text-align: center;
  margin: 0 0 14px;
}

.sfhh-growth-popup__logo img {
  display: inline-block;
  max-width: 150px;
  height: auto;
}

.sfhh-growth-popup__title {
  margin: 0 0 12px;
  color: #ffffff;
  font-family: Impact, Haettenschweiler, 'Arial Black', sans-serif;
  font-size: 40px;
  line-height: 1.03;
  letter-spacing: -0.8px;
  text-align: center;
  text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

.sfhh-nowrap {
  white-space: nowrap;
}

.sfhh-growth-popup__subheadline {
  margin: 0 0 18px;
  color: #d5d5d5;
  font-size: 16px;
  line-height: 1.55;
  text-align: center;
}

.sfhh-growth-popup__form {
  display: grid;
  gap: 12px;
}

.sfhh-growth-popup__input {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(255,255,255,0.18);
  background: #ffffff;
  color: #111111;
  border-radius: 12px;
  padding: 14px 15px;
  font-size: 16px;
}

.sfhh-growth-popup__input:focus {
  outline: none;
  border-color: var(--sfhh-accent-alt);
  box-shadow: 0 0 0 3px rgba(215,164,72,0.18);
}

.sfhh-growth-popup__button {
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--sfhh-accent) 0%, var(--sfhh-accent-alt) 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 16px;
  padding: 14px 16px;
  cursor: pointer;
}

.sfhh-growth-popup__button:disabled {
  opacity: 0.75;
  cursor: wait;
}

.sfhh-growth-popup__privacy {
  margin: 2px 0 0;
  color: #b9b9b9;
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}

.sfhh-growth-popup__message {
  margin: 2px 0 0;
  min-height: 20px;
  font-size: 14px;
  text-align: center;
}

.sfhh-growth-popup__message.is-success {
  color: #dff6df;
}

.sfhh-growth-popup__message.is-error {
  color: #ffd5d5;
}

body.sfhh-growth-popup-open {
  overflow: hidden;
}

@media (max-width: 480px) {
  .sfhh-growth-popup__container {
    width: min(calc(100% - 20px), var(--sfhh-popup-max-width));
    margin-top: 4vh;
    border-radius: 18px;
  }

  .sfhh-growth-popup__content {
    padding: 24px 18px 20px;
  }

  .sfhh-growth-popup__title {
    font-size: 29px;
    line-height: 1.08;
  }

  .sfhh-growth-popup__subheadline {
    font-size: 15px;
  }
}
