/* PagePop WOW M5: "Be the lead" in the control room. Scoped under html.wow; motion only under no-preference. */

/* name box */
html.wow .wow-cc-try{position:relative;isolation:isolate;overflow:clip;max-width:780px;margin:38px auto 0;
 padding:22px clamp(18px,3vw,30px) 18px;border-radius:26px;text-align:start;
 background:radial-gradient(90% 140% at 100% 0%,rgba(123,47,255,.26),transparent 60%),
  radial-gradient(70% 120% at 0% 100%,rgba(67,97,238,.16),transparent 62%),
  linear-gradient(170deg,rgba(17,21,46,.92),rgba(8,11,22,.92));
 box-shadow:0 0 0 1px rgba(191,174,244,.26) inset,0 40px 90px -50px rgba(123,47,255,.75)}
html.wow .wow-cc-try::before{content:"";position:absolute;z-index:-1;inset:0 auto 0 0;width:40%;pointer-events:none;
 background:linear-gradient(100deg,transparent,rgba(191,174,244,.10),transparent);transform:translateX(-120%)}
html.wow .wow-cc-try label{display:block;font:700 clamp(16.5px,1.6vw,19px)/1.45 var(--serif,Rubik,sans-serif);color:#f4eef9;margin-bottom:14px}
html.wow .wcc-row{display:flex;gap:10px;align-items:stretch}
html.wow .wcc-row input{flex:1;min-width:0;height:56px;padding:0 22px;border:0;border-radius:999px;
 font:600 17px var(--sans,Assistant,sans-serif);color:#f4eef9;background:rgba(8,11,22,.78);
 box-shadow:0 0 0 1px rgba(255,255,255,.16) inset;transition:box-shadow .25s;caret-color:#BFAEF4}
html.wow .wcc-row input:focus{outline:0;box-shadow:0 0 0 2px #BFAEF4 inset,0 0 0 5px rgba(191,174,244,.18),0 0 34px -6px rgba(123,47,255,.9)}
html.wow .wcc-row .cta{flex:none;height:56px;padding:0 34px;border:0;cursor:pointer;font-family:var(--sans,Assistant,sans-serif);font-size:17px}
html.wow .wcc-row .cta:focus-visible,html.wow .wcc-go:focus-visible{outline:2px solid #f4eef9;outline-offset:3px}
html.wow .wcc-note{display:flex;align-items:center;gap:9px;margin-top:12px;font-size:13.4px;line-height:1.5;color:#a7adcc}
html.wow .wcc-note::before{content:"";flex:none;width:8px;height:8px;border-radius:50%;background:#10B981;box-shadow:0 0 0 4px rgba(16,185,129,.16),0 0 12px rgba(16,185,129,.7)}
html.wow .wow-cc-try+.cc{margin-top:18px}
@media (max-width:640px){
 html.wow .wcc-row{flex-direction:column}
 html.wow .wcc-row input{flex:none;width:100%;height:52px;font-size:16px}
 html.wow .wcc-row .cta{width:100%;height:52px;font-size:16px}
 html.wow .wow-cc-try label{font-size:16px}
}

/* rail steps become real buttons (content moved inside, text unchanged) */
html.wow #cc .wcc-step{all:unset;box-sizing:border-box;display:block;width:100%;cursor:pointer;border-radius:14px;padding:0 2px 4px;
 font:inherit;color:inherit;text-align:center;-webkit-tap-highlight-color:transparent}
html.wow #cc .wcc-step:hover{color:#f4eef9}
html.wow #cc .wcc-step:hover b{box-shadow:0 0 0 1.5px rgba(191,174,244,.6) inset}
html.wow #cc .wcc-step:focus-visible{outline:2px solid #BFAEF4;outline-offset:3px}
html.wow #cc .wcc-step[aria-pressed=true] b{box-shadow:0 0 0 4px rgba(191,174,244,.28),0 0 34px rgba(191,174,244,.9)}

/* brand colors: no red, no pink in the control room */
html.wow #cc .cc__live{color:#f4eef9}
html.wow #cc .cc__live i{background:#10B981;box-shadow:0 0 0 0 rgba(16,185,129,.7);animation-name:wcc-live}
@keyframes wcc-live{to{box-shadow:0 0 0 10px rgba(16,185,129,0)}}
html.wow #cc .st--new{background:#7B2FFF;color:#f4eef9}
/* the inline loop sets the beam to 125% on the last step; keep it inside the rail */
html.wow #cc[data-step="6"] .cc__beam i{transform:scaleX(1)}

/* ending: stamp plus a way into the form; the slot is reserved so nothing jumps */
html.wow .wow-cc-end{position:relative;z-index:1;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;
 gap:14px 22px;margin-top:22px;padding:8px 0 4px}
html.wow .wcc-stamp{position:relative;display:inline-block;padding:11px 22px;border-radius:12px;
 font:800 clamp(16px,1.7vw,19px)/1.3 var(--serif,Rubik,sans-serif);color:#10B981;letter-spacing:.01em;
 background:rgba(16,185,129,.07);box-shadow:0 0 0 2.5px #10B981 inset,0 0 0 6px rgba(16,185,129,.10),0 0 46px -8px rgba(16,185,129,.55);
 transform:rotate(-3deg)}
html.wow .wcc-stamp::after{content:"";position:absolute;inset:5px;border-radius:8px;border:1px dashed rgba(16,185,129,.55);pointer-events:none}
html.wow .wcc-stamp::before{content:"";position:absolute;inset:-2px;border-radius:14px;box-shadow:0 0 0 2px rgba(16,185,129,.7);opacity:0;pointer-events:none}
html.wow .wcc-go{padding:13px 28px;font-size:16px}
@media (max-width:420px){
 html.wow .wcc-stamp{padding:10px 14px;font-size:clamp(14px,4.1vw,16px);white-space:nowrap}
 html.wow .wcc-go{width:100%}
 html.wow .wow-cc-end{margin-top:18px;gap:16px}
}

@media (prefers-reduced-motion:no-preference){
 html.wow:not(.wow-rm) .wow-cc-try{opacity:0;transform:translateY(16px);transition:opacity .7s cubic-bezier(.2,.7,.2,1),transform .7s cubic-bezier(.2,.7,.2,1)}
 html.wow:not(.wow-rm) .wow-cc-try.wcc-in{opacity:1;transform:none}
 html.wow:not(.wow-rm) .wow-cc-try.wcc-in::before{animation:wcc-sheen 1.6s .5s cubic-bezier(.4,0,.2,1) both}
 @keyframes wcc-sheen{to{transform:translateX(360%)}}

 html.wow:not(.wow-rm) .wow-cc-end:not(.wcc-seen){visibility:hidden}
 html.wow:not(.wow-rm) .wow-cc-end:not(.wcc-seen)>*{opacity:0}
 html.wow:not(.wow-rm) .cc.wcc-end .wcc-stamp{animation:wcc-slam .72s cubic-bezier(.2,.8,.25,1) both}
 html.wow:not(.wow-rm) .cc.wcc-end .wcc-stamp::before{animation:wcc-ring .9s .32s ease-out both}
 html.wow:not(.wow-rm) .cc.wcc-end .wcc-go{animation:wcc-rise .6s .42s cubic-bezier(.2,.7,.2,1) both}
 @keyframes wcc-slam{0%{opacity:0;transform:rotate(-3deg) scale(1.4)}45%{opacity:1;transform:rotate(-3deg) scale(.97)}72%{transform:rotate(-3deg) scale(1.04)}100%{opacity:1;transform:rotate(-3deg) scale(1)}}
 @keyframes wcc-ring{0%{opacity:.75;transform:scale(1)}100%{opacity:0;transform:scale(1.35,1.7)}}
 @keyframes wcc-rise{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
}

/* reduced motion: steps switch with no travel, everything static and readable */
html.wow-rm #cc *,html.wow-rm #cc::after{animation:none!important;transition:none!important}
html.wow-rm #cc::after{display:none}
