/* app/assets/stylesheets/pages/terms_conditions.css */

.prose {
    max-width: 65ch;
    margin: 0 auto;
    color: #374151;
    font-size: 1.125rem;
    line-height: 1.75;
}

.prose h1 {
    color: #326eb4;
    font-size: 2.25rem;
    line-height: 2.5rem;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 2rem;
    text-align: center;
}

.prose h2 {
    color: #2c5282;
    font-size: 1.5rem;
    line-height: 2rem;
    font-weight: 600;
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
    border-bottom: 2px solid #e5e7eb;
    padding-bottom: 0.5rem;
}

.prose p {
    margin-bottom: 1.25rem;
    color: #4b5563;
}

.prose ul {
    margin-top: 1.25rem;
    margin-bottom: 1.25rem;
    padding-left: 1.75rem;
    list-style-type: disc;
}

.prose li {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    padding-left: 0.375rem;
    color: #4b5563;
}

.prose a {
    color: #326eb4;
    text-decoration: underline;
    transition: color 0.2s ease-in-out;
}

.prose a:hover {
    color: #2c5282;
}

/* Responsive Design */
@media (max-width: 768px) {
    .prose {
        padding: 0 1rem;
        font-size: 1rem;
    }

    .prose h1 {
        font-size: 1.875rem;
        line-height: 2.25rem;
    }

    .prose h2 {
        font-size: 1.25rem;
        line-height: 1.75rem;
    }
}

/* RTL Support */
[dir="rtl"] .prose {
    text-align: right;
}

[dir="rtl"] .prose ul {
    padding-right: 1.75rem;
    padding-left: 0;
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .prose {
        color: #e5e7eb;
    }

    .prose h1 {
        color: #60a5fa;
    }

    .prose h2 {
        color: #93c5fd;
        border-bottom-color: #4b5563;
    }

    .prose p, .prose li {
        color: #d1d5db;
    }
}
