:root {
  --hm-primary: #ff4d6d;
  --hm-primary-dark: #e6395a;
  --hm-primary-light: #ff7a92;
  --hm-secondary: #7b2ff7;
  --hm-accent: #06d6a0;
  --hm-accent-2: #118ab2;
  --hm-warn: #ffd166;
  --hm-bg: #fff7f9;
  --hm-bg-soft: #ffeef3;
  --hm-surface: #ffffff;
  --hm-surface-2: #fff2f5;
  --hm-text: #1f1f2e;
  --hm-text-soft: #5a5a6e;
  --hm-text-muted: #8d8d9e;
  --hm-border: rgba(255, 77, 109, 0.16);
  --hm-shadow-sm: 0 4px 14px rgba(255, 77, 109, 0.10);
  --hm-shadow-md: 0 12px 32px rgba(255, 77, 109, 0.16);
  --hm-shadow-lg: 0 24px 60px rgba(123, 47, 247, 0.18);
  --hm-radius-sm: 12px;
  --hm-radius: 18px;
  --hm-radius-lg: 28px;
  --hm-radius-pill: 999px;
  --hm-glass-bg: rgba(255, 255, 255, 0.62);
  --hm-glass-border: rgba(255, 255, 255, 0.55);
  --hm-glass-blur: 18px;
  --hm-gradient-hero: linear-gradient(135deg, #ff4d6d 0%, #ff7a92 35%, #7b2ff7 100%);
  --hm-gradient-btn: linear-gradient(135deg, #ff4d6d 0%, #7b2ff7 100%);
  --hm-gradient-accent: linear-gradient(135deg, #06d6a0 0%, #118ab2 100%);
  --hm-font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --hm-header-h: 72px;
  --hm-transition: 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --hm-bg: #12101a;
    --hm-bg-soft: #1a1726;
    --hm-surface: #1e1b2b;
    --hm-surface-2: #262238;
    --hm-text: #f4f2fb;
    --hm-text-soft: #c3bfd6;
    --hm-text-muted: #8f8aa6;
    --hm-border: rgba(255, 122, 146, 0.22);
    --hm-glass-bg: rgba(30, 27, 43, 0.62);
    --hm-glass-border: rgba(255, 255, 255, 0.10);
    --hm-shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.35);
    --hm-shadow-md: 0 12px 32px rgba(0, 0, 0, 0.45);
    --hm-shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.55);
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--hm-font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--hm-text);
  background-color: var(--hm-bg);
  background-image:
    radial-gradient(circle at 12% 8%, rgba(255, 77, 109, 0.14), transparent 42%),
    radial-gradient(circle at 88% 4%, rgba(123, 47, 247, 0.12), transparent 40%),
    radial-gradient(circle at 50% 100%, rgba(6, 214, 160, 0.10), transparent 45%);
  background-attachment: fixed;
  overflow-x: hidden;
  transition: background-color var(--hm-transition), color var(--hm-transition);
}

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

a {
  color: var(--hm-primary);
  text-decoration: none;
  transition: color var(--hm-transition), opacity var(--hm-transition);
}

a:hover,
a:focus-visible {
  color: var(--hm-secondary);
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--hm-secondary);
  outline-offset: 3px;
  border-radius: 6px;
}

ul,
ol {
  list-style: none;
}

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

h1 {
  font-size: clamp(1.7rem, 4.4vw, 2.75rem);
  background: var(--hm-gradient-hero);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  position: relative;
  padding-left: 18px;
  margin-bottom: 1rem;
}

h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.18em;
  bottom: 0.18em;
  width: 6px;
  border-radius: var(--hm-radius-pill);
  background: var(--hm-gradient-btn);
}

h3 {
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  margin-top: 1.6rem;
  margin-bottom: 0.6rem;
  color: var(--hm-text);
}

p {
  color: var(--hm-text-soft);
  margin-bottom: 0.9rem;
}

strong {
  color: var(--hm-text);
  font-weight: 700;
}

blockquote {
  position: relative;
  margin: 1rem 0;
  padding: 1.1rem 1.3rem 1.1rem 1.6rem;
  background: var(--hm-glass-bg);
  -webkit-backdrop-filter: blur(var(--hm-glass-blur));
  backdrop-filter: blur(var(--hm-glass-blur));
  border: 1px solid var(--hm-glass-border);
  border-left: 4px solid var(--hm-primary);
  border-radius: var(--hm-radius);
  box-shadow: var(--hm-shadow-sm);
  transition: transform var(--hm-transition), box-shadow var(--hm-transition);
}

