/*
 * RETACH
 * /services/direct/setup/
 */


/* ================================================
   HERO
   ================================================ */

.ds-hero,
.ds-hero * {
  box-sizing: border-box;
}


.ds-hero {
  position: relative;
  overflow: hidden;

  min-height: calc(100svh - 74px);

  background:
    radial-gradient(
      circle at 76% 18%,
      rgba(173, 153, 255, .25),
      transparent 36%
    ),
    linear-gradient(
      110deg,
      #ffffff 0%,
      #fbfbff 38%,
      #f2efff 100%
    );
}


.ds-hero__inner {
  width: min(1560px, calc(100% - 70px));
  min-height: calc(100svh - 74px);

  margin: 0 auto;

  display: grid;

  grid-template-columns:
    minmax(500px, .88fr)
    minmax(620px, 1.12fr);

  align-items: center;
}


/* ================================================
   LEFT
   ================================================ */

.ds-hero__content {
  position: relative;
  z-index: 2;

  padding: 62px 0 54px;
}


.ds-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;

  padding: 10px 18px;

  border: 1px solid rgba(93, 76, 255, .23);
  border-radius: 999px;

  background: rgba(255,255,255,.58);

  color: #5d51ed;

  font-size: 17px;
  line-height: 1.2;
  font-weight: 650;
}


.ds-hero__star {
  color: #6356ff;
  font-size: 20px;
}


.ds-hero__dot {
  opacity: .5;
}


.ds-hero__title {
  margin: 32px 0 22px;

  color: #0f1015;

  font-size: clamp(57px, 4.3vw, 78px);
  line-height: .98;

  letter-spacing: -.052em;
  font-weight: 760;
}


.ds-hero__title span {
  display: block;

  width: max-content;
  max-width: 100%;

  margin-top: 13px;

  font-size: .82em;

  letter-spacing: -.045em;

  background:
    linear-gradient(
      92deg,
      #6556ff 0%,
      #8e52f3 50%,
      #de4eaa 100%
    );

  -webkit-background-clip: text;
  background-clip: text;

  -webkit-text-fill-color: transparent;
}


.ds-hero__text {
  max-width: 650px;

  margin: 0;

  color: #5f687e;

  font-size: 19px;
  line-height: 1.48;
  font-weight: 430;
}


/* ================================================
   BUTTONS
   ================================================ */

.ds-hero__buttons {
  display: flex;
  gap: 14px;

  margin-top: 29px;
}


.ds-hero__btn {
  min-height: 68px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 14px 29px;

  border-radius: 999px;

  font-size: 17px;
  line-height: 1.12;
  font-weight: 650;

  text-align: center;
  text-decoration: none;

  transition:
    transform .18s ease,
    box-shadow .18s ease;
}


.ds-hero__btn:hover {
  transform: translateY(-2px);
}


.ds-hero__btn--primary {
  min-width: 318px;

  justify-content: space-between;
  gap: 34px;

  color: #fff;

  background:
    linear-gradient(
      100deg,
      #574cff,
      #7950f7 52%,
      #df4ca8
    );

  box-shadow:
    0 17px 38px rgba(97, 73, 232, .19);
}


.ds-hero__arrow {
  font-size: 28px;
  line-height: 1;
  font-weight: 300;
}


.ds-hero__btn--secondary {
  min-width: 260px;

  color: #282936;

  border: 1px solid rgba(52, 54, 76, .35);

  background: rgba(255,255,255,.5);
}


/* ================================================
   NOTE
   ================================================ */

.ds-hero__note {
  max-width: 610px;

  margin-top: 27px;

  display: grid;

  grid-template-columns: 34px 1fr;
  gap: 15px;
  align-items: start;
}


.ds-hero__note > span {
  width: 31px;
  height: 2px;

  margin-top: 10px;

  background: #6658ff;
}


.ds-hero__note p {
  margin: 0;

  color: #777e93;

  font-size: 14px;
  line-height: 1.43;
}


/* ================================================
   STATS
   ================================================ */

.ds-hero__stats {
  max-width: 620px;

  margin-top: 34px;

  display: grid;

  grid-template-columns: repeat(3, 1fr);
}


.ds-hero__stat {
  padding-right: 19px;
}


.ds-hero__stat + .ds-hero__stat {
  padding-left: 22px;

  border-left:
    1px solid rgba(83, 80, 126, .20);
}


.ds-hero__stat strong {
  display: block;

  margin-bottom: 6px;

  color: #6454f7;

  font-size: 27px;
  line-height: 1;

  letter-spacing: -.035em;
  font-weight: 750;
}


.ds-hero__stat span {
  color: #7b8297;

  font-size: 12.5px;
  line-height: 1.35;
}


/* ================================================
   RIGHT IMAGE
   NO CROP / NO MASK / NO MODIFICATION
   ================================================ */

.ds-hero__visual {
  position: relative;

  align-self: stretch;

  min-width: 0;
  min-height: 760px;
}


.ds-hero__visual img {
  position: absolute;

  top: 50%;
  right: -110px;

  transform: translateY(-50%);

  display: block;

  width: min(930px, 59vw);
  max-width: none;
  height: auto;
}


/* ================================================
   LAPTOP
   ================================================ */

@media (max-width: 1280px) {

  .ds-hero__inner {
    width: min(1180px, calc(100% - 48px));

    grid-template-columns:
      minmax(450px, .94fr)
      minmax(500px, 1.06fr);
  }


  .ds-hero__title {
    font-size: 58px;
  }


  .ds-hero__text {
    font-size: 17px;
  }


  .ds-hero__visual img {
    width: 720px;
    right: -120px;
  }

}


/* ================================================
   TABLET / MOBILE
   ================================================ */

@media (max-width: 980px) {

  .ds-hero {
    min-hei
  }


  .ds-hero__inner {
    width: min(720px, calc(100% - 36px));
    min-height: auto;

    grid-template-columns: 1fr;
  }


  .ds-hero__content {
    padding:
      48px 0
      20px;
  }


  .ds-hero__title {
    font-size: clamp(46px, 9vw, 64px);
  }


  .ds-hero__visual {
    min-height: 0;

    display: flex;
    justify-content: center;
  }


  .ds-hero__visual img {
    position: relative;

    top: auto;
    right: auto;

    transform: none;

    width: min(860px, 115vw);

    margin:
      -10px -8vw
      -4vw;
  }

}


@media (max-width: 640px) {

  .ds-hero__inner {
    width: calc(100% - 30px);
  }


  .ds-h
    padding-top: 34px;
  }


  .ds-hero__eyebrow {
    gap: 6px;

    padding: 9px 13px;

    font-size: 12.5px;
  }


  .ds-hero__star {
    font-size: 16px;
  }


  .ds-hero__title {
    margin-top: 25px;

    font-size: clamp(41px, 12.2vw, 55px);
  }


  .ds-hero__title span {
    margin-top: 9px;

    font-size: .78em;
  }


  .ds-hero__text {
    font-size: 16px;
    line-height: 1.46;
  }


  .ds-hero__buttons {
    flex-direction: column;

    margin-top: 24px;
  }


  .ds-hero__btn {
    width: 100%;
    min-width: 0;
  }


  .ds-hero__btn--primary {
    min-width: 0;
  }


  .ds-hero__note {
    margin-top: 23px;
  }


  .ds-hero__stats {
    gap: 0;

    margin-top: 29px;
  }


  .ds-hero__stat {
    padding-right: 10px;
  }


  .ds-hero__stat + .ds-hero__stat {
    padding-left: 10px;
  }


  .ds-hero__stat strong {
    font-size: 21px;
  }


  .ds-hero__stat span {
    font-size: 10px;
  }


  .ds-hero__visual img {
    width: 125vw;

    margin:
      4px -14vw
      -4vw;
  }

}


@media (prefers-reduced-motion: reduce) {

  .ds-hero__btn {
    transition: none;
  }

}


/* ==================================================
   HERO VISUAL POSITION FIX
   Image is an independent RIGHT-SIDE visual.
   It must never sit behind the copy.
   ================================================== */

@media (min-width: 981px) {

  .ds-hero__inner {
    grid-template-columns:
      minmax(0, 46%)
      minmax(0, 54%);
  }

  .ds-hero__content {
    z-index: 3;
  }

  .ds-hero__visual {
    position: relative;
    z-index: 1;

    width: 100%;
    min-width: 0;

    overflow: visible;
  }

  .ds-hero__visual img {
    position: absolute;

    top: 50%;
    right: 0;
    left: auto;

    transform: translateY(-50%);

    width: 100%;
    max-width: 100%;
    height: auto;

    margin: 0;
  }

}


/* Browser width similar to current screenshot */

@media (min-width: 981px) and (max-width: 1280px) {

  .ds-hero__inner {
    width: calc(100% - 48px);

    grid-template-columns:
      minmax(0, 47%)
      minmax(0, 53%);
  }

  .ds-hero__visual img {
    right: -12px;

    width: calc(100% + 12px);
    max-width: calc(100% + 12px);
  }

}


/* Wide desktop: allow the artwork to breathe,
   but it still belongs to the right column */

@media (min-width: 1500px) {

  .ds-hero__inner {
    grid-template-columns:
      minmax(0, 45%)
      minmax(0, 55%);
  }

  .ds-hero__visual img {
    right: -35px;

    width: calc(100% + 35px);
    max-width: calc(100% + 35px);
  }

}


/* ==================================================
   HERO DESKTOP — REFERENCE MATCH v5
   ================================================== */

@media (min-width: 981px) {

  /*
   * At normal laptop width:
   * left copy and right visual each get enough room.
   */
  .ds-hero__inner {
    width: calc(100% - 48px);

    grid-template-columns:
      minmax(0, 50%)
      minmax(0, 50%);

    align-items: stretch;
  }


  .ds-hero__content {
    position: relative;
    z-index: 3;

    padding-right: 24px;
  }


  /*
   * Buttons:
   * two buttons in ONE ROW,
   * together filling the copy width.
   */
  .ds-hero__buttons {
    width: 100%;
    max-width: 650px;

    display: grid;
    grid-template-columns:
      minmax(0, 1.2fr)
      minmax(0, .95fr);

    gap: 14px;
  }


  .ds-hero__btn,
  .ds-hero__btn--primary,
  .ds-hero__btn--secondary {
    width: 100%;
    min-width: 0;
    max-width: none;

    margin: 0;
  }


  /*
   * Visual:
   * pin it near the TOP,
   * not vertically centered.
   */
  .ds-hero__visual {
    position: relative;

    min-width: 0;
    min-height: calc(100svh - 74px);

    align-self: stretch;

    overflow: visible;
  }


  .ds-hero__visual img {
    position: absolute;

    top: 18px;
    right: -34px;
    left: auto;

    transform: none;

    width: 118%;
    max-width: none;
    height: auto;

    margin: 0;
  }

}


/* ==================================================
   LAPTOP — current screenshot size
   ================================================== */

