.hubspot-form {
  background: var(--color-gray-100);
}

.hubspot-form.contained>.container {
  --padding: 56px;
  --gray-bg-height: 82px;
  max-width: 968px;
  padding: var(--padding);
  padding-bottom: calc(var(--gray-bg-height) + 10px) !important;
  background-color: var(--color-white);
  box-shadow: 0 4px 44px 0 rgba(0, 0, 0, 0.04);
  border-radius: 16px;
  position: relative;
}

.hubspot-form.contained>.container::before {
  content: "";
  width: 100%;
  height: var(--gray-bg-height);
  background: var(--color-gray-100);
  position: absolute;
  bottom: 0px;
  left: 0px;
}

.hubspot-form.contained .hs_submit {
  position: absolute;
  bottom: 24px;
  left: var(--padding);
  z-index: 1;
}

.hubspot-form .form-header {
  margin: 0px auto 56px auto;
  max-width: 856px;
}

.hubspot-form .form-header p {
  margin-top: 24px;
}

.form-content {
  display: flex;
  gap: 76px;
  max-width: 856px;
  margin-inline: auto;
}

.hubspot-form .form-divider {
  width: 1px;
  background: var(--color-gray-300);
  margin: 0;
  min-height: 100%;
}

.hubspot-form .hubspot-form-code {
  width: 100%;
}

.form-steps {
  list-style-type: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 184px;
}


/* Media Queries */
@media screen and (max-width: 64rem) {
  .form-content {
    display: flex;
    flex-direction: column-reverse;
    gap: 32px;
  }

  .hubspot-form .form-header {
    margin-bottom: 32px;
  }

  .hubspot-form .form-divider {
    display: none;
  }

  .form-steps {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .hubspot-form .hubspot-form-code {
    max-width: 100%;
  }

  .hubspot-form.contained>.container {
    --padding: 32px;
    margin-inline: 16px;
  }
}