.wp-block-headless-how-it-works {
    position: relative;
    margin-left: 80px;
    margin-right: 80px;
}

.how-it-works-copy {
    position: relative;
    z-index: 1;
    max-width: 980px;
    margin: 0 auto 34px;
    text-align: center;
}

.how-it-works-eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    color: #7a9dc0;
    font-size: 1.5rem;
    font-weight: 500;

}

.how-it-works-title {
    margin: 0;
    color: #365072;
    font-size: 52px;
    font-weight: 600;
    line-height: 1.1;
}

.how-it-works-title-accent {
    color: #365072;
}

.how-it-works-subtitle {
    max-width: 820px;
    margin: 28px auto 0;
    color: #5b6876;
    font-size: 1.15rem;
    line-height: 1.56;
}

.how-it-works-scene {
    position: relative;
    min-height: 980px;
}

.how-it-works-scene-art {
    height: 100%;
    min-height: 715px;
    border-radius: 34px;
    background:
        radial-gradient(circle at 50% 18%, rgba(219, 236, 248, 0.28) 0%, rgba(242, 248, 252, 0.05) 22%, rgba(255, 255, 255, 0.22) 44%, rgba(255, 255, 255, 0.44) 100%);
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: cover;
}

.how-it-works-steps {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: -418px;
    padding: 0 65px;
}

.how-it-works-step {
    min-height: 275px;
    padding: 25px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 4px 24px rgba(29, 43, 57, 0.10), 0 1px 6px rgba(29, 43, 57, 0.04);
    border: 1px solid rgba(224, 231, 239, 0.5);
}

.how-it-works-step-label {
    margin-bottom: 20px;
    color: #6f7884;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
}

.how-it-works-step-icon {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border-radius: 18px;
    font-size: 1.7rem;
    font-weight: 700;
    line-height: 1;
}

.how-it-works-step-icon img,
.how-it-works-step-icon svg {
    width: 22px;
    height: 22px;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}

.how-it-works-step-title {
    margin: 0 0 12px;
    color: #131a20;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.04;
}

.how-it-works-step-description {
    margin: 0;
    color: #69727c;
    font-size: 0.9rem;
    line-height: 1.45;
}

@media (max-width: 1000px) {
    .how-it-works-scene,
    .how-it-works-scene-art {
        min-height: 760px;
    }

    .how-it-works-steps {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 8px;
        margin-top: -150px;
        padding-bottom: 8px;
    }

    .how-it-works-step {
        flex-shrink: 0;
        width: 340px;
        scroll-snap-align: start;
    }
}

@media (max-width: 760px) {
    .wp-block-headless-how-it-works {
        margin-left: 8px;
        margin-right: 8px;
    }

    .how-it-works-copy {
        margin-bottom: 22px;
    }

    .how-it-works-scene {
        min-height: 420px;
        overflow: hidden;
    }

    .how-it-works-scene-art {
        min-height: 420px;
        border-radius: 28px 28px 0 0;
        background-size: 160% auto;
        background-position: center bottom;
    }

    .how-it-works-title {
        font-size: clamp(1.8rem, 7vw, 2.4rem);
    }

    .how-it-works-subtitle {
        font-size: 1.02rem;
    }

    .how-it-works-steps {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 14px;
        margin-top: -120px;
        padding-bottom: 8px;
        scrollbar-width: none;
    }

    .how-it-works-steps::-webkit-scrollbar {
        display: none;
    }

    .how-it-works-step {
        flex-shrink: 0;
        width: 85vw;
        max-width: 376px;
        min-height: 277px;
        padding: 24px;
        border-radius: 32px;
        scroll-snap-align: start;
        box-shadow: 0 4px 7px rgba(0, 0, 0, 0.25);
    }
}
