:root {
  --brand-500: #2e7d32;
  --brand-600: #256b29;
  --brand-700: #1b5e20;
  --brand-300: #81c784;
  --brand-200: #a5d6a7;
  --brand-100: #c8e6c9;
  --brand-50: #e8f5e9;
  --accent-500: #d4a017;
  --accent-600: #b8860b;
  --bg: #f6faf7;
  --bg-elevated: #ffffff;
  --bg-soft: #eef6ef;
  --text: #1c2a1e;
  --text-soft: #4a5a4d;
  --text-muted: #6b7c6e;
  --border: #d7e6d9;
  --border-soft: #e6f0e7;
  --shadow-sm: 0 1px 2px rgba(27, 94, 32, 0.06), 0 2px 8px rgba(27, 94, 32, 0.05);
  --shadow-md: 0 4px 12px rgba(27, 94, 32, 0.08), 0 12px 32px rgba(27, 94, 32, 0.08);
  --shadow-lg: 0 8px 24px rgba(27, 94, 32, 0.12), 0 24px 56px rgba(27, 94, 32, 0.12);
  --glass-bg: rgba(255, 255, 255, 0.68);
  --glass-border: rgba(255, 255, 255, 0.55);
  --grad-hero: linear-gradient(135deg, #e8f5e9 0%, #d4ecd6 35%, #c1e4c4 65%, #f0f9f1 100%);
  --grad-brand: linear-gradient(135deg, #2e7d32 0%, #43a047 55%, #66bb6a 100%);
  --grad-accent: linear-gradient(135deg, #d4a017 0%, #f0c14b 100%);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --radius-pill: 999px;
  --maxw: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --space: clamp(14px, 2.4vw, 22px);
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "SFMono-Regular", ui-monospace, "JetBrains Mono", Consolas, monospace;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --header-h: 64px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --brand-500: #66bb6a;
    --brand-600: #81c784;
    --brand-700: #a5d6a7;
    --brand-300: #4caf50;
    --brand-200: #388e3c;
    --brand-100: #2e7d32;
    --brand-50: #1d2b1f;
    --accent-500: #e6b422;
    --accent-600: #d4a017;
    --bg: #0f1511;
    --bg-elevated: #161e19;
    --bg-soft: #1a241d;
    --text: #e6f0e8;
    --text-soft: #b6c8ba;
    --text-muted: #8ba08f;
    --border: #2a3a2e;
    --border-soft: #223026;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4), 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.45), 0 12px 32px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.5), 0 24px 56px rgba(0, 0, 0, 0.4);
    --glass-bg: rgba(22, 30, 25, 0.62);
    --glass-border: rgba(102, 187, 106, 0.18);
    --grad-hero: linear-gradient(135deg, #14201a 0%, #17281d 35%, #1b3324 65%, #101a14 100%);
    --grad-brand: linear-gradient(135deg, #2e7d32 0%, #388e3c 55%, #4caf50 100%);
    --grad-accent: linear-gradient(135deg, #b8860b 0%, #e6b422 100%);
  }
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(900px 480px at 8% -6%, rgba(129, 199, 132, 0.18), transparent 60%),
    radial-gradient(760px 420px at 96% 4%, rgba(212, 160, 23, 0.10), transparent 62%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { max-width: 100%; height: auto; display: block; }
svg { vertical-align: middle; }

a {
  color: var(--brand-600);
  text-decoration: none;
  transition: color .25s var(--ease), background-color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
a:hover { color: var(--brand-500); }
a:focus-visible {
  outline: 3px solid var(--brand-300);
  outline-offset: 2px;
  border-radius: 6px;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 .6em;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
  text-wrap: balance;
}

h1 { font-size: clamp(1.75rem, 4.4vw, 2.85rem); line-height: 1.22; }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: clamp(1.1rem, 2.2vw, 1.35rem); }
h4 { font-size: clamp(1rem, 1.8vw, 1.15rem); }

p { margin: 0 0 1em; color: var(--text-soft); }
ul, ol { margin: 0 0 1em; padding-left: 1.35em; }
li { margin: 0 0 .45em; color: var(--text-soft); }
li::marker { color: var(--brand-500); }
strong { color: var(--text); font-weight: 700; }
small { font-size: .85em; color: var(--text-muted); }
time { font-size: .82rem; color: var(--text-muted); font-variant-numeric: tabular-nums; }
address { font-style: normal; }

header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--glass-bg);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4) inset, var(--shadow-sm);
}

header > div {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 10px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header-h);
}

header > div > a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--text);
  letter-spacing: -0.01em;
  white-space: nowrap;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
}
header > div > a:hover { color: var(--brand-600); transform: translateY(-1px); }
header > div > a svg {
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(46, 125, 50, 0.28);
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease);
}
header > div > a:hover svg { transform: rotate(-6deg) scale(1.05); box-shadow: 0 6px 18px rgba(46, 125, 50, 0.38); }
header > div > a span {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

header nav ul {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
  flex-wrap: wrap;
  justify-content: flex-end;
}
header nav li { margin: 0; }
header nav a {
  display: inline-block;
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  font-size: .9rem;
  font-weight: 600;
  color: var(--text-soft);
  white-space: nowrap;
  position: relative;
}
header nav a:hover,
header nav a:focus-visible {
  color: var(--brand-700);
  background: var(--brand-50);
  transform: translateY(-1px);
}
header nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-brand);
  transform: translateX(-50%);
  transition: width .3s var(--ease-out);
}
header nav a:hover::after { width: 40%; }

