:root {
  --bg: #f6f2e8;
  --paper: #fffaf0;
  --ink: #1d2a2c;
  --muted: #5b6b6f;
  --accent: #0f766e;
  --accent-soft: #d7efe9;
  --line: #e0d7c8;
  --shadow: 0 16px 50px rgba(28, 37, 38, 0.08);
  --title-font: 'Noto Serif SC', 'Source Han Serif SC', 'Songti SC', serif;
  --text-font: 'LXGW WenKai', 'PingFang SC', 'Hiragino Sans GB', sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--text-font);
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 22%, rgba(15, 118, 110, 0.2), transparent 40%),
    radial-gradient(circle at 88% 8%, rgba(191, 90, 41, 0.18), transparent 42%),
    linear-gradient(120deg, #f4efdf 0%, #f7f4eb 42%, #f3efe3 100%);
  min-height: 100vh;
  line-height: 1.65;
}

.ambient {
  position: fixed;
  z-index: 0;
  pointer-events: none;
  filter: blur(28px);
}

.ambient-left {
  width: 260px;
  height: 260px;
  top: 120px;
  left: -80px;
  background: rgba(20, 122, 116, 0.24);
}

.ambient-right {
  width: 280px;
  height: 280px;
  top: 18vh;
  right: -80px;
  background: rgba(191, 90, 41, 0.2);
}

.page {
  position: relative;
  z-index: 1;
  width: min(1080px, calc(100% - 32px));
  margin: 36px auto 48px;
}

.hero,
.card,
.callout,
.footer {
  background: rgba(255, 250, 240, 0.86);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero {
  border-radius: 28px;
  padding: 48px;
  margin-bottom: 20px;
}

.policy-meta {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
}

.policy-meta p {
  margin: 0 0 6px;
  color: var(--muted);
}

.policy-meta p:last-child {
  margin-bottom: 0;
}

.eyebrow {
  margin: 0;
  color: var(--accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 700;
}

h1,
h2 {
  font-family: var(--title-font);
  letter-spacing: 0.02em;
  margin-top: 0;
}

h1 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.18;
}

.lead {
  max-width: 52ch;
  color: var(--muted);
  margin: 0 0 18px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chips span {
  border: 1px solid #bfd8d3;
  background: var(--accent-soft);
  color: #0c5c56;
  font-size: 0.9rem;
  padding: 8px 12px;
  border-radius: 999px;
}

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

.toc {
  margin-bottom: 14px;
}

.toc h2 {
  margin-bottom: 8px;
}

.toc ol {
  margin: 0;
  padding-left: 22px;
  columns: 2;
  column-gap: 24px;
}

.toc li {
  margin-bottom: 6px;
  break-inside: avoid;
}

.toc a {
  color: #0f615b;
  text-decoration: none;
}

.toc a:hover {
  text-decoration: underline;
}

.policy {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.policy-section ol {
  margin: 0;
  padding-left: 22px;
  color: var(--muted);
}

.policy-section ol li {
  margin-bottom: 6px;
}

.card {
  border-radius: 20px;
  padding: 24px;
}

.card h2 {
  font-size: 1.28rem;
  margin-bottom: 8px;
}

.card ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.card p {
  color: var(--muted);
  margin: 0 0 10px;
}

.callout {
  margin-top: 16px;
  border-radius: 22px;
  padding: 24px 28px;
  border-left: 6px solid var(--accent);
}

.callout h2 {
  margin-bottom: 8px;
}

.callout p {
  margin: 0;
  color: var(--muted);
}

.footer {
  margin-top: 16px;
  border-radius: 18px;
  padding: 16px 20px;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer p {
  margin: 0 0 6px;
}

.footer p:last-child {
  margin-bottom: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 560ms ease,
    transform 620ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 820px) {
  .page {
    width: min(1080px, calc(100% - 20px));
    margin-top: 20px;
  }

  .hero {
    padding: 28px 20px;
    border-radius: 20px;
  }

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

  .toc ol {
    columns: 1;
  }

  .card,
  .callout {
    border-radius: 16px;
    padding: 18px;
  }
}
