*, *::before, *::after {
  box-sizing: border-box;
}

:root {
  --fg: #222;
  --bg: #fbfaf7;
  --muted: #707070;
  --accent: #c2410c;
  --accent-bright: #ea580c;
  --border: #ddd;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--fg);
  background: var(--bg);
  padding-bottom: 4rem;
}

.wrap {
  max-width: 60rem;
  margin: 0 auto;
  padding: 1.25rem;
}

h1, h2 {
  line-height: 1.2;
}

h1 { font-size:  2rem; }
h2 { font-size: 1.375rem; margin-top: 2.5rem; }

p, ul, pre {
  margin: 0 0 1rem;
}

a {
  color: var(--accent);
}
a:hover { color: var(--accent-bright); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  position: sticky;
  top: 0;
  background: var(--bg);
  padding: 0.75rem 0;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.site-name { text-decoration: none; font-weight: bold; }

.site-nav { display: flex; gap: 1.25rem; }
.site-nav a { text-decoration: none; color: var(--fg); }
.site-nav a:hover { color: var(--accent); }

.site-footer {
  position: fixed;
  bottom: 0;
  left: 1.25rem;
  right: 1.25rem;
  max-width: calc(60rem - 2.5rem);
  margin: 0 auto;
  padding: 0.75rem 0;
  background: var(--bg);
  color: var(--muted);
  font-size: 0.875rem;
  border-top: 1px solid var(--border);
}

.lede { font-size: 1.25rem }

.list { list-style: none; padding: 0; }
.list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.meta, .post-meta, time, .muted, .small { color: var(--muted); }
.small { font-size: /* ? */; }

.placeholder { /* make unfinished text obvious */ }

pre {
  overflow-x: auto;
  /* background, padding, maybe a border */
}
code { font-family: /* monospace stack */; }

hr { /* a thin line, using the border color */ }