/* RS Flemingos — plain, light, no dependencies.
   System fonts, one column, ~2 KB. Edit freely. */

:root {
  --ink: #1c1b19;
  --muted: #6b6862;
  --rule: #e3e0d9;
  --accent: #8a5a2b;
  --paper: #fdfcf9;
  --measure: 42rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #eceae4;
    --muted: #a5a09a;
    --rule: #34312c;
    --accent: #d3a06a;
    --paper: #171614;
  }
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 1.0625rem/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  padding: 0 1.25rem;
}

header.site, main, footer.site {
  max-width: var(--measure);
  margin: 0 auto;
}

header.site {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  align-items: baseline;
  justify-content: space-between;
  padding: 2rem 0 1.25rem;
  border-bottom: 1px solid var(--rule);
}

.brand {
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  color: var(--ink);
}

nav a {
  margin-left: 1.25rem;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9375rem;
}

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

main { padding: 2.5rem 0 3rem; }

h1, h2, h3 {
  font-family: Georgia, "Iowan Old Style", "Times New Roman", serif;
  line-height: 1.2;
  font-weight: 600;
}

h1 { font-size: 2rem; margin: 0 0 1rem; }
h2 { font-size: 1.3rem; margin: 2.5rem 0 0.85rem; }
h3 { font-size: 1.1rem; margin: 2rem 0 0.5rem; }

.lede { font-size: 1.125rem; color: var(--muted); margin: 0 0 2rem; }

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

ul.posts { list-style: none; padding: 0; margin: 0; }

ul.posts li {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
  justify-content: space-between;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--rule);
}

ul.posts a { text-decoration: none; }
ul.posts a:hover { text-decoration: underline; }

.date, .fine { color: var(--muted); font-size: 0.875rem; }

.subscribe {
  margin-top: 3rem;
  padding: 1.5rem;
  border: 1px solid var(--rule);
  border-radius: 10px;
}

.subscribe h2 { margin-top: 0; }

.button {
  display: inline-block;
  padding: 0.6rem 1.1rem;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-size: 0.9375rem;
}

.button:hover { filter: brightness(1.08); }

article p, article li { margin: 0 0 1.15rem; }

article img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

figure { margin: 2rem 0; }
figcaption { color: var(--muted); font-size: 0.875rem; margin-top: 0.5rem; }

footer.site {
  padding: 1.5rem 0 3rem;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.875rem;
}
