.ac-testaccount-hero {
  padding: 80px 0;
  background: #e7f0f5;
  color: #03213D;
  font-family: 'Source Sans Pro', sans-serif;
}

.testaccount-container {
  max-width: var(--layout-max-width);
  margin: 0 auto;
  padding: 0 var(--layout-gutter);
}

.ac-testaccount-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: start;
}

.ac-testaccount-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5rem;
  line-height: 1.2;
  color: #03213D;
  margin-bottom: 24px;
}

.ac-testaccount-intro,
.ac-testaccount-subtext,
.ac-testaccount-summary {
  font-size: 1rem;
  line-height: 1.6;
}

.ac-testaccount-steps {
  padding-left: 20px;
  margin-bottom: 32px;
}

.ac-testaccount-steps li {
  margin-bottom: 12px;
  line-height: 1.5;
}

.ac-testaccount-summary {
  color: #03213D;
  opacity: 0.9;
}

.ac-testaccount-form-wrapper {
  position: sticky;
  top: 32px;
  align-self: start;
}

.ac-testaccount-form-card {
  background: #03213D;
  color: #ffffff;
  border-radius: 18px;
  padding: 34px 34px 28px;
  box-shadow: 0 24px 50px rgba(16, 36, 54, 0.22);
}

.ac-testaccount-form-card.has-loaded-form {
  background: #f3f7fa;
  color: #03213D;
}

.ac-testaccount-form-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.9rem, 2.6vw, 2.4rem);
  line-height: 1.15;
  color: #ffffff;
  margin: 0 0 28px;
  text-align: center;
}

.ac-testaccount-form-card.has-loaded-form .ac-testaccount-form-title {
  color: #03213D;
}

.ac-testaccount-form-shell {
  min-height: 360px;
  border-radius: 14px;
  padding: 20px;
  background: rgba(10, 22, 33, 0.08);
}

.ac-testaccount-form-gate {
  min-height: 318px;
  border-radius: 12px;
  border: 1px dashed rgba(255, 255, 255, 0.24);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 28px;
  padding: 32px 28px;
  text-align: center;
}

.ac-testaccount-form-gate[hidden],
.ac-testaccount-hubspot-target[hidden] {
  display: none !important;
}

.ac-testaccount-form-message {
  max-width: 320px;
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
}

.ac-testaccount-form-button {
  appearance: none;
  border: none;
  border-radius: 999px;
  background: #FF8A3D;
  color: #03213D;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 18px 34px;
  min-width: 220px;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
  box-shadow: 0 14px 28px rgba(255, 138, 61, 0.22);
}

.ac-testaccount-form-button:hover,
.ac-testaccount-form-button:focus-visible {
  background: #FF7A2F;
  transform: translateY(-1px);
  box-shadow: 0 18px 30px rgba(255, 138, 61, 0.28);
}

.ac-testaccount-form-button:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}

.ac-testaccount-form-button:disabled {
  cursor: wait;
  opacity: 0.88;
}

.ac-testaccount-hubspot-target {
  width: 100%;
}

.ac-testaccount-form-shell.is-loaded {
  padding: 0;
  background: transparent;
  min-height: auto;
}

.ac-testaccount-hubspot-target .hbspt-form {
  background: #ffffff;
  border-radius: 14px;
  padding: 22px 20px 8px;
  box-shadow: 0 16px 30px rgba(3, 33, 61, 0.08);
}

.ac-testaccount-hubspot-target iframe {
  width: 100%;
}

.ac-testaccount-hubspot-target input,
.ac-testaccount-hubspot-target select,
.ac-testaccount-hubspot-target textarea {
  border-radius: 10px !important;
  border: 1px solid #c7d6e2 !important;
  min-height: 48px;
}

.ac-testaccount-hubspot-target textarea {
  min-height: 120px;
}

.ac-testaccount-hubspot-target .hs-button {
  width: 100%;
  min-height: 54px;
  border: none !important;
  border-radius: 999px !important;
  background: #FF8A3D !important;
  color: #03213D !important;
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
}

.ac-testaccount-hubspot-target .hs-button:hover,
.ac-testaccount-hubspot-target .hs-button:focus {
  background: #FF7A2F !important;
}

@media (max-width: 1199px) {
  .ac-testaccount-grid {
    gap: 40px;
  }
}

@media (max-width: 900px) {
  .ac-testaccount-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .ac-testaccount-hero {
    padding: 60px 0;
  }

  .ac-testaccount-form-wrapper {
    position: static;
  }
}

@media (max-width: 640px) {
  .ac-testaccount-title {
    font-size: 1.8rem;
  }

  .ac-testaccount-form-card {
    padding: 26px 20px 20px;
  }

  .ac-testaccount-form-shell {
    min-height: 320px;
    padding: 16px;
  }

  .ac-testaccount-form-gate {
    min-height: 286px;
    padding: 24px 18px;
    gap: 22px;
  }

  .ac-testaccount-form-button {
    width: 100%;
    min-width: 0;
  }

  .ac-testaccount-hero {
    padding: 40px 0;
  }

}
