.hero {
  display: block;
  min-height: 0;
  padding: clamp(175px, 14vw, 210px) 0 0;
}

.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 5vw, 80px);
  width: var(--page);
  margin: 0 auto clamp(50px, 6vw, 96px);
}

.hero-layout .hero-content,
.hero-layout .hero-copy,
.hero-layout h1 {
  width: 100%;
  max-width: 100%;
}

.hero-layout .eyebrow {
  max-width: 100%;
}

.hero-registration {
  width: 100%;
  margin: 0;
  padding: clamp(22px, 2.4vw, 38px);
  border: 1px solid #494266;
  border-radius: 24px;
  background: linear-gradient(145deg, #1c1a33, #101222 70%);
  box-shadow: 0 24px 70px #06061080;
  color: #f7f7ff;
  text-align: left;
  scroll-margin-top: 135px;
}

.hero-registration h2 {
  margin: 0;
  font: 600 clamp(26px, 2.3vw, 36px)/1.1 var(--serif);
  letter-spacing: -.045em;
}

.registration-intro {
  margin: 10px 0 24px;
  color: #bec1d4;
  font-size: 14px;
  line-height: 1.55;
}

.hero-registration form {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.hero-registration form .get-started {
  max-width: none;
}

:is(.hero-registration, .contact) form input:not([type=hidden]) {
  min-width: 0;
  min-height: 48px;
  border-radius: 10px;
  font: 400 16px var(--sans);
}

:is(.hero-registration, .contact) form input::placeholder {
  font-size: 15px;
}

.hero-registration .wz-progress-step,
.hero-registration .wz-progress-hint {
  color: #c9cada;
}

.hero-registration .wz-progress-track {
  background: #39394e;
}

:is(.hero-registration, .contact) form .wz-next,
:is(.hero-registration, .contact) form input[type=submit] {
  flex: 1;
  min-height: 48px;
  border-radius: 12px;
}

:is(.hero-registration, .contact) form .wz-back {
  min-height: 48px;
  border-radius: 12px;
}

:is(.hero-registration, .contact) .wz-row,
:is(.hero-registration, .contact) .get-started > div {
  min-width: 0;
}

.hero .hero-footer {
  position: relative;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .hero {
    padding-top: 155px;
  }

  .hero-layout {
    grid-template-columns: minmax(0, 1fr);
    max-width: 650px;
    gap: 26px;
    margin-bottom: 38px;
  }

  .hero-layout .hero-content { order: 0; }
  .hero .hero-image { display: none; }
  .hero .hero-footer { padding-block: 14px; height: auto; }
}

@media (max-width: 760px) {
  .hero { padding-top: 135px; }
  .hero-layout h1 { margin-bottom: 16px; font-size: clamp(36px, 9vw, 54px); }
  .hero-layout .hero-copy { margin-bottom: 14px; }
  .hero-layout .eyebrow { margin-bottom: 16px; }
  .hero-registration { padding: 20px; border-radius: 20px; scroll-margin-top: 118px; }
  .registration-intro { margin-bottom: 18px; }
}

@media (max-width: 560px) {
  :is(.hero-registration, .contact) .get-started:not(.aipro-wizard) {
    display: flex;
    flex-direction: column;
  }
}

.hero + .proof-bar {
  margin-top: 0;
}

/* Keep the closing form within comfortable reading and tapping distance. */
.contact .contact-inner form[data-registration] {
  width: 100%;
  max-width: 520px !important;
}

@media (max-width: 560px) {
  .contact .contact-inner form[data-registration] {
    padding: 20px !important;
  }
}
