:root {
  --brand-500: #2e7d32;
  --brand-400: #43a047;
  --brand-600: #1b5e20;
  --brand-glow: rgba(46, 125, 50, 0.35);
  --accent: #ffb300;
  --accent-soft: rgba(255, 179, 0, 0.18);
  --bg: #f4f7f2;
  --bg-elev: #ffffff;
  --card-bg: rgba(255, 255, 255, 0.72);
  --card-border: rgba(46, 125, 50, 0.16);
  --glass-blur: 14px;
  --text: #1d2a1f;
  --text-soft: #4a5a4d;
  --text-mute: #6d7c70;
  --link: #1b6b2a;
  --link-hover: #0f4d1d;
  --shadow-sm: 0 2px 8px rgba(20, 40, 24, 0.06);
  --shadow-md: 0 10px 28px rgba(20, 40, 24, 0.10);
  --shadow-lg: 0 20px 48px rgba(20, 40, 24, 0.16);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --maxw: 1180px;
  --header-h: 68px;
  --ease: cubic-bezier(0.22, 0.68, 0, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d1410;
    --bg-elev: #131c16;
    --card-bg: rgba(22, 34, 26, 0.66);
    --card-border: rgba(120, 200, 140, 0.18);
    --text: #e6f2e8;
    --text-soft: #b6c8ba;
    --text-mute: #8aa08f;
    --link: #7fd694;
    --link-hover: #a6e8b6;
    --brand-glow: rgba(67, 160, 71, 0.4);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 10px 28px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 20px 48px rgba(0, 0, 0, 0.6);
  }
}

html[data-theme="dark"] {
  --bg: #0d1410;
  --bg-elev: #131c16;
  --card-bg: rgba(22, 34, 26, 0.66);
  --card-border: rgba(120, 200, 140, 0.18);
  --text: #e6f2e8;
  --text-soft: #b6c8ba;
  --text-mute: #8aa08f;
  --link: #7fd694;
  --link-hover: #a6e8b6;
  --brand-glow: rgba(67, 160, 71, 0.4);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 10px 28px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 20px 48px rgba(0, 0, 0, 0.6);
}

html[data-theme="light"] {
  --bg: #f4f7f2;
  --bg-elev: #ffffff;
  --card-bg: rgba(255, 255, 255, 0.72);
  --card-border: rgba(46, 125, 50, 0.16);
  --text: #1d2a1f;
  --text-soft: #4a5a4d;
  --text-mute: #6d7c70;
  --link: #1b6b2a;
  --link-hover: #0f4d1d;
}

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

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

body {
  margin: 0;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(1200px 520px at 8% -10%, rgba(67, 160, 71, 0.16), transparent 60%),
    radial-gradient(900px 420px at 100% 0%, rgba(255, 179, 0, 0.10), transparent 55%),
    radial-gradient(800px 600px at 50% 120%, rgba(46, 125, 50, 0.10), transparent 60%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: var(--link);
  text-decoration: none;
  transition: color 0.25s var(--ease), opacity 0.25s var(--ease);
}

a:hover,
a:focus-visible {
  color: var(--link-hover);
  text-decoration: underline;
  text-underline-offset: 3px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--brand-400);
  outline-offset: 3px;
  border-radius: 6px;
}

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

h1 {
  font-size: clamp(1.6rem, 1.1rem + 2.2vw, 2.6rem);
  letter-spacing: 0.02em;
}

h2 {
  font-size: clamp(1.3rem, 1.05rem + 1.1vw, 1.85rem);
  position: relative;
  padding-left: 16px;
}

h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.18em;
  bottom: 0.18em;
  width: 6px;
  border-radius: 6px;
  background: linear-gradient(180deg, var(--brand-400), var(--accent));
}

h3 {
  font-size: clamp(1.08rem, 0.98rem + 0.5vw, 1.3rem);
  color: var(--text);
}

p {
  margin: 0 0 1em;
  color: var(--text-soft);
  overflow-wrap: break-word;
}

ul, ol {
  margin: 0 0 1.2em;
  padding-left: 1.4em;
  color: var(--text-soft);
}

li {
  margin-bottom: 0.45em;
}

li::marker {
  color: var(--brand-400);
}

strong, b {
  color: var(--text);
}