main {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter) 40px;
}

main > nav[aria-label="面包屑导航"] {
  margin: 18px 0 6px;
}
main > nav[aria-label="面包屑导航"] ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: .84rem;
  color: var(--text-muted);
}
main > nav[aria-label="面包屑导航"] li {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
}
main > nav[aria-label="面包屑导航"] li + li::before {
  content: "›";
  color: var(--brand-300);
  font-weight: 700;
}
main > nav[aria-label="面包屑导航"] a {
  color: var(--text-soft);
  padding: 2px 6px;
  border-radius: 6px;
}
main > nav[aria-label="面包屑导航"] a:hover { color: var(--brand-600); background: var(--brand-50); }

#hero {
  position: relative;
  margin: clamp(16px, 3vw, 30px) 0 clamp(24px, 4vw, 44px);
  padding: clamp(28px, 5vw, 60px) clamp(20px, 4vw, 52px);
  border-radius: var(--radius-xl);
  background: var(--grad-hero);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  isolation: isolate;
}
#hero::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto auto;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(212, 160, 23, 0.22), transparent 65%);
  border-radius: 50%;
  z-index: -1;
  animation: floatBlob 16s ease-in-out infinite;
}
#hero::after {
  content: "";
  position: absolute;
  inset: auto auto -45% -15%;
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(46, 125, 50, 0.20), transparent 66%);
  border-radius: 50%;
  z-index: -1;
  animation: floatBlob 20s ease-in-out infinite reverse;
}
@keyframes floatBlob {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-28px, 26px, 0) scale(1.08); }
}

#hero h1 {
  max-width: 20ch;
  background: linear-gradient(120deg, var(--brand-700) 0%, var(--brand-500) 45%, var(--accent-600) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  margin-bottom: .5em;
}
#hero p {
  max-width: 68ch;
  font-size: clamp(.95rem, 1.5vw, 1.05rem);
  color: var(--text-soft);
}
#hero figure {
  margin: clamp(20px, 3vw, 32px) 0 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-md);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
#hero figure:hover { transform: translateY(-4px) scale(1.006); box-shadow: var(--shadow-lg); }
#hero figure svg { width: 100%; height: auto; }
#hero figcaption {
  padding: 12px 18px 16px;
  font-size: .86rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-soft);
  text-align: center;
}

main > nav[aria-label="页面内锚点导航"] {
  margin: 0 0 clamp(24px, 4vw, 44px);
  padding: clamp(16px, 2.6vw, 24px);
  border-radius: var(--radius-lg);
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
}
main > nav[aria-label="页面内锚点导航"] h2 {
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 12px;
  font-weight: 700;
}
main > nav[aria-label="页面内锚点导航"] ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
main > nav[aria-label="页面内锚点导航"] li { margin: 0; }
main > nav[aria-label="页面内锚点导航"] a {
  display: inline-block;
  padding: 6px 14px;
  font-size: .84rem;
  font-weight: 600;
  color: var(--text-soft);
  background: var(--bg-elevated);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-pill);
  transition: all .28s var(--ease);
}
main > nav[aria-label="页面内锚点导航"] a:hover {
  color: #fff;
  background: var(--grad-brand);
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(46, 125, 50, 0.28);
}

