/* #region Nav */

.nav {
    display: flex;
    flex-direction: row;
    min-height: 5rem;
    padding: 1.16rem 0;
    border-bottom: var(--border-width) solid var(--edge);
}

.nav__inner {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: var(--gap-m);
}

.nav__inner--desktop {
    justify-content: center;
}

.nav__inner--mobile {
    display: none;
    justify-content: space-between;
}

.nav__logo {
    display: flex;
    justify-content: center;
    flex: 0 0 auto;
}

.nav__logo-image {
    height: 2.26rem;
    display: block;
}

.menu {
    display: flex;
    flex-direction: row;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: var(--gap-m);
    align-items: center;
}

.menu--left,
.menu--right {
    flex: 1 1 0;
}

.menu--left {
    justify-content: flex-start;
}

.menu--right {
    justify-content: flex-end;
}

.menu__item {
    list-style: none;
    margin: 0;
    padding: 0;
    flex-shrink: 0;
}

.menu__link {
    font-size: var(--bodytext-fontsize);
    font-weight: var(--bodytext-fontweight);
    line-height: var(--bodytext-lineheight);
    font-family: var(--bodytext-fontfamily);
    letter-spacing: var(--bodytext-letterspacing);
    color: var(--bodytext-color);
    text-decoration: none;
}

.menu__link:hover,
.menu__link:focus-visible {
    text-decoration: none;
    color: var(--smoke);
}

.mobile-menu__toggle,
.mobile-menu__close {
    appearance: none;
    border: var(--border-width) solid var(--edge);
    background-color: var(--white);
    color: var(--plum);
    cursor: pointer;
    border-radius: var(--border-radius);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.6rem;
    height: 2.6rem;
    padding: 0;
}

.mobile-menu__toggle:hover,
.mobile-menu__toggle:focus-visible,
.mobile-menu__close:hover,
.mobile-menu__close:focus-visible {
    border-color: var(--edge-darken-1);
    background-color: var(--cloud-lighten-1);
}

.mobile-menu__toggle-lines {
    display: flex;
    flex-direction: column;
    gap: 0.24rem;
}

.mobile-menu__toggle-line {
    display: block;
    width: 1.2rem;
    height: 0.12rem;
    border-radius: 999rem;
    background-color: currentColor;
}

.mobile-menu__dialog {
    border: 0;
    padding: 0;
    margin: 0;
    inset: 0;
    width: 100dvw;
    max-width: none;
    height: 100dvh;
    max-height: none;
    background-color: transparent;
    overflow: hidden;
}

.mobile-menu__dialog::backdrop {
    background-color: var(--plum-fade-25);
}

.mobile-menu__dialog[open] .mobile-menu__panel {
    animation: mobile-menu-panel-enter 0.3s ease-out;
}

.mobile-menu__panel {
    height: 100%;
    background-color: var(--white);
    color: var(--plum);
    display: flex;
    flex-direction: column;
}

.mobile-menu__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--gap-s);
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1rem 0;
    border-bottom: var(--border-width) solid var(--edge);
}

.mobile-menu__close {
    position: relative;
}

.mobile-menu__close-line {
    position: absolute;
    width: 1rem;
    height: 0.12rem;
    border-radius: 999rem;
    background-color: currentColor;
}

.mobile-menu__close-line--a {
    transform: rotate(45deg);
}

.mobile-menu__close-line--b {
    transform: rotate(-45deg);
}

.mobile-menu__body {
    flex: 1 1 auto;
    overflow-y: auto;
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0;
}

.mobile-menu__list,
.mobile-menu__sublist {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-menu__item {
    border-top: var(--border-width) solid var(--edge);
}

.mobile-menu__item:first-child {
    border-top: none;
}

.mobile-menu__link {
    appearance: none;
    border: 0;
    background: transparent;
    color: var(--plum);
    width: 100%;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--gap-s);
    padding: 1.1rem 0;
    font-size: 1.16rem;
    font-weight: 500;
    line-height: 1.4rem;
    font-family: var(--figtree);
    letter-spacing: calc(1.16rem * -0.01);
    text-decoration: none;
    cursor: pointer;
}

.mobile-menu__link:hover,
.mobile-menu__link:focus-visible {
    color: var(--smoke-darken-1);
}

.mobile-menu__solutions-toggle {
    padding-right: 0.15rem;
}

.mobile-menu__chevron {
    width: 0.52rem;
    height: 0.52rem;
    border-right: 0.12rem solid currentColor;
    border-bottom: 0.12rem solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.2s ease-out;
    margin-top: -0.2rem;
}

.mobile-menu__solutions-toggle[aria-expanded="true"] .mobile-menu__chevron {
    transform: rotate(-135deg);
    margin-top: 0.16rem;
}

.mobile-menu__sublist {
    border-top: var(--border-width) solid var(--edge);
    padding-left: 2.6rem;
}

.mobile-menu__subitem + .mobile-menu__subitem {
    border-top: var(--border-width) solid var(--edge-lighten-1);
}

.mobile-menu__sublink {
    display: block;
    padding: 0.88rem 0;
    color: var(--smoke-darken-1);
    font-size: 1.16rem;
    font-weight: 500;
    line-height: 1.4rem;
    font-family: var(--figtree);
    letter-spacing: calc(1.16rem * -0.01);
    text-decoration: none;
}

.mobile-menu__sublink:hover,
.mobile-menu__sublink:focus-visible {
    color: var(--plum);
}

body.mobile-menu-open {
    overflow: hidden;
}

@keyframes mobile-menu-panel-enter {
    from {
        transform: translateX(2rem);
        opacity: 0.92;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@media (max-width: 60rem) {
    .nav {
        min-height: 4.4rem;
        padding: 0.85rem 0;
    }

    .nav__inner--desktop {
        display: none;
    }

    .nav__inner--mobile {
        display: flex;
    }
}

/* #endregion */

/* #region Footer */

.footer {
    border-top: var(--border-width) var(--edge) solid;
}

.footer__logosquare {
    max-width: min(8rem, 15vw);
    margin-top: -0.25rem;
}

@media (max-width: 80rem) {
    .footer__logosquare {
        max-width: 6rem;
    }
}

@media (max-width: 50rem) {
    .footer .layout--6col {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer__logosquare {
        max-width: 4.5rem;
    }
}

/* #region End footer */
