/* Go InSpace: the shared close of the HALO, NOVA and AURA pages (assets/js/go-inspace.js). The orbit keeps the page's product
   colours; the close on the silk is InSpace itself, so its highlight is the brand gradient (#54B86A > #8511D9).
   Every class is gi- prefixed so the component can move between the three product folders unchanged. */

.gi { display: grid; gap: clamp(28px, 4vw, 52px); }
.gi-grid { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.gi-orbit { position: relative; height: clamp(400px, 38vw, 500px); border-radius: var(--r-xl, 30px); overflow: hidden;
  background: radial-gradient(46% 56% at 50% 52%, rgba(255,255,255,.95), rgba(255,255,255,0) 70%), radial-gradient(60% 70% at 18% 100%, rgba(84,184,106,.12), rgba(84,184,106,0) 70%), radial-gradient(54% 64% at 92% 4%, rgba(133,17,217,.08), rgba(133,17,217,0) 70%), #F5F7F7; }
.gi-svg { position: absolute; inset: 0; overflow: visible; }
.gi-th { fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: var(--tl, 300px); stroke-dashoffset: var(--tl, 300px); opacity: 0; transition: stroke-dashoffset 1.1s cubic-bezier(.65,0,.35,1), opacity .5s; }
.gi-th.on { stroke-dashoffset: 0; opacity: 1; }
html.still .gi-th.on, html.reduce .gi-th.on { transition: none; }
.gi-link { fill: none; stroke-width: 2; stroke-linecap: round; stroke-dasharray: var(--ll, 600px); stroke-dashoffset: var(--ll, 600px); transition: stroke-dashoffset 1.3s .35s cubic-bezier(.65,0,.35,1); }
.gi.all .gi-link { stroke-dashoffset: 0; }
/* the middle: the homepage's dot brain (v5-brain.js) on a soft white light, "Your business" under it */
.gi-core { position: absolute; z-index: 2; left: 50%; top: 50%; translate: -50% -50%; width: clamp(150px, 14vw, 190px); aspect-ratio: 1; pointer-events: none; }
.gi-core::before { content: ""; position: absolute; inset: -30%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,255,255,.96), rgba(255,255,255,.6) 55%, rgba(255,255,255,0)); }
.gi-brain { position: absolute; inset: -32%; width: 164%; height: 164%; }
.gi-bl { position: absolute; left: 50%; bottom: -14px; translate: -50% 0; padding: 6px 11px; border-radius: 999px; background: #fff; white-space: nowrap; border: 1.5px solid transparent;
  box-shadow: 0 0 0 1px rgba(11,11,12,.07), 0 10px 22px -14px rgba(14,22,40,.5); font: 700 12.5px/1 var(--sans); color: var(--ink); transition: background .6s; }