@media (min-width: 981px) and (max-width: 1350px) {

  .ds-hero__inner {
    width: calc(100% - 48px);

    grid-template-columns:
      minmax(0, 49%)
      minmax(0, 51%);
  }


  .ds-hero__content {
    padding-right: 20px;
  }


  .ds-hero__buttons {
    max-width: none;

    grid-template-columns:
      minmax(0, 1.22fr)
      minmax(0, .96fr);
  }


  .ds-hero__visual img {
    top: 16px;
    right: -28px;

    width: 119%;
  }

}


/* ==================================================
   LARGE DESKTOP — closer to 1672px reference
   ================================================== */

@media (min-width: 1351px) {

  .ds-hero__inner {
    width: min(1560px, calc(100% - 70px));

    grid-template-columns:
      minmax(0, 43%)
      minmax(0, 57%);
  }


  .ds-hero__buttons {
    max-width: 620px;
  }


  .ds-hero__visual img {
    top: 14px;
    right: -45px;

    width: 110%;
  }

}


/* ==================================================
   MOBILE HERO — REFERENCE v6
   ================================================== */

.ds-hero__mobile-note {
  display: none;
}


@media (max-width: 980px) {

  .ds-hero {
    min-height: auto;

    background:
      radial-gradient(
        circle at 84% 35%,
        rgba(178, 158, 255, .20),
        transparent 37%
      ),
      linear-gradient(
        180deg,
        #ffffff 0%,
        #fbfaff 45%,
        #f5f2ff 100%
      );
  }


  .ds-hero__inner {
    width: 100%;

    display: flex;
    flex-direction: column;

    margin: 0;

    padding:
      24px
      18px
      28px;
  }


  .ds-hero__content {
    width: 100%;

    padding: 0;

    order: 1;
  }


  /* ------------------------------
     EYEBROW
     ------------------------------ */

  .ds-hero__eyebrow {
    max-width: 100%;

    gap: 5px;

    padding:
      8px
      11px;

    white-space: nowrap;

    border-radius: 999px;

    font-size: 12px;
    line-height: 1.15;
  }


  .ds-hero__star {
    font-size: 13px;
  }


  .ds-hero__dot {
    margin: 0 1px;
  }


  /* ------------------------------
     TITLE
     ------------------------------ */

  .ds-hero__title {
    margin:
      14px
      0
      14px;

    font-size: clamp(42px, 11.4vw, 52px);
    line-height: .99;

    letter-spacing: -.048em;
  }


  .ds-hero__title span {
    display: block;

    width: auto;

    margin-top: 7px;

    font-size: 1em;
    line-height: 1.01;
  }


  /* force mobile accent into 2 lines */

  .ds-hero__title span {
    max-width: 330px;
  }


  /* ------------------------------
     TEXT
     ------------------------------ */

  .ds-hero__text {
    max-width: 100%;

    font-size: 16px;
    line-height: 1.43;

    color: #586176;
  }


  /* ------------------------------
     BUTTONS
     ------------------------------ */

  .ds-hero__buttons {
    width: 100%;

    display: flex;
    flex-direction: column;

    gap: 9px;

    margin-top: 20px;
  }


  .ds-hero__btn,
  .ds-hero__btn--primary,
  .ds-hero__btn--secondary {
    width: 100%;
    min-width: 0;
    max-width: none;

    min-height: 58px;

    padding:
      12px
      20px;

    border-radius: 999px;

    font-size: 15px;
  }


  .ds-hero__btn--primary {
    box-shadow:
      0 13px 28px rgba(105, 79, 238, .15);
  }


  .ds-hero__btn--secondary {
    flex-direction: row;

    gap: 8px;

    border-color: rgba(103, 82, 255, .65);

    background: rgba(255,255,255,.42);

    color: #25273a;
  }


  .ds-hero__button-break {
    display: inline;
  }


  /* desktop note and stats disappear */

  .ds-hero__note,
  .ds-hero__stats {
    display: none;
  }


  /* ------------------------------
     MOBILE ART
     ------------------------------ */

  .ds-hero__visual {
    order: 2;

    width: 100%;
    min-height: 0;

    margin:
      8px
      0
      0;

    overflow: visible;
  }


  .ds-hero__picture {
    display: block;

    width: 100%;
  }


  .ds-hero__visual img {
    position: static;

    display: block;

    width: min(124%, 520px);
    max-width: none;
    height: auto;

    margin:
      0
      auto
      0;

    transform: none;
  }


  /* ------------------------------
     NOTE BELOW ART
     ------------------------------ */

  .ds-hero__mobile-note {
    order: 3;

    display: block;

    width: 100%;

    margin-top: -2px;

    padding:
      20px
      20px
      21px;

    border:
      1px solid rgba(112, 93, 199, .08);

    border-radius:
      26px;

    background:
      rgba(255,255,255,.82);

    box-shadow:
      0 12px 35px rgba(77, 61, 145, .055);

    color: #566078;

    font-size: 15px;
    line-height: 1.42;

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

}


/* ================================================
   SMALL MOBILE
   ================================================ */

@media (max-width: 390px) {

  .ds-hero__inner {
    padding-left: 15px;
    padding-right: 15px;
  }


  .ds-hero__eyebrow {
    font-size: 11px;

    padding-left: 9px;
    padding-right: 9px;
  }


  .ds-hero__title {
    font-size: 41px;
  }


  .ds-hero__text {
    font-size: 15px;
  }


  .ds-hero__visual img {
    width: 128%;
  }

}


/* ==================================================
   MOBILE HERO IMAGE WIDTH FIX v7
   Keep visual fully inside viewport.
   No crop.
   ================================================== */

@media (max-width: 980px) {

  .direct-setup-page,
  .ds-hero {
    max-width: 100%;
    overflow-x: clip;
  }


  .ds-hero__inner {
    max-width: 100%;
    overflow-x: clip;
  }


  .ds-hero__visual {
    width: 100%;
    max-width: 100%;

    margin-left: 0;
    margin-right: 0;

    overflow: hidden;
  }


  .ds-hero__picture {
    display: block;

    width: 100%;
    max-width: 100%;

    margin: 0;

    overflow: hidden;
  }


  .ds-hero__visual img {
    position: static;

    display: block;

    width: 100%;
    max-width: 100%;
    height: auto;

    margin: 0 auto;

    transform: none;
  }

}


/* Override old 128% rule on small phones */

@media (max-width: 390px) {

  .ds-hero__visual img {
    width: 100%;
    max-width: 100%;
  }

}


/* ==================================================
   SECTION 2 — FOUNDATION
   ================================================== */

.ds-foundation,
.ds-foundation * {
  box-sizing: border-box;
}


.ds-foundation {
  position: relative;
  overflow: hidden;

  padding:
    clamp(76px, 7vw, 120px)
    0
    clamp(70px, 6vw, 105px);

  background:
    radial-gradient(
      circle at 20% 35%,
      rgba(172, 154, 255, .13),
      transparent 30%
    ),
    radial-gradient(
      circle at 75% 20%,
      rgba(223, 163, 255, .12),
      transparent 32%
    ),
    linear-gradient(
      180deg,
      #fbfaff 0%,
      #ffffff 47%,
      #f8f6ff 100%
    );

  border-top:
    1px solid rgba(103, 82, 255, .07);
}


.ds-foundation__inner {
  width:
    min(
      1540px,
      calc(100% - 72px)
    );

  margin: 0 auto;
}


.ds-foundation__top {
  display: grid;

  grid-template-columns:
    minmax(0, 58%)
    minmax(430px, 42%);

  gap: 55px;

  align-items: center;
}


/* ==================================================
   LEFT VISUAL
   ================================================== */

.ds-foundation__visual {
  position: relative;

  min-height: 670px;
}


.ds-foundation__orbit {
  position: absolute;

  left: 50%;
  top: 50%;

  width: 62%;
  aspect-ratio: 1;

  transform:
    translate(-50%, -50%);

  border-radius: 50%;

  border:
    1px solid rgba(113, 84, 255, .18);

  box-shadow:
    0 0 80px rgba(148, 102, 255, .11);
}


.ds-foundation__orbit::before,
.ds-foundation__orbit::after {
  content: "";

  position: absolute;

  inset: 8% -22%;

  border:
    2px solid rgba(128, 86, 255, .17);

  border-radius: 50%;

  transform: rotate(18deg);
}


.ds-foundation__orbit::after {
  transform: rotate(-22deg);

  border-color:
    rgba(223, 89, 191, .15);
}


.ds-foundation__hero {
  position: absolute;
  z-index: 2;

  left: 50%;
  top: 50%;

  transform:
    translate(-50%, -50%);

  width: min(55%, 510px);
  height: auto;

  display: block;
}


/* ==================================================
   CARDS
   ================================================== */

.ds-foundation-card {
  position: absolute;
  z-index: 4;

  width: 230px;

  padding:
    23px
    22px
    24px;

  border:
    1px solid rgba(113, 91, 211, .13);

  border-radius: 21px;

  background:
    rgba(255,255,255,.73);

  box-shadow:
    0 20px 55px rgba(88, 66, 153, .065),
    inset 0 1px 0 rgba(255,255,255,.9);

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}


.ds-foundation-card__icon {
  width: 45px;
  height: 45px;

  margin-bottom: 12px;

  display: flex;
  align-items: center;
  justify-content: center;

  color: #7157ff;
}


.ds-foundation-card__icon svg {
  width: 100%;
  height: 100%;

  fill: none;

  stroke: currentColor;
  stroke-width: 2.6;

  stroke-linecap: round;
  stroke-linejoin: round;
}


.ds-foundation-card h3 {
  margin:
    0
    0
    8px;

  color: #171828;

  font-size: 22px;
  line-height: 1.04;

  letter-spacing: -.025em;
}


.ds-foundation-card p {
  margin: 0;

  color: #5e667d;

  font-size: 15px;
  line-height: 1.38;
}


.ds-foundation-card--economy {
  left: 4%;
  top: 4%;

  transform: rotate(-2deg);
}


.ds-foundation-card--demand {
  left: 1%;
  bottom: 2%;

  transform: rotate(2deg);
}


.ds-foundation-card--landing {
  right: 1%;
  top: 5%;

  transform: rotate(2deg);
}


.ds-foundation-card--data {
  right: 3%;
  bottom: 3%;

  transform: rotate(-1deg);
}


/* ==================================================
   RIGHT COPY
   ================================================== */

.ds-foundation__copy {
  max-width: 580px;

  justify-self: end;
}


.ds-foundation__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding:
    10px
    17px;

  border:
    1px solid rgba(100, 81, 255, .20);

  border-radius: 999px;

  background:
    rgba(255,255,255,.62);

  color: #6556f2;

  font-size: 15px;
  line-height: 1;
  font-weight: 650;
}


.ds-foundation__eyebrow-dot {
  width: 12px;
  height: 12px;

  border-radius: 50%;

  background:
    linear-gradient(
      135deg,
      #705cff,
      #9e58ef
    );

  box-shadow:
    0 0 14px rgba(112, 92, 255, .38);
}


