/* Shared by the site's own pages (privacy, terms, support, guidelines, the
   invite/chain link page). Light only, on purpose: the landing page they
   are reached from is light-only, and a policy page turning dark under a
   light homepage looked broken. If the landing page gains a dark design,
   bring back a prefers-color-scheme block here to match it. */
html { color-scheme: light; }
:root {
  --bg: #FBF8F4;
  --surface: #FFFFFF;
  --text: #1E1A16;
  --text-2: #5C544A;
  --muted: #8C8276;
  --border: #E7DFD5;
  --brand: #6127E0;
  --link: #4A1BB0;
  --mark: #FFF1B8;
  --mark-ink: #5A4300;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", "Plus Jakarta Sans", Roboto, sans-serif;
}
a { color: var(--link); }
.top, .foot, main { max-width: 760px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }
.top {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 20px; padding-bottom: 12px;
}
.brand { font-weight: 800; font-size: 18px; color: var(--text); text-decoration: none; }
.top nav a { margin-left: 16px; font-size: 14px; color: var(--text-2); text-decoration: none; }
.top nav a[aria-current="page"] { color: var(--brand); font-weight: 700; }
main { padding-top: 8px; padding-bottom: 48px; }
h1 { font-size: 34px; line-height: 1.15; letter-spacing: -0.02em; margin: 18px 0 4px; }
h2 { font-size: 21px; margin: 36px 0 8px; letter-spacing: -0.01em; }
h3 { font-size: 16px; margin: 20px 0 4px; color: var(--text-2); }
.meta { color: var(--muted); margin: 0 0 20px; font-size: 14px; }
.lede { font-size: 17px; color: var(--text-2); }
ul { padding-left: 22px; }
li { margin: 6px 0; }
mark {
  background: var(--mark); color: var(--mark-ink);
  padding: 0 4px; border-radius: 4px; font-weight: 600;
}
.toc {
  display: flex; flex-wrap: wrap; gap: 8px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; padding: 12px 14px; margin: 20px 0;
}
.toc a {
  font-size: 14px; text-decoration: none; padding: 4px 10px;
  border-radius: 999px; border: 1px solid var(--border); color: var(--text-2);
}
.foot {
  border-top: 1px solid var(--border);
  padding-top: 16px; padding-bottom: 32px;
  color: var(--muted); font-size: 13px;
}
@media (max-width: 480px) {
  h1 { font-size: 28px; }
  .top nav a { margin-left: 12px; }
}