.gi.all .gi-bl { background: linear-gradient(#fff, #fff) padding-box, linear-gradient(96deg, #54B86A, #8511D9) border-box; box-shadow: 0 10px 26px -12px rgba(133,17,217,.45); }
.gi-p { position: absolute; z-index: 3; translate: -50% -50%; width: max-content; display: grid; justify-items: start; gap: 4px; padding: 11px 14px 12px; border-radius: 16px; text-align: left; cursor: pointer;
  background: #fff; border: 1.5px dashed rgba(11,11,12,.22); box-shadow: 0 14px 30px -22px rgba(14,22,40,.4); transition: border-color .45s, box-shadow .45s, transform .35s cubic-bezier(.2,.7,.2,1); }
.gi-p:hover { transform: translateY(-2px); }
.gi-p.on { border: 1.5px solid transparent; background: linear-gradient(#fff, #fff) padding-box, linear-gradient(96deg, var(--c1), var(--c2)) border-box; box-shadow: 0 20px 40px -24px rgba(14,22,40,.5); }
.gi-p[data-fixed] { cursor: default; }
.gi-p[data-fixed]:hover { transform: none; }
.gi-p:focus-visible { outline: 2px solid var(--accent-ink, #3A62D8); outline-offset: 3px; }
.gi-lg { display: flex; align-items: center; min-height: 18px; font: 700 15px/1 var(--sans); letter-spacing: .02em; }
.gi-r { font: 500 12.5px/1.1 var(--sans); color: rgba(11,11,12,.55); }
.gi-s i { display: none; align-items: center; gap: 5px; font: 600 12px/1 var(--sans); font-style: normal; }
.gi-s svg { width: 13px; height: 13px; }
.gi-p.on .gi-on { display: inline-flex; color: var(--green-ink, #2E9E50); }
.gi-p:not(.on) .gi-off { display: inline-flex; color: var(--ink); }
.gi-csm { position: absolute; z-index: 3; left: 18px; bottom: 18px; display: flex; align-items: center; gap: 12px; padding: 10px 16px 10px 10px; border-radius: 18px; background: #fff;
  box-shadow: 0 0 0 1px rgba(11,11,12,.06), 0 24px 48px -26px rgba(14,22,40,.55); opacity: 0; translate: 0 14px; transition: opacity .7s 1s, translate .9s 1s cubic-bezier(.16,1,.3,1); }
.gi.all .gi-csm { opacity: 1; translate: 0 0; }
.gi-csm img { width: 54px; height: 54px; border-radius: 14px; object-fit: cover; object-position: 50% 20%; }
.gi-csm span { display: grid; gap: 3px; }
.gi-csm b { font: 700 14.5px/1.1 var(--sans); }
.gi-csm i { font: 500 12.5px/1.2 var(--sans); font-style: normal; color: rgba(11,11,12,.6); }
.gi-csm em { font: 600 11.5px/1.2 var(--sans); font-style: normal; color: var(--green-ink, #2E9E50); }
.gi-copy { display: grid; gap: 16px; align-content: center; text-align: left; }
.gi-state { margin: 0; font: 700 clamp(30px, 3vw, 46px)/1.04 var(--sans); letter-spacing: -.035em; color: var(--ink); transition: color .6s; }
.gi.all .gi-state { background: linear-gradient(96deg, #54B86A, #8511D9); background-size: 230% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; justify-self: start; padding-bottom: .06em; }
html:not(.reduce):not(.still) .gi.all .gi-state { animation: gradShift 7s ease-in-out infinite alternate; }
.gi-say { margin: 0; font: 500 17px/1.5 var(--sans); color: rgba(11,11,12,.58); }
.gi-say b { color: var(--ink); font-weight: 700; }
.gi-txt { margin: 0; max-width: 30em; font: 400 16px/1.6 var(--sans); color: rgba(11,11,12,.58); }
.gi-hint { margin: 0; font: 500 13px/1.3 var(--sans); color: rgba(11,11,12,.42); }
/* the close on the silk (v5-silk.js draws into it; the gradients below are the fallback) */
.gi-close { --hl: linear-gradient(96deg, #54B86A, #8511D9); position: relative; isolation: isolate; overflow: hidden; display: grid; justify-items: center; gap: 18px; text-align: center;
  padding: clamp(56px, 7vw, 104px) clamp(22px, 4vw, 64px); border-radius: var(--r-xl, 30px); color: var(--ink);
  background: radial-gradient(42% 52% at 18% 26%, rgba(185,239,163,.75), rgba(185,239,163,0) 72%), radial-gradient(40% 50% at 84% 78%, rgba(190,160,240,.45), rgba(190,160,240,0) 72%), #F8F7FB; }
.gi-close > :not(.silk-cv) { position: relative; z-index: 1; }
.gi-saas { margin: 0; font: 600 clamp(18px, 1.7vw, 23px)/1.3 var(--sans); letter-spacing: -.01em; }
.gi-saas s { color: rgba(11,11,12,.42); text-decoration-thickness: 2px; }
.gi-with { font-weight: 800; background: linear-gradient(96deg, #54B86A, #8511D9); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gi-h { margin: 0; font: 700 clamp(44px, 5.2vw, 84px)/.98 var(--sans); letter-spacing: -.045em; text-wrap: balance; }
.gi-cta { margin-top: 10px; }

@media (max-width: 1060px) {
  .gi-grid { grid-template-columns: 1fr; }
  .gi-copy { text-align: center; justify-items: center; }
  .gi.all .gi-state { justify-self: center; }
}
@media (max-width: 760px) {
  .gi-orbit { height: 440px; }
  .gi-core { width: 116px; }
  .gi-p { padding: 9px 11px 10px; }
  .gi-r { display: none; }
  .gi-csm { left: 12px; right: 12px; bottom: 12px; }
  .gi-cta { white-space: normal; height: auto; min-height: 54px; padding-top: 14px; padding-bottom: 14px; text-align: center; }
}
