:root {
  --bg: #f8f6ef;
  --paper: #fffdf8;
  --paper-soft: #f3f0e6;
  --ink: #2d302d;
  --muted: #6d716b;
  --line: rgba(54, 64, 54, 0.14);
  --green: #4c6756;
  --green-deep: #33483c;
  --green-soft: #e4ebe3;
  --shadow: 0 18px 46px rgba(42, 48, 40, 0.08);
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(248, 246, 239, 0.92), rgba(248, 246, 239, 0.92)),
    repeating-linear-gradient(90deg, rgba(83, 95, 78, 0.025) 0 1px, transparent 1px 7px),
    repeating-linear-gradient(0deg, rgba(83, 95, 78, 0.018) 0 1px, transparent 1px 9px),
    var(--bg);
  font-family:
    "Noto Sans SC",
    "Microsoft YaHei",
    "PingFang SC",
    "Hiragino Sans GB",
    Arial,
    sans-serif;
  letter-spacing: 0;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(54, 64, 54, 0.08);
  background: rgba(255, 253, 248, 0.88);
  backdrop-filter: blur(18px);
}

.header-inner {
  width: min(100% - 48px, var(--max));
  min-height: 72px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
}

.brand {
  font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", serif;
  font-size: 24px;
  font-weight: 600;
  color: var(--green-deep);
}

.site-nav {
  display: flex;
  justify-content: flex-end;
  gap: 28px;
  color: var(--muted);
  font-size: 14px;
}

.site-nav a {
  transition: color 160ms ease;
}

.site-nav a:hover {
  color: var(--green-deep);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

.header-cta {
  padding: 0 20px;
  color: #fffdf8;
  background: var(--green-deep);
  box-shadow: 0 10px 24px rgba(51, 72, 60, 0.16);
}

.section {
  padding: 112px 0;
}

.section-inner,
.hero-inner,
.footer-inner {
  width: min(100% - 48px, var(--max));
  margin: 0 auto;
}

.narrow {
  max-width: 820px;
}

.hero {
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  padding-top: 92px;
  padding-bottom: 96px;
}

.hero-inner {
  position: relative;
  max-width: 980px;
}

.hero-inner::before {
  content: "";
  position: absolute;
  left: -28px;
  top: -34px;
  width: 76px;
  height: 76px;
  border-top: 1px solid rgba(76, 103, 86, 0.26);
  border-left: 1px solid rgba(76, 103, 86, 0.26);
}

.eyebrow,
.section-kicker {
  margin: 0 0 22px;
  color: var(--green);
  font-size: 13px;
  font-weight: 500;
}

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

h1,
h2,
h3 {
  font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", serif;
  font-weight: 500;
}

h1 {
  max-width: 940px;
  margin-bottom: 28px;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.22;
}

h2 {
  margin-bottom: 28px;
  font-size: clamp(28px, 3.5vw, 44px);
  line-height: 1.3;
}

h3 {
  margin-bottom: 18px;
  font-size: 26px;
  line-height: 1.35;
}

.hero-copy {
  max-width: 720px;
  margin-bottom: 38px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  padding: 0 26px;
  border: 1px solid transparent;
}

.button.primary {
  color: #fffdf8;
  background: var(--green-deep);
  box-shadow: 0 12px 28px rgba(51, 72, 60, 0.16);
}

.button.secondary {
  color: var(--green-deep);
  border-color: rgba(76, 103, 86, 0.28);
  background: rgba(255, 253, 248, 0.66);
}

.about-section,
.mini-program-section {
  background: rgba(255, 253, 248, 0.54);
}

.prose {
  color: var(--muted);
  font-size: 18px;
  line-height: 2.05;
}

.prose p {
  margin-bottom: 22px;
}

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

.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

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

.module-card {
  min-height: 310px;
  padding: 34px;
  border: 1px solid rgba(54, 64, 54, 0.1);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.82);
  box-shadow: var(--shadow);
}

.card-index {
  display: block;
  margin-bottom: 44px;
  color: rgba(76, 103, 86, 0.7);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
}

.module-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.95;
}

.audience-section {
  border-top: 1px solid rgba(54, 64, 54, 0.08);
  border-bottom: 1px solid rgba(54, 64, 54, 0.08);
}