main > section {
  position: relative;
  margin: 0 0 clamp(24px, 4vw, 44px);
  padding: clamp(22px, 3.6vw, 40px);
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .4s var(--ease);
  animation: riseIn .7s var(--ease-out) both;
}
main > section:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-200);
}
main > section > h2 {
  position: relative;
  padding-left: 18px;
  margin-bottom: 1em;
}
main > section > h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: .18em;
  bottom: .18em;
  width: 6px;
  border-radius: 4px;
  background: var(--grad-brand);
  box-shadow: 0 0 0 4px rgba(46, 125, 50, 0.08);
}
main > section > h3 { color: var(--brand-700); margin-top: 1.4em; }
main > section > h3:first-of-type { margin-top: .2em; }

@keyframes riseIn {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

#brand, #history, #culture, #products, #advantages,
#solutions, #applications, #cases, #reviews, #news,
#articles, #knowledge, #faq, #howto, #contact,
#sitemap, #links {
  scroll-margin-top: calc(var(--header-h) + 20px);
}

#history ul, #culture ul, #advantages ul, #howto ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 10px;
}
#history li, #culture li, #advantages li, #howto ul li {
  position: relative;
  padding: 12px 16px 12px 42px;
  background: var(--bg-soft);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  transition: transform .3s var(--ease-out), background .3s var(--ease), border-color .3s var(--ease);
}
#history li::before, #culture li::before, #advantages li::before, #howto ul li::before {
  content: "✓";
  position: absolute;
  left: 14px;
  top: 12px;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  font-size: .72rem;
  font-weight: 800;
  color: #fff;
  background: var(--grad-brand);
  border-radius: 50%;
  line-height: 1;
}
#history li:hover, #culture li:hover, #advantages li:hover, #howto ul li:hover {
  transform: translateX(4px);
  background: var(--brand-50);
  border-color: var(--brand-200);
}

#products > h3 + p,
#solutions > h3 + p,
#applications > h3 + p,
#knowledge > h3 + p {
  padding: 14px 18px;
  background: var(--bg-soft);
  border-left: 3px solid var(--brand-300);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

#products > h3,
#solutions > h3,
#applications > h3,
#knowledge > h3 {
  display: flex;
  align-items: center;
  gap: 10px;
}
#products > h3::before,
#solutions > h3::before,
#applications > h3::before,
#knowledge > h3::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--grad-accent);
  transform: rotate(45deg);
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(212, 160, 23, 0.4);
}

#cases > h3 {
  padding: 14px 18px 4px;
  margin: 0 0 6px;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  background: linear-gradient(180deg, var(--brand-50), transparent);
  border: 1px solid var(--border-soft);
  border-bottom: none;
}
#cases > h3 + p {
  margin: 0 0 18px;
  padding: 4px 18px 16px;
  border: 1px solid var(--border-soft);
  border-top: none;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  background: var(--bg-elevated);
}

#reviews blockquote {
  margin: 0 0 16px;
  padding: 20px 22px 18px 52px;
  position: relative;
  background: var(--bg-soft);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease), background .35s var(--ease);
}
#reviews blockquote::before {
  content: "\201C";
  position: absolute;
  left: 14px;
  top: 2px;
  font-size: 3.4rem;
  line-height: 1;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--brand-300);
  opacity: .75;
}
#reviews blockquote:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  background: var(--bg-elevated);
}
#reviews blockquote p {
  margin: 0 0 8px;
  font-size: 1rem;
  color: var(--text);
  font-style: italic;
}
#reviews blockquote footer {
  font-size: .84rem;
  color: var(--text-muted);
  font-weight: 600;
  text-align: right;
}
#reviews blockquote footer::before { content: "— "; }

#news article {
  position: relative;
  padding: 18px 20px;
  margin: 0 0 14px;
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  border: 1px solid var(--border-soft);
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
#news article::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  bottom: 16px;
  width: 4px;
  border-radius: 4px;
  background: var(--grad-accent);
  opacity: 0;
  transition: opacity .3s var(--ease);
}
#news article:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-200);
}
#news article:hover::before { opacity: 1; }
#news article h3 { margin: 0 0 6px; font-size: 1.05rem; }
#news article p { margin: 0; font-size: .92rem; }
#news article p:first-of-type { margin-bottom: 8px; }

