/* Mass Staff 1.9.0 — clouds clear of text, scroll offset, benefits composition */

/* --- Buttons: white text on coral, no sticky hover on touch --- */
.button,
.header-request,
.request-form .button {
  color: #fff !important;
}
@media (hover: hover) and (pointer: fine) {
  .button:hover { background: #ed5d48; }
}
@media (hover: hover) and (pointer: fine) {
  .text-button:hover,
  .industry:hover,
  .desktop-nav a:hover { color: var(--coral); }
}
@media (hover: none) {
  .button:hover,
  .button:focus,
  .header-request:hover,
  .header-request:focus,
  .text-button:hover,
  .text-button:focus,
  .industry:hover,
  .industry:focus,
  .partner-item:hover,
  .desktop-nav a:hover,
  .desktop-nav a:focus,
  .media-all:hover,
  .media-all:focus,
  .slider-prev:hover,
  .slider-next:hover,
  .service-tab:hover,
  .media-card:hover {
    background: unset;
    color: inherit;
    transform: none;
    box-shadow: none;
    filter: none;
  }
  .button:hover,
  .button:focus,
  .header-request:hover,
  .header-request:focus {
    background: var(--coral);
    color: #fff !important;
  }
  .media-all:hover,
  .media-all:focus {
    background: #fff !important;
    color: var(--blue) !important;
  }
}

/* --- Header: air, thinner phone; compact = bg/shadow only, sizes stay --- */
html { scroll-padding-top: 132px; }
.header-phone,
.header-contact > a.header-phone {
  font-weight: 500;
  letter-spacing: -0.2px;
}
.site-header {
  transition: background .2s, box-shadow .2s, border-color .2s;
}
.site-header.is-compact {
  background: #fff;
  box-shadow: 0 10px 28px #16325c18;
  border-bottom-color: #e4ebf3;
}
@media (max-width: 800px) {
  html { scroll-padding-top: 96px; }
  .site-header .header-inner,
  .site-header.is-compact .header-inner {
    height: 100px;
    min-height: 100px;
    padding-top: 0;
    padding-bottom: 0;
  }
}

/* --- Shared container gutters (all sections, every width) --- */
.container,
.header-inner.container,
.hero-inner.container,
.about-inner.container,
.partners-card.container,
.request-card.container,
.footer-main.container,
.benefits .container,
.benefits > .container,
.media-section > .container,
section.container,
.metrics.container,
.industries.container,
.services.container,
.steps.container {
  width: calc(100% - 48px) !important;
  max-width: calc(1520 * var(--u)) !important;
  margin-inline: auto !important;
  box-sizing: border-box;
}
@media (max-width: 1100px) {
  .container,
  .header-inner.container,
  .hero-inner.container,
  .about-inner.container,
  .partners-card.container,
  .request-card.container,
  .footer-main.container,
  .benefits .container,
  .benefits > .container,
  .media-section > .container,
  section.container,
  .metrics.container,
  .industries.container,
  .services.container,
  .steps.container {
    max-width: none !important;
    width: calc(100% - 48px) !important;
  }
}
@media (max-width: 600px) {
  .container,
  .header-inner.container,
  .hero-inner.container,
  .about-inner.container,
  .partners-card.container,
  .request-card.container,
  .footer-main.container,
  .benefits .container,
  .benefits > .container,
  .media-section > .container,
  section.container,
  .metrics.container,
  .industries.container,
  .services.container,
  .steps.container,
  .industries,
  .header-inner,
  .footer-main {
    max-width: none !important;
    width: calc(100% - 40px) !important;
  }
  /* Undo paddings that compensated for width:100% on mobile */
  .industries h2,
  .partners h2 { padding-inline: 0 !important; }
  .industries-track,
  .benefits-track,
  .partner-list { padding-inline: 0 !important; }
  .hero-inner.container { padding-inline: 0 !important; }
  .hero-copy { padding-inline: 0 !important; }
}

/* --- Clouds: own compositing layer, transform-only, no filter, no JS --- */
.hero-clouds {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  isolation: isolate;
  contain: layout style;
}
.cloud,
.hero-art .cloud,
.hero-clouds .cloud,
.cloud--one,
.cloud--two,
.cloud--three {
  --cx: 90px;
  --cy: 28px;
  position: absolute;
  animation: ms-cloud-float 24s linear infinite !important;
  animation-name: ms-cloud-float !important;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  translate: none;
  filter: none !important;
  box-shadow: none !important;
  backface-visibility: hidden;
  isolation: isolate;
  pointer-events: none;
  z-index: 2;
}
.cloud--one { --cx: 90px; --cy: 28px; animation-duration: 24s !important; animation-delay: -4s !important; }
.cloud--two { --cx: -80px; --cy: 24px; animation-duration: 28s !important; animation-delay: -10s !important; }
.cloud--three { --cx: -70px; --cy: 22px; animation-duration: 26s !important; animation-delay: -16s !important; }
@keyframes ms-cloud-float {
  0%   { transform: translate3d(0, 0, 0); }
  12.5% { transform: translate3d(var(--cx), calc(var(--cy) * -0.7), 0); }
  25%  { transform: translate3d(calc(var(--cx) * 1.15), 0, 0); }
  37.5% { transform: translate3d(var(--cx), var(--cy), 0); }
  50%  { transform: translate3d(0, calc(var(--cy) * 1.15), 0); }
  62.5% { transform: translate3d(calc(var(--cx) * -1), var(--cy), 0); }
  75%  { transform: translate3d(calc(var(--cx) * -1.15), 0, 0); }
  87.5% { transform: translate3d(calc(var(--cx) * -0.7), calc(var(--cy) * -0.7), 0); }
  100% { transform: translate3d(0, 0, 0); }
}

/* --- Hero video: alpha webm, transparent element, clouds stay behind --- */
.hero {
  background: #eaf3fc !important;
}
.hero-art .cloud { z-index: 2; }

/* Single <video> only — no poster img, no poster attribute, no loop-wrap. */
.hero-art video.hero-worker,
.hero-worker.hero-loop,
video.hero-worker {
  position: absolute;
  z-index: 3;
  right: clamp(8px, calc(100 * var(--u)), 140px);
  bottom: 0;
  width: min(52vw, calc(600 * var(--u)), calc((100% - 36px) * 936 / 1128));
  max-width: min(52vw, calc(600 * var(--u)));
  height: auto;
  max-height: calc(100% - 36px);
  aspect-ratio: 936 / 1128;
  object-fit: contain;
  object-position: bottom center;
  background: transparent !important;
  pointer-events: none;
  -webkit-mask-image: none;
  mask-image: none;
  isolation: isolate;
}
@media (max-width: 1100px) {
  .hero-art video.hero-worker,
  .hero-worker.hero-loop,
  video.hero-worker {
    width: min(48vw, 430px, calc((100% - 28px) * 936 / 1128));
    max-width: min(48vw, 430px);
    max-height: calc(100% - 28px);
    right: 24px;
  }
}
@media (max-width: 600px) {
  .hero-art video.hero-worker,
  .hero-worker.hero-loop,
  video.hero-worker {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: min(calc(100% - 12px), calc(412px * 936 / 1128));
    height: 412px;
    max-width: calc(100% - 12px);
    max-height: 412px;
  }
}
@media (max-width: 350px) {
  .hero-art video.hero-worker,
  .hero-worker.hero-loop,
  video.hero-worker {
    width: min(calc(100% - 12px), calc(385px * 936 / 1128));
    height: 385px;
    max-height: 385px;
  }
}

/* --- About: text + animation, no Оперативно/Гибко/Надёжно cards --- */
.about-inner {
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.22fr) !important;
  gap: calc(56 * var(--u)) !important;
  align-items: center;
}
.about-copy { grid-column: 1 !important; grid-row: 1 !important; }
.about-visual {
  grid-column: 2 !important;
  grid-row: 1 !important;
  width: 100%;
  min-width: 0;
}
.about-visual video.about-team,
.about-visual video,
.about-team.about-loop,
.about-visual .about-team {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  position: relative;
  object-fit: contain;
  object-position: center bottom;
  background: transparent !important;
  border-radius: 0;
  aspect-ratio: 1308 / 784;
}
.about-features,
.about-pillars,
.about-pillar { display: none !important; }

