/* ══════════════════════════════════════════
   Corvus Intelligence — Shared Site Styles
   ══════════════════════════════════════════ */

/* ── Base Reset ── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
    background-color: #010a28;
    color: #ffffff;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* ── Navigation ── */
.site-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: linear-gradient(180deg, #010a28 60%, transparent);
}

.site-nav-inner {
    width: 100%;
    margin: 0 auto;
    padding: clamp(14px, 1.4vw, 20px) clamp(20px, 3.9vw, 56px);
    display: flex;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: clamp(8px, 0.8vw, 12px);
    text-decoration: none;
}

.nav-logo .icon { width: clamp(20px, 2.34vw, 34px); height: clamp(22px, 2.64vw, 38px); }
.nav-logo .wordmark { height: clamp(16px, 1.95vw, 28px); width: auto; }
.nav-slogan { display: none; }

.nav-links {
    display: flex;
    align-items: center;
    gap: clamp(20px, 3.1vw, 45px);
    margin-left: auto;
}

.nav-links a {
    font-family: 'custom_95725', sans-serif;
    font-size: clamp(12px, 1.17vw, 17px);
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    color: rgba(255, 255, 255, 1);
    transition: color 0.2s;
}

.nav-links a:hover { color: rgba(5, 99, 161, 0.8); }

.nav-discover {
    display: inline-block;
    font-family: 'custom_95725', sans-serif;
    font-size: clamp(12px, 1.17vw, 17px);
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    color: #000000;
    background-color: #ffffff;
    padding: clamp(10px, 0.8vw, 12px) clamp(18px, 2.1vw, 30px);
    margin-left: clamp(20px, 3.1vw, 45px);
    line-height: 1;
    transition: background-color 0.3s;
}

.nav-discover:hover {
    background-color: rgba(5, 99, 161, 0.8);
    color: #ffffff;
}

/* ── Burger Menu ── */
.nav-burger {
    display: none;
    margin-left: auto;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1002;
}

.nav-burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #ffffff;
    margin: 5px 0;
    transition: transform 0.3s, opacity 0.3s;
}

.nav-burger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-burger.active span:nth-child(2) {
    opacity: 0;
}

.nav-burger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ── Mobile Menu Overlay ── */
.nav-mobile-menu {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 1001;
    background: rgba(1, 10, 40, 0.97);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
}

.nav-mobile-menu.open {
    display: flex;
}

.nav-mobile-menu a {
    font-family: 'custom_95725', sans-serif;
    font-size: 20px;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.2s;
}

.nav-mobile-menu a:hover,
.nav-mobile-menu a.nav-active {
    color: rgba(5, 99, 161, 0.8);
}

.nav-links a.nav-active,
.nav-dropdown-menu a.nav-active {
    color: rgba(5, 99, 161, 0.8);
}

.nav-mobile-menu .nav-mobile-discover {
    color: #000000;
    background-color: #ffffff;
    padding: 14px 40px;
    margin-top: 8px;
    transition: background-color 0.3s;
}

.nav-mobile-menu .nav-mobile-discover:hover {
    background-color: rgba(5, 99, 161, 0.8);
    color: #ffffff;
}

/* ── Footer ── */
.site-footer {
    position: relative;
    z-index: 400;
    margin-top: 40px;
    background: rgb(1, 10, 40);
}

.site-footer::before {
    display: none;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 64px 48px;
}

.footer-columns {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col-title {
    font-family: 'custom_95725', sans-serif;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 6px;
}

.footer-col a {
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.35);
    text-decoration: none;
    letter-spacing: 0.2px;
    transition: color 0.2s;
}

.footer-col a:hover { color: rgba(255, 255, 255, 0.8); }

.footer-col-brand {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    opacity: 0.5;
    transition: opacity 0.3s;
}

.footer-logo:hover { opacity: 0.8; }

.footer-icon { width: 20px; height: auto; }
.footer-wordmark { height: 14px; width: auto; }

.footer-tagline {
    font-family: 'custom_95725', sans-serif;
    font-size: 14px;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.25);
    margin: 0;
}

.footer-email-link {
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.35);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-email-link:hover { color: rgba(5, 99, 161, 0.8); }

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-copy {
    font-family: 'Open Sans', sans-serif;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.18);
    letter-spacing: 0.3px;
}

/* ── Legal Page Styles ── */
.legal-hero {
    padding: 140px 40px 60px;
    text-align: center;
}

.legal-hero h1 {
    font-family: 'custom_95725', sans-serif;
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #ffffff;
    line-height: 1.2;
}

.legal-content {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 40px 80px;
}

.legal-content h2 {
    font-family: 'Open Sans', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin: 32px 0 12px;
    line-height: 1.4;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content p {
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    color: rgba(193, 193, 193, 0.9);
    line-height: 25px;
    margin-bottom: 12px;
}

.legal-content ul {
    list-style: none;
    padding: 0;
    margin-bottom: 12px;
}

.legal-content ul li {
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    color: rgba(193, 193, 193, 0.9);
    line-height: 25px;
    padding-left: 18px;
    position: relative;
    margin-bottom: 6px;
}

.legal-content ul li::before {
    content: "\2022";
    position: absolute;
    left: 0;
    color: rgba(5, 99, 161, 0.5);
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .nav-links, .nav-discover { display: none; }

    .nav-burger { display: block; }

    .nav-slogan {
        display: block;
        font-family: 'Open Sans', sans-serif;
        font-size: 9px;
        color: rgba(5, 99, 161, 0.6);
        letter-spacing: 1.5px;
        text-transform: uppercase;
        margin-top: 2px;
    }

    .footer-inner { padding: 24px 20px 32px; }
    .footer-columns { grid-template-columns: 1fr 1fr; gap: 24px; }
    .footer-col-brand { grid-column: 1 / -1; }

    .legal-hero { padding: 100px 20px 40px; }
    .legal-content { padding: 0 20px 60px; }
}
