/* ==========================================================================
   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, #2A9EA6), var(--lp-accent, #7A82AB));
    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, #2A9EA6);
}

.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, #2A9EA6);
    font-weight: 700;
}

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

.lp-legal__content a {
    color: var(--lp-primary, #2A9EA6);
    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, #26808C);
    border-bottom-color: var(--lp-primary, #2A9EA6);
}

.lp-legal__highlight {
    background: linear-gradient(135deg, rgba(42,158,166,0.08), rgba(122,130,171,0.08));
    border-left: 4px solid var(--lp-primary, #2A9EA6);
    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, #45B5BA);
    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, #2A9EA6);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(42,158,166,0.3);
}

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

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

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

/* 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;
    }
}

/* ─────────────────────────── Contact page ─────────────────────────── */
.lp-contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 3rem;
}

.lp-contact-card {
    background: #fff;
    border: 1px solid var(--lp-border, #e6e8ef);
    border-radius: var(--lp-radius-lg, 16px);
    padding: 28px 24px;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.lp-contact-card:hover {
    transform: translateY(-2px);
    border-color: var(--lp-primary, #2A9EA6);
    box-shadow: 0 12px 28px rgba(20, 30, 60, 0.06);
}

.lp-contact-card__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(42, 158, 166, 0.10);
    color: var(--lp-primary, #2A9EA6);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 16px;
}

.lp-contact-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--lp-text, #0f172a);
    margin: 0 0 6px 0;
}

.lp-contact-card p {
    font-size: 0.95rem;
    color: var(--lp-text-muted, #54607a);
    line-height: 1.55;
    margin: 0 0 14px 0;
}

.lp-contact-card a {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--lp-primary, #2A9EA6);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.lp-contact-card a:hover {
    text-decoration: underline;
}

@media (max-width: 720px) {
    .lp-contact-grid {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-top: 2rem;
    }

    .lp-contact-card {
        padding: 22px 18px;
    }
}