/* --- Partners marquee --- */
.partners-card { overflow: hidden; }
.partner-marquee {
  margin-top: calc(28 * var(--u));
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 64px, #000 calc(100% - 64px), transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 64px, #000 calc(100% - 64px), transparent 100%);
}
.partner-list {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center;
  width: max-content;
  animation: ms-marquee 48s linear infinite;
  will-change: transform;
  backface-visibility: hidden;
  isolation: isolate;
}
.partner-set {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 20px;
  padding-right: 20px;
  flex: none;
}
.partner-item {
  flex: none;
  width: 220px;
  height: 112px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 22px;
  background: #f7f9fc;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-sizing: border-box;
}
.partner-logo {
  width: auto !important;
  height: 56px !important;
  max-width: 176px;
  max-height: 56px !important;
  object-fit: contain;
  object-position: center;
  background: transparent !important;
}
.partner-wordmark {
  font-weight: 700;
  font-size: 17px;
  color: #163456;
  letter-spacing: 0.01em;
  text-align: center;
  line-height: 1.2;
}
@media (hover: hover) and (pointer: fine) {
  /* Pause only — no hover transform, which doubled logos against the looping copy. */
  .partner-marquee:hover .partner-list,
  .partner-marquee:focus-within .partner-list { animation-play-state: paused; }
}
@keyframes ms-marquee {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

/* --- Steps: clear process timeline --- */
.step-icon,
.steps .animated-icon,
.animated-icon {
  animation: none !important;
  display: none !important;
}
#steps, section.steps { scroll-margin-top: 120px; }
.steps-grid,
.steps-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 28px;
  position: relative;
  counter-reset: none;
  isolation: isolate;
}
/* Connecting line runs through the number discs, above the cards. */
.steps-timeline::before {
  content: "";
  position: absolute;
  top: calc(13px * 1.2 + 8px + 26px);
  left: calc(12.5% - 6px);
  right: calc(12.5% - 6px);
  height: 3px;
  background: linear-gradient(90deg, #ff715b, #195998);
  border-radius: 2px;
  z-index: 0;
  pointer-events: none;
}
.step {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  animation: none !important;
  transform: none !important;
  position: relative;
  z-index: 1;
}
.step-index {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  position: relative;
  z-index: 1;
}
.step-kicker {
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--coral);
  line-height: 1.2;
}
.step-num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  font-size: 26px;
  letter-spacing: 0;
  display: grid;
  place-items: center;
  margin: 0;
  box-shadow: 0 0 0 6px #fff, 0 0 0 8px #d6e4f4;
  line-height: 1;
  position: relative;
  z-index: 1;
}
/* Arrow heads on the line, between steps. */
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: calc(13px * 1.2 + 8px + 26px);
  right: -18px;
  width: 10px;
  height: 10px;
  border-right: 2.5px solid #195998;
  border-top: 2.5px solid #195998;
  transform: translateY(-50%) rotate(45deg);
  z-index: 2;
  pointer-events: none;
  background: transparent;
}
.step-body {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 16px 16px 22px;
  box-shadow: 0 8px 24px #183f780c;
  display: flex;
  flex-direction: column;
  width: 100%;
  flex: 1;
  min-width: 0;
}
.step-hero {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  background: #f3f6fa;
  border-radius: 16px;
  margin: 0 0 12px;
}
.step h3 { margin: 0 0 8px; font-size: clamp(18px, calc(22 * var(--u)), 22px); line-height: 1.25; text-align: center; }
.step p { margin: 0; color: #2f455c; font-size: clamp(15px, calc(18 * var(--u)), 18px); line-height: 1.45; font-weight: 500; text-align: center; }
.steps-note {
  text-align: center;
  margin-top: calc(32 * var(--u));
  font-size: clamp(15px, calc(18 * var(--u)), 18px) !important;
  line-height: 1.5 !important;
  font-weight: 500 !important;
  color: #2f455c !important;
}

/* proof-pair restored like the original designer layout (inside .proof-wrap). */
.proof-pair { display: block; }

/* --- Benefits: full-width 4-col, readable type --- */
.proof-wrap { display: block; }
/* proof-pair visible */
.proof-wrap .benefits, .benefits { padding-top: 56px; padding-bottom: 24px; }
.benefits #benefits-title {
  color: #fff;
  text-align: left;
  margin: 0 0 24px;
  font-size: clamp(28px, calc(40 * var(--u)), 40px);
}
.benefits-track {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 20px !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow: visible !important;
  padding: 0 !important;
}
.benefit {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 16px 16px 22px;
  box-shadow: 0 8px 24px #183f780c;
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: unset !important;
  width: auto !important;
}
.benefit .icon { display: none !important; }
.benefit-hero {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  background: #f3f6fa;
  border-radius: 16px;
  margin-bottom: 14px;
}
.benefit h3 {
  margin: 0 0 8px;
  font-size: clamp(20px, calc(24 * var(--u)), 24px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
}
.benefit p {
  margin: 0;
  font-size: clamp(15px, calc(17 * var(--u)), 17px);
  line-height: 1.45;
  font-weight: 500;
  color: #2f455c;
}

/* --- Metrics: stretch across the container --- */
.metrics { margin-top: calc(40 * var(--u)); height: auto !important; min-height: 0 !important; }
.metrics-track,
.metrics .metrics-track,
.metrics-track.scroll-row {
  width: 100% !important;
  max-width: 100% !important;
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 8px 16px !important;
  overflow: visible !important;
  margin: 0 !important;
  padding: 0 !important;
}
.metric { min-width: 0; }
.metric strong { font-weight: 700; font-size: clamp(28px, calc(48 * var(--u)), 48px); letter-spacing: -0.03em; }
.metric p { color: #3a4f66; font-size: clamp(13px, calc(16 * var(--u)), 16px); font-weight: 500; max-width: none !important; }

/* --- Industries: no clipped labels on small screens --- */
@media (max-width: 700px) {
  .industries { overflow: visible; }
  .industries-track,
  .industries-track.scroll-row {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    justify-content: stretch;
    gap: 16px 10px;
    padding: 0 0 8px;
    overflow: visible;
  }
  .industry {
    flex: none !important;
    min-width: 0 !important;
    width: auto !important;
    font-size: clamp(11px, 3.1vw, 14px);
    line-height: 1.25;
  }
  .industry-image { width: 64px; height: 64px; }
}
@media (max-width: 400px) {
  .industries-track,
  .industries-track.scroll-row { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 18px 16px; }
  .industry { font-size: 14px; }
  .industry-image { width: 72px; height: 72px; }
}

/* --- Services: no stock outline icons --- */
.service-heading .outline-icon { display: none !important; }

/* --- Media sliders + «Посмотреть все» --- */
.media-heading {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 12px;
  margin-bottom: 20px;
  position: relative;
  flex-wrap: wrap;
  min-height: 48px;
}
.media-heading h2 {
  margin: 0;
  margin-right: auto;
  text-align: left !important;
  padding: 0 !important;
  padding-inline: 0 !important;
  flex: 1 1 auto;
  order: 1;
}
.media-heading .media-all { order: 2; margin: 0 !important; }
.media-heading .slider-controls {
  order: 3;
  position: static !important;
  margin-left: 0 !important;
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
}
.slider-controls { display: flex; align-items: center; gap: 8px; flex: none; }
.media-heading .slider-controls button {
  width: 48px !important;
  height: 48px !important;
  border-radius: 50% !important;
}
.media-heading .media-all,
.slider-controls .media-all,
.media-all {
  width: auto !important;
  height: 48px !important;
  min-width: 0 !important;
  min-height: 48px !important;
  padding: 0 18px !important;
  border-radius: 24px !important;
  border: 1px solid var(--line) !important;
  background: #fff !important;
  color: var(--blue) !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  box-shadow: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  place-items: center !important;
  box-sizing: border-box !important;
}
.media-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 32px) / 3);
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.media-track::-webkit-scrollbar { display: none; }
.photo-slide,
.video-slide,
.media-card {
  scroll-snap-align: start;
  border: 0;
  padding: 0;
  background: #eef3f8;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  aspect-ratio: 3 / 4;
}
.media-card img,
.photo-slide img,
.video-slide img,
.video-slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}
.media-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, transparent 40%, #0006 100%);
  pointer-events: none;
}
.media-play .icon {
  width: 64px;
  height: 64px;
  color: #fff;
  filter: drop-shadow(0 4px 12px #0006);
}

/* --- Media lightbox --- */
.media-dialog {
  width: min(1120px, calc(100vw - 32px));
  max-width: calc(100vw - 24px);
  max-height: min(92dvh, calc(100dvh - 24px));
  padding: 0;
  border: 0;
  border-radius: 20px;
  overflow: hidden;
  background: #0f1b2c;
  color: #fff;
}
.media-dialog::backdrop { background: #0b1524d9; }
.media-dialog-tools {
  position: absolute;
  top: 0; right: 0; left: 0;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  padding: 12px;
  pointer-events: none;
}
.media-dialog-tools button { pointer-events: auto; }
.media-dialog-back {
  min-height: 44px;
  padding: 0 14px;
  border-radius: 12px;
  border: 0;
  background: #fff;
  color: var(--blue);
  font-weight: 600;
}
.media-dialog .dialog-close {
  margin-left: auto;
  background: #fff;
  color: #163456;
}
.media-dialog-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important;
  grid-auto-flow: row !important;
  grid-auto-columns: unset !important;
  gap: 12px !important;
  padding: 64px 16px 16px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  min-height: 0;
  flex: 1 1 auto;
  max-height: none;
  width: 100%;
  align-content: start;
}
.media-dialog-grid .media-grid-item,
.media-dialog-grid .media-card {
  position: relative !important;
  inset: auto !important;
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  height: auto !important;
  aspect-ratio: 4 / 5 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 14px;
  overflow: hidden;
  background: #1a2a3f;
  cursor: pointer;
  float: none !important;
  transform: none !important;
  grid-column: auto !important;
  grid-row: auto !important;
}
.media-dialog-grid .media-grid-item img,
.media-dialog-grid .media-card img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block;
  pointer-events: none;
}
.media-dialog-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  flex: 1 1 auto;
  padding: 56px 64px 24px;
  gap: 8px;
  overflow: auto;
  overscroll-behavior: contain;
  touch-action: pan-y;
}
.media-dialog-figure {
  margin: 0;
  max-width: min(100%, 900px);
  max-height: min(76dvh, 780px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.media-dialog-figure img,
.media-dialog-figure video {
  max-width: 100%;
  max-height: min(76dvh, 780px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  background: #000;
}
.media-dialog .lightbox-prev,
.media-dialog .lightbox-next {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 0;
  background: #fff;
  color: #163456;
}

/* --- Phone mask --- */
.phone-control--ru {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 14px;
  min-height: 56px;
}
.phone-control--ru .phone-prefix {
  font-weight: 600;
  color: #163456;
  flex: none;
}
.phone-control--ru .phone-number { flex: 1; min-width: 0; }
.phone-control--ru input[name="phone_national"] {
  width: 100%;
  border: 0;
  background: transparent;
  font: inherit;
  padding: 12px 0;
  outline: none;
}
.phone-hint { display: none !important; }
.consent,
.request-form .consent {
  font-size: 12px !important;
  line-height: 1.45 !important;
  color: #3a4f66 !important;
  font-weight: 500;
  max-width: 52rem;
}
.consent input {
  width: 18px !important;
  height: 18px !important;
}
.form-note,
.request-form .form-note {
  font-size: 11px !important;
  line-height: 1.45 !important;
  color: #4a6078 !important;
  font-weight: 500;
  max-width: 52rem;
}

/* --- Dialogs: hidden when closed; fixed + centered when open. Never in page flow. --- */
dialog:not([open]) { display: none !important; }
dialog[open] {
  position: fixed;
  inset: 0;
  margin: auto;
  max-width: min(680px, calc(100vw - 32px));
  max-height: min(92dvh, calc(100dvh - 40px));
}
dialog[open]::backdrop {
  background: #0b234eb3;
  backdrop-filter: blur(4px);
  inset: 0;
}
.industry-dialog,
.request-dialog {
  max-height: min(92dvh, 100%);
  overflow: hidden;
}
.industry-dialog[open],
.request-dialog[open] {
  display: flex;
  flex-direction: column;
  position: fixed;
  inset: 0;
  margin: auto;
  width: min(680px, calc(100vw - 32px));
  max-width: calc(100vw - 24px);
  max-height: min(92dvh, calc(100dvh - 24px));
  height: fit-content;
}
.media-dialog:not([open]) { display: none !important; }
.media-dialog[open] {
  display: flex;
  flex-direction: column;
  position: fixed;
  inset: 0;
  margin: auto;
  width: min(1120px, calc(100vw - 32px));
  max-width: calc(100vw - 24px);
  height: min(92dvh, calc(100dvh - 24px));
  max-height: min(92dvh, calc(100dvh - 24px));
  overflow: hidden;
}
html.ms-scroll-lock .media-dialog,
html.ms-scroll-lock .media-dialog-grid,
html.ms-scroll-lock .media-dialog-stage {
  overscroll-behavior: contain;
}

/* Scroll lock: overflow hidden only — never position:fixed on html/body */
html.ms-scroll-lock,
html.ms-scroll-lock body {
  overflow: hidden !important;
  scroll-behavior: auto !important;
  overscroll-behavior: none;
  position: static !important;
  top: auto !important;
}
.industry-dialog-body {
  overflow: auto;
  overscroll-behavior: contain;
  padding-right: 4px;
  -webkit-overflow-scrolling: touch;
  flex: 1;
  min-height: 0;
}
.industry-dialog .dialog-close,
.request-dialog .dialog-close { flex: none; }

/* --- Performance / reduced motion --- */
@media (prefers-reduced-motion: reduce) {
  .cloud, .cloud--one, .cloud--two, .cloud--three,
  .partner-list { animation: none !important; }
  .button { transition: none; }
  .partner-marquee {
    overflow: visible;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .partner-list {
    flex-wrap: wrap !important;
    justify-content: center;
    width: 100% !important;
    max-width: 100%;
    transform: none !important;
  }
  .partner-item[aria-hidden="true"] { display: none !important; }
}

/* --- Mobile --- */
@media (max-width: 1100px) {
  .about-inner { grid-template-columns: 1fr !important; gap: 28px !important; }
  .about-copy, .about-visual { grid-column: 1 !important; }
  .about-visual { grid-row: 2 !important; }
  .benefits-track,
  .metrics-track,
  .metrics .metrics-track,
  .metrics-track.scroll-row { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .steps-timeline,
  .steps-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .metric { padding: 16px 12px; }
  .metric strong { font-size: clamp(26px, 4vw, 36px) !important; }
  .media-track { grid-auto-columns: calc((100% - 16px) / 2); }
  .media-dialog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .benefits-track,
  .metrics-track, .metrics .metrics-track, .metrics-track.scroll-row {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }
  .steps-timeline,
  .steps-grid {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
    padding-left: 0;
  }
  .steps-timeline::before {
    top: 28px;
    bottom: 28px;
    left: 21px;
    right: auto;
    width: 3px;
    height: auto;
    background: linear-gradient(180deg, #ff715b, #195998);
  }
  .step {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 14px;
    row-gap: 6px;
    align-items: start;
    margin: 0 0 20px;
    padding: 0;
    width: 100%;
  }
  .step-num {
    grid-column: 1;
    grid-row: 1 / span 2;
    width: 44px;
    height: 44px;
    font-size: 22px;
    margin-top: 22px;
    box-shadow: 0 0 0 5px #fff, 0 0 0 7px #d6e4f4;
  }
  .step-kicker {
    grid-column: 2;
    grid-row: 1;
    justify-self: start;
    font-size: 12px;
    letter-spacing: 0.1em;
    line-height: 1;
    padding: 0;
    margin: 0;
  }
  .step-body { grid-column: 2; grid-row: 2; }
  .step:not(:last-child)::after {
    top: auto;
    bottom: -14px;
    left: 21px;
    right: auto;
    transform: translate(-50%, 0) rotate(135deg);
  }
  .step h3, .step p { text-align: left; }
  .metric { padding: 8px 4px 12px; border-right: 0 !important; }
  .metric strong { font-size: clamp(22px, 7.2vw, 30px) !important; white-space: nowrap; }
  .metric p { font-size: 14px !important; margin-top: 6px; }
  .step-body, .benefit { padding: 10px 10px 16px; border-radius: 16px; }
  .step h3, .benefit h3 { font-size: 18px; }
  .step p, .benefit p, .about-pillar span { font-size: 15px; }
  .media-track { grid-auto-columns: 78%; }
  .media-heading { flex-wrap: wrap; justify-content: flex-start !important; }
  .media-heading h2 { flex: 1 1 100%; margin-right: 0; }
  .media-heading .media-all { margin-left: auto !important; }
  .media-heading .slider-controls { position: static !important; }
  .partner-item { width: 200px; height: 100px; }
  .partner-logo { height: 50px !important; max-height: 50px !important; max-width: 160px; }
  .partner-marquee {
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 36px, #000 calc(100% - 36px), transparent 100%);
    mask-image: linear-gradient(to right, transparent 0, #000 36px, #000 calc(100% - 36px), transparent 100%);
  }
  .media-dialog { width: calc(100vw - 16px); border-radius: 16px; }
  .media-dialog-stage { padding: 56px 8px 16px; min-height: 60dvh; }
  .media-dialog .lightbox-prev, .media-dialog .lightbox-next { width: 40px; height: 40px; }
  .about-pillar strong { font-size: 18px; }
  .media-dialog-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 380px) {
  .benefits-track { grid-template-columns: 1fr !important; }
  .metrics-track,
  .metrics .metrics-track,
  .metrics-track.scroll-row { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .metric strong { font-size: 20px !important; }
  .media-track { grid-auto-columns: 86%; }
  .media-heading {
    display: grid !important;
    grid-template-columns: max-content max-content;
    justify-content: start;
    align-items: center;
    column-gap: 8px;
    row-gap: 10px;
  }
  .media-heading h2 { grid-column: 1 / -1; flex: none; margin-right: 0; }
  .media-heading .media-all {
    margin-left: 0 !important;
    height: 44px !important;
    min-height: 44px !important;
    padding: 0 14px !important;
    font-size: 14px;
  }
  .media-heading .slider-controls button { width: 44px !important; height: 44px !important; }
}


/* ========== 1.7.0 additions ========== */
.header-socials { display: none; }
@media (max-width: 800px) {
  .header-socials {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    margin-right: 4px;
    flex: none;
  }
  .header-socials a {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    border-radius: 50%;
    border: 1px solid var(--line);
    display: grid;
    place-items: center;
    color: var(--blue);
    background: #fff;
    box-sizing: border-box;
  }
  .header-socials .icon { width: 22px; height: 22px; }
  .header-inner .menu-toggle { margin-left: 0; }
}

/* Proof-pair like the original: right of the blue benefits, landing on a short white tail. Never clipped. */
.proof-wrap {
  position: relative;
  isolation: isolate;
  overflow: visible !important;
}
.proof-wrap .benefits { overflow: visible; }
.proof-wrap .benefits-track {
  width: min(100%, calc(100% - min(500px, 40vw)));
  max-width: 100%;
  position: relative;
  z-index: 1;
}
.proof-pair {
  position: absolute !important;
  z-index: 3;
  right: clamp(0px, calc(24 * var(--u)), 40px);
  top: 8px;
  width: min(520px, 42vw, 100%);
  height: auto;
  max-width: none;
  pointer-events: none;
  display: block !important;
  object-fit: contain;
  filter: none;
}
.proof-tail {
  height: min(220px, 28vw);
  background: #fff;
  pointer-events: none;
}
.proof-wrap .metrics,
.metrics { display: none !important; }
.benefit-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0 0 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: #eef4fb;
}
.benefit-stat strong {
  font-size: clamp(22px, calc(28 * var(--u)), 28px);
  font-weight: 700;
  color: var(--blue);
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.benefit-stat span {
  font-size: 13px;
  line-height: 1.35;
  color: #4a6078;
  font-weight: 500;
}
.benefit-hero { width: 100%; aspect-ratio: 1; object-fit: contain; background: #f3f6fa; border-radius: 16px; margin: 0 0 12px; }

/* Form: glove flush with the BOTTOM edge of the card (it is designed cropped at the feet). */
.request-card {
  position: relative;
  overflow: hidden !important;
}
.request-mascot {
  position: absolute !important;
  top: auto !important;
  bottom: 0 !important;
  right: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
  margin: 0 !important;
}
.request-mascot img {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
  object-fit: contain;
  object-position: bottom center;
}

/* Dialog close: always tappable, sticky, above content. */
.dialog-close,
dialog .dialog-close,
.industry-dialog .dialog-close,
.request-dialog .dialog-close,
.media-dialog .dialog-close {
  position: sticky;
  top: 8px;
  float: right;
  z-index: 20;
  width: 44px !important;
  height: 44px !important;
  min-width: 44px;
  min-height: 44px;
  margin: 0 0 8px 8px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #edf4fc;
  color: #193e76;
  border: 1px solid #c7daf4;
  flex: none;
}
.industry-dialog,
.request-dialog { overflow: auto !important; }
.industry-dialog .dialog-close,
.request-dialog .dialog-close {
  position: sticky;
  top: 8px;
  align-self: flex-end;
  float: none;
}

@media (max-width: 1100px) {
  .proof-wrap .benefits-track { width: 100%; }
  .proof-pair {
    position: relative !important;
    inset: auto !important;
    width: min(420px, 88vw);
    margin: -40px auto -8px;
    display: block !important;
    top: auto;
    right: auto;
  }
  .proof-tail { height: 24px; }
  .media-dialog-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)) !important; }
}
@media (max-width: 700px) {
  .hero-clouds { position: absolute; inset: 0; overflow: visible; }
  .hero-art { overflow: hidden; }
  .cloud, .hero-art .cloud, .cloud--one, .cloud--two, .cloud--three {
    animation: ms-cloud-float 24s linear infinite !important;
    animation-play-state: running !important;
    filter: none !important;
  }
  .request-copy { max-width: calc(100% - 120px); }
  .consent, .request-form .consent, .form-note, .request-form .form-note { max-width: calc(100% - 4px); }
}
@media (max-width: 600px) {
  .media-dialog-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)) !important; gap: 10px !important; }
  .proof-pair { width: min(360px, 92vw); margin: -16px auto 0; }
  .benefit-stat strong { font-size: 22px; }
}

.step > .step-kicker { margin: 0 0 8px; }
.step > .step-num { margin: 0 0 18px; }


/* 1.7.1 — grid rows must be content-sized; proof-pair in flow; form text clear of mascot */
.media-dialog-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important;
  grid-template-rows: none !important;
  grid-auto-rows: min-content !important;
  align-content: start !important;
  align-items: start !important;
  gap: 12px !important;
  overflow-y: auto !important;
}
.media-dialog-grid .media-grid-item,
.media-dialog-grid .media-card {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: auto !important;
  align-self: start !important;
  background: transparent !important;
  overflow: visible !important;
}
.media-grid-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 14px;
  position: relative;
  background: #1a2a3f;
}
.media-grid-thumb img {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.benefits-layout {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) min(380px, 34%);
  grid-template-areas: "title title" "cards art";
  gap: 28px 36px;
  align-items: end;
}
.benefits-layout #benefits-title { grid-area: title; margin: 0; }
.benefits-layout .benefits-track {
  grid-area: cards;
  width: 100% !important;
  max-width: none !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 16px !important;
}
.benefits-layout .proof-pair {
  grid-area: art;
  position: relative !important;
  inset: auto !important;
  top: auto !important;
  right: auto !important;
  width: 100% !important;
  max-width: 380px;
  height: auto !important;
  margin: 0 0 -8px !important;
  display: block !important;
  object-fit: contain;
  object-position: bottom center;
  align-self: end;
  justify-self: center;
  pointer-events: none;
}
.proof-tail { display: none !important; }

.request-card .request-form,
.request-card .request-copy { position: relative; z-index: 2; }
@media (max-width: 1100px) {
  .benefits-layout {
    grid-template-columns: 1fr;
    grid-template-areas: "title" "cards" "art";
    align-items: start;
  }
  .benefits-layout .benefits-track { grid-template-columns: 1fr 1fr !important; }
  .benefits-layout .proof-pair { max-width: 320px; margin: 0 auto -4px !important; }
}
@media (max-width: 700px) {
  .request-card .consent,
  .request-card .form-note,
  .request-form .consent,
  .request-form .form-note {
    max-width: calc(100% - 132px) !important;
  }
  .benefits-layout .benefits-track { grid-template-columns: 1fr !important; }
}

/* 1.7.2: hidden must beat display:grid !important; benefits art visible; 2-col mobile grid */
.media-dialog-grid[hidden],
.media-dialog-stage[hidden],
.media-dialog-back[hidden],
.media-dialog [hidden] {
  display: none !important;
}
.media-dialog-grid:not([hidden]) { display: grid !important; }
.benefits-layout { align-items: start !important; }
.benefits-layout .proof-pair { align-self: start !important; margin: 0 auto !important; }
.benefit-hero { aspect-ratio: 4 / 3; max-height: 180px; object-fit: contain; }
.media-dialog-grid {
  grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr)) !important;
}
@media (max-width: 700px) {
  .media-dialog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .benefit-hero { max-height: none; aspect-ratio: 1; }
}


/* ========== 1.8.0 ========== */

/* F: keep every cloud fully inside the hero at 1440 / 1280 / 1024 / 390.
   Positions are relative to .hero-art; leave inset > animation amplitude. */
.hero-art, .hero-clouds { overflow: hidden; }
.hero-clouds .cloud--one,
.cloud--one {
  top: 6% !important;
  left: 12% !important;
  right: auto !important;
  width: min(28%, 360px) !important;
  max-width: 38vw;
}
.hero-clouds .cloud--two,
.cloud--two {
  top: 34% !important;
  left: 36% !important;
  right: auto !important;
  width: min(24%, 320px) !important;
  max-width: 34vw;
}
.hero-clouds .cloud--three,
.cloud--three {
  top: 12% !important;
  left: auto !important;
  right: 10% !important;
  width: min(30%, 400px) !important;
  max-width: 36vw;
}
@media (max-width: 1100px) {
  .cloud--one { --cx: 70px; --cy: 22px; }
  .cloud--two { --cx: -64px; --cy: 20px; }
  .cloud--three { --cx: -58px; --cy: 18px; }
  .hero-clouds .cloud--one, .cloud--one { left: 8% !important; width: min(32%, 280px) !important; }
  .hero-clouds .cloud--two, .cloud--two { left: 32% !important; width: min(28%, 240px) !important; }
  .hero-clouds .cloud--three, .cloud--three { right: 8% !important; width: min(36%, 300px) !important; }
}
@media (max-width: 600px) {
  .cloud--one { --cx: 52px; --cy: 18px; animation-duration: 18s !important; }
  .cloud--two { --cx: -48px; --cy: 16px; animation-duration: 20s !important; }
  .cloud--three { --cx: -44px; --cy: 14px; animation-duration: 19s !important; }
  .hero-clouds .cloud--one, .cloud--one { top: 6% !important; left: 10% !important; width: 38% !important; max-width: 150px; }
  .hero-clouds .cloud--two, .cloud--two { top: 50% !important; left: 10% !important; width: 36% !important; max-width: 140px; }
  .hero-clouds .cloud--three, .cloud--three { top: 16% !important; right: 8% !important; left: auto !important; width: 46% !important; max-width: 170px; }
}

/* A: handoff flush with the BOTTOM edge of the blue section. */
.proof-wrap .benefits,
.benefits {
  overflow: hidden !important;
  padding-bottom: 0 !important;
  min-height: 0 !important;
}
.benefits-layout {
  align-items: stretch !important;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}
.benefits-layout .proof-pair {
  align-self: stretch !important;
  justify-self: center !important;
  width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  min-height: 280px;
  margin: 0 !important;
  padding: 0 !important;
  object-fit: contain !important;
  object-position: bottom center !important;
  display: block !important;
}
@media (max-width: 1100px) {
  .benefits-layout {
    grid-template-columns: 1fr !important;
    grid-template-areas: "title" "cards" "art" !important;
  }
  .benefits-layout .proof-pair {
    width: min(560px, 100%) !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 12px auto 0 !important;
    object-position: bottom center !important;
  }
}

/* B: photo fills the card tile, one surface, no grey square in a blue/white tile. */
.benefit {
  padding: 0 0 18px !important;
  overflow: hidden;
  background: #fff !important;
}
.benefit-hero {
  width: 100% !important;
  margin: 0 0 14px !important;
  padding: 0 !important;
  aspect-ratio: 4 / 3 !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center !important;
  background: transparent !important;
  border-radius: 0 !important;
  display: block;
}
.benefit .benefit-stat,
.benefit h3,
.benefit p { margin-left: 16px; margin-right: 16px; }
.benefit .benefit-stat { margin-top: 0; }

