/* Satorty static site — minimal, no web fonts, no images. */

:root {
  --bg: #ffffff;
  --text: #1c1c1e;
  --muted: #6b6b70;
  --rule: #e2e2e5;
  --link: #1a4fd6;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121214;
    --text: #e8e8ea;
    --muted: #9a9aa0;
    --rule: #2c2c30;
    --link: #7fa4ff;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 3rem 1.25rem 6rem;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
}

/* ~68 characters per line at this type size. */
main {
  max-width: 36rem;
  margin: 0 auto;
}

h1 {
  font-size: 1.75rem;
  line-height: 1.25;
  margin: 0 0 0.5rem;
}

h2 {
  font-size: 1.1875rem;
  line-height: 1.3;
  margin: 2.5rem 0 0.5rem;
}

h3 {
  font-size: 1.0625rem;
  margin: 1.75rem 0 0.25rem;
}

p,
ul,
ol {
  margin: 0 0 1.15rem;
}

ul,
ol {
  padding-left: 1.35rem;
}

li {
  margin-bottom: 0.4rem;
}

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

.meta {
  color: var(--muted);
  font-size: 0.9375rem;
  margin-bottom: 2.5rem;
}

hr {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 3rem 0;
}

/* Home page: the line under the app name. */
.tagline {
  font-size: 1.1875rem;
  line-height: 1.45;
  margin: 0 0 2rem;
}
