/* Component styles consume the global FONTE tokens from fonte-tokens.css. */
.fonte-header-wrap,
.fonte-header-wrap *,
.fonte-mobile-menu,
.fonte-mobile-menu * {
    box-sizing: border-box;
}
.fonte-header-wrap {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: var(--fonte-z-sticky-header);
    background: transparent;
    color: var(--fonte-web-ink);
    font-family: var(--fonte-font-public);
    transition:
        background 0.35s cubic-bezier(0.2, 0.7, 0.3, 1),
        box-shadow 0.35s cubic-bezier(0.2, 0.7, 0.3, 1),
        transform 0.35s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.fonte-header-wrap.is-filled {
    background: var(--fonte-web-cream);
    box-shadow: var(--fonte-web-shadow-header);
}
.public-page--cream-header .fonte-header-wrap,
.public-page--cream-header .fonte-header-spacer {
    background: var(--fonte-web-cream);
}
.fonte-header-wrap.is-hidden {
    transform: translateY(-120%);
}
.fonte-header-spacer {
    height: var(--fonte-public-header-height);
}
.fonte-header {
    position: relative;
    z-index: 20;
    width: var(--fonte-public-content-width);
    max-width: var(--fonte-public-content-max-width);
    margin: 0 auto;
    padding: 16px 0;
    display: flex;
    align-items: center;
    gap: clamp(8px, 1.2vw, 20px);
    flex-wrap: nowrap;
}
.fonte-header__logo {
    display: block;
    flex-shrink: 0;
}
.fonte-header__logo img {
    height: clamp(22px, 2.1vw, 28px);
    width: auto;
    display: block;
}
.fonte-nav {
    overflow: visible;
    flex: 0 1 auto;
    min-width: 0;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    flex-wrap: nowrap;
    padding: 0 6px;
    margin: 0 auto;
}
.fonte-roll {
    --roll: var(--fonte-web-ink);
    --roll-c: var(--fonte-web-white);
    position: relative;
    overflow: hidden;
    isolation: isolate;
    transition: color 0.95s cubic-bezier(0.19, 1, 0.22, 1);
}
.fonte-roll:before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--roll);
    border-radius: inherit;
    transform: translateY(101%);
    transition: transform 1.6s cubic-bezier(0.19, 1, 0.22, 1);
    z-index: -1;
    pointer-events: none;
}
@media (min-width: 75.001rem) and (hover: hover) and (pointer: fine) {
    .fonte-roll:focus-visible:before,
    .fonte-roll:hover:before {
        transform: translateY(0);
    }
    .fonte-roll:focus-visible,
    .fonte-roll:hover {
        color: var(--roll-c) !important;
    }
}
.fonte-roll > * {
    position: relative;
    z-index: 2;
}
.fonte-nav > a,
.fonte-nav__dropdown > a {
    font-size: var(--fonte-type-public-nav);
    color: var(--fonte-web-ink);
    text-decoration: none;
    white-space: nowrap;
    font-weight: var(--fonte-font-weight-semibold);
    padding: 0 clamp(8px, 1.2vw, 16px);
    height: 40px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
}
.fonte-nav > a.is-active {
    color: var(--fonte-web-accent);
    font-weight: var(--fonte-font-weight-bold);
}
.fonte-nav svg {
    width: 15px;
    height: 15px;
    margin-left: 6px;
}
.fonte-nav svg,
.fonte-mobile-menu svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.fonte-nav__dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
}
.fonte-nav__dropdown-panel {
    position: absolute;
    left: 0;
    top: calc(100% + 10px);
    transform: translateY(8px);
    width: 280px;
    opacity: 0;
    pointer-events: none;
    transition:
        opacity 0.22s cubic-bezier(0.2, 0.7, 0.3, 1),
        transform 0.28s cubic-bezier(0.2, 0.7, 0.3, 1);
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px;
    border-radius: 24px;
    background: var(--fonte-web-white);
    border: 1px solid var(--fonte-web-line);
    box-shadow: var(--fonte-web-shadow-dropdown);
}
.fonte-nav__dropdown.is-open .fonte-nav__dropdown-panel {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
.fonte-nav__dropdown-panel a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 16px;
    font-size: var(--fonte-type-public-base);
    font-weight: var(--fonte-font-weight-semibold);
    color: var(--fonte-web-ink);
    text-decoration: none;
    white-space: nowrap;
}
.fonte-nav__dropdown-panel svg {
    width: 18px;
    height: 18px;
    margin: 0;
    color: var(--fonte-web-accent);
}
.fonte-header__actions,
.fonte-header__socials {
    display: flex;
    align-items: center;
}
.fonte-header__actions {
    gap: 10px;
    flex-shrink: 0;
}
.fonte-header__socials {
    gap: 8px;
    margin-right: 4px;
}
.fonte-header__socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: var(--fonte-web-white-55);
    backdrop-filter: blur(16px);
    border: 1px solid var(--fonte-web-white-70);
    color: var(--fonte-web-ink);
}
.fonte-header__socials svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.fonte-header__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 clamp(14px, 1.6vw, 22px);
    height: 46px;
    border-radius: 999px;
    background: var(--fonte-web-action);
    color: var(--fonte-web-white);
    text-decoration: none;
    font-size: var(--fonte-type-public-base);
    font-weight: var(--fonte-font-weight-semibold);
    white-space: nowrap;
}
.fonte-header__cta svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.fonte-header__burger {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}
.fonte-header__burger > span {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 24px;
}
.fonte-header__burger i {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--fonte-web-ink);
}
.fonte-mobile-menu {
    position: fixed;
    inset: 0;
    z-index: var(--fonte-z-mobile-menu);
    background: var(--fonte-web-ink-94);
    backdrop-filter: blur(18px);
    display: flex;
    flex-direction: column;
    padding: 22px var(--fonte-public-inline-gutter) 18px;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior-y: contain;
    overflow-anchor: none;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-100%);
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.28, 1);
    will-change: transform;
    color: var(--fonte-web-white);
    font-family: var(--fonte-font-public);
}
.fonte-mobile-menu.is-open {
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}
.fonte-mobile-menu__top {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: space-between;
}
.fonte-mobile-menu__top img {
    height: 22px;
    width: auto;
    display: block;
    filter: brightness(0) invert(1);
}
.fonte-mobile-menu button {
    font-family: inherit;
}
.fonte-mobile-menu__top button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--fonte-web-white);
    cursor: pointer;
}
.fonte-mobile-menu__top svg {
    width: 28px;
    height: 28px;
}
.fonte-mobile-menu__nav {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin: 0;
    padding: 40px 0 8px;
}
.fonte-mobile-menu__nav > a,
.fonte-mobile-menu__nav
    > .fonte-mobile-submenu
    > .fonte-mobile-submenu__row
    > a {
    height: 40px;
    display: flex;
    align-items: center;
    font-size: var(--fonte-type-public-xl);
    font-weight: var(--fonte-font-weight-bold);
    line-height: var(--fonte-leading-nav);
    letter-spacing: var(--fonte-tracking-tight);
    color: var(--fonte-web-white);
    text-decoration: none;
}
.fonte-mobile-submenu {
    display: flex;
    flex-direction: column;
}
.fonte-mobile-submenu__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.fonte-mobile-menu__nav > .fonte-mobile-submenu > .fonte-mobile-submenu__row {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 3fr);
    gap: 0;
    height: 44px;
}
.fonte-mobile-menu__nav > .fonte-mobile-submenu > .fonte-mobile-submenu__row > a {
    width: 100%;
    height: 100%;
}
.fonte-mobile-menu__nav > .fonte-mobile-submenu > .fonte-mobile-submenu__row > button {
    width: 100%;
    height: 100%;
    justify-content: flex-end;
    padding-right: 10px;
}
.fonte-mobile-submenu__row > button:not(.fonte-mobile-submenu__label) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: inherit;
    cursor: pointer;
}
.fonte-mobile-submenu__row svg {
    width: 20px;
    height: 20px;
    transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.fonte-mobile-submenu__row button[aria-expanded="true"] svg {
    transform: rotate(180deg);
}
.fonte-mobile-submenu__list {
    height: 0;
    overflow: hidden;
    overflow-anchor: none;
    opacity: 0;
    margin-top: 0;
    border-radius: 18px;
    background: var(--fonte-web-cream);
    transition:
        height 0.42s cubic-bezier(0.25, 0.1, 0.25, 1),
        opacity 0.3s ease,
        margin-top 0.42s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.fonte-mobile-submenu__list.is-open {
    height: var(--submenu-height, 0px);
    opacity: 1;
    margin-top: 8px;
}
.fonte-mobile-submenu__list-inner {
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
    overflow: hidden;
    padding: 0 14px;
}
.fonte-mobile-submenu__list-inner > :first-child {
    margin-top: 6px;
}
.fonte-mobile-submenu__list-inner > :last-child {
    margin-bottom: 2px;
}
.fonte-mobile-submenu__list-inner > a {
    flex-shrink: 0;
    height: 34px;
    display: flex;
    align-items: center;
    padding: 0 4px;
    font-size: var(--fonte-type-public-base);
    font-weight: var(--fonte-font-weight-regular);
    line-height: var(--fonte-leading-nav);
    letter-spacing: var(--fonte-tracking-wide);
    color: var(--fonte-web-ink);
    text-decoration: none;
}
.fonte-mobile-submenu--nested {
    color: var(--fonte-web-ink);
}
.fonte-mobile-submenu--nested > .fonte-mobile-submenu__row {
    height: 34px;
}
.fonte-mobile-submenu--nested
    .fonte-mobile-submenu__row
    > button:not(.fonte-mobile-submenu__label) {
    width: 34px;
    height: 34px;
}
.fonte-mobile-submenu--nested .fonte-mobile-submenu__row svg {
    width: 18px;
    height: 18px;
}
.fonte-mobile-submenu--nested .fonte-mobile-submenu__list {
    background: var(--fonte-web-white);
    border-radius: 14px;
}
.fonte-mobile-submenu--nested .fonte-mobile-submenu__list-inner {
    padding: 0 12px;
}
.fonte-mobile-submenu--nested
    .fonte-mobile-submenu__list.is-open
    > .fonte-mobile-submenu__list-inner {
    padding: 6px 12px 2px;
}
.fonte-mobile-submenu--nested .fonte-mobile-submenu__list-inner > a {
    height: 30px;
    padding: 0 4px;
    font-size: var(--fonte-type-public-md);
    line-height: var(--fonte-leading-nav-small);
    color: var(--fonte-web-ink-soft);
}
.fonte-mobile-submenu__label {
    flex: 1;
    height: 34px;
    padding: 0 4px;
    border: 0;
    background: transparent;
    font-size: var(--fonte-type-public-base);
    font-weight: var(--fonte-font-weight-regular);
    line-height: var(--fonte-leading-nav);
    letter-spacing: var(--fonte-tracking-wide);
    text-align: left;
    color: var(--fonte-web-ink);
    cursor: pointer;
}
.fonte-mobile-menu__footer {
    margin-top: auto;
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    gap: 18px;
}
.fonte-mobile-menu__cta {
    --fonte-button-background: var(--fonte-web-white);
    --fonte-button-color: var(--fonte-web-ink);
    --fonte-button-hover-background: var(--fonte-web-action);
    --fonte-button-hover-color: var(--fonte-web-white);
    width: 100%;
}
.fonte-mobile-menu__cta svg {
    width: 20px;
    height: 20px;
    color: var(--fonte-web-action);
}
.fonte-mobile-menu__socials {
    display: flex;
    gap: 12px;
}
.fonte-mobile-menu__socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 999px;
    border: 1px solid var(--fonte-web-white-28);
    color: var(--fonte-web-white);
}
.fonte-mobile-menu__socials svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}
body.has-open-menu {
    overflow: hidden;
}
.fonte-header-wrap a:focus-visible,
.fonte-header-wrap button:focus-visible,
.fonte-mobile-menu a:focus-visible,
.fonte-mobile-menu button:focus-visible {
    outline: 2px solid var(--fonte-web-accent);
    outline-offset: 3px;
}
@media (max-width: 85rem) {
    .fonte-header__socials {
        display: none;
    }
}
@media (max-width: 78.75rem) {
    .fonte-header-wrap {
        background: var(--fonte-web-cream);
    }
    .fonte-nav,
    .fonte-header__cta {
        display: none;
    }
    .fonte-header__burger {
        display: flex;
    }
    .fonte-header__actions {
        margin-left: auto;
    }
}
@media (max-width: 47.5rem) {
    .public-page--flush-mobile-hero .fonte-header-spacer {
        height: 4.75rem;
    }

    .fonte-header {
        gap: 12px;
    }
}
@media (hover: none) and (pointer: coarse) and (orientation: landscape) and (max-width: 75rem) and (max-height: 47.5rem) {
    .public-page--flush-mobile-hero .fonte-header-spacer {
        height: 4.75rem;
    }
}
@media (hover: none), (max-width: 75rem) {
    .fonte-mobile-menu {
        background: var(--fonte-web-ink);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
    .fonte-mobile-menu.is-open {
        will-change: auto;
    }
    .fonte-roll:hover:before {
        transform: translateY(101%);
    }
    .fonte-roll:hover {
        color: inherit !important;
    }
}
@media (hover: none) and (pointer: coarse), (max-width: 75rem) {
    .fonte-mobile-menu a,
    .fonte-mobile-menu button {
        -webkit-tap-highlight-color: transparent;
        transition: opacity 0.12s ease, transform 0.12s ease;
    }
    .fonte-mobile-menu a:active,
    .fonte-mobile-menu button:active {
        opacity: 0.72;
        transform: scale(0.975);
    }
}
@media (prefers-reduced-motion: reduce) {
    .fonte-header-wrap *,
    .fonte-mobile-menu * {
        transition-duration: 0.01ms !important;
    }
}
@media (min-width: 75.001rem) and (hover: hover) {
    .fonte-mobile-submenu__list-inner > a,
    .fonte-mobile-submenu__label,
    .fonte-mobile-submenu__row > button:not(.fonte-mobile-submenu__label) {
        border-radius: 10px;
        transition:
            background-color 0.18s ease,
            color 0.18s ease,
            transform 0.18s ease;
    }
    .fonte-mobile-submenu__list-inner > a:hover,
    .fonte-mobile-submenu__list-inner > a:focus-visible,
    .fonte-mobile-submenu__label:hover,
    .fonte-mobile-submenu__label:focus-visible {
        background: var(--fonte-web-accent-soft);
        color: var(--fonte-web-accent);
        transform: translateX(2px);
    }
    .fonte-mobile-submenu__row > button:not(.fonte-mobile-submenu__label):hover,
    .fonte-mobile-submenu__row
        > button:not(.fonte-mobile-submenu__label):focus-visible {
        background: var(--fonte-web-accent-soft);
        color: var(--fonte-web-accent);
    }
}