blockquote {
  margin: 1.5em 0;
  padding: 1em 1.4em;
  border-left: 4px solid var(--brand-400);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: var(--card-bg);
  -webkit-backdrop-filter: blur(var(--glass-blur));
  backdrop-filter: blur(var(--glass-blur));
  box-shadow: var(--shadow-sm);
}

blockquote p {
  margin: 0.4em 0;
  color: var(--text-soft);
  font-style: italic;
}

blockquote p:last-child {
  margin-bottom: 0;
}

code, pre {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.92em;
}

code {
  padding: 0.15em 0.4em;
  border-radius: 6px;
  background: var(--accent-soft);
  color: var(--text);
}

figure {
  margin: 1.8em 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--card-bg);
}

figure img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  transition: transform 0.6s var(--ease);
}

figure:hover img {
  transform: scale(1.02);
}

figcaption {
  padding: 0.8em 1.2em;
  font-size: 0.9rem;
  color: var(--text-mute);
  text-align: center;
  background: var(--card-bg);
  -webkit-backdrop-filter: blur(var(--glass-blur));
  backdrop-filter: blur(var(--glass-blur));
}

header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--card-bg);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--card-border);
  box-shadow: var(--shadow-sm);
}

header nav {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0.6rem 1.2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1rem;
  min-height: var(--header-h);
}

header nav > div:first-child {
  flex: 0 0 auto;
}

header nav > div:first-child a {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  color: #fff;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand-500), var(--brand-400) 55%, var(--accent));
  box-shadow: 0 6px 18px var(--brand-glow);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  text-decoration: none;
}

header nav > div:first-child a:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px var(--brand-glow);
  text-decoration: none;
  color: #fff;
}

header nav ul {
  flex: 1 1 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

header nav ul li {
  margin: 0;
}

header nav ul li a {
  display: inline-block;
  padding: 0.35rem 0.7rem;
  font-size: 0.92rem;
  color: var(--text-soft);
  border-radius: 999px;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
  text-decoration: none;
}

header nav ul li a:hover {
  color: var(--text);
  background: var(--accent-soft);
  transform: translateY(-1px);
  text-decoration: none;
}

header nav form[role="search"] {
  flex: 0 1 auto;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
}

header nav form[role="search"] label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

header nav form[role="search"] input[type="search"] {
  width: clamp(140px, 22vw, 240px);
  padding: 0.45rem 0.9rem;
  font-size: 0.9rem;
  color: var(--text);
  background: var(--bg-elev);
  border: 1px solid var(--card-border);
  border-radius: 999px;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

header nav form[role="search"] input[type="search"]::placeholder {
  color: var(--text-mute);
}

header nav form[role="search"] input[type="search"]:focus {
  outline: none;
  border-color: var(--brand-400);
  box-shadow: 0 0 0 3px var(--brand-glow);
}

header nav form[role="search"] button,
header nav > button {
  padding: 0.45rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, var(--brand-500), var(--brand-400));
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), filter 0.25s var(--ease);
  box-shadow: 0 4px 14px var(--brand-glow);
  white-space: nowrap;
}

header nav form[role="search"] button:hover,
header nav > button:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 8px 22px var(--brand-glow);
}

header nav form[role="search"] button:active,
header nav > button:active {
  transform: translateY(0);
}

main {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 1.5rem 1.2rem 3rem;
}

main > nav[aria-label="面包屑导航"] {
  margin-bottom: 1.2rem;
}

main > nav[aria-label="面包屑导航"] ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  padding: 0.5rem 0.9rem;
  list-style: none;
  font-size: 0.86rem;
  color: var(--text-mute);
  background: var(--card-bg);
  -webkit-backdrop-filter: blur(var(--glass-blur));
  backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--card-border);
  border-radius: 999px;
  width: fit-content;
  max-width: 100%;
}

main > nav[aria-label="面包屑导航"] ol li {
  margin: 0;
  display: inline-flex;
  align-items: center;
}

main > nav[aria-label="面包屑导航"] ol li + li::before {
  content: "›";
  margin: 0 0.45rem;
  color: var(--text-mute);
  opacity: 0.7;
}

main > nav[aria-label="面包屑导航"] ol li a {
  color: var(--text-soft);
  text-decoration: none;
}

main > nav[aria-label="面包屑导航"] ol li a:hover {
  color: var(--link);
}