.ds-foundation__title {
  margin:
    28px
    0
    27px;

  color: #11121a;

  font-size:
    clamp(52px, 4.2vw, 76px);

  line-height: .97;

  letter-spacing: -.052em;

  font-weight: 760;
}


.ds-foundation__title span {
  display: block;

  margin-top: 13px;

  background:
    linear-gradient(
      95deg,
      #6454ff 0%,
      #8956f4 45%,
      #df4eaa 100%
    );

  -webkit-background-clip: text;
  background-clip: text;

  -webkit-text-fill-color: transparent;
}


.ds-foundation__lead,
.ds-foundation__intro {
  max-width: 560px;

  margin: 0;

  color: #5d6578;

  font-size: 18px;
  line-height: 1.5;
}


.ds-foundation__intro {
  margin-top: 24px;

  color: #333646;

  font-weight: 520;
}


/* ==================================================
   BOTTOM BANNER
   ================================================== */

.ds-foundation__bottom {
  min-height: 166px;

  margin-top: 54px;

  display: grid;

  grid-template-columns:
    86px
    minmax(280px, 1fr)
    1px
    minmax(340px, .95fr);

  align-items: center;

  gap: 28px;

  padding:
    27px
    55px;

  border:
    1px solid rgba(103, 82, 255, .18);

  border-radius: 36px;

  background:
    rgba(255,255,255,.55);

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.94),
    0 24px 65px rgba(93, 67, 168, .045);

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}


.ds-foundation__bottom-icon {
  width: 72px;
  height: 72px;

  display: flex;
  align-items: center;
  justify-content: center;

  border:
    1px solid rgba(107, 87, 255, .20);

  border-radius: 50%;

  background:
    rgba(255,255,255,.8);

  color: #6653f5;

  box-shadow:
    0 8px 28px rgba(94, 73, 178, .08);
}


.ds-foundation__bottom-icon svg {
  width: 40px;
  heig

  fill: none;

  stroke: currentColor;
  stroke-width: 2.7;

  stroke-linecap: round;
}


.ds-foundation__bottom-copy strong {
  display: block;

  color: #6554f7;

  font-size: 23px;
  line-height: 1.12;

  letter-spacing: -.02em;
}


.ds-foundation__bottom-copy span {
  display: block;

  margin-top: 8px;

  color: #555e71;

  font-size: 16px;
  line-height: 1.35;
}


.ds-foundation__bottom-divider {
  width: 1px;
  height: 100px;

  background:
    rgba(102, 82, 220, .20);
}


.ds-foundation__handwrite {
  position: relative;

  justify-self: center;

  color: #7259f3;

  font-size:
    clamp(26px, 2.1vw, 38px);

  line-height: 1.05;

  font-style: italic;

  transform:
    rotate(-4deg);

  font-family:
    "Segoe Print",
    "Comic Sans MS",
    cursive;

  text-align: center;
}


.ds-foundation__handwrite i {
  position: absolute;

  left: 20%;
  right: 8%;
  bottom: -18px;

  height: 10px;

  border-top:
    3px solid rgba(111, 83, 247, .72);

  border-radius: 50%;
}


/* ==================================================
   TABLET
   ================================================== */

@media (max-width: 1180px) {

  .ds-foundation__inner {
    width:
      calc(100% - 48px);
  }


  .ds-foundation__top {
    grid-template-columns:
      minmax(0, 54%)
      minmax(390px, 46%);

    gap: 30px;
  }


  .ds-foundation__visual {
    min-height: 600px;
  }


  .ds-foundation-card {
    width: 200px;

    padding:
      18px
      17px;
  }


  .ds-foundation-card h3 {
    font-size: 19px;
  }


  .ds-foundation-card p {
    font-size: 13px;
  }


  .ds-foundation__title {
    font-size: 53px;
  }

}


/* ==================================================
   MOBILE
   ================================================== */

@media (max-width: 900px) {

  .ds-foundation {
    padding:
      68px
      0
      56px;
  }


  .ds-foundation__inner {
    width:
      calc(100% - 30px);
  }


  .ds-foundation__top {
    display: flex;
    flex-direction: column;

    gap: 35px;
  }


  /* Text first on mobile */

  .ds-foundation__copy {
    order: 1;

    max-width: none;
    width: 100%;
  }


  .ds-foundation__visual {
    order: 2;

    width: 100%;
    min-height: 690px;
  }


  .ds-foundation__title {
    margin:
      20px
      0
      19px;

    font-size:
      clamp(42px, 11vw, 58px);
  }


  .ds-foundation__lead,
  .ds-foundation__intro {
    font-size: 16px;
  }


  .ds-foundation__hero {
    width:
      min(60%, 370px);
  }


  .ds-foundation-card {
    width: min(44%, 185px);

    padding:
      16px
      15px;

    border-radius: 18px;
  }


  .ds-foundation-card__icon {
    width: 34px;
    height: 34px;

    margin-bottom: 8px;
  }


  .ds-foundation-card h3 {
    font-size: 17px;
  }


  .ds-foundation-card p {
    font-size: 12px;
  }


  .ds-foundation-card--economy {
    left: 0;
    top: 3%;
  }


  .ds-foundation-card--landing {
    right: 0;
    top: 8%;
  }


  .ds-foundation-card--demand {
    left: 0;
    botto
  }


  .ds-foundation-card--data {
    right: 0;
    bottom: 2%;
  }


  .ds-foundation__bottom {
    margin-top: 20px;

    grid-template-columns:
      62px
      1fr;

    gap: 16px;

    padding:
      22px
      20px;

    border-radius: 26px;
  }


  .ds-foundation__bottom-icon {
    width: 56px;
    height: 56px;
  }


  .ds-foundation__bottom-icon svg {
    width: 30px;
    height: 30px;
  }


  .ds-foundation__bottom-copy strong {
    font-size: 18px;
  }


  .ds-foundation__bottom-copy span {
    font-size: 14px;
  }


  .ds-foundation__bottom-divider {
    display: none;
  }


  .ds-foundation__handwrite {
    grid-column: 1 / -1;

    margin:
      8px
      auto
      10px;

    font-size: 27px;
  }

}


/* ==================================================
   SMALL MOBILE
   ================================================== */

@media (max-width: 430px) {

  .ds-foundation__eyebrow {
    padding:
      8px
      12px;

    font-size: 12px;
  }


  .ds-foundation__eyebrow-dot {
    width: 9px;
    height: 9px;
  }


  .ds-foundation__title {
    font-size:
      clamp(39px, 11.5vw, 49px);
  }


  .ds-foundation__visual {
    min-height: 620px;
  }


  .ds-foundation__hero {
    width: 62%;
  }


  .ds-foundation-card {
    width: 46
  }

}


/* ==================================================
   SECTION 2 — REFERENCE MATCH v9
   ================================================== */

@media (min-width: 901px) {

  /*
   * Общая композиция:
   * визуалу отдаём больше места,
   * текст делаем компактнее.
   */

  .ds-foundation {
    padding-top: 88px;
    padding-bottom: 82px;
  }


  .ds-foundation__inner {
    width: min(1540px, calc(100% - 70px));
  }


  .ds-foundation__top {
    grid-template-columns:
      minmax(0, 61%)
      minmax(360px, 39%);

    gap: 34px;

    align-items: center;
  }


  /* ==================================================
     LEFT VISUAL
     ================================================== */

  .ds-foundation__visual {
    min-height: 620px;

    overflow: visible;
  }


  /*
   * Центральный герой заметно крупнее.
   */

  .ds-foundation__hero {
    left: 50%;
    top: 50%;

    width: min(67%, 555px);

    transform:
      translate(-50%, -50%);
  }


  /*
   * Орбита тоже крупнее,
   * чтобы объединить всю композицию.
   */

  .ds-foundation__orbit {
    width: 72%;
  }


  /*
   * Карточки меньше,
   * чтобы они не конкурировали с героем.
   */

  .ds-foundation-card {
    width: 205px;

    padding:
      19px
      18px
      20px;

    border-radius: 20px;
  }


  .ds-foundation-card__icon {
    width: 38px;
    height: 38px;

    margin-bottom: 10px;
  }


  .ds-foundation-card h3 {
    margin-bottom: 7px;

    font-size: 19px;
    line-height: 1.05;
  }


  .ds-foundation-card p {
    font-size: 13.5px;
    line-height: 1.36;
  }


  /*
   * Заводим карточки внутрь композиции,
   * а не прибиваем к краям колонки.
   */

  .ds-foundation-card--economy {
    left: 4%;
    top: 5%;

    transform: rotate(-2deg);
  }


  .ds-foundation-card--demand {
    left: 1%;
    bottom: 2%;

    transform: rotate(2deg);
  }


  .ds-foundation-card--landing {
    right: 1%;
    top: 6%;

    transform: rotate(2deg);
  }


  .ds-foundation-card--data {
    right: 4%;
    bottom: 2%;

    transform: rotate(-1deg);
  }


  /* ==================================================
     RIGHT TEXT
     ================================================== */

  .ds-foundation__copy {
    width: 100%;
    max-width: 510px;

    justify-self: end;

    padding-left: 8px;
  }


  .ds-foundation__eyebrow {
    padding:
      9px
      15px;

    font-size: 14px;
  }


  .ds-foundation__title {
    margin:
      23px
      0
      23px;

    font-size: clamp(45px, 3.5vw, 61px);
    line-height: .98;
  }


  .ds-foundation__title span {
    margin-top: 10px;
  }


  .ds-foundation__lead,
  .ds-foundation__intro {
    max-width: 500px;

    font-size: 16px;
    line-height: 1.46;
  }


  .ds-foundation__intro {
    margin-top: 21px;
  }


  /* ==================================================
     BOTTOM PANEL
     ================================================== */

  .ds-foundation__bottom {
    min-height: 145px;

    margin-top: 42px;

    grid-template-columns:
      70px
      minmax(300px, 1fr)
      1px
      minmax(330px, .9fr);

    gap: 24px;

    padding:
      23px
      45px;

    border-radius: 32px;
  }


  .ds-foundation__bottom-icon {
    width: 62px;
    height: 62px;
  }


  .ds-foundation__bottom-icon svg {
    width: 34px;
    height: 34px;
  }


  .ds-foundation__bottom-copy strong {
    font-size: 20px;
  }


  .ds-foundation__bottom-copy span {
    margin-top: 6px;

    font-size: 14px;
  }


  .ds-foundation__bottom-divider {
    height: 88px;
  }


  .ds-foundation__handwrite {
    font-size: clamp(25px, 2vw, 34px);
  }

}


/* ==================================================
   CURRENT LAPTOP WIDTH
   примерно как твой скрин
   ================================================== */

