/* v3 hero, after the Amplemarket rocket hero: centred copy, the megaphone beside the product window,
   a soft grainy purple blast out of its bell running behind the window */
.hx{position:relative;padding:150px 32px 120px;text-align:center;overflow:clip;isolation:isolate}
.hx__blast{position:absolute;inset:0;z-index:0;pointer-events:none;--blast-ang:.10;--blast-spread:.95;--blast-up:.62}
.hx__copy{position:relative;z-index:2;max-width:1120px;margin:0 auto}
.hx h1{font-size:clamp(36px,4.2vw,56px)}

/* ---------- scene: megaphone on the left, the window in the middle ---------- */
.hx__scene{position:relative;z-index:2;max-width:760px;margin:64px auto 0}
.hx__hover{position:absolute;z-index:3;width:196px;left:-232px;top:34px;animation:hxHover 6s ease-in-out 1.6s infinite}
.hx__tilt{position:relative;rotate:-14deg;transform-origin:40% 50%}
.hx__mega{display:block;width:100%;height:auto}
.hx__mouth{position:absolute;left:72%;top:76%;width:1px;height:1px;pointer-events:none}
@keyframes hxHover{0%,100%{transform:translateY(0)}50%{transform:translateY(-7px)}}
.js .hx__hover{opacity:0;translate:-50px 10px;transition:opacity .9s var(--ease) .5s,translate 1.2s cubic-bezier(.16,1,.3,1) .5s}
.loaded .hx__hover{opacity:1;translate:0 0}
.js .hx__blast{opacity:0;transition:opacity 1.8s var(--ease) .8s}
.loaded .hx__blast{opacity:1}

/* ---------- the product window: frosted, so the blast reads through it ---------- */
.hw{position:relative;z-index:2;text-align:left;color:#1C1B22;font-size:13.5px;letter-spacing:-.005em;border-radius:18px;overflow:hidden;
  background:rgba(255,255,255,.80);-webkit-backdrop-filter:blur(22px) saturate(1.2);backdrop-filter:blur(22px) saturate(1.2);
  box-shadow:0 0 0 1px rgba(255,255,255,.6) inset,0 0 0 1px rgba(28,20,90,.07),0 2px 4px rgba(28,20,90,.05),0 40px 90px -44px rgba(28,20,90,.55)}
