:root {
  color-scheme: light;
  --paper: #fbf7ee;
  --ink: #222a25;
  --muted: #5b5950;
  --line: #e4dace;
  --accent: #b6412d;
  --accent-hover: #94301f;
  --window: #fffbf5;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}
*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; text-decoration-color: var(--line); text-underline-offset: 4px; }
a:hover { text-decoration-color: currentColor; }
a:focus-visible, .demo-modes:has(input:focus-visible) label:has(input:focus-visible) {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
.wrap { width: min(100% - 80px, 1160px); margin-inline: auto; }
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 690; font-size: 1.2rem; text-decoration: none; white-space: nowrap; }
.brand img { display: block; object-fit: contain; }
.nav, .actions, .footer-links { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; }
.nav a, .footer-links a { text-decoration: none; color: var(--muted); }
.nav a:hover, .footer-links a:hover { color: var(--ink); text-decoration: underline; }
.nav .language { border: 1px solid var(--line); border-radius: 24px; padding: 7px 12px; font-size: .875rem; }
.site-footer { border-top: 1px solid var(--line); }
.site-footer .wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; padding-block: 22px; gap: 12px 24px; }
.footer-links { font-size: .9rem; }
@media (max-width: 920px) { .wrap { width: calc(100% - 48px); } }
@media (max-width: 400px) { .wrap { width: calc(100% - 32px); } .nav { gap: 10px; font-size: .9rem; } }
