/* /integrations — one page, sections instead of tabs (2026-09 redesign). */
:root { --int-ink: #0b1a3a; --int-muted: #6b7890; --int-line: rgba(11, 26, 58, .09); --int-lav: #f3f2ff; }

.wh-int-hero { position: relative; isolation: isolate; padding: 72px 0 40px; text-align: center; }
.wh-int-hero__bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(50% 70% at 85% 0%, rgba(191, 65, 235, .14), transparent 70%),
    radial-gradient(45% 70% at 10% 20%, rgba(35, 31, 255, .10), transparent 70%),
    linear-gradient(180deg, #f6f5ff, #fff);
}
.wh-int-eyebrow {
  display: inline-block; margin: 0 0 14px; padding: 6px 14px; border-radius: 999px; background: #fff;
  box-shadow: 0 0 0 1px var(--int-line); color: #4b3df0; font-size: 13px; letter-spacing: .06em !important;
  text-transform: uppercase; font-family: AzoSansMedium, AzoSansRegular, sans-serif;
}
.wh-int-title { margin: 0; font-family: EnzoBold, AzoSansBold, sans-serif; font-weight: 700; font-size: clamp(2.3rem, 5vw, 3.8rem); line-height: 1.05; color: var(--int-ink); }
.wh-int-lead { max-width: 640px; margin: 14px auto 0; font-size: 19px; color: #3c4a66; line-height: 1.55; }

/* sticky category bar */
.wh-int-jump {
  position: sticky; top: var(--wh-header-h, 76px); z-index: 50;
  background: rgba(255, 255, 255, .88); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--int-line);
}
/* Wraps onto a second row rather than scrolling, so every category stays visible at tablet /
   half-screen widths. (A centred flex row inside overflow-x:auto clipped the first pill off the
   left edge where it couldn't be scrolled to.) Phones scroll horizontally — see the media query. */
.wh-int-jump ul { list-style: none; margin: 0; padding: 12px 0; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.wh-int-jump a {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; white-space: nowrap;
  color: #3c4a66; text-decoration: none; font-size: 15px; font-family: AzoSansMedium, AzoSansRegular, sans-serif;
  box-shadow: inset 0 0 0 1px var(--int-line); background: #fff; transition: background .2s, color .2s, box-shadow .2s;
}
.wh-int-jump a .wh-i { width: 17px; height: 17px; color: #4b3df0; }
.wh-int-jump a span { font-size: 12.5px; padding: 1px 8px; border-radius: 999px; background: var(--int-lav); color: #4b3df0; }
.wh-int-jump a:hover { color: #4b3df0; box-shadow: inset 0 0 0 1px rgba(75, 61, 240, .35); }
.wh-int-jump a.is-active { color: #fff; background: linear-gradient(117.69deg, #231fff -29.66%, #bf41eb 113.48%); box-shadow: 0 8px 20px rgba(120, 60, 255, .28); }
.wh-int-jump a.is-active .wh-i { color: #fff; }
.wh-int-jump a.is-active span { background: rgba(255, 255, 255, .22); color: #fff; }

/* sections */
.wh-int-body { padding: 24px 0 64px; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.wh-int-sec { padding-top: 48px; scroll-margin-top: calc(var(--wh-header-h, 76px) + var(--int-jump-h, 72px)); }
.wh-int-sec__head { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.wh-int-sec__ico {
  display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 16px; color: #fff;
  background: linear-gradient(117.69deg, #231fff -29.66%, #bf41eb 113.48%); box-shadow: 0 10px 24px rgba(120, 60, 255, .28);
}
.wh-int-sec__ico .wh-i { width: 24px; height: 24px; }
.wh-int-sec__title { margin: 0; font-family: EnzoBold, AzoSansBold, sans-serif; font-size: clamp(1.5rem, 2.4vw, 2rem); color: var(--int-ink); }
.wh-int-sec__desc { margin: 4px 0 0; color: var(--int-muted); font-size: 16px; }
.wh-int-sec__count { margin-left: auto; align-self: flex-start; padding: 4px 12px; border-radius: 999px; background: var(--int-lav); color: #4b3df0; font-size: 14px; font-family: AzoSansMedium, AzoSansRegular, sans-serif; }

.wh-int-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
.wh-int-card {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  padding: 26px 16px 20px; border-radius: 20px; background: #fff; text-align: center;
  box-shadow: 0 0 0 1px var(--int-line), 0 10px 26px rgba(11, 26, 58, .04);
  transition: transform .25s cubic-bezier(.2, .7, .2, 1), box-shadow .25s;
}
.wh-int-card:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px rgba(75, 61, 240, .3), 0 18px 40px rgba(35, 31, 255, .1); }
.wh-int-card__logo { display: grid; place-items: center; height: 56px; width: 100%; }
.wh-int-card__logo img { max-width: 130px; max-height: 56px; width: auto; height: auto; object-fit: contain; }
.wh-int-card__name { font-size: 15px; color: #3c4a66; font-family: AzoSansMedium, AzoSansRegular, sans-serif; }

/* "don't see your tool" */
.wh-int-api {
  display: flex; align-items: center; gap: 20px; margin-top: 64px; padding: 28px 32px; border-radius: 24px;
  background: linear-gradient(160deg, #f4f3ff, #fbf1ff); box-shadow: 0 0 0 1px rgba(75, 61, 240, .12);
}
.wh-int-api__ico { display: grid; place-items: center; flex: none; width: 56px; height: 56px; border-radius: 16px; background: #fff; color: #4b3df0; box-shadow: 0 6px 16px rgba(35, 31, 255, .1); }
.wh-int-api__ico .wh-i { width: 26px; height: 26px; }
.wh-int-api > div { flex: 1; }
.wh-int-api__title { margin: 0; font-family: EnzoBold, AzoSansBold, sans-serif; font-size: 22px; color: var(--int-ink); }
.wh-int-api__text { margin: 4px 0 0; color: #3c4a66; }
.wh-int-api .wh-btn .wh-i { width: 18px; height: 18px; }

@media (max-width: 767.98px) {
  .wh-int-hero { padding: 48px 0 28px; }
  .wh-int-jump ul { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; padding-left: 4px; padding-right: 4px; }
  .wh-int-jump ul::-webkit-scrollbar { display: none; }
  .wh-int-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .wh-int-sec__count { display: none; }
  .wh-int-api { flex-direction: column; align-items: flex-start; }
  .wh-int-api .wh-btn { width: 100%; }
}