main > nav[aria-label="面包屑导航"] ol li[aria-current="page"] {
  color: var(--brand-500);
  font-weight: 600;
}

section {
  margin-bottom: 2.4rem;
  scroll-margin-top: calc(var(--header-h) + 16px);
}

#hero {
  position: relative;
  padding: clamp(1.6rem, 1rem + 3vw, 3.2rem);
  border-radius: var(--radius-xl);
  color: #fff;
  background:
    radial-gradient(900px 400px at 15% 0%, rgba(255, 255, 255, 0.22), transparent 60%),
    radial-gradient(700px 500px at 100% 100%, rgba(255, 179, 0, 0.35), transparent 60%),
    linear-gradient(135deg, #1b5e20 0%, #2e7d32 45%, #43a047 100%);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  isolation: isolate;
}

#hero::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto auto;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.28), transparent 65%);
  border-radius: 50%;
  z-index: -1;
  animation: floatGlow 12s ease-in-out infinite alternate;
}

#hero::after {
  content: "";
  position: absolute;
  inset: auto auto -30% -10%;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(255, 179, 0, 0.35), transparent 65%);
  border-radius: 50%;
  z-index: -1;
  animation: floatGlow 16s ease-in-out infinite alternate-reverse;
}

@keyframes floatGlow {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-24px, 24px, 0) scale(1.12); }
}

#hero h1 {
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.25);
  margin-bottom: 0.8em;
}

#hero p {
  color: rgba(255, 255, 255, 0.92);
  max-width: 68ch;
}

#hero p:last-of-type {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.78);
}

#hero figure {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
}

#hero figcaption {
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.08);
}

#hero a {
  color: #ffe082;
}

nav[aria-label="页内锚点导航"] {
  padding: 1.2rem 1.4rem;
  border-radius: var(--radius-lg);
  background: var(--card-bg);
  -webkit-backdrop-filter: blur(var(--glass-blur));
  backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-sm);
}

nav[aria-label="页内锚点导航"] h2 {
  font-size: 1.05rem;
  margin-bottom: 0.8em;
  padding-left: 14px;
}

nav[aria-label="页内锚点导航"] ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

nav[aria-label="页内锚点导航"] ul li {
  margin: 0;
}

nav[aria-label="页内锚点导航"] ul li a {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  font-size: 0.88rem;
  color: var(--text-soft);
  background: var(--bg-elev);
  border: 1px solid var(--card-border);
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

nav[aria-label="页内锚点导航"] ul li a:hover {
  color: #fff;
  background: linear-gradient(135deg, var(--brand-500), var(--brand-400));
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px var(--brand-glow);
  text-decoration: none;
}

#brand,
#product,
#solution,
#scenario,
#cases,
#news,
#articles,
#knowledge,
#faq,
#howto,
#notice,
#contact,
#sitemap,
#links,
#article-1,
#article-2,
#article-3,
#article-4,
#article-5,
#article-6,
#article-7,
#article-8,
#article-9,
#article-10 {
  padding: clamp(1.2rem, 0.9rem + 1.4vw, 2.2rem);
  border-radius: var(--radius-lg);
  background: var(--card-bg);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(140%);
  backdrop-filter: blur(var(--glass-blur)) saturate(140%);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
  animation: riseIn 0.7s var(--ease) both;
}

#brand:hover,
#product:hover,
#solution:hover,
#scenario:hover,
#cases:hover,
#news:hover,
#articles:hover,
#knowledge:hover,
#faq:hover,
#howto:hover,
#notice:hover,
#contact:hover,
#sitemap:hover,
#links:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(67, 160, 71, 0.4);
}

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

#brand h3,
#product h3,
#solution h3,
#scenario h3,
#cases h3,
#news h3,
#knowledge h3,
#howto h3,
#notice h3 {
  margin-top: 1.4em;
  padding-bottom: 0.35em;
  border-bottom: 1px dashed var(--card-border);
}

#brand h3:first-of-type,
#product h3:first-of-type,
#solution h3:first-of-type,
#scenario h3:first-of-type,
#cases h3:first-of-type,
#news h3:first-of-type,
#knowledge h3:first-of-type,
#howto h3:first-of-type,
#notice h3:first-of-type {
  margin-top: 0.4em;
}