@media (min-width: 901px) and (max-width: 1350px) {

  .ds-foundation {
    padding-top: 72px;
  }


  .ds-foundation__inner {
    width: calc(100% - 48px);
  }


  .ds-foundation__top {
    grid-template-columns:
      minmax(0, 59%)
      minmax(370px, 41%);

    gap: 22px;
  }


  .ds-foundation__visual {
    min-height: 560px;
  }


  .ds-foundation__hero {
    width: min(65%, 470px);
  }


  .ds-foundation__orbit {
    width: 70%;
  }


  .ds-foundation-card {
    width: 180px;

    padding:
      16px
      15px
      17px;

    border-radius: 18px;
  }


  .ds-foundation-card__icon {
    width: 32px;
    height: 32px;
  }


  .ds-foundation-card h3 {
    font-size: 17px;
  }


  .ds-foundation-card p {
    font-size: 12px;
  }


  .ds-foundation-card--economy {
    left: 2%;
    top: 4%;
  }


  .ds-foundation-card--demand {
    left: 0;
    bottom: 1%;
  }


  .ds-foundation-card--landing {
    right: 0;
    top: 5%;
  }


  .ds-foundation-card--data {
    right: 2%;
    bottom: 1%;
  }


  .ds-foundation__copy {
    max-width: 470px;
  }


  .ds-foundation__title {
    font-size: clamp(43px, 4vw, 55px);
  }


  .ds-foundation__lead,
  .ds-foundation__intro {
    font-size: 15.5px;
  }


  .ds-foundation__bottom {
    margin-top: 34px;
  }

}


/* ==================================================
   WIDE DESKTOP
   На 1600–1700px приближаем к референсу
   ================================================== */

@media (min-width: 1500px) {

  .ds-foundation__top {
    grid-template-columns:
      minmax(0, 60%)
      minmax(0, 40%);

    gap: 58px;
  }


  .ds-foundation__visual {
    min-height: 650px;
  }


  .ds-foundation__hero {
    width: min(65%, 560px);
  }


  .ds-foundation-card {
    width: 218px;
  }


  .ds-foundation__copy {
    max-width: 560px;
  }


  .ds-foundation__title {
    font-size: 66px;
  }

}


/* ==================================================
   SECTION 2 — GEAR ICON COLOR FIX
   ================================================== */

.ds-foundation__bottom-icon {
  color: #6653f5;
}

.ds-foundation__bottom-icon svg,
.ds-foundation__bottom-icon svg path,
.ds-foundation__bottom-icon svg circle {
  fill: none !important;
  stroke: currentColor !important;
}

.ds-foundation__bottom-icon svg path,
.ds-foundation__bottom-icon svg circle {
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ==================================================
   SECTION 3 — GRID REBUILD v16
   ================================================== */

.ds3,
.ds3 * {
  box-sizing: border-box;
}

.ds3 {
  position: relative;

  overflow: hidden;

  padding:
    56px
    0
    42px;

  background:
    linear-gradient(
      180deg,
      #fafaff 0%,
      #f7f6ff 52%,
      #f9f8ff 100%
    );

  border-top:
    1px solid rgba(98, 82, 210, .07);
}


.ds3::before,
.ds3::after {
  content: "";

  position: absolute;

  pointer-events: none;

  border:
    2px solid rgba(131, 101, 255, .10);

  border-radius: 50%;
}


.ds3::before {
  width: 650px;
  height: 260px;

  left: -390px;
  bottom: 70px;

  transform: rotate(27deg);
}


.ds3::after {
  width: 760px;
  height: 280px;

  right: -390px;
  top: 165px;

  transform: rotate(-25deg);
}


.ds3__glow {
  position: absolute;

  pointer-events: none;

  border-radius: 50%;

  filter: blur(80px);
}


.ds3__glow--one {
  width: 420px;
  height: 420px;

  left: -170px;
  top: 280px;

  background:
    rgba(174, 147, 255, .12);
}


.ds3__glow--two {
  width: 480px;
  height: 480px;

  right: -180px;
  top: 140px;

  background:
    rgba(219, 150, 255, .12);
}


.ds3__inner {
  position: relative;
  z-index: 2;

  width:
    min(
      1510px,
      calc(100% - 70px)
    );

  margin: 0 auto;
}


/* ==================================================
   TOP
   ================================================== */

.ds3__top {
  min-height: 235px;

  display: grid;

  grid-template-columns:
    minmax(360px, .95fr)
    minmax(290px, .72fr)
    minmax(420px, 1.18fr);

  gap: 45px;

  align-items: center;

  margin-bottom: 30px;
}


.ds3__heading {
  align-self: start;
}


.ds3__eyebrow {
  display: inline-flex;

  align-items: center;

  gap: 12px;

  padding:
    9px
    16px;

  border:
    1px solid rgba(99, 82, 244, .17);

  border-radius: 999px;

  background:
    rgba(255,255,255,.55);

  color: #6755ef;

  font-size: 13px;
  line-height: 1;

  font-weight: 540;
}


.ds3__eyebrow strong {
  font-weight: 760;
}


.ds3__title {
  margin:
    25px
    0
    0;

  color: #090a10;

  font-size:
    clamp(
      47px,
      4.25vw,
      68px
    );

  line-height: .99;

  letter-spacing: -.055em;

  font-weight: 770;
}


.ds3__title > span {
  display: block;

  margin-top: 5px;

  background:
    linear-gradient(
      90deg,
      #6854ff 0%,
      #8e58f4 50%,
      #da50ac 100%
    );

  -webkit-background-clip: text;
  background-clip: text;

  -webkit-text-fill-color: transparent;
}


.ds3__intro {
  align-self: center;

  max-width: 345px;

  color: #616a81;

  font-size: 15px;
  line-height: 1.43;
}


.ds3__intro p {
  margin: 0;
}


.ds3__intro p + p {
  margin-top: 18px;
}


/* ==================================================
   VISUAL
   ================================================== */

.ds3__visual {
  position: relative;

  min-height: 235px;
}


.ds3__orbit {
  position: absolute;

  pointer-events: none;

  border:
    2px solid rgba(120, 92, 255, .20);

  border-radius: 50%;
}


.ds3__orbit--one {
  width: 660px;
  height: 190px;

  left: 15px;
  top: 80px;

  transform: rotate(17deg);
}


.ds3__orbit--two {
  width: 590px;
  height: 160px;

  left: 45px;
  top: 91px;

  transform: rotate(-16deg);

  border-color:
    rgba(223, 82, 189, .13);
}


.ds3__direct-card {
  position: absolute;

  z-index: 2;

  width: 325px;
  height: 205px;

  left: 42px;
  top: 7px;

  padding:
    22px
    24px;

  border:
    1px solid rgba(110, 89, 232, .17);

  border-radius: 24px;

  background:
    linear-gradient(
      135deg,
      rgba(255,255,255,.85),
      rgba(242,238,255,.72)
    );

  box-shadow:
    0 24px 60px rgba(91, 66, 170, .09),
    inset 0 1px 0 rgba(255,255,255,.92);

  backdrop-filter:
    blur(16px);

  -webkit-backdrop-filter:
    blur(16px);

  transform:
    rotate(5deg);
}


.ds3__direct-brand {
  display: flex;

  align-items: center;

  gap: 10px;

  color: #111323;

  font-size: 17px;
}


.ds3__ya {
  width: 29px;
  height: 29px

  display: inline-flex;

  align-items: center;
  justify-content: center;

  border-radius: 50%;

  color: #fff;

  background: #fa3228;

  font-size: 19px;
  font-weight: 760;
}


.ds3__chart {
  width: 100%;
  height: 145px;

  overflow: visible;
}


.ds3__chart rect {
  fill:
    rgba(112, 83, 244, .43);
}


.ds3__chart-line,
.ds3__chart-arrow {
  fill: none;

  stroke: #8b6bf7;

  stroke-width: 3;

  stroke-linecap: round;
}


.ds3__growth-chip {
  position: absolute;

  z-index: 5;

  left: 270px;
  top: -6px;

  min-width: 165px;

  display: flex;

  align-items: center;

  gap: 12px;

  padding:
    13px
    16px;

  border:
    1px solid rgba(106, 85, 236, .16);

  border-radius: 18px;

  background:
    rgba(255,255,255,.83);

  box-shadow:
    0 15px 38px rgba(91, 67, 164, .07);

  color: #41475e;

  font-size: 10px;

  transform: rotate(5deg);
}


.ds3__growth-chip svg {
  width: 34px;
  height: 34px;

  flex: 0 0 auto;

  fill: #7558f4;
}


.ds3__growth-chip span {
  display: grid;

  gap: 2px;
}


.ds3__growth-chip strong {
  color: #1c1d2c;

  font-size: 12px;
}


.ds3__crystal {
  position: absolute;

  z-index: 4;

  width: 88px;
  height: 116px;

  left: 355px;
  top: 95px;

  clip-path:
    polygon(
      50% 0,
      96% 38%,
      70% 100%,
      30% 100%,
      4% 38%
    );

  background:
    linear-gradient(
      140deg,
      #d6bcff 0%,
      #805dff 30%,
      #6236e6 53%,
      #cf63ed 78%,
      #8e69ff 100%
    );

  filter:
    drop-shad
      0 13px 17px rgba(92, 61, 224, .18)
    );

  transform:
    rotate(-8deg);
}


.ds3__crystal::before {
  content: "";

  position: absolute;

  inset: 13% 18%;

  clip-path:
    polygon(
      50% 0,
      100% 45%,
      50% 100%,
      0 45%
    );

  background:
    rgba(255,255,255,.26);
}


.ds3__handwrite {
  position: absolute;

  z-index: 5;

  right: -6px;
  top: 17px;

  color: #7459ee;

  font-family:
    "Segoe Print",
    "Comic Sans MS",
    cursive;

  font-size: 22px;
  line-height: 1.06;

  text-align: center;

  transform:
    rotate(-7deg);
}


.ds3__handwrite i {
  position: absolute;

  width: 77px;
  height: 37px;

  left: 46px;
  bottom: -43px;

  border-bottom:
    2px solid #7258ef;

  border-radius:
    0 0 80% 60%;

  transform
    rotate(20deg);
}


.ds3__handwrite i::after {
  content: "";

  position: absolute;

  right: -2px;
  bottom: -3px;

  width: 9px;
  height: 9px;

  border-right:
    2px solid #7258ef;

  border-bottom:
    2px solid #7258ef;

  transform:
    rotate(-25deg);
}


/* ==================================================
   GRID
   ================================================== */

.ds3__grid {
  display: grid;

  grid-template-columns:
    repeat(4, minmax(0, 1fr));

  gap: 14px;

  margin-top: 8px;
}


.ds3-card {
  min-height: 288px;

  padding:
    18px
    27px
    22px;

  border:
    1px solid rgba(100, 82, 227, .13);

  border-radius: 20px;

  background:
    rgba(255,255,255,.74);

  box-shadow:
    0 15px 40px rgba(93, 70, 163, .045),
    inset 0 1px 0 rgba(255,255,255,.9);

  backdrop-filter:
    blur(13px);

  -webkit-backdrop-filter:
    blur(13px);
}


.ds3-card__top {
  display: flex;

  align-items: center;

  gap: 15px;

  margin-bottom: 15px;
}


