/* ==========================================================================
   SellerApp — SHARED SOLUTION SECTIONS (customer stories · marketplace
   coverage · schedule-a-demo form · decorative three.js layer)

   Extracted verbatim from "Amazon Managed Services v3.html" so solution pages
   (Managed Services, Agency Platform, …) share one implementation instead of
   forking the markup. Content is supplied per page; the design is not.
   Link AFTER ds/tokens.css + ds/components.css.
   ========================================================================== */


/* ==========================================================================
   CUSTOMER STORY
   ========================================================================== */
.story{
  margin-top:46px;border:1px solid var(--border);border-radius:24px;background:var(--surface-elevated);
  padding:36px;box-shadow:var(--shadow-shot);
}
.tagrow{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:36px}
.tag{
  display:inline-flex;align-items:center;height:26px;padding-inline:11px;border-radius:999px;
  background:var(--surface-soft);border:1px solid var(--border);
  font-size:12.5px;font-weight:600;color:var(--fg-3);
}
.tag--brand{
  height:26px;padding-inline:12px;background:var(--surface-brand);
  border-color:var(--border-brand);color:var(--brand);
  font-family:var(--display);font-weight:700;font-size:12.5px;
}
.tag--logo{padding:0;height:auto;background:none;border:0}
.tag--logo img{height:56px;width:auto;object-fit:contain;display:block}
[data-theme="dark"] .tag--logo img{filter:brightness(0) invert(1)}
.steps li{display:flex;align-items:center;gap:20px;padding:18px 0}
.steps li+li{border-top:1px solid var(--border)}
.steps__key{display:flex;align-items:center;gap:8px;width:136px;flex:none}
.steps__ico{
  width:32px;height:32px;border-radius:9px;display:grid;place-items:center;flex:none;
  background:var(--surface-brand);color:var(--brand);
}
.steps__ico .ms{font-size:19px}
.steps__ico.is-bad{background:rgba(227,202,103,.14);color:var(--bad)}
.steps__ico.is-good{background:rgba(31,68,255,.14);color:var(--good)}
.steps__key b{font-size:13px;font-weight:800;letter-spacing:.6px;color:var(--fg-4)}
.steps p{font-size:16px;line-height:28px;color:var(--fg-2);margin:0}
@media(max-width:760px){
  .steps li{flex-direction:column;align-items:flex-start;gap:10px}
  .steps__key{width:auto}
}

/* ==========================================================================
   CUSTOMER STORIES — featured story + results card + case-study rail
   ========================================================================== */
.feat{display:grid;grid-template-columns:minmax(0,64fr) minmax(0,36fr);gap:56px;align-items:start;margin-top:52px}
.feat__story{position:relative;min-height:270px;align-self:flex-start}
.feat__story blockquote{
  text-align:left;margin-left:0;
  font-family:var(--display);font-weight:700;font-size:33px;line-height:45px;letter-spacing:-1px;
  color:var(--fg-1);text-wrap:pretty;max-width:720px;
  font-variation-settings:"opsz" 24,"wdth" 100;
}
.feat__by{display:flex;align-items:center;gap:15px;margin-top:32px}
.feat__pic{
  width:60px;height:60px;border-radius:50%;overflow:hidden;flex:none;
  border:2px solid var(--surface-elevated);box-shadow:0 8px 20px -14px rgba(27,27,54,.6);
}
.feat__pic img{width:100%;height:100%;object-fit:cover;display:block}
.feat__logoBox{
  width:60px;height:60px;border-radius:16px;flex:none;display:grid;place-items:center;
  background:var(--surface-brand);color:var(--brand);border:1px solid var(--border);overflow:hidden;
}
.feat__logoBox img{max-width:46px;max-height:38px;object-fit:contain}
.feat__logoBox .ms{font-size:26px}
.feat__by b{display:block;font-family:var(--display);font-weight:700;font-size:17px;letter-spacing:-.3px;color:var(--fg-1)}
.feat__by span{font-size:14.5px;color:var(--fg-3);white-space:nowrap}
@media(max-width:560px){.feat__by span{white-space:normal}.feat__by>div{min-width:0}}
.feat__tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:22px}
.feat__tags span{
  flex:none;white-space:nowrap;height:28px;padding-inline:11px;border-radius:999px;display:inline-flex;align-items:center;
  background:var(--surface-elevated);border:1px solid var(--border);
  font-size:12.5px;font-weight:600;color:var(--fg-3);
}
.feat__card{
  background:var(--surface-elevated);border:1px solid var(--border);border-radius:20px;padding:24px;
  box-shadow:0 18px 40px -34px rgba(27,27,54,.55);
}
.feat__brand{display:flex;align-items:center;gap:11px;min-height:32px}
.feat__brand img{max-height:26px;width:auto;object-fit:contain}
.feat__brand b{font-family:var(--display);font-weight:700;font-size:16px;letter-spacing:-.3px;color:var(--fg-1)}
.feat__out{margin-top:13px;font-size:14.5px;line-height:23px;color:var(--fg-3)}
.feat__meta{
  display:block;margin-top:20px;font-family:var(--display);font-weight:800;font-size:11px;
  letter-spacing:1.5px;text-transform:uppercase;color:var(--fg-4);
}
.feat__met{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:15px 0;border-top:1px solid var(--border)}
.feat__mets{margin-top:6px}
.feat__met:first-child{border-top:0}
.feat__met dt{font-size:14px;line-height:20px;color:var(--fg-3)}
.feat__met dd{
  font-family:var(--display);font-weight:800;font-size:22px;letter-spacing:-.6px;color:var(--brand);
  font-variant-numeric:tabular-nums;white-space:nowrap;
}
.feat__cta{margin-top:20px}
[data-feat-story],[data-feat-card]{transition:opacity .3s ease,translate .4s var(--e-out)}
.feat.is-swap [data-feat-story],.feat.is-swap [data-feat-card]{opacity:0;translate:0 17px}

