.nav-bar-container { align-items: center; }
.nav-links { display: flex; align-items: center; gap: 56.5px; }
.header-menu-close, .header-menu-support { display: none; }
.header-menu-toggle, .header-menu-close, .header-menu-socials a { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.nav-bar a:focus-visible { outline: 2px solid #2261ff; outline-offset: 5px; }
.header-menu-toggle, .header-menu-toggle:focus, .header-menu-toggle:focus-visible,
.header-menu-close, .header-menu-close:focus, .header-menu-close:focus-visible { outline: 0; box-shadow: none; }
.header-menu-toggle.using-keyboard:focus-visible img { opacity: .5; }

@media (max-width: 800px) {
    .nav-header { padding-inline: 24px; }
    .header-menu-toggle { display: flex; align-items: center; justify-content: flex-end; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; cursor: pointer; }
    .header-menu-toggle img { display: block; width: 20px; height: 18px; object-fit: contain; }
    .header-menu-toggle:active, .header-menu-close:active { opacity: .65; }
    .nav-bar-container > .nav-bar { display: none; }
    .nav-bar-container > .nav-bar.is-open {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 10001;
        width: 100%;
        height: 100%;
        height: 100dvh;
        margin: 0;
        padding: calc(97.5px + env(safe-area-inset-top, 0px)) 25px calc(48px + env(safe-area-inset-bottom, 0px));
        overflow-y: auto;
        overscroll-behavior-y: contain;
        background: #000;
        color: #fff;
        -webkit-font-smoothing: antialiased;
    }
    .header-menu-close { display: flex; align-items: center; justify-content: center; position: absolute; top: calc(42px + env(safe-area-inset-top, 0px)); right: 14.5px; width: 44px; height: 44px; padding: 10.5px; border: 0; background: transparent; cursor: pointer; }
    .header-menu-close img { display: block; width: 23px; height: 23px; }
    .nav-links { display: flex; align-items: stretch; flex-direction: column; gap: 17px; }
    .nav-bar.is-open .nav-link { display: block; padding: 0 0 4px; border-bottom: 1px solid #707070; color: #fff; font-family: var(--nav-link-font-family); font-size: 35px; font-weight: 400; line-height: 45px; letter-spacing: 1.23px; }
    .nav-bar.is-open .nav-link:hover { color: #fff; transform: none; }
    .nav-bar.is-open .nav-link:active { opacity: .7; }
    .header-menu-support { display: block; margin-top: 80px; }
    .header-menu-contact { display: flex; flex-direction: column; align-items: center; gap: 6px; font-style: normal; font-size: 14px; font-weight: 400; line-height: 20px; letter-spacing: 1.68px; text-align: center; }
    .header-menu-contact a { max-width: 100%; overflow-wrap: anywhere; }
    .header-menu-socials { display: flex; justify-content: center; gap: 18px; margin-top: 28px; }
    .header-menu-socials a { display: flex; justify-content: center; align-items: center; flex: 0 0 44px; width: 44px; height: 44px; }
    .header-menu-socials span { display: flex; align-items: center; justify-content: center; box-sizing: border-box; width: 34px; height: 34px; border: 1px solid #aaa; border-radius: 50%; }
    .header-menu-socials img { display: block; width: 28px; height: 28px; object-fit: contain; }
    .header-menu-socials a:active { opacity: .65; }
    .nav-bar.is-open a:focus-visible { outline-color: #fff; }
    .nav-bar.using-keyboard .header-menu-close:focus-visible { border-radius: 50%; background: #666; }
    .nav-bar.using-keyboard .header-menu-close:focus-visible img { filter: brightness(1.5); }
    html.navigation-open { overflow: hidden; }
    html.navigation-open body { position: fixed; inset-inline: 0; top: var(--navigation-scroll-offset); width: 100%; }
}