blockquote:hover {
  transform: translateY(-4px);
  box-shadow: var(--hm-shadow-md);
}

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

/* ============ Header ============ */
#site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--hm-glass-bg);
  -webkit-backdrop-filter: blur(var(--hm-glass-blur)) saturate(160%);
  backdrop-filter: blur(var(--hm-glass-blur)) saturate(160%);
  border-bottom: 1px solid var(--hm-glass-border);
  box-shadow: 0 6px 24px rgba(255, 77, 109, 0.08);
  transition: background var(--hm-transition), box-shadow var(--hm-transition);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 20px;
  min-height: var(--hm-header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.22rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--hm-text);
  white-space: nowrap;
}

.brand svg {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(255, 77, 109, 0.35);
  transition: transform var(--hm-transition), box-shadow var(--hm-transition);
}

.brand:hover svg {
  transform: rotate(-6deg) scale(1.08);
  box-shadow: 0 10px 26px rgba(123, 47, 247, 0.42);
}

.brand span {
  background: var(--hm-gradient-hero);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

nav[aria-label="主导航"] {
  flex: 1 1 auto;
  min-width: 0;
}

.nav-list {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  flex-wrap: wrap;
}

.nav-list a {
  display: inline-block;
  padding: 8px 14px;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--hm-text-soft);
  border-radius: var(--hm-radius-pill);
  position: relative;
  transition: color var(--hm-transition), background var(--hm-transition), transform var(--hm-transition);
}

.nav-list a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 3px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--hm-gradient-btn);
  transform: translateX(-50%);
  transition: width var(--hm-transition);
}

.nav-list a:hover,
.nav-list a:focus-visible {
  color: var(--hm-primary);
  background: rgba(255, 77, 109, 0.10);
  transform: translateY(-2px);
}

.nav-list a:hover::after,
.nav-list a:focus-visible::after {
  width: 60%;
}

/* ============ Main ============ */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 20px 64px;
  display: block;
}

section {
  margin-bottom: 56px;
  scroll-margin-top: calc(var(--hm-header-h) + 20px);
}

/* ============ Hero ============ */
.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  align-items: center;
  padding: 40px 36px;
  border-radius: var(--hm-radius-lg);
  background: var(--hm-gradient-hero);
  color: #fff;
  box-shadow: var(--hm-shadow-lg);
  position: relative;
  overflow: hidden;
  margin-bottom: 40px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.28), transparent 45%),
    radial-gradient(circle at 8% 90%, rgba(6, 214, 160, 0.30), transparent 50%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  filter: blur(6px);
  pointer-events: none;
  animation: hmFloat 8s ease-in-out infinite;
}

.hero-content,
.hero-banner {
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  background: none;
  -webkit-text-fill-color: #fff;
  color: #fff;
  text-shadow: 0 4px 22px rgba(31, 31, 46, 0.35);
  margin-bottom: 1rem;
}

.hero-content p {
  color: rgba(255, 255, 255, 0.94);
  font-size: 1.02rem;
  margin-bottom: 0.85rem;
}

.hero-content strong {
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  padding: 2px 10px;
  border-radius: var(--hm-radius-pill);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.hero-banner {
  border-radius: var(--hm-radius);
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(31, 31, 46, 0.32);
  background: var(--hm-glass-bg);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  transition: transform var(--hm-transition), box-shadow var(--hm-transition);
}

.hero-banner:hover {
  transform: translateY(-6px) scale(1.015);
  box-shadow: 0 26px 60px rgba(31, 31, 46, 0.42);
}

.hero-banner svg {
  width: 100%;
  height: auto;
  display: block;
}

/* CTA buttons */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 14px 12px 0 0;
  padding: 13px 30px;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  background: var(--hm-gradient-btn);
  border-radius: var(--hm-radius-pill);
  box-shadow: 0 10px 26px rgba(255, 77, 109, 0.42);
  position: relative;
  overflow: hidden;
  transition: transform var(--hm-transition), box-shadow var(--hm-transition), filter var(--hm-transition);
}

.cta::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-22deg);
  transition: left 0.7s ease;
}

.cta:hover,
.cta:focus-visible {
  color: #fff;
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 18px 40px rgba(123, 47, 247, 0.45);
  filter: saturate(1.15);
}

.cta:hover::after {
  left: 130%;
}

