/* v255 NESkills compact centered lead capture modal
   Isolated lead-capture layer only. Does not modify approved page sections. */
.neskills-lead-gate-open {
  overflow: hidden !important;
}

.neskills-lead-gate {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: none;
  min-height: 100vh;
  min-height: 100svh;
  padding: 18px;
  background: rgba(4, 21, 23, 0.50);
  color: #112426;
  font-family: inherit;
  opacity: 0;
  visibility: hidden;
  transition: opacity 220ms ease, visibility 220ms ease;
  overflow: hidden;
}

@supports (backdrop-filter: blur(5px)) {
  .neskills-lead-gate {
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
  }
}

.neskills-lead-gate.is-visible {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
}

.neskills-lead-gate__shell {
  width: min(100%, 388px);
  margin: auto;
}

.neskills-lead-gate__brand,
.neskills-lead-gate__proof {
  display: none;
}

.neskills-lead-gate__card {
  position: relative;
  width: 100%;
  max-height: calc(100svh - 36px);
  overflow-y: auto;
  padding: 22px 22px 18px;
  border: 1px solid rgba(244, 181, 33, 0.28);
  border-radius: 24px;
  background:
    radial-gradient(circle at 95% 0%, rgba(244, 181, 33, 0.14), transparent 34%),
    #ffffff;
  color: #112426;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.32);
  scrollbar-width: thin;
}

.neskills-lead-gate__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: rgba(8, 45, 46, 0.08);
  color: #082d2e;
  cursor: pointer;
  font-size: 1.18rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.neskills-lead-gate__close:hover,
.neskills-lead-gate__close:focus-visible {
  background: rgba(8, 45, 46, 0.14);
  outline: 2px solid rgba(244, 181, 33, 0.75);
  outline-offset: 2px;
}

.neskills-lead-gate__eyebrow {
  display: inline-flex;
  align-items: center;
  margin: 0 0 10px;
  padding: 6px 10px;
  border: 1px solid rgba(244, 181, 33, 0.36);
  border-radius: 999px;
  background: rgba(244, 181, 33, 0.13);
  color: #8d6500;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.neskills-lead-gate__card h3 {
  margin: 0 40px 8px 0;
  color: #082d2e;
  font-size: clamp(1.36rem, 4vw, 1.68rem);
  line-height: 1.08;
  letter-spacing: -0.028em;
}

.neskills-lead-gate__card p {
  margin: 0 0 14px;
  color: #445052;
  line-height: 1.42;
  font-size: 0.88rem;
}

.neskills-lead-gate__value-line {
  display: none;
}

.neskills-lead-gate__field {
  display: grid;
  gap: 5px;
  margin-bottom: 10px;
}

.neskills-lead-gate__field label {
  color: #102729;
  font-size: 0.82rem;
  font-weight: 850;
}

.neskills-lead-gate__field input {
  width: 100%;
  min-height: 44px;
  padding: 0 13px;
  border: 1px solid rgba(8, 45, 46, 0.18);
  border-radius: 13px;
  background: #ffffff;
  color: #112426;
  font: inherit;
  font-size: 0.94rem;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.neskills-lead-gate__field input:focus {
  border-color: #f4b521;
  box-shadow: 0 0 0 3px rgba(244, 181, 33, 0.18);
}

.neskills-lead-gate__submit {
  width: 100%;
  min-height: 46px;
  margin-top: 2px;
  border: 0;
  border-radius: 999px;
  background: #f4b521;
  color: #082d2e;
  cursor: pointer;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 900;
  box-shadow: 0 13px 26px rgba(244, 181, 33, 0.24);
  transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

.neskills-lead-gate__submit:hover,
.neskills-lead-gate__submit:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(244, 181, 33, 0.32);
  outline: 2px solid rgba(8, 45, 46, 0.30);
  outline-offset: 3px;
}

.neskills-lead-gate__submit:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.neskills-lead-gate__trust,
.neskills-lead-gate__consent,
.neskills-lead-gate__error {
  font-size: 0.73rem;
  line-height: 1.34;
}

.neskills-lead-gate__trust {
  margin: 10px 0 0;
  color: #617072;
}

.neskills-lead-gate__consent {
  margin: 5px 0 0;
  color: #6b7779;
}

.neskills-lead-gate__error {
  min-height: 1rem;
  margin: 7px 0 0;
  color: #9a2d20;
  font-weight: 800;
}

.neskills-lead-gate__skip {
  width: 100%;
  margin-top: 9px;
  border: 0;
  background: transparent;
  color: #667477;
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.neskills-lead-gate__skip:hover,
.neskills-lead-gate__skip:focus-visible {
  color: #082d2e;
  outline: none;
}

.neskills-lead-gate__success {
  display: none;
  text-align: left;
}

.neskills-lead-gate__success.is-active {
  display: block;
}

.neskills-lead-gate__form.is-hidden {
  display: none;
}

.neskills-lead-gate__success-mark {
  width: 44px;
  height: 44px;
  margin-bottom: 12px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(244, 181, 33, 0.22);
  color: #082d2e;
  font-size: 1.28rem;
  font-weight: 900;
}

.neskills-lead-gate__continue {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 46px;
  margin-top: 12px;
  border-radius: 999px;
  background: #082d2e;
  color: #ffffff;
  text-decoration: none;
  font-weight: 900;
}

@media (max-width: 520px) {
  .neskills-lead-gate {
    padding: 14px;
    align-items: center;
  }

  .neskills-lead-gate__shell {
    width: min(100%, 360px);
  }

  .neskills-lead-gate__card {
    padding: 19px 17px 16px;
    border-radius: 22px;
    max-height: calc(100svh - 28px);
  }

  .neskills-lead-gate__close {
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
  }

  .neskills-lead-gate__eyebrow {
    margin-bottom: 8px;
    font-size: 0.62rem;
  }

  .neskills-lead-gate__card h3 {
    margin-right: 34px;
    font-size: 1.32rem;
  }

  .neskills-lead-gate__card p {
    margin-bottom: 11px;
    font-size: 0.83rem;
  }

  .neskills-lead-gate__field {
    margin-bottom: 9px;
  }

  .neskills-lead-gate__field input {
    min-height: 42px;
    font-size: 0.9rem;
  }

  .neskills-lead-gate__submit {
    min-height: 44px;
  }

  .neskills-lead-gate__trust,
  .neskills-lead-gate__consent,
  .neskills-lead-gate__error {
    font-size: 0.7rem;
  }
}
