.bas-native-form {
  position: relative;
}

.contact-form,
.early-access-form {
  justify-self: start;
  width: min(100%, 520px);
  max-width: 520px;
  padding: 24px;
}

.bas-form-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.bas-form-heading h3 {
  margin: 5px 0 0;
  color: var(--navy-900);
  font-size: 22px;
  line-height: 1.25;
}

.bas-form-kicker,
.bas-required-note {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.bas-required-note {
  flex: none;
  padding-top: 3px;
}

.bas-required-note span,
.contact-fields b,
.early-access-fields b {
  color: #b42318;
}

.contact-fields b,
.early-access-fields b {
  margin-left: 2px;
}

.early-access-fields input,
.early-access-fields select {
  color: var(--ink);
  font: inherit;
  background: #fff;
  border: 1px solid #aebfce;
  border-radius: 5px;
  width: 100%;
  min-height: 38px;
  padding: 7px 10px;
  font-size: 13px;
}

.contact-fields {
  gap: 14px 16px;
}

.contact-fields label,
.early-access-fields label {
  gap: 5px;
}

.contact-fields input,
.contact-fields select,
.contact-fields textarea {
  min-height: 38px;
  padding: 7px 10px;
  font-size: 13px;
}

.contact-fields textarea {
  min-height: 88px;
  max-height: 180px;
}

.contact-message {
  width: min(100%, 380px);
  max-width: 380px;
}

.contact-message-heading {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.message-counter {
  color: var(--muted) !important;
  font-size: 10px !important;
  font-variant-numeric: tabular-nums;
  font-weight: 600 !important;
}

.privacy-check,
.turnstile-field {
  margin-top: 14px;
}

.contact-submit {
  margin-top: 18px;
}

.form-status {
  margin-bottom: 14px;
  padding: 8px 10px;
}

.early-access-fields {
  gap: 12px 14px;
}

.early-access-fields .country-field {
  grid-column: auto;
}

.early-access-check {
  margin-top: 12px;
}

.optional-check {
  margin-top: 8px;
}

.early-access-submit {
  margin-top: 18px;
}

.contact-submit .button,
.early-access-submit .button {
  min-height: 42px;
  padding-inline: 18px;
  font-size: 13px;
}

.early-access-fields input:focus,
.early-access-fields select:focus {
  border-color: var(--blue-600);
  outline: none;
  box-shadow: 0 0 0 3px #1697f029;
}

.contact-fields :is(input, select, textarea)[aria-invalid="true"],
.early-access-fields :is(input, select, textarea)[aria-invalid="true"] {
  border-color: #b42318;
  box-shadow: 0 0 0 3px #b4231824;
}

.bas-native-form button[type="submit"] {
  cursor: pointer;
}

.bas-native-form button[type="submit"][disabled] {
  cursor: wait;
  opacity: .72;
  transform: none;
}

.bas-form-response {
  display: none;
  margin-top: 18px;
  border-radius: 6px;
  padding: 13px 15px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

.bas-form-response.is-visible {
  display: block;
}

.bas-form-response.is-success {
  color: #0d5c2d;
  background: #e9f7ee;
  border: 1px solid #9dd5ae;
}

.bas-form-response.is-error {
  color: #842029;
  background: #fff0f0;
  border: 1px solid #efb0b0;
}

.bas-form-response a {
  text-decoration: underline;
}

.bas-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.turnstile-field {
  overflow: hidden;
}

.turnstile-field .cf-turnstile {
  min-height: 65px;
}

.bas-native-form.is-complete > :not(input[type="hidden"], .bas-honeypot, .bas-form-response) {
  display: none;
}

.bas-native-form.is-complete .bas-form-response {
  margin-top: 0;
  padding: 24px;
}

@media (width <= 760px) {
  .contact-form,
  .early-access-form {
    width: 100%;
    max-width: none;
    padding: 20px;
  }

  .bas-form-heading {
    gap: 12px;
  }

  .bas-form-heading h3 {
    font-size: 19px;
  }

  .bas-required-note {
    font-size: 9px;
  }

  .turnstile-field {
    max-width: 100%;
  }

  .contact-fields input,
  .contact-fields select,
  .early-access-fields input,
  .early-access-fields select {
    min-height: 44px;
  }

  .contact-fields textarea {
    min-height: 104px;
  }

  .contact-message {
    width: 100%;
    max-width: none;
  }

  .contact-submit .button,
  .early-access-submit .button {
    min-height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bas-native-form *,
  .bas-native-form *::before,
  .bas-native-form *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