.ds3-card__icon {
  width: 53px;
  height: 53px;

  display: flex;

  align-items: center;
  justify-content: center;

  flex: 0 0 auto;

  border:
    1px solid rgba(107, 87, 245, .13);

  border-radius: 16px;

  background:
    linear-gradient(
      145deg,
      rgba(250,249,255,.96),
      rgba(238,233,255,.78)
    );

  box-shadow:
    0 8px 22px rgba(92, 70, 170, .06);

  color: #6d54f7;
}


.ds3-card__icon svg {
  width: 30px;
  height: 30px;

  fill: none;

  s

  stroke-width: 2.7;

  stroke-linecap: round;
  stroke-linejoin: round;
}


.ds3-card__num {
  color: #6753f7;

  font-size: 15px;

  font-weight: 760;
}


.ds3-card h3 {
  min-height: 51px;

  margin:
    0
    0
    17px
    85px;

  color: #131522;

  font-size: 17px;
  line-height: 1.18;

  letter-spacing: -.02em;

  font-weight: 700;
}


.ds3-card__top + h3 {
  margin-left: 85px;

  margin-top: -69px;
}


.ds3-card p {
  margin:
    25px
    0
    0;

  color: #59647d;

  font-size: 14px;
  line-height: 1.43;
}


/* ==================================================
   RESULT
   ================================================== */

.ds3__result {
  min-height: 82px;

  margin-top: 15px;

  display: grid;

  grid-template-columns:
    58px
    minmax(0, 1fr)
    305px;

  gap: 22px;

  align-items: center;

  padding:
    13px
    28px;

  border:
    1px solid rgba(101, 82, 236, .16);

  border-radius: 26px;

  background:
    rgba(255,255,255,.58);
}


.ds3__result-icon {
  width: 52px;
  height: 52px;

  display: flex;

  align-items: center;
  justify-content: center;

  border:
    1px solid rgba(103, 84, 244, .17);

  border-radius: 50%;

  background: #fff;

  color: #6954f8;
}


.ds3__result-icon svg {
  width: 27px;
  height: 27px;

  fill: currentColor;
}


.ds3__result p {
  margin: 0;

  color: #566179;

  font-size: 13px;
  line-height: 1.42;
}


.ds3__cta {
  min-height: 54px;

  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 30px;

  padding:
    12px
    27px;

  border-radius: 999px;

  background:
    linear-gradient(
      100deg,
      #604eff 0%,
      #8153f5 52%,
      #df4da9 100%
    );

  box-shadow:
    0 13px 30px rgba(103, 76, 231, .16);

  color: #fff;

  text-decoration: none;

  font-size: 14px;
  font-weight: 600;
}


/* ==================================================
   LAPTOP
   ================================================== */

@media (max-width: 1280px) and (min-width: 761px) {

  .ds3__inner {
    width:
      calc(100% - 48px);
  }


  .ds3__top {
    grid-template-columns:
      minmax(320px, .9fr)
      minmax(250px, .65fr)
      minmax(350px, 1.05fr);

    gap: 25px;
  }


  .ds3__title {
    font-size: 49px;
  }


  .ds3__intro {
    font-size: 13px;
  }


  .ds3__visual {
    transform:
      scale(.88);

    transform-origin:
      center center;
  }


  .ds3-card {
    min-height: 270px;

    padding:
      16px
      19px
      19px;
  }


  .ds3-card__icon {
    width: 46px;
    height: 46px;
  }


  .ds3-card__top + h3 {
    margin-left: 72px;
    margin-top: -61px;
  }


  .ds3-card h3 {
    font-size: 15px;
  }


  .ds3-card p {
    margin-top: 22px;

    font-size: 12px;
  }

}


/* ==================================================
   TABLET
   ================================================== */

@media (max-width: 960px) {

  .ds3__top {
    grid-template-columns:
      1fr
      1fr;

    min-height: auto;
  }


  .ds3__heading {
    grid-column: 1;
  }


  .ds3__intro {
    grid-column: 2;
  }


  .ds3__visual {
    grid-column: 1 / -1;

    width: 540px;
    max-width: 100%;

    margin: 0 auto;

    min-height: 235px;
  }


  .ds3__grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }


  .ds3__result {
    grid-template-columns:
      52px
      1fr
      240px;
  }

}


/* ==================================================
   MOBILE
   ================================================== */

@media (max-width: 760px) {

  .ds3 {
    padding:
      48px
      0
      38px;
  }


  .ds3__inner {
    width:
      calc(100% - 30px);
  }


  .ds3__top {
    display: block;

    margin-bottom: 24px;
  }


  .ds3__eyebrow {
    font-size: 11px;
  }


  .ds3__title {
    margin-top: 17px;

    font-size:
      clamp(
        39px,
        11.2vw,
        50px
      );
  }


  .ds3__intro {
    max-width: none;

    margin-top: 19px;

    font-size: 14px;
  }


  .ds3__visual {
    width: 100%;

    min-height: 220px;

    margin-top: 23px;

    transform:
      scale(.72);

    transform-origin:
      top left;
  }


  .ds3__grid {
    grid-template-columns:
      1fr;

    gap: 10px;
  }


  .ds3-card {
    min-height: 0;

    padding:
      17px
      18px
      19px;
  }


  .ds3-card__icon {
    width: 45px;
    height: 45px;
  }


  .ds3-card__top {
    margin-bottom: 0;
  }


  .ds3-card__top + h3 {
    margin:
      -55px
      0
      14px
      73px;
  }


  .ds3-card h3 {
    min-height: 45px;

    font-size: 15px;
  }


  .ds3-card p {
    margin-top: 15px;

    font-size: 13px;
  }


  .ds3__result {
    margin-top: 12px;

    display: block;

    padding: 0;

    border: 0;

    background: transparent;
  }


  .ds3__result-icon,
  .ds3__result p {
    display: none;
  }


  .ds3__cta {
    width: 100%;
  }

}


/* ==================================================
   SECTION 3 — VISUAL POLISH v17
   ================================================== */

@media (min-width: 961px) {

  /* ------------------------------
     TOP: make it denser
     ------------------------------ */

  .ds3 {
    padding-top: 44px;
  }

  .ds3__top {
    min-height: 210px;

    grid-template-columns:
      minmax(360px, .98fr)
      minmax(280px, .68fr)
      minmax(390px, 1.05fr);

    gap: 34px;

    margin-bottom: 22px;
  }

  .ds3__title {
    margin-top: 20px;

    font-size: clamp(46px, 4vw, 64px);
  }

  .ds3__intro {
    font-size: 14px;
  }


  /* ------------------------------
     RIGHT VISUAL
     It was much too large.
     ------------------------------ */

  .ds3__visual {
    min-height: 210px;
  }

  .ds3__direct-card {
    width: 280px;
    height: 177px;

    left: 25px;
    top: 18px;

    padding: 18px 20px;

    border-radius: 21px;

    transform: rotate(4deg);
  }

  .ds3__direct-brand {
    font-size: 15px;
  }

  .ds3__ya {
    width: 26px;
    height: 26px;

    font-size: 17px;
  }

  .ds3__chart {
    height: 118px;
  }

  .ds3__growth-chip {
    left: 228px;
    top: 5px;

    min-width: 145px;

    padding: 10px 13px;
  }

  .ds3__growth-chip svg {
    width: 29px;
    height: 29px;
  }

  .ds3__crystal {
    width: 68px;
    height: 88px;

    left: 315px;
    top: 92px;
  }

  .ds3__handwrite {
    right: 0;
    top: 24px;

    font-size: 18px;
  }

  .ds3__orbit--one {
    width: 540px;
    height: 155px;

    left: 0;
    top: 84px;
  }

  .ds3__orbit--two {
    width: 490px;
    height: 135px;

    left: 25px;
    top: 90px;
  }


  /* ==================================================
     CARDS — NORMAL GRID
     No negative margins, no text overlap.
     ================================================== */

  .ds3-card {
    min-height: 250px;

    display: grid;

    grid-template-columns:
      62px
      minmax(0, 1fr);

    grid-template-rows:
      23px
      auto
      1fr;

    column-gap: 15px;

    padding:
      17px
      22px
      20px;
  }


  /*
   * We use display:contents so icon and number
   * participate directly in the card grid.
   */

  .ds3-card__top {
    display: contents;
  }


  .ds3-card__icon {
    grid-column: 1;
    grid-row: 1 / 3;

    width: 54px;
    height: 54px;

    align-self: start;

    margin: 0;
  }


  .ds3-card__icon svg {
    width: 29px;
    height: 29px;

    color: #6d54f7;

    fill: none !important;
    stroke: currentColor !important;
  }


  .ds3-card__num {
    grid-column: 2;
    grid-row: 1;

    align-self: start;

    display: block;

    margin: 2px 0 0;

    color: #6753f7;

    font-size: 14px;
    line-height: 1;

    font-weight: 760;
  }


  .ds3-card h3,
  .ds3-card__top + h3 {
    grid-column: 2;
    grid-row: 2;

    min-height: 0;

    margin:
      5px
      0
      0;

    color: #131522;

    font-size: 16px;
    line-height: 1.16;

    font-weight: 700;

    letter-spacing: -.018em;
  }


  .ds3-card p {
    grid-column: 1 / -1;
    grid-row: 3;

    margin:
      19px
      0
      0;

    color: #59647d;

    font-size: 13px;
    line-height: 1.42;
  }


  .ds3__grid {
    gap: 13px;
  }

}


/* ==================================================
   LAPTOP LIKE CURRENT SCREENSHOT
   ================================================== */

@media (min-width: 961px) and (max-width: 1350px) {

  .ds3__inner {
    width: calc(100% - 48px);
  }


  .ds3__top {
    grid-template-columns:
      minmax(355px, .95fr)
      minmax(275px, .67fr)
      minmax(360px, 1fr);

    gap: 24px;
  }


  .ds3__title {
    font-size: 48px;
  }


  .ds3-card {
    min-height: 242px;

    grid-template-columns:
      54px
      minmax(0, 1fr);

    column-gap: 12px;

    padding:
      15px
      17px
      18px;
  }


  .ds3-card__icon {
    width: 48px;
    height: 48px;
  }


  .ds3-card__icon svg {
    width: 26px;
    height: 26px;
  }


  .ds3-card__num {
    font-size: 12px;
  }


  .ds3-card h3,
  .ds3-card__top + h3 {
    font-size: 14px;
  }


  .ds3-card p {
    margin-top: 16px;

    font-size: 11.5px;
    line-height: 1.4;
  }

}


/* ==================================================
   SECTION 3 — USER IMAGE RIGHT v18
   ================================================== */

.ds3__visual {
  position: relative;

  min-height: 205px;

  display: flex;
  align-items: center;
  justify-content: flex-end;

  overflow: visible;
}


.ds3__visual-img {
  position: static;

  display: block;

  width: min(330px, 100%);
  max-width: 100%;
  height: auto;

  margin: 0;

  object-fit: contain;

  transform: none;

  filter:
    drop-shadow(
      0 18px 38px rgba(99, 75, 184, .08)
    );
}


