.native-lead-form-host {
  width: 100%;
}

.native-lead-form {
  --lead-accent: #3f51ed;
  --lead-accent-hover: #2f3eca;
  --lead-button-color: #fff;
  width: 100%;
  margin: 0;
  color: #212d3a;
  font: inherit;
}

.native-lead-form[data-tone="green"] {
  --lead-accent: #00b469;
  --lead-accent-hover: #009e5c;
}

.native-lead-form[data-tone="yellow"] {
  --lead-accent: #e1e42e;
  --lead-accent-hover: #ced126;
  --lead-button-color: #171717;
}

.native-lead-form__fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px 16px;
}

.native-lead-form__field {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.native-lead-form__field[hidden] {
  display: none;
}

.native-lead-form__label {
  display: block;
  margin: 0 0 7px;
  color: #212d3a;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
}

.native-lead-form__label--screen-reader {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.native-lead-form__required {
  color: #d31520;
}

.native-lead-form input:not([type="checkbox"]),
.native-lead-form select,
.native-lead-form textarea {
  display: block;
  box-sizing: border-box;
  width: 100%;
  min-height: 50px;
  margin: 0;
  padding: 13px 14px;
  border: 1px solid #999;
  border-radius: 3px;
  background: #f5f8fa;
  color: #111;
  font: inherit;
  font-size: 16px;
  line-height: 1.4;
  box-shadow: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.native-lead-form select {
  height: 50px !important;
  min-height: 50px !important;
  padding: 13px 40px 13px 14px !important;
  border: 1px solid #999 !important;
  border-radius: 3px !important;
  background-color: #f5f8fa !important;
  background-image: linear-gradient(45deg, transparent 50%, #46515d 50%), linear-gradient(135deg, #46515d 50%, transparent 50%) !important;
  background-position: calc(100% - 18px) 21px, calc(100% - 13px) 21px !important;
  background-repeat: no-repeat !important;
  background-size: 5px 5px, 5px 5px !important;
  color: #111 !important;
  font: inherit !important;
  font-size: 16px !important;
  line-height: 1.4 !important;
  appearance: none !important;
  -webkit-appearance: none !important;
}

.native-lead-form textarea {
  min-height: 118px;
  resize: vertical;
}

.native-lead-form input::placeholder,
.native-lead-form textarea::placeholder {
  color: #525d69;
  opacity: 1;
}

.native-lead-form input:not([type="checkbox"]):hover,
.native-lead-form select:hover,
.native-lead-form textarea:hover {
  border-color: #59636d;
  background: #fff;
}

.native-lead-form input:focus-visible,
.native-lead-form select:focus-visible,
.native-lead-form textarea:focus-visible,
.native-lead-form button:focus-visible,
.native-lead-form a:focus-visible {
  outline: 3px solid rgba(63, 81, 237, 0.35);
  outline-offset: 2px;
}

.native-lead-form [aria-invalid="true"] {
  border-color: #d31520 !important;
  box-shadow: 0 0 0 2px rgba(211, 21, 32, 0.12) !important;
}

.native-lead-form__checkboxes {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 9px 16px;
}

.native-lead-form__checkbox,
.native-lead-form__teacher-notice {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 0;
  color: #212d3a;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.45;
  cursor: pointer;
}

.native-lead-form__checkbox input,
.native-lead-form__teacher-notice input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--lead-accent);
}

.native-lead-form__teacher-notice a {
  color: #3044cd;
  text-decoration: underline;
}

.native-lead-form__error {
  min-height: 0;
  margin: 6px 0 0;
  color: #d31520;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}

.native-lead-form__error:empty {
  display: none;
}

.native-lead-form__actions {
  margin-top: 24px;
}

.native-lead-form__submit {
  min-width: 220px;
  min-height: 50px;
  padding: 13px 32px;
  border: 0;
  border-radius: 3px;
  background: var(--lead-accent);
  color: var(--lead-button-color);
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  cursor: pointer;
  transition: background-color 160ms ease, transform 160ms ease, opacity 160ms ease;
}

.native-lead-form__submit:hover:not(:disabled) {
  background: var(--lead-accent-hover);
  transform: translateY(-1px);
}

.native-lead-form__submit:disabled {
  cursor: wait;
  opacity: 0.72;
}

.native-lead-form__status {
  min-height: 0;
  margin: 14px 0 0;
  font-size: 15px;
  line-height: 1.45;
}

.native-lead-form__status:empty {
  display: none;
}

.native-lead-form__status[data-state="error"] {
  color: #b5121b;
  font-weight: 600;
}

.native-lead-form__confirmation {
  padding: 24px;
  border-left: 5px solid var(--lead-accent);
  background: #f5f8fa;
  color: #212d3a;
}

.native-lead-form__confirmation h3 {
  margin: 0 0 10px;
  color: inherit;
  font-size: clamp(24px, 3vw, 30px);
  line-height: 1.2;
}

.native-lead-form__confirmation p {
  margin: 0;
  color: inherit;
  font-size: 16px;
  line-height: 1.6;
}

.native-lead-form__honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

@media (min-width: 640px) {
  .native-lead-form__fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .native-lead-form__field[data-width="full"] {
    grid-column: 1 / -1;
  }

  .native-lead-form__checkboxes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 639px) {
  .native-lead-form__submit {
    width: 100%;
    min-width: 0;
  }

  .native-lead-form__confirmation {
    padding: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .native-lead-form input,
  .native-lead-form select,
  .native-lead-form textarea,
  .native-lead-form__submit {
    transition: none;
  }
}
