/* One outlined label style, matching the existing rating/store-count badge. */
.ws-funnel .ws-outline-badge {
  display:inline-flex;align-items:center;justify-content:center;gap:0;
  border:1px solid rgba(0,0,0,.1);border-radius:999px;background:transparent;
  padding:6px 12px;color:#4e5b62;
  font:500 12px/1.6 var(--_typography---body--font-family,Inter,Arial,sans-serif);
  text-transform:none;letter-spacing:0;box-shadow:none;
}
.ws-funnel .ws-outline-badge .dot,.ws-funnel .ws-outline-badge i{display:none;}
.ws-funnel .ws-cases-heading .ws-outline-badge{margin-bottom:16px;}
.ws-funnel .fh-proof .team-head h2{font-size:clamp(26px,3vw,40px);line-height:1.16;}

.ws-funnel .hp-pricing .hp-eyebrow.ws-outline-badge{margin:0 auto 16px;}

/* Independent country dock: no gallery selection, links, or clipped tooltips. */
#ws-shops .tab-nav-wrap,#ws-shops .tab-nav-slot{overflow:visible;width:100%;}
#ws-shops .ws-country-list {
  width:max-content;max-width:100%;margin:0 auto;display:flex;align-items:center;
  justify-content:center;gap:10px;padding:12px 10px;
  border-radius:20px;background:rgba(255,255,255,.25);overflow:visible;
}
#ws-shops .ws-country {
  position:relative;display:block;flex:0 1 64px;width:64px;min-width:0;
  border:0;padding:0;background:none;cursor:pointer;outline-offset:6px;
  transition:transform .65s cubic-bezier(.22,1,.36,1);transform:translateY(0);
}
#ws-shops .ws-country img {
  display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;
  border-radius:4px;border:1px solid rgba(15,23,42,.08);
  box-shadow:0 4px 10px rgba(15,23,42,.22);
}
#ws-shops .ws-country-name {
  position:absolute;bottom:calc(100% + 12px);left:50%;transform:translate(-50%,6px);
  padding:8px 12px;background:#fff;border-radius:12px;white-space:nowrap;
  color:#141b29;font:500 13px/1.3 Inter,Arial,sans-serif;
  opacity:0;visibility:hidden;pointer-events:none;transition:opacity .25s,transform .35s;
}
#ws-shops .ws-country-name::after {
  content:"";position:absolute;left:50%;bottom:-5px;width:10px;height:10px;
  background:#fff;transform:translateX(-50%) rotate(45deg);
}
#ws-shops .ws-country.is-country-active{transform:translateY(-12px) rotate(-2deg);z-index:2;}
#ws-shops .ws-country:nth-child(even).is-country-active{transform:translateY(-16px) rotate(2deg);}
#ws-shops .is-country-active .ws-country-name{opacity:1;visibility:visible;transform:translate(-50%,0);}

