/* No web fonts and no analytics on purpose: a page that explains how little we
   send to third parties should not call one to render itself. */

:root {
  color-scheme: light dark;

  --surface: #f7f5fc;
  --raised: #ffffff;
  --line: #e4def2;
  --text: #17131f;
  --muted: #524a66;
  --faint: #7d7592;
  --accent: #6d46d9;
}

@media (prefers-color-scheme: dark) {
  :root {
    --surface: #0b0912;
    --raised: #15111f;
    --line: #2a2140;
    --text: #efeaf8;
    --muted: #a49bbd;
    --faint: #6b6382;
    --accent: #a78bfa;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--surface);
  color: var(--text);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
}

.page {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 22px 96px;
}

header.masthead {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 40px;
}

.wordmark {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--text);
  text-decoration: none;
}

nav a {
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  margin-left: 16px;
}

nav a:hover, nav a:focus-visible { color: var(--accent); text-decoration: underline; }

h1 {
  font-size: clamp(28px, 5vw, 38px);
  line-height: 1.15;
  letter-spacing: -.02em;
  margin: 0 0 10px;
}

h2 {
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: -.01em;
  margin: 44px 0 12px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

h3 { font-size: 16px; margin: 26px 0 8px; }

p, li { color: var(--muted); }
p { margin: 0 0 14px; max-width: 68ch; }

strong { color: var(--text); font-weight: 600; }

.version {
  font-size: 13px;
  color: var(--faint);
  margin-bottom: 34px;
}

.lede { font-size: 17px; color: var(--text); }

ul, ol { margin: 0 0 14px; padding-left: 22px; }
li { margin-bottom: 7px; }

a { color: var(--accent); }

.note {
  background: var(--raised);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px 18px;
  margin: 0 0 18px;
}

.note p:last-child { margin-bottom: 0; }

.pending {
  background: #fbeedc;
  border: 1px dashed #a05b00;
  border-radius: 8px;
  padding: 3px 8px;
  color: #7a4500;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

@media (prefers-color-scheme: dark) {
  .pending { background: #2b2115; border-color: #e8b057; color: #e8b057; }
}

.scroll { overflow-x: auto; }

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  min-width: 460px;
  margin-bottom: 18px;
}

th, td {
  text-align: left;
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  color: var(--muted);
}

th { color: var(--text); font-weight: 600; white-space: nowrap; }
tr:last-child td { border-bottom: 0; }

footer {
  margin-top: 56px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--faint);
}

footer a { color: var(--muted); }
