/* ============================================
   LEGAL PAGES - CALM-INSPIRED DESIGN
   Clean, readable, maximum professionalism
   ============================================ */

/* Navigation Override for Legal Pages */
.nav-legal {
    background: #ffffff !important;
    border-bottom: 1px solid #e5e7eb !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
}

.nav-legal .nav-links a {
    color: #666666 !important;
    font-size: 15px;
    font-weight: 400;
}

.nav-legal .nav-links a:hover {
    color: #000000 !important;
}

.nav-legal .btn-back-home {
    background: transparent !important;
    color: #666666 !important;
    border: none !important;
    padding: 0 !important;
    font-size: 15px;
    font-weight: 400;
}

.nav-legal .btn-back-home:hover {
    background: transparent !important;
    color: #000000 !important;
}

.logo-img-legal {
    height: 50px;
    width: auto;
}

.legal-page {
    min-height: 100vh;
    background: #ffffff;
    padding: 140px 0 80px;
}

.legal-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 32px;
}

.legal-header {
    padding: 60px 0 48px;
    border-bottom: 1px solid #e5e7eb;
}

.legal-header h1 {
    font-size: 40px;
    font-weight: 400;
    color: #000000;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.legal-version,
.legal-updated {
    font-size: 13px;
    color: #666666;
    font-weight: 400;
    margin: 2px 0;
    line-height: 1.5;
}

.legal-content {
    padding: 56px 0 80px;
}

.legal-section {
    margin-bottom: 64px;
}

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

.legal-section h2 {
    font-size: 28px;
    font-weight: 600;
    color: #000000;
    margin-bottom: 20px;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.legal-section h3 {
    font-size: 20px;
    font-weight: 600;
    color: #000000;
    margin: 40px 0 16px;
    line-height: 1.4;
    letter-spacing: -0.01em;
}

.legal-section p {
    font-size: 16px;
    line-height: 1.7;
    color: #333333;
    margin-bottom: 24px;
    font-weight: 400;
}

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

.legal-section strong {
    font-weight: 600;
    color: #000000;
}

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

.legal-section ul li {
    font-size: 16px;
    line-height: 1.7;
    color: #333333;
    margin-bottom: 16px;
    padding-left: 24px;
    position: relative;
}

.legal-section ul li::before {
    content: "•";
    position: absolute;
    left: 8px;
    color: #000000;
    font-weight: 400;
    font-size: 16px;
}

.legal-section a {
    color: #000000;
    text-decoration: underline;
    text-decoration-color: rgba(0, 0, 0, 0.4);
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
    font-weight: 400;
    transition: all 0.2s ease;
}

.legal-section a:hover {
    text-decoration-color: rgba(0, 0, 0, 0.8);
}

/* Highlight Sections */
.legal-section.highlight {
    background: #f7f7f7;
    padding: 32px;
    border-radius: 0;
    border-left: 3px solid #000000;
    margin: 32px 0;
}

.legal-section.highlight h2 {
    color: #000000;
}

/* Footer Section */
.legal-footer {
    margin-top: 64px;
    padding-top: 48px;
    border-top: 1px solid #e5e7eb;
}

.legal-footer p {
    font-size: 14px;
    line-height: 1.6;
    color: #666666;
}

/* Responsive Design */
@media (max-width: 768px) {
    .legal-page {
        padding: 100px 0 60px;
    }

    .legal-container {
        padding: 0 24px;
    }

    .legal-header {
        padding: 48px 0 40px;
    }

    .legal-header h1 {
        font-size: 32px;
    }

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

    .legal-section {
        margin-bottom: 56px;
    }

    .legal-section h2 {
        font-size: 24px;
    }

    .legal-section h3 {
        font-size: 18px;
    }

    .legal-section p,
    .legal-section ul li {
        font-size: 15px;
    }

    .legal-section.highlight {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .legal-container {
        padding: 0 20px;
    }

    .legal-header {
        padding: 40px 0 32px;
    }

    .legal-header h1 {
        font-size: 28px;
    }

    .legal-content {
        padding: 40px 0 48px;
    }

    .legal-section h2 {
        font-size: 22px;
    }

    .legal-section h3 {
        font-size: 17px;
    }
}

/* Print Styles */
@media print {
    .legal-page {
        background: white;
        padding: 0;
    }

    .legal-container {
        box-shadow: none;
        max-width: 100%;
    }

    nav,
    footer {
        display: none;
    }

    .legal-section {
        page-break-inside: avoid;
    }

    .legal-section a {
        color: #111827;
        text-decoration: underline;
    }

    .legal-section.highlight {
        background: white;
        border: 1px solid #e5e7eb;
    }
}

