/* Shared header copied from the approved homepage reference. */
.public-header{
    padding:0;
    --blue:#6aabff;
    --navy:#adcfff;
    --dark:#f3f7ff;
    --accent:#72b3ff;
    --ink:#f2f6ff;
    --muted:#bdcce9;
    --line:#8baef52e;
    --bg:#203b81;
    --green:#8ed4bc;
    font:16px/1.65 Inter,"Segoe UI",Arial,sans-serif;
    color:#f2f6ff;
}
.public-header *{
    box-sizing:border-box;
}
.public-header a{
    color:inherit;
    text-decoration:none;
}
.public-header button{
    font:inherit;
    color:inherit;
    padding:1px 6px;
    border:0;
    background:none;
    cursor:pointer;
}
.public-header svg{
    width:20px;
    height:20px;
    fill:none;
    stroke:currentColor;
    stroke-width:1.7;
    stroke-linecap:round;
    stroke-linejoin:round;
    flex-shrink:0;
}
.public-header .nav{
    flex-wrap:nowrap;
    padding:0;
}
.public-header a:focus-visible,.public-header button:focus-visible{
    outline:3px solid var(--accent);
    outline-offset:5px;
}
.public-header .wrap{
    max-width: 1280px;
    margin: auto;
    padding: 0px 40px;
}
.public-header .btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 12px 20px;
    border: 1px solid var(--line);
    border-radius: 9px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    transition: transform 0.18s, background 0.18s, box-shadow 0.18s;
    white-space: nowrap;
}
.public-header .btn:hover{
    transform: translateY(-2px);
}
.public-header .btn.primary{
    background: var(--blue);
    border-color: var(--blue);
    color: rgb(255, 255, 255);
    box-shadow: rgba(36, 97, 233, 0.1) 0px 5px 14px;
}
.public-header .btn.primary:hover{
    background: rgb(25, 82, 212);
    box-shadow: rgba(36, 97, 233, 0.157) 0px 7px 20px;
}
.public-header .btn.light{
    background: rgb(255, 255, 255);
}
.public-header .btn.light:hover{
    background: rgb(246, 248, 251);
}
.public-header .btn svg{
    width: 17px;
    height: 17px;
}
.public-header .brand{
    display: flex;
    align-items: center;
    gap: 15px;
}
.public-header .brand-logo{
    display: block;
    width: 108px;
    height: auto;
    flex: none;
}
.public-header .wordmark{
    font-size: 37px;
    font-weight: 350;
    letter-spacing: -2.4px;
    line-height: 1;
    color: var(--dark);
}
.public-header .wordmark .ii{
    color: var(--accent);
}
.public-header .wordmark sup{
    font-size: 8px;
    letter-spacing: 0px;
    vertical-align: top;
    display: inline-block;
    margin: 4px 0px 0px 3px;
}
.public-header .brand-product{
    font-size: 10px;
    letter-spacing: 2.8px;
    font-weight: 600;
    border-left: 1px solid rgb(214, 223, 237);
    padding-left: 15px;
    color: rgb(108, 125, 153);
}
.public-header{
    position: sticky;
    top: 0px;
    z-index: 30;
    background: rgba(255, 255, 255, 0.93);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgb(233, 237, 244);
}
.public-header .header-row{
    display: flex;
    align-items: center;
    height: 86px;
    gap: 35px;
}
.public-header .nav{
    display: flex;
    gap: 28px;
    margin: auto;
    font-size: 14px;
    color: rgb(96, 112, 136);
}
.public-header .nav a:hover,.public-header .nav a.active{
    color: var(--blue);
}
.public-header .header-actions{
    display: flex;
    align-items: center;
    gap: 22px;
    font-size: 14px;
    font-weight: 600;
}
.public-header .btn{
    min-height: 42px;
    padding: 10px 15px;
    font-size: 13px;
}
.public-header .menu-btn{
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
}
@media (min-width: 1450px){
    .public-header .wrap{
        max-width: 1360px;
    }
}
@media (max-width: 1120px){
    .public-header .wrap{
        padding: 0px 28px;
    }
    .public-header .header-row{
        gap: 20px;
    }
    .public-header .nav{
        gap: 19px;
    }
    .public-header .header-actions{
        gap: 15px;
    }
    .public-header .brand-product{
        display: none;
    }
}
@media (max-width: 860px){
    .public-header .nav{
        gap: 16px;
        font-size: 13px;
    }
    .public-header .header-row{
        height: 76px;
    }
    .public-header .header-actions > a:first-child{
        display: none;
    }
}
@media (max-width: 620px){
    .public-header .wrap{
        padding: 0px 21px;
    }
    .public-header .header-row{
        height: 70px;
        gap: 10px;
    }
    .public-header .wordmark{
        font-size: 34px;
    }
    .public-header .brand-logo{
        width: 88px;
    }
    .public-header .header-actions{
        margin-left: auto;
        gap: 8px;
    }
    .public-header .header-actions .btn{
        font-size: 11px;
        padding: 9px 11px;
        min-height: 38px;
    }
    .public-header .menu-btn{
        display: flex;
    }
    .public-header .nav{
        display: none;
        position: absolute;
        left: 0px;
        right: 0px;
        top: 70px;
        background: white;
        border-bottom: 1px solid var(--line);
        padding: 22px;
        box-shadow: rgba(23, 45, 96, 0.03) 0px 12px 18px;
        flex-direction: column;
        gap: 0px;
    }
    .public-header .nav.open{
        display: flex;
    }
    .public-header .nav a{
        padding: 10px;
        font-size: 15px;
    }
}
@media (max-width: 380px){
    .public-header .header-actions .btn svg{
        display: none;
    }
    .public-header .header-actions .btn{
        padding: 9px 10px;
    }
    .public-header .wordmark{
        font-size: 31px;
    }
    .public-header .brand-logo{
        width: 76px;
    }
}
.public-header{
    background: rgba(32, 60, 133, 0.91);
    border-bottom-color: rgba(145, 180, 244, 0.17);
}
.public-header .wordmark{
    color: rgb(245, 248, 255);
}
.public-header .wordmark .ii{
    color: rgb(116, 181, 255);
}
.public-header .brand-product{
    color: rgb(184, 204, 236);
    border-left-color: rgba(142, 175, 228, 0.28);
}
.public-header .nav{
    color: rgb(194, 209, 236);
}
.public-header .nav a:hover,.public-header .nav a.active{
    color: rgb(255, 255, 255);
}
.public-header .header-actions{
    color: rgb(228, 237, 255);
}
.public-header .menu-btn{
    color: rgb(214, 229, 255);
}
.public-header .btn{
    border-color: rgba(130, 167, 234, 0.333);
    color: rgb(234, 242, 255);
}
.public-header .btn.primary{
    background: rgb(101, 165, 250);
    border-color: rgb(101, 165, 250);
    color: rgb(22, 53, 111);
    box-shadow: rgba(10, 32, 76, 0.1) 0px 5px 18px;
}
.public-header .btn.primary:hover{
    background: rgb(130, 185, 255);
    border-color: rgb(130, 185, 255);
    box-shadow: rgba(7, 30, 74, 0.19) 0px 7px 23px;
}
.public-header .btn.light{
    background: rgba(49, 85, 151, 0.25);
    border-color: rgba(131, 172, 227, 0.36);
    color: rgb(237, 245, 255);
}
.public-header .btn.light:hover{
    background: rgba(78, 121, 187, 0.3);
    border-color: rgba(162, 200, 255, 0.5);
}
@media (max-width: 620px){
    .public-header .nav{
        background: rgb(30, 56, 120);
        border-bottom-color: rgba(142, 175, 243, 0.27);
        box-shadow: rgba(9, 27, 70, 0.2) 0px 12px 18px;
    }
}
@media(max-width:620px){
    .public-header .nav{
        max-height:calc(100dvh - 70px);
        overflow-y:auto
    }
}
@media(prefers-reduced-motion:reduce){
    .public-header *{
        transition:none!important
    }
}
