/* Privacy Policy and Terms of Service pages */
.legal { padding-top: 40px; padding-bottom: 60px; }
.legal-head h1 { font-size: clamp(30px, 5vw, 42px); line-height: 1.1; margin: 14px 0 8px; }
.legal-head .updated { color: #9aa3c7; margin: 0 0 6px; }
.legal-note { margin: 18px 0 8px; padding: 12px 16px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, .04); color: #cfd6f5; font-size: 15px; }
.legal-doc { color: #d7dcf3; font-size: 16px; line-height: 1.7; }
.legal-doc h2 { color: #fff; font-size: 22px; line-height: 1.25; margin: 38px 0 10px; }
.legal-doc h3 { color: #fff; font-size: 17px; margin: 22px 0 6px; }
.legal-doc p, .legal-doc ul { margin: 0 0 14px; }
.legal-doc ul { padding-left: 22px; }
.legal-doc li { margin: 4px 0; }
.legal-doc a { color: #8fb4ff; }
.legal-doc strong { color: #fff; }
.legal-doc .table-scroll { overflow-x: auto; margin: 0 0 16px; }
.legal-doc table { width: 100%; border-collapse: collapse; font-size: 15px; }
.legal-doc th, .legal-doc td { text-align: left; vertical-align: top; padding: 9px 12px; border-bottom: 1px solid var(--line); }
.legal-doc th { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; }
.legal-toc { margin: 22px 0 8px; padding: 16px 20px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); }
.legal-toc b { display: block; margin-bottom: 6px; color: #fff; }
.legal-toc ol { margin: 0; padding-left: 20px; columns: 2 220px; column-gap: 28px; font-size: 15px; }
.legal-toc a { color: #cfd6f5; }
.legal-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; padding-top: 22px; padding-bottom: 28px; border-top: 1px solid var(--line); font-size: 14px; color: #7f88b0; }
.legal-foot a { color: #b9c2ea; }
.legal-foot nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
@media (max-width: 560px) {
  .legal-doc { font-size: 15.5px; }
  .legal-doc h2 { font-size: 20px; }
}

/* The "English only for now" note shows only when the page is switched to Spanish. */
html[lang="en"] .legal-note { display: none; }

/* Phones: the links at the bottom are easy to tap */
@media (max-width: 760px) {
  .legal-foot a { display: inline-block; padding: 9px 0; }
  .legal-doc a { overflow-wrap: anywhere; }
}

/* Color themes and the light look (how these prefixes work: the end of site.css) */
:where(:root[data-mode="light"], :root[data-theme]) .legal-head .updated,
:where(:root[data-mode="light"], :root[data-theme]) .legal-foot { color: var(--muted); }
:where(:root[data-mode="light"], :root[data-theme]) .legal-note,
:where(:root[data-mode="light"], :root[data-theme]) .legal-doc,
:where(:root[data-mode="light"], :root[data-theme]) .legal-doc h2,
:where(:root[data-mode="light"], :root[data-theme]) .legal-doc h3,
:where(:root[data-mode="light"], :root[data-theme]) .legal-doc strong,
:where(:root[data-mode="light"], :root[data-theme]) .legal-doc th,
:where(:root[data-mode="light"], :root[data-theme]) .legal-toc b,
:where(:root[data-mode="light"], :root[data-theme]) .legal-toc a,
:where(:root[data-mode="light"], :root[data-theme]) .legal-foot a { color: var(--text); }
:where(:root[data-mode="light"], :root[data-theme]) .legal-doc a { color: var(--blue); }
:where(:root[data-mode="light"]) .legal-note,
:where(:root[data-mode="light"]) .legal-toc { background: var(--panel); }