/* Desktop */

@media (min-width: 1281px) {

  .ds3__visual-img {
    width: min(350px, 100%);
  }

}


/* Current laptop width */

@media (min-width: 961px) and (max-width: 1280px) {

  .ds3__top {
    grid-template-columns:
      minmax(350px, .95fr)
      minmax(270px, .70fr)
      minmax(250px, .70fr);

    gap: 25px;
  }


  .ds3__visual {
    min-height: 195px;

    padding-top: 4px;
  }


  .ds3__visual-img {
    width: min(285px, 100%);
  }

}


/* Tablet */

@media (max-width: 960px) {

  .ds3__visual {
    min-height: 0;

    justify-content: center;

    margin-top: 18px;

    transform: none !important;
  }


  .ds3__visual-img {
    width: min(280px, 74%);
  }

}


/* Mobile */

@media (max-width: 760px) {

  .ds3__visual {
    min-height: 0;

    margin-top: 20px;

    transform: none !important;
  }


  .ds3__visual-img {
    width: min(230px, 72%);
  }

}

/* ==================================================
   SECTION 4 — CLEAN REAL VISUAL v20
   ================================================== */

.ds4,
.ds4 * {
  box-sizing: border-box;
}

.ds4 {
  position: relative;
  overflow: hidden;

  padding: 56px 0 48px;

  background:
    radial-gradient(
      circle at 72% 15%,
      rgba(174, 148, 255, .13),
      transparent 34%
    ),
    linear-gradient(
      180deg,
      #fbfaff 0%,
      #ffffff 56%,
      #f8f6ff 100%
    );

  border-top:
    1px solid rgba(101, 82, 233, .07);
}

.ds4__inner {
  width: min(1500px, calc(100% - 70px));
  margin: 0 auto;
}


/* ==================================================
   TOP
   ================================================== */

.ds4__top {
  display: grid;

  grid-template-columns:
    minmax(420px, 42%)
    minmax(0, 58%);

  gap: 24px;

  align-items: center;
}

.ds4__copy {
  position: relative;
  z-index: 2;
}

.ds4__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;

  padding: 9px 17px;

  border:
    1px solid rgba(102,82,241,.18);

  border-radius: 999px;

  background:
    rgba(255,255,255,.60);

  color: #6754ef;

  font-size: 13px;
  line-height: 1;
}

.ds4__eyebrow strong {
  font-weight: 760;
}

.ds4__title {
  margin: 24px 0 20px;

  color: #090a10;

  font-size:
    clamp(48px, 4.2vw, 68px);

  line-height: .97;

  letter-spacing: -.055em;

  font-weight: 770;
}

.ds4__title span {
  background:
    linear-gradient(
      95deg,
      #6954ff 0%,
      #8f56f4 52%,
      #dc4fac 100%
    );

  -webkit-background-clip: text;
  background-clip: text;

  -webkit-text-fill-color: transparent;
}

.ds4__lead {
  max-width: 510px;

  margin: 0 0 27px;

  color: #626b81;

  font-size: 18px;
  line-height: 1.45;
}

.ds4__cta {
  width: 315px;
  min-height: 57px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 12px 27px;

  border-radius: 999px;

  background:
    linear-gradient(
      100deg,
      #604eff,
      #8253f5 52%,
      #df4da9
    );

  box-shadow:
    0 14px 32px rgba(103,76,231,.16);

  color: #fff;

  text-decoration: none;

  font-size: 15px;
  font-weight: 600;
}


/* ==================================================
   REAL USER IMAGE
   ================================================== */

.ds4__visual {
  min-width: 0;

  display: flex;
  align-items: center;
  justify-content: flex-end;

  overflow: visible;
}

.ds4__visual-img {
  display: block;

  width: min(780px, 100%);
  max-width: none;
  height: auto;

  margin: 0;

  object-fit: contain;

  filter:
    drop-shadow(
      0 22px 40px rgba(92,71,162,.07)
    );
}


/* ==================================================
   FIVE RESULTS
   ================================================== */

.ds4__steps {
  position: relative;

  display: grid;

  grid-template-columns:
    repeat(5, minmax(0, 1fr));

  gap: 28px;

  margin-top: 26px;

  padding-top: 4px;
}

.ds4__connector {
  position: absolute;

  z-index: 0;

  left: 20px;
  top: 1px;

  width: calc(100% - 40px);
  height: 80px;

  pointer-events: none;

  overflow: visible;
}

.ds4__connector path {
  fill: none;

  stroke:
    rgba(111, 89, 239, .25);

  stroke-width: 1.7;
}

.ds4__connector circle {
  fill: #c0b0fc;
}

.ds4-step {
  position: relative;
  z-index: 1;

  min-width: 0;
}

.ds4-step__icon {
  width: 62px;
  height: 62px;

  display: flex;
  align-items: center;
  justify-content: center;

  margin-bottom: 15px;

  border:
    1px solid rgba(105,85,239,.15);

  border-radius: 50%;

  background:
    rgba(255,255,255,.94);

  box-shadow:
    0 10px 28px rgba(93,70,163,.05);

  color: #6954f7;
}

.ds4-step__icon svg {
  width: 33px;
  height: 33px;

  fill: none;

  stroke: currentColor;

  stroke-width: 2.7;

  stroke-linecap: round;
  stroke-linejoin: round;
}

.ds4-step h3 {
  min-height: 43px;

  margin: 0 0 9px;

  color: #171929;

  font-size: 17px;
  line-height: 1.16;

  letter-spacing: -.02em;

  font-weight: 700;
}

.ds4-step p {
  max-width: 220px;

  margin: 0;

  color: #606981;

  font-size: 14px;
  line-height: 1.42;
}


/* ==================================================
   BOTTOM
   ================================================== */

.ds4__bottom {
  min-height: 104px;

  margin-top: 40px;

  display: grid;

  grid-template-columns:
    64px
    minmax(0, 1fr)
    minmax(330px, .65fr);

  gap: 24px;

  align-items: center;

  padding: 18px 42px;

  border:
    1px solid rgba(103,83,234,.17);

  border-radius: 31px;

  background:
    rgba(255,255,255,.60);
}

.ds4__bottom-icon {
  width: 58px;
  height: 58px;

  display: flex;
  align-items: center;
  justify-content: center;

  border:
    1px solid rgba(104,84,241,.16);

  border-radius: 50%;

  background: #fff;

  color: #6954f8;
}

.ds4__bottom-icon svg {
  width: 31px;
  height: 31px;

  fill: currentColor;
}

.ds4__bottom p {
  max-width: 680px;

  margin: 0;

  color: #566078;

  font-size: 16px;
  line-height: 1.4;
}

.ds4__bottom-note {
  position: relative;

  justify-self: center;

  color: #755cef;

  font-family:
    "Segoe Print",
    "Comic Sans MS",
    cursive;

  font-size: 24px;
  line-height: 1.05;

  text-align: center;

  transform: rotate(-4deg);
}

.ds4__bottom-note span {
  position: absolute;

  left: 24%;
  right: 0;
  bottom: -11px;

  height: 6px;

  border-top:
    2px solid #7358ef;

  border-radius: 50%;
}


/* ==================================================
   LAPTOP
   ================================================== */

@media (min-width: 901px) and (max-width: 1350px) {

  .ds4__inner {
    width: calc(100% - 48px);
  }

  .ds4__top {
    grid-template-columns:
      minmax(385px, 42%)
      minmax(0, 58%);

    gap: 18px;
  }

  .ds4__title {
    font-size: 49px;
  }

  .ds4__lead {
    font-size: 16px;
  }

  .ds4__visual-img {
    width: min(650px, 100%);
  }

  .ds4__steps {
    gap: 20px;
  }

  .ds4-step h3 {
    font-size: 14px;
  }

  .ds4-step p {
    font-size: 12px;
  }

  .ds4__bottom p {
    font-size: 14px;
  }

}


/* ==================================================
   TABLET
   ================================================== */

@media (max-width: 900px) {

  .ds4__inner {
    width: calc(100% - 30px);
  }

  .ds4__top {
    grid-template-columns: 1fr;

    gap: 24px;
  }

  .ds4__visual {
    justify-content: center;
  }

  .ds4__visual-img {
    width: min(720px, 100%);
  }

  .ds4__steps {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));

    gap: 30px 20px;
  }

  .ds4__connector {
    display: none;
  }

  .ds4__bottom {
    grid-template-columns:
      60px
      minmax(0, 1fr);
  }

  .ds4__bottom-note {
    grid-column: 1 / -1;

    margin-top: 8px;
  }

}


/* ==================================================
   MOBILE
   ================================================== */

@media (max-width: 620px) {

  .ds4 {
    padding: 48px 0 40px;
  }

  .ds4__title {
    font-size:
      clamp(39px, 11vw, 49px);
  }

  .ds4__lead {
    font-size: 16px;
  }

  .ds4__cta {
    width: 100%;
  }

  .ds4__visual-img {
    width: 108%;
    max-width: 108%;

    margin: 0 -4%;
  }

  .ds4__steps {
    grid-template-columns: 1fr;

    gap: 23px;
  }

  .ds4-step {
    display: grid;

    grid-template-columns:
      58px
      minmax(0, 1fr);

    column-gap: 14px;
  }

  .ds4-step__icon {
    grid-row: 1 / 3;

    width: 55px;
    height: 55px;

    margin: 0;
  }

  .ds4-step h3 {
    min-height: 0;

    margin: 2px 0 6px;

    font-size: 16px;
  }

  .ds4-step p {
    max-width: none;

    font-size: 13px;
  }

  .ds4__bottom {
    grid-template-columns:
      52px
      minmax(0, 1fr);

    gap: 15px;

    padding: 18px;

    border-radius: 26px;
  }

  .ds4__bottom-icon {
    width: 49px;
    height: 49px;
  }

  .ds4__bottom p {
    font-size: 13px;
  }

  .ds4__bottom-note {
    grid-column: 1 / -1;

    font-size: 21px;
  }

}



/* SECTION 4 — ORIGINAL IMAGE v24 START */

/*
 * Исходник используется ЦЕЛИКОМ.
 * Никакого crop / cover / mask / отрицательных смещений.
 */

.ds4__visual {
  min-width: 0 !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  overflow: visible !important;
}


.ds4__visual-img {
  position: static !important;

  display: block !important;

  width: 100% !important;
  max-width: 590px !important;
  height: auto !important;

  margin: 0 auto !important;

  object-fit: contain !important;
  object-position: center !important;

  clip-path: none !important;

  mask: none !important;
  mask-image: none !important;
  -webkit-mask-image: none !important;

  transform: none !important;
}


@media (min-width: 901px) {

  .ds4__top {
    grid-template-columns:
      minmax(420px, 43%)
      minmax(0, 57%) !important;

    gap: 38px !important;

    align-items: center !important;
  }

}


