:root { --onz-header-height: 72px; }

.onz-header {
    --onz-header-ink: #102d3d;
    --onz-header-muted: #60737e;
    --onz-header-surface: #fbfaf6;
    --onz-header-accent: #f3a51f;
    position: relative;
    z-index: 1040;
}

.onz-header__nav {
    position: fixed;
    z-index: 1040;
    inset: 0 0 auto;
    height: var(--onz-header-height);
    border-bottom: 1px solid rgba(16, 45, 61, .1);
    background: rgba(251, 250, 246, .94);
    box-shadow: none;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    transition: background-color .25s ease, box-shadow .25s ease, border-color .25s ease;
    animation: onz-header-enter .45s ease both;
}

.onz-header__nav.is-sticky {
    border-color: rgba(16, 45, 61, .08);
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 12px 34px rgba(10, 32, 45, .1);
}

.onz-header__shell {
    display: flex;
    width: min(calc(100% - 48px), 1320px);
    height: 100%;
    margin-inline: auto;
    align-items: center;
    justify-content: space-between;
}

.onz-header__brand {
    position: relative;
    z-index: 2;
    display: inline-flex;
    flex: 0 0 auto;
}

.onz-header__brand img {
    display: block;
    width: 158px;
    height: auto;
}

.onz-header__desktop {
    display: flex;
    min-width: 0;
    height: 100%;
    margin-left: clamp(2rem, 4vw, 4.6rem);
    align-items: center;
    justify-content: flex-end;
    flex: 1 1 auto;
}

.onz-header__menu {
    display: flex;
    height: 100%;
    padding: 0;
    margin: 0 clamp(1.4rem, 2.7vw, 3.2rem) 0 0;
    align-items: stretch;
    list-style: none;
}

.onz-header__item {
    position: relative;
    display: flex;
    align-items: stretch;
}

.onz-header__nav-link {
    position: relative;
    display: inline-flex;
    gap: .25rem;
    height: 100%;
    padding: 0 clamp(.54rem, .85vw, .82rem);
    border: 0;
    align-items: center;
    color: var(--onz-header-ink);
    background: transparent;
    font: inherit;
    font-size: .89rem;
    font-weight: 650;
    white-space: nowrap;
}

.onz-header__nav-link::after {
    position: absolute;
    right: .65rem;
    bottom: 15px;
    left: .65rem;
    height: 2px;
    background: var(--onz-header-accent);
    content: "";
    transform: scaleX(0);
    transform-origin: right center;
    transition: transform .24s ease;
}

.onz-header__item:hover > .onz-header__nav-link::after,
.onz-header__item:focus-within > .onz-header__nav-link::after,
.onz-header__item.is-open > .onz-header__nav-link::after {
    transform: scaleX(1);
    transform-origin: left center;
}

.onz-header__nav-button i {
    font-size: 1rem;
    transition: transform .22s ease;
}

.onz-header__item.is-open > .onz-header__nav-button i { transform: rotate(180deg); }

.onz-header__item::before {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    height: 15px;
    content: "";
}

.onz-header__dropdown {
    position: absolute;
    top: calc(100% + 14px);
    left: 0;
    width: max-content;
    min-width: 244px;
    max-width: min(360px, calc(100vw - 48px));
    padding: 1.15rem 1.2rem 1.25rem;
    border: 1px solid rgba(16, 45, 61, .1);
    border-radius: 14px;
    visibility: hidden;
    opacity: 0;
    background: #fff;
    box-shadow: 0 22px 55px rgba(10, 32, 45, .15);
    transform: translateY(-8px);
    transform-origin: top left;
    pointer-events: none;
    transition: opacity .18s ease, visibility .18s ease, transform .22s ease;
}

.onz-header__item--align-right .onz-header__dropdown {
    right: 0;
    left: auto;
    transform-origin: top right;
}

