/* FireBix Premium Sky-Light Design System */
:root {
    --bg-base: linear-gradient(135deg, #f0f7ff 0%, #e0f2fe 100%);
    --bg-surface: #ffffff;
    --border-color: #bae6fd; /* Clean light sky-blue border */
    --text-main: #0f172a;    /* Crisp dark obsidian for maximum readability */
    --text-muted: #0284c7;   /* Deep sky blue for meta info */
    --accent-primary: #0284c7;
    --accent-light: #e0f2fe;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: var(--bg-base);
    background-attachment: fixed;
    color: var(--text-main);
    line-height: 1.8; /* Slightly increased line-height for ultra-clean font tracking */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.legal-page-wrapper {
    width: min(920px, 94%);
    margin: 60px auto;
}

.legal-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 28px;
    padding: 55px;
    /* Soft premium shadow with a hint of blue tint */
    box-shadow: 0 10px 30px -5px rgba(14, 165, 233, 0.08), 0 20px 40px -10px rgba(14, 165, 233, 0.05);
}

/* Header Component Configuration */
.legal-header {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 30px;
}

.brand-icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background-color: var(--accent-light);
    border: 1px solid rgba(14, 165, 233, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    flex-shrink: 0;
}

.legal-header h1 {
    font-size: 34px;
    font-weight: 800;
    letter-spacing: -0.8px;
    color: var(--text-main);
    line-height: 1.2;
    margin-bottom: 6px;
}

.legal-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
}

.meta-separator {
    color: #7dd3fc;
}

.legal-divider {
    border: 0;
    height: 1px;
    background: linear-gradient(to right, var(--border-color), rgba(186, 230, 253, 0));
    margin-bottom: 35px;
}

/* Legal Content Body Rich Typography */
.legal-content {
    font-size: 16.5px;
    color: #1e293b; /* Premium slate color for body text reading */
}

.legal-content h2 {
    font-size: 22px;
    font-weight: 700;
    margin: 40px 0 18px;
    color: var(--text-main);
    letter-spacing: -0.5px;
    border-bottom: 2px solid var(--accent-light);
    padding-bottom: 10px;
}

.legal-content h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 28px 0 14px;
    color: var(--text-main);
}

.legal-content p {
    margin-bottom: 20px;
}

.legal-content ul, 
.legal-content ol {
    padding-left: 24px;
    margin-bottom: 22px;
}

.legal-content li {
    margin-bottom: 10px;
}

.legal-content strong {
    color: var(--text-main);
    font-weight: 700;
}

.legal-content a {
    color: #0369a1;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px dashed #0369a1;
}

.legal-content a:hover {
    color: #0c4a6e;
    border-bottom-style: solid;
}

/* Mobile Adaptive Optimization */
@media (max-width: 768px) {
    .legal-page-wrapper {
        margin: 24px auto;
    }
    
    .legal-card {
        padding: 32px 24px;
        border-radius: 20px;
    }

    .legal-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .legal-header h1 {
        font-size: 28px;
    }

    .legal-meta {
        flex-wrap: wrap;
        gap: 4px 8px;
    }
}