.cp-public-header,
.cp-public-header * {
    box-sizing: border-box;
}

.cp-public-header {
    position: sticky;
    z-index: 50;
    top: 0;
    display: grid;
    min-height: 74px;
    grid-template-columns: minmax(150px, 220px) minmax(0, 1fr) minmax(220px, auto);
    align-items: center;
    gap: clamp(1rem, 2.4vw, 2.5rem);
    width: 100%;
    padding: 0 clamp(1.25rem, 4vw, 4.5rem);
    border-bottom: 1px solid rgba(126, 174, 204, .18);
    background: rgba(8, 19, 27, .94);
    color: #f4f8fb;
    box-shadow: 0 12px 34px rgba(3, 12, 19, .18);
    backdrop-filter: blur(18px);
}

.cp-public-header__brand {
    display: inline-flex;
    width: fit-content;
    align-items: center;
}

.cp-public-header__brand img {
    display: block;
    width: 154px;
    height: auto;
}

.cp-public-header__nav {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: center;
    gap: clamp(.85rem, 1.8vw, 2rem);
    color: #b7cad5;
    font-size: .875rem;
    white-space: nowrap;
}

.cp-public-header a {
    text-decoration: none;
}

.cp-public-header__nav a:hover,
.cp-public-header__nav a:focus-visible,
.cp-public-header__portal:hover,
.cp-public-header__portal:focus-visible {
    color: #fff;
}

.cp-public-header__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: .8rem;
    white-space: nowrap;
}

.cp-public-header__portal {
    color: #b7cad5;
    font-size: .84rem;
    font-weight: 650;
}

.cp-public-header__cta {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(47, 158, 232, .58);
    border-radius: 999px;
    padding: .65rem 1rem;
    background: rgba(8, 104, 172, .16);
    color: #78c8ff;
    font-size: .82rem;
    font-weight: 750;
}

.cp-public-header__cta:hover,
.cp-public-header__cta:focus-visible {
    border-color: #2f9ee8;
    background: #0868ac;
    color: #fff;
}

.cp-mobile-menu {
    position: relative;
    display: none;
}

.cp-resource-nav {
    border-bottom: 1px solid rgba(120, 174, 207, .14);
    background: #0b1a24;
    color: #9db4c2;
}

.cp-resource-nav__inner {
    display: flex;
    min-height: 46px;
    align-items: center;
    gap: clamp(1rem, 2.8vw, 2.5rem);
    width: min(100%, 1440px);
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 4vw, 4.5rem);
    overflow-x: auto;
    white-space: nowrap;
}

