/* Legal pages (Terms, Privacy): a paper document on the page.
   Layered on site.css, whose tokens and fonts it uses; it adds no colours of its own.
   The app shows the same pages in flutter_html, which does not load this file,
   so nothing here may be needed to read them. */

.legal { padding: 32px var(--gutter) 16px; }

.doc {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 28px 22px 32px;
  background: var(--paper-light);
  border: 1px solid var(--paper-edge);
  border-radius: 4px;
  box-shadow: 0 6px 18px var(--soft-shadow);
}
@media (min-width: 40rem) { .doc { padding: 40px 48px 48px; } }

/* Headings in the typewriter role with an ink rule, as in the app's document screen. */
.doc h1, .doc h2 {
  font-family: var(--type);
  font-weight: 700;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--ink);
}
.doc h1 { font-size: 1.5rem; margin: 0 0 12px; }
.doc h2 { font-size: 1.125rem; margin: 32px 0 10px; }
.doc ul { padding-left: 1.25em; margin: 0 0 1em; }
.doc li { margin-bottom: .4em; }
.doc code { font-family: var(--type); font-size: .9375em; }

.site-footer a[aria-current="page"] { color: var(--ink); text-decoration: none; }