/* C: desktop form — name, phone and button same height and type size, one row. */
.request-form .form-fields {
  display: grid !important;
  grid-template-columns: 1fr 1fr auto;
  align-items: stretch;
  gap: 12px;
}
.request-form .form-fields > label,
.request-form .form-fields > .phone-control--ru,
.request-form .form-fields > .button {
  height: 56px !important;
  min-height: 56px !important;
  max-height: 56px !important;
  box-sizing: border-box;
  margin: 0 !important;
  border-radius: 12px !important;
  font-size: 16px !important;
  align-self: stretch;
}
.request-form .form-fields input,
.request-form .form-fields input[name="name"],
.request-form .form-fields input[name="phone_national"] {
  height: 56px !important;
  min-height: 56px !important;
  max-height: 56px !important;
  font-size: 16px !important;
  line-height: 56px !important;
  padding: 0 16px !important;
  box-sizing: border-box;
  border-radius: 12px !important;
}
.request-form .form-fields > label { display: block; }
.request-form .form-fields > label input {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
}
.request-form .phone-control--ru {
  height: 56px !important;
  min-height: 56px !important;
  padding: 0 16px !important;
  border-radius: 12px !important;
  border: 1px solid var(--line);
}
.request-form .phone-control--ru input[name="phone_national"] {
  padding: 0 !important;
  line-height: 54px !important;
  border: 0 !important;
  height: 54px !important;
  min-height: 0 !important;
  font-size: 16px !important;
}
.request-form .form-fields > .button {
  height: 56px !important;
  min-height: 56px !important;
  padding: 0 24px !important;
  font-size: 16px !important;
  line-height: 56px !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

/* D: mobile form — intro full width; glove flush bottom-right; consent beside it. */
@media (max-width: 700px) {
  .request-copy,
  .request-card .request-copy {
    max-width: 100% !important;
    width: 100% !important;
  }
  .request-copy h2,
  .request-copy > p {
    max-width: 100% !important;
  }
  .request-form .form-fields {
    display: flex !important;
    flex-direction: column;
  }
  .request-form .form-fields > .button {
    width: 100%;
  }
  .request-card .consent,
  .request-card .form-note,
  .request-form .consent,
  .request-form .form-note {
    max-width: calc(100% - 132px) !important;
  }
}

/* E: no chevrons on mobile — they collided with the next disc. */
@media (max-width: 700px) {
  .steps-timeline .step:not(:last-child)::after,
  .step:not(:last-child)::after {
    display: none !important;
    content: none !important;
  }
}


/* 1.8.0b — full-bleed clouds, distinct motions, larger handoff column */
.hero { position: relative; overflow: hidden !important; }
.hero-clouds {
  position: absolute !important;
  inset: 0 !important;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
  isolation: isolate;
}
.hero-inner, .hero-copy { position: relative; z-index: 3; }
.hero-art { z-index: 3; overflow: visible; } /* keep absolute placement of the worker */

/* Distinct baked keyframes so each cloud actually travels a different path at ~18px/s */
.cloud--one {
  animation-name: ms-cloud-a !important;
  animation-duration: 18s !important;
  animation-timing-function: linear !important;
  animation-iteration-count: infinite !important;
  animation-delay: -3s !important;
}
.cloud--two {
  animation-name: ms-cloud-b !important;
  animation-duration: 20s !important;
  animation-timing-function: linear !important;
  animation-iteration-count: infinite !important;
  animation-delay: -8s !important;
}
.cloud--three {
  animation-name: ms-cloud-c !important;
  animation-duration: 22s !important;
  animation-timing-function: linear !important;
  animation-iteration-count: infinite !important;
  animation-delay: -14s !important;
}
@keyframes ms-cloud-a {
  0%   { transform: translate3d(0, 0, 0); }
  20%  { transform: translate3d(90px, -26px, 0); }
  40%  { transform: translate3d(110px, 6px, 0); }
  60%  { transform: translate3d(10px, 30px, 0); }
  80%  { transform: translate3d(-90px, 10px, 0); }
  100% { transform: translate3d(0, 0, 0); }
}
@keyframes ms-cloud-b {
  0%   { transform: translate3d(0, 0, 0); }
  20%  { transform: translate3d(-80px, 22px, 0); }
  40%  { transform: translate3d(-100px, -8px, 0); }
  60%  { transform: translate3d(10px, -26px, 0); }
  80%  { transform: translate3d(80px, 8px, 0); }
  100% { transform: translate3d(0, 0, 0); }
}
@keyframes ms-cloud-c {
  0%   { transform: translate3d(0, 0, 0); }
  20%  { transform: translate3d(-70px, -18px, 0); }
  40%  { transform: translate3d(-100px, 10px, 0); }
  60%  { transform: translate3d(-20px, 26px, 0); }
  80%  { transform: translate3d(70px, 4px, 0); }
  100% { transform: translate3d(0, 0, 0); }
}

/* Position vs the full hero (100vw), inset > max keyframe travel (~110px). */
.hero-clouds .cloud--one, .cloud--one {
  top: 7% !important;
  left: 9% !important;
  right: auto !important;
  width: clamp(180px, 22vw, 340px) !important;
  max-width: 28vw;
}
.hero-clouds .cloud--two, .cloud--two {
  top: 36% !important;
  left: 38% !important;
  right: auto !important;
  width: clamp(160px, 20vw, 300px) !important;
  max-width: 24vw;
}
.hero-clouds .cloud--three, .cloud--three {
  top: 12% !important;
  left: auto !important;
  right: 9% !important;
  width: clamp(190px, 24vw, 380px) !important;
  max-width: 30vw;
}
@media (max-width: 1100px) {
  .hero-clouds .cloud--one, .cloud--one { left: 7% !important; width: clamp(150px, 26vw, 280px) !important; max-width: 32vw; }
  .hero-clouds .cloud--two, .cloud--two { left: 34% !important; width: clamp(140px, 22vw, 240px) !important; max-width: 28vw; }
  .hero-clouds .cloud--three, .cloud--three { right: 7% !important; width: clamp(160px, 28vw, 300px) !important; max-width: 34vw; }
}
@media (max-width: 600px) {
  .cloud--one { animation-name: ms-cloud-a-m !important; animation-duration: 16s !important; }
  .cloud--two { animation-name: ms-cloud-b-m !important; animation-duration: 18s !important; }
  .cloud--three { animation-name: ms-cloud-c-m !important; animation-duration: 17s !important; }
  @keyframes ms-cloud-a-m {
    0% { transform: translate3d(0,0,0); }
    25% { transform: translate3d(48px,-14px,0); }
    50% { transform: translate3d(20px,16px,0); }
    75% { transform: translate3d(-48px,6px,0); }
    100% { transform: translate3d(0,0,0); }
  }
  @keyframes ms-cloud-b-m {
    0% { transform: translate3d(0,0,0); }
    25% { transform: translate3d(-40px,12px,0); }
    50% { transform: translate3d(-16px,-14px,0); }
    75% { transform: translate3d(40px,4px,0); }
    100% { transform: translate3d(0,0,0); }
  }
  @keyframes ms-cloud-c-m {
    0% { transform: translate3d(0,0,0); }
    25% { transform: translate3d(-36px,-10px,0); }
    50% { transform: translate3d(-12px,14px,0); }
    75% { transform: translate3d(36px,4px,0); }
    100% { transform: translate3d(0,0,0); }
  }
  .hero-clouds .cloud--one, .cloud--one { top: 6% !important; left: 52px !important; width: 130px !important; max-width: 34vw; }
  .hero-clouds .cloud--two, .cloud--two { top: 50% !important; left: 44px !important; width: 120px !important; max-width: 32vw; }
  .hero-clouds .cloud--three, .cloud--three { top: 14% !important; right: 52px !important; left: auto !important; width: 140px !important; max-width: 36vw; }
}

@media (min-width: 1101px) {
  .benefits-layout {
    grid-template-columns: minmax(0, 1fr) min(480px, 40%) !important;
  }
}

/* Beat .hero-clouds .cloud shorthand (spec 0,2,0) so each cloud has its own motion. */
.hero-clouds .cloud.cloud--one,
.hero .cloud--one {
  animation: ms-cloud-a 18s linear infinite !important;
  animation-delay: -3s !important;
}
.hero-clouds .cloud.cloud--two,
.hero .cloud--two {
  animation: ms-cloud-b 20s linear infinite !important;
  animation-delay: -8s !important;
}
.hero-clouds .cloud.cloud--three,
.hero .cloud--three {
  animation: ms-cloud-c 22s linear infinite !important;
  animation-delay: -14s !important;
}
.hero-clouds .cloud.cloud--three,
.hero .cloud--three {
  right: max(108px, 8%) !important;
}
@media (max-width: 1100px) {
  .hero-clouds .cloud.cloud--three, .hero .cloud--three { right: 108px !important; }
}
@media (max-width: 600px) {
  .hero-clouds .cloud.cloud--one, .hero .cloud--one {
    animation: ms-cloud-a-m 12s linear infinite !important;
    animation-delay: -2s !important;
    left: 56px !important;
    width: 120px !important;
    max-width: 32vw;
  }
  .hero-clouds .cloud.cloud--two, .hero .cloud--two {
    animation: ms-cloud-b-m 13s linear infinite !important;
    animation-delay: -6s !important;
    left: 48px !important;
    width: 110px !important;
    max-width: 30vw;
  }
  .hero-clouds .cloud.cloud--three, .hero .cloud--three {
    animation: ms-cloud-c-m 12s linear infinite !important;
    animation-delay: -11s !important;
    right: 56px !important;
    left: auto !important;
    width: 124px !important;
    max-width: 34vw;
  }
}


/* ========== 1.9.0 ========== */

/* 2. Anchors clear the sticky header (height + 16px) on every width. */
:root { --ms-header: calc(196 * var(--u)); --ms-scroll: calc(var(--ms-header) + 16px); }
@media (max-width: 800px) {
  :root { --ms-header: 100px; --ms-scroll: 116px; }
}
html {
  scroll-padding-top: var(--ms-scroll) !important;
}
#industries,
#about,
#services,
#benefits,
#gallery,
#videos,
#request,
#contacts,
#steps,
section[id],
footer[id],
.proof-wrap[id] {
  scroll-margin-top: var(--ms-scroll) !important;
}

/* 3. Benefits: heading + lead occupy the right-column top; scene stays flush at the bottom. */
.benefits-layout {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) min(520px, 44%) !important;
  grid-template-areas: "cards intro" "cards art" !important;
  grid-template-rows: auto 1fr !important;
  align-items: stretch !important;
  column-gap: 32px !important;
  row-gap: 12px !important;
  padding-bottom: 0 !important;
}
.benefits-intro {
  grid-area: intro;
  color: #fff;
  align-self: start;
  padding: 0 4px 4px;
}
.benefits-layout #benefits-title,
.benefits-intro #benefits-title {
  grid-area: auto;
  margin: 0 0 12px !important;
  color: #fff;
}
.benefits-intro p {
  margin: 0;
  color: #d9e7f8;
  font-size: clamp(15px, calc(17 * var(--u)), 18px);
  line-height: 1.45;
  font-weight: 500;
  max-width: 28em;
}
.benefits-layout .benefits-track { grid-area: cards; }
.benefits-layout .proof-pair {
  grid-area: art;
  align-self: end !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  object-fit: contain !important;
  object-position: bottom center !important;
}
@media (max-width: 1100px) {
  .benefits-layout {
    grid-template-columns: 1fr !important;
    grid-template-areas: "intro" "cards" "art" !important;
    grid-template-rows: auto !important;
  }
  .benefits-intro { padding: 0 0 8px; }
  .benefits-layout .proof-pair {
    width: min(560px, 100%) !important;
    margin: 8px auto 0 !important;
  }
}

/* 1. Clouds: never overlap or touch text (gap ≥ 24px) for the whole travel path.
      Stay fully inside the hero at 1440 / 1280 / 1024 / 390. All three visible. */
.hero-clouds .cloud.cloud--one,
.hero .cloud--one {
  top: 8px !important;
  left: max(40px, 3%) !important;
  right: auto !important;
  width: min(200px, 15vw) !important;
  max-width: 210px;
  animation: ms-cloud-a9 20s linear infinite !important;
  animation-delay: -2s !important;
}
.hero-clouds .cloud.cloud--two,
.hero .cloud--two {
  top: 18% !important;
  left: auto !important;
  right: 26% !important;
  width: min(230px, 17vw) !important;
  max-width: 250px;
  animation: ms-cloud-b9 22s linear infinite !important;
  animation-delay: -8s !important;
}
.hero-clouds .cloud.cloud--three,
.hero .cloud--three {
  top: 8% !important;
  left: auto !important;
  right: 3.5% !important;
  width: min(260px, 19vw) !important;
  max-width: 280px;
  animation: ms-cloud-c9 24s linear infinite !important;
  animation-delay: -13s !important;
}
@keyframes ms-cloud-a9 {
  0%, 100% { transform: translate3d(0, 0, 0); }
  35% { transform: translate3d(40px, 8px, 0); }
  70% { transform: translate3d(-24px, 4px, 0); }
}
@keyframes ms-cloud-b9 {
  0%, 100% { transform: translate3d(0, 0, 0); }
  30% { transform: translate3d(28px, 14px, 0); }
  65% { transform: translate3d(-36px, -10px, 0); }
}
@keyframes ms-cloud-c9 {
  0%, 100% { transform: translate3d(0, 0, 0); }
  30% { transform: translate3d(-48px, -12px, 0); }
  65% { transform: translate3d(-16px, 10px, 0); }
}
@media (max-width: 1100px) {
  .hero-clouds .cloud.cloud--one, .hero .cloud--one { width: min(170px, 18vw) !important; left: 40px !important; }
  .hero-clouds .cloud.cloud--two, .hero .cloud--two { right: 22% !important; width: min(190px, 20vw) !important; top: 12% !important; }
  .hero-clouds .cloud.cloud--three, .hero .cloud--three { right: 4% !important; width: min(210px, 24vw) !important; }
}
@media (max-width: 600px) {
  /* Three small clouds around the worker — not behind the title, inward-only travel. */
  .hero-clouds .cloud.cloud--one, .hero .cloud--one {
    top: auto !important;
    bottom: 34% !important;
    left: 10px !important;
    right: auto !important;
    width: 96px !important;
    max-width: 28vw;
    animation: ms-cloud-m1 8s linear infinite !important;
    animation-delay: -1s !important;
  }
  .hero-clouds .cloud.cloud--two, .hero .cloud--two {
    /* Was hidden behind the worker's box at bottom-left. Park it in the lower-right sky. */
    top: auto !important;
    bottom: 10% !important;
    left: auto !important;
    right: 8px !important;
    width: 84px !important;
    max-width: 24vw;
    animation: ms-cloud-m2 9s linear infinite !important;
    animation-delay: -3s !important;
  }
  .hero-clouds .cloud.cloud--three, .hero .cloud--three {
    top: auto !important;
    bottom: 26% !important;
    left: auto !important;
    right: 10px !important;
    width: 100px !important;
    max-width: 30vw;
    animation: ms-cloud-m3 8s linear infinite !important;
    animation-delay: -5s !important;
  }
  @keyframes ms-cloud-m1 {
    0%, 100% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(36px, -14px, 0); }
  }
  @keyframes ms-cloud-m2 {
    0%, 100% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(-28px, -10px, 0); }
  }
  @keyframes ms-cloud-m3 {
    0%, 100% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(-36px, -12px, 0); }
  }
}

/* ========== 2.0.0 ========== */

/* --- Clouds: larger, container-anchored, GPU float (ease-in-out alternate) --- */
.hero { position: relative; }
.hero-clouds {
  position: absolute !important;
  top: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: calc(100% - 48px) !important;
  max-width: calc(1520 * var(--u)) !important;
  height: 100% !important;
  margin-inline: auto !important;
  overflow: visible !important;
  pointer-events: none !important;
  z-index: 2 !important;
  transform: none !important;
  filter: none !important;
}
.hero-clouds .cloud,
.hero-clouds img.cloud,
.hero .cloud {
  position: absolute !important;
  z-index: 2 !important;
  display: block !important;
  height: auto !important;
  max-width: none !important;
  pointer-events: none !important;
  will-change: transform !important;
  /* transform is driven only by keyframes — do not !important or they cannot run */
  backface-visibility: hidden !important;
  -webkit-backface-visibility: hidden !important;
  filter: none !important;
  box-shadow: none !important;
  background: none !important;
}
/* Amplitude 72px / 12px — inset from container edges so the path stays inside. */
.hero-clouds .cloud.cloud--one,
.hero .cloud.cloud--one {
  top: 4px !important;
  left: 72px !important;
  right: auto !important;
  bottom: auto !important;
  width: 280px !important; /* flatter / shorter so it clears the headline by ≥24px */
  animation: ms-float-a 12s ease-in-out infinite alternate !important;
  animation-delay: 0s !important;
}
.hero-clouds .cloud.cloud--two,
.hero .cloud.cloud--two {
  top: 2% !important;
  left: auto !important;
  right: 16% !important;
  bottom: auto !important;
  width: 360px !important;
  animation: ms-float-b 14s ease-in-out infinite alternate !important;
  animation-delay: -3s !important;
}
.hero-clouds .cloud.cloud--three,
.hero .cloud.cloud--three {
  top: 4% !important;
  left: auto !important;
  right: 72px !important;
  bottom: auto !important;
  width: 420px !important;
  animation: ms-float-c 16s ease-in-out infinite alternate !important;
  animation-delay: -7s !important;
}
@keyframes ms-float-a {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(64px, 10px, 0); }
}
@keyframes ms-float-b {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-72px, 8px, 0); }
}
@keyframes ms-float-c {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-56px, -12px, 0); }
}
@media (max-width: 1439px) {
  .hero-clouds .cloud.cloud--one, .hero .cloud.cloud--one { width: 250px !important; }
  .hero-clouds .cloud.cloud--two, .hero .cloud.cloud--two { width: 320px !important; right: 14% !important; top: 2% !important; }
  .hero-clouds .cloud.cloud--three, .hero .cloud.cloud--three { width: 380px !important; }
}
@media (max-width: 1279px) {
  .hero-clouds .cloud.cloud--one, .hero .cloud.cloud--one { width: 220px !important; left: 64px !important; }
  .hero-clouds .cloud.cloud--two, .hero .cloud.cloud--two { width: 280px !important; right: 12% !important; top: 2% !important; }
  .hero-clouds .cloud.cloud--three, .hero .cloud.cloud--three { width: 340px !important; right: 64px !important; }
}
@media (max-width: 1100px) {
  .hero-clouds .cloud.cloud--one, .hero .cloud.cloud--one { width: 200px !important; left: 56px !important; }
  .hero-clouds .cloud.cloud--two, .hero .cloud.cloud--two { width: 240px !important; right: 10% !important; top: 2% !important; }
  .hero-clouds .cloud.cloud--three, .hero .cloud.cloud--three { width: 280px !important; right: 56px !important; }
}
@media (max-width: 900px) and (min-width: 601px) {
  .hero-clouds .cloud.cloud--one, .hero .cloud.cloud--one { width: 180px !important; left: 48px !important; }
  .hero-clouds .cloud.cloud--two, .hero .cloud.cloud--two { width: 200px !important; right: 8% !important; top: 1% !important; }
  .hero-clouds .cloud.cloud--three, .hero .cloud.cloud--three { width: 210px !important; right: 40px !important; top: 0 !important; }
}
@media (max-width: 600px) {
  .hero-clouds .cloud.cloud--one, .hero .cloud.cloud--one,
  .hero-clouds .cloud.cloud--two, .hero .cloud.cloud--two,
  .hero-clouds .cloud.cloud--three, .hero .cloud.cloud--three {
    /* around the worker, not behind the title */
    top: auto !important;
  }
  .hero-clouds .cloud.cloud--one, .hero .cloud.cloud--one {
    bottom: 38% !important;
    left: 16px !important;
    width: 180px !important;
    animation-name: ms-float-a !important;
    animation-duration: 10s !important;
  }
  .hero-clouds .cloud.cloud--two, .hero .cloud.cloud--two {
    bottom: 8% !important;
    left: auto !important;
    right: 16px !important;
    width: 190px !important;
    animation-name: ms-float-b !important;
    animation-duration: 12s !important;
  }
  .hero-clouds .cloud.cloud--three, .hero .cloud.cloud--three {
    bottom: 28% !important;
    right: 16px !important;
    width: 210px !important;
    animation-name: ms-float-c !important;
    animation-duration: 11s !important;
  }
}

/* --- Figures: crisp still + gentle bob; no alpha video --- */
.hero-art img.hero-worker,
img.hero-worker.hero-loop,
img.hero-worker,
.hero-worker.ms-figure {
  position: absolute;
  z-index: 3;
  right: clamp(8px, calc(100 * var(--u)), 140px);
  bottom: 0;
  left: auto;
  width: min(52vw, calc(600 * var(--u)), calc((100% - 36px) * 936 / 1128));
  max-width: min(52vw, calc(600 * var(--u)));
  height: auto;
  max-height: calc(100% - 36px);
  aspect-ratio: 936 / 1128;
  object-fit: contain;
  object-position: bottom center;
  background: transparent !important;
  pointer-events: none;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  animation: ms-figure-bob 5.5s ease-in-out infinite alternate;
}
.about-visual img.about-team,
img.about-team.about-loop,
img.about-team,
.about-team.ms-figure {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  background: transparent !important;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  animation: ms-figure-bob 6s ease-in-out infinite alternate;
}
@keyframes ms-figure-bob {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(0, -8px, 0); }
}
@media (max-width: 1100px) {
  .hero-art img.hero-worker,
  img.hero-worker.hero-loop,
  img.hero-worker,
  .hero-worker.ms-figure {
    width: min(48vw, 430px, calc((100% - 28px) * 936 / 1128));
    max-width: min(48vw, 430px);
    max-height: calc(100% - 28px);
    right: 24px;
  }
}
@media (max-width: 600px) {
  .hero-art img.hero-worker,
  img.hero-worker.hero-loop,
  img.hero-worker,
  .hero-worker.ms-figure {
    left: 50%;
    right: auto;
    width: min(calc(100% - 12px), calc(412px * 936 / 1128));
    height: 412px;
    max-width: calc(100% - 12px);
    max-height: 412px;
    animation-name: ms-figure-bob-center;
  }
  @keyframes ms-figure-bob-center {
    from { transform: translate3d(-50%, 0, 0); }
    to   { transform: translate3d(-50%, -8px, 0); }
  }
}
@media (max-width: 350px) {
  .hero-art img.hero-worker,
  img.hero-worker.hero-loop,
  img.hero-worker,
  .hero-worker.ms-figure {
    width: min(calc(100% - 12px), calc(385px * 936 / 1128));
    height: 385px;
    max-height: 385px;
  }
}

