.ap-home-stack-strip {
  background: #fff;
  padding: 48px 32px 38px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.ap-home-stack-inner {
  max-width: 1500px;
  margin: 0 auto;
  text-align: center;
}

.ap-home-stack-kicker {
  margin: 0 0 30px;
  color: #334155;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.ap-home-stack-logos {
  width: min(1380px, 100%);
  margin: 0 auto;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.ap-home-stack-logos img {
  display: block;
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.82;
  flex: 0 1 auto;
  transition: opacity 160ms ease, filter 160ms ease, transform 160ms ease;
}

/* Icon/square logos */
.ap-home-stack-logos img[alt="HubSpot"],
.ap-home-stack-logos img[alt="Google Analytics"],
.ap-home-stack-logos img[alt="Google Tag Manager"],
.ap-home-stack-logos img[alt="Google Sheets"],
.ap-home-stack-logos img[alt="WordPress"] {
  width: 72px;
  height: 72px;
  max-width: 72px;
  max-height: 72px;
}

/* Zapier square logo */
.ap-home-stack-logos img[alt="Zapier"] {
  width: 78px;
  height: 78px;
  max-width: 78px;
  max-height: 78px;
}

/* Wordmark-style logos */
.ap-home-stack-logos img[alt="Make"] {
  max-width: 170px;
  max-height: 58px;
}

.ap-home-stack-logos img[alt="n8n"] {
  max-width: 180px;
  max-height: 64px;
}

.ap-home-stack-logos img[alt="Slack"] {
  max-width: 180px;
  max-height: 66px;
}

.ap-home-stack-logos img:hover {
  filter: grayscale(0);
  opacity: 1;
  transform: translateY(-2px);
}

.ap-home-stack-note {
  max-width: 900px;
  margin: 56px auto 0;
  color: #64748b;
  font-size: 16px;
  line-height: 1.55;
}

.ap-home-stack-note a {
  color: #2563eb;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.ap-home-stack-note a:hover {
  text-decoration: underline;
}

@media (max-width: 1100px) {
  .ap-home-stack-logos {
    flex-wrap: wrap;
    justify-content: center;
    gap: 26px 38px;
  }
}

@media (max-width: 720px) {
  .ap-home-stack-strip {
    padding: 34px 16px 28px;
  }

  .ap-home-stack-kicker {
    font-size: 12px;
    margin-bottom: 22px;
  }

  .ap-home-stack-logos {
    gap: 20px 28px;
  }

  .ap-home-stack-logos img[alt="HubSpot"],
  .ap-home-stack-logos img[alt="Google Analytics"],
  .ap-home-stack-logos img[alt="Google Tag Manager"],
  .ap-home-stack-logos img[alt="Google Sheets"],
  .ap-home-stack-logos img[alt="WordPress"],
  .ap-home-stack-logos img[alt="Zapier"] {
    width: 52px;
    height: 52px;
    max-width: 52px;
    max-height: 52px;
  }

  .ap-home-stack-logos img[alt="Make"],
  .ap-home-stack-logos img[alt="n8n"],
  .ap-home-stack-logos img[alt="Slack"] {
    max-width: 132px;
    max-height: 52px;
  }

  .ap-home-stack-note {
    font-size: 14px;
  }
}

/* Final spacing override: separate logo row from explanatory copy */
.ap-home-stack-logos {
  margin-bottom: 56px !important;
}

.ap-home-stack-note {
  margin-top: 0 !important;
  font-size: 16px !important;
  color: #64748b !important;
}
