/* =========================================================
   FAYADH WEBSITE — LEGAL PAGES (privacy.html, terms.html)
   Title band (.title-band, base.css) + one readable column
   of long-form text.
   Both languages live in the HTML (data-lang-only, see
   base.css); only the current one is shown.
========================================================= */


/* =========================================================
   1. TITLE BAND
   The band itself is the shared .title-band (base.css);
   here only the "Last updated" line.
========================================================= */

.legal-updated {
    margin-top: 12px;

    color: var(--text);

    font-size: 14px;
}


/* =========================================================
   2. TEXT COLUMN
   ~70 characters per line for comfortable reading.
========================================================= */

.legal-body {
    padding-block: 56px 88px;

    background: var(--white);
}

.legal-content {
    max-width: 760px;

    margin-inline: auto;

    color: var(--text-dark);

    font-size: 16px;
    line-height: 1.8;
}

.legal-lead {
    padding-bottom: 24px;

    border-bottom: 1px solid var(--border);

    color: var(--heading);

    font-size: 18px;
}

.legal-content h2 {
    margin-top: 40px;

    color: var(--heading);

    font-size: 22px;
    font-weight: 800;
    line-height: 1.35;
}

.legal-content h3 {
    margin-top: 24px;

    color: var(--heading);

    font-size: 17px;
    font-weight: 700;
}

.legal-content p,
.legal-content ul {
    margin-top: 12px;
}

.legal-content ul {
    padding-inline-start: 22px;
}

.legal-content li + li {
    margin-top: 8px;
}

.legal-content li::marker {
    color: var(--primary);
}

.legal-content strong {
    color: var(--heading);
}

.legal-content a {
    color: var(--primary);

    font-weight: 600;

    text-decoration: underline;
    text-underline-offset: 3px;

    overflow-wrap: anywhere;
}


/* Contact list: no bullets; a row hides if its detail is empty. */

.legal-content .legal-contact {
    padding-inline-start: 0;

    list-style: none;
}

.legal-contact li:has(> [hidden]) {
    display: none;
}


/* =========================================================
   3. RESPONSIVE
========================================================= */

@media (max-width: 600px) {

    .legal-body {
        padding-block: 40px 64px;
    }

    .legal-content {
        font-size: 15px;
    }

    .legal-lead {
        font-size: 16px;
    }

    .legal-content h2 {
        margin-top: 32px;

        font-size: 19px;
    }

}
