/* 滑词协议阅读页：独立样式、系统字体与系统深色，不依赖网站其他产品。 */
:root {
  color-scheme: light dark;
  --paper: #f7f8f6;
  --surface: #ffffff;
  --ink: #233a42;
  --secondary: #596d74;
  --accent: #346d83;
  --line: #dce4e4;
  --wash: #e8f0f2;
  --shadow: 0 20px 70px rgb(32 63 70 / 5%);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 18px;
  -webkit-text-size-adjust: 100%;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 5px; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
::selection { background: var(--wash); color: var(--ink); }
.site-header, .page, .site-footer { width: min(100% - 48px, 800px); margin-inline: auto; }
.site-header { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-block: 32px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; font-size: 24px; font-weight: 650; letter-spacing: 2px; }
.brand-mark { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 16px; background: var(--ink); color: var(--surface); font-size: 24px; letter-spacing: 0; }
.header-link { padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; line-height: 1.5; }
.page { padding-block: 32px 8px; }
.document-heading { margin-bottom: 32px; }
h1 { margin: 0 0 20px; font-size: clamp(32px, 6vw, 48px); line-height: 1.3; letter-spacing: -0.03em; font-weight: 650; }
.document-meta { display: flex; flex-wrap: wrap; gap: 8px 24px; color: var(--secondary); line-height: 1.7; }
.document-meta p { margin: 0; }
.policy-body { padding: 40px; border: 1px solid var(--line); border-radius: 28px; background: var(--surface); box-shadow: var(--shadow); }
.policy-section + .policy-section { margin-top: 36px; }
h2 { margin: 0 0 12px; font-size: 21px; line-height: 1.65; font-weight: 650; }
.policy-section p { margin: 0; font-size: 18px; line-height: 1.95; overflow-wrap: anywhere; white-space: pre-line; }
.document-links { display: flex; flex-wrap: wrap; gap: 12px; margin-block: 28px 0; }
.document-links a { display: inline-flex; align-items: center; justify-content: center; padding: 12px 20px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); text-decoration: none; line-height: 1.5; }
.document-links a:hover, .header-link:hover { background: var(--wash); }
.policy-list { display: grid; gap: 16px; margin-top: 32px; }
.policy-card { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 28px; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); box-shadow: var(--shadow); color: var(--ink); text-decoration: none; font-size: 22px; font-weight: 600; }
.policy-card:hover { border-color: var(--accent); background: var(--wash); }
.policy-card span[aria-hidden] { color: var(--accent); font-size: 26px; font-weight: 400; }
.site-footer { padding-block: 32px 48px; color: var(--secondary); line-height: 1.8; }
.site-footer p { margin: 0; overflow-wrap: anywhere; }
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #111b20;
    --surface: #19262c;
    --ink: #e7eff0;
    --secondary: #b1c2c8;
    --accent: #9fcfdf;
    --line: #35484f;
    --wash: #2a434d;
    --shadow: none;
  }
}
@media (max-width: 560px) {
  .site-header, .page, .site-footer { width: calc(100% - 36px); }
  .site-header { padding-block: 24px; gap: 12px; }
  .header-link { padding: 8px 12px; }
  .page { padding-top: 20px; }
  .policy-body { padding: 26px 22px; border-radius: 24px; }
  .policy-section + .policy-section { margin-top: 30px; }
  .document-heading { margin-bottom: 24px; }
  .policy-card { padding: 24px; }
}
@media print {
  :root { color-scheme: light; --ink: #000; --surface: #fff; --paper: #fff; --secondary: #333; --line: #ddd; --shadow: none; }
  .site-header, .document-links { display: none; }
  .site-header, .page, .site-footer { width: 100%; }
  .page { padding-top: 0; }
  .policy-body { border: 0; padding: 0; }
  .policy-section { break-inside: avoid; }
  h1 { font-size: 32px; }
}
