.how-it-works {
    border-radius: 28px;
    border: 1px solid rgba(217, 217, 217, 0.60);
    background: linear-gradient(149deg, rgba(239, 241, 244, 0.85) 0%, rgba(239, 241, 244, 0.75) 100%);
    padding: 80px 56px;
    width: min(100% - var(--tracking-edge) * 2, 1408px);
    margin-inline: auto;
}

.how-it-works__title {
    margin-bottom: 12px;
}

.how-it-works__subtitle {
    width: 536px;
    text-align: center;
}

.how-it-works__blocks {
    display: grid;
    grid-template-columns: repeat(4, 312px);
    gap: 16px;
    justify-content: center;
    margin-top: 40px;
}

.how-it-works__card {
    display: flex;
    flex-direction: column;

    padding: 24px;

    border-radius: 20px;
    border: 1px solid var(--color-bg-white);
    background: var(--color-bg-white-50);
}

.hiw-step {
    gap: 8px;

    .hiw-step__divider {
        height: 2px;
        width: 22px;
        background: #A8AEB9;
    }
}

.how-it-works__card-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 130%;
    color: var(--color-dark-graphite);
    margin: 7px 0 6px;
}

.how-it-works__card-main {
    width: 240px;
}

.how-it-works__card-subtitle {
    color: var(--Text-Muted);
}

.how-it-works__card-pills {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;

    margin: 18px 0 0;
    padding: 0;

    list-style: none;
}

.how-it-works__card-pill {
    display: flex;
    align-items: center;
    gap: 6px;

    height: 21px;
    padding: 8px 12px;

    color: var(--color-dark-graphite);
    background: var(--color-bg-light);
    border: 1px solid #D9D9D9;
    border-radius: 50px;
}

.how-it-works__card-pill::before {
    content: "";
    top: 50%;
    left: 10px;
    width: 5px;
    height: 5px;
    background: var(--color-primary);
    border-radius: 50%;
}

.how-it-works__card-info {
    border-radius: 10px;
    background: var(--color-bg-white);
    box-shadow: 0 24px 27px 0 rgba(22, 32, 66, 0.16);
    margin-top: 32px;
    padding: 10px;
}

.how-it-works__card-content {
    border-radius: 10px;
    border: 1px solid var(--color-border);
    background: var(--color-input-bg);
    padding: 20px;
    gap: 7px;
}

.how-it-works__card-icon {
    display: flex;
    width: 24px;
    height: 24px;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
}

.how-it-works__card-icon img {
    width: 12px;
    height: 12px;
}

.how-it-works__card-icon--gray {
    background: var(--color-bg-light);
}

.how-it-works__card-icon--blue {
    background: #EFF6FF;
}

.how-it-works__card-icon--purple {
    background: var(--Brand-Primary-Light);
}

.how-it-works__card-circle {
    width: 9px;
    height: 9px;
    border-radius: 100%;
    background: #2EB87A;
}

.how-it-works__card--life-map .how-it-works__card-circle {
    margin-right: 5px;
}

.how-it-works__card-info-title {
    color: var(--color-bg-dark);
}

.how-it-works__card-info-subtitle {
    color: var(--color-text-secondary);
    font-size: 8px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin-top: 3px;
}

.how-it-works__card-info-subtitle--bold {
    font-weight: 700;
}

.how-it-works__card-info-pill {
    height: 20px;
    padding: 4px 8px;
    border-radius: 43px;
    background: rgba(46, 184, 122, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
}

.how-it-works__card-pill-text {
    color: #2EB87A;
    font-size: 9px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.how-it-works__sensor-text {
    color: var(--Text-Primary);
    font-size: 8px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    margin-left: 4px;
}

.how-it-works__dots {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 4px;

    width: max-content;
    height: 12px;
    margin: 24px auto 0;
    padding-inline: 5px;

    background: var(--color-bg-white);
    border-radius: 96px;
}

.how-it-works__dot {
    width: 12px;
    height: 5px;

    background: var(--color-primary-10);
    border-radius: 12px;

    transition: width 0.25s ease, background 0.25s ease;
}

.how-it-works__dot.is-active {
    width: 28px;
    background: var(--color-text-primary);
}

.how-it-works__card-info-pill--purple {
    background: var(--Brand-Primary-10);
}

.how-it-works__card-info-pill--purple .how-it-works__card-pill-text {
    color: var(--Brand-Primary-100);
}

@media (max-width: 1200px) {
    .how-it-works__blocks {
        grid-template-columns: repeat(2, 312px);
    }
}

@media (max-width: 900px) {
    .how-it-works {
        width: auto;
        margin-inline: 16px;
        padding: 80px 60px;
    }

    .how-it-works__blocks {
        grid-template-columns: minmax(0, 1fr);
    }

    .how-it-works__card {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        align-items: center;
        gap: 42px;
    }

    .how-it-works__card-info {
        margin-top: 0;
    }

    .how-it-works__card-main {
        width: auto;
    }

    .how-it-works__card-subtitle {
        line-height: 143%;
    }
}

@media (max-width: 640px) {
    .how-it-works {
        width: auto;
        margin: 0 8px;
        padding: 32px 16px 24px;
    }

    .how-it-works__title {
        margin-bottom: 8px;
    }

    .how-it-works__subtitle {
        width: auto;
    }

    .how-it-works__blocks {
        grid-template-columns: none;
        grid-auto-flow: column;
        grid-auto-columns: 312px;
        justify-content: start;

        margin-top: 24px;

        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

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

    .how-it-works__card {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;

        width: auto;
        scroll-snap-align: start;
    }

    .how-it-works__card-info {
        margin-top: 32px;
    }

    .how-it-works .hiw-step__text {
        text-transform: uppercase;
    }

    .how-it-works__card-main {
        width: 240px;
    }

    .how-it-works__card-title {
        font-size: 16px;
        line-height: 137%;
    }

    .how-it-works__card-subtitle {
        font-size: 13px;
        line-height: 154%;
    }

    .how-it-works__dots {
        display: flex;
    }
}