/* ==========================================================================
   Legal Pages CSS - Following Landing Page Design
   ========================================================================== */

.lp-legal {
    padding: 120px 0 80px;
    background: var(--lp-bg-alt, #F8FAFC);
    min-height: 100vh;
}

.lp-legal__header {
    text-align: center;
    margin-bottom: 60px;
    padding: 40px 0;
    background: linear-gradient(135deg, var(--lp-primary, #6366F1), var(--lp-accent, #7C3AED));
    color: white;
    border-radius: var(--lp-radius-lg, 20px);
    box-shadow: var(--lp-shadow-lg, 0 12px 40px rgba(0,0,0,0.12));
}

.lp-legal__header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.lp-legal__updated {
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 0;
}

.lp-legal__content {
    background: white;
    padding: 60px;
    border-radius: var(--lp-radius-lg, 20px);
    box-shadow: var(--lp-shadow, 0 4px 16px rgba(0,0,0,0.08));
    margin-bottom: 40px;
}

.lp-legal__content section {
    margin-bottom: 48px;
}

.lp-legal__content section:last-child {
    margin-bottom: 0;
}

.lp-legal__content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--lp-text, #0F172A);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 3px solid var(--lp-primary, #6366F1);
}

.lp-legal__content h3 {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--lp-text, #0F172A);
    margin-top: 32px;
    margin-bottom: 16px;
}

.lp-legal__content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--lp-text, #0F172A);
    margin-bottom: 16px;
}

.lp-legal__content ul,
.lp-legal__content ol {
    margin: 20px 0;
    padding-left: 32px;
}

.lp-legal__content li {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--lp-text, #0F172A);
    margin-bottom: 12px;
    position: relative;
}

.lp-legal__content ul li::marker {
    color: var(--lp-primary, #6366F1);
    font-weight: 700;
}

.lp-legal__content ol li::marker {
    color: var(--lp-primary, #6366F1);
    font-weight: 700;
}

.lp-legal__content a {
    color: var(--lp-primary, #6366F1);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
    border-bottom: 2px solid transparent;
}

.lp-legal__content a:hover {
    color: var(--lp-primary-dark, #4F46E5);
    border-bottom-color: var(--lp-primary, #6366F1);
}

.lp-legal__highlight {
    background: linear-gradient(135deg, rgba(99,102,241,0.08), rgba(124,58,237,0.08));
    border-left: 4px solid var(--lp-primary, #6366F1);
    padding: 24px;
    border-radius: var(--lp-radius, 12px);
    margin: 32px 0;
}

.lp-legal__highlight p {
    margin-bottom: 0;
    font-weight: 500;
}

.lp-legal__email {
    background: var(--lp-primary-light, #818CF8);
    color: white;
    padding: 4px 12px;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.2s;
    border-bottom: none !important;
}

.lp-legal__email:hover {
    background: var(--lp-primary, #6366F1);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(99,102,241,0.3);
}

.lp-legal__footer {
    text-align: center;
    padding-top: 20px;
}

/* Strong emphasis styling */
.lp-legal__content strong {
    color: var(--lp-primary, #6366F1);
    font-weight: 700;
}

/* Code/technical terms */
.lp-legal__content code {
    background: rgba(99,102,241,0.1);
    padding: 2px 8px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.95em;
    color: var(--lp-primary-dark, #4F46E5);
}

/* Responsive Design */
@media (max-width: 768px) {
    .lp-legal {
        padding: 100px 0 60px;
    }

    .lp-legal__header h1 {
        font-size: 2rem;
    }

    .lp-legal__content {
        padding: 32px 24px;
    }

    .lp-legal__content h2 {
        font-size: 1.5rem;
    }

    .lp-legal__content h3 {
        font-size: 1.2rem;
    }

    .lp-legal__content p,
    .lp-legal__content li {
        font-size: 1rem;
    }

    .lp-legal__content ul,
    .lp-legal__content ol {
        padding-left: 24px;
    }
}

@media (max-width: 480px) {
    .lp-legal__header {
        padding: 24px 16px;
    }

    .lp-legal__header h1 {
        font-size: 1.75rem;
    }

    .lp-legal__content {
        padding: 24px 16px;
    }

    .lp-legal__content h2 {
        font-size: 1.35rem;
    }

    .lp-legal__content ul,
    .lp-legal__content ol {
        padding-left: 20px;
    }
}
