:root {
  color-scheme: light;
  --background: #f4f0e7;
  --panel: rgba(255, 248, 235, 0.78);
  --panel-strong: #fff7ea;
  --ink: #2c2922;
  --muted: #716858;
  --line: rgba(126, 111, 89, 0.24);
  --sage: #78947a;
  --pond: #579f9b;
  --pond-deep: #427b78;
  --clay: #c77a68;
  --amber: #d19457;
  --rose: #bd8c94;
  --foam: #f8fff6;
  --shadow: rgba(66, 123, 120, 0.14);
  --radius: 8px;
  --max: 1080px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(145deg, rgba(248, 255, 246, 0.64), transparent 34%),
    linear-gradient(180deg, var(--background), #e5f0e9 86%);
  font-family: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", system-ui, sans-serif;
  line-height: 1.78;
  letter-spacing: 0;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  position: relative;
  min-height: 620px;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
  border-bottom: 1px solid rgba(126, 111, 89, 0.18);
}

.hero__background {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 44%;
  filter: saturate(0.9) contrast(0.96);
  opacity: 0.46;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(244, 240, 231, 0.96) 0%, rgba(244, 240, 231, 0.82) 42%, rgba(244, 240, 231, 0.45) 100%),
    linear-gradient(180deg, rgba(248, 255, 246, 0.2), rgba(244, 240, 231, 0.95) 94%);
}

.topbar {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Songti SC", "Noto Serif SC", serif;
  font-weight: 600;
  font-size: 21px;
  color: var(--ink);
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  box-shadow:
    0 14px 30px rgba(66, 123, 120, 0.18),
    inset 0 0 0 1px rgba(255, 255, 255, 0.58);
}

.brand--small {
  font-size: 17px;
}

.brand--small img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.nav-link {
  color: var(--muted);
  border-bottom: 1px solid rgba(113, 104, 88, 0.36);
  padding-bottom: 3px;
  font-size: 14px;
}

.nav-links {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-link:hover {
  color: var(--pond-deep);
  border-color: var(--pond-deep);
}

.nav-link--active {
  color: var(--pond-deep);
  border-color: var(--pond-deep);
}

.hero__content {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  align-self: center;
  padding: 48px 0 110px;
}

.hero--compact {
  min-height: 520px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--pond-deep);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-family: "Songti SC", "Noto Serif SC", serif;
  font-size: clamp(48px, 8vw, 88px);
  line-height: 1.03;
  font-weight: 600;
}

.hero__lead {
  max-width: 740px;
  color: #4c463b;
  font-size: clamp(18px, 2.5vw, 24px);
  line-height: 1.72;
}

.updated {
  display: inline-flex;
  margin-top: 10px;
  padding: 8px 14px;
  color: #6d604d;
  background: rgba(255, 248, 235, 0.64);
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 999px;
  box-shadow: 0 12px 34px rgba(66, 123, 120, 0.08);
  font-size: 14px;
}

.updated a,
.text-link {
  color: var(--pond-deep);
  border-bottom: 1px solid rgba(66, 123, 120, 0.42);
}

.updated a:hover,
.text-link:hover {
  border-color: currentColor;
}

.summary-band {
  position: relative;
  margin-top: -74px;
  padding: 0 0 74px;
}

.summary-band h2 {
  width: 1px;
  height: 1px;
  position: absolute;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

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

.summary-item {
  min-height: 204px;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.36), rgba(255, 248, 235, 0.76)),
    var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  box-shadow: 0 20px 48px var(--shadow);
  backdrop-filter: blur(18px);
}

.mark {
  display: block;
  width: 40px;
  height: 5px;
  margin-bottom: 24px;
  border-radius: 999px;
}

.mark--sage {
  background: var(--sage);
}

.mark--pond {
  background: var(--pond);
}

.mark--clay {
  background: var(--clay);
}

.summary-item h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.28;
}

.summary-item p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
}

.policy {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 12px 0 86px;
}

.policy-section {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 32px;
  padding: 42px 0;
  border-top: 1px solid var(--line);
}

.section-number {
  margin: 3px 0 0;
  color: var(--pond-deep);
  font-family: "Songti SC", "Noto Serif SC", serif;
  font-size: 18px;
  font-weight: 700;
}

.policy-section h2 {
  margin-bottom: 18px;
  font-family: "Songti SC", "Noto Serif SC", serif;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.2;
  font-weight: 600;
}

.policy-section p,
.policy-section li {
  max-width: 840px;
  color: #514a3f;
  font-size: 17px;
}

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

ul {
  max-width: 900px;
  margin: 0;
  padding: 0;
  list-style: none;
}

li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 12px;
}

li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.82em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 4px rgba(209, 148, 87, 0.12);
}

.footer {
  padding: 32px 0;
  background: rgba(255, 248, 235, 0.54);
  border-top: 1px solid var(--line);
}

.footer__content {
  display: block;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

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

.footer__meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  flex-wrap: wrap;
}

.footer__record {
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}

.footer__record:hover {
  color: var(--pond-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --background: #171b17;
    --panel: rgba(34, 39, 32, 0.78);
    --panel-strong: #22271f;
    --ink: #ede6d9;
    --muted: #b9ad98;
    --line: rgba(236, 226, 208, 0.16);
    --sage: #82b194;
    --pond: #6dc2bb;
    --pond-deep: #93d3cc;
    --clay: #d78370;
    --amber: #e1a760;
    --rose: #cf8797;
    --shadow: rgba(0, 0, 0, 0.28);
  }

  body {
    background:
      linear-gradient(145deg, rgba(24, 35, 31, 0.86), transparent 34%),
      linear-gradient(180deg, var(--background), #15231f 88%);
  }

  .hero__background {
    opacity: 0.18;
    filter: saturate(0.7) contrast(0.86);
  }

  .hero::after {
    background:
      linear-gradient(90deg, rgba(23, 27, 23, 0.98) 0%, rgba(23, 27, 23, 0.86) 44%, rgba(23, 27, 23, 0.56) 100%),
      linear-gradient(180deg, rgba(24, 36, 32, 0.12), rgba(23, 27, 23, 0.96) 94%);
  }

  .hero__lead,
  .policy-section p,
  .policy-section li {
    color: #d8cdb9;
  }

  .updated,
  .summary-item,
  .footer {
    background: rgba(34, 39, 32, 0.66);
    border-color: rgba(236, 226, 208, 0.14);
  }
}

@media (max-width: 760px) {
  .container,
  .topbar,
  .hero__content,
  .policy {
    width: min(100% - 28px, var(--max));
  }

  .hero {
    min-height: 560px;
  }

  .topbar {
    min-height: 70px;
  }

  .nav-links {
    gap: 12px;
  }

  .hero__content {
    padding: 36px 0 96px;
  }

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

  .summary-item {
    min-height: 0;
    padding: 20px;
  }

  .policy {
    padding-bottom: 54px;
  }

  .policy-section {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 34px 0;
  }

  .section-number {
    font-size: 15px;
  }

  .policy-section p,
  .policy-section li {
    font-size: 16px;
  }

  .footer__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer__meta {
    justify-content: flex-start;
    gap: 8px 12px;
  }
}