.cta.secondary {
  background: rgba(255, 255, 255, 0.16);
  border: 1.5px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 26px rgba(31, 31, 46, 0.22);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.cta.secondary:hover {
  background: rgba(255, 255, 255, 0.28);
  box-shadow: 0 18px 40px rgba(31, 31, 46, 0.32);
}

/* ============ Breadcrumb ============ */
.breadcrumb {
  margin-bottom: 36px;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--hm-glass-bg);
  -webkit-backdrop-filter: blur(var(--hm-glass-blur));
  backdrop-filter: blur(var(--hm-glass-blur));
  border: 1px solid var(--hm-glass-border);
  border-radius: var(--hm-radius-pill);
  box-shadow: var(--hm-shadow-sm);
  font-size: 0.9rem;
  width: fit-content;
  max-width: 100%;
}

.breadcrumb li {
  color: var(--hm-text-muted);
  display: inline-flex;
  align-items: center;
}

.breadcrumb li + li::before {
  content: "›";
  margin-right: 8px;
  color: var(--hm-primary-light);
  font-weight: 700;
}

.breadcrumb a {
  color: var(--hm-text-soft);
  font-weight: 600;
}

.breadcrumb a:hover {
  color: var(--hm-primary);
}

/* ============ Generic cards for sections ============ */
#intro,
#products,
#solutions,
#cases,
#news,
#articles,
#knowledge,
#howto,
#faq,
#contact,
#sitemap,
#links,
#legal {
  background: var(--hm-glass-bg);
  -webkit-backdrop-filter: blur(var(--hm-glass-blur)) saturate(150%);
  backdrop-filter: blur(var(--hm-glass-blur)) saturate(150%);
  border: 1px solid var(--hm-glass-border);
  border-radius: var(--hm-radius-lg);
  padding: 34px 32px;
  box-shadow: var(--hm-shadow-sm);
  transition: box-shadow var(--hm-transition), transform var(--hm-transition), border-color var(--hm-transition);
}

#intro:hover,
#products:hover,
#solutions:hover,
#cases:hover,
#news:hover,
#articles:hover,
#knowledge:hover,
#howto:hover,
#faq:hover,
#contact:hover,
#sitemap:hover,
#links:hover,
#legal:hover {
  box-shadow: var(--hm-shadow-md);
  border-color: rgba(255, 77, 109, 0.32);
}

#intro > p:first-of-type {
  font-size: 1.05rem;
  color: var(--hm-text-soft);
}

/* Lists inside sections */
#products ul,
#knowledge ul,
#howto ul,
#solutions ul,
#contact ul,
#sitemap ul,
#links ul {
  display: grid;
  gap: 10px;
  margin: 14px 0 6px;
}

#products ul li,
#knowledge ul li,
#howto ul li,
#solutions ul li,
#contact ul li,
#sitemap ul li,
#links ul li {
  position: relative;
  padding: 12px 16px 12px 46px;
  background: var(--hm-surface);
  border: 1px solid var(--hm-border);
  border-radius: var(--hm-radius-sm);
  color: var(--hm-text-soft);
  box-shadow: 0 2px 10px rgba(255, 77, 109, 0.06);
  transition: transform var(--hm-transition), box-shadow var(--hm-transition), border-color var(--hm-transition), background var(--hm-transition);
}

#products ul li::before,
#knowledge ul li::before,
#howto ul li::before,
#solutions ul li::before,
#contact ul li::before,
#sitemap ul li::before,
#links ul li::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 50%;
  width: 14px;
  height: 14px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: var(--hm-gradient-btn);
  box-shadow: 0 0 0 4px rgba(255, 77, 109, 0.14);
}

#products ul li:hover,
#knowledge ul li:hover,
#howto ul li:hover,
#solutions ul li:hover,
#contact ul li:hover,
#sitemap ul li:hover,
#links ul li:hover {
  transform: translateX(6px);
  border-color: var(--hm-primary-light);
  box-shadow: var(--hm-shadow-sm);
  background: var(--hm-surface-2);
}

#products ul li strong,
#knowledge ul li strong,
#contact ul li strong,
#solutions ul li strong {
  color: var(--hm-primary-dark);
  margin-right: 4px;
}

/* Ordered list in howto */
#howto ol {
  counter-reset: hmstep;
  display: grid;
  gap: 12px;
  margin: 16px 0 8px;
}

#howto ol li {
  counter-increment: hmstep;
  position: relative;
  padding: 14px 18px 14px 62px;
  background: var(--hm-surface);
  border: 1px solid var(--hm-border);
  border-radius: var(--hm-radius-sm);
  color: var(--hm-text-soft);
  box-shadow: 0 2px 10px rgba(123, 47, 247, 0.07);
  transition: transform var(--hm-transition), box-shadow var(--hm-transition), border-color var(--hm-transition);
}