#product ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.6rem 1.2rem;
  list-style: none;
  padding: 0;
  margin: 1em 0 0;
}

#product ul li {
  position: relative;
  margin: 0;
  padding: 0.7rem 0.9rem 0.7rem 2.4rem;
  font-size: 0.94rem;
  color: var(--text-soft);
  background: var(--bg-elev);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

#product ul li::before {
  content: "✓";
  position: absolute;
  left: 0.85rem;
  top: 0.7rem;
  width: 1.15rem;
  height: 1.15rem;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--brand-500), var(--brand-400));
  border-radius: 50%;
  box-shadow: 0 3px 10px var(--brand-glow);
}

#product ul li:hover {
  transform: translateY(-2px);
  border-color: rgba(67, 160, 71, 0.45);
  box-shadow: var(--shadow-sm);
}

#cases blockquote {
  margin: 1.2em 0 0;
}

#news h3 {
  padding: 0.7rem 0.9rem;
  margin-bottom: 0.4em;
  font-size: 1.02rem;
  background: var(--bg-elev);
  border: 1px solid var(--card-border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

#news h3:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}

#news p {
  padding-left: 1rem;
  font-size: 0.92rem;
}

#articles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.1rem;
  align-items: start;
}

#articles > h2,
#articles > p {
  grid-column: 1 / -1;
}

#articles article {
  display: flex;
  flex-direction: column;
  padding: 1.1rem 1.2rem;
  border-radius: var(--radius-md);
  background: var(--bg-elev);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

#articles article:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(67, 160, 71, 0.45);
}

#articles article h3 {
  font-size: 1.02rem;
  margin-bottom: 0.5em;
  line-height: 1.45;
}

#articles article p {
  font-size: 0.88rem;
  color: var(--text-mute);
  margin-bottom: 0.6em;
}

#articles article p:nth-of-type(2) {
  color: var(--text-soft);
  flex: 1 1 auto;
}

#articles article a {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.35rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, var(--brand-500), var(--brand-400));
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), filter 0.25s var(--ease);
  box-shadow: 0 4px 12px var(--brand-glow);
}

#articles article a::after {
  content: "→";
  transition: transform 0.25s var(--ease);
}

#articles article a:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 8px 20px var(--brand-glow);
  text-decoration: none;
  color: #fff;
}

#articles article a:hover::after {
  transform: translateX(3px);
}

#faq details {
  margin-bottom: 0.7rem;
  border-radius: var(--radius-md);
  background: var(--bg-elev);
  border: 1px solid var(--card-border);
  overflow: hidden;
  transition: box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

#faq details:hover {
  border-color: rgba(67, 160, 71, 0.4);
  box-shadow: var(--shadow-sm);
}

#faq details[open] {
  border-color: rgba(67, 160, 71, 0.55);
  box-shadow: var(--shadow-sm);
}

#faq summary {
  position: relative;
  padding: 0.9rem 2.6rem 0.9rem 1.1rem;
  font-weight: 600;
  font-size: 0.96rem;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
  user-select: none;
}

#faq summary::-webkit-details-marker {
  display: none;
}

#faq summary::after {
  content: "+";
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.5rem;
  height: 1.5rem;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--brand-500);
  background: var(--accent-soft);
  border-radius: 50%;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease);
}

#faq details[open] summary::after {
  content: "−";
  transform: translateY(-50%) rotate(180deg);
  color: #fff;
  background: linear-gradient(135deg, var(--brand-500), var(--brand-400));
}

#faq summary:hover {
  background: var(--accent-soft);
}

#faq details p {
  padding: 0 1.1rem 1rem;
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-soft);
  animation: fadeSlide 0.35s var(--ease) both;
}

@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#howto ol {
  counter-reset: howto;
  list-style: none;
  padding: 0;
  margin: 1em 0;
}

#howto ol li {
  counter-increment: howto;
  position: relative;
  margin-bottom: 0.7rem;
  padding: 0.8rem 1rem 0.8rem 3.2rem;
  font-size: 0.94rem;
  color: var(--text-soft);
  background: var(--bg-elev);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

#howto ol li::before {
  content: counter(howto);
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.75rem;
  height: 1.75rem;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--brand-500), var(--brand-400));
  border-radius: 50%;
  box-shadow: 0 4px 12px var(--brand-glow);
}

