/* The pages made from documents by scripts/build-web.js: the privacy policy and terms, the guide
   to other apps, the questions and answers, the inventors' guide and the counsel pack. */
:root {
  --bg: #f5f6fb; --surface: #ffffff; --ink: #1d2050; --muted: #4f5380; --line: #d6d9ea; --head: #e9ebf6;
  --teal: #0b7268; --teal-soft: #e3f5f2;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #11132b; --surface: #1a1d3f; --ink: #e9eaf8; --muted: #b4b7d9; --line: #2c3061; --head: #23274f; --teal: #33c2b2; --teal-soft: #163a43; color-scheme: dark; }
}
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
.legal { max-width: 760px; margin: 0 auto; padding: 16px max(16px, env(safe-area-inset-right, 0px)) 64px max(16px, env(safe-area-inset-left, 0px)); overflow-wrap: break-word; }
.legal h1 { font-size: 28px; line-height: 1.2; margin: 16px 0; }
.legal h2 { font-size: 20px; line-height: 1.3; margin: 32px 0 8px; }
.legal h3 { font-size: 18px; margin: 24px 0 8px; }
.legal p, .legal li { margin: 0 0 12px; }
.legal ul, .legal ol { padding-inline-start: 24px; }
.legal a { color: var(--teal); }
/* Links on their own (the way back, the lists of links) are whole tap targets. */
.legal-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin: 0; }
.legal-top a, .legal li > a:only-child { display: inline-flex; align-items: center; min-height: 44px; padding: 4px 0; }
.legal li:has(> a:only-child) { margin-bottom: 4px; }
.lang-switch { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; min-height: 44px; padding: 6px 12px; font: inherit; font-size: 16px; color: inherit; max-width: 100%; }
.legal table { border-collapse: collapse; width: 100%; display: block; overflow-x: auto; font-size: 15px; }
.legal th, .legal td { border: 1px solid var(--line); padding: 8px; text-align: start; vertical-align: top; }
.legal th { background: var(--head); }
.legal blockquote { margin: 16px 0; padding: 8px 16px; border-inline-start: 4px solid var(--teal); background: var(--teal-soft); }
.legal code { font-size: 15px; overflow-wrap: anywhere; }
.legal table:focus-visible, .legal a:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