#howto ol li::before {
  content: counter(hmstep);
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.92rem;
  font-weight: 800;
  color: #fff;
  border-radius: 50%;
  background: var(--hm-gradient-btn);
  box-shadow: 0 6px 16px rgba(255, 77, 109, 0.38);
}

#howto ol li:hover {
  transform: translateX(6px);
  border-color: var(--hm-primary-light);
  box-shadow: var(--hm-shadow-sm);
}

/* ============ Articles ============ */
#articles > p {
  margin-bottom: 20px;
}

#articles article {
  position: relative;
  padding: 22px 24px;
  margin-bottom: 18px;
  background: var(--hm-surface);
  border: 1px solid var(--hm-border);
  border-radius: var(--hm-radius);
  box-shadow: 0 4px 16px rgba(255, 77, 109, 0.07);
  overflow: hidden;
  transition: transform var(--hm-transition), box-shadow var(--hm-transition), border-color var(--hm-transition);
}

#articles article::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: var(--hm-gradient-btn);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform var(--hm-transition);
}

#articles article:hover {
  transform: translateY(-6px);
  box-shadow: var(--hm-shadow-md);
  border-color: var(--hm-primary-light);
}

#articles article:hover::before {
  transform: scaleY(1);
}

#articles article h3 {
  margin-top: 0;
  margin-bottom: 6px;
  font-size: 1.12rem;
  transition: color var(--hm-transition);
}

#articles article:hover h3 {
  color: var(--hm-primary-dark);
}

#articles article p:first-of-type {
  font-size: 0.84rem;
  color: var(--hm-text-muted);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}

#articles article a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  font-weight: 700;
  font-size: 0.94rem;
  color: var(--hm-primary);
  transition: gap var(--hm-transition), color var(--hm-transition);
}

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

#articles article a:hover {
  color: var(--hm-secondary);
  gap: 10px;
}

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

/* ============ FAQ ============ */
#faq h3 {
  position: relative;
  padding: 14px 18px 14px 50px;
  margin-top: 14px;
  margin-bottom: 0;
  background: var(--hm-surface);
  border: 1px solid var(--hm-border);
  border-radius: var(--hm-radius-sm) var(--hm-radius-sm) 0 0;
  font-size: 1.05rem;
  cursor: pointer;
  transition: background var(--hm-transition), color var(--hm-transition), border-color var(--hm-transition);
}

#faq h3::before {
  content: "Q";
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 800;
  color: #fff;
  border-radius: 8px;
  background: var(--hm-gradient-btn);
  box-shadow: 0 4px 12px rgba(255, 77, 109, 0.35);
}

#faq h3:hover {
  background: var(--hm-surface-2);
  color: var(--hm-primary-dark);
  border-color: var(--hm-primary-light);
}

#faq h3 + p {
  padding: 14px 18px 16px 50px;
  margin-top: 0;
  margin-bottom: 12px;
  background: var(--hm-surface-2);
  border: 1px solid var(--hm-border);
  border-top: none;
  border-radius: 0 0 var(--hm-radius-sm) var(--hm-radius-sm);
  color: var(--hm-text-soft);
  transition: background var(--hm-transition);
}

#faq h3 + p:hover {
  background: var(--hm-surface);
}

/* ============ Contact / legal / sitemap / links ============ */
#contact ul li,
#sitemap ul li,
#links ul li {
  padding-left: 46px;
}

#sitemap ul,
#links ul {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

#sitemap ul li a,
#links ul li a {
  color: var(--hm-text-soft);
  font-weight: 600;
  display: block;
}

#sitemap ul li a:hover,
#links ul li a:hover {
  color: var(--hm-primary);
}

/* ============ Footer ============ */
footer {
  position: relative;
  margin-top: 20px;
  padding: 40px 20px 32px;
  text-align: center;
  background: var(--hm-gradient-hero);
  color: rgba(255, 255, 255, 0.94);
  border-top-left-radius: var(--hm-radius-lg);
  border-top-right-radius: var(--hm-radius-lg);
  box-shadow: 0 -12px 40px rgba(255, 77, 109, 0.22);
  overflow: hidden;
}

footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.22), transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(6, 214, 160, 0.28), transparent 50%);
  pointer-events: none;
}

footer p {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.92);
  margin: 4px 0;
  font-size: 0.92rem;
}

footer p:first-child {
  font-weight: 700;
  font-size: 1rem;
}

/* ============ Scroll animation ============ */
@keyframes hmFadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hmFloat {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-18px) scale(1.05);
  }
}

@keyframes hmPulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(255, 77, 109, 0.42);
  }
  50% {
    box-shadow: 0 0 0 14px rgba(255, 77, 109, 0);
  }
}

