/* 纯静态法律页面：使用系统字体，保留缩放、键盘导航及深浅外观。 */
:root {
  color-scheme: light dark;
  --background: #f5f7fb;
  --surface: #ffffff;
  --text: #172136;
  --secondary: #526078;
  --line: #dce3ee;
  --accent: #005fca;
  --notice: #fff4d6;
}
* { box-sizing: border-box; }
html { font: 100%/1.8 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
body { margin: 0; background: var(--background); color: var(--text); }
a { color: var(--accent); text-underline-offset: 0.18em; overflow-wrap: anywhere; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; border-radius: 4px; }
.skip { position: absolute; left: 1rem; top: -6rem; background: var(--surface); padding: 0.75rem; }
.skip:focus { top: 1rem; }
header, main, footer { width: min(100% - 2rem, 48rem); margin-inline: auto; }
header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.5rem; }
.brand { color: var(--text); font-weight: 750; font-size: 1.2rem; text-decoration: none; }
nav { display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; }
nav a { display: inline-flex; align-items: center; min-height: 44px; padding-block: 0.35rem; }
main { padding: clamp(1.25rem, 4vw, 3rem); background: var(--surface); border: 1px solid var(--line); border-radius: 1.25rem; }
h1 { font-size: clamp(1.8rem, 5vw, 2.6rem); line-height: 1.3; margin: 0 0 1rem; overflow-wrap: anywhere; }
h2 { font-size: 1.2rem; line-height: 1.5; margin: 2rem 0 0.5rem; }
p { margin: 0.75rem 0; }
ul { padding-inline-start: 1.5rem; }
li { margin-block: 0.5rem; }
.meta, footer { color: var(--secondary); font-size: 0.95rem; }
.notice { padding: 0.75rem 1rem; border-radius: 0.75rem; background: var(--notice); margin-bottom: 1.75rem; }
.intro { font-size: 1.1rem; }
.document-links { list-style: none; padding: 0; }
.document-links a { display: block; min-height: 44px; padding: 0.75rem 1rem; border: 1px solid var(--line); border-radius: 0.75rem; }
footer { padding-block: 1.5rem 2.5rem; overflow-wrap: anywhere; }
footer nav { margin-bottom: 0.5rem; }
@media (prefers-color-scheme: dark) {
  :root { --background: #101621; --surface: #192231; --text: #edf2fc; --secondary: #b3bfd4; --line: #344158; --accent: #8ac5ff; --notice: #3b321d; }
}
@media print {
  body, main { background: white; color: black; }
  header, footer, .skip { display: none; }
  main { width: 100%; border: 0; padding: 0; }
  a { color: inherit; }
}

