:root {
  color-scheme: light dark;
  --paper: #f7f4eb;
  --surface: #fffdf7;
  --ink: #203a34;
  --muted: #57645d;
  --line: #cbd2c5;
  --accent: #24564a;
  --seal: #a43d2d;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #18231f;
    --surface: #202e27;
    --ink: #f1f1e5;
    --muted: #b5c1b8;
    --line: #46594b;
    --accent: #acd5b9;
    --seal: #efa28b;
  }
}
* { box-sizing: border-box; }
html { scroll-padding-top: 1.5rem; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.8 -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", sans-serif;
  overflow-wrap: anywhere;
}
a { color: var(--accent); text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, summary:focus-visible {
  outline: 3px solid var(--seal);
  outline-offset: 5px;
  border-radius: 2px;
}
.skip-link { position: absolute; left: 1rem; top: -5rem; z-index: 10; padding: 0.6rem 1rem; background: var(--surface); }
.skip-link:focus { top: 1rem; }
.site-header, main, .site-footer { width: min(100% - 40px, 800px); margin-inline: auto; }
.site-header {
  padding-block: 28px 20px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; font-weight: 650; letter-spacing: 0.02em; }
.brand img { width: 48px; height: 48px; border-radius: 11px; }
nav { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 0.9rem; }
nav a { display: inline-flex; align-items: center; min-height: 44px; }
main { padding-block: 48px 12px; }
h1, h2, h3 { line-height: 1.35; text-wrap: balance; }
h1 { font: 600 clamp(2.1rem, 6vw, 3.35rem)/1.25 "Songti SC", "Noto Serif CJK SC", Georgia, serif; margin: 0 0 22px; }
h2 { font-size: 1.45rem; margin: 38px 0 12px; }
h3 { font-size: 1.08rem; margin: 24px 0 10px; }
p { margin: 0 0 16px; }
ul, ol { padding-left: 1.25em; margin-block: 12px 20px; }
li { margin-block: 8px; }
.eyebrow { color: var(--seal); font-size: 0.83rem; font-weight: 650; letter-spacing: 0.08em; margin-bottom: 18px; }
.lead { font-size: 1.15rem; max-width: 42rem; }
.muted, .updated { color: var(--muted); }
.updated { font-size: 0.88rem; margin-bottom: 28px; }
.note {
  background: var(--surface);
  border: 1px solid var(--line);
  border-inline-start: 4px solid var(--accent);
  border-radius: 4px;
  padding: 20px 24px;
  margin-block: 24px;
}
.note p:last-child { margin-bottom: 0; }
.feature-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 32px; list-style: none; padding: 0; }
.feature-list strong { display: block; margin-bottom: 5px; }
.feature-list li { border-top: 1px solid var(--line); padding-top: 16px; }
.language-section { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line); }
.language-section > h2:first-child { margin-top: 0; font-family: Georgia, serif; font-size: 2rem; }
.steps li { padding-left: 6px; }
details { padding-block: 16px; border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 600; min-height: 44px; padding-block: 8px; }
details > p { margin-top: 12px; }
.contact { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.site-footer { margin-top: 40px; padding-block: 24px 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.85rem; }
.site-footer p { margin-block: 10px; }
@media (max-width: 560px) {
  .site-header, main, .site-footer { width: min(100% - 32px, 800px); }
  .site-header { padding-top: 20px; }
  main { padding-top: 32px; }
  .feature-list { grid-template-columns: minmax(0, 1fr); }
  .note { padding: 18px; }
  .language-section { margin-top: 40px; padding-top: 30px; }
}
@media print {
  :root { color-scheme: light; --paper: #fff; --surface: #fff; --ink: #000; --muted: #333; --line: #bbb; --accent: #000; --seal: #000; }
  .skip-link { display: none; }
  .site-header, main, .site-footer { width: 100%; }
  details { break-inside: avoid; }
}
