:root {
  color-scheme: light;
  --ink: #16211f;
  --muted: #64706d;
  --line: #dce5e2;
  --surface: #ffffff;
  --background: #f4f7f6;
  --accent: #167a5b;
  --accent-soft: #e7f3ee;
  --blue: #2b66c3;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--background);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.75;
}

a { color: inherit; }

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 8px 12px;
  color: #fff;
  background: var(--ink);
  transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(220, 229, 226, 0.9);
  background: rgba(244, 247, 246, 0.92);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1120px, calc(100% - 40px));
  height: 68px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 760;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #fff;
  background: var(--accent);
  border-radius: 6px;
}

.site-header nav { display: flex; gap: 22px; }
.site-header nav a { color: var(--muted); font-size: 14px; font-weight: 650; text-decoration: none; }
.site-header nav a:hover { color: var(--accent); }

.policy-intro {
  padding: 76px 0 58px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(115deg, rgba(231, 243, 238, 0.95), rgba(242, 246, 255, 0.92)),
    var(--background);
}

.intro-inner { width: min(960px, calc(100% - 40px)); margin: 0 auto; }

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

h1 {
  margin: 0;
  font-size: 44px;
  line-height: 1.18;
  letter-spacing: 0;
}

.lead { max-width: 680px; margin: 18px 0 34px; color: var(--muted); font-size: 18px; }

.policy-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 32px;
  max-width: 840px;
  margin: 0;
  border-top: 1px solid rgba(22, 122, 91, 0.22);
}

.policy-meta div { padding: 14px 0; border-bottom: 1px solid rgba(22, 122, 91, 0.16); }
.policy-meta dt { color: var(--muted); font-size: 12px; font-weight: 700; }
.policy-meta dd { margin: 2px 0 0; font-weight: 670; overflow-wrap: anywhere; }

.policy-shell {
  display: grid;
  grid-template-columns: 220px minmax(0, 760px);
  gap: 60px;
  justify-content: center;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 58px 0 80px;
}

.toc { position: sticky; top: 96px; align-self: start; max-height: calc(100vh - 120px); overflow: auto; }
.toc > p { margin: 0 0 12px; font-size: 13px; font-weight: 780; }
.toc nav { display: grid; gap: 7px; }
.toc a { color: var(--muted); font-size: 13px; line-height: 1.45; text-decoration: none; }
.toc a:hover { color: var(--accent); }

.policy-content {
  min-width: 0;
  overflow-wrap: anywhere;
}
.opening { margin: 0 0 46px; padding-left: 18px; border-left: 3px solid var(--accent); font-size: 17px; }
.policy-content section { scroll-margin-top: 94px; padding: 0 0 42px; }

h2 {
  margin: 0 0 18px;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--line);
  font-size: 24px;
  line-height: 1.35;
  letter-spacing: 0;
}

h3 { margin: 28px 0 10px; font-size: 17px; line-height: 1.45; letter-spacing: 0; }
p { margin: 0 0 14px; }
ul, ol { margin: 0 0 16px; padding-left: 24px; }
li { margin: 0 0 8px; }

footer {
  padding: 28px 20px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: var(--surface);
  text-align: center;
  font-size: 13px;
}

footer p { margin: 2px 0; }

@media (max-width: 780px) {
  .header-inner { width: min(100% - 28px, 1120px); }
  .site-header nav { gap: 12px; }
  .policy-intro { padding: 52px 0 42px; }
  .intro-inner, .policy-shell { width: min(100% - 32px, 960px); }
  h1 { font-size: 34px; }
  .lead { font-size: 16px; }
  .policy-meta { grid-template-columns: 1fr; }
  .policy-shell { display: block; padding: 40px 0 64px; }
  .toc { position: static; max-height: none; margin-bottom: 42px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
  .toc nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px 18px; }
  .opening { font-size: 16px; }
  h2 { font-size: 21px; }
}

@media (max-width: 480px) {
  .brand span:last-child { display: none; }
  .policy-meta dd { font-size: 14px; }
  .toc nav { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

@media print {
  .site-header, .toc, footer { display: none; }
  .policy-intro { padding: 0 0 24px; background: #fff; }
  .policy-shell { display: block; width: 100%; padding: 32px 0 0; }
  .policy-content section { break-inside: avoid; }
}
