:root {
  --green: #2F7D5B;
  --green-dark: #1F2A26;
  --pink: #D96C8A;
  --orange: #E58A3A;
  --paper: #F7F8F5;
  --soft: #EEF3EF;
  --ink: #28312D;
  --muted: #6B756F;
  --line: #D7E0DA;
  --white: #fff;
  --shadow: 0 18px 48px rgba(31, 42, 38, .08);
  --radius: 22px;
  --shell: min(1180px, calc(100% - 40px));
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.75; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--green); }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid rgba(229,138,58,.5); outline-offset: 3px; }
.shell { width: var(--shell); margin-inline: auto; }
.shell--narrow { max-width: 840px; }
.skip-link { position: fixed; left: 16px; top: 10px; z-index: 999; padding: 10px 14px; background: var(--green-dark); color: #fff; transform: translateY(-150%); border-radius: 8px; }
.skip-link:focus { transform: translateY(0); }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(247,248,245,.94); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(47,125,91,.12); }
.header-row { min-height: 78px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; margin-right: auto; }
.brand img { width: 44px; height: 44px; object-fit: contain; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__text strong { font-size: 20px; color: var(--green-dark); }
.brand__text small { margin-top: 5px; color: var(--muted); font-size: 12px; }
.site-nav { display: flex; align-items: center; gap: 6px; }
.site-nav a { padding: 10px 13px; border-radius: 999px; color: #45504a; font-size: 14px; }
.site-nav a:hover, .site-nav a[aria-current="page"] { background: var(--soft); color: var(--green); }
.menu-toggle { display: none; border: 1px solid var(--line); background: var(--white); border-radius: 10px; padding: 9px 12px; color: var(--ink); font: inherit; }
.kicker { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em; color: var(--green); text-transform: uppercase; }
.front-hero { padding: 54px 0 42px; overflow: hidden; }
.front-hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr); gap: 48px; align-items: center; }
.front-hero h1, .page-intro h1, .article-head h1, .not-found h1 { margin: 12px 0 18px; color: var(--green-dark); font-size: clamp(36px, 5.5vw, 68px); line-height: 1.08; letter-spacing: -.035em; }
.front-hero__copy > p { max-width: 720px; margin: 0; color: #4c5852; font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 18px; border-radius: 12px; font-weight: 700; border: 1px solid transparent; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-1px); }
.button--primary { background: var(--green); color: #fff; box-shadow: 0 10px 26px rgba(47,125,91,.18); }
.button--primary:hover { color: #fff; background: #286d4f; }
.button--ghost { border-color: var(--line); background: rgba(255,255,255,.75); color: var(--green-dark); }
.signal-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 28px 0 0; padding: 0; }
.signal-list li { padding: 7px 11px; border-radius: 999px; background: var(--soft); color: #53615a; font-size: 13px; }
.front-hero__visual { position: relative; margin: 0; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow); transform: rotate(1deg); }
.front-hero__visual img { aspect-ratio: 19/13; width: 100%; object-fit: cover; border-radius: 20px; background: var(--soft); }
.front-hero__visual figcaption { padding: 12px 6px 2px; color: var(--muted); font-size: 13px; }
.content-band { padding: 72px 0; }
.content-band--soft { background: var(--soft); }
.section-head { display: flex; justify-content: space-between; gap: 42px; align-items: end; margin-bottom: 30px; }
.section-head h2, .split-feature h2, .community-strip h2, .utility-row h2, .deep-note h2, .community-code h2, .mobile-points h2, .article-body h2 { margin: 8px 0 0; font-size: clamp(27px, 3vw, 40px); line-height: 1.2; color: var(--green-dark); }
.section-head > p { max-width: 520px; margin: 0; color: var(--muted); }
.story-grid { display: grid; gap: 18px; }
.story-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.story-grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.story-card { min-width: 0; padding: 24px; border: 1px solid var(--line); background: rgba(255,255,255,.86); border-radius: var(--radius); box-shadow: 0 8px 22px rgba(31,42,38,.035); }
.story-card--compact { padding: 22px; }
.story-card__eyebrow { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 14px; font-size: 12px; color: var(--muted); }
.story-card__eyebrow span:first-child { color: var(--pink); font-weight: 700; }
.story-card h3 { margin: 0; font-size: 21px; line-height: 1.4; color: var(--green-dark); }
.story-card h3 a:hover { color: var(--green); }
.story-card p { margin: 13px 0 17px; color: #5c6862; font-size: 15px; }
.text-link { color: var(--green); font-weight: 700; font-size: 14px; }
.split-feature { padding: 70px 0; background: #fff; }
.split-feature__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; }
.feature-media img { width: 100%; aspect-ratio: 17/12; object-fit: cover; border-radius: 26px; background: var(--soft); }
.feature-copy > p { color: var(--muted); font-size: 17px; }
.topic-index { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; margin: 22px 0 26px; padding: 0; list-style: none; }
.topic-index li { padding-bottom: 9px; border-bottom: 1px dashed var(--line); }
.topic-index a { font-size: 14px; color: #45504a; }
.inline-more { margin-top: 24px; }
.community-strip { padding: 74px 0; background: var(--green-dark); color: #eaf0ec; }
.community-strip__grid { display: grid; grid-template-columns: 1.05fr .8fr 1fr; gap: 30px; align-items: center; }
.community-strip h2 { color: #fff; }
.community-strip p { color: #bcc7c1; }
.community-strip .button--ghost { background: transparent; border-color: #53645b; color: #fff; }
.community-strip img { border-radius: 24px; aspect-ratio: 29/21; object-fit: cover; background: #2a3a33; }
.mini-stack { display: grid; gap: 10px; }
.mini-stack a { display: block; padding: 15px; border: 1px solid #43544b; border-radius: 14px; background: rgba(255,255,255,.03); }
.mini-stack a:hover { border-color: #74877c; color: #fff; }
.mini-stack strong { display: block; margin-bottom: 6px; font-size: 14px; color: #fff; }
.mini-stack span { display: block; color: #aebbb4; font-size: 12px; line-height: 1.55; }
.utility-row { padding: 70px 0; }
.utility-row__grid { display: grid; grid-template-columns: 1.4fr .6fr; gap: 20px; }
.utility-row article, .utility-row aside { border-radius: var(--radius); border: 1px solid var(--line); background: #fff; padding: 24px; }
.utility-row article { display: grid; grid-template-columns: 240px 1fr; gap: 24px; align-items: center; }
.utility-row article img { width: 100%; aspect-ratio: 18/13; object-fit: cover; border-radius: 16px; background: var(--soft); }
.utility-row h2 { font-size: 25px; }
.utility-row p { color: var(--muted); }
.page-intro { padding: 64px 0; border-bottom: 1px solid var(--line); }
.page-intro--accent { background: linear-gradient(180deg, #fdf8f9 0, var(--paper) 100%); }
.page-intro--dark { background: var(--green-dark); color: #eaf0ec; border-bottom: 0; }
.page-intro--dark h1 { color: #fff; }
.page-intro--dark p { color: #bec8c2; }
.page-intro--dark .kicker { color: #ec9db3; }
.page-intro--mobile { background: linear-gradient(135deg, var(--soft), #fff7f1); }
.page-intro__grid { display: grid; grid-template-columns: 1fr minmax(360px,.75fr); gap: 48px; align-items: center; }
.page-intro h1 { font-size: clamp(38px, 5vw, 58px); }
.page-intro p { max-width: 720px; margin: 0; color: var(--muted); font-size: 17px; }
.page-intro img { width: 100%; aspect-ratio: 31/21; object-fit: cover; border-radius: 24px; background: var(--soft); }
.callout { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-bottom: 26px; padding: 18px 22px; background: #fff7ef; border: 1px solid #f0d8bd; border-radius: 16px; color: #675643; }
.callout strong { color: #9f5f26; }
.deep-note { padding: 66px 0; background: #fff; }
.deep-note__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.deep-note__grid > div, .community-code__grid > div { padding: 30px; border-left: 4px solid var(--green); background: var(--soft); border-radius: 0 18px 18px 0; }
.deep-note h2, .community-code h2 { font-size: 28px; }
.deep-note p, .community-code p { color: var(--muted); }
.three-principles { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-bottom: 26px; }
.three-principles > div { padding: 20px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.three-principles strong { color: var(--green-dark); }
.three-principles p { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.community-code { padding: 66px 0; background: #fff; }
.community-code__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.mobile-points { padding: 68px 0; background: var(--green-dark); color: #eaf0ec; }
.mobile-points__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.mobile-points article { padding: 24px; border: 1px solid #43544b; border-radius: 18px; }
.mobile-points h2 { color: #fff; font-size: 23px; }
.mobile-points p { color: #b8c4bd; }
.article-page { padding: 58px 0 30px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; color: var(--muted); font-size: 13px; }
.article-head h1 { font-size: clamp(36px, 5vw, 58px); }
.article-lead { font-size: 19px; color: #56615b; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.tag-row span { padding: 6px 10px; border-radius: 999px; background: var(--soft); color: var(--green); font-size: 12px; }
.article-body { margin-top: 34px; padding-top: 30px; border-top: 1px solid var(--line); font-size: 18px; }
.article-body p { margin: 0 0 24px; }
.article-body h2 { margin: 36px 0 14px; font-size: 28px; }
.article-note { margin-top: 34px; padding: 22px; border-radius: 16px; background: #fff7ef; border: 1px solid #f0d8bd; }
.article-note strong { color: #9f5f26; }
.article-note p { margin: 8px 0 0; font-size: 15px; color: #675643; }
.related-section { padding: 32px 0 72px; }
.not-found { min-height: 62vh; display: grid; align-items: center; text-align: center; }
.not-found .shell { padding: 70px 0; }
.not-found .hero-actions { justify-content: center; }
.site-footer { padding: 52px 0 20px; background: #18221e; color: #c0cbc4; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .6fr 1fr; gap: 36px; }
.site-footer strong, .site-footer h2 { color: #fff; }
.site-footer h2 { margin: 0 0 12px; font-size: 15px; }
.site-footer p { max-width: 580px; color: #9facA5; font-size: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 6px 0; }
.site-footer a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 34px; padding-top: 18px; border-top: 1px solid #2c3a34; font-size: 12px; color: #86968d; }
@media (max-width: 980px) {
  :root { --shell: min(100% - 28px, 900px); }
  .front-hero__grid, .page-intro__grid, .split-feature__grid { grid-template-columns: 1fr; }
  .front-hero__visual { max-width: 700px; transform: none; }
  .story-grid--three { grid-template-columns: repeat(2,1fr); }
  .community-strip__grid { grid-template-columns: 1fr 1fr; }
  .mini-stack { grid-column: 1 / -1; grid-template-columns: repeat(3,1fr); }
  .utility-row__grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .site-header { position: relative; backdrop-filter: none; }
  .header-row { min-height: 70px; flex-wrap: wrap; padding: 10px 0; }
  .brand__text small { display: none; }
  .menu-toggle { display: inline-flex; }
  .site-nav { display: none; width: 100%; padding: 8px 0 4px; border-top: 1px solid var(--line); flex-wrap: wrap; }
  .site-nav.is-open { display: flex; }
  .site-nav a { flex: 1 1 calc(50% - 8px); text-align: center; background: #fff; border: 1px solid var(--line); }
  .front-hero { padding-top: 34px; }
  .front-hero h1, .page-intro h1, .article-head h1 { font-size: clamp(34px, 10vw, 48px); }
  .front-hero__copy > p, .page-intro p, .article-lead { font-size: 16px; }
  .section-head { display: block; }
  .section-head > p { margin-top: 12px; }
  .story-grid--three, .story-grid--two, .deep-note__grid, .community-code__grid, .three-principles, .mobile-points__grid { grid-template-columns: 1fr; }
  .community-strip__grid { grid-template-columns: 1fr; }
  .mini-stack { grid-column: auto; grid-template-columns: 1fr; }
  .topic-index { grid-template-columns: 1fr; }
  .utility-row article { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}
@media (max-width: 480px) {
  :root { --shell: calc(100% - 22px); }
  .front-hero, .content-band, .page-intro { padding-block: 42px; }
  .story-card { padding: 19px; border-radius: 16px; }
  .hero-actions .button { width: 100%; }
  .signal-list { gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
