/* The privacy policy, terms and forwarding help (built by scripts/site-pages.mjs from docs/legal/ and
   docs/help/). On top of the home page's own styles: a readable column of at most 62 characters, Newsreader
   section headings, and tables with hairlines that turn into stacked rows on a phone, so the page never
   scrolls sideways. */
.legal .updated{margin-top:16px;font-size:15px;line-height:22px;color:var(--ink-muted)}
.legal p,.legal ul,.legal .contents{max-width:62ch}
.legal p,.legal ul{margin-top:16px}
.legal p,.legal li,.legal td{overflow-wrap:break-word}
.legal h2{margin-top:56px;font:400 26px/32px var(--serif);letter-spacing:-.01em;text-wrap:balance;scroll-margin-top:24px}
@media (min-width:900px){.legal h2{margin-top:72px;font-size:30px;line-height:36px}}
.legal h2+p,.legal h2+ul,.legal h2+table{margin-top:20px}
.legal ul{padding-left:1.25em;list-style:disc}
.legal li::marker{color:var(--ink-muted)}
.legal li+li{margin-top:8px}

/* Numbered steps, parts within a section, the help's pictures and filter text. A picture is never wider
   than the column, and opens full size when tapped. */
.legal h3{margin-top:40px;font:400 22px/28px var(--serif);letter-spacing:-.005em;scroll-margin-top:24px}
.legal ol.steps{max-width:62ch;margin-top:16px;padding-left:1.5em;list-style:decimal}
.legal h3+ol.steps,.legal h2+ol.steps{margin-top:12px}
.legal ol.steps li::marker{color:var(--ink-muted);font-weight:700}
.legal ol.steps li+li{margin-top:12px}
.legal .shot{display:block;width:fit-content;max-width:100%;margin:12px 0 4px}
.legal .shot img{display:block;max-width:100%;height:auto;border:1px solid var(--line);border-radius:2px;background:var(--surface-raised)}
.legal code{padding:0 4px;border:1px solid var(--line);border-radius:2px;background:var(--surface-raised);
  font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.88em;overflow-wrap:anywhere}

.legal .contents{margin-top:40px;padding-top:20px;border-top:1px solid var(--line)}
.legal .contents ol{margin-top:12px}
.legal .contents li+li{margin-top:4px}
.legal .contents a{display:inline-block;padding:6px 0}

.legal table{width:100%;margin-top:24px;border-collapse:collapse;font-size:16px;line-height:24px}
.legal th{padding:0 20px 10px 0;font:700 13px/16px var(--sans);letter-spacing:.08em;text-transform:uppercase;
  color:var(--ink-muted);text-align:left;vertical-align:bottom}
.legal td{padding:14px 20px 14px 0;border-top:1px solid var(--line);vertical-align:top}
.legal td:first-child{font-weight:700}
.legal tbody tr:last-child td{border-bottom:1px solid var(--line)}

@media (max-width:699px){
  .legal thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  .legal table,.legal tbody,.legal tr,.legal td{display:block}
  .legal tr{padding:14px 0;border-top:1px solid var(--line)}
  .legal tbody tr:last-child{border-bottom:1px solid var(--line)}
  .legal td,.legal tbody tr:last-child td{padding:0;border:0}
  .legal td+td{margin-top:10px}
  .legal td+td::before{content:attr(data-label);display:block;margin-bottom:2px;font:700 12px/16px var(--sans);
    letter-spacing:.08em;text-transform:uppercase;color:var(--ink-muted)}
}
