/* ACS Developer-Workflow scroll showcase — scoped under #acs-wf, wf- prefixed,
   so it never collides with features.css / brand-sitewide.css. Dark-only to match
   the app. Section heading is an <h2> (inherits the sitewide blue->purple gradient);
   item titles are role=heading divs so the sitewide heading rule does not fight the
   active/inactive colour states. */
/* clip any residual horizontal overflow (the sitewide full-bleed footer adds a few
   px). clip (not hidden) does NOT create a scroll container, so sticky still works. */
html{overflow-x:clip}
/* premium: subtle film grain over the whole section */
#acs-wf::after{content:"";position:absolute;inset:0;z-index:7;pointer-events:none;opacity:.045;mix-blend-mode:overlay;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='wfn'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23wfn)'/%3E%3C/svg%3E");background-size:200px 200px}
#acs-wf{
  --wf-ink:#eef2ff; --wf-muted:#9fb0d0; --wf-dim:#6f80a3;
  --wf-line:rgba(120,140,200,.16); --wf-line2:rgba(120,140,200,.28);
  --wf-teal:#5be0ff;
  --wf-tint:#1a2ee0; /* per-feature accent, set by JS in sync with the bg crossfade */
  --wf-grad:linear-gradient(90deg,#2d6bf5 0%,#6a4ff0 36%,#9a44ef 68%,#c33fe6 100%);
  --wf-gradsoft:linear-gradient(120deg,rgba(45,107,245,.16),rgba(195,63,230,.14));
  position:relative;padding:72px 0 46px;border-top:1px solid var(--wf-line);
  /* full-bleed: the section now sits inside a centred .feat-wrap, so break out to
     the full viewport width edge-to-edge (the colour band must span the screen) */
  margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw);
  font-family:"Inter","Inter var",system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  color:var(--wf-ink);
}
/* the page forces `main > section { background: transparent !important }`, and a
   background-color transition on a pseudo would not fire — so the per-feature tint
   is TWO real full-cover layers whose OPACITY crossfades (opacity transitions
   reliably). JS builds .wf-bg and fades between the layers per feature. */
