:root {
  color-scheme: light;
  --ink: #20302b;
  --muted: #69756e;
  --paper: #f5f3ed;
  --card: #fffefa;
  --line: #e7e4da;
  --green: #304d40;
  --green-soft: #e8eee8;
  --gold: #b78a4b;
  --warning: #8d5b22;
  --warning-bg: #fff6e8;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 24px; }

body {
  margin: 0;
  background:
    radial-gradient(ellipse at 87% 3%, rgba(183, 138, 75, .08), transparent 28rem),
    var(--paper);
  color: var(--ink);
  font-family: "Segoe UI", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  font-size: 15px;
  line-height: 1.9;
  text-rendering: optimizeLegibility;
}

a { color: var(--green); }
a:hover { color: #172e24; }

.skip-link {
  position: absolute;
  z-index: 3;
  top: -60px;
  left: 16px;
  padding: 8px 14px;
  background: var(--card);
  border: 1px solid var(--line);
}
.skip-link:focus { top: 12px; }

.site-header {
  border-bottom: 1px solid rgba(32, 48, 43, .08);
  background: rgba(255, 254, 250, .72);
}
.header-inner {
  width: min(1120px, calc(100% - 48px));
  min-height: 76px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.35;
  text-decoration: none;
  letter-spacing: .02em;
}
.brand small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .12em;
}
.brand-mark, .footer-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(183, 138, 75, .65);
  color: var(--green);
  font-family: "KaiTi", "STKaiti", serif;
  font-size: 21px;
}
.header-label {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .12em;
}

.page-shell { width: min(1120px, calc(100% - 48px)); margin: auto; }
.hero { padding: 70px 0 34px; }
.hero-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .2em;
}
.hero-kicker span { width: 23px; height: 1px; background: var(--gold); }
.hero h1 {
  margin: 13px 0 8px;
  color: #1c3028;
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", serif;
  font-size: clamp(38px, 6vw, 58px);
  font-weight: 500;
  letter-spacing: .08em;
  line-height: 1.25;
}
.hero-lead { margin: 0; color: var(--muted); font-size: 16px; }
.policy-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 24px;
  color: #737b73;
  font-size: 12px;
}

.template-notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0 0 28px;
  padding: 14px 18px;
  border: 1px solid #f0dfc4;
  border-radius: 6px;
  background: var(--warning-bg);
  color: #72552f;
  font-size: 13px;
  line-height: 1.75;
}
.template-notice p { margin: 0; }
.template-notice strong { color: var(--warning); }
.notice-icon {
  flex: 0 0 19px;
  width: 19px;
  height: 19px;
  margin-top: 2px;
  border: 1px solid #c39557;
  border-radius: 50%;
  color: #9c6a2b;
  font-size: 12px;
  font-weight: 700;
  line-height: 17px;
  text-align: center;
}

.content-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  align-items: start;
  gap: 26px;
  padding-bottom: 70px;
}
.contents {
  position: sticky;
  top: 20px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 254, 250, .83);
}
.contents summary {
  display: flex;
  justify-content: space-between;
  padding: 14px 16px 10px;
  color: var(--ink);
  cursor: pointer;
  font-size: 13px;
  font-weight: 650;
  list-style: none;
}
.contents summary::-webkit-details-marker { display: none; }
.contents summary span { color: var(--gold); }
.contents nav { display: grid; padding: 0 10px 12px; }
.contents nav a {
  padding: 7px 8px;
  border-radius: 4px;
  color: #626e66;
  font-size: 12px;
  line-height: 1.5;
  text-decoration: none;
}
.contents nav a:hover, .contents nav a:focus-visible { background: var(--green-soft); color: var(--green); }

.policy {
  min-width: 0;
  padding: 36px clamp(22px, 5vw, 58px) 25px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  box-shadow: 0 14px 44px rgba(49, 56, 46, .045);
}
.policy p { margin: 0 0 16px; }
.policy ul { margin: 4px 0 18px; padding-left: 1.45em; }
.policy li { padding-left: 3px; margin: 5px 0; }
.welcome {
  margin: 0 0 29px;
  padding: 21px 23px 4px;
  border-left: 3px solid var(--gold);
  background: #f8f6f0;
}
.welcome h2 {
  margin: 0 0 10px;
  color: var(--green);
  font-family: "Songti SC", "STSong", serif;
  font-size: 19px;
  font-weight: 600;
}
.welcome ul { margin-bottom: 16px; }
.policy-section {
  padding-top: 27px;
  margin-top: 30px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 22px;
}
.policy-section > h2 {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 0 0 21px;
  color: #243a30;
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", serif;
  font-size: 23px;
  font-weight: 600;
  line-height: 1.5;
}
.policy-section > h2 span {
  color: var(--gold);
  font-family: "Segoe UI", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
}
.policy h3 {
  margin: 24px 0 10px;
  color: #314c3e;
  font-size: 16px;
  font-weight: 650;
}
.policy h4 {
  margin: 18px 0 6px;
  color: #384b40;
  font-size: 14px;
  font-weight: 650;
}
.policy-section > h2 + h3 { margin-top: 0; }
.table-wrap { overflow-x: auto; margin: 18px 0 20px; }
table { width: 100%; min-width: 490px; border-collapse: collapse; font-size: 13px; }
th, td { padding: 11px 13px; border: 1px solid var(--line); text-align: left; }
th { background: #f3f5ef; color: #405748; font-weight: 650; }
td { color: #4b5850; }
.source-note {
  padding: 12px 14px;
  border-radius: 4px;
  background: #f7f5ef;
  color: #76756d;
  font-size: 13px;
}
address {
  display: grid;
  gap: 4px;
  margin: 17px 0 20px;
  padding: 16px 19px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #faf9f4;
  color: #4d5a51;
  font-style: normal;
}
.policy-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 38px;
  padding-top: 23px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}
.policy-footer p { flex: 1; margin: 0; }
.footer-mark { width: 30px; height: 30px; font-size: 17px; }
.policy-footer a { color: var(--green); text-decoration: none; }
.policy-footer a:hover { text-decoration: underline; }

@media (max-width: 760px) {
  .header-inner, .page-shell { width: min(100% - 32px, 600px); }
  .header-inner { min-height: 66px; }
  .hero { padding: 48px 0 25px; }
  .policy-meta { display: grid; gap: 3px; }
  .content-layout { grid-template-columns: 1fr; gap: 14px; padding-bottom: 38px; }
  .contents { position: static; }
  .contents details:not([open]) nav { display: none; }
  .contents summary { padding: 12px 15px; }
  .contents nav { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-bottom: 12px; }
  .policy { padding: 24px 20px 20px; }
  .policy-section { padding-top: 23px; margin-top: 25px; }
  .policy-section > h2 { font-size: 20px; }
}

@media (max-width: 420px) {
  body { font-size: 14px; }
  .header-inner, .page-shell { width: calc(100% - 24px); }
  .header-label { font-size: 11px; }
  .policy { padding-right: 16px; padding-left: 16px; }
  .welcome { padding-right: 16px; padding-left: 16px; }
  .contents nav { grid-template-columns: 1fr; }
  .policy-footer { flex-wrap: wrap; }
}

@media print {
  body { background: #fff; color: #111; font-size: 11pt; }
  .site-header, .contents, .skip-link, .policy-footer a { display: none; }
  .page-shell { width: 100%; }
  .hero { padding: 0 0 20px; }
  .template-notice { break-inside: avoid; }
  .content-layout { display: block; padding: 0; }
  .policy { padding: 0; border: 0; box-shadow: none; }
  .policy-section { break-inside: auto; }
  a { color: inherit; text-decoration: none; }
}