/* --- Benefits: heading full-width on top; 2×2 cards + large scene tile --- */
.benefits-layout {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 32px !important;
  grid-template-columns: none !important;
  grid-template-areas: none !important;
  grid-template-rows: none !important;
  padding-bottom: 40px !important;
}
.benefits-intro {
  display: block !important;
  width: 100% !important;
  max-width: 40em;
  align-self: flex-start !important;
  color: #fff;
  padding: 0 !important;
  grid-area: auto !important;
}
.benefits-layout #benefits-title,
.benefits-intro #benefits-title,
.benefits #benefits-title {
  margin: 0 0 12px !important;
  color: #fff !important;
  text-align: left !important;
  font-size: clamp(28px, calc(44 * var(--u)), 44px) !important;
  line-height: 1.15 !important;
  grid-area: auto !important;
}
.benefits-intro p {
  margin: 0 !important;
  color: #d9e7f8 !important;
  font-size: clamp(16px, calc(18 * var(--u)), 20px) !important;
  line-height: 1.45 !important;
  font-weight: 500;
  max-width: 36em !important;
}
.benefits-body {
  display: grid !important;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.95fr) !important;
  gap: 24px !important;
  align-items: stretch !important;
  width: 100%;
}
.benefits-layout .benefits-track,
.benefits-body .benefits-track {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  grid-template-rows: 1fr 1fr !important;
  grid-area: auto !important;
  gap: 20px !important;
  width: 100% !important;
  align-self: stretch !important;
}
.benefits-body .benefit {
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.benefits-scene {
  position: relative;
  min-height: 100%;
  border-radius: 28px;
  background: #e8f2fb;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.benefits-scene .proof-pair,
.benefits-layout .proof-pair {
  grid-area: auto !important;
  align-self: stretch !important;
  width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  object-fit: contain !important;
  object-position: bottom center !important;
  display: block;
}
@media (max-width: 1100px) {
  .benefits-layout { gap: 24px !important; padding-bottom: 32px !important; }
  .benefits-body {
    grid-template-columns: 1fr !important;
  }
  .benefits-scene {
    min-height: 320px;
    order: -1;
  }
  .benefits-body .benefits-track {
    grid-template-columns: 1fr 1fr !important;
  }
}
@media (max-width: 640px) {
  .benefits-body .benefits-track {
    grid-template-columns: 1fr !important;
    grid-template-rows: none !important;
  }
  .benefits-scene { min-height: 280px; border-radius: 22px; }
  .benefits-layout { padding-bottom: 24px !important; }
}

/* ========== 2.1.0 ========== */

/* Benefits: heading + lead on top, then 4 equal cards in one row. No handoff scene. */
.benefits-layout,
.container.benefits-layout {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 28px !important;
  padding-bottom: 48px !important;
  grid-template-columns: none !important;
  grid-template-areas: none !important;
  grid-template-rows: none !important;
}
.benefits-intro {
  display: block !important;
  width: 100% !important;
  max-width: 40em !important;
  align-self: flex-start !important;
  padding: 0 !important;
  grid-area: auto !important;
}
.benefits-body {
  display: block !important;
  width: 100% !important;
  grid-template-columns: none !important;
}
.benefits-layout .benefits-track,
.benefits-body .benefits-track,
.benefits-track {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  grid-template-rows: 1fr !important;
  grid-area: auto !important;
  gap: 20px !important;
  width: 100% !important;
  align-items: stretch !important;
}
.benefits-layout .benefit,
.benefits-track .benefit,
.benefits-body .benefit {
  height: 100% !important;
  min-height: 0;
  display: flex !important;
  flex-direction: column !important;
  box-sizing: border-box;
}
.benefits-scene,
.benefits-layout .benefits-scene,
.benefits-layout .proof-pair,
.benefits-scene .proof-pair,
img.proof-pair {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  position: absolute !important;
  pointer-events: none !important;
}
@media (max-width: 1199px) {
  .benefits-layout .benefits-track,
  .benefits-body .benefits-track,
  .benefits-track {
    grid-template-columns: 1fr 1fr !important;
    grid-template-rows: 1fr 1fr !important;
  }
}
@media (max-width: 639px) {
  .benefits-layout .benefits-track,
  .benefits-body .benefits-track,
  .benefits-track {
    grid-template-columns: 1fr !important;
    grid-template-rows: none !important;
    gap: 16px !important;
  }
  .benefits-layout { padding-bottom: 32px !important; gap: 20px !important; }
}

/* Figures: bob only on still fallback; real animated WebP must not wobble. */
.hero-art img.hero-worker,
img.hero-worker.hero-loop,
img.hero-worker,
.hero-worker.ms-figure,
.hero-worker.ms-figure-anim,
.about-visual img.about-team,
img.about-team.about-loop,
img.about-team,
.about-team.ms-figure,
.about-team.ms-figure-anim {
  animation: none !important;
}
.hero-worker.ms-figure-still,
.about-team.ms-figure-still,
img.ms-figure-still {
  animation: ms-figure-bob 5.5s ease-in-out infinite alternate !important;
}
@media (max-width: 600px) {
  .hero-worker.ms-figure-still {
    animation-name: ms-figure-bob-center !important;
  }
}

/* Clouds: 3 visible, balanced, none sitting on the character's head.
   Positions are relative to the content-width .hero-clouds box.
   Amplitudes: a +64x+10, b -72x+8, c -56x-12 — keep margins for travel. */
.hero-clouds .cloud.cloud--one,
.hero .cloud.cloud--one {
  top: 10px !important;
  left: 48px !important;
  right: auto !important;
  bottom: auto !important;
  width: 300px !important;
  animation: ms-float-a 12s ease-in-out infinite alternate !important;
  animation-delay: 0s !important;
}
/* Center sky, clearly LEFT of the cap, high in the gap between headline and character. */
.hero-clouds .cloud.cloud--two,
.hero .cloud.cloud--two {
  top: 6px !important;
  left: auto !important;
  right: 34% !important;
  bottom: auto !important;
  width: 360px !important;
  animation: ms-float-b 14s ease-in-out infinite alternate !important;
  animation-delay: -3s !important;
}
/* Mid-height pocket LEFT of the character (beside the raised arm), not on the head.
   Stays in the pale gap; character is z-index 3 so a slight overlap of the shoulder is behind. */
.hero-clouds .cloud.cloud--three,
.hero .cloud.cloud--three {
  top: 22% !important;
  left: auto !important;
  right: 30% !important;
  bottom: auto !important;
  width: 300px !important;
  animation: ms-float-c 16s ease-in-out infinite alternate !important;
  animation-delay: -7s !important;
}
@media (max-width: 1600px) {
  .hero-clouds .cloud.cloud--one, .hero .cloud.cloud--one { width: 280px !important; left: 40px !important; }
  .hero-clouds .cloud.cloud--two, .hero .cloud.cloud--two { width: 340px !important; right: 33% !important; }
  .hero-clouds .cloud.cloud--three, .hero .cloud.cloud--three { width: 280px !important; right: 28% !important; top: 20% !important; }
}
@media (max-width: 1439px) {
  .hero-clouds .cloud.cloud--one, .hero .cloud.cloud--one { width: 250px !important; left: 32px !important; }
  .hero-clouds .cloud.cloud--two, .hero .cloud.cloud--two { width: 300px !important; right: 32% !important; top: 4px !important; }
  .hero-clouds .cloud.cloud--three, .hero .cloud.cloud--three { width: 250px !important; right: 26% !important; top: 20% !important; }
}
@media (max-width: 1279px) {
  .hero-clouds .cloud.cloud--one, .hero .cloud.cloud--one { width: 220px !important; left: 24px !important; }
  .hero-clouds .cloud.cloud--two, .hero .cloud.cloud--two { width: 260px !important; right: 30% !important; }
  .hero-clouds .cloud.cloud--three, .hero .cloud.cloud--three { width: 220px !important; right: 24% !important; top: 18% !important; }
}
@media (max-width: 1100px) {
  .hero-clouds .cloud.cloud--one, .hero .cloud.cloud--one { width: 200px !important; left: 20px !important; top: 8px !important; }
  .hero-clouds .cloud.cloud--two, .hero .cloud.cloud--two { width: 230px !important; right: 28% !important; top: 2px !important; }
  .hero-clouds .cloud.cloud--three, .hero .cloud.cloud--three { width: 200px !important; right: 20% !important; top: 16% !important; }
}
@media (max-width: 900px) and (min-width: 601px) {
  .hero-clouds .cloud.cloud--one, .hero .cloud.cloud--one { width: 180px !important; left: 16px !important; top: 6px !important; }
  .hero-clouds .cloud.cloud--two, .hero .cloud.cloud--two { width: 200px !important; right: 22% !important; top: 2px !important; }
  .hero-clouds .cloud.cloud--three, .hero .cloud.cloud--three { width: 180px !important; right: 8% !important; top: 14% !important; }
}
@media (max-width: 600px) {
  /* Around the worker, not on the head, not behind the title. All 3 visible. */
  .hero-clouds .cloud.cloud--one, .hero .cloud.cloud--one {
    top: auto !important;
    bottom: 42% !important;
    left: 8px !important;
    right: auto !important;
    width: 170px !important;
    animation-name: ms-float-a !important;
    animation-duration: 10s !important;
    animation-delay: 0s !important;
  }
  .hero-clouds .cloud.cloud--two, .hero .cloud.cloud--two {
    top: auto !important;
    bottom: 8% !important;
    left: auto !important;
    right: 8px !important;
    width: 180px !important;
    animation-name: ms-float-b !important;
    animation-duration: 12s !important;
    animation-delay: -3s !important;
  }
  .hero-clouds .cloud.cloud--three, .hero .cloud.cloud--three {
    top: auto !important;
    bottom: 22% !important;
    left: auto !important;
    right: 8px !important;
    width: 190px !important;
    animation-name: ms-float-c !important;
    animation-duration: 11s !important;
    animation-delay: -7s !important;
  }
}
@media (max-width: 600px) {
  .hero-art img.hero-worker.ms-figure-anim,
  img.hero-worker.ms-figure-anim,
  .hero-worker.ms-figure-anim {
    left: 50%;
    right: auto;
    transform: translate3d(-50%, 0, 0);
  }
}

/* 2.1.0b — unstack desktop clouds; keep them off the cap; mobile sky pockets, not a hat */
.hero-clouds .cloud.cloud--two,
.hero .cloud.cloud--two {
  top: 4px !important;
  left: auto !important;
  right: 40% !important;
  bottom: auto !important;
  width: 340px !important;
}
.hero-clouds .cloud.cloud--three,
.hero .cloud.cloud--three {
  top: 38% !important;
  left: auto !important;
  right: 26% !important;
  bottom: auto !important;
  width: 280px !important;
}
@media (max-width: 1600px) {
  .hero-clouds .cloud.cloud--two, .hero .cloud.cloud--two { width: 320px !important; right: 38% !important; }
  .hero-clouds .cloud.cloud--three, .hero .cloud.cloud--three { width: 260px !important; right: 24% !important; top: 36% !important; }
}
@media (max-width: 1439px) {
  .hero-clouds .cloud.cloud--two, .hero .cloud.cloud--two { width: 280px !important; right: 36% !important; }
  .hero-clouds .cloud.cloud--three, .hero .cloud.cloud--three { width: 230px !important; right: 22% !important; top: 34% !important; }
}
@media (max-width: 1279px) {
  .hero-clouds .cloud.cloud--two, .hero .cloud.cloud--two { width: 240px !important; right: 34% !important; }
  .hero-clouds .cloud.cloud--three, .hero .cloud.cloud--three { width: 200px !important; right: 20% !important; top: 32% !important; }
}
@media (max-width: 1100px) {
  .hero-clouds .cloud.cloud--two, .hero .cloud.cloud--two { width: 210px !important; right: 32% !important; }
  .hero-clouds .cloud.cloud--three, .hero .cloud.cloud--three { width: 180px !important; right: 16% !important; top: 30% !important; }
}
@media (max-width: 900px) and (min-width: 601px) {
  .hero-clouds .cloud.cloud--two, .hero .cloud.cloud--two { width: 180px !important; right: 28% !important; top: 2px !important; }
  .hero-clouds .cloud.cloud--three, .hero .cloud.cloud--three { width: 160px !important; right: 8% !important; top: 28% !important; }
}
@keyframes ms-float-m1 {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(22px, 8px, 0); }
}
@keyframes ms-float-m2 {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-22px, 8px, 0); }
}
@keyframes ms-float-m3 {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(18px, -8px, 0); }
}
@media (max-width: 600px) {
  .hero-clouds .cloud.cloud--one, .hero .cloud.cloud--one {
    top: auto !important;
    bottom: 58% !important;
    left: 4px !important;
    right: auto !important;
    width: 132px !important;
    animation-name: ms-float-m1 !important;
    animation-duration: 10s !important;
    animation-delay: 0s !important;
  }
  .hero-clouds .cloud.cloud--two, .hero .cloud.cloud--two {
    top: auto !important;
    bottom: 56% !important;
    left: auto !important;
    right: 4px !important;
    width: 140px !important;
    animation-name: ms-float-m2 !important;
    animation-duration: 12s !important;
    animation-delay: -3s !important;
  }
  .hero-clouds .cloud.cloud--three, .hero .cloud.cloud--three {
    top: auto !important;
    bottom: 6% !important;
    left: 4px !important;
    right: auto !important;
    width: 150px !important;
    animation-name: ms-float-m3 !important;
    animation-duration: 11s !important;
    animation-delay: -7s !important;
  }
}

/* 2.1.0c — mobile: sky band under CTA, smaller worker, clouds off the cap and off the button */
@keyframes ms-float-m1 {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-14px, 8px, 0); }
}
@keyframes ms-float-m2 {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(0, 10px, 0); }
}
@keyframes ms-float-m3 {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-12px, -8px, 0); }
}
@media (max-width: 600px) {
  .hero-art img.hero-worker.ms-figure-anim,
  img.hero-worker.ms-figure-anim,
  .hero-worker.ms-figure-anim {
    width: 300px !important;
    max-width: 78vw !important;
    height: 412px !important;
    max-height: 412px !important;
    margin-top: 0 !important;
    object-fit: contain !important;
    object-position: bottom center !important;
    left: 50% !important;
    right: auto !important;
    bottom: 0 !important;
    transform: translate3d(-50%, 0, 0) !important;
  }
  .hero-clouds .cloud.cloud--one, .hero .cloud.cloud--one {
    top: auto !important;
    bottom: 46% !important;
    left: 2px !important;
    right: auto !important;
    width: 116px !important;
    animation-name: ms-float-m1 !important;
    animation-duration: 10s !important;
    animation-delay: 0s !important;
  }
  .hero-clouds .cloud.cloud--two, .hero .cloud.cloud--two {
    top: auto !important;
    bottom: 34% !important;
    left: auto !important;
    right: 0 !important;
    width: 108px !important;
    animation-name: ms-float-m2 !important;
    animation-duration: 12s !important;
    animation-delay: -3s !important;
  }
  .hero-clouds .cloud.cloud--three, .hero .cloud.cloud--three {
    top: auto !important;
    bottom: 10% !important;
    left: auto !important;
    right: 2px !important;
    width: 124px !important;
    animation-name: ms-float-m3 !important;
    animation-duration: 11s !important;
    animation-delay: -7s !important;
  }
}


/* ========== 2.2.0 ========== */
/* Clouds: one-axis horizontal drift only. Y is always 0.
   Two-point keyframes (no mid-point bob). Almost-linear easing so the
   alternate reverse is soft but speed stays ~7–9 px/s over most of the path. */

@keyframes cloud-drift {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(96px, 0, 0); }
}
@keyframes ms-cloud-float {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(96px, 0, 0); }
}
@keyframes ms-cloud-a {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(96px, 0, 0); }
}
@keyframes ms-cloud-b {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-108px, 0, 0); }
}
@keyframes ms-cloud-c {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-96px, 0, 0); }
}
@keyframes ms-cloud-a-m {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(40px, 0, 0); }
}
@keyframes ms-cloud-b-m {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-40px, 0, 0); }
}
@keyframes ms-cloud-c-m {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-40px, 0, 0); }
}
@keyframes ms-cloud-a9 {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(96px, 0, 0); }
}
@keyframes ms-cloud-b9 {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-108px, 0, 0); }
}
@keyframes ms-cloud-c9 {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-96px, 0, 0); }
}
@keyframes ms-cloud-m1 {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(40px, 0, 0); }
}
@keyframes ms-cloud-m2 {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-40px, 0, 0); }
}
@keyframes ms-cloud-m3 {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-40px, 0, 0); }
}
@keyframes ms-float-a {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(96px, 0, 0); }
}
@keyframes ms-float-b {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(84px, 0, 0); }
}
@keyframes ms-float-c {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-96px, 0, 0); }
}
@keyframes ms-float-m1 {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(40px, 0, 0); }
}
@keyframes ms-float-m2 {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-40px, 0, 0); }
}
@keyframes ms-float-m3 {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-36px, 0, 0); }
}

.hero-clouds .cloud,
.hero .cloud,
.hero-clouds .cloud.cloud--one,
.hero-clouds .cloud.cloud--two,
.hero-clouds .cloud.cloud--three,
.hero .cloud.cloud--one,
.hero .cloud.cloud--two,
.hero .cloud.cloud--three {
  will-change: transform;
  backface-visibility: hidden;
  transform: translate3d(0, 0, 0);
  animation-timing-function: linear !important;
  animation-iteration-count: infinite !important;
  animation-direction: alternate !important;
}

.hero-clouds .cloud.cloud--one,
.hero .cloud.cloud--one {
  animation-name: ms-float-a !important;
  animation-duration: 12s !important;
}
.hero-clouds .cloud.cloud--two,
.hero .cloud.cloud--two {
  animation-name: ms-float-b !important;
  animation-duration: 13s !important;
}
.hero-clouds .cloud.cloud--three,
.hero .cloud.cloud--three {
  animation-name: ms-float-c !important;
  animation-duration: 15s !important;
}

@media (max-width: 600px) {
  .hero-clouds .cloud.cloud--one, .hero .cloud.cloud--one {
    animation-name: ms-float-m1 !important;
    animation-duration: 7s !important;
  }
  .hero-clouds .cloud.cloud--two, .hero .cloud.cloud--two {
    animation-name: ms-float-m2 !important;
    animation-duration: 8s !important;
  }
  .hero-clouds .cloud.cloud--three, .hero .cloud.cloud--three {
    animation-name: ms-float-m3 !important;
    animation-duration: 7.5s !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-clouds .cloud, .hero .cloud {
    animation: none !important;
  }
}

/* Hero figure: a single layer, transparent box, no poster/background copy */
.hero-art,
.hero-art::before,
.hero-art::after,
.hero-worker,
.hero-art img.hero-worker,
img.hero-worker.hero-loop,
.hero-worker.hero-loop,
.hero-worker.ms-figure-anim {
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
}
.hero-art img.hero-worker,
img.hero-worker.hero-loop,
.hero-worker.ms-figure-anim {
  animation: none !important;
}

/* ---- Benefits 2.2: icon cards, no photo tiles ---- */
.proof-wrap .benefits-scene,
.benefits-scene,
.proof-pair,
.benefit-hero { display: none !important; }

.benefits-layout,
.container.benefits-layout {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 36px !important;
  padding-bottom: 56px !important;
}
.benefits { padding-block: 72px !important; }
.benefits-intro { max-width: 780px; }
.benefits-intro h2 {
  color: #fff !important;
  font-size: clamp(28px, 3.2vw, 44px) !important;
  letter-spacing: -0.03em;
  margin: 0 0 12px !important;
}
.benefits-intro p {
  color: rgba(255,255,255,.82) !important;
  font-size: clamp(16px, 1.25vw, 18px) !important;
  line-height: 1.5 !important;
  margin: 0 !important;
  max-width: 640px;
}

.benefits-track,
.benefits-layout .benefits-track,
.benefits-body .benefits-track {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 20px !important;
  width: 100% !important;
  max-width: 100% !important;
  align-items: stretch !important;
}

.benefits-track .benefit,
.benefit {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  min-height: 0 !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 28px 26px 30px !important;
  background: #fff !important;
  border-radius: 22px !important;
  box-shadow: 0 10px 28px rgba(16, 45, 90, 0.10);
  border: 1px solid rgba(255,255,255,.0);
  transition: transform .22s ease, box-shadow .22s ease;
}
.benefit-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff1ee;
  color: var(--coral);
  margin: 0 0 22px;
  flex: none;
}
.benefit-icon .icon {
  width: 30px !important;
  height: 30px !important;
  margin: 0 !important;
  color: var(--coral);
  display: block !important;
}
.benefit-kicker {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--coral);
}
.benefits-track .benefit h3,
.benefit h3 {
  margin: 0 0 10px !important;
  font-size: 22px !important;
  line-height: 1.2 !important;
  letter-spacing: -0.025em;
  color: var(--navy) !important;
  font-weight: 700 !important;
}
.benefits-track .benefit p,
.benefit p {
  margin: 0 !important;
  font-size: 16px !important;
  line-height: 1.5 !important;
  color: #536176 !important;
  flex: 1 1 auto;
}
.benefit-stat { display: none !important; }

@media (hover: hover) and (pointer: fine) {
  .benefit:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(16, 45, 90, 0.16);
  }
}

/* Variant B modifiers (used only on the local comparison page / optional) */
.benefits--b .benefits-track {
  gap: 16px !important;
}
.benefits--b .benefit {
  flex-direction: column !important;
  padding: 26px 28px !important;
  border-radius: 20px !important;
  background: rgba(255,255,255,.96) !important;
}
.benefits--b .benefit-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  width: 100%;
}
.benefits--b .benefit-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  margin: 0;
  background: #e8f1fb;
  color: var(--blue);
}
.benefits--b .benefit-icon .icon { color: var(--blue); width: 26px !important; height: 26px !important; }
.benefits--b .benefit h3 { margin: 0 !important; }
.benefits--b .benefit {
  border-left: 4px solid var(--coral);
  border-radius: 16px !important;
}

