/* The public pages' only stylesheet. site.caddy's Content-Security-Policy
   allows styles from this origin and nothing else, so keep everything here:
   no inline styles, no web fonts. */

:root {
  --paper: #fbfaf7;
  --ink: #1d2321;
  --ink-soft: #55605c;
  --rule: #e3e0d8;
  --accent: #127c74;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #141816;
    --ink: #ecefed;
    --ink-soft: #a5b0ab;
    --rule: #2b322f;
    --accent: #5cc8bd;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}

main {
  max-width: 42rem;
  margin: 0 auto;
  padding: 3rem 1rem 4rem;
}

header.site {
  max-width: 42rem;
  margin: 0 auto;
  padding: 1.25rem 1rem 0;
  display: flex;
  gap: 1.25rem;
  align-items: baseline;
  flex-wrap: wrap;
}

header.site .brand {
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  margin-right: auto;
}

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

h1 { font-size: 2rem; line-height: 1.2; margin: 0 0 0.5rem; }
h2 { font-size: 1.2rem; margin: 2.25rem 0 0.5rem; }

.lede { font-size: 1.2rem; color: var(--ink-soft); margin-top: 0; }
.updated { color: var(--ink-soft); font-size: 0.9rem; }

.hero { font-size: 4rem; line-height: 1; margin: 0 0 1rem; }

ul.points { padding-left: 1.2rem; }
ul.points li { margin: 0.35rem 0; }

footer {
  border-top: 1px solid var(--rule);
  max-width: 42rem;
  margin: 0 auto;
  padding: 1.5rem 1rem 3rem;
  color: var(--ink-soft);
  font-size: 0.9rem;
}
