.xd-one-two-three-steps {
    width: 100%;
    padding: clamp(66px, 6.4vw, 102px) clamp(28px, 4.5vw, 70px) clamp(84px, 7.2vw, 116px);
    box-sizing: border-box;
    background: #ffffff;
}

.xd-one-two-three-steps__title {
    margin: 0 0 clamp(44px, 4vw, 64px);
    color: #25124a;
    text-align: center;
    font-size: clamp(3.6rem, 4.5vw, 5.3rem);
    line-height: 0.96;
    font-weight: 800;
    letter-spacing: -0.05em;
}

.xd-one-two-three-steps__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(30px, 2.6vw, 46px);
    max-width: 1480px;
    margin: 0 auto;
}

.xd-one-two-three-steps__item {
    position: relative;
    text-align: center;
}

.xd-one-two-three-steps__item::after {
    content: "";
    position: absolute;
    top: 48px;
    left: calc(50% + 55px);
    width: calc(100% - 110px + clamp(30px, 2.6vw, 46px));
    height: 6px;
    background-image: radial-gradient(circle, #efbb47 3px, transparent 3px);
    background-size: 14px 6px;
    background-repeat: repeat-x;
    background-position: 0 50%;
    opacity: 0.95;
}

.xd-one-two-three-steps__item:last-child::after {
    display: none;
}

.xd-one-two-three-steps__marker-row {
    display: flex;
    justify-content: center;
    margin-bottom: 28px;
}

.xd-one-two-three-steps__marker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 102px;
    height: 102px;
    border-radius: 50%;
    background: radial-gradient(circle at 34% 24%, #7c32ea 0%, #5d23ad 42%, #35135b 100%);
    color: #ffffff;
    font-size: 4.2rem;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.04em;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.xd-one-two-three-steps__heading {
    margin: 0 0 18px;
    color: #25124a;
    font-size: clamp(2.65rem, 2.7vw, 3.55rem);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -0.04em;
    text-wrap: balance;
}

.xd-one-two-three-steps__body {
    max-width: 460px;
    margin: 0 auto;
    color: #171717;
    font-size: clamp(1.48rem, 1.2vw, 1.76rem);
    line-height: 1.46;
}

.xd-one-two-three-steps__body > *:first-child {
    margin-top: 0;
}

.xd-one-two-three-steps__body > *:last-child {
    margin-bottom: 0;
}

.xd-one-two-three-steps__body p {
    margin: 0;
}

@media (max-width: 991px) {
    .xd-one-two-three-steps__grid {
        grid-template-columns: 1fr;
        gap: 74px;
    }

    .xd-one-two-three-steps__item::after {
        top: calc(100% + 10px);
        left: 50%;
        width: 6px;
        height: 56px;
        background-image: radial-gradient(circle, #efbb47 3px, transparent 3px);
        background-size: 6px 14px;
        background-repeat: repeat-y;
        background-position: 50% 0;
        transform: translateX(-50%);
    }

    .xd-one-two-three-steps__marker-row {
        margin-bottom: 22px;
    }
}

@media (max-width: 767px) {
    .xd-one-two-three-steps {
        padding: 48px 20px 68px;
    }

    .xd-one-two-three-steps__title {
        margin-bottom: 34px;
        font-size: clamp(3.1rem, 13vw, 4.6rem);
    }

    .xd-one-two-three-steps__marker {
        width: 88px;
        height: 88px;
        font-size: 3.7rem;
    }

    .xd-one-two-three-steps__heading {
        font-size: clamp(2.3rem, 10vw, 3.3rem);
        line-height: 1.2;
    }

    .xd-one-two-three-steps__body {
        font-size: 18px;
    }

    .xd-one-two-three-steps__grid {
        gap: 72px;
    }

    .xd-one-two-three-steps__item::after {
        top: calc(100% + 8px);
        height: 56px;
    }
}