@media (max-width: 1199px) {
  .benefits-track, .benefits-layout .benefits-track {
    grid-template-columns: 1fr 1fr !important;
    gap: 16px !important;
  }
}
@media (max-width: 639px) {
  .benefits { padding-block: 48px !important; }
  .benefits-layout { gap: 22px !important; padding-bottom: 36px !important; }
  .benefits-track, .benefits-layout .benefits-track {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  .benefits-track .benefit, .benefit {
    padding: 22px 20px 24px !important;
    border-radius: 18px !important;
  }
  .benefit-icon { width: 48px; height: 48px; border-radius: 14px; margin-bottom: 16px; }
  .benefits-track .benefit h3, .benefit h3 { font-size: 20px !important; }

  /* Variant B: horizontal snap carousel with peek + hint */
  .benefits--b .benefits-track {
    display: flex !important;
    grid-template-columns: none !important;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 20px;
    gap: 12px !important;
    padding: 4px 0 8px;
    margin: 0 -20px;
    padding-inline: 20px;
    scrollbar-width: none;
  }
  .benefits--b .benefits-track::-webkit-scrollbar { display: none; }
  .benefits--b .benefit {
    flex: 0 0 78% !important;
    scroll-snap-align: start;
    min-height: 180px !important;
  }
  .benefits-swipe-hint {
    display: block;
    margin: 4px 0 0;
    font-size: 13px;
    color: rgba(255,255,255,.75);
    letter-spacing: 0.02em;
  }
}
@media (min-width: 640px) {
  .benefits-swipe-hint { display: none !important; }
}

/* ========== 2.2.1 ========== */
/* Cloud 3 was the only one overlapping the animated worker (and used
   percentage top/right → fractional layout). That overlap made Chrome
   re-rasterize it on a pixel grid (2–3 frames still, then a ~1px jump).
   Move it fully off the character, use integer positions, drop contain/
   isolation on the parent, keep GPU translate3d on the <img>, raise all
   speeds to ~14 px/s. Y stays 0. */

.hero-clouds {
  contain: none !important;
  isolation: auto !important;
  overflow: visible !important;
  filter: none !important;
  transform: none !important;
}
.hero-clouds .cloud,
.hero-clouds img.cloud,
.hero .cloud,
.hero-clouds .cloud.cloud--one,
.hero-clouds .cloud.cloud--two,
.hero-clouds .cloud.cloud--three,
.hero .cloud.cloud--one,
.hero .cloud.cloud--two,
.hero .cloud.cloud--three {
  overflow: visible !important;
  contain: none !important;
  isolation: isolate;
  will-change: transform !important;
  backface-visibility: hidden !important;
  -webkit-backface-visibility: hidden !important;
  transform: translate3d(0, 0, 0);
  filter: none !important;
  image-rendering: auto !important;
  animation-timing-function: linear !important;
  animation-iteration-count: infinite !important;
  animation-direction: alternate !important;
}

@keyframes cloud-drift    { from { transform: translate3d(0,0,0); } to { transform: translate3d(112px,0,0); } }
@keyframes ms-cloud-float { from { transform: translate3d(0,0,0); } to { transform: translate3d(112px,0,0); } }
@keyframes ms-cloud-a     { from { transform: translate3d(0,0,0); } to { transform: translate3d(112px,0,0); } }
@keyframes ms-cloud-b     { from { transform: translate3d(0,0,0); } to { transform: translate3d(-112px,0,0); } }
@keyframes ms-cloud-c     { from { transform: translate3d(0,0,0); } to { transform: translate3d(-112px,0,0); } }
@keyframes ms-cloud-a-m   { from { transform: translate3d(0,0,0); } to { transform: translate3d(56px,0,0); } }
@keyframes ms-cloud-b-m   { from { transform: translate3d(0,0,0); } to { transform: translate3d(-56px,0,0); } }
@keyframes ms-cloud-c-m   { from { transform: translate3d(0,0,0); } to { transform: translate3d(-56px,0,0); } }
@keyframes ms-cloud-a9    { from { transform: translate3d(0,0,0); } to { transform: translate3d(112px,0,0); } }
@keyframes ms-cloud-b9    { from { transform: translate3d(0,0,0); } to { transform: translate3d(-112px,0,0); } }
@keyframes ms-cloud-c9    { from { transform: translate3d(0,0,0); } to { transform: translate3d(-112px,0,0); } }
@keyframes ms-cloud-m1    { from { transform: translate3d(0,0,0); } to { transform: translate3d(56px,0,0); } }
@keyframes ms-cloud-m2    { from { transform: translate3d(0,0,0); } to { transform: translate3d(-56px,0,0); } }
@keyframes ms-cloud-m3    { from { transform: translate3d(0,0,0); } to { transform: translate3d(-56px,0,0); } }
@keyframes ms-float-a     { from { transform: translate3d(0,0,0); } to { transform: translate3d(112px,0,0); } }
@keyframes ms-float-b     { from { transform: translate3d(0,0,0); } to { transform: translate3d(-112px,0,0); } }
@keyframes ms-float-c     { from { transform: translate3d(0,0,0); } to { transform: translate3d(-112px,0,0); } }
@keyframes ms-float-m1    { from { transform: translate3d(0,0,0); } to { transform: translate3d(56px,0,0); } }
@keyframes ms-float-m2    { from { transform: translate3d(0,0,0); } to { transform: translate3d(-56px,0,0); } }
@keyframes ms-float-m3    { from { transform: translate3d(0,0,0); } to { transform: translate3d(-56px,0,0); } }

.hero-clouds .cloud.cloud--one,
.hero .cloud.cloud--one {
  animation-name: ms-float-a !important;
  animation-duration: 8s !important;
}
.hero-clouds .cloud.cloud--two,
.hero .cloud.cloud--two {
  animation-name: ms-float-b !important;
  animation-duration: 8s !important;
}
.hero-clouds .cloud.cloud--three,
.hero .cloud.cloud--three {
  /* Integer box, fully left of the worker image, below the title,
     right of the button — the pale gap next to the box. */
  top: auto !important;
  bottom: 140px !important;
  left: 560px !important;
  right: auto !important;
  width: 220px !important;
  animation-name: ms-float-c !important;
  animation-duration: 8s !important;
}

@media (max-width: 1600px) {
  .hero-clouds .cloud.cloud--three, .hero .cloud.cloud--three {
    left: 480px !important;
    width: 200px !important;
    bottom: 120px !important;
  }
}
@media (max-width: 1439px) {
  .hero-clouds .cloud.cloud--three, .hero .cloud.cloud--three {
    left: 400px !important;
    width: 190px !important;
    bottom: 100px !important;
  }
}
@media (max-width: 1279px) {
  .hero-clouds .cloud.cloud--three, .hero .cloud.cloud--three {
    left: 320px !important;
    width: 170px !important;
    bottom: 90px !important;
  }
}
@media (max-width: 1100px) {
  .hero-clouds .cloud.cloud--three, .hero .cloud.cloud--three {
    left: 240px !important;
    width: 160px !important;
    bottom: 80px !important;
  }
}
@media (max-width: 900px) and (min-width: 601px) {
  .hero-clouds .cloud.cloud--three, .hero .cloud.cloud--three {
    left: 160px !important;
    width: 150px !important;
    bottom: 70px !important;
  }
}

@media (max-width: 600px) {
  .hero-clouds .cloud.cloud--one, .hero .cloud.cloud--one {
    top: auto !important;
    bottom: 50% !important;
    left: 8px !important;
    right: auto !important;
    width: 130px !important;
    animation-name: ms-float-m1 !important;
    animation-duration: 4s !important;
  }
  .hero-clouds .cloud.cloud--two, .hero .cloud.cloud--two {
    top: auto !important;
    bottom: 34% !important;
    left: auto !important;
    right: 8px !important;
    width: 128px !important;
    animation-name: ms-float-m2 !important;
    animation-duration: 4.2s !important;
  }
  .hero-clouds .cloud.cloud--three, .hero .cloud.cloud--three {
    /* Upper-right sky band, off the worker, not under the CTA. */
    top: auto !important;
    bottom: 58% !important;
    left: auto !important;
    right: 10px !important;
    width: 120px !important;
    animation-name: ms-float-m3 !important;
    animation-duration: 4s !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-clouds .cloud, .hero .cloud { animation: none !important; }
}

/* About: real animated WebP, no bob on the anim layer */
.about-team.ms-figure-anim,
img.about-team.about-loop.ms-figure-anim,
.about-visual img.ms-figure-anim {
  animation: none !important;
  background: transparent !important;
  background-image: none !important;
}

/* ---- Benefits 2.2.1: larger two-color icons, roomier cards, accent ---- */
.benefits { padding-block: 80px !important; }
.benefits-layout,
.container.benefits-layout {
  gap: 40px !important;
  padding-bottom: 64px !important;
}
.benefits-intro {
  max-width: 760px;
}
.benefits-intro h2 {
  color: #fff !important;
  font-size: clamp(28px, 3.2vw, 44px) !important;
  letter-spacing: -0.03em;
  margin: 0 0 14px !important;
  line-height: 1.15 !important;
}
.benefits-intro p {
  color: rgba(255,255,255,.84) !important;
  font-size: clamp(16px, 1.3vw, 19px) !important;
  line-height: 1.55 !important;
  margin: 0 !important;
  max-width: 740px;
}

.benefits-track,
.benefits-layout .benefits-track {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 22px !important;
  width: 100% !important;
}

.benefits-track .benefit,
.benefit {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  min-height: 280px !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 36px 32px 34px !important;
  background: #fff !important;
  border-radius: 24px !important;
  border: 1px solid rgba(213, 229, 252, 0.7) !important;
  box-shadow: 0 16px 40px rgba(16, 45, 90, 0.10);
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease;
}
.benefit::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: #ff715b;
  border-radius: 24px 24px 0 0;
}
.benefit-index {
  position: absolute;
  top: 28px;
  right: 24px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #ff715b;
  line-height: 1;
}
.benefit-icon {
  width: 88px !important;
  height: 88px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #eef5ff 0%, #e4eefb 100%) !important;
  color: #193e76 !important;
  margin: 0 0 24px !important;
  flex: none !important;
  box-shadow: inset 0 0 0 1px rgba(25, 62, 118, 0.06);
}
.benefit-icon .icon {
  width: 52px !important;
  height: 52px !important;
  margin: 0 !important;
  color: #193e76 !important;
  display: block !important;
}
.benefit-icon .icon-accent {
  fill: #ff715b;
  color: #ff715b;
  stroke: #ff715b;
}
.benefits-track .benefit h3,
.benefit h3 {
  margin: 0 0 12px !important;
  font-size: 22px !important;
  line-height: 1.2 !important;
  letter-spacing: -0.025em;
  color: #193e76 !important;
  font-weight: 700 !important;
  padding-right: 36px;
}
.benefits-track .benefit p,
.benefit p {
  margin: 0 !important;
  font-size: 16px !important;
  line-height: 1.55 !important;
  color: #536176 !important;
  flex: 1 1 auto;
}

@media (hover: hover) and (pointer: fine) {
  .benefit:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 48px rgba(16, 45, 90, 0.16);
  }
}