#acs-wf .wf-bg{position:absolute;inset:0;z-index:0;pointer-events:none;overflow:hidden;-webkit-mask-image:linear-gradient(to bottom,transparent 0,#000 9%,#000 90%,transparent 100%);mask-image:linear-gradient(to bottom,transparent 0,#000 9%,#000 90%,transparent 100%)}
#acs-wf .wf-bg-l{position:absolute;inset:0;opacity:0;transition:opacity .6s ease;will-change:opacity}
#acs-wf .wf-bg-glow{position:absolute;inset:0;background-image:radial-gradient(900px 480px at 12% 4%,rgba(120,150,255,.14),transparent 60%),radial-gradient(820px 520px at 92% 14%,rgba(225,120,255,.12),transparent 62%)}
@media (prefers-reduced-motion:reduce){#acs-wf .wf-bg-l{transition:none}}
#acs-wf *{box-sizing:border-box}
#acs-wf .wf-wrap{position:relative;z-index:1;max-width:min(1860px,97vw);margin:0 auto;padding:0 22px}
#acs-wf .wf-head{text-align:center;padding-bottom:22px}
#acs-wf .wf-eyebrow{display:inline-flex;align-items:center;gap:9px;font-size:12px;font-weight:800;letter-spacing:.22em;text-transform:uppercase;color:var(--wf-teal);border:1px solid rgba(91,224,255,.32);background:rgba(2,24,43,.55);padding:8px 18px;border-radius:999px}
#acs-wf .wf-eyebrow::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--wf-teal);box-shadow:0 0 10px var(--wf-teal)}
#acs-wf .wf-h2{font-size:clamp(28px,4.4vw,48px);line-height:1.06;letter-spacing:-.02em;margin:18px auto 0;max-width:17ch;text-wrap:balance}
#acs-wf .wf-lede{margin:14px auto 0;max-width:60ch;color:var(--wf-muted);font-size:clamp(15px,1.4vw,17px)}

#acs-wf .wf-grid{display:grid;grid-template-columns:0.54fr 1.62fr;gap:40px;align-items:start;padding:20px 0 10px;position:relative}
#acs-wf .wf-counter{position:sticky;top:106px;z-index:6;align-self:flex-start;margin-bottom:8px;display:inline-flex;align-items:center;gap:9px;width:max-content;font-size:12px;font-weight:800;letter-spacing:.18em;text-transform:uppercase;color:#cdd8ef;background:rgba(7,11,22,.95);border:1px solid rgba(140,160,220,.28);border-radius:999px;padding:8px 16px;box-shadow:0 12px 32px -8px rgba(0,0,0,.75);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
#acs-wf .wf-counter .wf-cdot{width:8px;height:8px;border-radius:50%;background:var(--wf-teal);box-shadow:0 0 10px var(--wf-teal)}
#acs-wf .wf-counter b{color:var(--wf-ink);font-variant-numeric:tabular-nums}

#acs-wf .wf-list{display:flex;flex-direction:column;position:relative}
/* premium: faint full-height rail; the glowing marker rides the ACTIVE feature (viewport centre) */
#acs-wf .wf-list::before{content:"";position:absolute;left:0;top:6%;bottom:6%;width:2px;border-radius:2px;background:var(--wf-line);z-index:0}
#acs-wf .wf-item{min-height:56vh;display:flex;flex-direction:column;justify-content:center;padding-left:24px;position:relative}
#acs-wf .wf-item::before{content:"";position:absolute;left:-.5px;top:32%;bottom:32%;width:3px;border-radius:3px;background:transparent;transition:background .45s ease,box-shadow .45s ease;z-index:1}
#acs-wf .wf-item.on::before{background:linear-gradient(180deg,#8fc0ff,#c9a3ff,#ff9be8);box-shadow:0 0 12px color-mix(in srgb,var(--wf-tint) 55%,#fff),0 0 4px rgba(255,255,255,.55)}
/* eyebrow is now the BIG headline (bigger than the title below it) */
#acs-wf .wf-kick{font-size:clamp(23px,2.7vw,35px);font-weight:900;letter-spacing:-.01em;text-transform:none;line-height:1.14;color:var(--wf-ink);text-shadow:0 0 13px color-mix(in srgb,var(--wf-tint) 50%,transparent);transition:color .4s ease;display:flex;align-items:center;gap:12px;flex-wrap:wrap}
#acs-wf .wf-item.on .wf-kick,
#acs-wf .wf-item:hover .wf-kick{background:linear-gradient(90deg,#6aa8ff 0%,#9a86ff 34%,#c877ff 66%,#ff7ce0 100%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:transparent;filter:drop-shadow(0 0 10px color-mix(in srgb,var(--wf-tint) 52%,transparent))}
#acs-wf .wf-badge{font-size:11.5px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;padding:4px 11px;border-radius:7px;color:#fff;-webkit-text-fill-color:#fff;background:rgba(45,107,245,.92);border:1px solid rgba(140,180,255,.75);box-shadow:0 3px 12px rgba(45,107,245,.45);align-self:center}
#acs-wf .wf-badge.ent{color:#fff;-webkit-text-fill-color:#fff;background:rgba(138,46,224,.92);border-color:rgba(196,150,255,.75);box-shadow:0 3px 12px rgba(138,46,224,.45)}
/* title is now the smaller white subtitle under the big eyebrow */
#acs-wf .wf-item-h{margin:8px 0 0;font-size:clamp(15px,1.5vw,19px);font-weight:600;letter-spacing:0;line-height:1.4;color:#dbe4f7;transition:color .4s ease;text-wrap:balance;max-width:44ch}
#acs-wf .wf-item.on .wf-item-h{color:#ffffff}
/* descriptions are always visible now (every feature shows its clarifying text) */
#acs-wf .wf-desc{max-height:none;opacity:1;overflow:visible;color:#e7edfb;transition:color .4s ease;max-width:46ch;font-size:15px;margin:12px 0 0;line-height:1.6}
#acs-wf .wf-item.on .wf-desc{margin:12px 0 0}

#acs-wf .wf-media-col{position:relative;align-self:stretch}
#acs-wf .wf-media{position:sticky;top:100px;width:100%;aspect-ratio:16 / 9.6;max-height:min(86vh,calc(100vh - 122px));border:3px solid color-mix(in srgb,var(--wf-tint) 45%,#eaf0ff);border-radius:22px;overflow:hidden;background:linear-gradient(160deg,color-mix(in srgb,var(--wf-tint) 62%,#080e1c),color-mix(in srgb,var(--wf-tint) 42%,#080e1c));box-shadow:0 50px 140px -30px rgba(0,0,0,.9),0 0 60px -8px color-mix(in srgb,var(--wf-tint) 42%,transparent),0 24px 200px 20px color-mix(in srgb,var(--wf-tint) 24%,transparent),0 0 120px 30px color-mix(in srgb,var(--wf-tint) 13%,transparent),inset 0 1px 0 rgba(255,255,255,.08);transition:border-color .6s ease,box-shadow .6s ease,background .6s ease,transform .16s ease;transform-origin:center;will-change:transform;animation:wf-halo-breathe 7s ease-in-out infinite}
/* premium: the ambient backdrop halo behind the frame slowly breathes */
@keyframes wf-halo-breathe{0%,100%{box-shadow:0 50px 140px -30px rgba(0,0,0,.9),0 0 55px -10px color-mix(in srgb,var(--wf-tint) 38%,transparent),0 22px 180px 14px color-mix(in srgb,var(--wf-tint) 20%,transparent),0 0 110px 26px color-mix(in srgb,var(--wf-tint) 11%,transparent),inset 0 1px 0 rgba(255,255,255,.08)}50%{box-shadow:0 50px 140px -30px rgba(0,0,0,.9),0 0 78px -6px color-mix(in srgb,var(--wf-tint) 52%,transparent),0 26px 240px 34px color-mix(in srgb,var(--wf-tint) 28%,transparent),0 0 150px 44px color-mix(in srgb,var(--wf-tint) 16%,transparent),inset 0 1px 0 rgba(255,255,255,.08)}}
/* premium: soft spotlight follows the cursor over the frame */
#acs-wf .wf-media::before{content:"";position:absolute;inset:0;z-index:4;pointer-events:none;opacity:0;transition:opacity .35s ease;background:radial-gradient(240px circle at var(--mx,50%) var(--my,50%),rgba(255,255,255,.15),rgba(255,255,255,0) 55%);mix-blend-mode:screen}
#acs-wf .wf-media:hover::before{opacity:1}
/* perf: freeze the continuous breathing animation while the section is off-screen */
#acs-wf:not(.wf-vis) .wf-media{animation-play-state:paused}
/* perf: low-end devices (few CPU cores) drop the costliest decorative layers */
#acs-wf.wf-lite .wf-media{animation:none !important}
#acs-wf.wf-lite::after{display:none}
/* reflection only on capable devices (never set in lite mode) */
#acs-wf:not(.wf-lite) .wf-media{-webkit-box-reflect:below 6px linear-gradient(transparent,transparent 78%,rgba(0,0,0,.14))}
/* feathered, faded tinted edge painted OVER the image (inset shadows on .wf-media
   sit behind the screenshot, so the fade lives on this overlay layer instead) */
#acs-wf .wf-media::after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;z-index:3;background:linear-gradient(180deg,rgba(255,255,255,.07),rgba(255,255,255,0) 22%);box-shadow:inset 0 0 40px -2px color-mix(in srgb,var(--wf-tint) 58%,transparent),inset 0 0 12px 0 color-mix(in srgb,var(--wf-tint) 45%,transparent);transition:box-shadow .6s ease}
#acs-wf .wf-shot{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:top center;display:block;cursor:zoom-in;transition:transform .5s cubic-bezier(.2,.7,.2,1)}
#acs-wf .wf-media:hover .wf-frame.on .wf-shot{transform:scale(1.09)}
#acs-wf .wf-zoomhint{position:absolute;bottom:14px;right:14px;z-index:5;display:inline-flex;align-items:center;gap:6px;font-size:11px;font-weight:700;letter-spacing:.04em;color:#dfe7ff;background:rgba(8,12,24,.72);border:1px solid var(--wf-line2);border-radius:8px;padding:5px 10px;opacity:0;transition:opacity .3s;pointer-events:none;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}
#acs-wf .wf-media:hover .wf-zoomhint{opacity:1}
/* premium: floating capability chips for the active feature */
#acs-wf .wf-chips{position:absolute;left:14px;bottom:14px;z-index:5;display:flex;flex-wrap:wrap;gap:7px;max-width:46%;pointer-events:none}
#acs-wf .wf-chip{font-size:11px;font-weight:800;letter-spacing:.03em;color:#eaf0ff;background:color-mix(in srgb,var(--wf-tint) 30%,rgba(8,12,22,.82));border:1px solid color-mix(in srgb,var(--wf-tint) 55%,transparent);border-radius:999px;padding:5px 11px;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);box-shadow:0 6px 18px -6px rgba(0,0,0,.6);opacity:0;transform:translateY(8px);animation:wf-chip-in .55s cubic-bezier(.2,.7,.2,1) forwards}
@keyframes wf-chip-in{to{opacity:1;transform:none}}
/* premium: closing CTA for the section */
#acs-wf .wf-cta{margin:64px auto 8px;text-align:center;position:relative;z-index:1;max-width:760px;padding:0 22px}
#acs-wf .wf-cta-h{margin:0 auto;max-width:22ch;font-size:clamp(24px,3vw,38px);font-weight:900;letter-spacing:-.02em;line-height:1.16;background:linear-gradient(90deg,#2d6bf5 0%,#6a4ff0 36%,#9a44ef 68%,#c33fe6 100%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:transparent}
#acs-wf .wf-cta-sub{margin:14px auto 0;max-width:52ch;color:var(--wf-muted);font-size:clamp(15px,1.4vw,17px);line-height:1.6}
#acs-wf .wf-cta-btns{display:flex;gap:14px;justify-content:center;flex-wrap:wrap;margin-top:26px}
/* premium: visible keyboard focus states */
#acs-wf .wf-shot:focus-visible{outline:3px solid #9ab8ff;outline-offset:-4px}
#acs-wf .wf-cta .feat-btn:focus-visible{outline:2px solid #9ab8ff;outline-offset:3px}
#acs-wf:focus-visible{outline:none}
.wf-lightbox-x:focus-visible{outline:2px solid #9ab8ff;outline-offset:3px}
/* click-to-enlarge lightbox */
.wf-lightbox{position:fixed;inset:0;z-index:99999;background:rgba(4,6,14,.93);display:flex;align-items:center;justify-content:center;padding:3vh 3vw;opacity:0;pointer-events:none;transition:opacity .28s ease;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}
.wf-lightbox.open{opacity:1;pointer-events:auto}
.wf-lightbox img{max-width:97vw;max-height:94vh;width:auto;height:auto;border-radius:14px;border:1px solid rgba(120,140,200,.28);box-shadow:0 50px 140px rgba(0,0,0,.75);cursor:zoom-out}
.wf-lightbox-x{position:absolute;top:18px;right:24px;width:42px;height:42px;border-radius:50%;border:1px solid rgba(120,140,200,.35);background:rgba(13,21,38,.85);color:#eef2ff;font-size:22px;line-height:1;cursor:pointer;display:grid;place-items:center}
.wf-lightbox-x:hover{background:rgba(45,107,245,.3)}
.wf-lightbox-x:focus-visible{outline:2px solid #5be0ff;outline-offset:2px}
@media (prefers-reduced-motion:reduce){#acs-wf .wf-media:hover .wf-frame.on .wf-shot{transform:none}#acs-wf .wf-media{animation:none!important;transform:none!important;transition:border-color .6s ease,box-shadow .6s ease,background .6s ease}#acs-wf .wf-media::before{display:none}#acs-wf .wf-frame{transform:none;transition:opacity .3s ease}#acs-wf .wf-list::after{transition:none}}
#acs-wf .wf-chrome{height:42px;display:flex;align-items:center;gap:8px;padding:0 15px;border-bottom:1px solid var(--wf-line);background:rgba(255,255,255,.02)}
#acs-wf .wf-chrome i{width:11px;height:11px;border-radius:50%;background:#2a3550;display:block}
#acs-wf .wf-chrome i:nth-child(1){background:#ff5f57}#acs-wf .wf-chrome i:nth-child(2){background:#febc2e}#acs-wf .wf-chrome i:nth-child(3){background:#28c840}
#acs-wf .wf-chrome span{margin-left:10px;font-size:12px;color:var(--wf-dim);font-weight:600;letter-spacing:.04em}
#acs-wf .wf-stage{position:relative;height:calc(100% - 42px)}
#acs-wf .wf-frame{position:absolute;inset:18px;border-radius:12px;overflow:hidden;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;padding:30px;text-align:center;opacity:0;transform:scale(.955) translateY(10px);transition:opacity .6s ease,transform .75s cubic-bezier(.2,.7,.2,1);background:radial-gradient(700px 380px at 50% 30%,rgba(45,107,245,.10),transparent 70%);box-shadow:0 0 0 1px rgba(0,0,0,.55),0 4px 20px rgba(0,0,0,.5);pointer-events:none}
/* only the visible frame is clickable, else the stacked top frame (last feature) steals every click */
#acs-wf .wf-frame.on{opacity:1;transform:none;pointer-events:auto}
#acs-wf .wf-glyph{width:112px;height:112px;border-radius:26px;display:grid;place-items:center;background:var(--wf-gradsoft);border:1px solid var(--wf-line2);box-shadow:0 20px 50px -20px rgba(106,79,240,.6)}
#acs-wf .wf-glyph svg{width:56px;height:56px;stroke:#dfe7ff;stroke-width:1.6;fill:none;stroke-linecap:round;stroke-linejoin:round}
#acs-wf .wf-frame-h{margin:0;font-size:22px;font-weight:900;letter-spacing:-.01em;background:var(--wf-grad);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:transparent}
#acs-wf .wf-frame p{margin:0;color:var(--wf-dim);font-size:13px;max-width:34ch}
#acs-wf .wf-phtag{position:absolute;top:14px;right:14px;font-size:10px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:var(--wf-dim);border:1px dashed var(--wf-line2);border-radius:6px;padding:4px 8px}
#acs-wf .wf-skel{display:flex;gap:8px;margin-top:4px;flex-wrap:wrap;justify-content:center;max-width:80%}
#acs-wf .wf-skel span{height:26px;border-radius:8px;background:rgba(255,255,255,.05);border:1px solid var(--wf-line);flex:0 0 auto}
#acs-wf .wf-skel span:nth-child(odd){width:78px}#acs-wf .wf-skel span:nth-child(even){width:52px}
#acs-wf .wf-dots{position:absolute;left:0;right:0;bottom:16px;display:flex;gap:8px;justify-content:center;z-index:4}
#acs-wf .wf-dots button{width:22px;height:5px;border-radius:3px;border:0;padding:0;cursor:pointer;background:rgba(255,255,255,.16);transition:background .3s ease,width .3s ease}
#acs-wf .wf-dots button.on{background:var(--wf-grad);width:34px}
#acs-wf .wf-dots button:focus-visible{outline:2px solid var(--wf-teal);outline-offset:3px}
#acs-wf .wf-foot{text-align:center;color:var(--wf-dim);font-size:13px;padding-top:22px}
#acs-wf .wf-foot b{color:var(--wf-muted);font-weight:700}

@media (max-width:860px){
  #acs-wf .wf-grid{grid-template-columns:1fr;gap:8px}
  #acs-wf .wf-counter{position:static;margin-bottom:6px}
  #acs-wf .wf-media-col{order:-1}
  #acs-wf .wf-media{position:static;height:auto;min-height:300px}
  #acs-wf .wf-stage{min-height:300px}
  #acs-wf .wf-item{min-height:auto;padding:22px 0 22px 20px}
  #acs-wf .wf-item .wf-desc{max-height:none;opacity:1;margin:12px 0 0}
  #acs-wf .wf-item .wf-item-h{color:var(--wf-ink)}
  #acs-wf .wf-item::before{top:0;bottom:0}
  #acs-wf .wf-dots{display:none}
}
@media (prefers-reduced-motion:reduce){
  #acs-wf *{transition:none!important}
}
