/*
 * Forma look for the legal pages (terms.html, privacy.html). Builds on
 * forma-theme.css and forma-app.css (header, brand, left nav).
 */

/* Left nav: the two documents, with the open one's sections underneath */
.fm a.fm-nav-item { color: var(--fm-text-2); text-decoration: none; }
.fm a.fm-nav-item:hover { color: var(--fm-text); }
.fm a.fm-nav-item.is-active { color: var(--fm-blue); }
.fm-doc-toc { list-style: none; margin: 0 0 8px; padding: 4px 0; background: #fff; }
.fm .fm-doc-toc a {
    display: flex; align-items: center; min-height: 32px; padding: 5px 16px 5px 48px;
    font-size: 13px; line-height: 18px; color: var(--fm-text-2); text-decoration: none;
}
.fm .fm-doc-toc a:hover { color: var(--fm-text); }
.fm .fm-doc-toc a.is-current { color: var(--fm-text); font-weight: 700; }
.fm-nav-bottom { padding: 12px 16px; font-size: 13px; line-height: 18px; color: var(--fm-text-2); }

/* Document column */
.fm-doc { width: 100%; max-width: 688px; padding: 32px 48px 72px; }
.fm-doc h1 { margin: 0; font-size: 30px; font-weight: 400; line-height: 42px; }
.fm-doc-updated { margin: 4px 0 0; color: var(--fm-text-2); }
.fm-doc-intro { margin: 24px 0 0; font-size: 16px; line-height: 26px; }
.fm-doc section { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--fm-divider); scroll-margin-top: 16px; }
.fm-doc h2 { margin: 0 0 12px; font-size: 20px; font-weight: 400; line-height: 28px; }
.fm-doc p, .fm-doc li { margin: 0 0 12px; line-height: 23px; }
.fm-doc ul { margin: 0 0 12px; padding-left: 20px; }
.fm-doc li::marker { color: var(--fm-text-3); }
.fm-doc strong { font-weight: 700; }
.fm-doc-other { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--fm-divider); color: var(--fm-text-2); }

@media (max-width: 900px) {
    .fm-doc { padding: 24px 16px 56px; }
    .fm-doc h1 { font-size: 26px; line-height: 34px; }
}
