/*
  One stylesheet for the whole site. The tokens are the app's own, so the pages and the app look
  like one thing: paper, ink, and signal orange used once per page at most.
*/
:root {
  --paper: #f2f1ee;
  --ink: #171614;
  --ink-secondary: #6b6862;
  --signal: #f4501e;
  --hairline: #d9d6d0;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #171614;
    --ink: #f2f1ee;
    --ink-secondary: #9a958c;
    --hairline: #34322e;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  padding: 40px 16px 96px;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
}

main { max-width: 640px; margin: 0 auto; }

h1 { font-size: 30px; line-height: 1.2; margin: 0 0 6px; letter-spacing: -0.01em; }

/* The app's technical label: small, spaced, upper case, over a hairline. */
h2 {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-secondary);
  margin: 44px 0 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--hairline);
}

h3 { font-size: 17px; margin: 28px 0 4px; }

p { margin: 0 0 16px; }
.lead { font-size: 19px; }
.updated, .lang { color: var(--ink-secondary); font-size: 15px; }
.updated { margin: 0 0 36px; }
.lang { margin: 0 0 20px; }

ul { padding-left: 20px; }
li { margin-bottom: 10px; }

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

/* The dot-matrix ridge, as on the app's opening. */
.mark { display: block; width: 100%; max-width: 300px; margin: 0 0 28px; }

.nav { margin: 36px 0 0; font-size: 16px; }
.nav a { margin-right: 18px; }

footer {
  margin-top: 56px;
  padding-top: 16px;
  border-top: 1px solid var(--hairline);
  color: var(--ink-secondary);
  font-size: 15px;
}
footer a { color: var(--ink-secondary); }
