.hs-insights {
    position: relative;
    overflow: hidden;
}

.hs-insights__head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 480px);
    align-items: end;
    gap: 32px;
    margin-bottom: clamp(32px, 5vw, 52px);
}

.hs-insights__eyebrow {
    display: block;
    margin-bottom: 12px;
    color: var(--primary-colors-orange, #ff710d);
    font-family: var(--semibold, inherit);
    font-size: 13px;
    line-height: 1.2;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.hs-insights__head .h2-headline,
.hs-insights__head .subtitle-3 {
    margin: 0;
}

.hs-insights__head .subtitle-3 {
    color: var(--white-scale-700, #aaa);
    line-height: 1.7;
}

.hs-insights__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: insight-card;
}

.hs-insights__grid li {
    min-width: 0;
    counter-increment: insight-card;
}

.hs-insights__grid a {
    position: relative;
    display: flex;
    min-height: 145px;
    height: 100%;
    flex-direction: column;
    justify-content: space-between;
    gap: 18px;
    overflow: hidden;
    padding: 20px 22px;
    border: 1px solid var(--white-scale-200, rgba(255, 255, 255, .12));
    border-radius: 18px;
    background: var(--background-bg-block, #17181d);
    color: var(--white-scale-900, #fff);
    text-decoration: none;
    transition: transform .25s ease, border-color .25s ease, background .25s ease;
}

.hs-insights__grid a::before {
    color: var(--white-scale-500, #777);
    font-family: var(--medium, inherit);
    font-size: 12px;
    line-height: 1;
    letter-spacing: .12em;
    content: counter(insight-card, decimal-leading-zero);
}

.hs-insights__grid a::after {
    position: absolute;
    right: -44px;
    bottom: -56px;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: var(--primary-colors-orange, #ff710d);
    opacity: 0;
    content: "";
    transform: scale(.65);
    transition: transform .3s ease, opacity .3s ease;
}

.hs-insights__grid a > span {
    position: relative;
    z-index: 1;
    max-width: 90%;
    font-family: var(--semibold, inherit);
    font-size: 17px;
    line-height: 1.45;
}

.hs-insights__grid a i {
    position: absolute;
    z-index: 1;
    top: 22px;
    right: 22px;
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--white-scale-200, rgba(255, 255, 255, .12));
    border-radius: 50%;
    color: var(--white-scale-800, #ddd);
    font-size: 19px;
    transition: transform .25s ease, background .25s ease, color .25s ease;
}

.hs-insights__grid a:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 113, 13, .5);
    background: color-mix(in srgb, var(--background-bg-block, #17181d) 92%, #ff710d);
    color: var(--white-scale-900, #fff);
}

.hs-insights__grid a:hover::after {
    opacity: .12;
    transform: scale(1);
}

.hs-insights__grid a:hover i {
    transform: rotate(8deg);
    border-color: var(--primary-colors-orange, #ff710d);
    background: var(--primary-colors-orange, #ff710d);
    color: #fff;
}

.hs-insights__grid a:focus-visible {
    outline: 3px solid rgba(255, 113, 13, .45);
    outline-offset: 4px;
}

@media (max-width: 991px) {
    .hs-insights__head {
        grid-template-columns: 1fr;
        align-items: start;
        gap: 16px;
    }

    .hs-insights__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .hs-insights__grid {
        grid-template-columns: 1fr;
    }

    .hs-insights__grid a {
        min-height: 130px;
        padding: 18px 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hs-insights__grid a,
    .hs-insights__grid a::after,
    .hs-insights__grid a i {
        transition: none;
    }
}
