:root {
  color-scheme: light dark;
  --paper: #f3f5f2;
  --paper-raised: #fbfcfa;
  --ink: #1d2422;
  --muted: #5b6a66;
  --rule: #d2d9d5;
  --accent: #245a7a;
  --serif: Charter, 'Iowan Old Style', 'Source Serif Pro', Georgia, serif;
  --sans: system-ui, -apple-system, 'Segoe UI', sans-serif;
  --measure: 38rem;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #161b1a;
    --paper-raised: #1d2423;
    --ink: #e4ebe8;
    --muted: #9aaba6;
    --rule: #33403d;
    --accent: #8cc1e0;
  }
}
/* The overview of every story. Its palette (light and dark) is the sites' own, taken from site.css when it is built. */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 112.5%;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0 auto;
  max-width: 56rem;
  padding: 2.5rem 1rem 3rem;
}
a {
  color: var(--accent);
  text-underline-offset: 0.15em;
}
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}
.masthead h1 {
  margin: 0;
  font-size: 2.2rem;
  line-height: 1.15;
}
.lead {
  margin: 0.75rem 0 2rem;
  max-width: 38rem;
  color: var(--muted);
  font-size: 1.1rem;
}
.stories {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}
.card {
  padding: 1.1rem 1.2rem;
  border: 1px solid var(--rule);
  border-radius: 6px;
  background: var(--paper-raised);
}
.card h2 {
  margin: 0 0 0.4rem;
  font-size: 1.25rem;
  line-height: 1.25;
}
.card p {
  margin: 0 0 0.6rem;
}
.subject {
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--muted);
}
.meta {
  font-family: var(--sans);
  font-size: 0.8rem;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.empty {
  color: var(--muted);
}
footer {
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--muted);
}
