.gsn-trusted {
    position: relative;
    overflow: hidden;
    padding-block: 116px;
    background:
        radial-gradient(circle at 12% 18%, rgba(var(--gsn-purple-rgb), .08), transparent 28%),
        linear-gradient(180deg, #ffffff 0%, #f8f7fb 100%);
}

.gsn-trusted::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(var(--gsn-purple-rgb), .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(var(--gsn-purple-rgb), .045) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .4), transparent 92%);
}

.gsn-trusted > * {
    position: relative;
    z-index: 1;
}

.gsn-trusted__header {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(280px, .58fr);
    align-items: end;
    gap: 72px;
}

.gsn-trusted__header h2 {
    max-width: 880px;
    margin: 0;
    color: var(--gsn-dark);
    font-size: clamp(2.6rem, 5.2vw, 5.6rem);
    line-height: .98;
    letter-spacing: -.055em;
}

.gsn-trusted__header p {
    margin: 0 0 8px;
    color: #6f6b76;
    font-size: 1.03rem;
}

.gsn-trusted__marquee {
    position: relative;
    margin-top: 72px;
    overflow: hidden;
    border-block: 1px solid rgba(13, 13, 15, .08);
    background: rgba(255, 255, 255, .66);
    backdrop-filter: blur(14px);
}

.gsn-trusted__track {
    display: flex;
    align-items: stretch;
    width: max-content;
    animation: gsnTrustedMarquee 30s linear infinite;
    will-change: transform;
}

.gsn-trusted__marquee:hover .gsn-trusted__track {
    animation-play-state: paused;
}

.gsn-trusted__logo {
    min-width: 245px;
    min-height: 124px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 24px 34px;
    border-right: 1px solid rgba(13, 13, 15, .08);
    color: #2c2930;
    font-size: .96rem;
    font-weight: 800;
    letter-spacing: -.015em;
    filter: grayscale(1);
    opacity: .62;
    transition:
        opacity .25s ease,
        filter .25s ease,
        background-color .25s ease,
        transform .25s ease;
}

.gsn-trusted__logo:hover {
    z-index: 2;
    opacity: 1;
    filter: none;
    background: #fff;
    transform: translateY(-3px);
}

.gsn-trusted__logo img {
    max-width: 150px;
    max-height: 54px;
    object-fit: contain;
}

.gsn-trusted__mark {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border: 1px solid rgba(var(--gsn-purple-rgb), .16);
    border-radius: 50%;
    color: var(--gsn-purple);
    background:
        linear-gradient(145deg, rgba(var(--gsn-purple-rgb), .11), rgba(var(--gsn-gold-rgb), .1)),
        #fff;
    box-shadow: 0 12px 28px rgba(var(--gsn-purple-rgb), .08);
    font-size: 1rem;
}

.gsn-trusted__fade {
    position: absolute;
    z-index: 3;
    top: 0;
    bottom: 0;
    width: min(10vw, 150px);
    pointer-events: none;
}

.gsn-trusted__fade--left {
    left: 0;
    background: linear-gradient(to right, #f9f8fb 12%, transparent);
}

.gsn-trusted__fade--right {
    right: 0;
    background: linear-gradient(to left, #f9f8fb 12%, transparent);
}

.gsn-trusted__metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 72px;
    border: 1px solid rgba(13, 13, 15, .08);
    border-radius: var(--gsn-radius);
    overflow: hidden;
    background: rgba(255, 255, 255, .84);
    box-shadow: 0 28px 70px rgba(39, 19, 49, .07);
    backdrop-filter: blur(18px);
}

.gsn-trusted__metric {
    position: relative;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 32px;
}

.gsn-trusted__metric:not(:last-child) {
    border-right: 1px solid rgba(13, 13, 15, .08);
}

.gsn-trusted__metric::after {
    content: "";
    position: absolute;
    left: 32px;
    right: 32px;
    bottom: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gsn-gold), transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s ease;
}

.gsn-trusted__metric:hover::after {
    transform: scaleX(1);
}

.gsn-trusted__metric strong {
    color: var(--gsn-purple);
    font-size: clamp(2.25rem, 4vw, 4.1rem);
    line-height: 1;
    letter-spacing: -.055em;
}

.gsn-trusted__metric span {
    margin-top: 12px;
    color: #625e67;
    font-size: .84rem;
    font-weight: 700;
}

[data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .7s ease, transform .7s cubic-bezier(.22, 1, .36, 1);
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes gsnTrustedMarquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .gsn-trusted__track {
        animation: none;
    }

    [data-reveal] {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

@media (max-width: 960px) {
    .gsn-trusted {
        padding-block: 92px;
    }

    .gsn-trusted__header {
        grid-template-columns: 1fr;
        gap: 26px;
        text-align: center;
    }

    .gsn-trusted__header h2,
    .gsn-trusted__header p {
        margin-inline: auto;
    }

    .gsn-trusted__header p {
        max-width: 720px;
    }

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

    .gsn-trusted__metric:nth-child(2) {
        border-right: 0;
    }

    .gsn-trusted__metric:nth-child(-n+2) {
        border-bottom: 1px solid rgba(13, 13, 15, .08);
    }
}

@media (max-width: 640px) {
    .gsn-trusted {
        padding-block: 72px;
    }

    .gsn-trusted__marquee,
    .gsn-trusted__metrics {
        margin-top: 52px;
    }

    .gsn-trusted__logo {
        min-width: 205px;
        min-height: 104px;
        padding-inline: 24px;
    }

    .gsn-trusted__metrics {
        grid-template-columns: 1fr;
    }

    .gsn-trusted__metric {
        min-height: 142px;
        text-align: center;
    }

    .gsn-trusted__metric:not(:last-child) {
        border-right: 0;
        border-bottom: 1px solid rgba(13, 13, 15, .08);
    }

    .gsn-trusted__metric::after {
        left: 25%;
        right: 25%;
        transform-origin: center;
    }
}