.cs-rail__head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:60px}
.cs-rail__label{
  font-family:var(--display);font-weight:800;font-size:11.5px;letter-spacing:1.5px;
  text-transform:uppercase;color:var(--fg-4);
}
.cs-arrows{display:flex;gap:10px}
.cs-arrow{
  width:42px;height:42px;border-radius:50%;display:grid;place-items:center;cursor:pointer;
  background:var(--surface-elevated);border:1px solid var(--border);color:var(--fg-2);
  transition:border-color .2s ease,color .2s ease,box-shadow .2s ease;
}
.cs-arrow:hover{border-color:var(--border-brand-strong);color:var(--brand)}
.cs-arrow:focus-visible{outline:none;box-shadow:0 0 0 3px rgba(31,68,255,.28)}
.cs-rail{
  display:flex;gap:16px;margin-top:18px;overflow-x:auto;scroll-snap-type:x mandatory;
  scrollbar-width:none;padding:2px 2px 8px;scroll-behavior:smooth;
}
.cs-rail::-webkit-scrollbar{display:none}
.cscard{
  position:relative;flex:0 0 calc((100% - 48px) / 4);scroll-snap-align:start;text-align:left;
  display:flex;flex-direction:column;gap:11px;min-height:212px;cursor:pointer;
  padding:20px;border:1px solid var(--border);border-radius:18px;background:var(--surface-elevated);
  font-family:inherit;
  transition:transform .24s var(--e-out),border-color .24s ease,box-shadow .24s ease;
}
.cscard:hover{transform:translateY(-3px);border-color:var(--border-brand-strong);box-shadow:0 16px 34px -26px rgba(31,68,255,.55)}
.cscard.is-on{border-color:var(--brand);box-shadow:0 0 0 1px var(--brand) inset}
.cscard:focus-visible{outline:none;box-shadow:0 0 0 3px rgba(31,68,255,.28)}
.cscard__logo{min-height:44px;display:flex;align-items:center;gap:9px}
.cscard__logo img{max-height:40px;max-width:120px;width:auto;object-fit:contain}
.cscard__logo i{
  width:30px;height:30px;border-radius:9px;display:grid;place-items:center;flex:none;
  background:var(--surface-brand);color:var(--brand);
}
.cscard__logo i .ms{font-size:17px}
.cscard__logo b{font-family:var(--display);font-weight:700;font-size:14.5px;letter-spacing:-.25px;color:var(--fg-1)}
.cscard p{font-size:13.5px;line-height:21px;color:var(--fg-3);max-width:22ch}
.cscard__chip{
  align-self:flex-start;white-space:nowrap;height:24px;padding-inline:9px;border-radius:999px;display:inline-flex;align-items:center;
  background:var(--surface-muted);color:var(--fg-3);font-size:11.5px;font-weight:700;
}
.cscard__met{
  margin-top:auto;font-family:var(--display);font-weight:800;font-size:24px;letter-spacing:-.7px;color:var(--brand);
  font-variation-settings:"opsz" 14,"wdth" 100;transition:letter-spacing .24s ease;
}
.cscard:hover .cscard__met{letter-spacing:-.4px}
.cscard__more{
  position:absolute;right:16px;bottom:16px;width:74px;height:74px;border-radius:50%;
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;
  background:var(--btn-primary-bg);color:var(--pal-light);text-align:center;
  font-size:11px;line-height:13px;font-weight:700;letter-spacing:.1px;
  opacity:0;scale:.86;pointer-events:none;
  translate:calc(var(--mx,0) * 1px) calc(var(--my,0) * 1px);
  box-shadow:0 16px 32px -18px rgba(31,68,255,.85);
  transition:opacity .26s ease,scale .3s var(--e-out),translate .26s var(--e-out);
}
.cscard__more .ms{font-size:15px}
.cscard:hover .cscard__more{opacity:1;scale:1}
@media(max-width:1100px){
  .feat{grid-template-columns:minmax(0,60fr) minmax(0,40fr);gap:34px}
  .feat__story blockquote{font-size:28px;line-height:39px;letter-spacing:-.8px}
  .cscard{flex:0 0 calc((100% - 32px) / 3)}
}
@media(max-width:820px){
  .feat{grid-template-columns:1fr;gap:26px}
  .feat__story{min-height:0}
  .cscard{flex:0 0 78%}
  .cscard__more{position:static;width:auto;height:auto;flex-direction:row;background:none;color:var(--brand);
    box-shadow:none;opacity:1;scale:1;translate:none;font-size:13px;align-self:flex-start}
}
@media(max-width:620px){.feat__story blockquote{font-size:24px;line-height:34px}}
[data-theme="dark"] .cscard.is-on{box-shadow:0 0 0 1px var(--brand) inset}
@media(prefers-reduced-motion:reduce){
  [data-feat-story],[data-feat-card]{transition:opacity .18s ease}
  .feat.is-swap [data-feat-story],.feat.is-swap [data-feat-card]{translate:none}
  .cs-rail{scroll-behavior:auto}
  .cscard__more{transition:opacity .18s ease}
}

