.vsl-gate-shell {
  width: 100%;
}

.vsl-gate-loading {
  min-height: 220px;
  display: grid;
  place-items: center;
  border-radius: calc(var(--radius-lg) - 12px);
  border: 1px solid var(--stroke);
  background: rgba(15, 16, 22, 0.35);
  color: rgba(245, 248, 255, 0.72);
  font-weight: 650;
  letter-spacing: -0.01em;
}

.vsl-gate-shell.is-hiding {
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 200ms ease, transform 200ms ease;
  pointer-events: none;
}

.vsl-wistia {
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 220ms ease, transform 220ms ease;
}

.vsl-wistia.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.vsl-wistia.vsl-wistia-highlight {
  box-shadow: 0 0 0 1px rgba(47, 107, 255, 0.22), 0 26px 96px rgba(47, 107, 255, 0.16);
}

.vsl-modal[hidden] {
  display: none;
}

.vsl-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  align-items: end;
  justify-items: center;
  padding: 18px var(--gutter) calc(18px + env(safe-area-inset-bottom));
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.vsl-modal[data-open="true"] {
  opacity: 1;
  pointer-events: auto;
}

.vsl-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
}

.vsl-modal-dialog {
  position: relative;
  width: min(660px, 100%);
  max-height: min(78vh, 720px);
  overflow: auto;
  border-radius: calc(var(--radius-lg) - 2px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: radial-gradient(820px 520px at 50% 0%, rgba(47, 107, 255, 0.18), transparent 58%),
    linear-gradient(180deg, rgba(13, 16, 28, 0.92), rgba(13, 16, 28, 0.76));
  box-shadow: var(--shadow);
  padding: 20px 18px 18px;
  transform: translateY(10px);
  transition: transform 180ms ease;
}

.vsl-modal[data-open="true"] .vsl-modal-dialog {
  transform: translateY(0);
}

.vsl-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(15, 16, 22, 0.55);
  color: rgba(245, 248, 255, 0.92);
  font-size: 22px;
  line-height: 0;
  cursor: pointer;
}

.vsl-modal-close:hover {
  background: rgba(255, 255, 255, 0.06);
}

.vsl-modal-kicker {
  display: inline-flex;
  align-items: center;
  justify-self: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: rgba(15, 16, 22, 0.45);
  color: rgba(245, 248, 255, 0.82);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: -0.01em;
}

.vsl-modal-kicker::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(47, 107, 255, 0.95);
  box-shadow: 0 0 0 3px rgba(47, 107, 255, 0.14);
}

.vsl-modal-head {
  display: grid;
  gap: 12px;
  padding-right: 46px;
}

.vsl-modal-sub {
  margin-top: 0;
  font-size: 15px;
}

.vsl-form {
  margin-top: 18px;
}

.vsl-form-grid {
  display: grid;
  gap: 14px;
}

.vsl-field {
  display: grid;
  gap: 8px;
}

.vsl-label {
  font-weight: 720;
  letter-spacing: -0.01em;
  color: rgba(245, 248, 255, 0.92);
  font-size: 13px;
}

.vsl-input {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(15, 16, 22, 0.42);
  color: rgba(245, 248, 255, 0.96);
  padding: 14px 14px;
  min-height: 48px;
  outline: none;
  font-size: 15px;
  letter-spacing: -0.01em;
}

.vsl-input::placeholder {
  color: rgba(245, 248, 255, 0.42);
}

.vsl-input:focus {
  border-color: rgba(90, 155, 255, 0.62);
  box-shadow: 0 0 0 4px rgba(47, 107, 255, 0.14);
}

.vsl-input[data-invalid="true"] {
  border-color: rgba(255, 120, 120, 0.6);
  box-shadow: 0 0 0 4px rgba(255, 120, 120, 0.12);
}

.vsl-help {
  color: rgba(245, 248, 255, 0.56);
  font-size: 12px;
}

.vsl-error {
  color: rgba(255, 168, 168, 0.92);
  font-size: 12px;
  min-height: 16px;
}

.vsl-form-foot {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.vsl-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(15, 16, 22, 0.32);
}

.vsl-consent-box {
  margin-top: 2px;
  width: 18px;
  height: 18px;
  accent-color: rgba(47, 107, 255, 0.95);
}

.vsl-consent-text {
  font-size: 12.5px;
  line-height: 1.45;
  color: rgba(245, 248, 255, 0.72);
}

.vsl-form-status {
  color: rgba(245, 248, 255, 0.7);
  font-size: 13px;
  min-height: 18px;
}

.vsl-form-status.is-error {
  color: rgba(255, 168, 168, 0.92);
}

.vsl-form-status.is-success {
  color: rgba(164, 255, 210, 0.92);
}

.vsl-submit {
  width: 100%;
  position: relative;
}

.vsl-spinner {
  display: none;
  width: 16px;
  height: 16px;
  margin-left: 10px;
  border-radius: 999px;
  border: 2px solid rgba(6, 7, 12, 0.26);
  border-top-color: rgba(6, 7, 12, 0.86);
  animation: vslspin 700ms linear infinite;
}

.vsl-submit.is-sending .vsl-spinner {
  display: inline-block;
}

.vsl-submit.is-sending {
  opacity: 0.92;
  pointer-events: none;
}

.vsl-hp {
  position: absolute;
  left: -9999px;
  top: -9999px;
  opacity: 0;
  pointer-events: none;
}

body.vsl-modal-open {
  overflow: hidden;
}

@keyframes vslspin {
  to {
    transform: rotate(360deg);
  }
}

@media (min-width: 720px) {
  .vsl-modal {
    align-items: center;
    padding: 22px var(--gutter);
  }

  .vsl-modal-dialog {
    padding: 26px 26px 24px;
  }

  .vsl-form-grid {
    grid-template-columns: 1fr 1fr;
  }

  .vsl-field:nth-child(3) {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .vsl-modal-kicker{
    display: none;
  }
  .vsl-modal[data-open="true"] .vsl-modal-dialog{
    transform: translateY(-15%);
  }
}
