.site-footer {
    position: relative;
    z-index: 12;
    display: flex;
    width: 100vw;
    min-height: 3.75rem;
    flex: 0 0 auto;
    gap: .65rem;
    align-items: center;
    flex-direction: column;
    margin-inline: calc(50% - 50vw);
    padding: .8rem clamp(1.25rem, 4vw, 4rem);
    border-top: 1px solid rgb(166 120 239 / 24%);
    background: rgb(3 5 11 / 96%);
    color: #f0eafc;
    box-shadow: 0 -10px 35px rgb(0 0 0 / 30%);
}

.site-footer__content {
    display: flex;
    width: 100%;
    gap: 2rem;
    align-items: center;
    justify-content: space-between;
}

.site-footer__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .7rem 1.5rem;
    align-items: center;
    justify-content: flex-end;
}

.directory-page .site-footer {
    margin-top: 4rem;
}

.site-footer a {
    color: rgb(240 234 252 / 76%);
    text-decoration: none;
    transition: color .15s ease;
}

.site-footer a:hover,
.site-footer a:focus-visible {
    color: #c9a7ff;
}

.site-footer__home {
    font-size: .72rem;
    font-weight: 650;
    letter-spacing: .24em;
    text-transform: uppercase;
}

.site-footer__links {
    display: flex;
    flex-wrap: wrap;
    gap: .7rem 1.5rem;
    justify-content: flex-end;
}

.site-footer__links a {
    font-size: .78rem;
    letter-spacing: .08em;
}

.site-footer__tip {
    display: inline-flex;
    min-height: 2.25rem;
    gap: .55rem;
    align-items: center;
    justify-content: center;
    padding: .5rem .8rem;
    border: 1px solid rgb(94 176 255 / 52%);
    border-radius: .25rem;
    background: linear-gradient(135deg, rgb(0 48 135 / 48%), rgb(0 112 186 / 28%));
    color: #f7fbff !important;
    font-size: .72rem;
    font-weight: 650;
    letter-spacing: .09em;
    line-height: 1;
    text-transform: uppercase;
    box-shadow: 0 0 20px rgb(0 112 186 / 10%);
    transition: border-color .15s ease, background .15s ease, transform .15s ease;
}

.site-footer__tip:hover,
.site-footer__tip:focus-visible {
    border-color: #73c4ff;
    background: linear-gradient(135deg, rgb(0 70 150 / 72%), rgb(0 112 186 / 48%));
    color: #fff !important;
    transform: translateY(-1px);
}

.site-footer__tip-arrow {
    font-size: .95rem;
    transition: transform .15s ease;
}

.site-footer__tip:hover .site-footer__tip-arrow,
.site-footer__tip:focus-visible .site-footer__tip-arrow {
    transform: translate(.1rem, -.1rem);
}

.site-footer__copyright {
    margin: 0;
    color: rgb(240 234 252 / 58%);
    font-size: .7rem;
    letter-spacing: .04em;
    text-align: center;
}

@media (max-width: 600px) {
    .site-footer__content {
        gap: .75rem;
        align-items: flex-start;
        flex-direction: column;
    }

    .site-footer__links {
        justify-content: flex-start;
    }

    .site-footer__actions {
        justify-content: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    .site-footer__tip,
    .site-footer__tip-arrow {
        transition: none;
    }
}