/* ==========================================================================
   CUSTOMER STORIES — hierarchy + stacked case-study deck
   The heading recedes; the featured quote is the focal point.
   ========================================================================== */
.cs-sec .section__head h2{max-width:660px;margin-inline:auto}
.cs-sec .section__head .lede{font-size:15px;line-height:24px;max-width:520px;margin-inline:auto;color:var(--fg-4)}
.cs-sec .feat{margin-top:86px;align-items:start}
.cs-sec .feat__story blockquote{font-size:36px;line-height:48px;letter-spacing:-1.2px;max-width:740px;text-wrap:pretty}
.feat__aside{position:relative}
.stack{position:relative;min-height:432px}
.stackcard{
  position:absolute;top:0;left:0;right:0;transform-origin:50% 0;
  background:var(--surface-elevated);border:1px solid var(--border);border-radius:20px;
  padding:0;
  box-shadow:0 18px 40px -34px rgba(27,27,54,.55);overflow:hidden;transform-origin:0 0;
  transition:transform .56s var(--e-out),opacity .56s var(--e-out),box-shadow .4s ease;
}
.stackcard[data-k="0"]{
  transform:none;opacity:1;z-index:4;box-shadow:0 26px 58px -38px rgba(27,27,54,.6);
  transition:transform .3s var(--e-out),opacity .5s var(--e-out),box-shadow .3s ease,border-color .3s ease;
}
/* the whole card is the hover target: it lifts, the photo eases in a touch */
.stackcard[data-k="0"]:hover,.stackcard[data-k="0"]:focus-within{
  transform:translateY(-4px);border-color:var(--border-brand-strong);
  box-shadow:0 34px 66px -34px rgba(31,68,255,.45),0 20px 44px -34px rgba(27,27,54,.5);
}
.csc__shot>*{transition:transform .36s var(--e-out)}
.stackcard[data-k="0"]:hover .csc__shot>*,
.stackcard[data-k="0"]:focus-within .csc__shot>*{transform:scale(1.025)}
.stackcard__link{position:absolute;inset:0;border-radius:20px;z-index:5}
.stackcard__link:focus-visible{outline:none;box-shadow:0 0 0 3px rgba(31,68,255,.3)}
.stackcard[data-k="0"]:hover{border-color:var(--border-brand-strong)}
.stackcard[data-k="1"]{transform:translateY(15px) scale(.972) skewY(-.7deg);opacity:.55;z-index:3;pointer-events:none}
.stackcard[data-k="2"]{transform:translateY(28px) scale(.946) skewY(-1.3deg);opacity:.3;z-index:2;pointer-events:none}
.stackcard[data-k="3"]{transform:translateY(38px) scale(.928) skewY(-1.7deg);opacity:0;z-index:1;pointer-events:none}
/* the circular CTA lives over the photo — never over the logo or the metrics */
/* circular CTA: anchored bottom-right of the CARD, drifting toward the pointer
   but clamped inside the card with a safe margin — never over logo or metrics */