main > section,
.hero,
.breadcrumb {
  animation: hmFadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero {
  animation-delay: 0.05s;
}

#intro { animation-delay: 0.10s; }
#products { animation-delay: 0.15s; }
#solutions { animation-delay: 0.20s; }
#cases { animation-delay: 0.25s; }
#news { animation-delay: 0.30s; }
#articles { animation-delay: 0.35s; }
#knowledge { animation-delay: 0.40s; }
#howto { animation-delay: 0.45s; }
#faq { animation-delay: 0.50s; }
#contact { animation-delay: 0.55s; }

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

/* ============ Responsive ============ */
@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 32px 26px;
  }

  .hero-banner {
    order: -1;
  }

  .header-inner {
    justify-content: center;
    text-align: center;
  }

  nav[aria-label="主导航"] {
    flex-basis: 100%;
  }

  .nav-list {
    justify-content: center;
  }
}

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

  :root {
    --hm-header-h: 64px;
  }

  .header-inner {
    padding: 10px 14px;
    gap: 10px;
  }

  .brand {
    font-size: 1.06rem;
    gap: 9px;
  }

  .brand svg {
    width: 34px;
    height: 34px;
  }

  .nav-list {
    gap: 2px;
  }

  .nav-list a {
    padding: 7px 11px;
    font-size: 0.86rem;
  }

  main {
    padding: 22px 14px 48px;
  }

  section {
    margin-bottom: 40px;
  }

  .hero {
    padding: 26px 20px;
    border-radius: var(--hm-radius);
    gap: 22px;
  }

  .hero-content p {
    font-size: 0.96rem;
  }

  .cta {
    display: flex;
    width: 100%;
    margin: 12px 0 0;
    padding: 12px 20px;
  }

  #intro,
  #products,
  #solutions,
  #cases,
  #news,
  #articles,
  #knowledge,
  #howto,
  #faq,
  #contact,
  #sitemap,
  #links,
  #legal {
    padding: 24px 18px;
    border-radius: var(--hm-radius);
  }

  h2 {
    padding-left: 14px;
  }

  h2::before {
    width: 5px;
  }

  #products ul li,
  #knowledge ul li,
  #howto ul li,
  #solutions ul li,
  #contact ul li,
  #sitemap ul li,
  #links ul li {
    padding: 11px 14px 11px 42px;
  }

  #howto ol li {
    padding: 13px 14px 13px 56px;
  }

  #faq h3 {
    padding: 12px 14px 12px 46px;
    font-size: 1rem;
  }

  #faq h3 + p {
    padding: 12px 14px 14px 46px;
  }

  #sitemap ul,
  #links ul {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }

  footer {
    padding: 32px 16px 26px;
    border-top-left-radius: var(--hm-radius);
    border-top-right-radius: var(--hm-radius);
  }
}

@media (max-width: 420px) {
  .brand span {
    font-size: 0.98rem;
  }

  .nav-list a {
    padding: 6px 9px;
    font-size: 0.8rem;
  }

  .hero-content h1 {
    font-size: 1.5rem;
  }

  #sitemap ul,
  #links ul {
    grid-template-columns: 1fr;
  }
}

/* ============ Dark scheme refinements ============ */
@media (prefers-color-scheme: dark) {
  body {
    background-image:
      radial-gradient(circle at 12% 8%, rgba(255, 77, 109, 0.18), transparent 42%),
      radial-gradient(circle at 88% 4%, rgba(123, 47, 247, 0.20), transparent 40%),
      radial-gradient(circle at 50% 100%, rgba(6, 214, 160, 0.12), transparent 45%);
  }

  #products ul li,
  #knowledge ul li,
  #howto ul li,
  #solutions ul li,
  #contact ul li,
  #sitemap ul li,
  #links ul li,
  #howto ol li,
  #articles article,
  #faq h3,
  #faq h3 + p {
    box-shadow: none;
  }

  #products ul li strong,
  #knowledge ul li strong,
  #contact ul li strong,
  #solutions ul li strong {
    color: var(--hm-primary-light);
  }

  #articles article:hover h3,
  #faq h3:hover {
    color: var(--hm-primary-light);
  }

  blockquote {
    border-left-color: var(--hm-primary-light);
  }
}

/* ============ Print ============ */
@media print {
  #site-header,
  .hero-banner,
  .cta,
  footer {
    display: none;
  }

  body {
    background: #fff;
    color: #000;
  }

  section {
    box-shadow: none;
    border: 1px solid #ddd;
    page-break-inside: avoid;
  }
}