:root {
  color-scheme: light;
  --paper: #f7f7f1;
  --ink: #26372d;
  --muted: #627066;
  --line: #d6ddcf;
  --accent: #286349;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    ui-sans-serif, system-ui, -apple-system, "Segoe UI", "Microsoft YaHei",
    sans-serif;
  font-size: 16px;
  line-height: 1.9;
}
a {
  color: var(--accent);
  text-underline-offset: 4px;
}
a:hover {
  text-decoration-thickness: 2px;
}
a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}
header,
footer {
  max-width: 1120px;
  margin: auto;
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
header {
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 21px;
  color: var(--ink);
  text-decoration: none;
}
nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
header nav a,
footer nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
main {
  max-width: 880px;
  margin: 72px auto 100px;
  padding: 0 32px;
}
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.17em;
  font-weight: 700;
  color: var(--accent);
}
h1 {
  font-size: clamp(32px, 6vw, 52px);
  line-height: 1.3;
  letter-spacing: -0.035em;
  margin: 18px 0 8px;
}
.subtitle {
  font-size: 24px;
  margin: 0 0 20px;
  color: var(--muted);
}
.meta {
  color: var(--muted);
  font-size: 13px;
}
.intro {
  margin: 28px 0;
}
.notice {
  background: #eaf0e2;
  padding: 20px 24px;
  border: 1px solid var(--line);
  font-size: 14px;
}
.toc {
  margin: 28px 0 40px;
  border-block: 1px solid var(--line);
  padding: 16px 0;
}
.toc summary {
  cursor: pointer;
  font-weight: 600;
  min-height: 44px;
  align-content: center;
}
.toc nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
  padding: 12px 0;
}
.toc a {
  font-size: 14px;
}
section {
  border-bottom: 1px solid var(--line);
  padding: 28px 0 36px;
}
h2 {
  font-size: 23px;
  line-height: 1.5;
  margin: 0 0 18px;
}
h2 span {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
  margin-right: 14px;
}
p {
  overflow-wrap: anywhere;
}
section p {
  margin: 0 0 18px;
}
.translation {
  color: #526258;
  font-size: 15px;
  line-height: 1.8;
}
.translation h3 {
  font-size: 15px;
  font-weight: 650;
  margin: 18px 0 6px;
}
.translation p {
  margin-bottom: 0;
}
footer {
  border-top: 1px solid var(--line);
  font-size: 13px;
  flex-wrap: wrap;
}
footer p {
  width: 100%;
  color: var(--muted);
  margin: 0;
}
.document-list {
  margin: 36px 0;
  border-top: 1px solid var(--line);
}
.document-list a {
  display: block;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.document-list strong {
  display: block;
  font-size: 24px;
}
.document-list span {
  display: block;
  color: var(--muted);
  font-size: 14px;
}
.skip {
  position: absolute;
  top: -100px;
  left: 16px;
  background: white;
  padding: 10px;
  z-index: 2;
}
.skip:focus {
  top: 10px;
}
@media (max-width: 600px) {
  header,
  footer {
    padding: 18px 22px;
    align-items: flex-start;
  }
  header {
    flex-direction: column;
    gap: 12px;
  }
  header nav {
    gap: 18px;
  }
  main {
    padding: 0 22px;
    margin: 42px auto 64px;
  }
  .toc nav {
    grid-template-columns: 1fr;
  }
  h2 {
    font-size: 21px;
  }
  .notice {
    padding: 16px;
  }
  footer {
    flex-direction: column;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
@media print {
  header nav,
  .toc,
  .skip {
    display: none;
  }
  body {
    background: white;
    color: black;
  }
  main {
    max-width: none;
    margin: 24px 0;
  }
  section {
    break-inside: avoid;
  }
  a {
    color: inherit;
  }
  .translation {
    color: #333;
  }
  footer {
    break-inside: avoid;
  }
}
