/* The reading pages: privacy, terms, support. Same paper and ink as the app. */
:root {
  color-scheme: light dark;
  --ink: #14130f;
  --secondary: #55524a;
  --tertiary: #87837a;
  --canvas: #f4f1ea;
  --surface: #fffdf8;
  --rule: #ddd8cc;
  --accent: #2e3a78;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f2f0ea;
    --secondary: #b3afa4;
    --tertiary: #86827a;
    --canvas: #0f0e0c;
    --surface: #1c1a17;
    --rule: #35322c;
    --accent: #9dabf0;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  -webkit-text-size-adjust: 100%;
}
header, main, footer {
  max-width: 40rem;
  margin: 0 auto;
  padding: 0 24px;
}
header {
  padding-top: 40px;
  padding-bottom: 8px;
  display: flex;
  gap: 16px;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
}
header a.home {
  font-family: ui-serif, Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}
nav a {
  color: var(--secondary);
  text-decoration: none;
  margin-left: 16px;
  font-size: 0.95rem;
}
nav a:first-child { margin-left: 0; }
nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }
h1, h2 {
  font-family: ui-serif, Georgia, "Times New Roman", serif;
  font-weight: 600;
  line-height: 1.25;
}
h1 { font-size: 2rem; margin: 32px 0 4px; }
h2 { font-size: 1.3rem; margin: 40px 0 8px; }
h3 { font-size: 1rem; margin: 24px 0 4px; }
p, ul, dl, table { margin: 0 0 16px; }
ul { padding-left: 1.2rem; }
li { margin-bottom: 6px; }
a { color: var(--accent); }
.lede { color: var(--secondary); font-size: 1.05rem; }
.meta { color: var(--tertiary); font-size: 0.9rem; margin-bottom: 24px; }
.card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 20px 22px;
  margin: 24px 0;
}
.card p:last-child { margin-bottom: 0; }
.table-wrap { overflow-x: auto; margin: 0 0 16px; }
table { border-collapse: collapse; width: 100%; font-size: 0.95rem; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--rule); }
th { color: var(--secondary); font-weight: 600; }
details { border-bottom: 1px solid var(--rule); padding: 14px 0; }
details summary { cursor: pointer; font-weight: 600; }
details p { margin: 10px 0 0; color: var(--secondary); }
footer {
  margin-top: 56px;
  padding-top: 20px;
  padding-bottom: 48px;
  border-top: 1px solid var(--rule);
  color: var(--tertiary);
  font-size: 0.9rem;
}
