:root {
    --site-footer-space: 142px;
}

html {
    scroll-padding-top: 100px;
}

body {
    padding-top: 84px;
    padding-bottom: var(--site-footer-space);
}

.site-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 60;
    backdrop-filter: blur(14px);
}

.site-footer {
    position: fixed;
    z-index: 50;
    right: 0;
    bottom: 0;
    left: 0;
    max-height: var(--site-footer-space);
    overflow-y: auto;
    padding: 8px 0 6px;
    box-shadow: 0 -8px 26px rgba(23, 45, 38, .08);
}

.site-footer .footer__top {
    display: grid;
    grid-template-columns: minmax(150px, .8fr) minmax(190px, 1fr) minmax(300px, 1.5fr);
    align-items: center;
    gap: 18px;
    padding-top: 4px;
    padding-bottom: 8px;
}

.site-footer .footer__top > p {
    margin: 0;
    font-size: 11px;
    line-height: 1.35;
}

.site-footer .footer__links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    font-size: 11px;
}

.site-footer .footer__bottom {
    padding-top: 7px;
    font-size: 10px;
}

body .support-widget {
    bottom: calc(var(--site-footer-space) + 12px);
}

main[id],
[tabindex="-1"] {
    scroll-margin-top: 100px;
}

@media (max-width: 760px) {
    :root {
        --site-footer-space: 148px;
    }

    html {
        scroll-padding-top: 84px;
    }

    body {
        padding-top: 68px;
    }

    .client-mobile-nav {
        bottom: calc(var(--site-footer-space) + 76px);
    }

    .site-footer .footer__top {
        display: flex;
        flex-wrap: wrap;
        gap: 6px 12px;
        padding-top: 2px;
        padding-bottom: 5px;
    }

    .site-footer .footer__top > .brand {
        flex: 1 1 40%;
    }

    .site-footer .footer__top > p {
        flex: 1 1 45%;
        font-size: 10px;
        line-height: 1.25;
    }

    .site-footer .footer__links {
        flex: 1 0 100%;
        gap: 5px 12px;
        margin-top: 0;
        font-size: 10px;
    }

    .site-footer .footer__bottom {
        padding-top: 5px;
        font-size: 9px;
    }

    main[id],
    [tabindex="-1"] {
        scroll-margin-top: 84px;
    }
}

@media print {
    body {
        padding-top: 0;
        padding-bottom: 0;
    }

    .site-header,
    .site-footer {
        position: static;
        box-shadow: none;
    }
}