#articles > p {
  padding: 14px 18px;
  background: var(--bg-soft);
  border-radius: var(--radius-sm);
  border: 1px dashed var(--brand-200);
  font-size: .92rem;
}
#articles > article {
  position: relative;
  padding: 20px 22px;
  margin: 0 0 14px;
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .4s var(--ease);
}
#articles > article::after {
  content: "";
  position: absolute;
  inset: 0 0 auto auto;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle at top right, rgba(129, 199, 132, 0.28), transparent 70%);
  pointer-events: none;
  transition: transform .5s var(--ease-out);
}
#articles > article:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-300);
}
#articles > article:hover::after { transform: scale(1.4); }
#articles > article h3 {
  margin: 0 0 6px;
  font-size: 1.08rem;
  color: var(--brand-700);
  transition: color .25s var(--ease);
}
#articles > article:hover h3 { color: var(--brand-500); }
#articles > article p { margin: 0 0 8px; font-size: .92rem; }
#articles > article p:last-child { margin: 0; }
#articles > article > p > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  font-size: .85rem;
  font-weight: 700;
  color: #fff;
  background: var(--grad-brand);
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 12px rgba(46, 125, 50, 0.26);
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease), filter .3s var(--ease);
}
#articles > article > p > a::after { content: "→"; transition: transform .3s var(--ease-out); }
#articles > article > p > a:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(46, 125, 50, 0.36);
  filter: brightness(1.06);
  color: #fff;
}
#articles > article > p > a:hover::after { transform: translateX(4px); }

#articles section[id^="article-"] {
  margin: 16px 0 0;
  padding: 20px 22px;
  border-radius: var(--radius-md);
  background: var(--bg-soft);
  border: 1px solid var(--border-soft);
  border-left: 4px solid var(--brand-300);
  scroll-margin-top: calc(var(--header-h) + 20px);
  transition: background .3s var(--ease), border-color .3s var(--ease);
}
#articles section[id^="article-"]:target {
  background: var(--brand-50);
  border-left-color: var(--accent-500);
  box-shadow: var(--shadow-sm);
}
#articles section[id^="article-"] h4 {
  color: var(--brand-700);
  margin: 0 0 10px;
  font-size: 1rem;
}
#articles section[id^="article-"] p {
  margin: 0;
  font-size: .93rem;
  color: var(--text-soft);
}

#faq details {
  margin: 0 0 12px;
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease-out);
}
#faq details:hover {
  border-color: var(--brand-200);
  box-shadow: var(--shadow-md);
}
#faq details[open] {
  border-color: var(--brand-300);
  background: linear-gradient(180deg, var(--brand-50), var(--bg-elevated) 40%);
}
#faq summary {
  position: relative;
  padding: 16px 52px 16px 20px;
  font-weight: 700;
  font-size: .98rem;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  transition: color .25s var(--ease), background .25s var(--ease);
  user-select: none;
}
#faq summary::-webkit-details-marker { display: none; }
#faq summary::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2.5px solid var(--brand-500);
  border-bottom: 2.5px solid var(--brand-500);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .35s var(--ease-out);
}
#faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
#faq summary:hover { color: var(--brand-600); background: var(--brand-50); }
#faq details > p {
  margin: 0;
  padding: 0 20px 18px;
  font-size: .93rem;
  color: var(--text-soft);
  animation: fadeSlide .4s var(--ease-out);
}
@keyframes fadeSlide {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

#howto ol {
  counter-reset: step;
  list-style: none;
  padding: 0;
  display: grid;
  gap: 12px;
}
#howto ol li {
  counter-increment: step;
  position: relative;
  padding: 16px 18px 16px 60px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
#howto ol li::before {
  content: counter(step);
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: .9rem;
  color: #fff;
  background: var(--grad-brand);
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(46, 125, 50, 0.3);
}
#howto ol li:hover {
  transform: translateX(4px);
  border-color: var(--brand-300);
  box-shadow: var(--shadow-md);
}
#howto ol li:nth-child(even)::before { background: var(--grad-accent); box-shadow: 0 4px 10px rgba(212, 160, 23, 0.32); }

#contact address ul {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
#contact address li {
  position: relative;
  margin: 0;
  padding: 14px 18px 14px 46px;
  background: var(--bg-soft);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  font-size: .93rem;
  color: var(--text-soft);
  transition: background .3s var(--ease), transform .3s var(--ease-out), border-color .3s var(--ease);
}
#contact address li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 50%;
  width: 16px;
  height: 16px;
  transform: translateY(-50%);
  border-radius: 50% 50% 50% 4px;
  background: var(--grad-brand);
  box-shadow: 0 2px 6px rgba(46, 125, 50, 0.35);
}
#contact address li:hover {
  background: var(--brand-50);
  border-color: var(--brand-200);
  transform: translateY(-2px);
}
#contact address a { font-weight: 600; word-break: break-all; }
#contact > p:last-of-type {
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
  border: 1px dashed var(--border);
  font-size: .84rem;
  color: var(--text-muted);
  text-align: center;
}

