:root {
  --text: #1c1c1c;
  --muted: #6b6b6b;
  --bg: #fdfdfb;
  --line: #e4e2dc;
  --accent: #9a3412;
  --quote-bg: #f4f2ec;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --text: #e8e6e1;
    --muted: #a19d95;
    --bg: #161514;
    --line: #34322f;
    --accent: #f59e6b;
    --quote-bg: #22201e;
  }
}

* {
  box-sizing: border-box;
}

body {
  max-width: 42rem;
  margin: 0 auto;
  padding: 0 1rem;
  font: 1.0625rem/1.65 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
}

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

h1, h2, h3 {
  line-height: 1.25;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

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

.site-name {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text);
  text-decoration: none;
}

.lang-switch {
  font-size: 0.9375rem;
}

main {
  padding: 1rem 0 2rem;
}

.card {
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.card h2 {
  margin: 0 0 0.25rem;
  font-size: 1.25rem;
}

.card h2 a {
  color: var(--text);
  text-decoration: none;
}

.card h2 a:hover {
  color: var(--accent);
}

.card p {
  margin: 0.25rem 0;
}

.meta {
  color: var(--muted);
  font-size: 0.9375rem;
}

.pager {
  display: flex;
  justify-content: space-between;
  padding-top: 1.5rem;
}

.pager a[rel="next"] {
  margin-left: auto;
}

.sources {
  margin-top: 2.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.9375rem;
}

.claims {
  padding-left: 1.25rem;
}

.claims li {
  margin-bottom: 0.5rem;
}

.claims summary {
  cursor: pointer;
}

.claims blockquote {
  margin: 0.5rem 0;
  padding: 0.5rem 0.75rem;
  border-left: 3px solid var(--accent);
  background: var(--quote-bg);
}

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