:root {
    --paper: #f6f7f4;
    --white: #ffffff;
    --ink: #151817;
    --muted: #5c625f;
    --line: #cfd4d0;
    --blue: #15477f;
    --blue-dark: #0a2f58;
    --yellow: #f2d333;
    --green: #176f59;
    --content: 1380px;
    --header-height: 78px;
}

body.nav-open {
    overflow: hidden;
}

.skip-link {
    background: var(--yellow);
    color: var(--ink);
    left: 18px;
    padding: 10px 14px;
    position: fixed;
    top: -80px;
    z-index: 1000;
}

.skip-link:focus {
    top: 18px;
}

.shell {
    margin: 0 auto;
    max-width: var(--content);
    padding-left: 44px;
    padding-right: 44px;
    width: 100%;
}

.site-header {
    align-items: center;
    background: rgba(246, 247, 244, 0.94);
    border-bottom: 1px solid rgba(21, 24, 23, 0.12);
    display: flex;
    height: var(--header-height);
    inset: 0 0 auto;
    position: fixed;
    z-index: 100;
    backdrop-filter: blur(16px);
}

.site-header .shell {
    align-items: center;
    display: flex;
    justify-content: space-between;
}

.brand {
    flex: 0 0 176px;
}

.brand img {
    height: auto;
    width: 176px;
}

.primary-nav {
    align-items: center;
    display: flex;
    gap: 32px;
}

.primary-nav a {
    color: #303634;
    font-size: 13px;
    font-weight: 700;
    padding: 8px 0;
    position: relative;
}

.primary-nav a::after {
    background: var(--blue);
    bottom: 1px;
    content: "";
    height: 2px;
    left: 0;
    position: absolute;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 180ms ease;
    width: 100%;
}

.primary-nav a:hover::after,
.primary-nav a:focus-visible::after,
.primary-nav a[aria-current="page"]::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-toggle {
    background: transparent;
    border: 0;
    cursor: pointer;
    display: none;
    height: 44px;
    padding: 10px;
    width: 44px;
}

.nav-toggle span {
    background: var(--ink);
    display: block;
    height: 2px;
    margin: 5px 0;
    transition: transform 180ms ease, opacity 180ms ease;
    width: 24px;
}

.section-index {
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: var(--header-height);
    z-index: 80;
}

.section-index .shell {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
}

.section-index .shell::-webkit-scrollbar {
    display: none;
}

.section-index a {
    color: #4c5350;
    flex: 0 0 auto;
    font-size: 13px;
    font-weight: 700;
    padding: 20px 26px 18px 0;
    position: relative;
}

.section-index a + a {
    margin-left: 26px;
}

.section-index a::after {
    background: var(--blue);
    bottom: -1px;
    content: "";
    height: 3px;
    left: 0;
    opacity: 0;
    position: absolute;
    transition: opacity 180ms ease;
    width: calc(100% - 26px);
}

.section-index a:hover,
.section-index a.is-active {
    color: var(--ink);
}

.section-index a.is-active::after {
    opacity: 1;
}

@media (max-width: 1080px) {
.primary-nav {
        gap: 20px;
    }
}

@media (max-width: 900px) {
:root {
        --header-height: 70px;
    }

.shell {
        padding-left: 28px;
        padding-right: 28px;
    }

.brand,
.brand img {
        width: 156px;
    }

.nav-toggle {
        display: block;
        position: relative;
        z-index: 3;
    }

.nav-open .nav-toggle span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

.nav-open .nav-toggle span:nth-child(2) {
        opacity: 0;
    }

.nav-open .nav-toggle span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

.primary-nav {
        align-items: flex-start;
        background: var(--paper);
        display: none;
        flex-direction: column;
        gap: 0;
        inset: var(--header-height) 0 0;
        padding: 42px 28px;
        position: fixed;
    }

.nav-open .primary-nav {
        display: flex;
    }

.primary-nav a {
        border-bottom: 1px solid var(--line);
        font-size: 19px;
        padding: 18px 0;
        width: 100%;
    }
}

@media (max-width: 640px) {
.shell {
        padding-left: 20px;
        padding-right: 20px;
    }

.section-index a {
        padding-top: 17px;
        padding-bottom: 15px;
    }
}

.immersive-header {
    background: rgba(248, 249, 246, 0.92);
}

.scroll-cue {
    align-items: center;
    bottom: 28px;
    display: flex;
    font-size: 11px;
    font-weight: 700;
    gap: 14px;
    left: max(44px, calc((100vw - var(--content)) / 2 + 44px));
    position: absolute;
    text-transform: uppercase;
    z-index: 3;
}

.scroll-cue span {
    border: 1px solid currentColor;
    border-radius: 50%;
    height: 34px;
    position: relative;
    width: 34px;
}

.scroll-cue span::after {
    border-bottom: 1px solid currentColor;
    border-right: 1px solid currentColor;
    content: "";
    height: 7px;
    left: 12px;
    position: absolute;
    top: 10px;
    transform: rotate(45deg);
    width: 7px;
}

.immersive-index {
    background: rgba(244, 245, 241, 0.94);
    top: var(--header-height);
    z-index: 80;
}

.immersive-index .shell {
    justify-content: center;
}

.immersive-index a {
    font-size: 14px;
    padding-left: 24px;
    padding-right: 24px;
}

@media (max-width: 900px) {
.scroll-cue {
        left: 28px;
    }

.immersive-index .shell {
        justify-content: flex-start;
    }
}

@media (max-width: 640px) {
.scroll-cue {
        bottom: 28px;
    }

.immersive-index a {
        font-size: 13px;
        padding-left: 16px;
        padding-right: 16px;
    }
}

@media (max-width: 1080px) {
.primary-nav {
        gap: 23px;
    }
}
