:root {
  --paper: #f7f4ed;
  --surface: #fbfaf5;
  --ink: #30332e;
  --muted: #5c5e54;
  --accent: #ba3d29;
  --rule: #ddd9cc;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #1b1a17;
    --surface: #292724;
    --ink: #edeade;
    --muted: #b5b3a6;
    --accent: #ed785e;
    --rule: #3a3833;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.65 -apple-system, "SF Pro Text", "PingFang SC", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
main, header, footer { max-width: 720px; margin: 0 auto; padding: 0 24px; }
header { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-top: 36px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 600 26px/1 "New York", "Iowan Old Style", Georgia, "Songti SC", serif; color: var(--ink); text-decoration: none; }
.brand .dot { width: 14px; height: 14px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent); }
nav { display: flex; gap: 18px; flex-wrap: wrap; }
nav a, .langs a { color: var(--muted); text-decoration: none; font-size: 15px; }
nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
h1, h2 { font-family: "New York", "Iowan Old Style", Georgia, "Songti SC", serif; font-weight: 600; line-height: 1.25; }
h1 { font-size: clamp(34px, 7vw, 52px); margin: 56px 0 12px; }
h2 { font-size: 24px; margin: 40px 0 8px; }
h3 { font-size: 17px; margin: 24px 0 4px; }
.lede { font-size: 19px; color: var(--muted); }
.meta { color: var(--muted); font-size: 14px; }
.langs { display: flex; gap: 14px; margin: 18px 0 8px; }
section.lang { border-top: 1px solid var(--rule); margin-top: 48px; padding-top: 8px; }
a { color: var(--accent); }
ul { padding-left: 22px; }
.card { background: var(--surface); border: 1px solid var(--rule); border-radius: 18px; padding: 20px 24px; margin: 24px 0; }
footer { color: var(--muted); font-size: 14px; padding-top: 48px; padding-bottom: 48px; }
@media (max-width: 520px) {
  header { flex-direction: column; align-items: flex-start; }
  main, header, footer { padding: 0 16px; }
}