.stack__more{
  position:absolute;right:24px;bottom:24px;width:78px;height:78px;border-radius:50%;z-index:6;
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;
  background:var(--btn-primary-bg);color:var(--pal-light);text-align:center;
  font-size:11px;line-height:13px;font-weight:700;letter-spacing:.1px;
  opacity:0;pointer-events:none;
  transform:translate(var(--mx,0px),var(--my,0px)) scale(.88);
  box-shadow:0 0 0 8px rgba(31,68,255,.14),0 16px 32px -18px rgba(31,68,255,.75);
  transition:opacity .28s ease,transform .3s var(--e-out);
}
.stack__more .ms{font-size:15px}
.stackcard[data-k="0"]:hover .stack__more,
.stackcard[data-k="0"]:focus-within .stack__more{opacity:1;transform:translate(var(--mx,0px),var(--my,0px)) scale(1)}
/* touch devices: no cursor-following circle, a visible action instead */
.stack__flat{display:none}
@media(hover:none),(pointer:coarse){
  .stack__more{display:none}
  .stack__flat{
    display:inline-flex;align-items:center;gap:7px;margin:0 20px 18px;
    font-family:var(--display);font-weight:700;font-size:14px;color:var(--brand);text-decoration:none;
  }
  .stack__flat .ms{font-size:17px}
}
/* ---- visual case-study card: photo → logo → summary → three metrics ---- */
.csc__shot{
  position:relative;aspect-ratio:4/3;border-radius:19px 19px 0 0;overflow:hidden;
  background:var(--surface-muted);border-bottom:1px solid var(--border);
}
.csc__shot image-slot,.csc__shot img{display:block;width:100%;height:100%;object-fit:cover}
#cs-shot-qc{background:url("https://cdn.sellerapp.com/sa-website/new2/images/ae864f6f95ad25d812a9ca77970f1a39.avif") center / cover no-repeat}
/* every case card keeps the same anatomy: photo, logo, summary, metrics */
.csc__body{padding:20px}
.csc__logo{display:flex;align-items:center;min-height:62px;padding:4px 0;overflow:hidden}
/* the card carries a full-bleed overlay link at z-index 5, which would swallow
   clicks meant for the logo slot (and send them to href="#"), so lift the
   unfilled slots above it — the rest of the card still navigates */
.csc__logo image-slot,.csc__shot image-slot{position:relative;z-index:6}
.csc__logo img{max-height:58px;max-width:170px;width:auto;object-fit:contain}
.csc__logo image-slot{display:block;width:150px;height:58px;--is-frame-bg:transparent}
.csc__sum{margin-top:22px;font-size:14.5px;line-height:23px;color:var(--fg-3);text-wrap:pretty}
.csc__mets{display:grid;grid-template-columns:repeat(auto-fit,minmax(0,1fr));gap:10px;margin-top:18px}
.csc__mets{align-items:stretch;grid-auto-rows:1fr}
.csc__met{border:1px solid var(--border);border-radius:12px;padding:11px 12px;min-width:0;display:flex;flex-direction:column;justify-content:flex-start;height:100%;box-sizing:border-box}
.csc__met b{
  display:block;font-family:var(--display);font-weight:800;font-size:19px;letter-spacing:-.6px;
  color:var(--fg-1);font-variant-numeric:tabular-nums;
}
.csc__met span{display:block;margin-top:5px;font-size:11.5px;line-height:15px;color:var(--fg-3);text-wrap:pretty}
.csc__met i{font-style:normal;font-weight:700;color:var(--pal-blue)}
[data-theme="dark"] .csc__met i{color:var(--pal-sky)}
.stack__ctrl{display:flex;align-items:center;gap:12px;margin-top:28px}
.stack__dots{display:flex;align-items:center;gap:7px;margin-inline:auto}
.stack__dot{
  width:7px;height:7px;padding:0;border:0;border-radius:99px;cursor:pointer;background:var(--border-strong);
  transition:width .3s var(--e-out),background .24s ease;
}
.stack__dot.is-on{width:22px;background:var(--brand)}
.stack__dot:focus-visible{outline:none;box-shadow:0 0 0 3px rgba(31,68,255,.28)}
@media(max-width:1100px){
  .cs-sec .section__head h2{}
  .cs-sec .feat__story blockquote{font-size:34px;line-height:45px;letter-spacing:-1.1px}
  .cs-sec .feat{margin-top:64px}
  .stack{min-height:456px}
}
@media(max-width:820px){.stack{min-height:400px}}
@media(max-width:620px){.cs-sec .feat__story blockquote{font-size:27px;line-height:38px;letter-spacing:-.8px}}
@media(hover:none){
  .stack__more{display:none}
  .stack__flat{
    display:inline-flex;align-items:center;gap:6px;margin:16px 20px 20px;
    font-size:13.5px;font-weight:700;color:var(--brand);
  }
  .stack__flat .ms{font-size:17px}
}
@media(prefers-reduced-motion:reduce){
  .stackcard{transition:opacity .2s ease}
  .stackcard[data-k="1"],.stackcard[data-k="2"],.stackcard[data-k="3"]{transform:none}
  .stack__more{transition:opacity .18s ease}
}