#howto ol li:hover {
  transform: translateX(4px);
  border-color: rgba(67, 160, 71, 0.45);
  box-shadow: var(--shadow-sm);
}

#howto ul {
  list-style: none;
  padding: 0;
}

#howto ul li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.94rem;
}

#howto ul li::before {
  content: "•";
  position: absolute;
  left: 0.3rem;
  color: var(--brand-400);
  font-weight: 800;
}

#notice {
  border-left: 4px solid var(--accent);
}

#contact address {
  font-style: normal;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0.7rem 1.4rem;
  margin: 0;
}

#contact address p {
  margin: 0;
  padding: 0.75rem 1rem;
  font-size: 0.92rem;
  color: var(--text-soft);
  background: var(--bg-elev);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

#contact address p:hover {
  transform: translateY(-2px);
  border-color: rgba(67, 160, 71, 0.45);
  box-shadow: var(--shadow-sm);
}

#contact address p a {
  word-break: break-all;
}

#sitemap ul,
#links ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

#sitemap ul li,
#links ul li {
  margin: 0;
}

#sitemap ul li a,
#links ul li a {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  font-size: 0.88rem;
  color: var(--text-soft);
  background: var(--bg-elev);
  border: 1px solid var(--card-border);
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

#sitemap ul li a:hover,
#links ul li a:hover {
  color: #fff;
  background: linear-gradient(135deg, var(--brand-500), var(--brand-400));
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px var(--brand-glow);
  text-decoration: none;
}

#article-1,
#article-2,
#article-3,
#article-4,
#article-5,
#article-6,
#article-7,
#article-8,
#article-9,
#article-10 {
  border-left: 4px solid var(--brand-400);
}

#article-1 h2,
#article-2 h2,
#article-3 h2,
#article-4 h2,
#article-5 h2,
#article-6 h2,
#article-7 h2,
#article-8 h2,
#article-9 h2,
#article-10 h2 {
  font-size: clamp(1.15rem, 1rem + 0.8vw, 1.5rem);
  padding-left: 14px;
}

#article-1 h2::before,
#article-2 h2::before,
#article-3 h2::before,
#article-4 h2::before,
#article-5 h2::before,
#article-6 h2::before,
#article-7 h2::before,
#article-8 h2::before,
#article-9 h2::before,
#article-10 h2::before {
  background: linear-gradient(180deg, var(--accent), var(--brand-400));
}

#article-1 p:first-of-type,
#article-2 p:first-of-type,
#article-3 p:first-of-type,
#article-4 p:first-of-type,
#article-5 p:first-of-type,
#article-6 p:first-of-type,
#article-7 p:first-of-type,
#article-8 p:first-of-type,
#article-9 p:first-of-type,
#article-10 p:first-of-type {
  font-size: 0.85rem;
  color: var(--text-mute);
  padding-bottom: 0.6rem;
  border-bottom: 1px dashed var(--card-border);
  margin-bottom: 1em;
}

footer {
  margin-top: 2rem;
  padding: 2.4rem 1.2rem 1.6rem;
  color: var(--text-soft);
  background:
    radial-gradient(800px 300px at 10% 0%, rgba(67, 160, 71, 0.14), transparent 60%),
    linear-gradient(180deg, transparent, rgba(20, 40, 24, 0.05));
  border-top: 1px solid var(--card-border);
}

footer > section {
  max-width: var(--maxw);
  margin: 0 auto 1.6rem;
  padding: 1.2rem 1.4rem;
  border-radius: var(--radius-lg);
  background: var(--card-bg);
  -webkit-backdrop-filter: blur(var(--glass-blur));
  backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

footer > section:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(67, 160, 71, 0.4);
}

footer h2 {
  font-size: 1.05rem;
  padding-left: 14px;
  margin-bottom: 0.8em;
}

footer h2::before {
  width: 4px;
  background: linear-gradient(180deg, var(--accent), var(--brand-400));
}

footer ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

footer ul li {
  margin: 0;
}

