:root {
  --paper: #f6f1e8;
  --paper-deep: #ebe1d1;
  --ink: #29251f;
  --ink-soft: #655d52;
  --muted: #8e8477;
  --jade: #2f6658;
  --jade-deep: #214b41;
  --cinnabar: #9c493c;
  --gold: #b08a4e;
  --line: rgba(70, 61, 49, 0.13);
  --card: rgba(255, 253, 248, 0.9);
  --shadow: 0 24px 70px rgba(55, 46, 35, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 5%, rgba(176, 138, 78, 0.15), transparent 24rem),
    radial-gradient(circle at 92% 18%, rgba(47, 102, 88, 0.1), transparent 28rem),
    linear-gradient(180deg, #fbf8f2 0%, var(--paper) 100%);
  font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  min-height: 100vh;
}

a { color: inherit; }

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

.nav-shell,
.page-shell {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.nav-shell {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(176, 138, 78, 0.45);
  border-radius: 50%;
  color: var(--jade-deep);
  font-family: "Songti SC", "STSong", serif;
  font-size: 18px;
  background: rgba(255, 253, 248, 0.72);
}

.brand-copy strong,
.brand-copy span { display: block; }
.brand-copy strong { font-family: "Songti SC", "STSong", serif; font-size: 17px; letter-spacing: .08em; }
.brand-copy span { margin-top: 2px; color: var(--muted); font-size: 10px; letter-spacing: .12em; }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  padding: 9px 12px;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 14px;
  text-decoration: none;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { background: rgba(47, 102, 88, 0.1); color: var(--jade-deep); }

.menu-button {
  display: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.7);
  padding: 8px 12px;
  color: var(--ink);
}

.page-shell { padding: 56px 0 72px; }

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(34px, 6vw, 76px);
  border: 1px solid var(--line);
  border-radius: 36px;
  background:
    linear-gradient(128deg, rgba(255,255,255,.94), rgba(244,237,225,.78)),
    var(--card);
  box-shadow: var(--shadow);
}

.hero::after {
  content: "妙观";
  position: absolute;
  right: -20px;
  bottom: -64px;
  color: rgba(47, 102, 88, 0.055);
  font-family: "Songti SC", "STSong", serif;
  font-size: clamp(130px, 23vw, 270px);
  line-height: 1;
  letter-spacing: -.1em;
  pointer-events: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--cinnabar);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--cinnabar); }

h1, h2, h3 { font-family: "Songti SC", "STSong", serif; font-weight: 700; }
h1 { max-width: 780px; margin: 0; font-size: clamp(38px, 6vw, 72px); line-height: 1.12; letter-spacing: .02em; }
.hero p { position: relative; z-index: 1; max-width: 720px; margin: 24px 0 0; color: var(--ink-soft); font-size: 17px; line-height: 1.9; }

.hero-actions { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid var(--jade);
  border-radius: 999px;
  color: white;
  background: var(--jade);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}
.button:hover { background: var(--jade-deep); }
.button.secondary { color: var(--jade-deep); background: transparent; border-color: rgba(47, 102, 88, .34); }

.section { margin-top: 58px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.section-heading h2 { margin: 0; font-size: clamp(26px, 3.5vw, 38px); }
.section-heading p { max-width: 520px; margin: 0; color: var(--muted); line-height: 1.7; }

.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card {
  position: relative;
  min-height: 210px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--card);
  box-shadow: 0 14px 40px rgba(55, 46, 35, 0.04);
}
.card h3 { margin: 18px 0 10px; font-size: 23px; }
.card p { margin: 0; color: var(--ink-soft); line-height: 1.8; }
.card-link { display: inline-block; margin-top: 20px; color: var(--jade-deep); font-weight: 700; text-decoration: none; }
.card-link::after { content: " →"; }

.status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--jade-deep);
  background: rgba(47, 102, 88, .09);
  font-size: 11px;
  font-weight: 700;
}
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--jade); }
.status.building { color: #795f32; background: rgba(176,138,78,.12); }
.status.building::before { background: var(--gold); }

.page-intro { max-width: 780px; margin-bottom: 34px; }
.page-intro h1 { font-size: clamp(34px, 5vw, 58px); }
.page-intro p { color: var(--ink-soft); font-size: 16px; line-height: 1.9; }

.notice {
  margin: 24px 0;
  padding: 18px 20px;
  border-left: 3px solid var(--gold);
  border-radius: 0 16px 16px 0;
  background: rgba(176, 138, 78, .1);
  color: var(--ink-soft);
  line-height: 1.8;
}

.prose { padding: clamp(24px, 5vw, 48px); border: 1px solid var(--line); border-radius: 28px; background: var(--card); }
.prose h2 { margin: 36px 0 12px; font-size: 25px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--ink-soft); line-height: 1.9; }
.prose ul, .prose ol { padding-left: 1.25em; }

.steps { counter-reset: steps; display: grid; gap: 14px; }
.step { position: relative; padding: 20px 20px 20px 70px; border: 1px solid var(--line); border-radius: 20px; background: var(--card); }
.step::before { counter-increment: steps; content: counter(steps); position: absolute; left: 20px; top: 20px; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--jade); font-weight: 700; }
.step h3 { margin: 0 0 6px; font-size: 19px; }
.step p { margin: 0; color: var(--ink-soft); line-height: 1.75; }

.site-footer { border-top: 1px solid var(--line); background: rgba(237, 228, 214, .55); }
.footer-shell { width: min(1160px, calc(100% - 32px)); margin: 0 auto; padding: 34px 0 38px; }
.footer-top { display: flex; justify-content: space-between; gap: 24px; }
.footer-title { font-family: "Songti SC", "STSong", serif; font-size: 18px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 14px; }
.footer-links a { color: var(--ink-soft); font-size: 13px; text-decoration: none; }
.footer-meta { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; line-height: 1.8; }
.footer-meta a { color: inherit; text-decoration: none; }
.footer-meta a:hover { text-decoration: underline; }

@media (max-width: 820px) {
  .menu-button { display: inline-flex; }
  .nav-links { display: none; position: absolute; left: 16px; right: 16px; top: 64px; padding: 12px; border: 1px solid var(--line); border-radius: 18px; background: #fbf8f2; box-shadow: var(--shadow); flex-direction: column; align-items: stretch; }
  .nav-links.open { display: flex; }
  .grid, .grid.two { grid-template-columns: 1fr; }
  .section-heading, .footer-top { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 560px) {
  .page-shell { width: min(100% - 22px, 1160px); padding-top: 28px; }
  .hero { padding: 30px 24px 34px; border-radius: 26px; }
  .hero p { font-size: 15px; }
  .hero-actions .button { width: 100%; }
  .section { margin-top: 42px; }
  .card { min-height: auto; padding: 22px; }
  .footer-shell { width: min(100% - 22px, 1160px); }
}
