/* ── CARDIGAN STICKY HEADER (shared across pages) ─────── */
.site-nav, .mobile-tabs, .more-sheet-overlay, .more-sheet { display: none !important; }

/* When the dark Cardigan header is active, the body must be dark too.
   This kills the white gap between the header and page content. */
body.has-cardigan-header {
    background: #060d18 !important;
    padding-top: 0 !important;
}

.home-header {
    position: sticky;
    top: 0;
    z-index: 9999;
    height: 92px;
    background: #0d1b2a;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
    border-bottom: 1px solid rgba(201,162,78,0.15);
}

.home-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    text-decoration: none;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.5px;
    flex-shrink: 0;
}

.home-brand:hover { color: #d97706; }

.home-brand svg .ring-1 { opacity: 0; animation: ring-reveal 1.8s ease-in-out infinite; animation-delay: 0s; transform-origin: 10px 10px; }
.home-brand svg .ring-2 { opacity: 0; animation: ring-reveal 1.8s ease-in-out infinite; animation-delay: 0.5s; transform-origin: 10px 10px; }
.home-brand svg .ring-3 { opacity: 0; animation: ring-reveal 1.8s ease-in-out infinite; animation-delay: 1.0s; transform-origin: 10px 10px; }

@keyframes ring-reveal {
    0%   { opacity: 0; transform: scale(0.3); }
    20%  { opacity: 1; transform: scale(1); }
    70%  { opacity: 1; transform: scale(1); }
    100% { opacity: 0; transform: scale(1); }
}

.home-nav {
    display: flex;
    align-items: center;
    gap: 0;
    margin-right: 24px;
}

.home-nav a {
    color: rgba(255,255,255,0.7);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 6px;
    transition: color 0.15s, background 0.15s;
    white-space: nowrap;
}

.home-nav a:hover {
    color: white;
    background: rgba(255,255,255,0.08);
}

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

.btn-login {
    padding: 8px 20px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    color: white;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.15s;
}

.btn-login:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.4);
}

.btn-login-primary {
    background: var(--blue-600);
    border-color: var(--blue-600);
}

.btn-login-primary:hover {
    background: var(--blue-700);
    border-color: var(--blue-700);
}

.mobile-menu-btn {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: none;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 8px;
    color: white;
    cursor: pointer;
}

.mobile-nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10, 22, 40, 0.85);
    z-index: 2000;
    backdrop-filter: blur(8px);
}

.mobile-nav-overlay.open { display: flex; align-items: center; justify-content: center; }

.mobile-nav-sheet {
    background: white;
    border-radius: 16px;
    width: 90%;
    max-width: 360px;
    padding: 32px 24px;
    text-align: left;
}

.mobile-nav-sheet a {
    display: block;
    padding: 14px 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-800);
    text-decoration: none;
    border-bottom: 1px solid var(--gray-100);
}

.mobile-nav-sheet a:last-child { border-bottom: none; }
.mobile-nav-sheet a:hover { color: var(--blue-600); }

.mobile-nav-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--gray-100);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    margin-left: auto;
    margin-bottom: 16px;
}

@media (max-width: 768px) {
    .home-header { padding: 0 16px; }
    .home-nav { display: none; }
    .mobile-menu-btn { display: flex !important; }
}