/* Homepage interaction, spacing, and AI CTA refinements. */
.page-home .home-how {
  margin-top: 52px !important;
  margin-bottom: 52px !important;
}

.page-home .home-paths {
  gap: 52px !important;
}

.page-home .home-how-step-content {
  min-width: 0;
}

.page-home .home-how-step-title {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 28px;
  gap: 8px;
  align-items: start;
}

.page-home .home-how-step-title h3 {
  margin-right: 0 !important;
}

.page-home .home-how-toggle {
  display: inline-grid;
  width: 28px;
  height: 28px;
  place-items: center;
  padding: 0;
  border: 1px solid #1e3550;
  border-radius: 8px;
  background: #1e3550;
  color: #fff;
  cursor: pointer;
  transition:
    border-color .25s ease,
    background-color .25s ease,
    color .25s ease,
    box-shadow .25s ease;
}

.page-home .home-how-toggle:hover,
.page-home .home-how-toggle:focus-visible {
  border-color: #2f4b69;
  background: #2f4b69;
  color: #fff;
  box-shadow: 0 5px 12px rgba(30, 53, 80, .22);
}

.page-home .home-how-toggle:focus-visible {
  outline: 3px solid rgba(15, 118, 110, .18);
  outline-offset: 2px;
}

.page-home .home-how-toggle-icon {
  display: block;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1;
  transform: translateY(-1px);
  transition: opacity .25s ease;
}

.home-js .page-home .home-how-description {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition:
    grid-template-rows .36s ease,
    opacity .28s ease,
    margin-top .36s ease;
}

.home-js .page-home .home-how-description > div {
  min-height: 0;
  overflow: hidden;
}

.home-js .page-home .home-how-step.is-open .home-how-description {
  grid-template-rows: 1fr;
  margin-top: 5px;
  opacity: 1;
}

.page-home .home-how-step.is-open .home-how-toggle {
  border-color: #607891;
  background: #607891;
  color: #fff;
}

.page-home .home-path-actions-commercial .market-button-flexibility {
  border-color: #7137d8 !important;
  background: linear-gradient(135deg, #6426c7 0%, #8b4de8 100%) !important;
  color: #fff !important;
  box-shadow: 0 8px 20px rgba(100, 38, 199, .34) !important;
}

.page-home .home-path-actions-commercial .market-button-flexibility span[aria-hidden="true"] {
  color: #fff !important;
}

.page-home .home-path-actions-commercial .market-button-flexibility:hover,
.page-home .home-path-actions-commercial .market-button-flexibility:focus-visible {
  border-color: #5520ae !important;
  background: linear-gradient(135deg, #5520ae 0%, #7638d5 100%) !important;
  color: #fff !important;
  box-shadow: 0 12px 26px rgba(85, 32, 174, .42) !important;
}

@media (max-width: 760px) {
  .page-home .home-how {
    margin-top: 32px !important;
    margin-bottom: 32px !important;
  }

  .page-home .home-paths {
    gap: 32px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-js .page-home .home-how-description,
  .page-home .home-how-toggle,
  .page-home .home-how-toggle-icon {
    transition: none;
  }
}
