/* Editorial design for Legal Documents */
.legal-page-container {
    padding: 60px 20px 100px;
    background-color: #ffffff;
}

.legal-document {
    max-width: 680px; /* Optimal reading measure for long-form text */
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #2c2c2c; /* Softer than pure black for less eye strain */
    line-height: 1.7;
    font-size: 16px;
}

.legal-header {
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 1px solid #eaeaea;
}

.legal-header h1 {
    font-size: 36px;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: #111111;
    margin: 0 0 12px 0;
    line-height: 1.2;
}

.legal-meta {
    font-size: 14px;
    color: #767676;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.legal-lead {
    font-size: 19px;
    line-height: 1.6;
    color: #111111;
    margin-bottom: 48px;
}

.legal-lead p {
    margin: 0 0 16px 0;
}

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

.legal-body h2 {
    font-size: 20px;
    font-weight: 600;
    color: #111111;
    margin: 56px 0 20px 0;
    letter-spacing: -0.01em;
}

.legal-body h3 {
    font-size: 16px;
    font-weight: 600;
    color: #111111;
    margin: 32px 0 12px 0;
}

.legal-body p {
    margin: 0 0 20px 0;
}

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

.legal-body li {
    margin-bottom: 8px;
}

/* Elegant, understated links */
.legal-body a, .legal-lead a {
    color: #111111;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    text-decoration-color: #cccccc;
    transition: text-decoration-color 0.2s ease, color 0.2s ease;
}

.legal-body a:hover, .legal-lead a:hover {
    text-decoration-color: #111111;
}

.legal-body strong {
    font-weight: 600;
    color: #111111;
}

@media (max-width: 768px) {
    .legal-page-container {
        padding: 40px 16px 60px;
    }
    
    .legal-header h1 {
        font-size: 28px;
    }
    
    .legal-lead {
        font-size: 17px;
    }
}