.mini-program-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 64px;
  align-items: center;
  padding: 56px;
  border: 1px solid rgba(54, 64, 54, 0.1);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.96), rgba(243, 240, 230, 0.72)),
    var(--paper);
  box-shadow: var(--shadow);
}

.mini-program-copy p:not(.section-kicker) {
  max-width: 660px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: 18px;
  line-height: 2;
}

.qr-wrap {
  display: flex;
  justify-content: center;
}

.qr-placeholder {
  width: 220px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  padding: 20px;
  border: 1px solid rgba(76, 103, 86, 0.26);
  border-radius: 8px;
  color: var(--green);
  background:
    linear-gradient(90deg, transparent 0 21px, rgba(76, 103, 86, 0.08) 21px 22px, transparent 22px 44px),
    linear-gradient(0deg, transparent 0 21px, rgba(76, 103, 86, 0.08) 21px 22px, transparent 22px 44px),
    rgba(255, 253, 248, 0.9);
  text-align: center;
}

.qr-placeholder span {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(76, 103, 86, 0.5);
  border-radius: 50%;
}

.qr-placeholder strong {
  font-size: 16px;
  font-weight: 500;
}

.qr-placeholder em {
  color: rgba(76, 103, 86, 0.72);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 12px;
  font-style: normal;
}

.site-footer {
  padding: 54px 0 40px;
  color: rgba(45, 48, 45, 0.72);
  background: #eeeadf;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto;
  gap: 28px 60px;
  align-items: start;
}

.footer-inner strong {
  display: block;
  margin-bottom: 10px;
  color: var(--green-deep);
  font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", serif;
  font-size: 20px;
  font-weight: 500;
}

.footer-inner p {
  margin-bottom: 0;
  line-height: 1.8;
}

.footer-meta {
  display: grid;
  gap: 8px;
  justify-items: end;
  font-size: 14px;
  line-height: 1.7;
}

.footer-meta a {
  color: var(--green-deep);
}

.copyright {
  grid-column: 1 / -1;
  padding-top: 26px;
  border-top: 1px solid rgba(54, 64, 54, 0.1);
  font-size: 13px;
}

@media (max-width: 880px) {
  .header-inner {
    width: min(100% - 32px, var(--max));
    min-height: 88px;
    grid-template-columns: 1fr auto;
    gap: 10px 18px;
    padding: 12px 0;
  }

  .brand {
    font-size: 22px;
  }

  .site-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 2px;
    font-size: 13px;
  }

  .header-cta {
    min-height: 38px;
    padding: 0 16px;
    font-size: 13px;
  }

  .section {
    padding: 78px 0;
  }

  .section-inner,
  .hero-inner,
  .footer-inner {
    width: min(100% - 32px, var(--max));
  }

  .hero {
    min-height: auto;
    padding-top: 84px;
    padding-bottom: 86px;
  }

  .hero-inner::before {
    left: 0;
    top: -28px;
    width: 48px;
    height: 48px;
  }

  h1 {
    font-size: clamp(34px, 10vw, 48px);
  }

  .hero-copy,
  .prose,
  .mini-program-copy p:not(.section-kicker) {
    font-size: 16px;
  }

  .module-grid,
  .mini-program-panel {
    grid-template-columns: 1fr;
  }

  .module-card {
    min-height: auto;
    padding: 28px;
  }

  .card-index {
    margin-bottom: 28px;
  }

  .mini-program-panel {
    gap: 38px;
    padding: 34px 24px;
  }

  .qr-wrap {
    justify-content: flex-start;
  }

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

  .footer-meta {
    justify-items: start;
  }
}

@media (max-width: 520px) {
  .header-inner {
    width: min(100% - 28px, var(--max));
  }

  .header-cta {
    padding: 0 14px;
  }

  .site-nav {
    gap: 16px;
  }

  .section-inner,
  .hero-inner,
  .footer-inner {
    width: min(100% - 28px, var(--max));
  }

  .eyebrow,
  .section-kicker {
    margin-bottom: 18px;
  }

  h1 {
    margin-bottom: 22px;
    line-height: 1.28;
  }

  h2 {
    margin-bottom: 22px;
  }

  .hero-copy {
    margin-bottom: 30px;
    line-height: 1.85;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .module-card {
    padding: 26px 22px;
  }

  .mini-program-panel {
    padding: 30px 20px;
  }

  .qr-placeholder {
    width: 100%;
    max-width: 220px;
  }
}
