/* restable.net legal pages (generated by tools/legal_site.py from docs/legal). Rides on site.css's
   tokens, header and footer; this file is only the reading column. */
.legal { padding-top: 24px; padding-bottom: 72px; }
/* German compounds ("Auftragsverarbeitungsvertrag") are wider than a phone at heading size: hyphenate
   by the page's lang, and break as a last resort rather than scroll the page sideways */
.legal article { max-width: 720px; font-size: 16px; line-height: 1.6; color: var(--text-2); hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
.legal h1 { margin: 16px 0 24px; color: var(--ink); font-size: clamp(30px, 6vw, 44px); line-height: 1.1; font-weight: 600; letter-spacing: -0.02em; }
.legal h2 { margin: 48px 0 12px; color: var(--ink); font-size: 22px; line-height: 1.25; font-weight: 600; scroll-margin-top: 84px; }
.legal h3 { margin: 32px 0 8px; color: var(--ink); font-size: 18px; line-height: 1.3; font-weight: 600; scroll-margin-top: 84px; }
.legal p, .legal ul, .legal ol { margin: 0 0 14px; }
.legal ul, .legal ol { padding-left: 22px; }
.legal li { margin: 4px 0; }
.legal li > ul, .legal li > ol { margin: 6px 0 0; }
.legal strong { color: var(--ink); font-weight: 600; }
.legal a { color: var(--ink); text-underline-offset: 3px; overflow-wrap: anywhere; }
.legal code { font-size: 14px; overflow-wrap: anywhere; }
.legal .lead { font-size: 18px; color: var(--muted); }

/* the version line, and the terms' summary box */
.legal blockquote { margin: 0 0 20px; padding: 14px 16px; border-radius: 12px; background: var(--panel); color: var(--ink); font-size: 15px; }
.legal blockquote p:last-child, .legal blockquote ul:last-child { margin-bottom: 0; }

/* tables scroll sideways on a phone instead of widening the page */
.table-scroll { margin: 0 0 20px; overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: 12px; }
.legal table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 14px; line-height: 1.45; }
.legal th, .legal td { padding: 10px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.legal th { color: var(--ink); font-weight: 600; background: var(--panel); }
.legal tr:last-child td { border-bottom: 0; }

.toc { margin: 0 0 28px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px; font-size: 15px; }
.toc summary { min-height: 28px; cursor: pointer; color: var(--ink); font-weight: 600; }
.toc ul { margin: 10px 0 0; padding-left: 20px; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }

.doc-list { list-style: none; padding: 0; margin: 24px 0 0; border-top: 1px solid var(--line); }
.doc-list li { margin: 0; border-bottom: 1px solid var(--line); }
.doc-list a { display: flex; align-items: center; min-height: 56px; text-decoration: none; font-size: 18px; font-weight: 500; }
.doc-list a:hover { text-decoration: underline; }
