@media (max-width: 520px) {
  .ms-container {
    width: min(100% - 28px, 1180px);
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 34px;
  }

  h3 {
    font-size: 22px;
  }

  .ms-hero-text,
  p {
    font-size: 16px;
  }

  .ms-eyebrow {
    font-size: 11px;
  }

  .ms-btn {
    width: 100%;
  }

  .ms-actions {
    width: 100%;
  }
}
/* Lead form completion */
.ms-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.ms-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

.ms-lead-form button:disabled {
  cursor: wait;
  opacity: 0.68;
  transform: none;
}

.ms-form-status {
  min-height: 24px;
  margin-top: 2px;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
}

.ms-form-status.is-success {
  color: #9ff2c4;
}

.ms-form-status.is-error {
  color: #ffb7b7;
}

.ms-form-note a,
.ms-site-footer a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ms-form-note a:hover,
.ms-site-footer a:hover {
  color: var(--ms-white);
}

@media (max-width: 680px) {
  .ms-form-grid {
    grid-template-columns: 1fr;
  }
}