.hw__bar{display:flex;align-items:center;gap:10px;height:56px;padding:0 18px;border-bottom:1px solid rgba(28,20,90,.07)}
.hw__bar b{font-weight:500;font-size:15px}
.hw__live{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:#127A45;background:#E9F6EE;padding:3px 9px;border-radius:999px}
.hw__live i{width:6px;height:6px;border-radius:50%;background:#1A9A55;animation:hwPing 2.4s ease-in-out infinite}
@keyframes hwPing{0%,100%{box-shadow:0 0 0 0 rgba(26,154,85,.35)}50%{box-shadow:0 0 0 4px rgba(26,154,85,0)}}
.hw__new{margin-left:auto;font-size:12.5px;font-weight:500;color:#fff;background:#111;height:32px;display:inline-flex;align-items:center;gap:6px;padding:0 12px;border-radius:8px;white-space:nowrap}
.hw__new svg{width:13px;height:13px;stroke:#fff;stroke-width:2;fill:none;stroke-linecap:round}
.hw__body{display:grid;grid-template-columns:minmax(0,1fr) 284px}
.hw__list{padding:8px 10px 10px}
.hw__rw{display:grid;grid-template-rows:1fr;transition:grid-template-rows .7s cubic-bezier(.16,1,.3,1),opacity .5s var(--ease)}
.hw__rw>div{overflow:hidden;min-height:0}
.hw__rw.new{grid-template-rows:0fr}
.hw__rw.out{grid-template-rows:0fr;opacity:0}
.hw__tr{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 8px;border-radius:10px;
  opacity:0;transform:translateY(8px);transition:opacity .5s var(--ease),transform .6s cubic-bezier(.16,1,.3,1),background .6s var(--ease)}
.hw.is-go .hw__tr{opacity:1;transform:none}
.hw__rw.new .hw__tr{opacity:0}
.hw__tr.hot{background:rgba(83,91,254,.08)}
.hw__nm{display:flex;align-items:center;gap:11px;min-width:0}
.hw__nm .ch{flex:none;width:34px;height:34px;border-radius:9px}
.hw__nm .ch::after{inset:9px}
.hw__nm b{display:block;font-weight:500;font-size:13.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hw__nm small{display:block;font-size:12px;color:#8E8B95;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hw__st{flex:none;font-size:12px;font-weight:500;padding:3px 10px;border-radius:999px;background:#F1F0EE;color:#55525E;white-space:nowrap}
.hw__st--live{background:#E9F6EE;color:#127A45}
.hw__st--live::before{content:"";display:inline-block;width:6px;height:6px;border-radius:50%;background:#1A9A55;margin-right:6px;vertical-align:1px}
.hw__st--go{color:#535BFE;background:#ECEBFF;background-image:linear-gradient(100deg,transparent 30%,rgba(255,255,255,.75) 50%,transparent 70%);background-size:220% 100%;animation:hwShim 1.1s linear infinite}
@keyframes hwShim{from{background-position:120% 0}to{background-position:-120% 0}}

/* the broadcast panel: the window's right pane */
.hc{padding:16px 16px 14px;border-left:1px solid rgba(28,20,90,.07);background:rgba(255,255,255,.55)}
.hc__h{display:flex;align-items:center;gap:10px;margin-bottom:14px}
.hc__ic{flex:none;width:36px;height:36px;border-radius:10px;display:grid;place-items:center;background:linear-gradient(140deg,#ECEBFF,#F6E8FB)}
.hc__ic svg{width:22px;height:22px;fill:none;stroke:#535BFE;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.hc__h b{display:block;font-weight:500;font-size:14px;letter-spacing:-.02em}
.hc__h small{display:block;font-size:12px;color:#8E8B95}
.hc__lbl{font-size:11.5px;color:#A29FA9;margin-bottom:8px}
.hc__chips{display:flex;flex-wrap:wrap;gap:6px}
.hc__chips span{display:inline-flex;align-items:center;gap:6px;height:27px;padding:0 10px;border-radius:999px;font-size:12px;color:#55525E;background:#fff;box-shadow:inset 0 0 0 1px #E8E6EF;
  transition:background .4s var(--ease),color .4s var(--ease),box-shadow .4s var(--ease)}
.hc__chips span::before{content:"";width:6px;height:6px;border-radius:50%;background:#D5D3DC;transition:background .4s var(--ease)}
.hc__chips span.on{background:#ECEBFF;color:#3F3BC9;box-shadow:inset 0 0 0 1px rgba(83,91,254,.25)}
.hc__chips span.on::before{background:#535BFE}
.hc__sum{display:flex;justify-content:space-between;align-items:baseline;margin:14px 0 10px;font-size:12.5px;color:#8E8B95}
.hc__sum b{font-weight:500;color:#1C1B22;font-variant-numeric:tabular-nums}
.hc__btn{width:100%;height:38px;border-radius:10px;background:#535BFE;color:#fff;font-weight:500;font-size:13px;display:flex;align-items:center;justify-content:center;gap:8px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.18),0 8px 18px -8px rgba(83,91,254,.8);transition:transform .2s var(--ease),background .3s var(--ease)}
.hc__btn svg{width:15px;height:15px;fill:none;stroke:#fff;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.hc__btn.press{transform:scale(.97);background:#454CF0}
.hc__btn.done{background:#16834A;box-shadow:inset 0 1px 0 rgba(255,255,255,.18),0 8px 18px -8px rgba(22,131,74,.7)}
.hc__spin{flex:none;width:14px;height:14px;border-radius:50%;border:2px solid rgba(255,255,255,.35);border-top-color:#fff;animation:hcSpin .7s linear infinite}
@keyframes hcSpin{to{transform:rotate(360deg)}}
.hc__imp{margin-top:14px;padding-top:12px;border-top:1px solid rgba(28,20,90,.07)}
.hc__imp small{display:block;font-size:12px;color:#8E8B95}
.hc__imp b{display:block;font-size:20px;font-weight:500;letter-spacing:-.03em;margin-top:2px;font-variant-numeric:tabular-nums}
.hc__imp svg{display:block;width:100%;height:30px;margin-top:6px;overflow:visible}
.hc__imp svg path{fill:none;stroke:#535BFE;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:400;stroke-dashoffset:400;transition:stroke-dashoffset 1.8s cubic-bezier(.16,1,.3,1) .7s}
.hc__imp svg path.fill{stroke:none;fill:url(#hwFill);opacity:0;transition:opacity 1s var(--ease) 1.4s}
.hw.is-go .hc__imp svg path{stroke-dashoffset:0}
.hw.is-go .hc__imp svg path.fill{opacity:1}

.js .hw{opacity:0;translate:0 28px;transition:opacity 1s var(--ease) .45s,translate 1.2s cubic-bezier(.16,1,.3,1) .45s}
.loaded .hw{opacity:1;translate:0 0}

/* ---------- smaller screens ---------- */
@media (max-width:1240px){
  .hx__hover{width:170px;left:-190px;top:40px}
}
@media (max-width:1100px){
  .hx__scene{max-width:680px;margin-left:max(200px,calc(50% - 340px))}
  .hw__body{grid-template-columns:minmax(0,1fr) 260px}
}
@media (max-width:900px){
  .hx{padding:112px 16px 64px}
  .hx h1{font-size:clamp(34px,9vw,46px)}
  .hx .lede{font-size:16px}
  .hx__blast{--blast-ang:.5;--blast-spread:1.1;--blast-up:.5}
  .hx__scene{margin:28px auto 0;max-width:560px}
  .hx__hover{position:relative;left:auto;top:auto;width:132px;margin:0 0 14px 2px}
  .hw__bar{height:52px;padding:0 14px}
  .hw__body{grid-template-columns:minmax(0,1fr)}
  .hc{border-left:0;border-top:1px solid rgba(28,20,90,.07)}
  .hw__list{padding:6px 6px 8px}
  .hw__list>.hw__rw:nth-child(n+5){display:none}
  .hc__imp{display:none}
}
@media (max-width:380px){
  .hx h1{font-size:33px}
  .hw__live{display:none}
  .hx .chip{font-size:12px;gap:6px;padding-right:10px}
  .hx .stars{font-size:10px}
}
@media (prefers-reduced-motion: reduce){
  .js .hx__hover,.js .hx__blast,.js .hw{opacity:1;translate:none;transition:none}
  .hx__hover{animation:none}
}

/* the blast fades out before the hero ends, never cut by the edge */
.hx__blast{-webkit-mask:linear-gradient(#000 calc(100% - 300px),transparent);mask:linear-gradient(#000 calc(100% - 300px),transparent)}
.hx{padding-bottom:200px}
@media (max-width:900px){.hx{padding-bottom:120px}.hx__blast{-webkit-mask:linear-gradient(#000 calc(100% - 200px),transparent);mask:linear-gradient(#000 calc(100% - 200px),transparent)}}
.hero.hx + .logos{margin-top:0}

/* every call to action in brand purple */
.btn--ink,.pfx .duo__cta{background:#535BFE;color:#fff}
.btn--ink:hover,.pfx .duo__cta:hover{background:#454CF0}

/* the showreel, right after the partners */
.film{max-width:1200px;margin:90px auto 0;padding:0 32px}
.film__frame{position:relative;aspect-ratio:16/9;border-radius:20px;overflow:hidden;background:#0D0F1A;
  box-shadow:0 0 0 1px rgba(28,20,90,.06),0 40px 90px -44px rgba(28,20,90,.5)}
.film__frame video{display:block;width:100%;height:100%;object-fit:cover}
.film__play{position:absolute;inset:0;display:grid;place-items:center;color:#535BFE;background:none;border:0;cursor:pointer}
.film__play span{display:grid;place-items:center;width:clamp(68px,8vw,96px);height:clamp(68px,8vw,96px);padding-left:5px;border-radius:50%;background:#fff;
  box-shadow:0 20px 50px rgba(13,15,26,.45);transition:transform .4s var(--ease)}
.film__play:hover span{transform:scale(1.07)}
.film.playing .film__play{display:none}
@media (max-width:760px){.film{margin-top:56px;padding:0 16px}.film__frame{border-radius:16px}}

/* variant pages (hero-pink / hero-yellow): a tighter, defined trail */
.hx__blast[data-blast=pink],.hx__blast[data-blast=yellow],.hx__blast[data-blast=peach]{--tri-up:.35;--tri-down:.31;-webkit-mask:none;mask:none}
@media (max-width:900px){.hx__blast[data-blast=pink],.hx__blast[data-blast=yellow],.hx__blast[data-blast=peach]{--tri-up:.40;--tri-down:.36;-webkit-mask:none;mask:none}}

/* hero lab: switch the trail's accent colour */
.hxsw{position:fixed;z-index:60;left:50%;bottom:20px;translate:-50% 0;display:flex;gap:4px;padding:5px;border-radius:999px;background:rgba(255,255,255,.9);
  -webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);box-shadow:0 0 0 1px rgba(17,17,17,.06),0 12px 30px -10px rgba(28,20,90,.35)}
.hxsw button{display:inline-flex;align-items:center;gap:8px;height:38px;padding:0 16px 0 10px;border-radius:999px;font:500 14px Inter,sans-serif;color:#55525E;background:none;border:0;cursor:pointer;transition:background .25s,color .25s}
.hxsw button i{width:18px;height:18px;border-radius:50%;box-shadow:inset 0 0 0 1px rgba(17,17,17,.08)}
.hxsw button[aria-pressed=true]{background:#111;color:#fff}
