section:has(.card--featured) .bg-layer.page__bg-layer__small {
    .gear-1 {
        top: 0;
        left: -40px;
        width: 173px;
        height: 181px;
    }

    .gear-2 {
        top: calc(100% - 200px);
        right: -20px;
    }
}

.split-section .section-title {
    margin-bottom: 12px;
    text-align: left;
}

.split-section .section-description:first-of-type {
    margin-bottom: 12px;
}

.split-section {
    background-image: image-set(
        url('../images/bas-demo_laptop.png') 1x,
        url('../images/bas-demo_laptop@2x.png') 2x
    );
    background-repeat: no-repeat;
    background-position: calc(50% + 640px) center;
}

section:has(.badged-list) .bg-layer.page__bg-layer__small {
    .gear-1 {
        top: 230px;
        left: calc(100% - 205px);
    }

    .gear-2 {
        top: calc(100% - 155px);
        right: calc(100% - 120px);
    }
}

.badged-list li {
    row-gap: 12px;
    padding: 20px 16px;
    border-radius: 8px;
    background-color: var(--white-muted);
}

.badged-list__title::before {
    content: none;
}

.demo-list .bg-layer.page__bg-layer__small {
    .gear-1 {
        top: 13%;
        left: calc(100% - 220px);
    }

    .gear-2 {
        top: 45%;
        right: calc(100% - 130px);
    }
}

.programs-card__content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.42;
    margin-bottom: 8px;
}

.programs-card__actions p {
    interpolate-size: allow-keywords;
    max-width: max-content;
    padding: 5px 26px 5px 0px;
}

.demo-possibilities .bg-layer.page__bg-layer__small {
    .gear-1 {
        top: 230px;
        left: calc(100% - 210px);
    }

    .gear-2 {
        top: calc(50% + 220px);
        right: calc(100% - 120px);
    }
}

.list--counted {
    li {
        display: grid;
        grid-template-columns: 24px minmax(0, 350px) minmax(0, 1fr);
        gap: 16px;
        align-items: center;
        padding: 20px;
        border-bottom: 0.4px solid var(--brand-color);
    }

    h3 {
        font-size: 18px;
        font-weight: 500;
    }

    h3, p {
        line-height: 1.52;
    }

    p, h3::before {
        font-weight: 300;
    }
}

.steps {
    display: flex;
    margin: 0 auto;
    gap: 24px;

    li {
        --circle-size: 48px;
        position: relative;
        flex: 1;
        padding-top: calc(var(--circle-size) + 20px);
    }

    li::after {
        content: "";
        position: absolute;
        background: var(--brand-color--accent);
        top: calc(var(--circle-size) / 2 - 1px);
        left: var(--circle-size);
        width: calc(100% - var(--circle-size));
        height: 0.4px;
    }

    h3 {
        font-size: clamp(18px, 1.081rem + 0.1878vw, 20px);
        font-weight: 500;
        line-height: 1.52;
        margin-bottom: 8px;
    }

    p {
        font-size: 16px;
        line-height: 1.52;
    }
}

.step__circle {
    position: absolute;
    top: 0;
    left: 0;

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

    font-size: 18px;
    font-weight: 700;
    color: var(--brand-color--accent);

    width: var(--circle-size);
    height: var(--circle-size);
    border-radius: 50%;
    border: 0.4px solid var(--brand-color--accent);
    background: var(--white-muted);
    z-index: 2;
}

.about__text-content {
    max-width: 580px;

    h2 {
        line-height: 1.52;
        margin-bottom: 16px;
    }

    p {
        margin-bottom: 12px;
    }

    .list--decorated li {
        line-height: 1.47;
    }
}

.about__container {
    column-gap: 60px;
}

.about__image-thumb {
    aspect-ratio: 580 / 642;
    max-height: 642px;
    align-self: start;
    border-radius: 12px 0 0 12px;
}

.about__image-thumb img {
    height: 100%;
    object-fit: cover;
    object-position: 70% bottom;
}

.advice .container {
    padding: 80px 110px;
}

.advice__content {
    max-width: 840px;

    h2, p {
        text-align: left;
        margin-bottom: 12px;
    }

    p:last-of-type {
        margin-bottom: 30px;
    }

    a.page-button__contained {
        justify-self: start;
    }
}

.why-us {
    h2 {
        text-align: left;
        margin-bottom: 36px;
    }

    h3 {
        font-size: clamp(24px, 1.412rem + 0.3756vw, 28px);
        font-weight: 600;
        line-height: 1.64;
        margin-bottom: 16px;
    }

    p:not(:last-of-type) {
        line-height: 1.67;
        margin-bottom: 24px;
    }
}

.why-us .bg-layer.page__bg-layer__small {
    .gear-1 {
        top: 25px;
        left: 130px;
        width: 173px;
        height: 181px;
    }
}

/* --- @MEDIA 1200px --- */

@media screen and (min-width: 1200px) {
    .split-section__content {
        max-width: 639px;
    }

    .demo-list #programs-list_show-more__btn {
        display: none;
    }
}

@media screen and (min-width: 768px) and (max-width: 1199px) {
    .split-section {
        padding-bottom: 474px;
        background-size: 630px 365px;
    }
}

@media screen and (max-width: 1199px) {
    .split-section {
        background-position: center bottom 40px;
    }

    .list--counted li {
        grid-template-columns: 24px minmax(0, 1fr);
    }

    .list--counted :where(h3, p) {
        grid-column: 2;
    }

    .steps {
        flex-wrap: wrap;
    }

    .step {
        min-width: 225px;
    }
}

/* --- @MEDIA 1024px --- */

@media screen and (min-width: 768px) and (max-width: 1023px) {
    .badged-list.list--3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: max-content;
    }
}

@media screen and (max-width: 1023px) {
    .split-section .bg-layer.page__bg-layer__small .gear-1 {
        top: 15%;
    }

    .advice .container {
        padding: 75px 55px;
    }

    .for-whom .about__container {
        text-align: left;
        flex-direction: column;
    }

    .for-whom .about__image-thumb {
        align-self: center;
        border-radius: 12px;
    }
}


/* --- @MEDIA 768px --- */

@media screen and (min-width: 768px) {
    .programs-card {
        min-height: 483px;
    }

    .advice .container {
        background-image: linear-gradient(90deg, #f5f5f5 53%, rgba(245,245,245,0.5) 100%),
            url('../images/advice_bas-demo.jpg');
        background-position: center, right top;
        background-repeat: no-repeat;
        border-radius: 0px 12px 12px 0px;
    }
}

@media screen and (max-width: 767px) {
    .steps {
        flex-direction: column;
        gap: 32px;
    }

    .steps li {
        padding-top: 0;
        padding-left: calc(var(--circle-size) + 20px);
    }

    .steps li::after {
        top: var(--circle-size);
        left: calc(var(--circle-size) / 2 - 1px);
        width: 0.4px;
        height: calc(100% - var(--circle-size));
    }

    .step__circle {
        top: 0;
        left: 0;
    }

    .advice .container {
        padding: 32px 24px;
    }

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