/* --- CONTENT PAGE STYLES (Terms, Privacy, About, etc.) --- */

.document-paper {
    background: #ffffff;
    padding: 60px;
    max-width: 900px;
    margin: 40px auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    /* Improved shadow for depth */
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 16px;
    /* Increased radius */
    position: relative;
    overflow: hidden;
}

/* Decorative top accent usually matching theme */
.document-paper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--brand-blue), var(--accent));
}

.doc-body {
    font-size: 16px;
    /* Slightly larger readable text */
    line-height: 1.8;
    color: #334155;
    /* Slate-700 for better readability */
    font-family: 'Inter', sans-serif;
}

.doc-body h1 {
    font-size: 32px;
    font-weight: 800;
    color: var(--brand-blue);
    margin-bottom: 30px;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 15px;
}

.doc-body h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--brand-blue);
    margin-top: 40px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.doc-body h2::before {
    content: '';
    display: block;
    width: 6px;
    height: 24px;
    background: var(--brand-orange);
    border-radius: 4px;
}

.doc-body h3 {
    font-size: 18px;
    font-weight: 700;
    color: #475569;
    margin-top: 30px;
    margin-bottom: 10px;
}

.doc-body p {
    margin-bottom: 20px;
    text-align: justify;
}

.doc-body ul,
.doc-body ol {
    margin-bottom: 25px;
    padding-left: 25px;
    background: #f8fafc;
    /* Subtle varied background for lists */
    padding: 25px 25px 25px 45px;
    border-radius: 8px;
    border: 1px solid #f1f5f9;
}

.doc-body li {
    margin-bottom: 10px;
    position: relative;
}

.doc-body ul li::marker {
    color: var(--brand-orange);
    /* Colored bullets */
    font-size: 1.2em;
}

.doc-body strong {
    color: #0f172a;
    font-weight: 700;
}

.doc-body blockquote {
    border-left: 4px solid var(--accent);
    background: #fffbeb;
    /* Light yellow background similar to accent */
    padding: 20px;
    margin: 30px 0;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #b45309;
}

/* Links inside content */
.doc-body a {
    color: var(--brand-blue);
    text-decoration: underline;
    font-weight: 600;
    text-underline-offset: 3px;
    transition: color 0.2s;
}

.doc-body a:hover {
    color: var(--brand-orange);
}

/* Responsive Handling */
@media (max-width: 768px) {
    .document-paper {
        padding: 30px 20px;
        margin: 20px 15px;
        border-radius: 12px;
    }

    .doc-body {
        font-size: 15px;
    }

    .doc-body h1 {
        font-size: 26px;
    }
}