*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; font-family: 'Inter', sans-serif; }

/* ── HutchConnect public nav ── */
.hc-public-nav {
    background: linear-gradient(135deg, #0f766e 0%, #0d9488 50%, #0891b2 100%);
    color: white;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    height: 56px;
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    box-shadow: 0 2px 12px rgba(13,148,136,0.25);
    backdrop-filter: blur(10px);
}
.hc-public-nav-brand {
    font-weight: 800;
    font-size: 1.1rem;
    color: white;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: -0.01em;
}
.hc-public-nav-brand:hover { color: rgba(255,255,255,0.9); text-decoration: none; }

.hc-nav-links {
    display: flex;
    align-items: center;
    gap: 0.125rem;
    margin-left: auto;
}
.hc-nav-links a {
    color: rgba(255,255,255,0.88);
    text-decoration: none;
    font-size: 0.84rem;
    font-weight: 600;
    padding: 0.4rem 0.85rem;
    border-radius: 8px;
    transition: background 0.18s, color 0.18s, transform 0.18s;
    white-space: nowrap;
    letter-spacing: 0.01em;
}
.hc-nav-links a:hover {
    background: rgba(255,255,255,0.18);
    color: #fff;
    transform: translateY(-1px);
}

.hc-nav-hamburger {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    margin-left: auto;
    padding: 0.35rem 0.5rem;
    line-height: 1;
    border-radius: 8px;
    transition: background 0.15s;
}
.hc-nav-hamburger:hover { background: rgba(255,255,255,0.15); }

@media (max-width: 768px) {
    .hc-nav-links {
        display: none;
        position: fixed;
        top: 56px; left: 0; right: 0;
        background: linear-gradient(180deg, #0f766e 0%, #0d9488 100%);
        flex-direction: column;
        align-items: stretch;
        padding: 0.5rem 0 1rem;
        box-shadow: 0 8px 24px rgba(0,0,0,0.2);
        gap: 0;
    }
    .hc-nav-links a {
        padding: 0.85rem 1.75rem;
        border-radius: 0;
        font-size: 1rem;
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }
    .hc-nav-links a:hover { transform: none; background: rgba(255,255,255,0.1); }
    .hc-nav-open .hc-nav-links { display: flex; }
    .hc-nav-hamburger { display: block; }
    .hc-public-nav { padding: 0 1rem; }
}
