/* One stylesheet, no fonts loaded from anywhere, no JavaScript anywhere on
   this site. That is a deliberate legal property, not minimalism for its own
   sake: it lets the privacy policy state truthfully that these pages set no
   cookies and load nothing from a third party, so no consent banner is owed
   for the very page that explains our data practices. */

:root {
  --bg: #ffffff;
  --fg: #1a1a1a;
  --muted: #5c5c5c;
  --rule: #e0e0e0;
  --accent: #0b6b3a;
  --card: #f6f8f7;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121414;
    --fg: #e8e8e8;
    --muted: #a0a0a0;
    --rule: #2c2f2e;
    --accent: #4ade80;
    --card: #1a1d1c;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  padding: 0 20px 80px;
  background: var(--bg);
  color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  line-height: 1.6;
  font-size: 16px;
}

main { max-width: 720px; margin: 0 auto; }

header {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 0 20px;
  border-bottom: 1px solid var(--rule);
}

header .app { font-weight: 700; font-size: 15px; letter-spacing: .3px; }
header .app a { color: var(--fg); text-decoration: none; }

h1 { font-size: 26px; line-height: 1.25; margin: 28px 0 6px; }
h2 { font-size: 18px; margin: 34px 0 8px; }
h3 { font-size: 15px; margin: 22px 0 4px; }

.updated { color: var(--muted); font-size: 13px; margin: 0 0 8px; }

a { color: var(--accent); }

table {
  width: 100%;
  border-collapse: collapse;
  margin: 14px 0;
  font-size: 14px;
  display: block;
  overflow-x: auto;
}
th, td {
  text-align: left;
  padding: 8px 10px;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
}
th { font-size: 12px; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); }

.card {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 14px 16px;
  margin: 18px 0;
}

.card p:first-child { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }

ul { padding-left: 22px; }
li { margin: 5px 0; }

footer {
  max-width: 720px;
  margin: 56px auto 0;
  padding-top: 18px;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 13px;
}

.nav { margin: 10px 0 0; font-size: 14px; }
.nav a { margin-right: 16px; }

code {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 1px 5px;
  font-size: 13px;
}