.cp-resource-nav__label {
    color: #527083;
    font: 700 .62rem/1 ui-monospace, SFMono-Regular, Consolas, monospace;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.cp-resource-nav a {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    border-bottom: 2px solid transparent;
    color: #9db4c2;
    font-size: .78rem;
    font-weight: 700;
    text-decoration: none;
}

.cp-resource-nav a:hover,
.cp-resource-nav a:focus-visible,
.cp-resource-nav a[aria-current="page"] {
    border-bottom-color: #2f9ee8;
    color: #fff;
}

.cp-public-footer {
    border-top: 1px solid rgba(126, 174, 204, .16);
    background: #07131b;
    color: #8fa6b5;
}

.cp-public-footer__grid {
    display: grid;
    grid-template-columns: minmax(260px, 1.5fr) repeat(3, minmax(140px, 1fr));
    gap: clamp(2rem, 5vw, 5rem);
    width: min(100%, 1440px);
    margin: 0 auto;
    padding: clamp(3.5rem, 7vw, 6rem) clamp(1.25rem, 4vw, 4.5rem);
}

.cp-public-footer__brand img {
    display: block;
    width: 154px;
    height: auto;
}

.cp-public-footer__brand p {
    max-width: 360px;
    margin: 1.4rem 0 0;
    color: #78909f;
    font-size: .88rem;
    line-height: 1.7;
}

.cp-public-footer__email {
    display: inline-block;
    margin-top: 1.2rem;
    color: #6dbbf0;
    font-size: .88rem;
    font-weight: 700;
    text-decoration: none;
}

.cp-public-footer nav {
    display: grid;
    align-content: start;
    gap: .8rem;
}

.cp-public-footer nav strong {
    margin-bottom: .3rem;
    color: #e3edf3;
    font-size: .72rem;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.cp-public-footer nav a {
    color: #8fa6b5;
    font-size: .84rem;
    text-decoration: none;
}

.cp-public-footer nav a:hover,
.cp-public-footer nav a:focus-visible {
    color: #fff;
}

.cp-public-footer__bottom {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    width: min(100%, 1440px);
    margin: 0 auto;
    border-top: 1px solid rgba(126, 174, 204, .12);
    padding: 1.4rem clamp(1.25rem, 4vw, 4.5rem);
    color: #5f7888;
    font-size: .72rem;
}

.cp-home-resources {
    display: grid;
    grid-template-columns: minmax(260px, .7fr) minmax(0, 1.3fr);
    gap: clamp(2.5rem, 6vw, 7rem);
    max-width: 1280px;
    margin: 0 auto;
    padding: 6rem 1.25rem;
}

.cp-home-resources__intro > p {
    margin: 0;
    color: #69bdf5;
    font: 700 .7rem/1.2 ui-monospace, monospace;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.cp-home-resources__intro h2 {
    margin: 1rem 0 0;
    color: #f4f3ef;
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.05;
    letter-spacing: -.045em;
}

.cp-home-resources__intro > span {
    display: block;
    margin-top: 1.4rem;
    color: rgba(255, 255, 255, .52);
    line-height: 1.7;
}

.cp-home-resources__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid rgba(255, 255, 255, .12);
    border-left: 1px solid rgba(255, 255, 255, .12);
}

.cp-home-resources__grid a {
    display: grid;
    min-height: 210px;
    align-content: start;
    gap: .85rem;
    border-right: 1px solid rgba(255, 255, 255, .12);
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    padding: 1.6rem;
    color: #f4f3ef;
    text-decoration: none;
}

.cp-home-resources__grid a:hover,
.cp-home-resources__grid a:focus-visible {
    background: rgba(8, 104, 172, .12);
}

.cp-home-resources__grid small {
    color: #3f91c8;
    font: 700 .7rem/1 ui-monospace, monospace;
}

.cp-home-resources__grid strong {
    margin-top: 1.6rem;
    font-size: 1.35rem;
}

.cp-home-resources__grid span {
    color: rgba(255, 255, 255, .5);
    font-size: .86rem;
    line-height: 1.6;
}

.cp-desktop-nav {
    display: flex;
}

.cp-mobile-menu summary {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    border: 1px solid currentColor;
    border-radius: 999px;
    padding: 0 14px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}

.cp-mobile-menu summary::-webkit-details-marker {
    display: none;
}

.cp-mobile-menu nav {
    position: absolute;
    z-index: 100;
    top: calc(100% + 12px);
    right: 0;
    display: grid;
    width: min(300px, calc(100vw - 32px));
    overflow: hidden;
    border: 1px solid rgba(127, 157, 176, .25);
    border-radius: 12px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .3);
}

.cp-mobile-menu nav a {
    display: block;
    min-height: 46px;
    padding: 13px 16px;
    border-bottom: 1px solid rgba(127, 157, 176, .16);
    text-decoration: none;
}

.cp-mobile-menu nav a:last-child {
    border-bottom: 0;
}

.cp-mobile-menu-dark {
    color: #dcecf4;
}

.cp-mobile-menu-dark nav {
    background: #0b1b25;
    color: #eaf5f8;
}

.cp-mobile-menu-light {
    color: #0868ac;
}

.cp-mobile-menu-light nav {
    background: #fff;
    color: #17232c;
}

@media (max-width: 1120px) {
    .cp-desktop-nav {
        display: none;
    }

    .cp-mobile-menu {
        display: block;
    }

    .cp-public-header {
        grid-template-columns: 1fr auto;
    }
}

@media (max-width: 760px) {
    .cp-public-header {
        min-height: 64px;
        padding-inline: 1rem;
    }

    .cp-public-header__brand img {
        width: 128px;
    }

    .cp-public-header__portal {
        display: none;
    }

    .cp-public-header__cta {
        min-height: 38px;
        padding: .55rem .75rem;
        font-size: .72rem;
    }

    .cp-mobile-menu summary {
        min-height: 36px;
        padding-inline: 12px;
    }
}

@media (max-width: 900px) {
    .cp-public-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cp-public-footer__brand {
        grid-column: 1 / -1;
    }

    .cp-home-resources {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .cp-public-footer__grid,
    .cp-home-resources__grid {
        grid-template-columns: 1fr;
    }

    .cp-public-footer__brand {
        grid-column: auto;
    }

    .cp-public-footer__bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .cp-resource-nav__label {
        display: none;
    }
}

@media (max-width: 460px) {
    .cp-public-header__cta {
        display: none;
    }
}