footer ul li a {
  display: inline-block;
  padding: 0.3rem 0.85rem;
  font-size: 0.88rem;
  color: var(--text-soft);
  background: var(--bg-elev);
  border: 1px solid var(--card-border);
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

footer ul li a:hover {
  color: #fff;
  background: linear-gradient(135deg, var(--brand-500), var(--brand-400));
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px var(--brand-glow);
  text-decoration: none;
}

footer > p {
  max-width: var(--maxw);
  margin: 0 auto;
  text-align: center;
  font-size: 0.88rem;
}

footer > p a {
  display: inline-block;
  padding: 0.4rem 1.2rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, var(--brand-500), var(--brand-400));
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 6px 18px var(--brand-glow);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), filter 0.25s var(--ease);
}

footer > p a:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 10px 26px var(--brand-glow);
  text-decoration: none;
  color: #fff;
}

main > section,
main > nav[aria-label="页内锚点导航"] {
  animation: riseIn 0.7s var(--ease) both;
}

main > section:nth-of-type(3) { animation-delay: 0.05s; }
main > section:nth-of-type(4) { animation-delay: 0.1s; }
main > section:nth-of-type(5) { animation-delay: 0.15s; }
main > section:nth-of-type(6) { animation-delay: 0.2s; }

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

@media (max-width: 900px) {
  header nav {
    padding: 0.5rem 0.9rem;
    gap: 0.5rem;
  }

  header nav ul {
    order: 3;
    flex-basis: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 0.25rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  header nav ul::-webkit-scrollbar {
    height: 4px;
  }

  header nav ul::-webkit-scrollbar-thumb {
    background: var(--card-border);
    border-radius: 4px;
  }

  header nav ul li a {
    white-space: nowrap;
    font-size: 0.86rem;
  }

  header nav form[role="search"] {
    flex: 1 1 auto;
    justify-content: flex-end;
  }

  header nav form[role="search"] input[type="search"] {
    width: clamp(120px, 40vw, 200px);
  }

  #articles {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15px;
    line-height: 1.7;
  }

  main {
    padding: 1rem 0.8rem 2.4rem;
  }

  header nav {
    flex-wrap: wrap;
  }

  header nav > div:first-child a {
    font-size: 0.95rem;
    padding: 0.3rem 0.75rem;
  }

  header nav > button {
    padding: 0.4rem 0.8rem;
    font-size: 0.82rem;
  }

  header nav form[role="search"] button {
    padding: 0.4rem 0.8rem;
    font-size: 0.82rem;
  }

  #hero {
    border-radius: var(--radius-lg);
    padding: 1.4rem 1.1rem;
  }

  #hero p {
    font-size: 0.95rem;
  }

  nav[aria-label="页内锚点导航"] {
    padding: 1rem;
  }

  nav[aria-label="页内锚点导航"] ul li a {
    font-size: 0.82rem;
    padding: 0.3rem 0.7rem;
  }

  #brand,
  #product,
  #solution,
  #scenario,
  #cases,
  #news,
  #articles,
  #knowledge,
  #faq,
  #howto,
  #notice,
  #contact,
  #sitemap,
  #links,
  #article-1,
  #article-2,
  #article-3,
  #article-4,
  #article-5,
  #article-6,
  #article-7,
  #article-8,
  #article-9,
  #article-10 {
    padding: 1.1rem 1rem;
    border-radius: var(--radius-md);
  }

  #articles {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  #product ul {
    grid-template-columns: 1fr;
  }

  #contact address {
    grid-template-columns: 1fr;
  }

  #faq summary {
    padding: 0.8rem 2.4rem 0.8rem 0.9rem;
    font-size: 0.9rem;
  }

  #howto ol li {
    padding: 0.7rem 0.8rem 0.7rem 2.9rem;
    font-size: 0.9rem;
  }

  blockquote {
    padding: 0.8rem 1rem;
  }

  footer {
    padding: 1.6rem 0.8rem 1.2rem;
  }

  footer > section {
    padding: 1rem;
    border-radius: var(--radius-md);
  }
}

@media (max-width: 400px) {
  header nav form[role="search"] input[type="search"] {
    width: 100%;
  }

  header nav form[role="search"] {
    flex-basis: 100%;
    order: 4;
  }
}

@media print {
  header,
  footer,
  nav[aria-label="页内锚点导航"],
  #hero::before,
  #hero::after {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
    font-size: 12pt;
  }

  section,
  #hero {
    box-shadow: none;
    border: 1px solid #ccc;
    background: #fff;
    page-break-inside: avoid;
  }

  a {
    color: #000;
    text-decoration: underline;
  }
}