@media (min-width: 901px) and (max-width: 1350px) {

  .ds4__visual-img {
    max-width: 520px !important;
  }

}


@media (min-width: 1500px) {

  .ds4__visual-img {
    max-width: 650px !important;
  }

}


@media (max-width: 900px) {

  .ds4__visual-img {
    width: 100% !important;
    max-width: 620px !important;

    margin: 0 auto !important;
  }

}


@media (max-width: 620px) {

  .ds4__visual-img {
    width: 100% !important;
    max-width: 100% !important;

    margin: 0 auto !important;
  }

}

/* SECTION 4 — ORIGINAL IMAGE v24 END */


/* SECTION 5 — TECHNOLOGIES v25 START */

.ds5,
.ds5 * {
  box-sizing: border-box;
}


.ds5 {
  position: relative;

  overflow: hidden;

  padding:
    56px
    0
    50px;

  background:
    radial-gradient(
      circle at 76% 16%,
      rgba(172,145,255,.13),
      transparent 32%
    ),
    linear-gradient(
      180deg,
      #fbfaff 0%,
      #ffffff 54%,
      #f8f6ff 100%
    );

  border-top:
    1px solid rgba(101,82,233,.07);
}


.ds5__inner {
  width:
    min(
      1500px,
      calc(100% - 70px)
    );

  margin:
    0 auto;
}


/* ==================================================
   HEADER
   ================================================== */

.ds5__head {
  max-width: 1120px;
}


.ds5__eyebrow {
  display: inline-flex;

  align-items: center;

  gap: 12px;

  color: #6856ef;

  font-size: 13px;
  line-height: 1.2;
}


.ds5__eyebrow strong {
  font-weight: 760;
}


.ds5__eyebrow::after {
  content: "";

  width: 42px;
  height: 1px;

  background:
    rgba(106,86,238,.33);

  order: -1;
}


.ds5__title {
  margin:
    22px
    0
    17px;

  color: #090a10;

  font-size:
    clamp(
      48px,
      4.4vw,
      70px
    );

  line-height: .97;

  letter-spacing: -.055em;

  font-weight: 780;
}


.ds5__title span {
  background:
    linear-gradient(
      95deg,
      #ff65c6 0%,
      #9056f4 47%,
      #6654ff 100%
    );

  -webkit-background-clip: text;
  background-clip: text;

  -webkit-text-fill-color: transparent;
}


.ds5__lead {
  max-width: 1000px;

  margin: 0;

  color: #626b81;

  font-size: 17px;
  line-height: 1.43;
}


/* ==================================================
   USER SCHEME — FULL IMAGE
   ================================================== */

.ds5__scheme {
  width: 100%;

  margin-top: 24px;

  overflow: visible;
}


.ds5__scheme-img {
  position: static;

  display: block;

  width: 100%;
  max-width: 100%;
  height: auto;

  margin:
    0 auto;

  object-fit: contain;
  object-position: center;

  clip-path: none;

  mask: none;
  mask-image: none;

  -webkit-mask-image: none;

  transform: none;
}


/* ==================================================
   BENEFITS
   ================================================== */

.ds5__benefits {
  display: grid;

  grid-template-columns:
    repeat(3,minmax(0,1fr));

  gap: 22px;

  margin-top: 22px;
}


.ds5-benefit {
  min-height: 112px;

  display: flex;

  align-items: center;

  gap: 20px;

  padding:
    23px
    27px;

  border:
    1px solid rgba(104,83,241,.14);

  border-radius: 23px;

  background:
    rgba(255,255,255,.68);

  box-shadow:
    0 12px 30px rgba(93,70,163,.04);
}


.ds5-benefit__icon {
  flex:
    0 0 64px;

  width: 64px;
  height: 64px;

  display: flex;

  align-items: center;
  justify-content: center;

  border:
    1px solid rgba(105,85,239,.15);

  border-radius: 50%;

  background:
    rgba(255,255,255,.95);

  color:
    #7557f4;
}


.ds5-benefit__icon svg {
  width: 35px;
  height: 35px;

  fill: none;

  stroke: currentColor;

  stroke-width: 2.5;

  stroke-linecap: round;
  stroke-linejoin: round;
}


.ds5-benefit h3 {
  margin: 0;

  color: #161929;

  font-size: 21px;
  line-height: 1.14;

  letter-spacing: -.02em;

  font-weight: 720;
}


/* ==================================================
   BOTTOM
   ================================================== */

.ds5__bottom {
  min-height: 108px;

  margin-top: 27px;

  display: grid;

  grid-template-columns:
    minmax(0,1fr)
    315px
    190px;

  gap: 24px;

  align-items: center;

  padding:
    20px
    30px;

  border:
    1px solid rgba(104,83,241,.16);

  border-radius: 29px;

  background:
    rgba(255,255,255,.62);
}


.ds5__bottom-main {
  display: flex;

  align-items: center;

  gap: 22px;
}


.ds5__star {
  flex:
    0 0 56px;

  width: 56px;
  height: 56px;

  display: flex;

  align-items: center;
  justify-content: center;

  color:
    #af69f9;

  font-size: 36px;
}


.ds5__bottom-main p {
  max-width: 700px;

  margin: 0;

  color: #2a2e41;

  font-size: 18px;
  line-height: 1.35;

  font-weight: 660;
}


.ds5__bottom-main p span {
  color:
    #8c56f1;
}


.ds5__cta {
  min-height: 65px;

  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 30px;

  padding:
    13px
    28px;

  border-radius: 999px;

  backgroun
    linear-gradient(
      100deg,
      #ff65c6 0%,
      #8d57f3 51%,
      #6654ff 100%
    );

  box-shadow:
    0 14px 32px rgba(103,76,231,.16);

  color:
    #fff;

  text-decoration: none;

  font-size: 17px;
  font-weight: 600;
}


.ds5__bottom-note {
  color:
    #8b8fa6;

  font-size: 13px;
  line-height: 1.32;

  letter-spacing: .03em;

  text-transform: uppercase;

  font-weight: 620;
}


/* ==================================================
   LAPTOP
   ================================================== */

@media (min-width: 901px) and (max-width: 1350px) {

  .ds5__inner {
    width:
      calc(100% - 48px);
  }


  .ds5__title {
    font-size:
      54px;
  }


  .ds5__lead {
    font-size:
      16px;
  }


  .ds5-benefit {
    padding:
      20px;
  }


  .ds5-benefit__icon {
    flex-basis:
      56px;

    width:
      56px;

    height:
      56px;
  }


  .ds5-benefit h3 {
    font-size:
      18px;
  }


  .ds5__bottom {
    grid-template-columns:
      minmax(0,1fr)
      280px
      165px;
  }


  .ds5__bottom-main p {
    font-size:
      15px;
  }


  .ds5__cta {
    min-height:
      59px;

    font-size:
      15px;
  }


  .ds5__bottom-note {
    font-size:
      11px;
  }

}


/* ==================================================
   TABLET
   ================================================== */

@media (max-width: 900px) {

  .ds5 {
    padding:
      50px
      0
      42px;
  }


  .ds5__inner {
    width:
      calc(100% - 30px);
  }


  .ds5__benefits {
    grid-template-columns:
      1fr;
  }


  .ds5__bottom {
    grid-template-columns:
      1fr;

    gap:
      18px;
  }


  .ds5__cta {
    width:
      min(360px,100%);
  }

}


/* ==================================================
   MOBILE
   ================================================== */

@media (max-width: 620px) {

  .ds5__title {
    font-size:
      clamp(
        39px,
        10.8vw,
        50px
      );
  }


  .ds5__lead {
    font-size:
      16px;
  }


  .ds5__scheme {
    margin-top:
      20px;
  }


  .ds5__scheme-img {
    width:
      100%;

    max-width:
      100%;
  }


  .ds5-benefit {
    min-height:
      0;

    padding:
      17px
      18px;

    gap:
      14px;
  }


  .ds5-benefit__icon {
    flex-basis:
      52px;

    width:
      52px;

    height:
      52px;
  }


  .ds5-benefit__icon svg {
    width:
      29px;

    height:
      29px;
  }


  .ds5-benefit h3 {
    font-size:
      17px;
  }


  .ds5__bottom {
    padding:
      18px;

    border-radius:
      25px;
  }


  .ds5__bottom-main {
    align-items:
      flex-start;

    gap:
      13px;
  }


  .ds5__star {
    flex-basis:
      38px;

    width:
      38px;

    height:
      38px;

    font-size:
      28px;
  }


  .ds5__bottom-main p {
    font-size:
      15px;
  }


  .ds5__cta {
    width:
      100%;

    min-height:
      57px;

    font-size:
      16px;
  }


  .ds5__bottom-note {
    font-size:
      11px;
  }

}

/* SECTION 5 — TECHNOLOGIES v25 END */


/* SECTION 5 — SPACING FIX v26 START */

/*
 * Картинка используется ЦЕЛИКОМ.
 * Никакого crop.
 *
 * У самого файла большие прозрачные поля сверху/снизу,
 * поэтому компенсируем их только layout-отступами.
 */

@media (min-width: 901px) {

  .ds5 {
    padding-top: 42px !important;
    padding-bottom: 42px !important;
  }


  .ds5__title {
    margin-top: 15px !important;
    margin-bottom: 13px !important;
  }


  .ds5__scheme {
    /*
     * Поднимаем прозрачный верх картинки.
     */
    margin-top: -185px !important;

    /*
     * Убираем прозрачный низ картинки,
     * чтобы преимущества шли сразу после схемы.
     */
    margin-bottom: -205px !important;
  }


  .ds5__scheme-img {
    display: block !important;

    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;

    margin: 0 auto !important;

    object-fit: contain !important;

    clip-path: none !important;
    mask: none !important;
    -webkit-mask-image: none !important;
  }


  .ds5__benefits {
    margin-top: 10px !important;
  }


  .ds5__bottom {
    margin-top: 20px !important;
  }

}


/* На широком экране картинка крупнее,
   поэтому прозрачные поля физически тоже больше. */

@media (min-width: 1500px) {

  .ds5__scheme {
    margin-top: -225px !important;
    margin-bottom: -245px !important;
  }

}


/* Текущий ноутбучный размер */

@media (min-width: 901px) and (max-width: 1350px) {

  .ds5__scheme {
    margin-top: -165px !important;
    margin-bottom: -185px !important;
  }

}


/* На планшете компенсируем мягче */

@media (min-width: 621px) and (max-width: 900px) {

  .ds5__scheme {
    margin-top: -105px !important;
    margin-bottom: -115px !important;
  }

}


/* На телефоне картинка сильно меньше */

@media (max-width: 620px) {

  .ds5__scheme {
    margin-top: -55px !important;
    margin-bottom: -65px !important;
  }

}

/* SECTION 5 — SPACING FIX v26 END */


/* ==================================================
   SECTION 5 — TEXT FLOW v27
   ================================================== */

.ds5-flow {
  margin:
    4px
    0
    22px;

  padding:
    21px
    24px
    22px;

  border:
    1px solid rgba(105, 84, 239, .13);

  border-radius: 24px;

  background:
    rgba(255,255,255,.60);
}


