/* Terms and Privacy: the homepage's tokens, set as a readable document. */
:root {
  --bg: #ffffff;
  --ink: #21252c;
  --text: #353a44;
  --muted: #596171;
  --line: #ebeef1;
  --brand: #635bff;
  --font-mark: "Inter", -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Instrument Sans", -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111318;
    --ink: #f5f6f8;
    --text: #dfe3e9;
    --muted: #a9b1be;
    --line: #262b35;
    color-scheme: dark;
  }
}
/* The whole window in the page's color (Gary, 2026-10-21: the bottom
   showed another shade). */
html {
  background: var(--bg);
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  padding-inline: 24px;
  -webkit-font-smoothing: antialiased;
}
.page {
  max-width: 1200px;
  margin: 0 auto;
  padding-block: 40px;
  display: flex;
  flex-direction: column;
  gap: 56px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--ink);
  text-decoration: none;
  width: max-content;
}
.brand svg {
  width: 40px;
  height: 40px;
}
.brand span {
  font-family: var(--font-mark);
  font-weight: 700;
  font-size: 34px;
  letter-spacing: -0.045em;
  line-height: 1;
}
article {
  max-width: 42em;
}
h1 {
  margin: 0 0 8px;
  font-weight: 600;
  font-size: clamp(32px, 4.6vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.updated {
  margin: 0 0 32px;
  color: var(--muted);
}
h2 {
  margin: 40px 0 8px;
  font-weight: 600;
  font-size: 21px;
  line-height: 1.3;
  color: var(--ink);
}
p,
ul {
  margin: 0 0 14px;
}
ul {
  padding-left: 1.2em;
}
li + li {
  margin-top: 6px;
}
strong {
  color: var(--ink);
  font-weight: 600;
}
a {
  color: var(--brand);
}
/* Every page's footer, as the homepage's: © at the left, the links at the
   right, quiet. */
footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}
footer .legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}
footer a {
  color: var(--muted);
  text-decoration: none;
}
footer a:hover {
  color: var(--ink);
}
@media (max-width: 520px) {
  .page {
    padding-block: 28px;
    gap: 40px;
  }
  .brand svg {
    width: 32px;
    height: 32px;
  }
  .brand span {
    font-size: 28px;
  }
}
/* The summary at the top of each document. */
.summary {
  margin: 0 0 32px;
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.summary h2 {
  margin-top: 0;
}
.summary ul {
  margin-bottom: 0;
}
/* Contents: links to each section. */
.contents {
  columns: 2;
  column-gap: 32px;
  margin-bottom: 8px;
  font-size: 15px;
}
.contents li + li {
  margin-top: 2px;
}
h3 {
  margin: 24px 0 6px;
  font-weight: 600;
  font-size: 17px;
  color: var(--ink);
}
/* Disclaimers and limits set in capitals, as the law asks them to stand out. */
.caps {
  font-size: 15px;
  letter-spacing: 0.01em;
}
.table-wrap {
  overflow-x: auto;
  margin: 0 0 16px;
}
table {
  border-collapse: collapse;
  width: 100%;
  min-width: 560px;
  font-size: 15px;
  line-height: 1.5;
}
th,
td {
  text-align: left;
  vertical-align: top;
  padding: 10px 12px 10px 0;
  border-bottom: 1px solid var(--line);
}
th {
  color: var(--ink);
  font-weight: 600;
}
h2[id] {
  scroll-margin-top: 24px;
}
@media (max-width: 520px) {
  .contents {
    columns: 1;
  }
  /* A table's rows stack on a phone: the category, then its examples and source. */
  table {
    min-width: 0;
  }
  thead {
    display: none;
  }
  tr {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }
  td {
    display: block;
    padding: 0;
    border: 0;
  }
  td:first-child {
    color: var(--ink);
    font-weight: 600;
    margin-bottom: 4px;
  }
  td:last-child {
    margin-top: 4px;
    color: var(--muted);
  }
  td:last-child::before {
    content: "Source: ";
  }
}