/* Four faces turn around the original hero stem. */
.hero_icon-inner:has(.ws-logo-rotor){perspective:600px;}
.ws-logo-rotor{--logo-depth:52px;position:relative;width:100%;height:100%;transform-style:preserve-3d;animation:ws-logo-turn 16s cubic-bezier(.6,0,.3,1) infinite;}
.ws-logo-face{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;border-radius:22%;background:#fff;backface-visibility:hidden;transform:rotateY(calc(var(--face)*90deg)) translateZ(var(--logo-depth));box-shadow:0 4px 14px rgba(15,23,42,.08);}
.ws-logo-face img{width:78%;height:65%;object-fit:contain;}
.ws-logo-worldstore{background:#235ae9;}
.ws-logo-worldstore img{width:100%;height:100%;border-radius:22%;}
@keyframes ws-logo-turn{0%,18%{transform:rotateY(0)}25%,43%{transform:rotateY(-90deg)}50%,68%{transform:rotateY(-180deg)}75%,93%{transform:rotateY(-270deg)}100%{transform:rotateY(-360deg)}}
.ws-logo-rotor:not(.is-motion-visible){animation-play-state:paused;}

/* Russian marketplaces remain small satellites around the Russia bubble. */
.ws-russia-brands{position:absolute;inset:0;pointer-events:none;}
.ws-local-brand{position:absolute;width:30px;height:30px;border:1px solid rgba(15,23,42,.1);border-radius:50%;background:#fff;display:grid;place-items:center;box-shadow:0 4px 12px rgba(15,23,42,.08);}
.ws-local-brand img{width:75%;height:65%;object-fit:contain;}
.ws-russia-brands .ws-brand-wildberries{left:-37px;top:-4px;}
.ws-russia-brands .ws-brand-ozon{right:-37px;top:1px;}
.ws-russia-brands .ws-brand-avito{right:-29px;bottom:-15px;}

/* A logo appears, receives a red cross, then gives way to the next platform. */
.fh-market .lost-card__icon.ws-brand-cycle{position:relative;overflow:visible;}
.ws-crossed-brand{position:absolute;inset:7px;display:grid;place-items:center;opacity:0;animation:ws-brand-appear 9s infinite;}
.ws-crossed-brand img{width:100%;height:100%;object-fit:contain;}
.ws-crossed-brand::before,.ws-crossed-brand::after{content:"";position:absolute;top:48%;left:-2px;width:calc(100% + 4px);height:3px;border-radius:3px;background:#dc2626;transform:rotate(45deg) scaleX(0);animation:ws-brand-cross 9s infinite;}
.ws-crossed-brand::after{transform:rotate(-45deg) scaleX(0);animation-name:ws-brand-cross-back;}
.ws-crossed-brand:nth-child(2),.ws-crossed-brand:nth-child(2)::before,.ws-crossed-brand:nth-child(2)::after{animation-delay:3s;}
.ws-crossed-brand:nth-child(3),.ws-crossed-brand:nth-child(3)::before,.ws-crossed-brand:nth-child(3)::after{animation-delay:6s;}
@keyframes ws-brand-appear{0%,2%{opacity:0;transform:translateY(4px)}5%,29%{opacity:1;transform:none}33%,100%{opacity:0;transform:translateY(-3px)}}
@keyframes ws-brand-cross{0%,14%{transform:rotate(45deg) scaleX(0)}19%,30%{transform:rotate(45deg) scaleX(1)}33%,100%{transform:rotate(45deg) scaleX(0)}}
@keyframes ws-brand-cross-back{0%,16%{transform:rotate(-45deg) scaleX(0)}21%,30%{transform:rotate(-45deg) scaleX(1)}33%,100%{transform:rotate(-45deg) scaleX(0)}}
.ws-brand-cycle:not(.is-motion-visible) *,.ws-brand-cycle:not(.is-motion-visible) *::before,.ws-brand-cycle:not(.is-motion-visible) *::after{animation-play-state:paused;}

/* The scrollport needs room for the full blur, beyond the card and section edge. */
.ws-funnel #ws-cases{position:relative;z-index:1;padding-bottom:0!important;}
.ws-funnel #ws-cases .wf-track{padding-bottom:120px;margin-bottom:-72px;}
.ws-funnel .fh-proof{position:relative;z-index:0;}
@media(max-width:991px){.ws-logo-rotor{--logo-depth:32px;}}
@media(max-width:767px){
 .ws-mobile-hide-caption{display:none!important;}
 .ws-funnel .fh-market .lost-head h2{font-size:24px;font-weight:600;line-height:1.3;white-space:normal;max-width:none;letter-spacing:-.02em;color:#000;}
 .ws-funnel .fh-market .lost-head .lead{font:400 14px/1.4 Inter,Arial,sans-serif;color:#000;}
 .ws-funnel .ws-market-lead-desktop{display:none;}
 .ws-funnel .fh-market .lost-head .ws-market-lead-mobile{display:block;}
 .ws-funnel .fh-market .lost-pill{padding:8px 13px;gap:8px;font-size:9px;letter-spacing:.04em;}
 .ws-funnel .fh-market .lost-pill .lost-pill__num{font-size:14px;}
 .ws-funnel .fh-market .lost-pill .lost-pill__arr{width:16px;height:16px;font-size:9px;}
 .ws-funnel .fh-proof .team-head h2{font-size:26px;}
 #ws-shops .ws-country-list{gap:6px;padding:10px 6px;border-radius:14px;}
 #ws-shops .ws-country{width:clamp(20px,6.5vw,42px);flex-basis:clamp(20px,6.5vw,42px);}
 #ws-shops .ws-country-name{font-size:11px;padding:7px 10px;}
 #ws-shops .ws-country:first-child .ws-country-name{left:0;transform:translate(0,0);}
 #ws-shops .ws-country:last-child .ws-country-name{left:auto;right:0;transform:translate(0,0);}
 .ws-logo-rotor{--logo-depth:32px;}
 .ws-local-brand{width:23px;height:23px;}
 .ws-russia-brands .ws-brand-wildberries{left:-27px;top:-4px;}
 .ws-russia-brands .ws-brand-ozon{right:-27px;top:-2px;}
 .ws-russia-brands .ws-brand-avito{right:-23px;bottom:-13px;}
}
@media(prefers-reduced-motion:reduce){
 .ws-logo-rotor,.ws-crossed-brand,.ws-crossed-brand::before,.ws-crossed-brand::after{animation:none;}
 .ws-crossed-brand:first-child{opacity:1;}
 #ws-shops .ws-country,#ws-shops .ws-country-name{transition:none;}
}

/* Local copy and section-order refinements. */
.ws-funnel .fh-market .lost-head .ws-market-lead-mobile{display:none;}
.ws-funnel #ws-cases .eyebrow-wrap{width:max-content;max-width:100%;margin:0 auto 16px;}
.ws-funnel #fh-proof-partners{padding-top:28px;}
@media(max-width:767px){
 .ws-funnel .fh-market .lost-head .ws-market-lead-mobile{display:block;}
 .ws-funnel #ws-cases .eyebrow-link{max-width:100%;font-size:12px;}
 .ws-funnel #ws-cases .eyebrow-link p{font-size:12px;white-space:nowrap;}
 .ws-funnel .hp-pricing .hp-plans{
  display:grid;grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:88%;
  gap:14px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;
  scroll-padding-inline:18px;margin-inline:-18px;padding:4px 18px 18px;
  scrollbar-width:thin;scrollbar-color:#c2cadd transparent;
 }
 .ws-funnel .hp-pricing .hp-plan{scroll-snap-align:start;}
}

.ws-funnel #fh-proof-public,.ws-funnel #fh-proof-partners{scroll-margin-top:90px;}

/* Same wordmark as the dashboard workspace header. */
.wh-header .wh-brand,.wh-header .wh-brand:hover{font-family:Arial,sans-serif;color:#172b40;letter-spacing:-1px;}
.wh-header .wh-wordmark{font-size:22px;font-weight:750;line-height:1;}
.wh-header .wh-wordmark>span:not(.ws-copy-inline){font-size:9px;vertical-align:top;letter-spacing:0;margin-left:2px;}
.ws-shop-rank{font-family:Inter,Arial,sans-serif;font-weight:inherit;letter-spacing:inherit;}
@media(max-width:767px){#ws-shops .tab-nav-wrap{margin-top:22px;}}
/* The marker pin can remain visible when its sale label has no clear space. */
#jb-markers .ws-label-suppressed .jb-label{visibility:hidden!important;opacity:0!important;}

.ws-funnel #ws-cases .ws-cases-heading>h2#ws-cases-title{font-family:Inter,Arial,sans-serif;}
.ws-shop-rank{font-family:inherit;}

/* A quiet typographic accent instead of a heavy black capsule. */
.ws-funnel .fh-proof .team-head .team-role-pill{background:transparent;color:#235ae9;border:0;border-radius:0;padding:0 0 4px;margin:6px 0 0;min-width:11.5ch;font-family:Inter,Arial,sans-serif;font-weight:700;line-height:1.18;box-shadow:none;}
.ws-funnel .fh-proof .team-head .team-caret{background:#235ae9;width:2px;height:.8em;margin-left:5px;}
.fh-proof .team-track > .team-card[hidden]{display:none;}
@media(min-width:1025px){.ws-funnel .fh-proof .team-track{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:16px;}.ws-funnel .fh-proof .team-card__body{padding:18px 16px;}}
/* The logo ribbon owns its crop; nearby gallery shadows stay visible. */
.ws-funnel .fh-proof .partners-strip{display:block;overflow:hidden;padding:28px 0;border-block:1px solid #141b2d14;mask-image:linear-gradient(90deg,transparent,#000 7%,#000 93%,transparent);}
.ws-partner-track{display:flex;width:max-content;animation:ws-partner-scroll 52s linear infinite;will-change:transform;}
.ws-partner-group{display:flex;align-items:center;flex:none;gap:56px;padding-right:56px;}
.ws-funnel .fh-proof .partner-logo{flex:none;font-size:23px;opacity:.6;}
.partners-strip:not(.is-marquee-visible) .ws-partner-track{animation-play-state:paused;}
@keyframes ws-partner-scroll{to{transform:translateX(-50%);}}
@media(max-width:767px){.ws-funnel .fh-proof .partners-strip{padding:23px 0;}.ws-partner-group{gap:36px;padding-right:36px;}.ws-funnel .fh-proof .partner-logo{font-size:20px;}}
@media(prefers-reduced-motion:reduce){.ws-partner-track{animation:none;}.ws-funnel .fh-proof .partners-strip{overflow-x:auto;mask-image:none;}}

@media(max-width:767px){
 .ws-funnel .hp-pricing .hp-plans{scrollbar-width:none;}
 .ws-funnel .hp-pricing .hp-plans::-webkit-scrollbar{display:none;width:0;height:0;}
 .ws-partner-group{display:grid;grid-template-rows:repeat(2,32px);grid-auto-flow:column;grid-auto-columns:max-content;column-gap:36px;row-gap:20px;}
}

.ws-funnel #fh-lostPillLab{font:500 13px/1.4 Inter,Arial,sans-serif;letter-spacing:0;text-transform:none;color:#4e5b62;}
@media(max-width:767px){.ws-funnel #ws-money{padding-top:24px;}.ws-funnel #fh-lostPillLab{font-size:12px;}.ws-funnel .fh-market .lost-pill .lost-pill__num{font-size:16px;}}

/* The market map uses the same white, navy and blue palette as Worldstore. */
.ws-funnel .fh-market .markets{--violet:#235ae9;--violet-deep:#1e4fc5;}
.ws-funnel .fh-market .bub{font-family:Inter,Arial,sans-serif;background:radial-gradient(circle at 28% 24%,#fff 0%,#f1f5fc 58%,#e5ecf8 100%);border-color:#d5dfed;box-shadow:0 12px 28px -12px #172b4026,inset 0 1px 0 #fff,inset -5px -8px 16px #235ae908;}
.ws-funnel .fh-market .bub[data-i="0"]{background:radial-gradient(circle at 28% 24%,#fff 0%,#eaf1ff 52%,#dce7fb 100%);border-color:#c8d9f5;}
.ws-funnel .fh-market .bub[data-i="1"],.ws-funnel .fh-market .bub[data-i="4"],.ws-funnel .fh-market .bub[data-i="5"]{background:radial-gradient(circle at 28% 24%,#fff 0%,#f4f6fa 58%,#e8edf4 100%);}
.ws-funnel .fh-market .bub:hover{box-shadow:0 15px 32px -12px #235ae92b,inset 0 1px 0 #fff;}
.ws-funnel .fh-market .bub__name{color:#172b40;}
.ws-funnel .fh-market .bub__v{color:#235ae9;font-family:Inter,Arial,sans-serif;font-weight:700;letter-spacing:-.035em;}
.ws-funnel .fh-market .bub__pct,.ws-funnel .fh-market .bub__unit{font-family:Inter,Arial,sans-serif;color:#7a879b;}
.ws-funnel .fh-market .bub--you{border-color:#235ae9;box-shadow:0 7px 22px #235ae91a,inset 0 1px 0 #fff;}
.ws-funnel .fh-market .bub--you::before{background:radial-gradient(circle,#235ae91c,transparent 70%);}
.ws-funnel .fh-market .bub__youlbl{background:#235ae9;box-shadow:0 3px 10px #235ae926;font-family:Inter,Arial,sans-serif;font-weight:600;letter-spacing:.02em;}
.ws-funnel .fh-market .flow-tok circle{stroke:#8eabe5!important;fill:#fff;}
.ws-funnel .fh-market .flow-tok text{fill:#235ae9!important;stroke:none;font-family:Inter,Arial,sans-serif;font-weight:700;}
.ws-funnel .fh-market .markets__flow--mobile>g:not(.flow-tok){stroke:#8eabe5;}

/* The landing's headings share the same local family as the pricing collection. */
.ws-funnel .page-wrapper main :is(h2,h3,h4),
.ws-funnel .page-wrapper .hf-item summary,
.ws-funnel .page-wrapper .team-card__name{
 font-family:"HP Manrope",Arial,sans-serif!important;font-weight:650;letter-spacing:-.035em;
}
.ws-funnel .page-wrapper main :is(h2,h3,h4) :is(span,em,strong){font-family:inherit!important;}
.ws-funnel .page-wrapper .ws-outline-badge{font-family:"HP Manrope",Arial,sans-serif;}

/* One section-heading level at each viewport; the hero retains its original type. */
.ws-funnel{--ws-section-heading-size:44px;}
.ws-funnel .page-wrapper main h2{
 font-size:var(--ws-section-heading-size)!important;font-weight:650!important;
 line-height:1.2!important;letter-spacing:-.035em!important;text-wrap:balance;
}
@media(max-width:1119px){.ws-funnel{--ws-section-heading-size:36px;}}
@media(max-width:767px){.ws-funnel{--ws-section-heading-size:30px;}}
@media(max-width:767px){
 .ws-funnel .page-wrapper main #fh-market-title,
 .ws-funnel .page-wrapper main #ws-global-sales h2{
  font-size:clamp(22px,6vw,24px)!important;line-height:1.3!important;
 }
}

/* Intrinsic SEO dimensions must scale together when CSS narrows the logo. */
.ws-funnel #ws-s9 .extention_icon{height:auto;aspect-ratio:1;object-fit:contain;}
.ws-funnel .cta_component .cta_icon-img{height:auto;aspect-ratio:4/3;object-fit:cover;}

/* Team title: one fixed line, then one line reserved for the typed role. */
.ws-funnel .page-wrapper main #fh-proof-team-title{display:flex;flex-direction:column;align-items:center;gap:6px;}
.ws-funnel #fh-proof-team-title:before,.ws-funnel #fh-proof-team-title:after{content:none;}
.ws-funnel #fh-proof-team-title>br{display:none;}
.ws-funnel #fh-proof-team-title .ws-team-intro{display:block;width:max-content;white-space:nowrap!important;}
.ws-funnel #fh-proof-team-title .team-role-pill{margin:0;padding:0;line-height:1.3;}
@media(max-width:767px){
 .ws-funnel .page-wrapper main #fh-proof-team-title{font-size:clamp(21px,5.8vw,24px)!important;line-height:1.3!important;}
 .ws-funnel .page-wrapper main #ws-s9 h2{font-size:clamp(22px,6vw,24px)!important;line-height:1.3!important;}
}