.onz-header__item:hover > .onz-header__dropdown,
.onz-header__item:focus-within > .onz-header__dropdown,
.onz-header__item.is-open > .onz-header__dropdown {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.onz-header__dropdown-title {
    padding: 0 .45rem .85rem;
    margin: 0 0 .45rem;
    border-bottom: 1px solid rgba(16, 45, 61, .09);
    color: var(--onz-header-muted);
    font-size: .68rem;
    font-weight: 750;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.onz-header__dropdown ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.onz-header__dropdown li + li { margin-top: .08rem; }

.onz-header__dropdown a,
.onz-header__dropdown .onz-header__disabled {
    display: flex;
    gap: 1.25rem;
    min-height: 37px;
    padding: .48rem .45rem;
    align-items: center;
    justify-content: space-between;
    border-radius: 7px;
    font-size: .86rem;
    line-height: 1.3;
}

.onz-header__dropdown a {
    color: #243f4d;
    transition: color .18s ease, background-color .18s ease;
}

.onz-header__dropdown a > span { white-space: nowrap; }

.onz-header__dropdown a i {
    flex: 0 0 1rem;
    color: var(--onz-header-accent);
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity .18s ease, transform .18s ease;
}

.onz-header__dropdown a:hover {
    color: var(--onz-header-ink);
    background: rgba(243, 165, 31, .11);
}

.onz-header__dropdown a:hover i { opacity: 1; transform: translateX(0); }

.onz-header__disabled { color: rgba(36, 63, 77, .42); }

.onz-header__access {
    position: relative;
    flex: 0 0 auto;
}

.onz-header__access::after {
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    height: 15px;
    content: "";
}

.onz-header__access-button {
    display: inline-flex;
    gap: .55rem;
    min-height: 44px;
    padding: .72rem 1.1rem;
    border: 1px solid var(--onz-header-ink);
    border-radius: 999px;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: var(--onz-header-ink);
    font-size: .86rem;
    font-weight: 700;
    transition: color .2s ease, border-color .2s ease, background-color .2s ease, transform .2s ease;
}

.onz-header__access-button:hover,
.onz-header__access.is-open .onz-header__access-button {
    border-color: var(--onz-header-accent);
    color: var(--onz-header-ink);
    background: var(--onz-header-accent);
    transform: translateY(-1px);
}

.onz-header__access-button i { font-size: 1rem; transition: transform .22s ease; }
.onz-header__access.is-open .onz-header__access-button i { transform: rotate(180deg); }

.onz-header__access-panel {
    position: absolute;
    top: calc(100% + 14px);
    right: 0;
    display: grid;
    width: min(1120px, calc(100vw - 48px));
    max-height: calc(100vh - 100px);
    padding: clamp(1.6rem, 2.5vw, 2.4rem);
    border: 1px solid rgba(16, 45, 61, .1);
    border-radius: 18px;
    grid-template-columns: minmax(205px, .58fr) minmax(0, 2.72fr);
    gap: clamp(1.6rem, 2.3vw, 2.7rem);
    visibility: hidden;
    opacity: 0;
    overflow-y: auto;
    background: #fff;
    box-shadow: 0 28px 70px rgba(10, 32, 45, .18);
    transform: translateY(-8px) scale(.99);
    transform-origin: top right;
    pointer-events: none;
    transition: opacity .18s ease, visibility .18s ease, transform .22s ease;
}

.onz-header__access.is-open .onz-header__access-panel {
    visibility: visible;
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.onz-header__access-intro {
    padding-right: clamp(.5rem, 1.5vw, 1.5rem);
    border-right: 1px solid rgba(16, 45, 61, .11);
}

.onz-header__access-intro p {
    margin: 0 0 .75rem;
    color: #c47b00;
    font-size: .67rem;
    font-weight: 750;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.onz-header__access-title {
    margin: 0 0 .8rem;
    color: var(--onz-header-ink);
    font-size: clamp(1.35rem, 2vw, 1.85rem);
    font-weight: 650;
    line-height: 1.04;
    letter-spacing: -.035em;
}

.onz-header__access-intro > span {
    color: var(--onz-header-muted);
    font-size: .88rem;
    line-height: 1.55;
}

.onz-header__access-options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.onz-header__access-option {
    display: flex;
    padding: .35rem clamp(.75rem, 1.15vw, 1.15rem);
    flex-direction: column;
    color: var(--onz-header-ink);
}

.onz-header__access-option:first-child { padding-left: 0; }
.onz-header__access-option:last-child { padding-right: 0; }

.onz-header__access-option + .onz-header__access-option { border-left: 1px solid rgba(16, 45, 61, .11); }

.onz-header__access-option-heading {
    display: flex;
    gap: .72rem;
    margin: 0 0 .8rem;
    align-items: center;
}

.onz-header__access-option-heading > i {
    display: grid;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    border-radius: 50%;
    color: var(--onz-header-ink);
    background: rgba(243, 165, 31, .2);
    font-size: 1rem;
    place-items: center;
    transition: color .2s ease, background-color .2s ease, transform .2s ease;
}

.onz-header__access-option-heading strong {
    color: var(--onz-header-ink);
    font-size: 1rem;
}

.onz-header__access-option:hover .onz-header__access-option-heading > i {
    color: #fff;
    background: var(--onz-header-ink);
    transform: translateY(-2px);
}

.onz-header__access-option-copy {
    display: flex;
    min-width: 0;
    flex: 1 1 auto;
    flex-direction: column;
}

.onz-header__access-option-description {
    min-height: 4.05em;
    color: var(--onz-header-muted);
    font-size: .8rem;
    line-height: 1.45;
}

.onz-header__access-option-usage {
    padding-top: .72rem;
    margin-top: .72rem;
    border-top: 1px solid rgba(16, 45, 61, .1);
    color: #304b59;
    font-size: .8rem;
    line-height: 1.45;
}

.onz-header__access-option-cta {
    display: inline-flex;
    gap: .4rem;
    padding-top: 1rem;
    margin-top: auto;
    align-items: center;
    color: var(--onz-header-ink);
    font-size: .88rem;
    font-weight: 750;
}

.onz-header__access-option-cta i {
    color: var(--onz-header-accent);
    transition: transform .2s ease;
}

.onz-header__access-option:hover .onz-header__access-option-cta i { transform: translateX(4px); }
.onz-header__access-option[target="_blank"]:hover .onz-header__access-option-cta i { transform: translate(3px, -3px); }

.onz-header__toggle,
.onz-header__mobile { display: none; }

@keyframes onz-header-enter {
    from { opacity: 0; transform: translateY(-12px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1179.98px) {
    :root { --onz-header-height: 66px; }
    .onz-header__shell { width: min(calc(100% - 36px), 920px); }
    .onz-header__brand img { width: 148px; }
    .onz-header__desktop { display: none; }

    .onz-header__toggle {
        position: relative;
        z-index: 2;
        display: flex;
        width: 44px;
        height: 44px;
        padding: 0;
        border: 0;
        border-radius: 50%;
        align-items: center;
        justify-content: center;
        color: var(--onz-header-ink);
        background: transparent;
    }

    .onz-header__toggle span {
        position: absolute;
        width: 22px;
        height: 2px;
        border-radius: 2px;
        background: currentColor;
        transition: transform .24s ease, opacity .18s ease;
    }

    .onz-header__toggle span:first-child { transform: translateY(-7px); }
    .onz-header__toggle span:last-child { transform: translateY(7px); }
    .onz-header.is-menu-open .onz-header__toggle span:first-child { transform: rotate(45deg); }
    .onz-header.is-menu-open .onz-header__toggle span:nth-child(2) { opacity: 0; }
    .onz-header.is-menu-open .onz-header__toggle span:last-child { transform: rotate(-45deg); }

    .onz-header__mobile {
        position: absolute;
        z-index: 1;
        inset: 100% 0 auto;
        display: block;
        height: calc(100dvh - var(--onz-header-height));
        visibility: hidden;
        opacity: 0;
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
        background: #fbfaf6;
        transform: translateY(-10px);
        pointer-events: none;
        transition: opacity .22s ease, visibility .22s ease, transform .24s ease;
    }

    .onz-header.is-menu-open .onz-header__mobile {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    .onz-header__mobile-inner {
        width: min(calc(100% - 36px), 920px);
        padding: 1.2rem 0 3rem;
        margin-inline: auto;
    }

    .onz-header__mobile-section { border-bottom: 1px solid rgba(16, 45, 61, .12); }

    .onz-header__mobile-direct {
        display: flex;
        min-height: 62px;
        border-bottom: 1px solid rgba(16, 45, 61, .12);
        align-items: center;
        justify-content: space-between;
        color: var(--onz-header-ink);
        font-size: 1.08rem;
        font-weight: 650;
        text-decoration: none;
    }

    .onz-header__mobile-direct i {
        color: var(--onz-header-accent);
        font-size: 1.1rem;
    }

    .onz-header__mobile-section > button {
        display: flex;
        width: 100%;
        min-height: 62px;
        padding: 0;
        border: 0;
        align-items: center;
        justify-content: space-between;
        color: var(--onz-header-ink);
        background: transparent;
        font-size: 1.08rem;
        font-weight: 650;
        text-align: left;
    }

    .onz-header__mobile-section > button i {
        font-size: 1.25rem;
        transition: transform .22s ease;
    }

    .onz-header__mobile-section > button[aria-expanded="true"] i { transform: rotate(45deg); }

    .onz-header__mobile-panel {
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        transition: max-height .3s ease, opacity .22s ease, padding .3s ease;
    }

    .onz-header__mobile-panel.is-open {
        max-height: 720px;
        padding-bottom: 1.25rem;
        opacity: 1;
    }

    .onz-header__mobile-panel ul { padding: 0; margin: 0; list-style: none; }
    .onz-header__mobile-panel li + li { margin-top: .15rem; }

    .onz-header__mobile-panel li a,
    .onz-header__mobile-panel li > span {
        display: inline-flex;
        gap: .35rem;
        padding: .5rem 0;
        color: #526975;
        font-size: .94rem;
        line-height: 1.35;
    }

    .onz-header__mobile-overview a {
        color: var(--onz-header-ink) !important;
        font-weight: 700;
    }

    .onz-header__mobile-overview a i { color: var(--onz-header-accent); }

    .onz-header__mobile-section--access {
        padding: .65rem 1rem;
        margin-top: 1.15rem;
        border: 1px solid rgba(16, 45, 61, .13);
        border-radius: 14px;
        background: #fff;
    }

    .onz-header__mobile-section--access > button { min-height: 54px; }
    .onz-header__mobile-access-options { display: grid; gap: .35rem; }

    .onz-header__mobile-access-options a {
        display: grid;
        padding: .85rem 0;
        grid-template-columns: auto minmax(0, 1fr) auto;
        gap: .85rem;
        align-items: center;
        color: var(--onz-header-ink);
    }

    .onz-header__mobile-access-options a + a { border-top: 1px solid rgba(16, 45, 61, .1); }

    .onz-header__mobile-access-options a > i:first-child {
        display: grid;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background: rgba(243, 165, 31, .18);
        place-items: center;
    }

    .onz-header__mobile-access-options a > span { display: flex; flex-direction: column; }
    .onz-header__mobile-access-options strong { font-size: .91rem; }
    .onz-header__mobile-access-options small { margin-top: .18rem; color: var(--onz-header-muted); font-size: .75rem; }
    .onz-header__mobile-access-options a > i:last-child { color: var(--onz-header-accent); }
}

@media (max-width: 575.98px) {
    .onz-header__shell,
    .onz-header__mobile-inner { width: calc(100% - 30px); }
    .onz-header__brand img { width: 142px; }
}

@media (prefers-reduced-motion: reduce) {
    .onz-header__nav { animation: none; }
    .onz-header *, .onz-header *::before, .onz-header *::after { transition-duration: .01ms !important; }
}
