/* Integrations section: hub mark + floating tool bubbles on a pastel panel */
.btn-navy{background:var(--navy);color:#fff;box-shadow:0 1px 2px rgba(16,26,51,.25),0 6px 14px -6px rgba(16,26,51,.45)}
.btn-navy:hover{background:var(--navy-2);transform:translateY(-1px)}

.ig-grid{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:64px;align-items:center}
.ig-copy h2{margin-bottom:16px}
.ig-copy .lead{margin-bottom:32px;max-width:500px}
.ig-fig{min-width:0}
.ig-stage{position:relative;aspect-ratio:600/520;border-radius:var(--r-lg);overflow:hidden;
  background:
    radial-gradient(60% 55% at 12% 10%,#ECE6FF 0%,rgba(236,230,255,0) 70%),
    radial-gradient(55% 55% at 92% 88%,#DDF5EA 0%,rgba(221,245,234,0) 70%),
    radial-gradient(50% 50% at 88% 12%,#E2EEFF 0%,rgba(226,238,255,0) 70%),
    radial-gradient(45% 45% at 10% 92%,#E6F0FF 0%,rgba(230,240,255,0) 70%),
    #F7F8FF;
  box-shadow:inset 0 0 0 1px rgba(16,26,51,.06)}
.ig-rings{position:absolute;inset:0;width:100%;height:100%;fill:none;stroke:#C9D6F2;stroke-width:1.2;stroke-dasharray:3 7;vector-effect:non-scaling-stroke}
.ig-rings ellipse{vector-effect:non-scaling-stroke}

.ig-hub{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:108px;height:108px;border-radius:30px;display:grid;place-items:center;
  background:linear-gradient(150deg,#2A82FF 0%,var(--blue) 55%,var(--blue-d) 100%);
  box-shadow:0 0 0 10px rgba(6,76,255,.08),0 0 0 22px rgba(6,76,255,.05),0 2px 4px rgba(0,57,204,.25),0 14px 28px -10px rgba(6,76,255,.5);z-index:2}
.ig-hub svg{width:56px;height:56px;margin-top:8px}

.ig-b{position:absolute;transform:translate(-50%,-50%);z-index:1;width:max-content}
.ig-c img{max-width:none}
.ig-c{position:relative;display:flex;align-items:center;gap:8px;height:56px;white-space:nowrap;background:#fff;color:var(--ink);font:700 16px/1 var(--fd);letter-spacing:-.01em;
  padding:0 16px;border-radius:var(--r-sm);box-shadow:0 0 0 1px rgba(16,26,51,.06),0 1px 2px rgba(16,26,51,.06),0 8px 18px -8px rgba(16,26,51,.18);
  animation:ig-float 8s ease-in-out infinite;will-change:transform}
.ig-c::after{content:"";position:absolute;bottom:-6px;left:18px;width:14px;height:14px;background:#fff;border-radius:0 0 4px 0;transform:skewX(-28deg) rotate(45deg);clip-path:polygon(100% 0,100% 100%,0 100%)}
.t-r .ig-c::after{left:auto;right:18px;transform:skewX(28deg) rotate(45deg)}
.ig-c img.lg{height:calc(var(--h)*1px);width:auto}
.ig-c .ic{width:auto;height:22px;flex:none}
.ig-sub{font:500 13px/1 var(--fb);color:var(--mute);letter-spacing:0}

.ig-deco .ig-c{width:84px;height:auto;padding:12px 16px;display:grid;gap:8px;background:#DCE6FF;box-shadow:none}
.ig-deco .ig-c::after{background:#DCE6FF}
.ig-deco i{display:block;height:6px;border-radius:3px;background:#B9C8F5}
.ig-deco i+i{width:62%}
.d2 .ig-c{background:#E2F5EC}.d2 .ig-c::after{background:#E2F5EC}.d2 i{background:#AEDCC4}

/* desktop scatter (centre points): five loose rows, hub row kept clear */
.p1{left:15.4%;top:10.9%} .p2{left:51.6%;top:9%}    .p3{left:86%;top:12.4%}
.p4{left:15.4%;top:28.1%} .p12{left:50%;top:26.2%}  .p13{left:82%;top:29.2%}
.p11{left:16.2%;top:49.1%}                          .p5{left:82.8%;top:50.9%}
.p6{left:17.9%;top:70.8%} .d1{left:43.5%;top:71.5%} .p7{left:76.3%;top:72.7%}
.p8{left:13.8%;top:88%}   .p9{left:48.7%;top:89.9%} .p10{left:84.4%;top:87.6%}
.d2{left:52%;top:30%;display:none}

/* staggered loops, 6-10s */
.p1 .ig-c{animation-duration:8.4s;animation-delay:-1.2s}
.p2 .ig-c{animation-duration:9.6s;animation-delay:-4.1s}
.p3 .ig-c{animation-duration:7.2s;animation-delay:-2.6s}
.p4 .ig-c{animation-duration:9s;animation-delay:-6.3s}
.p5 .ig-c{animation-duration:6.8s;animation-delay:-3.4s}
.p6 .ig-c{animation-duration:8.8s;animation-delay:-.6s}
.p7 .ig-c{animation-duration:10s;animation-delay:-5.2s}
.p8 .ig-c{animation-duration:7.6s;animation-delay:-2.1s}
.p9 .ig-c{animation-duration:9.2s;animation-delay:-7.4s}
.p10 .ig-c{animation-duration:6.4s;animation-delay:-1.8s}
.p11 .ig-c{animation-duration:8s;animation-delay:-3.9s}
.p12 .ig-c{animation-duration:9.8s;animation-delay:-6.8s}
.p13 .ig-c{animation-duration:7s;animation-delay:-4.6s}
.d1 .ig-c{animation-duration:8.6s;animation-delay:-2.9s}
.d2 .ig-c{animation-duration:9.4s;animation-delay:-5.5s}
@keyframes ig-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-7px)}}
.js .ig-stage:not(.is-live) .ig-c{animation-play-state:paused}

.ig-note{margin-top:16px;display:grid;gap:8px;justify-items:center;text-align:center}
.ig-tm{font-size:13px;line-height:1.5;color:var(--mute)}

@media (max-width:1180px){
  .ig-grid{gap:40px}
  .ig-c{font-size:15px;height:52px;padding:0 16px}
  .ig-hub{width:92px;height:92px;border-radius:26px}
  .ig-hub svg{width:48px;height:48px}
}
@media (max-width:1100px){
  .ig-grid{grid-template-columns:1fr;gap:40px}
  .ig-copy{text-align:center;max-width:680px;margin-inline:auto}
  .ig-copy .lead{margin-inline:auto}
  .ig-fig{width:100%;max-width:720px;margin-inline:auto}
  .ig-c{font-size:16px;height:56px;padding:0 16px}
}
/* phones: tidy wrapped cluster around the hub */
@media (max-width:640px){
  .ig-copy{text-align:left}
  .ig-copy .btn{width:100%}
  .ig-stage{aspect-ratio:auto;display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:10px 8px;padding:20px 12px 20px}
  .ig-rings{display:none}
  .ig-b,.ig-hub{position:relative;left:auto;top:auto;transform:none}
  .ig-hub{flex:0 0 auto;width:84px;height:84px;border-radius:24px;margin:8px calc(50% - 40px)}
  .ig-hub svg{width:44px;height:44px}
  .ig-c{font-size:14px;height:40px;padding:0 12px;gap:8px}
  .ig-c img.lg{height:calc(var(--h)*.78px)}
  .ig-c .ic{height:18px}
  .ig-sub{font-size:12px}
  .ig-c::after{left:13px;width:12px;height:12px;bottom:-5px}
  .t-r .ig-c::after{right:13px}
  .ig-b:nth-child(odd){margin-top:0}
  .ig-deco{display:none}
}
@media (max-width:360px){
  .ig-stage{gap:12px 8px;padding:24px 8px 28px}
  .ig-c{font-size:13px;height:42px;padding:0 12px}
  .ig-c img.lg{height:calc(var(--h)*.72px)}
}
@media (prefers-reduced-motion:reduce){
  .ig-c{animation:none}
}
