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

/* ── HutchConnect public nav ── */
.hc-public-nav {
    background: #0d9488;
    color: white;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    height: 52px;
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.hc-public-nav-brand {
    font-weight: 700;
    font-size: 1.05rem;
    color: white;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
}
.hc-public-nav-brand:hover { color: rgba(255,255,255,0.85); text-decoration: none; }

.hc-nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-left: auto;
}
.hc-nav-links a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.4rem 0.75rem;
    border-radius: 6px;
    transition: background 0.15s, color 0.15s;
    white-space: nowrap;
}
.hc-nav-links a:hover {
    background: rgba(255,255,255,0.15);
    color: #fff;
}

.hc-nav-hamburger {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.4rem;
    cursor: pointer;
    margin-left: auto;
    padding: 0.25rem 0.5rem;
    line-height: 1;
}

@media (max-width: 768px) {
    .hc-nav-links {
        display: none;
        position: fixed;
        top: 52px; left: 0; right: 0;
        background: #0d9488;
        flex-direction: column;
        align-items: stretch;
        padding: 0.5rem 0 1rem;
        box-shadow: 0 4px 12px rgba(0,0,0,0.2);
        gap: 0;
    }
    .hc-nav-links a {
        padding: 0.75rem 1.5rem;
        border-radius: 0;
        font-size: 1rem;
        border-bottom: 1px solid 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; }
}