/* ==========================================================================
   CHANNELS ROW
   ========================================================================== */
.mkts{display:flex;gap:12px;margin-top:48px}
.mkt{
  flex:1 1 0;min-width:0;display:flex;align-items:center;gap:12px;
  padding:14px 16px;border:1px solid var(--border);border-radius:15px;
  background:var(--surface-elevated);
  opacity:0;translate:0 15px;
  transition:opacity .62s var(--e-out) var(--ad,0ms),translate .62s var(--e-out) var(--ad,0ms),
             border-color .22s ease,background .22s ease,box-shadow .22s ease,transform .22s var(--e-out);
}
[data-io].is-in .mkt{opacity:1;translate:0 0}
.mkt:hover{transform:translateY(-3px);border-color:var(--border-brand-strong);background:var(--surface-brand);box-shadow:0 12px 26px -20px rgba(31,68,255,.7)}
.mkt b{font-family:var(--display);font-weight:700;font-size:15px;letter-spacing:-.25px;color:var(--fg-1);white-space:nowrap}
.mkt__logo{
  width:38px;height:38px;flex:none;border-radius:10px;overflow:hidden;
  background:var(--surface-soft);border:1px solid var(--border);
  display:grid;place-items:center;transition:scale .22s var(--e-out)}
.mkt:hover .mkt__logo{scale:1.06}
.mkt__logo image-slot{width:100%;height:100%}
.mkt__logo img{width:30px;height:30px;object-fit:contain}
/* regional flag stack: up to three circular flags, overlapped, each ringed in
   white for separation. The chip's icon box, height and radius are unchanged. */