#sitemap ul, #links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
#sitemap li, #links li { margin: 0; }
#sitemap a, #links a {
  display: inline-block;
  padding: 7px 15px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-soft);
  background: var(--bg-soft);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-pill);
  transition: all .28s var(--ease);
}
#sitemap a:hover, #links a:hover {
  color: #fff;
  background: var(--grad-brand);
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(46, 125, 50, 0.26);
}

footer {
  margin-top: clamp(24px, 4vw, 44px);
  padding: clamp(28px, 4vw, 48px) var(--gutter) 28px;
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
  border-top: 1px solid var(--border-soft);
  position: relative;
}
footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad-brand);
}
footer > section {
  max-width: var(--maxw);
  margin: 0 auto 20px;
  padding: 18px 22px;
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease);
}
footer > section:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
footer > section h2 {
  font-size: .95rem;
  margin: 0 0 8px;
  color: var(--brand-700);
  display: flex;
  align-items: center;
  gap: 8px;
}
footer > section h2::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--grad-accent);
  transform: rotate(45deg);
  flex-shrink: 0;
}
footer > section p {
  margin: 0;
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.7;
}
footer > p {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 18px 0 0;
  border-top: 1px solid var(--border-soft);
  text-align: center;
  font-size: .82rem;
  color: var(--text-muted);
}

@media (min-width: 900px) {
  footer {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 20px;
    align-items: start;
  }
  footer > section { margin-bottom: 20px; }
  footer > p {
    grid-column: 1 / -1;
    width: 100%;
  }
}

@media (max-width: 980px) {
  header > div { flex-wrap: wrap; }
  header nav { width: 100%; order: 3; }
  header nav ul {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }
  header nav ul::-webkit-scrollbar { height: 4px; }
  header nav ul::-webkit-scrollbar-thumb { background: var(--brand-200); border-radius: 4px; }
  header nav a { padding: 6px 10px; font-size: .84rem; }
  header nav a::after { display: none; }
}

@media (max-width: 720px) {
  html { scroll-padding-top: calc(var(--header-h) + 76px); }
  body { font-size: 15px; }
  #hero { border-radius: var(--radius-lg); }
  #hero h1 { max-width: none; }
  main > section { border-radius: var(--radius-md); }
  main > section > h2 { padding-left: 14px; }
  main > section > h2::before { width: 5px; }
  #reviews blockquote { padding: 18px 16px 16px 44px; }
  #reviews blockquote::before { font-size: 2.8rem; left: 10px; }
  #articles > article { padding: 16px; }
  #articles section[id^="article-"] { padding: 16px; }
  #faq summary { padding: 14px 44px 14px 16px; font-size: .93rem; }
  #faq summary::after { right: 16px; }
  #faq details > p { padding: 0 16px 16px; }
  #howto ol li { padding: 14px 14px 14px 52px; }
  #howto ol li::before { left: 12px; width: 26px; height: 26px; font-size: .82rem; }
  #contact address ul { grid-template-columns: 1fr; }
  footer > section { padding: 16px; }
}

@media (max-width: 480px) {
  header > div > a span { font-size: .95rem; }
  header > div > a svg { width: 34px; height: 34px; }
  #hero { padding: 24px 18px; }
  main > section { padding: 18px 16px; }
  #history li, #culture li, #advantages li, #howto ul li { padding: 10px 12px 10px 38px; }
  #history li::before, #culture li::before, #advantages li::before, #howto ul li::before { left: 11px; width: 18px; height: 18px; font-size: .66rem; }
  main > nav[aria-label="页面内锚点导航"] a,
  #sitemap a, #links a { padding: 5px 11px; font-size: .8rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  #hero::before, #hero::after { animation: none; }
}

@media print {
  header, footer, main > nav[aria-label="页面内锚点导航"], #hero figure, #links { display: none; }
  body { background: #fff; color: #000; }
  main > section { box-shadow: none; border-color: #ccc; break-inside: avoid; }
  a { color: #000; text-decoration: underline; }
}