/* ============================================
   LEGAL PAGES — Privacy Policy & Terms
   ============================================ */

/* --- Hero Section --- */
.legal-hero {
    padding: 160px 0 60px;
    text-align: center;
    position: relative;
}

.legal-badge {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
    background: var(--accent-subtle);
    border: 1px solid rgba(212, 168, 67, 0.2);
    padding: 8px 20px;
    border-radius: 100px;
    margin-bottom: 24px;
}

.legal-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.2;
}

.legal-subtitle {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-family: var(--font-mono);
}

/* --- Content Section --- */
.legal-content {
    padding: 40px 0 100px;
}

.legal-body {
    max-width: 800px;
    margin: 0 auto;
}

.legal-section {
    margin-bottom: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--border);
}

.legal-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.legal-section h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    position: relative;
    padding-left: 20px;
}

.legal-section h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    width: 4px;
    height: 24px;
    background: var(--accent);
    border-radius: 2px;
}

.legal-section h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 28px 0 14px;
}

.legal-section p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.legal-section p:last-child {
    margin-bottom: 0;
}

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

.legal-section ul li {
    position: relative;
    padding-left: 24px;
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.legal-section ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 11px;
    width: 8px;
    height: 8px;
    border: 1.5px solid var(--accent);
    border-radius: 2px;
    transform: rotate(45deg);
}

.legal-section ul li strong {
    color: var(--text-primary);
    font-weight: 600;
}

.legal-section a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: var(--transition);
}

.legal-section a:hover {
    color: var(--accent-dark);
}

/* --- Contact Box --- */
.legal-contact {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px 28px;
    margin-top: 16px;
}

.legal-contact p {
    margin-bottom: 6px;
    color: var(--text-secondary);
}

.legal-contact p:last-child {
    margin-bottom: 0;
}

.legal-contact strong {
    color: var(--text-primary);
}

.legal-contact a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* --- Navbar always visible on legal pages --- */
.navbar--visible {
    transform: translateY(0) !important;
    opacity: 1 !important;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .legal-hero {
        padding: 130px 0 40px;
    }

    .legal-content {
        padding: 30px 0 60px;
    }

    .legal-section {
        margin-bottom: 36px;
        padding-bottom: 36px;
    }

    .legal-section h2 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .legal-hero {
        padding: 110px 0 30px;
    }

    .legal-title {
        font-size: 1.8rem;
    }

    .legal-body {
        padding: 0 4px;
    }
}
