/* =========================================================
   CAREERGAP LEGAL PAGES (privacy.html, terms.html)
   Plain reading pages built on the main stylesheet's theme
   variables, so they follow the same light/dark theme.
========================================================= */

.legal-page {

    min-height: 100vh;

    display: flex;

    flex-direction: column;

}

.legal-topbar {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 16px;

    padding: 22px max(5%, calc((100% - 860px) / 2));

}

.legal-brand {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    font-size: 1.1rem;

    font-weight: 800;

    letter-spacing: -0.01em;

    color: var(--olive-dark);

    text-decoration: none;

}

.legal-brand img {

    width: 26px;

    height: 26px;

}

.legal-topbar nav {

    display: flex;

    gap: 18px;

    font-size: 0.85rem;

}

.legal-topbar nav a {

    color: var(--olive-soft);

    text-decoration: none;

    font-weight: 600;

}

.legal-topbar nav a:hover {

    color: var(--olive-dark);

    text-decoration: underline;

}

.legal-content {

    flex: 1;

    width: 100%;

    max-width: 860px;

    margin: 0 auto;

    padding: 24px max(5%, 20px) 64px;

}

.legal-content h1 {

    font-size: 2rem;

    letter-spacing: -0.02em;

    margin: 18px 0 4px;

}

.legal-date {

    font-size: 0.82rem;

    color: var(--olive-soft);

    margin: 0 0 28px;

}

.legal-content h2 {

    font-size: 1.12rem;

    margin: 30px 0 8px;

}

.legal-content p {

    margin: 0 0 12px;

    font-size: 0.95rem;

}

.legal-content ul {

    margin: 0 0 12px;

    padding-left: 22px;

    font-size: 0.95rem;

}

.legal-content li {

    margin-bottom: 6px;

}

.legal-content a {

    color: var(--olive);

    font-weight: 600;

}

@media (max-width: 640px) {

    .legal-content h1 {

        font-size: 1.6rem;

    }

}
