:root {
  --bg: #F5EDE4;
  --text: #1a1a1a;
  --muted: #5c554e;
  --rule: #d9cdbf;
  --accent: #1a1a1a;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #1a1a1a;
    --text: #F5EDE4;
    --muted: #b5aca2;
    --rule: #3a3530;
    --accent: #F5EDE4;
  }
}
:root[data-theme="dark"] {
  --bg: #1a1a1a;
  --text: #F5EDE4;
  --muted: #b5aca2;
  --rule: #3a3530;
  --accent: #F5EDE4;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Merriweather', Georgia, 'Times New Roman', serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
}
main {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 16px 80px;
}
nav.lang {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 14px;
  margin-bottom: 40px;
}
nav.lang a { color: var(--muted); }
h1 {
  font-weight: 700;
  font-size: 28px;
  line-height: 1.3;
  margin: 0 0 8px;
}
h2 {
  font-weight: 700;
  font-size: 18px;
  margin: 36px 0 8px;
}
p, li { margin: 0 0 12px; }
ul { padding-left: 22px; margin: 0 0 12px; }
.meta { color: var(--muted); font-size: 14px; margin-bottom: 28px; }
.summary {
  border-left: 3px solid var(--accent);
  padding: 4px 0 4px 16px;
  margin: 24px 0;
  font-style: italic;
}
a { color: var(--accent); text-underline-offset: 3px; }
hr {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 64px 0;
}
footer { color: var(--muted); font-size: 13px; margin-top: 48px; }
nav.lang a:first-child { color: var(--text); font-weight: 700; text-decoration: none; }
details {
  border-bottom: 1px solid var(--rule);
  padding: 14px 0;
}
details:first-of-type { border-top: 1px solid var(--rule); }
summary {
  cursor: pointer;
  font-weight: 400;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; color: var(--muted); }
details[open] summary::after { content: '−'; }
details > p:first-of-type { margin-top: 12px; }
.links { list-style: none; padding: 0; margin: 32px 0 0; }
.links li { margin: 0 0 12px; font-size: 18px; }
