:root {
  color-scheme: light dark;
  --paper: #f8f6ef;
  --paper-raised: #fffdf7;
  --ink: #20231f;
  --muted: #6f746d;
  --line: #dedbd0;
  --jade: #2d6f59;
  --jade-soft: #e5efe9;
  --gold: #9d7124;
  --shadow: 0 18px 48px rgba(49, 45, 34, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 0%, rgba(45, 111, 89, 0.08), transparent 30rem),
    var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.78;
}

a { color: var(--jade); text-underline-offset: 0.2em; }

a:hover { color: #1f5845; }

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  border-bottom: 1px solid rgba(222, 219, 208, 0.82);
  background: rgba(248, 246, 239, 0.9);
  backdrop-filter: blur(18px);
}

.header-inner,
.page,
.site-footer {
  width: min(100% - 32px, 820px);
  margin-inline: auto;
}

.header-inner {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 10px;
  background: var(--jade-soft);
  color: var(--jade);
  font-family: "Songti SC", STSong, serif;
  font-size: 20px;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px 18px;
  font-size: 14px;
}

.nav a { color: var(--muted); text-decoration: none; }
.nav a[aria-current="page"] { color: var(--jade); font-weight: 650; }

.page { padding: 64px 0 36px; }

.eyebrow {
  margin: 0 0 12px;
  color: var(--jade);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

h1,
h2,
h3 {
  font-family: "Songti SC", STSong, "Noto Serif SC", serif;
  line-height: 1.3;
}

h1 {
  margin: 0;
  font-size: clamp(34px, 7vw, 52px);
  letter-spacing: -0.03em;
}

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

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.notice,
.contact-card {
  margin: 36px 0;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper-raised);
  box-shadow: var(--shadow);
}

.notice strong { color: var(--jade); }

.document {
  margin-top: 48px;
  padding: 12px clamp(0px, 2vw, 14px);
}

.document section {
  padding: 26px 0;
  border-top: 1px solid var(--line);
}

.document h2 {
  margin: 0 0 12px;
  font-size: 24px;
}

.document h3 {
  margin: 22px 0 8px;
  font-size: 18px;
}

.document p,
.document ul,
.document ol { margin: 10px 0; }

.document ul,
.document ol { padding-left: 1.3em; }

.document li + li { margin-top: 6px; }

.document table { width: 100%; margin: 14px 0; border-collapse: collapse; font-size: 14px; }
.document th,
.document td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.document th { background: var(--paper-raised); font-weight: 650; }
.document td:first-child { white-space: nowrap; }

.summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 36px 0 4px;
}

.summary-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 253, 247, 0.74);
}

.summary-card h2 {
  margin: 0 0 6px;
  font-family: inherit;
  font-size: 17px;
}

.summary-card p { margin: 0; color: var(--muted); font-size: 14px; }

.contact-card h2 { margin: 0 0 8px; font-size: 25px; }
.contact-card p { margin: 8px 0; }

.button-link {
  display: inline-flex;
  min-height: 44px;
  margin-top: 10px;
  padding: 9px 18px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--jade);
  color: white;
  font-weight: 700;
  text-decoration: none;
}

.button-link:hover { background: #1f5845; color: white; }

.site-footer {
  padding: 28px 0 48px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.footer-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }

@media (max-width: 640px) {
  .header-inner { align-items: flex-start; padding: 13px 0; }
  .nav { gap: 5px 12px; }
  .page { padding-top: 42px; }
  .summary-grid { grid-template-columns: 1fr; }
  .notice, .contact-card { padding: 19px; }
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #181b19;
    --paper-raised: #202521;
    --ink: #f2efe7;
    --muted: #b4b0a6;
    --line: #383d38;
    --jade: #8cc7af;
    --jade-soft: #263d34;
    --gold: #d6b26d;
    --shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
  }
  body { background: radial-gradient(circle at 12% 0%, rgba(92, 155, 128, 0.12), transparent 30rem), var(--paper); }
  .site-header { background: rgba(24, 27, 25, 0.9); }
  .summary-card { background: rgba(32, 37, 33, 0.78); }
}

@media print {
  .site-header { position: static; }
  .nav { display: none; }
  .page { padding-top: 28px; }
  .notice, .contact-card { box-shadow: none; }
}
