.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(255, 255, 255, .75);
    background: rgba(255, 255, 255, .84);
    backdrop-filter: blur(18px)
}

.header-inner {
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit
}

.brand > img{
    width: 200px;
}
.brand-mark {
    position: relative;
    width: 48px;
    height: 48px;
    border-radius: 18px;
    background: linear-gradient(135deg, #38bdf8, #22d3ee, #2dd4bf);
    box-shadow: 0 18px 38px rgba(6, 182, 212, .28);
    display: block
}

.logo-ring {
    position: absolute;
    left: 8px;
    top: 12px;
    width: 32px;
    height: 24px;
    border: 5px solid white;
    border-radius: 18px
}

.logo-dot {
    position: absolute;
    width: 9px;
    height: 9px;
    background: white;
    border-radius: 3px;
    transform: rotate(45deg)
}

.dot-a {
    left: 18px;
    top: 22px
}

.dot-b {
    left: 25px;
    top: 18px
}

.logo-speed {
    position: absolute;
    left: -9px;
    height: 6px;
    border-radius: 99px;
    background: #38bdf8
}

.speed-a {
    top: 18px;
    width: 13px
}

.speed-b {
    top: 26px;
    width: 18px;
    left: -16px
}

.brand-copy strong {
    display: block;
    font-size: 24px;
    line-height: 1;
    font-weight: 950;
    letter-spacing: -.04em
}

.brand-copy em {
    display: block;
    margin-top: 5px;
    font-size: 11px;
    color: #94a3b8;
    letter-spacing: .26em;
    font-weight: 700;
    font-style: normal
}

.site-nav {
    display: flex;
    gap: 6px;
    align-items: center
}

.site-nav a,
.mobile-nav a {
    border: 0;
    background: transparent;
    color: #475569;
    font-weight: 800;
    padding: 10px 16px;
    border-radius: 999px;
    transition: .2s;
    text-decoration: none
}

.site-nav a.active,
.site-nav a:hover,
.mobile-nav a.active {
    background: #020617;
    color: white
}

.header-actions {
    display: flex;
    gap: 10px;
    align-items: center
}

.nav-cta {
    border: 0;
    border-radius: 999px;
    background: linear-gradient(90deg, #0ea5e9, #2dd4bf);
    color: white;
    font-weight: 950;
    padding: 12px 20px;
    box-shadow: 0 16px 40px rgba(34, 211, 238, .28);
    text-decoration: none
}

.is-hidden {
    display: none !important
}

.header-user {
    position: relative
}

.header-user-trigger {
    display: flex;
    align-items: center;
    gap: 9px;
    border: 0;
    background: transparent;
    padding: 6px 8px;
    border-radius: 999px;
    cursor: pointer;
    transition: .2s
}

.header-user-trigger:hover {
    background: #f1f5f9
}

.header-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid white;
    box-shadow: 0 10px 26px rgba(15, 23, 42, .18)
}

.header-nickname {
    max-width: 96px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #0f172a;
    font-weight: 900
}

.header-user-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    min-width: 118px;
    padding: 8px;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: white;
    box-shadow: 0 18px 44px rgba(15, 23, 42, .14);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: .18s
}

.header-user:hover .header-user-menu,
.header-user:focus-within .header-user-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0)
}

.header-logout {
    width: 100%;
    border: 0;
    border-radius: 12px;
    background: #f8fafc;
    color: #ef4444;
    font-weight: 900;
    padding: 10px 12px;
    cursor: pointer
}

.header-logout:hover {
    background: #fee2e2
}

.mobile-menu-btn {
    display: none;
    border: 1px solid #e2e8f0;
    background: white;
    border-radius: 12px;
    padding: 9px 12px;
    font-weight: 950
}

.mobile-nav {
    display: none;
    gap: 8px;
    overflow: auto;
    padding: 0 20px 14px
}

.mobile-nav a {
    white-space: nowrap;
    background: white;
    font-size: 13px
}

@media(max-width:980px) {
    .site-nav {
        display: none
    }

    .mobile-menu-btn {
        display: block
    }

    .mobile-nav.open {
        display: flex
    }

    .header-inner {
        height: auto;
        padding: 14px 0
    }

    .brand-copy em {
        display: none
    }
}

@media(max-width:620px) {
    .member-badge {
        display: none
    }

    .nav-cta {
        padding: 10px 14px
    }
}