.mkt__logo--flags{display:flex;align-items:center;justify-content:center;padding:0 3px}
.mkt__flag{width:21px;height:21px;flex:none;border-radius:50%;display:block;box-shadow:0 0 0 1.5px #fff}
.mkt__flag + .mkt__flag{margin-left:-9px}
.mkt__more{
  margin-left:5px;font-family:var(--display);font-weight:700;font-size:9.5px;letter-spacing:.2px;
  color:var(--fg-4);white-space:nowrap
}
.mkt__logo .logo-ph{height:30px;padding:0 4px;border:0;background:none}
.mkt__logo .logo-ph__name{font-size:8px;letter-spacing:.2px}
.mkt__logo .logo-ph .ms{display:none}
.mkt__logo--plus{background:var(--surface-muted);color:var(--fg-3)}
.mkt__logo--plus .ms{font-size:20px}
.proofline{
  display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;
  margin-top:24px;font-size:15px;line-height:24px;color:var(--fg-3);font-weight:500;
  opacity:0;transition:opacity .6s ease .42s;
}
[data-io].is-in .proofline{opacity:1}
.proofline b{font-weight:700;color:var(--fg-1)}
.proofline .ms{font-size:18px;color:var(--fg-4)}
@media(max-width:1180px){
  .mkts{overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding-bottom:4px}
  .mkts::-webkit-scrollbar{display:none}
  .mkt{flex:0 0 210px;scroll-snap-align:start}
}
@media(max-width:620px){.mkt{flex:0 0 66%}}

@media(prefers-reduced-motion:reduce){
  .mkt,.proofline{opacity:1;translate:none;transition:none}
  .btn--morph,.btn--morph::after{transition:none}
  .gapfx.is-in .gapfx__mid path,.gapfx.is-in .gapfx__layer,
  .gapfx.is-in .gapfx__tiles div,.gapfx.is-in .chips span{animation:none}
  .case__more{transition:none}

}
/* ==========================================================================
   THREE.JS DECORATIVE LAYER
   Sits behind hero content (z-index 0, .hero .wrap is z-index 1) and is never
   interactive. No mask / filter / contain on this subtree: the canvas repaints
   every frame, and any of those would force the hero's expensive blurred
   layers to repaint with it. The canvas is promoted to its own compositing
   layer instead, and the composition is soft-edged in 3D so it needs no mask.
   ========================================================================== */
.three-layer{
  position:absolute;top:0;left:0;width:100%;height:980px;max-height:100%;
  z-index:0;pointer-events:none;overflow:hidden;
}
/* Section-scale ambient layer — same rules as the hero layer: no mask, no
   filter, no contain in this subtree, canvas on its own compositing layer. */
.three-sec{position:absolute;inset:0;z-index:0;pointer-events:none;overflow:hidden}
.three-sec canvas{transform:translateZ(0);will-change:opacity}
.has-three{position:relative;isolation:isolate}
.has-three>.wrap{position:relative;z-index:1}
@media(max-width:760px){.three-sec{display:none}}

/* ==========================================================================
   SCROLL-LINKED HERO → DASHBOARD ASSEMBLY
   Seven stages, driven by scroll progress across ~1.2 viewport heights.
   Everything is opacity + transform only; no scroll locking, no sticky.
   ========================================================================== */
/* only neutralise the old one-shot keyframe — opacity is owned by the stage system */
.hero__stage[data-asm] .mock{animation:none !important}
[data-asm-part]{
  opacity:0;
  transition:opacity .58s cubic-bezier(.2,.9,.3,1),transform .58s cubic-bezier(.2,.9,.3,1);
  will-change:opacity,transform;
}
[data-asm-part="shell"]{transform:translateY(20px) scale(.98);transform-origin:50% 0}
[data-asm-part="side"]{transform:translateX(-22px)}
[data-asm-part="head"]{transform:translateY(-14px)}
[data-asm-part="kpi"]{transform:translateY(14px)}
[data-asm-part="chart"]{transform:translateY(16px)}
[data-asm-part="ai"]{transform:translateY(14px)}
[data-asm-part="badge"]{transform:translateY(10px)}
[data-asm-part].is-on{opacity:1;transform:none}
[data-asm-part="side"] .aside__nav a{opacity:0;transform:translateX(-8px);
  transition:opacity .4s ease var(--sd,0ms),transform .4s var(--e-out) var(--sd,0ms)}
[data-asm-part="side"].is-on .aside__nav a{opacity:1;transform:none}
.asm-line{stroke-dasharray:var(--len,600);stroke-dashoffset:var(--len,600);
  transition:stroke-dashoffset 1.1s cubic-bezier(.3,.85,.35,1)}
[data-asm-part="chart"].is-on .asm-line{stroke-dashoffset:0}
.asm-fill{opacity:0;transition:opacity .7s ease .35s}
[data-asm-part="chart"].is-on .asm-fill{opacity:1}
@media(prefers-reduced-motion:reduce){
  [data-asm-part],[data-asm-part="side"] .aside__nav a{opacity:1 !important;transform:none !important;transition:none}
  .asm-line{stroke-dashoffset:0 !important;transition:none}
  .asm-fill{opacity:1 !important;transition:none}
}

/* marketplace card: only the hovered card reacts, and a soft signal glows behind it */
.mkt{position:relative}
.mkt::after{
  content:"";position:absolute;inset:-14px;border-radius:22px;z-index:-1;
  background:radial-gradient(ellipse at center,rgba(31,68,255,.16) 0,rgba(31,68,255,0) 70%);
  opacity:0;transition:opacity .3s ease;
}
.mkt:hover::after{opacity:1}
.proofline{transition:opacity .6s ease .5s,transform .6s var(--e-out) .5s}

/* No CSS mask on the canvas: masking a layer that repaints every frame halves
   the frame rate (measured 33fps vs 82). The composition is faded in 3D space
   instead — particle density is biased away from the lower edge. */
.three-layer canvas{transform:translateZ(0);will-change:opacity}
/* The hero's blurred decorations overlap the canvas. Without their own
   compositing layers, every 3D frame forces those blurs to re-rasterise
   (measured: 1fps vs 81fps). Promotion is required, not cosmetic. */
.hero__orb,.hero__accents,.h-acc{will-change:transform;backface-visibility:hidden}
.h-acc{transform:translateZ(0)}
/* CSS fallback — WebGL missing, context lost, mobile, or load failure.
   A static commerce-intelligence stand-in: one soft signal wash plus a faint
   layered core panel, in the same lower-hero footprint as the scene, so
   nothing shifts and no space is left blank. */
[data-three-fallback]{
  position:absolute;left:50%;bottom:64px;translate:-50% 0;
  width:min(1180px,94%);height:330px;pointer-events:none;
  background:radial-gradient(ellipse 62% 70% at 50% 62%,rgba(31,68,255,.28),rgba(31,68,255,.14) 46%,rgba(246,246,246,0) 74%);
  opacity:calc(var(--hero-orb-opacity) * 1.5);filter:blur(58px);
}
[data-three-fallback]::before{
  content:"";position:absolute;left:50%;top:50%;translate:-50% -50%;
  width:190px;height:120px;border-radius:16px;
  border:1px solid rgba(31,68,255,.5);background:rgba(246,246,246,.5);
  box-shadow:0 0 0 14px rgba(246,246,246,.28),0 0 0 15px rgba(31,68,255,.28);
  filter:blur(1px);
}
@media(max-width:1180px){.three-layer{height:820px}}
@media(max-width:760px){.three-layer{height:560px}}
/* ==========================================================================
   HERO HEADLINE — black → gradient wipe (runs once on entry)
   ========================================================================== */
.gfill{position:relative;display:inline-block;color:var(--fg-1)}
.gfill::after{
  content:attr(data-text);position:absolute;inset:0;pointer-events:none;
  background:var(--brand-grad);-webkit-background-clip:text;background-clip:text;color:transparent;
  -webkit-clip-path:inset(0 100% 0 0);clip-path:inset(0 100% 0 0);
  transition:-webkit-clip-path 1s cubic-bezier(.32,.86,.3,1) .22s,clip-path 1s cubic-bezier(.32,.86,.3,1) .22s;
}
.gfill.is-filled::after{-webkit-clip-path:inset(0 -.06em 0 0);clip-path:inset(0 -.06em 0 0)}
@media(prefers-reduced-motion:reduce){
  .gfill::after{transition:none;-webkit-clip-path:inset(0 -.06em 0 0);clip-path:inset(0 -.06em 0 0)}
}


/* ---------- schedule-a-demo: two-column layout + lead form ---------- */
/* the source page's positive-state token, restated so the extracted rules
   resolve on any page that links this file */
:root{--ms3-up:var(--brand)}
[data-theme="dark"]{--ms3-up:var(--brand)}
.ms3-form .ag-steps{margin:16px 0 4px}
.ms3-form__foot{flex-direction:row;flex-wrap:wrap;align-items:center}
.ms3-form__foot .btn{width:auto;flex:1 1 auto;justify-content:center}
.ms3-form__foot .ms3-form__note,.ms3-form__foot .ms3-form__fail{flex:1 1 100%}
.ms3-fld[hidden]{display:none}
.ms3-fld select[multiple]{height:auto;padding:8px 10px}
.ms3-fld textarea{font:500 14px/1.45 var(--body)}
.ms3-sec{padding:96px 0}
@media(max-width:900px){.ms3-sec{padding:64px 0}}
.ms3-audit__grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,460px);gap:60px;align-items:start}
.ms3-audit__grid{justify-content:space-around}
/* the wide checklist and the pulled-in form are a desktop composition only —
   below the one-column breakpoint both reset to the container */
