/* Static-site adaptation of UI Layouts button-6. */
.hero-content .buttons .button-6 {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 52px;
    min-width: 116px;
    padding: 0;
    overflow: hidden;
    border: 2px solid rgba(57, 68, 129, 0.72);
    border-radius: 12px;
    background: transparent;
    box-shadow: none;
    transform: none;
}

.hero-content .buttons .button-6__front,
.hero-content .buttons .button-6__back {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1.5rem;
    transition: transform 500ms cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-content .buttons .button-6__front {
    z-index: 1;
    color: #163452;
    background: linear-gradient(110deg, rgba(242, 249, 255, 0.96), rgba(207, 231, 250, 0.82));
    transform: translateY(0);
}

.hero-content .buttons .button-6__back {
    z-index: 2;
    color: #fff;
    transform: translateY(100%);
}

.hero-content .buttons .button-6__fill {
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, #176fb9, #2aa795);
    transform: translateY(100%) skewY(12deg) scaleY(0);
    transform-origin: bottom;
    transition: transform 500ms cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-content .buttons .button-6__label {
    position: relative;
    z-index: 1;
}

.hero-content .buttons .button-6__label::before {
    content: attr(data-label);
}

.hero-content .buttons .button-6:hover .button-6__front,
.hero-content .buttons .button-6:focus-visible .button-6__front {
    transform: translateY(-150%);
}

.hero-content .buttons .button-6:hover .button-6__back,
.hero-content .buttons .button-6:focus-visible .button-6__back {
    transform: translateY(0);
}

.hero-content .buttons .button-6:hover .button-6__fill,
.hero-content .buttons .button-6:focus-visible .button-6__fill {
    transform: translateY(0) skewY(0deg) scaleY(1.5);
}

.hero-content .buttons .button-6--primary {
    min-width: 146px;
    border-color: rgba(33, 139, 224, 0.9);
}

.hero-content .buttons .button-6--primary .button-6__front {
    color: #fff;
    background: linear-gradient(110deg, #249bf2, #1479ce);
}

.hero-content .buttons .button-6--secondary .button-6__fill {
    background: linear-gradient(115deg, #344767, #246d88);
}

[data-theme="dark"] .hero-content .buttons .button-6 {
    border-color: rgba(101, 111, 226, 0.62);
}

[data-theme="dark"] .hero-content .buttons .button-6__front {
    color: #f7fbff;
    background: linear-gradient(110deg, rgba(18, 29, 58, 0.96), rgba(38, 51, 129, 0.78));
}

[data-theme="dark"] .hero-content .buttons .button-6--primary .button-6__front {
    background: linear-gradient(110deg, #168ce1, #1c64b5);
}

[data-theme="dark"] .hero-content .buttons .button-6__fill {
    background: linear-gradient(115deg, #4655bc, #2aa795);
}

@media (prefers-reduced-motion: reduce) {
    .hero-content .buttons .button-6__front,
    .hero-content .buttons .button-6__back,
    .hero-content .buttons .button-6__fill {
        transition: none;
    }
}
