/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; }
body {
    margin: 0; padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 15px; color: #1e293b; background: #fff;
    -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
.hl-nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    height: 68px;
    display: flex; align-items: center;
    padding: 0 40px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226,232,240,0.8);
    transition: background 0.2s;
}
.hl-nav-brand {
    display: flex; align-items: center; gap: 11px;
    text-decoration: none !important; flex-shrink: 0;
}
.hl-nav-brand-icon {
    width: 38px; height: 38px; border-radius: 9px;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-weight: 800; font-size: 13px; letter-spacing: -0.5px;
}
.hl-nav-brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.hl-nav-brand-name { font-size: 17px; font-weight: 800; color: #0f172a; }
.hl-nav-brand-name span { color: #2563eb; }
.hl-nav-brand-sub {
    font-size: 10.5px; font-weight: 500;
    color: #64748b; margin-top: 2px; letter-spacing: 0.1px;
}

.hl-nav-links {
    display: flex; align-items: center; gap: 6px; margin-left: 40px; flex: 1;
}
.hl-nav-links a {
    padding: 7px 14px; border-radius: 8px;
    font-size: 14px; font-weight: 500; color: #475569;
    text-decoration: none !important; transition: background 0.12s, color 0.12s;
}
.hl-nav-links a:hover { background: #f1f5f9; color: #1e293b; }
.hl-nav-links a.hl-nav-active { color: #2563eb; background: #eff6ff; }

.hl-nav-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.hl-btn-ghost {
    height: 38px; padding: 0 16px; border-radius: 9px;
    font-size: 14px; font-weight: 600; color: #374151;
    border: 1.5px solid #e5e7eb; background: #fff;
    text-decoration: none !important; display: inline-flex; align-items: center;
    transition: background 0.12s, border-color 0.12s;
}
.hl-btn-ghost:hover { background: #f8fafc; border-color: #cbd5e1; color: #374151; }
.hl-btn-primary {
    height: 38px; padding: 0 20px; border-radius: 9px;
    font-size: 14px; font-weight: 700; color: #fff !important;
    background: #2563eb; border: none;
    text-decoration: none !important; display: inline-flex; align-items: center;
    transition: background 0.13s; cursor: pointer;
}
.hl-btn-primary:hover { background: #1d4ed8; }

/* ── BODY OFFSET ── */
.hl-body { padding-top: 68px; }

/* ── FOOTER ── */
.hl-footer {
    background: #0f172a; color: #94a3b8;
    padding: 56px 40px 32px;
    margin-top: 80px;
}
.hl-footer-grid {
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.hl-footer-brand-name { font-size: 20px; font-weight: 800; color: #fff; margin-bottom: 10px; }
.hl-footer-brand-name span { color: #60a5fa; }
.hl-footer-brand-desc { font-size: 14px; line-height: 1.7; color: #64748b; max-width: 260px; }
.hl-footer-col h4 { font-size: 13px; font-weight: 700; color: #e2e8f0; margin-bottom: 14px; text-transform: uppercase; letter-spacing: 0.5px; }
.hl-footer-col a {
    display: block; font-size: 14px; color: #64748b;
    text-decoration: none !important; margin-bottom: 9px;
    transition: color 0.12s;
}
.hl-footer-col a:hover { color: #94a3b8; }
.hl-footer-bottom {
    max-width: 1200px; margin: 24px auto 0;
    display: flex; align-items: center; justify-content: space-between;
    font-size: 13px; color: #475569;
}
.hl-footer-bottom a { color: #475569; text-decoration: none; }
.hl-footer-bottom a:hover { color: #64748b; }

/* ── SHARED PAGE WRAPPER ── */
.hl-page { max-width: 1200px; margin: 0 auto; padding: 60px 40px; }
.hl-page-sm { max-width: 760px; margin: 0 auto; padding: 60px 40px; }

/* ── MOBILE NAV BURGER ── */
.hl-burger {
    display: none;
    width: 38px; height: 38px;
    border: none; background: transparent;
    color: #1e293b; cursor: pointer;
    border-radius: 8px; padding: 0;
    margin-left: 6px;
    transition: background 0.12s;
}
.hl-burger:hover { background: #f1f5f9; }
.hl-burger svg { width: 22px; height: 22px; }

/* Slide-down mobile menu */
.hl-mobile-menu {
    display: none;
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid #e8edf2;
    box-shadow: 0 12px 32px rgba(15,23,42,0.08);
    z-index: 999;
    padding: 8px 16px 20px;
}
.hl-mobile-menu.open { display: block; }
.hl-mobile-menu a {
    display: block;
    padding: 13px 16px;
    border-radius: 9px;
    font-size: 15px; font-weight: 500; color: #1e293b;
    text-decoration: none !important;
    transition: background 0.12s;
}
.hl-mobile-menu a:hover { background: #f8fafc; }
.hl-mobile-menu a.hl-nav-active { background: #eff6ff; color: #2563eb; }
.hl-mobile-menu-divider {
    height: 1px; background: #f1f5f9; margin: 8px 0;
}
.hl-mobile-menu .hl-mobile-cta {
    display: block;
    margin-top: 8px;
    padding: 13px 16px;
    border-radius: 9px;
    background: #2563eb !important;
    color: #fff !important;
    font-weight: 700;
    text-align: center;
}

/* ── TABLET (≤ 1024px) ── */
@media (max-width: 1024px) {
    .hl-nav { padding: 0 24px; }
}

/* ── MOBILE (≤ 768px) ── */
@media (max-width: 768px) {
    .hl-nav { padding: 0 16px; height: 60px; }
    .hl-body { padding-top: 60px; }
    .hl-mobile-menu { top: 60px; }
    .hl-nav-links { display: none; }
    .hl-burger { display: inline-flex; align-items: center; justify-content: center; }
    .hl-nav-brand-name { font-size: 15px; }
    .hl-nav-brand-sub  { font-size: 9.5px; margin-top: 1px; }
    .hl-nav-brand-icon { width: 34px; height: 34px; font-size: 12px; }

    /* Hide the desktop Sign In on mobile — keep one compact CTA only */
    .hl-nav-actions .hl-btn-ghost { display: none; }
    .hl-btn-primary {
        height: 36px; padding: 0 14px;
        font-size: 13px;
    }
    .hl-btn-primary svg { display: none; }

    .hl-footer { padding: 40px 24px 24px; margin-top: 56px; }
    .hl-footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; padding-bottom: 32px; }
    .hl-footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
    .hl-footer-brand-desc { max-width: 100%; }

    .hl-page, .hl-page-sm { padding: 32px 16px; }
}

/* ── SMALL MOBILE (≤ 480px) ── */
@media (max-width: 480px) {
    .hl-nav-brand-sub { display: none; }
    .hl-nav-brand-name span { display: none; }
    .hl-footer-grid { grid-template-columns: 1fr; gap: 24px; }
}
    