@media(min-width:1001px){
  #audit .ms3-audit__list{width:650px}
  #audit .ms3-form{width:560px;margin-right:50px;margin-left:-100px}
}
@media(max-width:1000px){
  .ms3-audit__grid{grid-template-columns:1fr;gap:38px}
  #audit .ms3-audit__list,#audit .ms3-form{width:100%;margin:0;max-width:100%}
  #audit .ms3-audit__list{margin-top:28px}
}
.ms3-audit__list{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px 24px;margin-top:28px}
.ms3-audit__list div{display:flex;gap:11px;align-items:flex-start;font-size:14px;line-height:22px;color:var(--fg-2)}
.ms3-audit__list .ms{font-size:19px;color:var(--ms3-up);flex:none;margin-top:1px}
.ms3-form{border:1px solid var(--border);border-radius:22px;background:var(--surf-1);padding:26px;box-shadow:var(--shadow-card)}
.ms3-form__hd b{display:block;font-family:var(--display);font-weight:700;font-size:17px;letter-spacing:-.4px;color:var(--fg-1)}
.ms3-form__hd span{display:block;font-size:12.5px;color:var(--fg-4);margin-top:4px}
.ms3-form__grid{display:grid;grid-template-columns:1fr 1fr;gap:14px 12px;margin-top:20px}
/* phone / ad-spend composites: a compact native select fused to the input, so
   the country and currency lists stay keyboard- and screen-reader-native */
