.m-vs__grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--card-gap);
    align-items: stretch;
}

.m-vs__card {
    align-content: start;
}

.m-vs__card {
    display: grid;
    gap: 24px;
    padding: var(--card-pad-lg);
    border-radius: var(--r-3xl);
}

.m-vs__card--diy {
    background: var(--c-surface);
}

.m-vs__card--esb {
    background: linear-gradient(135deg, #dcdcfb 0%, #bcd9fd 45%, #bfe9f0 100%);
    border: 1px solid color-mix(in srgb, var(--c-purple) 55%, var(--c-primary));
}

.m-vs__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.m-vs__title {
    font-size: var(--fs-h5);
    line-height: var(--lh-tight);
    font-weight: var(--fw-medium);
    color: var(--c-ink);
}

.m-vs__tag {
    flex: none;
    padding: 8px 12px;
    border-radius: var(--r-sm);
    font-size: var(--fs-base);
    font-weight: var(--fw-medium);
    line-height: 1.2;
}

.m-vs__tag--risk {
    background: var(--tint-peach);
    color: var(--c-orange);
}

.m-vs__tag--rec {
    /* background: linear-gradient(135deg, #6d5be8, #3f7be8); */
    /* box-shadow: 0 4px 12px rgba(79, 91, 232, .35); */
    color: #fff;
    background: linear-gradient(128.19deg, #6565E6 0.02%, #5692C9 99.98%);
    box-shadow: 0px -2px 8px 0px #E7F2FD inset;
}

.m-vs .m-vs__list {
    list-style: none;
    margin: 0;
    padding: 12px var(--card-pad-lg);
    background: var(--c-white);
    border-radius: var(--r-xl);
}

.m-vs__row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 28px 0;
    border-bottom: 1px solid var(--c-border);
}

.m-vs__row:last-child {
    border-bottom: 0;
}

.m-vs__icon {
    --tile: 44px;
    --tile-icon: 22px;
    border-radius: var(--r-md);
}

.m-vs__label {
    display: block;
    margin-bottom: 8px;
    font-size: var(--fs-xs);
    line-height: 1.2;
    letter-spacing: .02em;
    text-transform: uppercase;
    color: var(--c-ink-2);
}

.m-vs__text {
    font-size: var(--fs-lg);
    line-height: 1.5;
    color: var(--c-ink);
}

/* VS badge sits on the seam between the cards */
.m-vs__badge {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 2;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(128.19deg, #5B5BE1 0.02%, #8FC4F4 99.98%);
    color: var(--c-white);
    font-size: var(--fs-h6);
    font-weight: var(--fw-semibold);
    box-shadow: 0 0 0 5px rgba(255, 255, 255, .85), 0 8px 24px rgba(79, 91, 232, .3);
}

@media (max-width: 991px) {
    .m-vs__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    .m-vs__badge {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        justify-self: center;
        width: 64px;
        height: 64px;
    }

    .m-vs__card {
        border-radius: var(--r-2xl);
    }
}

@media (max-width: 575px) {
    .m-vs__head {
        flex-wrap: wrap;
    }

    .m-vs .m-vs__list {
        padding-inline: 16px;
    }

    .m-vs__row {
        gap: 12px;
        padding: 18px 0;
    }
}