/* Shared layout for legal pages: privacy.html, cookie-policy.html, terms.html */

.legal-hero {
    background: linear-gradient(135deg, #000000 0%, #0a0a0a 100%);
    color: white;
    padding: 160px 48px 60px;
    text-align: center;
}

.legal-hero h1 {
    color: white;
    font-size: 48px;
    margin-bottom: 12px;
}

.legal-hero .legal-updated {
    color: #b0d9e6;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.legal-body {
    padding: 80px 48px 120px;
}

.legal-content {
    max-width: 760px;
    margin: 0 auto;
}

.legal-content .legal-notice {
    background: var(--neutral-light);
    border-left: 4px solid #00b6de;
    border-radius: 8px;
    padding: 20px 24px;
    margin-bottom: 48px;
    font-size: 15px;
    line-height: 1.7;
    color: #4a5268;
}

.legal-content h2 {
    font-size: 28px;
    margin-top: 48px;
    margin-bottom: 16px;
}

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

.legal-content h3 {
    font-size: 20px;
    margin-top: 32px;
    margin-bottom: 12px;
}

.legal-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #4a5268;
    margin-bottom: 18px;
}

.legal-content ul,
.legal-content ol {
    margin: 0 0 18px;
    padding-left: 24px;
}

.legal-content li {
    font-size: 16px;
    line-height: 1.8;
    color: #4a5268;
    margin-bottom: 8px;
}

.legal-content a {
    color: #00b6de;
    text-decoration: underline;
}

.legal-table-scroll {
    overflow-x: auto;
    margin: 24px 0 32px;
    -webkit-overflow-scrolling: touch;
}

.legal-content table {
    width: 100%;
    min-width: 480px;
    border-collapse: collapse;
    font-size: 15px;
}

.legal-content th,
.legal-content td {
    text-align: left;
    padding: 12px 16px;
    border-bottom: 1px solid #e2e6ee;
    vertical-align: top;
}

.legal-content th {
    color: var(--text-dark);
    font-weight: 700;
    background: var(--neutral-light);
}

.legal-content td {
    color: #4a5268;
}

.legal-manage-cookies-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--text-dark);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    margin: 8px 0 24px;
}

.legal-manage-cookies-btn:hover {
    opacity: 0.85;
}

@media (max-width: 768px) {
    .legal-hero {
        padding: 120px 24px 40px;
    }

    .legal-hero h1 {
        font-size: 34px;
    }

    .legal-body {
        padding: 56px 24px 80px;
    }

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