@media (max-width: 1199px) {
  .benefits-track, .benefits-layout .benefits-track {
    grid-template-columns: 1fr 1fr !important;
    gap: 18px !important;
  }
  .benefits-track .benefit, .benefit {
    min-height: 260px !important;
    padding: 32px 28px 30px !important;
  }
}
@media (max-width: 639px) {
  .benefits { padding-block: 52px !important; }
  .benefits-layout, .container.benefits-layout {
    gap: 24px !important;
    padding-bottom: 40px !important;
  }
  .benefits-intro { max-width: 100%; }
  .benefits-intro p { max-width: 100%; }
  .benefits-track, .benefits-layout .benefits-track {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  .benefits-track .benefit, .benefit {
    min-height: 0 !important;
    padding: 28px 24px 26px !important;
    border-radius: 20px !important;
  }
  .benefit-icon {
    width: 80px !important;
    height: 80px !important;
    margin-bottom: 18px !important;
  }
  .benefit-icon .icon { width: 48px !important; height: 48px !important; }
  .benefits-track .benefit h3, .benefit h3 { font-size: 20px !important; }
  .benefit-index { top: 22px; right: 20px; }
}

/* 2.2.1b — lead measure, 1440 density, cloud 3 clearance from the box */
.benefits-intro p { max-width: 42rem; }
@media (min-width: 1200px) and (max-width: 1599px) {
  .benefits-track .benefit, .benefit {
    padding: 28px 22px 26px !important;
    min-height: 0 !important;
  }
  .benefit-icon { width: 76px !important; height: 76px !important; margin-bottom: 18px !important; }
  .benefit-icon .icon { width: 46px !important; height: 46px !important; }
  .benefits-track .benefit h3, .benefit h3 { font-size: 20px !important; }
  .benefits-track .benefit p, .benefit p { font-size: 15px !important; }
}
@media (min-width: 601px) and (max-width: 1439px) {
  .hero-clouds .cloud.cloud--three, .hero .cloud.cloud--three {
    left: 300px !important;
    width: 180px !important;
    bottom: 120px !important;
  }
}
.benefits-lead-end { white-space: nowrap; }

/* ========== 2.2.2 ========== */
/* 2.2.1b `max-width: 1439px` cloud-3 rule (left:300 / width:180 / bottom:120)
   leaked onto mobile and pushed the lower-right cloud past the viewport
   (clipped by the right edge, over the shoulder). Scoped above to 601–1439.
   Mobile (≤600, including 360–430): every cloud stays ≥8px inside the
   screen at both alternate extrema, in the sky band between the CTA and
   the cap — not on the cap or face. Speed, keyframes and compositing
   (translate3d, X-only, linear, 56px / 4–4.2s) are unchanged. */
@media (max-width: 600px) {
  .hero-clouds .cloud.cloud--one,
  .hero .cloud.cloud--one {
    top: auto !important;
    bottom: 354px !important;
    left: 8px !important;
    right: auto !important;
    width: 120px !important;
    animation-name: ms-float-m1 !important;
    animation-duration: 4s !important;
  }
  .hero-clouds .cloud.cloud--two,
  .hero .cloud.cloud--two {
    top: auto !important;
    bottom: 354px !important;
    left: auto !important;
    right: 8px !important;
    width: 94px !important;
    animation-name: ms-float-m2 !important;
    animation-duration: 4.2s !important;
  }
  .hero-clouds .cloud.cloud--three,
  .hero .cloud.cloud--three {
    top: auto !important;
    bottom: 354px !important;
    left: 100px !important;
    right: auto !important;
    width: 112px !important;
    animation-name: ms-float-m3 !important;
    animation-duration: 4s !important;
  }
}

/* ========== 2.2.3 ========== */
/* 1) Cloud 2 was sitting on the headline («для») at 1280–1600 (and only
   11px above it at 1920). Raise it (top: 2px) and shrink width so the
   visible puff stays ≥24px above the h1 on the whole X path.
   2) On ≤600, clouds 1+3 and then 1+2 merged into one long puff. Smaller
   widths, 36px amplitude, integer slots with ≥12px box gap at both
   extrema; still ≥8px from the screen and above the cap. */

/* Desktop / tablet: cloud 2 vs headline */
@media (min-width: 601px) {
  .hero-clouds .cloud.cloud--two,
  .hero .cloud.cloud--two {
    top: 2px !important;
    width: 300px !important;
  }
}
@media (min-width: 601px) and (max-width: 1600px) {
  .hero-clouds .cloud.cloud--two,
  .hero .cloud.cloud--two { width: 244px !important; }
}
@media (min-width: 601px) and (max-width: 1440px) {
  .hero-clouds .cloud.cloud--two,
  .hero .cloud.cloud--two { width: 216px !important; }
}
@media (min-width: 601px) and (max-width: 1366px) {
  .hero-clouds .cloud.cloud--two,
  .hero .cloud.cloud--two { width: 200px !important; }
}
@media (min-width: 601px) and (max-width: 1280px) {
  .hero-clouds .cloud.cloud--two,
  .hero .cloud.cloud--two { width: 190px !important; }
}

/* Mobile: 36px travel, three distinct clouds */
@keyframes ms-float-m1    { from { transform: translate3d(0,0,0); } to { transform: translate3d(36px,0,0); } }
@keyframes ms-float-m2    { from { transform: translate3d(0,0,0); } to { transform: translate3d(-36px,0,0); } }
@keyframes ms-float-m3    { from { transform: translate3d(0,0,0); } to { transform: translate3d(-36px,0,0); } }
@keyframes ms-cloud-m1    { from { transform: translate3d(0,0,0); } to { transform: translate3d(36px,0,0); } }
@keyframes ms-cloud-m2    { from { transform: translate3d(0,0,0); } to { transform: translate3d(-36px,0,0); } }
@keyframes ms-cloud-m3    { from { transform: translate3d(0,0,0); } to { transform: translate3d(-36px,0,0); } }
@keyframes ms-cloud-a-m   { from { transform: translate3d(0,0,0); } to { transform: translate3d(36px,0,0); } }
@keyframes ms-cloud-b-m   { from { transform: translate3d(0,0,0); } to { transform: translate3d(-36px,0,0); } }
@keyframes ms-cloud-c-m   { from { transform: translate3d(0,0,0); } to { transform: translate3d(-36px,0,0); } }

@media (max-width: 600px) {
  .hero-clouds .cloud.cloud--one,
  .hero .cloud.cloud--one {
    top: auto !important;
    bottom: 354px !important;
    left: 0 !important;
    right: auto !important;
    width: 68px !important;
    animation-name: ms-float-m1 !important;
    animation-duration: 4s !important;
  }
  .hero-clouds .cloud.cloud--three,
  .hero .cloud.cloud--three {
    top: auto !important;
    bottom: 354px !important;
    left: 156px !important;
    right: auto !important;
    width: 62px !important;
    animation-name: ms-float-m3 !important;
    animation-duration: 4s !important;
  }
  .hero-clouds .cloud.cloud--two,
  .hero .cloud.cloud--two {
    top: auto !important;
    bottom: 354px !important;
    left: auto !important;
    right: 8px !important;
    width: 72px !important;
    animation-name: ms-float-m2 !important;
    animation-duration: 4.2s !important;
  }
}


/* ========== 2.2.4 ========== */
/* Desktop 1280–1920: clouds 1 and 2 sat in the same sky band and closed
   into one long puff at opposite extrema (c1 +112, c2 −112). Spread them:
   c1 stays top-left above the title; c2 parks top-right in the band
   between the header and the cap (fully right of the h1, so a <24px
   title gap is allowed). Visible width ≥ ~220px; AABB gap ≥40px in every
   phase combo; ≥24px above the h1 when they share its X; not on the cap;
   not clipped by section overflow. Amplitude stays 112px except c3 at
   1280–1365 (−100px) where the button–worker pocket is tight.
   Each min-width stage uses the *narrow* end for vertical slots (tightest
   cap/title budget) and the *wide* end for c2.left (widest h1).
   Mobile ≤600: the round cloud is too tall for the CTA–cap band at
   ≥120px visible width, so cloud--two is hidden. cloud--one (wide, left)
   and cloud--three (blue, right) are 150/160px boxes (~130–140px visible),
   same-direction −40px travel so the gap stays ≥16px, ≥8px from the
   screen, and clear of the cap. */

@keyframes ms-float-c-sm { from { transform: translate3d(0,0,0); } to { transform: translate3d(-100px,0,0); } }

@media (min-width: 1280px) {
  .hero-clouds .cloud.cloud--one,
  .hero .cloud.cloud--one {
    top: 8px !important;
    bottom: auto !important;
    left: 24px !important;
    right: auto !important;
    width: 260px !important;
    max-width: none !important;
    animation-name: ms-float-a !important;
    animation-duration: 8s !important;
  }
  .hero-clouds .cloud.cloud--two,
  .hero .cloud.cloud--two {
    /* top for 1280 cap budget; left for 1365 title width */
    top: -20px !important;
    bottom: auto !important;
    left: 612px !important;
    right: auto !important;
    width: 260px !important;
    max-width: none !important;
    animation-name: ms-float-b !important;
    animation-duration: 8s !important;
  }
  .hero-clouds .cloud.cloud--three,
  .hero .cloud.cloud--three {
    top: auto !important;
    bottom: 74px !important;
    left: 326px !important;
    right: auto !important;
    width: 256px !important;
    max-width: none !important;
    animation-name: ms-float-c-sm !important;
    animation-duration: 8s !important;
  }
}

@media (min-width: 1366px) {
  .hero-clouds .cloud.cloud--one,
  .hero .cloud.cloud--one {
    top: 10px !important;
    left: 28px !important;
    width: 270px !important;
    animation-name: ms-float-a !important;
    animation-duration: 8s !important;
  }
  .hero-clouds .cloud.cloud--two,
  .hero .cloud.cloud--two {
    /* top for 1366 cap budget; left for 1439 title width */
    top: -10px !important;
    left: 640px !important;
    width: 260px !important;
    animation-name: ms-float-b !important;
    animation-duration: 8s !important;
  }
  .hero-clouds .cloud.cloud--three,
  .hero .cloud.cloud--three {
    bottom: 86px !important;
    left: 352px !important;
    width: 260px !important;
    animation-name: ms-float-c !important;
    animation-duration: 8s !important;
  }
}

@media (min-width: 1440px) {
  .hero-clouds .cloud.cloud--one,
  .hero .cloud.cloud--one {
    top: 10px !important;
    left: 40px !important;
    width: 280px !important;
  }
  .hero-clouds .cloud.cloud--two,
  .hero .cloud.cloud--two {
    /* top for 1440 cap budget; left for 1535 title width */
    top: 0 !important;
    left: 676px !important;
    width: 260px !important;
  }
  .hero-clouds .cloud.cloud--three,
  .hero .cloud.cloud--three {
    bottom: 98px !important;
    left: 368px !important;
    width: 260px !important;
    animation-name: ms-float-c !important;
  }
}

@media (min-width: 1536px) {
  .hero-clouds .cloud.cloud--one,
  .hero .cloud.cloud--one {
    top: 10px !important;
    left: 40px !important;
    width: 280px !important;
  }
  .hero-clouds .cloud.cloud--two,
  .hero .cloud.cloud--two {
    /* top for 1536 cap budget; left for 1599 title width */
    top: 4px !important;
    left: 700px !important;
    width: 270px !important;
  }
  .hero-clouds .cloud.cloud--three,
  .hero .cloud.cloud--three {
    bottom: 108px !important;
    left: 384px !important;
    width: 268px !important;
  }
}

@media (min-width: 1600px) {
  .hero-clouds .cloud.cloud--one,
  .hero .cloud.cloud--one {
    top: 10px !important;
    left: 44px !important;
    width: 280px !important;
  }
  .hero-clouds .cloud.cloud--two,
  .hero .cloud.cloud--two {
    /* top for 1600 cap budget; left for 1919 title width */
    top: 6px !important;
    left: 818px !important;
    width: 280px !important;
  }
  .hero-clouds .cloud.cloud--three,
  .hero .cloud.cloud--three {
    bottom: 116px !important;
    left: 400px !important;
    width: 270px !important;
  }
}

@media (min-width: 1920px) {
  .hero-clouds .cloud.cloud--one,
  .hero .cloud.cloud--one {
    top: 10px !important;
    left: 48px !important;
    width: 300px !important;
  }
  .hero-clouds .cloud.cloud--two,
  .hero .cloud.cloud--two {
    top: 10px !important;
    left: 818px !important;
    width: 300px !important;
  }
  .hero-clouds .cloud.cloud--three,
  .hero .cloud.cloud--three {
    bottom: 160px !important;
    left: 500px !important;
    width: 280px !important;
  }
}

/* Mobile: two clouds, same-direction −28px, visible ~126–130px.
   Phases are independent, so the worst case is c1 at 0 (rightmost) and
   c3 at −28 (leftmost). Parked at the edges so that combo still has
   ≥16px gap and ≥8px from the screen. Duration 3s ≈ 9 px/s. */
@keyframes ms-float-m1    { from { transform: translate3d(0,0,0); } to { transform: translate3d(-28px,0,0); } }
@keyframes ms-float-m2    { from { transform: translate3d(0,0,0); } to { transform: translate3d(-28px,0,0); } }
@keyframes ms-float-m3    { from { transform: translate3d(0,0,0); } to { transform: translate3d(-28px,0,0); } }
@keyframes ms-cloud-m1    { from { transform: translate3d(0,0,0); } to { transform: translate3d(-28px,0,0); } }
@keyframes ms-cloud-m2    { from { transform: translate3d(0,0,0); } to { transform: translate3d(-28px,0,0); } }
@keyframes ms-cloud-m3    { from { transform: translate3d(0,0,0); } to { transform: translate3d(-28px,0,0); } }
@keyframes ms-cloud-a-m   { from { transform: translate3d(0,0,0); } to { transform: translate3d(-28px,0,0); } }
@keyframes ms-cloud-b-m   { from { transform: translate3d(0,0,0); } to { transform: translate3d(-28px,0,0); } }
@keyframes ms-cloud-c-m   { from { transform: translate3d(0,0,0); } to { transform: translate3d(-28px,0,0); } }

@media (max-width: 600px) {
  .hero-clouds .cloud.cloud--two,
  .hero .cloud.cloud--two {
    display: none !important;
    animation: none !important;
  }
  .hero-clouds .cloud.cloud--one,
  .hero .cloud.cloud--one {
    display: block !important;
    top: auto !important;
    bottom: 348px !important;
    left: 4px !important;
    right: auto !important;
    width: 145px !important;
    max-width: none !important;
    animation-name: ms-float-m1 !important;
    animation-duration: 3s !important;
  }
  .hero-clouds .cloud.cloud--three,
  .hero .cloud.cloud--three {
    display: block !important;
    top: auto !important;
    bottom: 348px !important;
    left: auto !important;
    right: -26px !important;
    width: 148px !important;
    max-width: none !important;
    animation-name: ms-float-m3 !important;
    animation-duration: 3s !important;
  }
}

/* ========== 2.2.5 ========== */
/* New hero/about animated WebP (630×936 and 760×492). Update the hero
   figure box to the new canvas aspect. A still is shown ONLY when
   prefers-reduced-motion is set (via <picture>), never under the anim. */
.hero-art img.hero-worker,
img.hero-worker.hero-loop,
.hero-worker.hero-loop,
.hero-worker.ms-figure-anim {
  aspect-ratio: 630 / 936 !important;
  width: min(52vw, calc(600 * var(--u)), calc((100% - 36px) * 630 / 936)) !important;
  background: transparent !important;
  background-image: none !important;
}
@media (max-width: 1100px) {
  .hero-art img.hero-worker,
  img.hero-worker.hero-loop,
  .hero-worker.hero-loop,
  .hero-worker.ms-figure-anim {
    width: min(48vw, 430px, calc((100% - 28px) * 630 / 936)) !important;
    max-width: min(48vw, 430px) !important;
  }
}
@media (max-width: 600px) {
  .hero-art img.hero-worker,
  img.hero-worker.hero-loop,
  .hero-worker.hero-loop,
  .hero-worker.ms-figure-anim {
    width: min(calc(100% - 12px), calc(412px * 630 / 936)) !important;
    max-width: calc(100% - 12px) !important;
    height: 412px !important;
    max-height: 412px !important;
  }
}
@media (max-width: 350px) {
  .hero-art img.hero-worker,
  img.hero-worker.hero-loop,
  .hero-worker.hero-loop,
  .hero-worker.ms-figure-anim {
    width: min(calc(100% - 12px), calc(385px * 630 / 936)) !important;
    height: 385px !important;
    max-height: 385px !important;
  }
}
.about-visual img.about-team,
.about-team.about-loop,
.about-visual img.ms-figure-anim,
img.about-team.ms-figure-anim {
  background: transparent !important;
  background-image: none !important;
  animation: none !important;
}
@media (prefers-reduced-motion: reduce) {
  .hero-worker.ms-figure-anim,
  .about-team.ms-figure-anim {
    animation: none !important;
  }
}

/* ========== 2.2.6 ========== */
/* Cloud parking recalculated for the 630×936 hero (taller cap).
   Motion unchanged from 2.2.4: translate3d X-only, integer px,
   112px / 8s (c3 −100px at 1280–1365), mobile −28px / 3s.
   ≥16px from the hero in every alternate phase. */

/* Desktop: pull c2 left of the cap (no lift — already at the hero top).
   Shift c1 left so the 40px c1–c2 gap still holds at opposite extrema.
   At 1280–1365 c3 drops slightly in the button–worker pocket and nudges
   left so it clears the torso without crossing the CTA. */
@media (min-width: 1280px) {
  .hero-clouds .cloud.cloud--one,
  .hero .cloud.cloud--one {
    top: 8px !important;
    left: -71px !important;
    width: 260px !important;
  }
  .hero-clouds .cloud.cloud--two,
  .hero .cloud.cloud--two {
    top: -20px !important;
    left: 417px !important;
    width: 260px !important;
  }
  .hero-clouds .cloud.cloud--three,
  .hero .cloud.cloud--three {
    bottom: 18px !important;
    left: 301px !important;
    width: 256px !important;
  }
}
@media (min-width: 1366px) {
  .hero-clouds .cloud.cloud--one,
  .hero .cloud.cloud--one {
    top: 10px !important;
    left: -33px !important;
    width: 270px !important;
  }
  .hero-clouds .cloud.cloud--two,
  .hero .cloud.cloud--two {
    top: -10px !important;
    left: 463px !important;
    width: 260px !important;
  }
  .hero-clouds .cloud.cloud--three,
  .hero .cloud.cloud--three {
    bottom: 30px !important;
    left: 336px !important;
    width: 260px !important;
  }
}
@media (min-width: 1440px) {
  .hero-clouds .cloud.cloud--one,
  .hero .cloud.cloud--one {
    top: 10px !important;
    left: -5px !important;
    width: 280px !important;
  }
  .hero-clouds .cloud.cloud--two,
  .hero .cloud.cloud--two {
    top: 0 !important;
    left: 502px !important;
    width: 260px !important;
  }
  .hero-clouds .cloud.cloud--three,
  .hero .cloud.cloud--three {
    bottom: 98px !important;
    left: 368px !important;
    width: 260px !important;
  }
}
@media (min-width: 1536px) {
  .hero-clouds .cloud.cloud--one,
  .hero .cloud.cloud--one {
    top: 10px !important;
    left: 36px !important;
    width: 280px !important;
  }
  .hero-clouds .cloud.cloud--two,
  .hero .cloud.cloud--two {
    top: 4px !important;
    left: 543px !important;
    width: 270px !important;
  }
  .hero-clouds .cloud.cloud--three,
  .hero .cloud.cloud--three {
    bottom: 108px !important;
    left: 384px !important;
    width: 268px !important;
  }
}
@media (min-width: 1600px) {
  .hero-clouds .cloud.cloud--one,
  .hero .cloud.cloud--one {
    top: 10px !important;
    left: 44px !important;
    width: 280px !important;
  }
  .hero-clouds .cloud.cloud--two,
  .hero .cloud.cloud--two {
    top: 6px !important;
    left: 566px !important;
    width: 280px !important;
  }
  .hero-clouds .cloud.cloud--three,
  .hero .cloud.cloud--three {
    bottom: 116px !important;
    left: 400px !important;
    width: 270px !important;
  }
}
@media (min-width: 1920px) {
  .hero-clouds .cloud.cloud--one,
  .hero .cloud.cloud--one {
    top: 10px !important;
    left: 48px !important;
    width: 300px !important;
  }
  .hero-clouds .cloud.cloud--two,
  .hero .cloud.cloud--two {
    top: 10px !important;
    left: 717px !important;
    width: 300px !important;
  }
  .hero-clouds .cloud.cloud--three,
  .hero .cloud.cloud--three {
    bottom: 160px !important;
    left: 500px !important;
    width: 280px !important;
  }
}

/* Mobile: the 412px-tall figure left only ~23px between the CTA and the
   cap, too little for a 55–59px puff. Shrink the figure (keep 630/936)
   so the cap sits lower, then park the two clouds in that band. */
@media (max-width: 600px) {
  /* 360 leaked 2px of horizontal scroll from the partners ticker
     (parent already overflow:hidden, but the document still grew). */
  html { overflow-x: hidden; }
  section.hero .hero-art img.hero-worker,
  section.hero .hero-art picture img.hero-worker,
  section.hero img.hero-worker.hero-loop,
  section.hero .hero-worker.hero-loop,
  section.hero .hero-worker.ms-figure-anim {
    width: min(calc(100% - 12px), calc(340px * 630 / 936)) !important;
    max-width: min(calc(100% - 12px), calc(340px * 630 / 936)) !important;
    height: 340px !important;
    max-height: 340px !important;
    min-height: 0 !important;
  }
  .hero-clouds .cloud.cloud--one,
  .hero .cloud.cloud--one {
    bottom: 348px !important;
  }
  .hero-clouds .cloud.cloud--three,
  .hero .cloud.cloud--three {
    bottom: 348px !important;
  }
}
@media (max-width: 350px) {
  .hero-art img.hero-worker,
  img.hero-worker.hero-loop,
  .hero-worker.hero-loop,
  .hero-worker.ms-figure-anim {
    width: min(calc(100% - 12px), calc(320px * 630 / 936)) !important;
    height: 320px !important;
    max-height: 320px !important;
  }
  .hero-clouds .cloud.cloud--one,
  .hero .cloud.cloud--one,
  .hero-clouds .cloud.cloud--three,
  .hero .cloud.cloud--three {
    bottom: 274px !important;
  }
}

/* ========== 2.2.7 ========== */
/* About: ship at 960×622 (Lanczos from native 1102×714 crop, never
   larger than the source crop). Update the stale 1308/784 box so the
   image is not letterboxed or stretched, and cap 1× display at native. */
.about-visual video.about-team,
.about-visual video,
.about-team.about-loop,
.about-visual .about-team,
.about-visual img.about-team,
.about-team.about-loop,
.about-visual img.ms-figure-anim,
img.about-team.ms-figure-anim {
  aspect-ratio: 960 / 622 !important;
  max-width: 960px;
}

/* Mobile hero: the 420px art slot + 340px figure were correct for the
   cloud band, but header (101) + copy + art (754–769) put the box
   55–70px below the 800px fold. Tighten only the copy (desktop
   unchanged) so 360–430 × 800 shows the box, hands, and a small
   margin. Cloud parking and figure size stay as in 2.2.6, so the
   CTA–cap band (~86px) and the ≥16px cloud gaps are preserved. */
@media (max-width: 600px) {
  section.hero .hero-inner.container,
  section.hero .hero-inner {
    padding-top: 6px !important;
  }
  section.hero .hero-copy h1,
  section.hero h1#hero-title,
  section.hero h1 {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    font-size: clamp(29px, 8vw, 32px) !important;
  }
  section.hero .hero-copy > p,
  section.hero .hero-copy p {
    margin-top: 8px !important;
    margin-bottom: 10px !important;
  }
  section.hero .hero-copy > .button,
  section.hero .button[data-open-request] {
    min-height: 48px !important;
    padding-top: 12px !important;
    padding-bottom: 12px !important;
  }
}
@media (max-width: 380px) {
  section.hero .hero-inner.container,
  section.hero .hero-inner {
    padding-top: 4px !important;
  }
  section.hero .hero-copy h1,
  section.hero h1#hero-title,
  section.hero h1 {
    font-size: 29px !important;
  }
  section.hero .hero-copy > p,
  section.hero .hero-copy p {
    margin-top: 6px !important;
    margin-bottom: 8px !important;
    font-size: 15px !important;
    line-height: 1.4 !important;
  }
}

/* ========== 2.3.0 ========== */
/* Composite video (no chroma key) on the measured section colors:
   hero #EAF3FC, about #FAFAFA. A 8% edge fade hides the video frame.
   Layout matches 2.2.6/2.2.7 (hero aspect ~748/1110 ≈ 630/936).
   Clouds and benefits are unchanged. */
.ms-figure-still { display: none !important; }
@media (prefers-reduced-motion: reduce) {
  video.ms-figure-anim { display: none !important; }
  .ms-figure-still { display: block !important; }
}

.hero-art video.hero-worker,
video.hero-worker.hero-loop,
video.hero-worker.ms-figure-anim,
video.hero-worker {
  position: absolute;
  z-index: 3;
  right: clamp(8px, calc(100 * var(--u)), 140px);
  bottom: 0;
  left: auto;
  width: min(52vw, calc(600 * var(--u)), calc((100% - 36px) * 748 / 1110)) !important;
  max-width: min(52vw, calc(600 * var(--u)));
  height: auto;
  max-height: calc(100% - 36px);
  aspect-ratio: 748 / 1110 !important;
  object-fit: contain;
  object-position: bottom center;
  background: #eaf3fc !important;
  background-image: none !important;
  pointer-events: none;
  border: 0;
  outline: none;
  box-shadow: none !important;
  animation: none !important;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%),
                      linear-gradient(to bottom, transparent 0%, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-composite: source-in, source-over;
  mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%),
              linear-gradient(to bottom, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask-composite: intersect;
}
@media (max-width: 1100px) {
  .hero-art video.hero-worker,
  video.hero-worker.hero-loop,
  video.hero-worker.ms-figure-anim {
    width: min(48vw, 430px, calc((100% - 28px) * 748 / 1110)) !important;
    max-width: min(48vw, 430px) !important;
  }
}
@media (max-width: 600px) {
  section.hero .hero-art video.hero-worker,
  section.hero video.hero-worker.hero-loop,
  section.hero video.hero-worker.ms-figure-anim {
    left: 50%;
    right: auto;
    transform: translate3d(-50%, 0, 0);
    width: min(calc(100% - 12px), calc(340px * 748 / 1110)) !important;
    max-width: min(calc(100% - 12px), calc(340px * 748 / 1110)) !important;
    height: 340px !important;
    max-height: 340px !important;
    min-height: 0 !important;
  }
}
@media (max-width: 350px) {
  .hero-art video.hero-worker,
  video.hero-worker.hero-loop,
  video.hero-worker.ms-figure-anim {
    width: min(calc(100% - 12px), calc(320px * 748 / 1110)) !important;
    height: 320px !important;
    max-height: 320px !important;
  }
}

.about-visual video.about-team,
video.about-team.about-loop,
video.about-team.ms-figure-anim,
video.about-team {
  width: 100%;
  height: auto;
  max-width: 1920px;
  display: block;
  position: relative;
  aspect-ratio: 1920 / 1088 !important;
  object-fit: contain;
  object-position: center bottom;
  background: #fafafa !important;
  background-image: none !important;
  border: 0;
  outline: none;
  box-shadow: none !important;
  animation: none !important;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%),
                      linear-gradient(to bottom, transparent 0%, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-composite: source-in, source-over;
  mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%),
              linear-gradient(to bottom, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask-composite: intersect;
}

/* Keep the still (reduced-motion only) in the same box as the video. */
.hero-art img.hero-worker.ms-figure-still,
img.hero-worker.ms-figure-still {
  aspect-ratio: 748 / 1110 !important;
  background: #eaf3fc !important;
}
.about-visual img.about-team.ms-figure-still,
img.about-team.ms-figure-still {
  aspect-ratio: 1920 / 1088 !important;
  background: #fafafa !important;
  max-width: 1920px;
}

/* ========== 2.3.1 ========== */

/* YUV-safe hero field: match the color Chrome actually paints for the loop. */
section.hero {
  background: #eaf3fd !important;
  background-image: none !important;
}
section.hero .hero-art video.hero-worker,
section.hero video.hero-worker,
section.hero img.hero-worker.ms-figure-still {
  background: #eaf3fd !important;
}

/* 1) Clouds paint ABOVE the opaque video, text/button stay above clouds.
      hero-inner must not create a stacking context that traps the video
      above the sibling .hero-clouds. Desktop cloud parking is unchanged. */
section.hero > .hero-inner,
section.hero .hero-inner {
  z-index: auto !important;
}
section.hero .hero-art {
  z-index: 1 !important;
}
section.hero .hero-art video.hero-worker,
section.hero video.hero-worker.hero-loop,
section.hero video.hero-worker.ms-figure-anim,
section.hero video.hero-worker,
section.hero .hero-art img.hero-worker.ms-figure-still,
section.hero img.hero-worker.ms-figure-still {
  z-index: 1 !important;
}
section.hero > .hero-clouds,
section.hero .hero-clouds {
  z-index: 4 !important;
}
section.hero .hero-clouds .cloud,
section.hero .hero-clouds img.cloud,
section.hero .cloud {
  z-index: 4 !important;
}
section.hero .hero-copy {
  position: relative !important;
  z-index: 5 !important;
}

/* 2) Wider edge fade than 2.3.0's 8%, but only as far as the real
      padding around the character (an 18% fade on all sides would
      dissolve the hero box and the about mop). Hero: 12% L/R/top,
      6% bottom. About: 15% left, 10% right, 6% top, 8% bottom.
      New native aspects: hero 720×1088, about 1280×720. */
section.hero .hero-art video.hero-worker,
section.hero video.hero-worker.hero-loop,
section.hero video.hero-worker.ms-figure-anim,
section.hero video.hero-worker {
  aspect-ratio: 720 / 1088 !important;
  width: min(52vw, calc(600 * var(--u)), calc((100% - 36px) * 720 / 1088)) !important;
  max-width: min(52vw, calc(600 * var(--u)));
  background: #eaf3fd !important;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 12%, #000 88%, transparent 100%),
                      linear-gradient(to bottom, transparent 0%, #000 12%, #000 94%, transparent 100%);
  -webkit-mask-composite: source-in, source-over;
  mask-image: linear-gradient(to right, transparent 0%, #000 12%, #000 88%, transparent 100%),
              linear-gradient(to bottom, transparent 0%, #000 12%, #000 94%, transparent 100%);
  mask-composite: intersect;
}
@media (max-width: 1100px) {
  section.hero .hero-art video.hero-worker,
  section.hero video.hero-worker.hero-loop,
  section.hero video.hero-worker.ms-figure-anim {
    width: min(48vw, 430px, calc((100% - 28px) * 720 / 1088)) !important;
    max-width: min(48vw, 430px) !important;
  }
}

.about-visual video.about-team,
video.about-team.about-loop,
video.about-team.ms-figure-anim,
video.about-team {
  aspect-ratio: 1280 / 720 !important;
  max-width: 1280px;
  background: #fafafa !important;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 15%, #000 90%, transparent 100%),
                      linear-gradient(to bottom, transparent 0%, #000 6%, #000 92%, transparent 100%);
  -webkit-mask-composite: source-in, source-over;
  mask-image: linear-gradient(to right, transparent 0%, #000 15%, #000 90%, transparent 100%),
              linear-gradient(to bottom, transparent 0%, #000 6%, #000 92%, transparent 100%);
  mask-composite: intersect;
}

section.hero .hero-art img.hero-worker.ms-figure-still,
img.hero-worker.ms-figure-still {
  aspect-ratio: 720 / 1088 !important;
  background: #eaf3fd !important;
}
.about-visual img.about-team.ms-figure-still,
img.about-team.ms-figure-still {
  aspect-ratio: 1280 / 720 !important;
  background: #fafafa !important;
  max-width: 1280px;
}

/* 3) Mobile: figure ~73% of the viewport, pulled up. Art slot = figure
      height + ~110px cloud band (16px to the button, 16px to the cap).
      The box may sit below the 800px fold; the section must not clip it. */
@media (max-width: 600px) {
  section.hero .hero-art {
    height: calc(73vw * 1088 / 720 + 52px) !important;
    min-height: calc(73vw * 1088 / 720 + 52px) !important;
    overflow: visible !important;
    margin-top: 6px !important;
  }
  section.hero .hero-art video.hero-worker,
  section.hero video.hero-worker.hero-loop,
  section.hero video.hero-worker.ms-figure-anim,
  section.hero .hero-art img.hero-worker.ms-figure-still,
  section.hero img.hero-worker.ms-figure-still {
    left: 50%;
    right: auto;
    transform: translate3d(-50%, 0, 0);
    width: 73vw !important;
    max-width: min(73vw, calc(100% - 24px)) !important;
    height: auto !important;
    max-height: none !important;
    min-height: 0 !important;
    aspect-ratio: 720 / 1088 !important;
    bottom: 0 !important;
  }
  /* Clouds sit in the band above the cap, 16px clearance. */
  section.hero .hero-clouds .cloud.cloud--one,
  section.hero .cloud.cloud--one,
  section.hero .hero-clouds .cloud.cloud--three,
  section.hero .cloud.cloud--three {
    bottom: calc(73vw * 1088 / 720 - 42px) !important;
  }
}
@media (max-width: 350px) {
  section.hero .hero-art {
    height: calc(73vw * 1088 / 720 + 48px) !important;
    min-height: calc(73vw * 1088 / 720 + 48px) !important;
  }
  section.hero .hero-clouds .cloud.cloud--one,
  section.hero .cloud.cloud--one,
  section.hero .hero-clouds .cloud.cloud--three,
  section.hero .cloud.cloud--three {
    bottom: calc(73vw * 1088 / 720 - 42px) !important;
  }
}

/* ========== 2.3.3 ========== */
/* White-background loops + mix-blend-mode: multiply.
   Chrome does not actually blend a hardware-composited <video> with the
   section (computed style says "multiply", but the pixels stay white).
   Blend on the wrappers (.hero-art / .about-visual) instead; the video
   itself is mix-blend-mode: normal. The section is isolated so the
   backdrop is the section color, not the page. Clouds (z 4) and text
   (z 5) paint after the wrapper (z 1) and are not multiplied.
   CSS mask is removed: it was cutting the about feet on mobile. */

section.hero,
section.about {
  isolation: isolate !important;
}
section.hero > .hero-inner,
section.hero .hero-inner,
section.hero .hero-art,
section.about .about-inner,
section.about .about-visual {
  isolation: auto !important;
}

section.hero .hero-art,
section.about .about-visual {
  mix-blend-mode: multiply !important;
}

section.hero .hero-art video.hero-worker,
section.hero video.hero-worker.hero-loop,
section.hero video.hero-worker.ms-figure-anim,
section.hero video.hero-worker,
section.hero .hero-art img.hero-worker.ms-figure-still,
section.hero img.hero-worker.ms-figure-still,
.about-visual video.about-team,
video.about-team.about-loop,
video.about-team.ms-figure-anim,
video.about-team,
.about-visual img.about-team.ms-figure-still,
img.about-team.ms-figure-still {
  mix-blend-mode: normal !important;
  isolation: auto !important;
  background: #fff !important;
  background-image: none !important;
  will-change: auto !important;
  filter: none !important;
  backface-visibility: visible !important;
  opacity: 1 !important;
  -webkit-mask-image: none !important;
  mask-image: none !important;
  -webkit-mask: none !important;
  mask: none !important;
}

/* Mobile hero: center without translate3d. */
@media (max-width: 600px) {
  section.hero .hero-art video.hero-worker,
  section.hero video.hero-worker.hero-loop,
  section.hero video.hero-worker.ms-figure-anim,
  section.hero .hero-art img.hero-worker.ms-figure-still,
  section.hero img.hero-worker.ms-figure-still {
    left: 0 !important;
    right: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    transform: none !important;
  }
  section.about,
  section.about .about-inner,
  section.about .about-visual {
    overflow: visible !important;
  }
  .about-visual video.about-team,
  video.about-team.about-loop,
  video.about-team.ms-figure-anim,
  .about-visual img.about-team.ms-figure-still {
    overflow: visible !important;
    object-fit: contain !important;
    object-position: center center !important;
    height: auto !important;
    max-height: none !important;
  }
}

/* ========== 2.4.0 ========== */
/* Hero loop cropped to 720×1010 so the body cut is the last row of the
   frame. The video stays bottom-aligned; the old 6–9% pad inside the
   1088-tall frame was the gap under the figure. */
section.hero .hero-art video.hero-worker,
section.hero video.hero-worker.hero-loop,
section.hero video.hero-worker.ms-figure-anim,
section.hero video.hero-worker,
section.hero .hero-art img.hero-worker.ms-figure-still,
section.hero img.hero-worker.ms-figure-still {
  aspect-ratio: 720 / 1010 !important;
  width: min(52vw, calc(600 * var(--u)), calc((100% - 36px) * 720 / 1010)) !important;
  max-width: min(52vw, calc(600 * var(--u)));
  bottom: 0 !important;
  object-fit: contain !important;
  object-position: 50% 100% !important;
}
@media (max-width: 1100px) and (min-width: 601px) {
  section.hero .hero-art video.hero-worker,
  section.hero video.hero-worker.hero-loop,
  section.hero video.hero-worker.ms-figure-anim,
  section.hero .hero-art img.hero-worker.ms-figure-still {
    width: min(48vw, 430px, calc((100% - 28px) * 720 / 1010)) !important;
    max-width: min(48vw, 430px) !important;
  }
}
@media (max-width: 600px) {
  section.hero .hero-art {
    height: calc(73vw * 1010 / 720 + 52px) !important;
    min-height: calc(73vw * 1010 / 720 + 52px) !important;
  }
  section.hero .hero-art video.hero-worker,
  section.hero video.hero-worker.hero-loop,
  section.hero video.hero-worker.ms-figure-anim,
  section.hero .hero-art img.hero-worker.ms-figure-still,
  section.hero img.hero-worker.ms-figure-still {
    aspect-ratio: 720 / 1010 !important;
    width: 73vw !important;
    max-width: min(73vw, calc(100% - 24px)) !important;
    height: auto !important;
    max-height: none !important;
    bottom: 0 !important;
  }
  section.hero .hero-clouds .cloud.cloud--one,
  section.hero .cloud.cloud--one,
  section.hero .hero-clouds .cloud.cloud--three,
  section.hero .cloud.cloud--three {
    bottom: calc(73vw * 1010 / 720 - 42px) !important;
  }
}
@media (max-width: 350px) {
  section.hero .hero-art {
    height: calc(73vw * 1010 / 720 + 48px) !important;
    min-height: calc(73vw * 1010 / 720 + 48px) !important;
  }
  section.hero .hero-clouds .cloud.cloud--one,
  section.hero .cloud.cloud--one,
  section.hero .hero-clouds .cloud.cloud--three,
  section.hero .cloud.cloud--three {
    bottom: calc(73vw * 1010 / 720 - 42px) !important;
  }
}

/* Benefit cards: large work-scene heroes, same size in every card.
   Numbers 01–04 and the coral top line stay. Icons are gone. */
.benefit-icon { display: none !important; }
.benefit-hero,
img.benefit-hero,
.benefit img.benefit-hero {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: 280px !important;
  max-height: 280px !important;
  margin: 8px 0 10px !important;
  padding: 0 !important;
  object-fit: contain !important;
  object-position: center bottom !important;
  aspect-ratio: auto !important;
  background: #fff !important;
  border-radius: 0 !important;
  mix-blend-mode: normal !important;
}
.benefit-index { z-index: 1; }
@media (min-width: 1200px) and (max-width: 1599px) {
  .benefit-hero,
  img.benefit-hero,
  .benefit img.benefit-hero {
    height: 250px !important;
    max-height: 250px !important;
  }
}
@media (max-width: 639px) {
  .benefits-track,
  .benefits-layout .benefits-track {
    grid-template-columns: 1fr !important;
  }
  .benefit-hero,
  img.benefit-hero,
  .benefit img.benefit-hero {
    height: 240px !important;
    max-height: 240px !important;
  }
}

/* ========== 2.4.1 ========== */
/* Benefit work-scenes: full-bleed illustration at the top of the card,
   equal 3/4 height, large on desktop and mobile. Text keeps side padding.
   Numbers 01–04 and the coral top line stay. */
.benefits-track .benefit,
.benefit {
  padding: 0 0 28px !important;
  overflow: hidden !important;
}
.benefit::before { z-index: 2; }
.benefit-hero,
img.benefit-hero,
.benefit img.benefit-hero {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: none !important;
  aspect-ratio: 3 / 4 !important;
  object-fit: contain !important;
  object-position: center bottom !important;
  margin: 0 0 14px !important;
  padding: 0 !important;
  background: #fff !important;
  border-radius: 0 !important;
  mix-blend-mode: normal !important;
}
.benefits-track .benefit h3,
.benefit h3 {
  margin: 0 22px 8px !important;
}
.benefits-track .benefit p,
.benefit p {
  margin: 0 22px !important;
}
.benefit-index {
  top: 12px !important;
  right: 14px !important;
  z-index: 2;
}
@media (max-width: 639px) {
  .benefits-track,
  .benefits-layout .benefits-track {
    grid-template-columns: 1fr !important;
  }
  .benefits-track .benefit,
  .benefit {
    padding: 0 0 24px !important;
  }
  .benefit-hero,
  img.benefit-hero,
  .benefit img.benefit-hero {
    margin-bottom: 12px !important;
  }
  .benefits-track .benefit h3,
  .benefit h3,
  .benefits-track .benefit p,
  .benefit p {
    margin-left: 20px !important;
    margin-right: 20px !important;
  }
}

/* ========== 2.4.2 ========== */
/* Compact header, tighter "Как всё работает", restyled benefits,
   and on desktop the form mascot may peek above the card. */

/* --- Header: compact on PC (>=1024) only; <1024 stays exactly as in 2.4.1 --- */
:root { --ms-header: calc(196 * var(--u)); --ms-scroll: calc(var(--ms-header) + 16px); }
@media (max-width: 800px) {
  :root { --ms-header: 100px; --ms-scroll: 116px; }
}
@media (min-width: 1024px) {
  :root { --ms-header: 76px; --ms-scroll: 92px; }
}
html { scroll-padding-top: var(--ms-scroll) !important; }
#industries, #about, #services, #benefits, #gallery, #videos,
#request, #contacts, #steps,
section[id], footer[id], .proof-wrap[id] {
  scroll-margin-top: var(--ms-scroll) !important;
}

@media (min-width: 1024px) {
  .site-header .header-inner,
  .header-inner,
  .header-inner.container,
  .site-header.is-compact .header-inner {
    height: 76px !important;
    min-height: 76px !important;
    max-height: 76px !important;
    gap: 16px !important;
  }
  .brand {
    width: 72px !important;
    flex: none !important;
  }
  .brand img,
  .brand-logo,
  .brand .brand-logo {
    width: 100% !important;
    height: auto !important;
    max-height: 56px !important;
    object-fit: contain !important;
  }
  .desktop-nav {
    gap: 20px !important;
    margin-left: 24px !important;
    font-size: 15px !important;
  }
  .desktop-nav a { padding: 8px 0 !important; }
  .header-contact {
    font-size: 15px !important;
    gap: 2px !important;
  }
  .header-contact > span { font-size: 12px !important; }
  .site-header .header-request,
  .header-request {
    min-width: 0 !important;
    width: auto !important;
    min-height: 44px !important;
    height: 44px !important;
    max-height: 44px !important;
    padding: 0 20px !important;
    margin-left: 16px !important;
    font-size: 15px !important;
    border-radius: 10px !important;
  }
}
@media (min-width: 1024px) and (max-width: 1200px) {
  .desktop-nav { gap: 14px !important; font-size: 14px !important; margin-left: 12px !important; }
  .header-request { padding: 0 14px !important; font-size: 14px !important; }
  .brand { width: 64px !important; }
}

/* Re-assert 2.4.1 header metrics below the PC breakpoint. */
@media (max-width: 1023px) {
  .site-header .header-inner,
  .header-inner,
  .header-inner.container,
  .site-header.is-compact .header-inner {
    height: calc(196 * var(--u)) !important;
    min-height: calc(196 * var(--u)) !important;
    max-height: none !important;
    gap: calc(24 * var(--u)) !important;
  }
  .brand { width: calc(110 * var(--u)) !important; flex: none !important; }
  .brand img,
  .brand-logo,
  .brand .brand-logo {
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    object-fit: contain !important;
  }
  .desktop-nav {
    gap: calc(38 * var(--u)) !important;
    margin-left: calc(140 * var(--u)) !important;
    font-size: calc(16 * var(--u)) !important;
  }
  .desktop-nav a { padding: 12px 0 !important; }
  .header-contact {
    font-size: calc(16 * var(--u)) !important;
    gap: calc(5 * var(--u)) !important;
  }
  .header-contact > span { font-size: calc(14 * var(--u)) !important; }
  .site-header .header-request,
  .header-request {
    min-width: calc(230 * var(--u)) !important;
    width: auto !important;
    min-height: calc(72 * var(--u)) !important;
    height: auto !important;
    max-height: none !important;
    padding: calc(22 * var(--u)) calc(42 * var(--u)) !important;
    margin-left: calc(65 * var(--u)) !important;
    font-size: calc(18 * var(--u)) !important;
    border-radius: calc(12 * var(--u)) !important;
  }
}
@media (max-width: 800px) {
  html { scroll-padding-top: 116px !important; }
  .site-header .header-inner,
  .header-inner,
  .header-inner.container,
  .site-header.is-compact .header-inner {
    height: 100px !important;
    min-height: 100px !important;
    max-height: 100px !important;
    padding-top: 0;
    padding-bottom: 0;
  }
  .brand { width: 78px !important; }
  .brand img, .brand-logo, .brand .brand-logo { max-height: none !important; }
  .header-socials a {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
  }
  .header-socials .icon { width: 22px !important; height: 22px !important; }
  .menu-toggle {
    width: 52px !important;
    height: 50px !important;
    padding: 8px !important;
    gap: 6px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
  }
  .menu-toggle span {
    width: 35px !important;
    height: 5px !important;
    border-radius: 10px !important;
  }
}

/* --- Steps: smaller cards, still readable --- */
section.steps,
.steps.container,
#steps {
  padding-block: 48px !important;
}
.steps > h2,
#steps-title {
  margin-bottom: 22px !important;
  font-size: clamp(26px, calc(36 * var(--u)), 36px) !important;
}
.step-kicker {
  font-size: 11px !important;
  margin: 0 0 6px !important;
  letter-spacing: 0.1em !important;
}
.step-num,
.step > .step-num {
  width: 40px !important;
  height: 40px !important;
  font-size: 18px !important;
  margin: 0 0 12px !important;
  box-shadow: 0 0 0 4px #fff, 0 0 0 6px #d6e4f4 !important;
}
.steps-timeline::before {
  top: 31px !important;
  height: 2px !important;
}
.step:not(:last-child)::after {
  top: 31px !important;
  width: 8px !important;
  height: 8px !important;
  right: -16px !important;
}
.step-body {
  padding: 10px 12px 14px !important;
  border-radius: 16px !important;
  box-shadow: 0 6px 16px #183f780a !important;
}
.step-hero {
  aspect-ratio: 16 / 10 !important;
  max-height: 110px !important;
  height: auto !important;
  margin: 0 0 8px !important;
  border-radius: 12px !important;
}
.step h3,
.steps-timeline .step h3 {
  font-size: 16px !important;
  margin: 0 0 6px !important;
  line-height: 1.25 !important;
}
.step p,
.steps-timeline .step p {
  font-size: 13.5px !important;
  line-height: 1.4 !important;
  font-weight: 500 !important;
}
.steps-note {
  margin-top: 20px !important;
  font-size: 14px !important;
}
@media (max-width: 700px) {
  section.steps, .steps.container, #steps { padding-block: 36px !important; }
  .steps-timeline::before {
    top: 28px !important;
    bottom: 28px !important;
    left: 17px !important;
    right: auto !important;
    width: 3px !important;
    height: auto !important;
    background: linear-gradient(180deg, #ff715b, #195998) !important;
  }
  .step { margin: 0 0 12px !important; column-gap: 12px !important; }
  .step-num, .step > .step-num {
    width: 36px !important;
    height: 36px !important;
    font-size: 16px !important;
    margin-top: 16px !important;
  }
  .step:not(:last-child)::after { display: none !important; }
  .step-hero { max-height: 88px !important; }
  .step-body { padding: 10px 12px 12px !important; }
}

/* --- Benefits: same art, smaller, prettier, compact mobile --- */
.proof-wrap .benefits,
.benefits {
  padding-block: 48px !important;
}
.benefits-layout { gap: 24px !important; padding-bottom: 8px !important; }
.benefits-track,
.benefits-layout .benefits-track {
  width: 100% !important;
  gap: 16px !important;
}
.benefits-track .benefit,
.benefit {
  padding: 16px 16px 18px !important;
  min-height: 0 !important;
  border-radius: 20px !important;
  background: #fff !important;
  overflow: hidden !important;
  transition: transform .22s ease, box-shadow .22s ease;
}
.benefit::before { display: none !important; }
.benefit-index {
  position: absolute !important;
  top: 12px !important;
  left: 12px !important;
  right: auto !important;
  z-index: 2;
  background: #ff715b;
  color: #fff !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  line-height: 1 !important;
  padding: 5px 8px;
  border-radius: 999px;
}
.benefit-art {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  height: 176px;
  margin: 4px 0 12px !important;
  border-radius: 16px;
  background:
    radial-gradient(ellipse 72% 78% at 50% 70%, #d4e6fb 0%, #e8f2fb 52%, #f4f8fd 100%);
  overflow: hidden;
}
.benefit-art .benefit-hero,
.benefit-art img.benefit-hero,
.benefit img.benefit-hero {
  display: block !important;
  width: auto !important;
  max-width: 100% !important;
  height: 100% !important;
  max-height: 100% !important;
  aspect-ratio: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
  object-fit: contain !important;
  object-position: center bottom !important;
  mix-blend-mode: multiply !important;
}
.benefits-track .benefit h3,
.benefit h3 {
  margin: 0 2px 6px !important;
  font-size: 18px !important;
  line-height: 1.25 !important;
  padding-right: 0 !important;
}
.benefits-track .benefit p,
.benefit p {
  margin: 0 2px !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
}
@media (hover: hover) and (pointer: fine) {
  .benefit:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 36px rgba(16, 45, 90, 0.16);
  }
}
@media (min-width: 701px) and (max-width: 1199px) {
  .benefits-track,
  .benefits-layout .benefits-track {
    grid-template-columns: 1fr 1fr !important;
    gap: 14px !important;
  }
  .benefits-track .benefit,
  .benefit {
    display: grid !important;
    grid-template-columns: 140px minmax(0, 1fr) !important;
    grid-template-rows: auto auto;
    column-gap: 14px;
    row-gap: 4px;
    align-items: center;
    padding: 12px 16px 12px 12px !important;
  }
  .benefit-art {
    grid-column: 1;
    grid-row: 1 / span 2;
    width: 140px;
    height: 140px;
    margin: 0 !important;
    border-radius: 14px;
  }
  .benefits-track .benefit h3,
  .benefit h3 {
    grid-column: 2;
    grid-row: 1;
    margin: 0 0 4px !important;
    font-size: 17px !important;
    align-self: end;
  }
  .benefits-track .benefit p,
  .benefit p {
    grid-column: 2;
    grid-row: 2;
    margin: 0 !important;
    font-size: 14px !important;
    align-self: start;
  }
}
@media (max-width: 700px) {
  .proof-wrap .benefits,
  .benefits { padding-block: 28px 32px !important; }
  .benefits-layout { gap: 14px !important; padding-bottom: 0 !important; }
  .benefits-layout #benefits-title,
  .benefits #benefits-title {
    font-size: 26px !important;
    margin: 0 0 8px !important;
  }
  .benefits-intro p { font-size: 14px !important; line-height: 1.4 !important; }
  .benefits-track,
  .benefits-layout .benefits-track {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: none !important;
    gap: 10px !important;
  }
  .benefits-track .benefit,
  .benefit {
    display: grid !important;
    grid-template-columns: 120px minmax(0, 1fr) !important;
    grid-template-rows: auto auto;
    column-gap: 12px;
    row-gap: 2px;
    align-items: center;
    padding: 8px 12px 8px 8px !important;
    border-radius: 16px !important;
  }
  .benefit-art {
    grid-column: 1;
    grid-row: 1 / span 2;
    width: 120px;
    height: 120px;
    margin: 0 !important;
    border-radius: 12px;
  }
  .benefit-index {
    top: 10px !important;
    left: 10px !important;
    font-size: 10px !important;
    padding: 4px 6px;
  }
  .benefits-track .benefit h3,
  .benefit h3 {
    grid-column: 2;
    grid-row: 1;
    margin: 0 0 4px !important;
    font-size: 16px !important;
    align-self: end;
  }
  .benefits-track .benefit p,
  .benefit p {
    grid-column: 2;
    grid-row: 2;
    margin: 0 !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
    align-self: start;
  }
}

/* --- Request form: on PC the glove peeks above the card, not clipped --- */
@media (min-width: 1024px) {
  .request-section,
  .request-section.page-band {
    overflow: visible !important;
    padding-top: 132px !important;
  }
  .request-card {
    overflow: visible !important;
  }
  .request-mascot {
    overflow: visible !important;
    bottom: 0 !important;
    top: auto !important;
    height: calc(100% + 128px) !important;
    z-index: 1 !important;
    pointer-events: none !important;
    right: 12px !important;
    left: auto !important;
    max-width: min(400px, 36%);
  }
  .request-mascot img {
    display: block !important;
    height: 100% !important;
    width: auto !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: bottom center !important;
  }
  .request-card .request-copy,
  .request-card .request-form,
  .request-copy,
  .request-form {
    position: relative;
    z-index: 2;
    max-width: calc(100% - 260px) !important;
  }
}
@media (min-width: 1280px) {
  .request-card .request-copy,
  .request-card .request-form,
  .request-copy,
  .request-form {
    max-width: calc(100% - 240px) !important;
  }
}
@media (min-width: 1024px) and (max-width: 1439px) {
  .request-form .form-fields {
    grid-template-columns: minmax(0, 1fr) minmax(230px, 1.25fr) auto !important;
  }
}
@media (min-width: 1440px) {
  .request-card .request-copy,
  .request-card .request-form,
  .request-copy,
  .request-form {
    max-width: calc(100% - min(400px, 32%)) !important;
  }
}

/* ========== 2.4.2 / r37 ========== */
/* Fixes: form mascot visibility, tablet overlap, step art rectangles,
   mobile steps gutters, clouds across the full hero width (X-only). */

/* --- Steps: no visible gray plate; 1:1 cover tile, matching fill --- */
.step-hero,
img.step-hero,
.step-body .step-hero,
.steps-timeline .step-hero {
  display: block !important;
  width: auto !important;
  max-width: 100% !important;
  height: 110px !important;
  max-height: 110px !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: cover !important;
  object-position: center center !important;
  background: #d9e0ee !important;
  border-radius: 12px !important;
  margin: 0 auto 8px !important;
}
@media (max-width: 700px) {
  .step-hero,
  img.step-hero,
  .step-body .step-hero,
  .steps-timeline .step-hero {
    height: 88px !important;
    max-height: 88px !important;
  }
  /* Gutters: title and cards stay inset; right border not clipped. */
  section.steps.container,
  section.steps,
  #steps {
    width: calc(100% - 40px) !important;
    max-width: none !important;
    margin-inline: auto !important;
    padding-inline: 0 !important;
    box-sizing: border-box !important;
    overflow: visible !important;
  }
  #steps-title,
  .steps > h2 {
    margin-inline: 0 !important;
    padding-inline: 2px !important;
    overflow: visible !important;
    word-break: normal !important;
    hyphens: none !important;
  }
  .steps-timeline,
  .step,
  .step-body {
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: visible !important;
  }
}

/* --- Tablet form: mascot must not cover fields or the submit button --- */
@media (max-width: 1023px) and (min-width: 701px) {
  .request-card {
    overflow: hidden !important;
  }
  .request-mascot {
    overflow: hidden !important;
    width: 150px !important;
    max-width: 26% !important;
    height: auto !important;
    max-height: 88% !important;
    right: 6px !important;
    left: auto !important;
    bottom: 0 !important;
    top: auto !important;
    z-index: 1 !important;
    pointer-events: none !important;
  }
  .request-mascot img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-height: 100% !important;
    object-fit: contain !important;
    object-position: bottom right !important;
  }
  .request-card .request-copy,
  .request-card .request-form,
  .request-copy,
  .request-form {
    position: relative;
    z-index: 2;
    max-width: calc(100% - 158px) !important;
  }
  .request-form .form-fields {
    grid-template-columns: 1fr 1fr !important;
  }
  .request-form .form-fields > .button {
    grid-column: 1 / span 1;
    width: auto !important;
    max-width: 260px;
    justify-self: start;
  }
}

/* --- Clouds: full-width X drift, seamless off-canvas loop --- */
@keyframes ms-cloud-drift {
  from { transform: translate3d(100vw, 0, 0); }
  to   { transform: translate3d(calc(-100% - 24px), 0, 0); }
}

@media (min-width: 601px) {
  section.hero .hero-clouds .cloud,
  section.hero .hero-clouds img.cloud,
  section.hero .cloud.cloud--one,
  section.hero .cloud.cloud--two,
  section.hero .cloud.cloud--three,
  section.hero .hero-clouds .cloud.cloud--one,
  section.hero .hero-clouds .cloud.cloud--two,
  section.hero .hero-clouds .cloud.cloud--three {
    display: block !important;
    left: 0 !important;
    right: auto !important;
    animation-name: ms-cloud-drift !important;
    animation-timing-function: linear !important;
    animation-iteration-count: infinite !important;
    animation-direction: normal !important;
    animation-fill-mode: none !important;
    will-change: transform;
  }
  section.hero .hero-clouds .cloud.cloud--one,
  section.hero .cloud.cloud--one {
    top: 8px !important;
    bottom: auto !important;
    width: 280px !important;
    max-width: 22vw !important;
    animation-duration: 60s !important;
    animation-delay: -8s !important;
  }
  section.hero .hero-clouds .cloud.cloud--two,
  section.hero .cloud.cloud--two {
    top: -28px !important;
    bottom: auto !important;
    width: 240px !important;
    max-width: 20vw !important;
    animation-duration: 72s !important;
    animation-delay: -30s !important;
  }
  section.hero .hero-clouds .cloud.cloud--three,
  section.hero .cloud.cloud--three {
    top: auto !important;
    bottom: 18% !important;
    width: 260px !important;
    max-width: 22vw !important;
    animation-duration: 66s !important;
    animation-delay: -46s !important;
  }
}

@media (max-width: 600px) {
  /* Keep the mid band between the CTA and the cap; drift the full width.
     Title and button stay above (z-index 5) and geometrically clear. */
  section.hero .hero-clouds .cloud.cloud--two,
  section.hero .cloud.cloud--two {
    display: none !important;
    animation: none !important;
  }
  section.hero .hero-clouds .cloud.cloud--one,
  section.hero .cloud.cloud--one,
  section.hero .hero-clouds .cloud.cloud--three,
  section.hero .cloud.cloud--three {
    display: block !important;
    left: 0 !important;
    right: auto !important;
    top: auto !important;
    bottom: calc(73vw * 1010 / 720 - 42px) !important;
    animation-name: ms-cloud-drift !important;
    animation-timing-function: linear !important;
    animation-iteration-count: infinite !important;
    animation-direction: normal !important;
    animation-fill-mode: none !important;
  }
  section.hero .hero-clouds .cloud.cloud--one,
  section.hero .cloud.cloud--one {
    width: 130px !important;
    max-width: 34vw !important;
    animation-duration: 24s !important;
    animation-delay: -6s !important;
  }
  section.hero .hero-clouds .cloud.cloud--three,
  section.hero .cloud.cloud--three {
    width: 140px !important;
    max-width: 36vw !important;
    animation-duration: 28s !important;
    animation-delay: -16s !important;
  }
}

/* ========== 2.4.2 / r38 ========== */
/* Desktop nav centered in the space between the logo and the phone+CTA.
   Mobile header (<1024) is untouched. */
@media (min-width: 1024px) {
  .site-header .header-inner,
  .header-inner,
  .header-inner.container,
  .site-header.is-compact .header-inner {
    gap: 0 !important;
  }
  .desktop-nav,
  .site-header .desktop-nav,
  .site-header.is-compact .desktop-nav {
    flex: 1 1 auto !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    min-width: 0 !important;
    margin-left: 24px !important;
    margin-right: 24px !important;
  }
  .desktop-nav a {
    white-space: nowrap !important;
    flex: none !important;
  }
  .header-contact,
  .site-header .header-contact {
    margin-left: 0 !important;
    flex: none !important;
  }
  .site-header .header-request,
  .header-request {
    margin-left: 16px !important;
    flex: none !important;
  }
}

/* ========== 2.4.2 / r39 ========== */
/* <1024 only: center step card title, body and art on one axis.
   Desktop (>=1024) and the mobile header are unchanged. */
@media (max-width: 1023px) {
  .steps-timeline .step h3,
  .steps-timeline .step p,
  .step h3,
  .step p,
  .step-body {
    text-align: center !important;
  }
  .steps-timeline .step h3,
  .step h3 {
    text-wrap: balance;
    text-wrap: pretty;
  }
  /* Hide forced line breaks; a space is already inserted before <br>. */
  .steps-timeline .step h3 br,
  .step h3 br {
    display: none !important;
  }
  .step-hero,
  img.step-hero,
  .step-body .step-hero {
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

/* Stacked mobile: number and "Шаг N" sit on the same center axis as the card
   (the left rail would unbalance centered copy). */
@media (max-width: 700px) {
  .steps-timeline::before {
    display: none !important;
  }
  .steps-timeline .step,
  .step {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 18px !important;
    column-gap: 0 !important;
  }
  .step-kicker,
  .step > .step-kicker {
    order: 1;
    width: auto !important;
    margin: 0 0 6px !important;
    text-align: center !important;
    justify-self: center !important;
  }
  .step-num,
  .step > .step-num {
    order: 2;
    margin: 0 0 12px !important;
    margin-top: 0 !important;
    grid-column: auto !important;
    grid-row: auto !important;
  }
  .step-body {
    order: 3;
    width: 100% !important;
    max-width: 100% !important;
    text-align: center !important;
  }
}

/* ========== 2.4.2 / r39c ========== */
/* Clouds stay fully inside the hero and ping-pong on X only.
   All visible clouds share one duration, delay, direction and easing so
   the gap never changes and they never overlap. --cloud-min / --cloud-max
   are computed in r2.js from the viewport (and recomputed on resize) so
   the outermost cloud touches its edge at the turn. No extra clouds. */
@keyframes ms-cloud-bounce {
  from { transform: translate3d(var(--cloud-min, 0px), 0, 0); }
  to   { transform: translate3d(var(--cloud-max, 0px), 0, 0); }
}

section.hero .hero-clouds .cloud,
section.hero .hero-clouds img.cloud,
section.hero .cloud.cloud--one,
section.hero .cloud.cloud--two,
section.hero .cloud.cloud--three,
section.hero .hero-clouds .cloud.cloud--one,
section.hero .hero-clouds .cloud.cloud--two,
section.hero .hero-clouds .cloud.cloud--three {
  animation-name: ms-cloud-bounce !important;
  animation-duration: 14s !important;
  animation-timing-function: ease-in-out !important;
  animation-iteration-count: infinite !important;
  animation-direction: alternate !important;
  animation-delay: 0s !important;
  animation-fill-mode: both !important;
  will-change: transform;
  right: auto !important;
}

@media (min-width: 601px) {
  /* Sky band above the cap; keep fully on-canvas (no negative top). */
  section.hero .hero-clouds .cloud.cloud--one,
  section.hero .cloud.cloud--one {
    top: 8px !important;
    bottom: auto !important;
    width: 280px !important;
    max-width: 22vw !important;
  }
  section.hero .hero-clouds .cloud.cloud--two,
  section.hero .cloud.cloud--two {
    display: block !important;
    top: 8px !important;
    bottom: auto !important;
    width: 240px !important;
    max-width: 20vw !important;
  }
  section.hero .hero-clouds .cloud.cloud--three,
  section.hero .cloud.cloud--three {
    top: auto !important;
    bottom: 18% !important;
    width: 260px !important;
    max-width: 22vw !important;
  }
}

@media (max-width: 600px) {
  /* Mid-band between the CTA and the cap; title/button stay clear. */
  section.hero .hero-clouds .cloud.cloud--two,
  section.hero .cloud.cloud--two {
    display: none !important;
    animation: none !important;
  }
  section.hero .hero-clouds .cloud.cloud--one,
  section.hero .cloud.cloud--one,
  section.hero .hero-clouds .cloud.cloud--three,
  section.hero .cloud.cloud--three {
    display: block !important;
    top: auto !important;
    bottom: calc(73vw * 1010 / 720 - 42px) !important;
  }
  section.hero .hero-clouds .cloud.cloud--one,
  section.hero .cloud.cloud--one {
    width: 130px !important;
    max-width: 34vw !important;
  }
  section.hero .hero-clouds .cloud.cloud--three,
  section.hero .cloud.cloud--three {
    width: 140px !important;
    max-width: 36vw !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  section.hero .hero-clouds .cloud,
  section.hero .hero-clouds img.cloud,
  section.hero .cloud.cloud--one,
  section.hero .cloud.cloud--two,
  section.hero .cloud.cloud--three {
    animation: none !important;
    transform: none !important;
  }
}

/* Mobile (<1024): larger «О Mass Staff» loop, flush with the viewport
   (cancels the container gutters only — 20px ≤600, 24px 601–1023).
   Multiply stays on the wrapper. Must not create horizontal scroll or
   clip characters/feet. Desktop is unchanged. */
@media (max-width: 1023px) {
  html {
    overflow-x: clip;
  }
  section.about .about-visual {
    width: calc(100% + 48px) !important;
    max-width: none !important;
    margin-left: -24px !important;
    margin-right: -24px !important;
    overflow: visible !important;
  }
}
@media (max-width: 600px) {
  section.about .about-visual {
    width: calc(100% + 40px) !important;
    margin-left: -20px !important;
    margin-right: -20px !important;
  }
}


/* ========== 2.4.2 / r41 ========== */
/* Desktop (>=1024): normal-sized clouds, independent linear cruise
   with a short soft turn at the edges. Cloud 1 uses the full-width sky
   band above the title; clouds 2 and 3 travel only in the right half
   (from the copy column + 24px to the edge) and sit UNDER .hero-art so
   multiply lets them pass behind the figure. Mobile (<1024) is unchanged
   (sync ease-in-out bounce, z-index 4). Scroll-jump fix is kept: recalc
   only on width change, never restart the animation. */
@keyframes ms-cloud-cruise {
  0%   { transform: translate3d(var(--cloud-min, 0px), 0, 0); }
  5%   { transform: translate3d(var(--cloud-soft-a, var(--cloud-min, 0px)), 0, 0); }
  95%  { transform: translate3d(var(--cloud-soft-b, var(--cloud-max, 0px)), 0, 0); }
  100% { transform: translate3d(var(--cloud-max, 0px), 0, 0); }
}

section.hero .hero-clouds .cloud,
section.hero .hero-clouds img.cloud {
  animation-play-state: paused;
}
section.hero .hero-clouds.is-laid-out .cloud,
section.hero .hero-clouds.is-laid-out img.cloud {
  animation-play-state: running;
}

@media (min-width: 1024px) {
  /* Clouds under the hero-art. White in the loop is knocked out via an
     SVG filter (real alpha), not multiply, so a cloud can pass behind
     the figure without tinting the body. Copy stays on top. */
  section.hero > .hero-clouds,
  section.hero .hero-clouds {
    z-index: 0 !important;
    isolation: auto !important;
  }
  section.hero .hero-clouds .cloud,
  section.hero .hero-clouds img.cloud,
  section.hero .cloud {
    z-index: 0 !important;
    isolation: auto !important;
  }
  section.hero .hero-art {
    z-index: 1 !important;
    isolation: auto !important;
    mix-blend-mode: normal !important;
    filter: url(#ms-knockout-white) !important;
  }
  section.hero .hero-copy {
    z-index: 5 !important;
  }

  section.hero .hero-clouds .cloud.cloud--one,
  section.hero .cloud.cloud--one,
  section.hero .hero-clouds .cloud.cloud--two,
  section.hero .cloud.cloud--two,
  section.hero .hero-clouds .cloud.cloud--three,
  section.hero .cloud.cloud--three {
    display: block !important;
    bottom: auto !important;
    animation-name: ms-cloud-cruise !important;
    animation-timing-function: linear !important;
    animation-iteration-count: infinite !important;
    animation-direction: alternate !important;
    animation-fill-mode: both !important;
    max-height: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  section.hero .hero-clouds .cloud,
  section.hero .hero-clouds img.cloud,
  section.hero .hero-clouds.is-laid-out .cloud,
  section.hero .hero-clouds.is-laid-out img.cloud {
    animation: none !important;
    animation-play-state: paused !important;
    transform: none !important;
  }
}


/* ========== 2.4.2 / r42 ========== */
/* Mobile (<1024) only: bounce uses one shared --cloud-min/--cloud-max
   (set on .hero-clouds and each cloud) so every cloud has the same
   translate. Duration/delay stay identical. Desktop (>=1024) unchanged. */
@media (max-width: 1023px) {
  section.hero .hero-clouds .cloud,
  section.hero .hero-clouds img.cloud,
  section.hero .cloud.cloud--one,
  section.hero .cloud.cloud--two,
  section.hero .cloud.cloud--three {
    animation-name: ms-cloud-bounce !important;
    animation-duration: 14s !important;
    animation-delay: 0s !important;
    animation-timing-function: ease-in-out !important;
  }
}


/* ========== 2.4.2 / r43 ========== */
/* Tablet (601-1023) only: all three clouds sit in the sky band above
   the title and cap. .hero-art still uses mix-blend multiply here, so
   sending a cloud behind the figure would show through the body —
   the upper band is the safe option. ≤600 and ≥1024 are unchanged. */
@media (min-width: 601px) and (max-width: 1023px) {
  section.hero .hero-clouds .cloud.cloud--one,
  section.hero .cloud.cloud--one,
  section.hero .hero-clouds .cloud.cloud--two,
  section.hero .cloud.cloud--two,
  section.hero .hero-clouds .cloud.cloud--three,
  section.hero .cloud.cloud--three {
    display: block !important;
    top: 8px !important;
    bottom: auto !important;
  }
}
