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

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

.growth-audit-popup {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.growth-audit-popup.is-open {
  opacity: 1;
  visibility: visible;
}

.growth-audit-popup__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 3, 4, 0.86);
  backdrop-filter: blur(8px);
}

.growth-audit-popup__dialog {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.92fr);
  width: min(980px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  background: #101010;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.7);
  transform: translateY(24px) scale(0.98);
  transition: transform 0.3s ease;
}

.growth-audit-popup.is-open .growth-audit-popup__dialog {
  transform: translateY(0) scale(1);
}

.growth-audit-popup__close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 4;
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(15, 15, 15, 0.25);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: #111;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.growth-audit-popup__close:hover,
.growth-audit-popup__close:focus-visible {
  border-color: var(--red);
  color: var(--red);
  transform: rotate(4deg);
}

.growth-audit-popup__close svg {
  width: 21px;
  height: 21px;
}

.growth-audit-popup__visual {
  position: relative;
  display: flex;
  min-height: 610px;
  overflow: hidden;
  padding: clamp(40px, 5vw, 68px);
  align-items: flex-end;
  color: #fff;
  background:
    radial-gradient(circle at 15% 12%, rgba(232, 25, 44, 0.28), transparent 36%),
    linear-gradient(145deg, #181010 0%, #0b0b0c 55%, #160609 100%);
}

.growth-audit-popup__visual::before {
  content: "AUDIT";
  position: absolute;
  top: 42px;
  right: -22px;
  color: rgba(255, 255, 255, 0.035);
  font-family: var(--fb);
  font-size: clamp(100px, 15vw, 190px);
  line-height: 0.8;
  letter-spacing: 2px;
  writing-mode: vertical-rl;
}

.growth-audit-popup__visual::after {
  content: "";
  position: absolute;
  inset: auto -20% -38% 12%;
  height: 65%;
  background: radial-gradient(ellipse, rgba(232, 25, 44, 0.22), transparent 68%);
  pointer-events: none;
}

.growth-audit-popup__grid {
  position: absolute;
  inset: 0;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
}

.growth-audit-popup__visual-content {
  position: relative;
  z-index: 2;
  max-width: 470px;
}

.growth-audit-popup__eyebrow,
.growth-audit-popup__form-kicker {
  display: inline-flex;
  margin-bottom: 20px;
  color: var(--red);
  font-family: var(--fu);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.growth-audit-popup__eyebrow {
  padding: 8px 14px;
  border: 1px solid rgba(232, 25, 44, 0.55);
  border-radius: 999px;
  background: rgba(232, 25, 44, 0.08);
}

.growth-audit-popup__visual h2 {
  margin: 0;
  color: #fff;
  font-family: var(--fb);
  font-size: clamp(50px, 5.2vw, 76px);
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.growth-audit-popup__visual h2 em {
  display: block;
  color: var(--red);
  font-style: normal;
}

.growth-audit-popup__visual p {
  max-width: 430px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-family: var(--fo);
  font-size: 14px;
  line-height: 1.75;
}

.growth-audit-popup__benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.growth-audit-popup__benefits li {
  display: inline-flex;
  gap: 8px;
  padding: 8px 12px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.04);
  font-family: var(--fu);
  font-size: 12px;
  font-weight: 600;
}

.growth-audit-popup__benefits li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 10px rgba(232, 25, 44, 0.7);
}

.growth-audit-popup__form-panel {
  display: flex;
  min-width: 0;
  padding: clamp(70px, 6vw, 72px) clamp(34px, 5vw, 50px) 44px;
  flex-direction: column;
  justify-content: center;
  background: #f5f5f4;
}

.growth-audit-popup__form-kicker {
  margin-bottom: 12px;
}

.growth-audit-popup__form-intro h3 {
  margin: 0;
  color: #111;
  font-family: var(--fu);
  font-size: clamp(27px, 3vw, 36px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -1px;
}

.growth-audit-popup__form-intro p {
  margin: 14px 0 30px;
  color: #68686e;
  font-family: var(--fo);
  font-size: 13px;
  line-height: 1.65;
}

.growth-audit-form__field + .growth-audit-form__field {
  margin-top: 18px;
}

.growth-audit-form__field label {
  display: block;
  margin-bottom: 8px;
  color: #222;
  font-family: var(--fu);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.growth-audit-form__field label span {
  color: var(--red);
}

.growth-audit-form__field input {
  width: 100%;
  height: 54px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 10px;
  outline: 0;
  color: #161616;
  background: #e8e8e9;
  font-family: var(--fo);
  font-size: 14px;
  box-shadow: none;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.growth-audit-form__field input::placeholder {
  color: #888d96;
}

.growth-audit-form__field input:focus {
  border-color: var(--red);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(232, 25, 44, 0.12);
}

.growth-audit-form__field input.is-invalid {
  border-color: var(--red);
}

.growth-audit-form__trap {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.growth-audit-form__message {
  min-height: 20px;
  margin-top: 12px;
  color: #b00020;
  font-family: var(--fo);
  font-size: 12px;
  line-height: 1.5;
}

.growth-audit-form__message.is-success {
  color: #14733b;
}

.growth-audit-form__submit {
  display: inline-flex;
  width: 100%;
  min-height: 54px;
  padding: 13px 22px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid var(--red);
  border-radius: 999px;
  color: #fff;
  background: var(--red);
  font-family: var(--fu);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(232, 25, 44, 0.24);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.growth-audit-form__submit:hover,
.growth-audit-form__submit:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(232, 25, 44, 0.34);
}

.growth-audit-form__submit:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}

.growth-audit-form__submit svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.growth-audit-popup__privacy {
  margin: 18px 0 0;
  color: #777b83;
  font-family: var(--fo);
  font-size: 11px;
  line-height: 1.5;
  text-align: center;
}

@media (max-width: 820px) {
  .growth-audit-popup {
    padding: 16px;
  }

  .growth-audit-popup__dialog {
    grid-template-columns: 1fr;
    max-width: 580px;
    max-height: calc(100vh - 32px);
  }

  .growth-audit-popup__visual {
    min-height: auto;
    padding: 44px 34px 38px;
  }

  .growth-audit-popup__visual h2 {
    max-width: 420px;
    font-size: clamp(44px, 10vw, 64px);
  }

  .growth-audit-popup__visual p,
  .growth-audit-popup__benefits {
    display: none;
  }

  .growth-audit-popup__form-panel {
    padding: 34px;
  }

  .growth-audit-popup__close {
    top: 16px;
    right: 16px;
  }
}

@media (max-width: 520px) {
  .growth-audit-popup {
    padding: 10px;
  }

  .growth-audit-popup__dialog {
    max-height: calc(100vh - 20px);
    border-radius: 16px;
  }

  .growth-audit-popup__visual {
    padding: 30px 24px 26px;
  }

  .growth-audit-popup__eyebrow {
    margin-bottom: 14px;
    padding: 6px 10px;
    font-size: 9px;
    letter-spacing: 2px;
  }

  .growth-audit-popup__visual h2 {
    padding-right: 46px;
    font-size: clamp(36px, 12vw, 50px);
  }

  .growth-audit-popup__form-panel {
    padding: 26px 24px 24px;
  }

  .growth-audit-popup__form-kicker {
    margin-bottom: 8px;
    font-size: 9px;
    letter-spacing: 2px;
  }

  .growth-audit-popup__form-intro h3 {
    font-size: 24px;
  }

  .growth-audit-popup__form-intro p {
    margin: 10px 0 20px;
    font-size: 12px;
  }

  .growth-audit-form__field + .growth-audit-form__field {
    margin-top: 13px;
  }

  .growth-audit-form__field input,
  .growth-audit-form__submit {
    min-height: 50px;
    height: 50px;
  }

  .growth-audit-popup__privacy {
    margin-top: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .growth-audit-popup,
  .growth-audit-popup__dialog,
  .growth-audit-popup__close,
  .growth-audit-form__submit {
    transition: none;
  }
}
