:root {
  color-scheme: light;
  --ink: #17231c;
  --ink-soft: #4e5f55;
  --ink-muted: #758178;
  --paper: #fbfcf8;
  --paper-deep: #f0f4ed;
  --card: rgba(255, 255, 255, 0.9);
  --line: rgba(39, 70, 47, 0.14);
  --green: #245a3b;
  --green-light: #e6f1e6;
  --gold: #a9803a;
  --shadow: 0 24px 80px rgba(42, 67, 49, 0.1);
  font-family:
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC",
    sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 8% 4%, rgba(143, 190, 117, 0.18), transparent 30rem),
    radial-gradient(circle at 92% 24%, rgba(205, 181, 125, 0.12), transparent 28rem),
    linear-gradient(180deg, #fbfcf9 0%, #f4f7f1 100%);
}

a {
  color: var(--green);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

a:hover {
  color: #173f29;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(251, 252, 248, 0.88);
  backdrop-filter: blur(18px);
}

.site-header__inner {
  width: min(1160px, calc(100% - 32px));
  min-height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(42, 67, 49, 0.16);
}

.brand strong {
  display: block;
  font-size: 16px;
  letter-spacing: 0.04em;
}

.brand span {
  display: block;
  margin-top: 2px;
  color: var(--ink-muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  padding: 9px 12px;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 14px;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: var(--green-light);
  color: var(--green);
}

.hero {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0 44px;
}

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

.hero h1 {
  max-width: 880px;
  margin: 0;
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", serif;
  font-size: clamp(40px, 7vw, 76px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.055em;
}

.hero__lead {
  max-width: 760px;
  margin: 22px 0 0;
  color: var(--ink-soft);
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.85;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.meta-chip {
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  color: var(--ink-muted);
  font-size: 13px;
}

.document-layout {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto 72px;
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.toc {
  position: sticky;
  top: 98px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.7);
}

.toc strong {
  display: block;
  margin-bottom: 12px;
  font-size: 13px;
  letter-spacing: 0.08em;
}

.toc a {
  display: block;
  padding: 6px 0;
  color: var(--ink-muted);
  font-size: 13px;
  line-height: 1.45;
  text-decoration: none;
}

.toc a:hover {
  color: var(--green);
}

.document {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.document__notice {
  padding: 22px clamp(24px, 5vw, 54px);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(230, 241, 230, 0.92), rgba(249, 247, 236, 0.8));
  color: #345541;
  font-size: 14px;
  line-height: 1.75;
}

.document__body {
  padding: 12px clamp(24px, 5vw, 58px) 58px;
}

.document section {
  padding-top: 42px;
  scroll-margin-top: 88px;
}

.document h2 {
  margin: 0 0 18px;
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", serif;
  font-size: clamp(23px, 3vw, 30px);
  line-height: 1.35;
}

.document h3 {
  margin: 28px 0 10px;
  font-size: 17px;
  line-height: 1.5;
}

.document p,
.document li {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.9;
}

.document p {
  margin: 10px 0;
}

.document ul,
.document ol {
  margin: 12px 0;
  padding-left: 1.45rem;
}

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

.callout {
  margin: 22px 0;
  padding: 18px 20px;
  border-left: 4px solid var(--green);
  border-radius: 0 16px 16px 0;
  background: var(--green-light);
}

.callout strong {
  color: var(--green);
}

.callout p {
  margin: 5px 0 0;
  color: #345541;
}

.table-wrap {
  overflow-x: auto;
  margin: 20px 0;
  border: 1px solid var(--line);
  border-radius: 18px;
}

table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.65);
}

th,
td {
  padding: 15px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  text-align: left;
  font-size: 14px;
  line-height: 1.65;
}

th {
  background: #f1f5ee;
  color: var(--ink);
  font-weight: 700;
}

td {
  color: var(--ink-soft);
}

tr:last-child td {
  border-bottom: 0;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 18px 0;
}

.support-card {
  min-height: 156px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
}

.support-card__label {
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.support-card h3 {
  margin: 10px 0 8px;
}

.support-card p {
  margin: 0;
  font-size: 14px;
}

.primary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-top: 16px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--green);
  color: white;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.primary-link:hover {
  background: #173f29;
  color: white;
}

.steps {
  margin: 22px 0;
  padding: 0;
  counter-reset: step;
  list-style: none;
}

.steps li {
  position: relative;
  min-height: 48px;
  padding: 6px 0 20px 54px;
  counter-increment: step;
}

.steps li::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--green);
  color: white;
  content: counter(step);
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 800;
}

.faq details {
  border-top: 1px solid var(--line);
}

.faq details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  padding: 18px 0;
  color: var(--ink);
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
}

.faq details p {
  margin: -4px 0 18px;
}

.site-footer {
  padding: 34px 16px 42px;
  border-top: 1px solid var(--line);
  color: var(--ink-muted);
  text-align: center;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  margin-bottom: 16px;
}

.site-footer a {
  color: var(--ink-soft);
  font-size: 13px;
}

.site-footer p {
  margin: 5px 0;
  font-size: 12px;
  line-height: 1.65;
}

@media (max-width: 820px) {
  .site-header__inner {
    min-height: 62px;
  }

  .site-nav a {
    padding: 8px;
    font-size: 13px;
  }

  .site-nav a:first-child {
    display: none;
  }

  .hero {
    padding: 48px 0 30px;
  }

  .document-layout {
    grid-template-columns: 1fr;
  }

  .toc {
    position: static;
    display: none;
  }

  .document {
    border-radius: 22px;
  }

  .support-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .site-header__inner,
  .hero,
  .document-layout {
    width: min(100% - 22px, 1160px);
  }

  .brand span {
    display: none;
  }

  .site-nav {
    gap: 0;
  }

  .site-nav a {
    font-size: 12px;
  }

  .hero h1 {
    letter-spacing: -0.07em;
  }

  .document__body {
    padding-right: 20px;
    padding-left: 20px;
  }

  .document p,
  .document li {
    font-size: 14px;
    line-height: 1.85;
  }
}

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