.ds5-flow__head {
  display: flex;

  align-items: baseline;
  justify-content: space-between;

  gap: 24px;

  margin-bottom: 20px;
}


.ds5-flow__head > span {
  flex: 0 0 auto;

  color: #6b58f0;

  font-size: 13px;
  font-weight: 700;
}


.ds5-flow__head > strong {
  color: #25283a;

  font-size: 14px;
  line-height: 1.35;

  font-weight: 600;

  text-align: right;
}


.ds5-flow__grid {
  display: grid;

  grid-template-columns:
    minmax(0,1fr) 22px
    minmax(0,1fr) 22px
    minmax(0,1fr) 22px
    minmax(0,1fr) 22px
    minmax(0,1fr) 22px
    minmax(0,1fr);

  align-items: center;

  gap: 7px;
}


.ds5-flow__item {
  min-width: 0;
}


.ds5-flow__num {
  display: block;

  margin-bottom: 6px;

  color: #7859f3;

  font-size: 10px;
  line-height: 1;

  font-weight: 760;
}


.ds5-flow__item > strong {
  display: block;

  margin-bottom: 6px;

  color: #171928;

  font-size: 14px;
  line-height: 1.18;

  font-weight: 720;
}


.ds5-flow__item p {
  margin: 0;

  color: #687086;

  font-size: 11px;
  line-height: 1.35;
}


.ds5-flow__arrow {
  color: #a48bf8;

  font-size: 21px;
  line-height: 1;

  text-align: center;
}


@media (max-width: 1100px) {

  .ds5-flow__head {
    display: block;
  }


  .ds5-flow__head > strong {
    display: block;

    margin-top: 6px;

    text-align: left;
  }


  .ds5-flow__grid {
    grid-template-columns:
      repeat(3, minmax(0,1fr));

    gap: 15px;
  }


  .ds5-flow__arrow {
    display: none;
  }

}


@media (max-width: 620px) {

  .ds5-flow {
    padding:
      18px;

    border-radius:
      20px;
  }


  .ds5-flow__head {
    margin-bottom:
      17px;
  }


  .ds5-flow__head > strong {
    font-size:
      13px;
  }


  .ds5-flow__grid {
    grid-template-columns:
      1fr;

    gap:
      13px;
  }


  .ds5-flow__item {
    position: relative;

    padding-left:
      34px;
  }


  .ds5-flow__num {
    position: absolute;

    left: 0;
    top: 3px;
  }


  .ds5-flow__item > strong {
    font-size:
      14px;
  }


  .ds5-flow__item p {
    font-size:
      12px;
  }

}


/* SECTION 5 — SIMPLE ROUTE v28 START */

.ds5-route {
  display: flex;
  align-items: center;
  justify-content: center;

  gap: 12px;

  width: 100%;

  margin: 2px 0 18px;

  color: #222536;

  font-size: 14px;
  line-height: 1.25;

  font-weight: 650;

  text-align: center;
}


.ds5-route span {
  white-space: nowrap;
}


.ds5-route b {
  color: #8b6af4;

  font-size: 20px;
  line-height: 1;

  font-weight: 400;
}


@media (max-width: 1100px) {

  .ds5-route {
    gap: 8px;

    font-size: 12px;
  }

  .ds5-route b {
    font-size: 17px;
  }

}


@media (max-width: 700px) {

  .ds5-route {
    flex-wrap: wrap;

    gap: 7px 9px;

    margin-bottom: 16px;

    font-size: 12px;
  }

  .ds5-route span {
    white-space: normal;
  }

}

/* SECTION 5 — SIMPLE ROUTE v28 END */


/* SECTION 5 — CTA FIX v29 START */

.ds5 a.ds5__cta,
.ds5 .ds5__cta,
.ds5 .ds5__cta:link,
.ds5 .ds5__cta:visited {
  position: relative !important;

  min-height: 62px !important;

  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;

  gap: 24px !important;

  padding: 13px 28px !important;

  border: 0 !important;
  border-radius: 999px !important;

  background:
    linear-gradient(
      100deg,
      #5f4eff 0%,
      #8f55f2 52%,
      #ed4fae 100%
    ) !important;

  background-color: #7654f5 !important;

  color: #ffffff !important;

  -webkit-text-fill-color: #ffffff !important;

  opacity: 1 !important;
  visibility: visible !important;

  text-decoration: none !important;

  font-size: 16px !important;
  line-height: 1 !important;
  font-weight: 650 !important;

  box-shadow:
    0 15px 34px rgba(105, 74, 231, .20) !important;

  transition:
    transform .18s ease,
    box-shadow .18s ease !important;
}


.ds5 .ds5__cta span {
  color: #ffffff !important;

  -webkit-text-fill-color: #ffffff !important;

  opacity: 1 !important;
}


.ds5 .ds5__cta span:last-child {
  font-size: 24px !important;
  line-height: 1 !important;

  font-weight: 300 !important;
}


.ds5 .ds5__cta:hover {
  transform: translateY(-2px) !important;

  background:
    linear-gradient(
      100deg,
      #5548f8 0%,
      #8750ee 52%,
      #e746a5 100%
    ) !important;

  box-shadow:
    0 19px 39px rgba(105, 74, 231, .26) !important;
}


/* Mobile */

@media (max-width: 900px) {

  .ds5 .ds5__cta {
    width: 100% !important;
    max-width: 360px !important;
  }

}


@media (max-width: 620px) {

  .ds5 .ds5__cta {
    max-width: none !important;

    min-height: 57px !important;

    font-size: 15px !important;
  }

}

/* SECTION 5 — CTA FIX v29 END */


/* SECTION 5 — MOBILE SCHEME v30 START */

.ds5__scheme-picture {
  display: block;
  width: 100%;
}


@media (max-width: 700px) {

  /*
   * Вертикальная мобильная схема используется
   * целиком, без crop и без увеличения за viewport.
   */

  .ds5__scheme {
    margin-top: 6px !important;
    margin-bottom: 4px !important;
  }


  .ds5__scheme-picture {
    display: block;

    width: 100%;
    max-width: 100%;

    margin: 0 auto;
  }


  .ds5__scheme-img {
    display: block !important;

    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;

    margin: 0 auto !important;

    object-fit: contain !important;
    object-position: center !important;

    clip-path: none !important;

    mask: none !important;
    mask-image: none !important;
    -webkit-mask-image: none !important;

    transform: none !important;
  }

}

/* SECTION 5 — MOBILE SCHEME v30 END */


/* SECTION 6 — CONTACT SCREEN v31 START */

.ds6,
.ds6 * {
  box-sizing: border-box;
}

.ds6 {
  position: relative;

  overflow: hidden;

  min-height: 760px;

  padding:
    clamp(48px, 7vw, 92px)
    0;

  background:
    url("/assets/direct-setup/section6-bg.webp")
    center center / cover
    no-repeat;

  scroll-margin-top: 40px;
}

.ds6__overlay {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      90deg,
      rgba(7, 11, 25, .62) 0%,
      rgba(10, 14, 30, .44) 38%,
      rgba(18, 22, 38, .18) 66%,
      rgba(18, 22, 38, .08) 100%
    );
}

.ds6__inner {
  position: relative;
  z-index: 1;

  width:
    min(1500px, calc(100% - 70px));

  margin: 0 auto;
}

.ds6__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;

  margin-bottom: 22px;

  color: rgba(255,255,255,.78);

  font-size: 13px;
  line-height: 1.2;
}

.ds6__eyebrow strong {
  color: #ffffff;
  font-weight: 760;
}

.ds6__eyebrow::after {
  content: "";

  width: 42px;
  height: 1px;

  background: rgba(255,255,255,.28);

  order: -1;
}

.ds6__title {
  max-width: 760px;

  margin:
    0
    0
    20px;

  color: #ffffff;

  font-size:
    clamp(44px, 5.6vw, 84px);

  line-height: .97;
  letter-spacing: -.05em;
  font-weight: 780;
}

.ds6__lead {
  max-width: 650px;

  margin:
    0
    0
    26px;

  color: rgba(255,255,255,.84);

  font-size: 18px;
  line-height: 1.45;
}

.ds6__points {
  display: flex;
  flex-direction: column;
  gap: 12px;

  max-width: 640px;

  margin-bottom: 28px;
}

.ds6__point {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ds6__point-num {
  flex: 0 0 38px;

  width: 38px;
  height: 38px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: rgba(255,255,255,.14);

  color: #ffffff;

  font-size: 12px;
  line-height: 1;
  font-weight: 760;

  backdrop-filter: blur(6px);
}

.ds6__point-text {
  color: #ffffff;

  font-size: 16px;
  line-height: 1.35;
  font-weight: 560;
}

.ds6__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.ds6__btn {
  min-height: 58px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;

  padding:
    14px
    24px;

  border-radius: 999px;

  text-decoration: none;

  font-size: 16px;
  line-height: 1;
  font-weight: 650;

  transition:
    transform .18s ease,
    box-shadow .18s ease,
    background .18s ease,
    border-color .18s ease;
}

.ds6__btn:hover {
  transform: translateY(-2px);
}

.ds6__btn--primary {
  border: 0;

  background:
    linear-gradient(
      100deg,
      #5f4eff 0%,
      #8f55f2 52%,
      #ed4fae 100%
    );

  color: #ffffff;

  box-shadow:
    0 16px 34px rgba(85, 67, 231, .28);
}

.ds6__btn--ghost {
  border: 1px solid rgba(255,255,255,.28);

  background: rgba(255,255,255,.08);

  color: #ffffff;

  backdrop-filter: blur(8px);
}

@media (max-width: 900px) {

  .ds6 {
    min-height: 680px;

    background-position:
      65% center;
  }

  .ds6__inner {
    width: calc(100% - 30px);
  }

  .ds6__title {
    max-width: 620px;
  }

  .ds6__lead {
    max-width: 560px;
    font-size: 17px;
  }

}

@media (max-width: 620px) {

  .ds6 {
    min-height: auto;

    padding:
      40px
      0
      44px;

    background-position:
      68% center;
  }

  .ds6__eyebrow {
    margin-bottom: 16px;
  }

  .ds6__title {
    margin-bottom: 16px;

    font-size:
      clamp(36px, 11vw, 52px);
  }

  .ds6__lead {
    margin-bottom: 22px;

    font-size: 15px;
    line-height: 1.42;
  }

  .ds6__points {
    gap: 10px;
    margin-bottom: 24px;
  }

  .ds6__point {
    align-items: flex-start;
  }

  .ds6__point-num {
    flex-basis: 34px;
    width: 34px;
    height: 34px;

    font-size: 11px;
  }

  .ds6__point-text {
    font-size: 14px;
  }

  .ds6__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .ds6__btn {
    width: 100%;
    min-height: 56px;

    justify-content: space-between;

    font-size: 15px;
  }

}

/* SECTION 6 — CONTACT SCREEN v31 END */
