:root {
  --ink: #1b1f1d;
  --muted: #6b7671;
  --rule: #e2e6e3;
  --accent: #2f6f4f;
  --bg: #fbfaf7;
}

* { box-sizing: border-box; }

body {
  max-width: 34rem;
  margin: 0 auto;
  padding: 3rem 1.25rem 4rem;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 ui-serif, Georgia, "Times New Roman", serif;
}

a { color: var(--accent); }
a:hover { text-decoration: none; }

.masthead { margin-bottom: 2.5rem; }
.masthead h1 {
  margin: 0;
  font-size: 2.1rem;
  letter-spacing: -0.02em;
}
.strap {
  margin: 0.5rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.items { margin: 0; padding: 0; list-style: none; counter-reset: item; }

.item {
  position: relative;
  padding: 0 0 1.75rem 2.25rem;
  margin-bottom: 1.75rem;
  border-bottom: 1px solid var(--rule);
  counter-increment: item;
}
.item:last-child { border-bottom: 0; }

.item::before {
  content: counter(item);
  position: absolute;
  left: 0;
  top: 0.35rem;
  color: var(--muted);
  font: 600 0.8rem/1 ui-sans-serif, system-ui, sans-serif;
  font-variant-numeric: tabular-nums;
}

.item h2 { margin: 0; font-size: 1.15rem; font-weight: 600; line-height: 1.35; }
.item h2 a { color: var(--ink); text-decoration: none; }
.item h2 a:hover { color: var(--accent); text-decoration: underline; }

.summary {
  margin: 0.45rem 0 0;
  color: #3f4a45;
  font-size: 0.95rem;
}

.meta {
  margin: 0.55rem 0 0;
  color: var(--muted);
  font: 0.8rem/1.4 ui-sans-serif, system-ui, sans-serif;
}
.meta .source { font-weight: 600; }
.dot { margin: 0 0.4rem; }

.empty {
  padding: 2rem 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.empty p { margin: 0 0 0.5rem; }
.muted { color: var(--muted); font-size: 0.9rem; }

.foot {
  margin-top: 3rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font: 0.8rem/1.6 ui-sans-serif, system-ui, sans-serif;
}
.foot p { margin: 0; }

.prose h2 { font-size: 1.1rem; margin: 2rem 0 0.5rem; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: 0.3rem; }
.feeds { columns: 2; column-gap: 1.5rem; font-size: 0.9rem; }

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #e8ebe9;
    --muted: #8e9995;
    --rule: #2b312e;
    --accent: #6fbf90;
    --bg: #141715;
  }
  .summary { color: #b6bfbb; }
}
