/* Seatly Legal Hub v2 - Documentation Design System */

:root {
    --doc-bg: #f8fafc;
    --doc-card: #ffffff;
    --doc-primary: #2563eb;
    --doc-border: #e2e8f0;
    --doc-text: #0f172a;
    --doc-muted: #64748b;
}

/* Base resets & typography */
.legal-content-prose {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    color: var(--doc-text);
    line-height: 1.6;
    font-size: 1rem;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.legal-content-prose h2 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 700; /* Reduced from 800 */
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--doc-text);
}

.legal-content-prose h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.25rem;
    font-weight: 600; /* Reduced from 700 */
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    color: var(--doc-text);
}

.legal-content-prose p {
    margin-bottom: 1.25rem;
    opacity: 0.9;
}

.legal-content-prose ul, .legal-content-prose ol {
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
}

.legal-content-prose li {
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.legal-content-prose a {
    color: var(--doc-primary);
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: opacity 0.2s ease;
}

.legal-content-prose a:hover {
    opacity: 0.7;
}

.legal-content-prose strong {
    font-weight: 700;
    color: var(--doc-text);
    text-shadow: none !important;
}

/* Sidebar & Navigation */
.legal-sidebar-link {
    border-right: 2px solid transparent;
}

.legal-sidebar-link:hover {
    color: var(--doc-primary);
}

/* Utility for card style */
.legal-doc-card {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
}

.legal-doc-card:hover {
    transform: translateY(-4px);
}

/* Section styling */
section {
    position: relative;
    padding-bottom: 1rem;
}

/* Responsive fixes */
@media (max-width: 1024px) {
    .legal-content-prose {
        font-size: 0.9375rem;
    }
}
