/* The integrations orbit: sources circling the FiBr core in 3D. Used on the homepage and /integrations/. */
@property --rot{syntax:'<angle>';inherits:true;initial-value:0deg}
.ihero{position:relative;overflow:hidden;padding:90px 0 40px;text-align:center}
.ihero h1{font-size:clamp(44px,6.6vw,94px);line-height:1.03;margin:18px auto 22px;max-width:1080px;color:#fff}
.ihero .sub{color:#DDD3C4;font-size:clamp(17px,2vw,22px);max-width:720px;margin:0 auto 34px}
.ihero .btn-cta{font-size:17px;padding:17px 34px}

.orbit{--R:min(430px,40vw);position:relative;height:min(440px,46vw);margin:10px auto 0;perspective:1300px}
.orbit-in{position:absolute;inset:0;transform-style:preserve-3d;transform:rotateX(-14deg)}
.motion .orbit-in{animation:orbit 38s linear infinite}
.orbit:hover .orbit-in{animation-play-state:paused}
@keyframes orbit{to{--rot:360deg}}
.orb{--ang:calc(var(--a) + var(--rot));position:absolute;left:50%;top:50%;transform:translate(-50%,-50%) rotateY(var(--ang)) translateZ(var(--R)) rotateY(calc(-1 * var(--ang))) rotateX(14deg);
  opacity:calc(.35 + .65 * (cos(var(--ang)) + 1) / 2);white-space:nowrap;padding:12px 20px 12px 12px;border-radius:999px;display:flex;align-items:center;gap:10px;font-weight:600;font-size:15px;color:#EDE4D5;background:rgba(20,17,14,.9);border:1px solid rgba(232,182,56,.3);box-shadow:0 16px 40px -20px rgba(0,0,0,.9)}
.orb i{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;font:700 11px var(--mono);font-style:normal;color:#1C1915;background:linear-gradient(140deg,var(--gold2),var(--orange))}
.orbit .core{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:170px;height:170px;border-radius:50%;display:grid;place-items:center;background:radial-gradient(circle at 40% 35%,#FFE7B0,#E8B638 55%,#E07A10);box-shadow:0 0 0 12px rgba(232,182,56,.08),0 0 90px 20px rgba(232,182,56,.35);font:500 42px "EB Garamond",Georgia,serif;color:#1C1915}
.orbit .core:before,.orbit .core:after{content:"";position:absolute;inset:-26px;border-radius:50%;border:1.5px dashed rgba(232,182,56,.4)}
.orbit .core:after{inset:-52px;border-style:solid;border-color:rgba(232,182,56,.14)}
.motion .orbit .core{animation:orbBreathe 3.6s ease-in-out infinite}
.motion .orbit .core:before{animation:spin 26s linear infinite}
@keyframes orbBreathe{50%{box-shadow:0 0 0 18px rgba(232,182,56,.05),0 0 120px 30px rgba(232,182,56,.45)}}
@keyframes spin{to{transform:rotate(360deg)}}
/* beams from the core to the ring, purely decorative */
.beams{position:absolute;inset:0;pointer-events:none;background:radial-gradient(closest-side,rgba(232,182,56,.12),transparent 70%)}
/* phones: the core sits above a cloud of sources that drift in one by one */
@media(max-width:700px){.orbit{height:auto;perspective:none;display:flex;flex-direction:column;align-items:center;margin-top:46px}
 .beams{display:none}.orbit .core{position:relative;left:auto;top:auto;transform:none;width:110px;height:110px;font-size:30px;margin:30px auto 56px}.orbit .core:after{inset:-34px}.orbit .core:before{inset:-17px}
 .orbit-in{position:static;transform:none!important;animation:none!important;display:flex;flex-wrap:wrap;justify-content:center;gap:9px;order:2}
 .orb{position:static;transform:none;opacity:1;padding:8px 14px 8px 8px;font-size:13.5px;gap:8px}.orb i{width:24px;height:24px;font-size:9.5px}
 .motion .orb{animation:orbIn .7s cubic-bezier(.2,1.3,.4,1) both;animation-delay:calc(var(--i,0)*70ms + .3s)}}
@keyframes orbIn{from{opacity:0;transform:translateY(14px) scale(.9)}}
html:not(.motion) .orbit{height:auto;perspective:none;margin-top:40px}
html:not(.motion) .orbit-in{position:static;transform:none;display:flex;flex-wrap:wrap;justify-content:center;gap:10px;max-width:900px;margin:0 auto}
html:not(.motion) .orb{position:static;transform:none;opacity:1}
html:not(.motion) .orbit .core,html:not(.motion) .beams{display:none}

.orb i.lg{background:#fff;box-shadow:0 0 0 1px rgba(232,182,56,.3)}
.orb i.lg img{width:18px;height:18px;object-fit:contain}
@media(max-width:700px){.orb i.lg img{width:15px;height:15px}}
html[data-theme="light"] .orb{background:#fff;color:#2B2620;border-color:rgba(150,105,30,.3);box-shadow:0 16px 40px -22px rgba(80,55,15,.45)}
@media(prefers-reduced-motion:reduce){.orbit-in,.orbit .core,.orbit .core:before,.orb{animation:none!important}}
