/* Legal Pages Styles */

/* Import CSS variables from main stylesheet */
@import url('/css/zuco.css');

.legal-page {
    min-height: 100vh;
    padding-top: 120px; /* Space for fixed header */
    padding-bottom: 80px;
}

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

.legal-header {
    text-align: center;
    margin-bottom: 48px;
}

.legal-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
    line-height: 1.2;
}

.legal-meta {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.legal-content {
    background: var(--surface);
    padding: 48px;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border);
}

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

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

.legal-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 16px;
    line-height: 1.3;
}

.legal-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text);
    margin: 24px 0 12px;
    line-height: 1.4;
}

.legal-content p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 16px;
}

.legal-content ul,
.legal-content ol {
    margin-bottom: 20px;
    padding-left: 28px;
}

.legal-content ul {
    list-style: disc;
}

.legal-content ol {
    list-style: decimal;
}

.legal-content li {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 8px;
}

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

.legal-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 0.95rem;
    overflow-x: auto;
    display: block;
}

.legal-content th,
.legal-content td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.legal-content th {
    background: var(--bg-accent);
    font-weight: 600;
    color: var(--text);
}

.legal-content td {
    color: var(--text-muted);
}

.legal-content a {
    color: var(--primary);
    text-decoration: underline;
    transition: color 0.2s;
}

.legal-content a:hover {
    color: var(--primary-hover);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .legal-page {
        padding-top: 100px;
        padding-bottom: 60px;
    }

    .legal-header h1 {
        font-size: 2rem;
    }

    .legal-content {
        padding: 32px 24px;
        border-radius: 12px;
    }

    .legal-content h2 {
        font-size: 1.25rem;
    }

    .legal-content h3 {
        font-size: 1.05rem;
    }

    .legal-content p,
    .legal-content li {
        font-size: 0.95rem;
    }

    .legal-content table {
        font-size: 0.85rem;
    }

    .legal-content th,
    .legal-content td {
        padding: 10px 12px;
    }
}

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

    .legal-content {
        padding: 24px 16px;
    }

    .legal-content table {
        font-size: 0.8rem;
    }

    .legal-content th,
    .legal-content td {
        padding: 8px 10px;
    }
}