.ms3-combo{display:flex;align-items:stretch;border:1px solid var(--border);border-radius:11px;background:var(--input-bg);overflow:hidden}
.ms3-combo:focus-within{border-color:var(--brand);box-shadow:0 0 0 3px var(--focus-ring)}
.ms3-combo select{
  flex:none;width:auto;min-width:84px;height:44px;padding:0 20px 0 9px;border:0;border-right:1px solid var(--border);
  background:var(--hover);appearance:none;-webkit-appearance:none;
  font-family:var(--body);font-size:13px;font-weight:600;color:var(--fg-2);cursor:pointer
}
.ms3-combo select:focus-visible{outline:none}
.ms3-combo input{flex:1;min-width:0;height:44px;border:0;border-radius:0;background:transparent}
.ms3-combo input:focus{border:0;box-shadow:none}
.ms3-fld textarea{
  padding:11px 12px;border-radius:11px;border:1px solid var(--border);background:var(--input-bg);
  font-family:var(--body);font-size:13.5px;line-height:20px;color:var(--fg-1);resize:vertical;min-height:74px;
  transition:border-color .2s ease,box-shadow .2s ease
}
.ms3-fld textarea:focus{outline:none;border-color:var(--brand);box-shadow:0 0 0 3px var(--focus-ring)}
.ms3-err{display:none;align-items:center;gap:5px;font-size:11.5px;font-weight:600;color:#B42318}
.ms3-err .ms{font-size:14px}
.ms3-fld.is-bad input,.ms3-fld.is-bad select,.ms3-fld.is-bad textarea,.ms3-fld.is-bad .ms3-combo{border-color:#B42318}
.ms3-fld.is-bad .ms3-err{display:flex}
.ms3-form__foot .btn[disabled]{opacity:.62;pointer-events:none}
.ms3-form__fail{display:none;align-items:center;gap:7px;font-size:12.5px;font-weight:600;color:#B42318}
.ms3-form__fail.is-on{display:flex}
@media(max-width:560px){
  .ms3-form__grid{grid-template-columns:1fr}
  .ms3-fld input,.ms3-fld select,.ms3-combo select,.ms3-combo input{min-height:48px;height:48px}
  .ms3-form__foot .btn{min-height:48px}
}
@media(max-width:520px){.ms3-form__grid{grid-template-columns:1fr}}
.ms3-fld{display:flex;flex-direction:column;gap:6px}
.ms3-fld--full{grid-column:1/-1}
.ms3-fld label{font-family:var(--display);font-weight:700;font-size:11.5px;letter-spacing:.3px;color:var(--fg-3)}
.ms3-fld input,.ms3-fld select{height:42px;padding:0 12px;border-radius:11px;border:1px solid var(--border);background:var(--input-bg);font-family:var(--body);font-size:13.5px;color:var(--fg-1);transition:border-color .2s ease,box-shadow .2s ease}
.ms3-fld input:focus,.ms3-fld select:focus{outline:none;border-color:var(--brand);box-shadow:0 0 0 3px var(--focus-ring)}
.ms3-form__foot{display:flex;flex-direction:column;gap:10px;margin-top:18px}
.ms3-form__foot .btn{width:100%}
.ms3-form__note{font-size:11.5px;line-height:17px;color:var(--fg-4)}
.ms3-form__done{display:none;text-align:center;padding:22px 6px}
.ms3-form__done .ms{font-size:38px;color:var(--ms3-up)}
.ms3-form__done b{display:block;font-family:var(--display);font-weight:700;font-size:18px;color:var(--fg-1);margin-top:10px}
.ms3-form__done p{font-size:13.5px;line-height:22px;color:var(--fg-3);margin-top:8px}
.ms3-form.is-done .ms3-form__body{display:none}
.ms3-form.is-done .ms3-form__done{display:block}
/* logo-fit-1203 */
.feat__logoBox img{max-width:50px;max-height:44px;width:auto;height:auto;object-fit:contain}
.csc__logo{overflow:visible}
.csc__logo img{height:auto;max-height:52px;max-width:170px;object-fit:contain}
html[data-theme="dark"] .feat__logoBox{background:transparent;border-color:var(--border)}
html[data-theme="dark"] .feat__logoBox img,html[data-theme="dark"] .csc__logo img,html[data-theme="dark"] .cscard__logo img{filter:brightness(0) invert(1)}
