/* Hero visual: three product layers in depth (Managed IT, Automation and Ai Agents, Custom Software).
   Everything is sized in em from one font-size on .zh-s, so the scene scales with its slot. */
.v2-hero-media:has(.zh){aspect-ratio:auto !important;background:none !important;box-shadow:none !important;border-radius:0 !important;overflow:visible !important}
.v2-hero-media:has(.zh)::before{display:none !important}
.v2-hero-media:has(.zh) .zk-hnav{display:none !important}
.zh{position:relative;width:100%;aspect-ratio:16/9;container-type:inline-size;font-family:Satoshi,'Open Sans',system-ui,sans-serif;color:#282943;-webkit-font-smoothing:antialiased;line-height:1.2;text-align:left}
.zh *,.zh *::before,.zh *::after{box-sizing:border-box}
.zh i,.zh u,.zh s,.zh em,.zh b,.zh small{font-style:normal;text-decoration:none;font-weight:inherit;letter-spacing:inherit}
.zh-s{position:absolute;inset:-2.8%;font-size:calc(100cqw/53);perspective:110em;perspective-origin:50% 40%}
.zh-t,.zh-k{position:absolute;inset:0;transform-style:preserve-3d}
.zh-k{transform:translate3d(-.5em,-.6em,1em) rotateX(14deg) rotateY(-13deg) rotateZ(2.2deg)}

/* Panels */
.zh-p{position:absolute;left:0;top:0;border-radius:1.3em;overflow:hidden;backface-visibility:hidden;
  background:linear-gradient(180deg,#fff 0%,#f6f8fc 100%);
  box-shadow:0 0 0 1px rgba(40,41,67,.07),inset 0 1px 0 #fff,0 .2em .4em rgba(40,41,67,.05),0 1.5em 2.6em -1em rgba(40,41,67,.3),0 3.4em 5em -2.4em rgba(52,66,107,.4)}
.zh-a{width:20.5em;transform:translate3d(34em,11.2em,7em)}
.zh-b{width:32em;transform:translate3d(11.5em,9.2em,0)}
.zh-c{width:34em;transform:translate3d(.5em,-.6em,-7em);
  background:linear-gradient(165deg,#1b2340 0%,#10162a 62%);
  box-shadow:0 0 0 1px rgba(140,193,238,.36),inset 0 1px 0 rgba(255,255,255,.07),0 0 3em -1em rgba(140,193,238,.5),0 1.6em 3em -1em rgba(16,22,42,.55),0 3.6em 5.4em -2.4em rgba(16,22,42,.6)}
.zh-v{position:absolute;inset:0;background:#1d1e37;opacity:0;pointer-events:none}
.zh-c .zh-v{background:#0a0d1b}

/* Panel header */
.zh-h{position:relative;display:flex;align-items:center;gap:.7em;height:3.3em;padding:0 1.2em;border-bottom:1px solid #e9edf4;white-space:nowrap}
.zh-mk{flex:none;width:1.3em;height:1.3em;border-radius:.4em;background:#facc01;position:relative}
.zh-mk::after{content:"";position:absolute;inset:.42em;border-radius:50%;background:#282943}
.zh-b .zh-mk{background:#282943}.zh-b .zh-mk::after{background:#facc01}
.zh-h b{font-size:1.16em;font-weight:700;letter-spacing:-.01em}
.zh-h>span{font-size:.9em;color:#8b95ad}
.zh-st{margin-left:auto;position:relative;height:1.2em;min-width:6.4em;font-size:.9em;font-weight:600}
.zh-st span{position:absolute;right:0;top:0;display:flex;align-items:center;gap:.45em;line-height:1.2em}
.zh-st i{width:.6em;height:.6em;border-radius:50%;background:#3fae6a;box-shadow:0 0 0 .22em rgba(63,174,106,.18)}
.zh-st .zh-ok{color:#2f8a54}
.zh-st .zh-wt{color:#8b95ad;opacity:0}
.zh-st .zh-wt i{background:#c3cbd9;box-shadow:none}
.zh-hp{position:absolute;left:0;right:0;bottom:-1px;height:.2em}
.zh-hp u{display:block;height:100%;background:linear-gradient(90deg,#facc01,#3fae6a);transform-origin:0 50%;transform:scaleX(0)}

/* Managed IT rows */
.zh-rs{padding:.55em .7em}
.zh-r{display:flex;align-items:center;gap:.85em;height:3.05em;padding:0 .5em;border-radius:.8em;position:relative}
.zh-rf{position:absolute;inset:0;border-radius:inherit;background:#e8f6ed;opacity:0}
.zh-ic{position:relative;flex:none;width:2.2em;height:2.2em;border-radius:.7em;display:grid;place-items:center}
.zh-ic svg{width:1.32em;height:1.32em;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.zh-r div{position:relative;min-width:0}
.zh-r b{display:block;font-size:1.02em;font-weight:600;line-height:1.15}
.zh-r small{display:block;font-size:.84em;color:#9aa5bc;line-height:1.25;white-space:nowrap}
.zh-r .zh-w{position:absolute;left:0;bottom:0;color:#2f6fa8;opacity:0}
.zh-ck{position:relative;flex:none;margin-left:auto;width:1.5em;height:1.5em}
.zh-ck i,.zh-ck u{position:absolute;inset:0;border-radius:50%}
.zh-ck i{border:.16em solid #dfe5ef;border-top-color:#8cc1ee;opacity:0;animation:zh-spin .8s linear infinite}
.zh-ck u{background:#e2f4e9;display:grid;place-items:center}
.zh-ck svg{width:.9em;height:.9em;fill:none;stroke:#2f8a54;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.zh-f{display:flex;align-items:center;justify-content:space-between;height:2.7em;padding:0 1.2em;border-top:1px solid #e9edf4;background:#f7f9fd;font-size:.92em;font-weight:600;color:#4a5468}
.zh-fs{font:600 .78em/1 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;letter-spacing:.02em;color:#8b95ad;white-space:nowrap}

/* Automation flow */
.zh-rn{margin-left:auto;display:flex;align-items:center;gap:.45em;font-size:.88em;font-weight:700;color:#2f8a54}
.zh-rn>i{width:.6em;height:.6em;border-radius:50%;background:#3fae6a;box-shadow:0 0 0 .22em rgba(63,174,106,.18)}
.zh-rn>span{font-weight:500;color:#8b95ad}
.zh-ro{height:1.2em;overflow:hidden;line-height:1.2em;font-variant-numeric:tabular-nums}
.zh-ro em{display:block}
/* Agent lanes: the item that comes in, the agent that takes it, and the outcome */
.zh-ls{display:grid;gap:.45em;padding:.75em 1em .7em}
.zh-ln{display:grid;grid-template-columns:7.4em 1.3em minmax(0,1fr) 1.3em 7.3em;align-items:center;height:2.9em}
.zh-it,.zh-ou,.zh-q{display:flex;align-items:center;gap:.45em;width:max-content;max-width:100%;height:2.3em;padding:0 .65em;border-radius:.7em;font-size:.82em;font-weight:600;white-space:nowrap}
.zh-it{background:#f1f4f9;color:#3d4660;box-shadow:inset 0 0 0 1px #e3e8f1}
.zh-it svg{flex:none;width:1.2em;height:1.2em;fill:none;stroke:#5b6781;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.zh-lk{display:block;height:.18em;margin:0 .15em;border-radius:.09em;background:#dfe5ef;overflow:hidden}
.zh-lk u{display:block;height:100%;background:linear-gradient(90deg,#8cc1ee,#5a9bd4);transform-origin:0 50%}
.zh-ag{position:relative;display:flex;align-items:center;gap:.6em;height:100%;padding:0 .6em;border-radius:.8em;background:#fff;box-shadow:0 0 0 1px #dfe5ef,0 .25em .6em rgba(40,41,67,.08)}
.zh-ar{position:absolute;inset:0;border-radius:inherit;box-shadow:0 0 0 .14em #e3b800;opacity:0}
.zh-ai{position:relative;flex:none;width:1.9em;height:1.9em;border-radius:50%;background:#282943;display:grid;place-items:center}
.zh-ai svg{width:1.1em;height:1.1em}
.zh-ai em{position:absolute;inset:-.3em;border-radius:50%;border:.12em dashed #e3b800;opacity:0;animation:zh-spin 2.4s linear infinite}
.zh-ag div{position:relative;flex:1;min-width:0}
.zh-ag b{display:block;font-size:.92em;font-weight:700;line-height:1.2;white-space:nowrap}
.zh-ag small{display:block;font-size:.76em;line-height:1.3;color:#9aa5bc;white-space:nowrap}
.zh-ag small+small{position:absolute;left:0;bottom:0;color:#2f6fa8;opacity:0}
.zh-ag small.w{color:#8a6d00}
.zh-oc{position:relative;justify-self:start}
.zh-ou{background:#e8f6ed;color:#2f8a54}
.zh-ou u{flex:none;width:1.3em;height:1.3em;border-radius:50%;background:#3fae6a;display:grid;place-items:center}
.zh-ou svg{width:.78em;height:.78em;fill:none;stroke:#fff;stroke-width:3.4;stroke-linecap:round;stroke-linejoin:round}
.zh-q{position:absolute;left:0;top:0;background:#fef6d6;color:#8a6d00;box-shadow:inset 0 0 0 1px #f1dc86;opacity:0}
.zh-q i{width:.6em;height:.6em;border-radius:50%;background:#e3b800}
.zh-on{display:flex;align-items:center;gap:.5em;color:#2f8a54}
.zh-on i{width:.6em;height:.6em;border-radius:50%;background:#3fae6a;box-shadow:0 0 0 .22em rgba(63,174,106,.18)}

/* Code editor */
.zh-bar{position:relative;display:flex;align-items:center;gap:.5em;height:2.3em;padding:0 1em;background:rgba(255,255,255,.035)}
.zh-bar i{width:.62em;height:.62em;border-radius:50%;background:#3a465f}
.zh-bar span{position:absolute;left:0;right:0;text-align:center;font-size:.86em;font-weight:700;color:#8b98b4}
.zh-tb{display:flex;height:2.1em;background:rgba(0,0,0,.16);font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}
.zh-tb span{display:flex;align-items:center;padding:0 1.1em;font-size:.8em;color:#79879f;white-space:nowrap}
.zh-tb span:first-child{color:#dbe4f2;background:#131a30;box-shadow:inset 0 .18em 0 #8cc1ee}
.zh-sp{display:grid;grid-template-columns:18.9em minmax(0,1fr)}
.zh-cd{position:relative;padding:1.65em 0;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.77em;line-height:1.82em;color:#c8d2e4;white-space:pre}
.zh-hl{position:absolute;left:0;right:0;top:1.65em;height:1.82em;background:rgba(140,193,238,.1);box-shadow:inset .18em 0 0 #8cc1ee;opacity:0}
.zh-l{position:relative;display:flex;height:1.82em}
.zh-l>em{flex:none;width:2.6em;padding-right:.9em;text-align:right;font-style:normal;color:#3d4863}
.zh-l>span{display:inline-block}
.zh-l .k{color:#a78bfa}.zh-l .s{color:#7fd6a0}.zh-l .f{color:#8cc1ee}.zh-l .d{color:#facc01}.zh-l .n{color:#e8a87c}
.zh-ct{display:inline-block;width:.14em;height:1.15em;margin:.34em 0 0 .1em;border-radius:.07em;background:#8cc1ee}
.zh-ct b{display:block;width:100%;height:100%;background:inherit;border-radius:inherit;animation:zh-blink 1s step-end infinite}

/* Live preview beside the code, and the build status under it */
.zh-pv{position:relative;margin:.6em .6em .6em 0;padding:.5em;border-radius:.8em;background:#f4f6fb;display:grid;gap:.4em;align-content:start;color:#282943}
.zh-pg{position:absolute;inset:0;border-radius:inherit;box-shadow:0 0 0 .14em #3fae6a;opacity:0;pointer-events:none}
.zh-pb{position:relative;border-radius:.5em}
.zh-sk{position:absolute;inset:0;border:1px dashed #c3cad9;border-radius:inherit;opacity:0}
.zh-pc{position:relative;padding:.35em .5em .45em;border-radius:inherit;background:#fff;box-shadow:0 0 0 1px rgba(40,41,67,.06)}
.zh-pa .zh-pc{display:flex;align-items:center;gap:.45em;padding:.4em .5em}
.zh-pa b{font-size:.86em;font-weight:700}
.zh-pa .zh-mk{width:1em;height:1em;border-radius:.3em}
.zh-pa .zh-mk::after{inset:.32em}
.zh-lv{margin-left:auto;display:flex;align-items:center;gap:.35em;font-size:.72em;font-weight:600;color:#2f8a54}
.zh-lv i{position:relative;width:.6em;height:.6em;border-radius:50%;background:#3fae6a}
.zh-pc small{display:block;margin-bottom:.4em;font-size:.7em;font-weight:600;color:#8b95ad}
.zh-gr{display:grid;grid-template-columns:repeat(8,1fr);gap:.28em}
.zh-gr i{height:.66em;border-radius:.18em;background:#bfe3cc}
.zh-gr i:nth-child(6){background:#f6d98a}
.zh-pr{height:.5em;border-radius:.25em;background:#e6ebf3;overflow:hidden}
.zh-pr u{display:block;width:72%;height:100%;border-radius:inherit;background:linear-gradient(90deg,#8cc1ee,#5a9bd4);transform-origin:0 50%}
.zh-pc p{display:flex;align-items:center;gap:.5em;margin:0;font:500 .72em/1.5 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;color:#4a5468;white-space:nowrap}
.zh-pc p i{width:.6em;height:.6em;border-radius:50%;background:#facc01}
.zh-sb{position:relative;display:flex;align-items:center;gap:1.4em;height:2em;padding:0 1em;background:rgba(255,255,255,.05);font:500 .74em/1 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;color:#7c89a3}
.zh-bl{position:absolute;left:0;right:0;top:0;height:.2em}
.zh-bl u{display:block;height:100%;background:linear-gradient(90deg,#8cc1ee,#7fd6a0);transform-origin:0 50%;transform:scaleX(0)}
.zh-pl{display:flex;gap:1.1em;color:#c8d2e4}
.zh-pl em{display:flex;align-items:center;gap:.45em;opacity:.35}
.zh-pl u,.zh-b2 u{width:1.15em;height:1.15em;border-radius:50%;background:#2f8a54;display:grid;place-items:center}
.zh-pl svg,.zh-b2 svg{width:.7em;height:.7em;fill:none;stroke:#fff;stroke-width:3.4;stroke-linecap:round;stroke-linejoin:round}
.zh-bs{position:relative;margin-left:auto;width:10em;height:1.4em}
.zh-bs em{position:absolute;right:0;top:0;display:flex;align-items:center;gap:.5em;line-height:1.4em;white-space:nowrap;opacity:0}
.zh-b1 i{width:.95em;height:.95em;border-radius:50%;border:.16em solid #3a465f;border-top-color:#8cc1ee;animation:zh-spin .8s linear infinite}
.zh-b2{color:#7fd6a0}

/* The tag on the layer in focus, and the spark that passes between layers */


/* Step control under the scene: three plain labels, each with a thin progress rule */
.zh-nav{position:absolute;left:0;right:0;top:100%;margin-top:26px;display:flex;justify-content:center;gap:20px}
.zh-nav button{all:unset;box-sizing:border-box;cursor:pointer;display:flex;flex-direction:column;gap:8px;min-width:112px;padding:4px 0;font:600 13px/1.2 Satoshi,'Open Sans',system-ui,sans-serif;color:#fff;-webkit-tap-highlight-color:transparent}
.zh-nav button:focus-visible{outline:2px solid #8cc1ee;outline-offset:4px;border-radius:4px}
.zh-nav i{display:block;height:3px;border-radius:2px;background:rgba(255,255,255,.2);overflow:hidden}
.zh-nav u{display:block;height:100%;border-radius:inherit;background:#facc01;transform-origin:0 50%;transform:scaleX(0)}
.zh-nav span{opacity:.55}
.zh-nav button:hover span{opacity:1 !important}

@keyframes zh-spin{to{transform:rotate(360deg)}}
@keyframes zh-blink{0%,49%{opacity:1}50%,100%{opacity:0}}

/* Phones: a taller frame and a tighter cascade, so the type stays readable */
@media (max-width:991px){.v2-hero-media:has(.zh){margin-bottom:60px !important}}
@media (max-width:767px){
  .v2-hero-media:has(.zh){margin-bottom:68px !important}
  .zh{aspect-ratio:46/37}
  .zh-s{inset:0;font-size:calc(100cqw/46)}
  .zh-nav{gap:12px;margin-top:16px}
  .zh-nav button{min-width:0;flex:1 1 0;font-size:12px}
}
@media (prefers-reduced-motion:reduce){.zh-ck i,.zh-ai em,.zh-ct b,.zh-b1 i{animation:none}}
