/**
 * The approved legal documents' typography (gh#836, Phase 2). The page sits
 * on the shared chrome, so the band, body background and heading font come
 * from core/css/site_chrome.css and page_chrome.css; this sheet holds only
 * the layout of the document column itself. Same shape as
 * help/css/help.css: a page sheet loaded after the shared ones.
 *
 * Deliberately absent: an `h1` rule (the page template owns the only <h1>,
 * in the band; DemoteH1Extension turns any <h1> of a document into an <h2>)
 * and a link colour (the document's links take the shared brand link, see
 * core/css/brand_link.css, which lists `.legal-doc a`).
 */
.legal-doc {
    max-width: 46rem;
    margin: 0 auto;
    padding: 3rem 1.25rem 5rem;
}

.legal-doc h2 {
    font-weight: 700;
    font-size: 1.4rem;
    margin: 2.5rem 0 0.85rem;
}

.legal-doc h3 {
    font-weight: 600;
    font-size: 1.1rem;
    margin: 1.75rem 0 0.6rem;
}

.legal-doc p,
.legal-doc li {
    line-height: 1.7;
}

.legal-doc ul {
    padding-left: 1.25rem;
}

.legal-doc li {
    margin-bottom: 0.5rem;
}

/* page_chrome.css's bare `code` rule supplies the colour (#C0392B, 4.90:1 on
   this chip) and the monospace face; the legal pages never had a border. */
.legal-doc code {
    background: #f2f3f5;
    padding: 0.1rem 0.35rem;
    border-radius: 0.25rem;
    font-size: 0.9em;
    border: 0;
}
