:root {
  --mango-50: #fff8f0;
  --mango-100: #ffe9d1;
  --mango-200: #ffd4a8;
  --mango-300: #ffb870;
  --mango-400: #f89b3c;
  --mango-500: #f28c28;
  --mango-600: #e0721a;
  --mango-700: #b85613;
  --mango-800: #8f4210;
  --mango-900: #6b310c;
  --ink-50: #f7f8fa;
  --ink-100: #eef0f4;
  --ink-200: #dde1e8;
  --ink-300: #c2c8d4;
  --ink-400: #98a1b3;
  --ink-500: #6b7488;
  --ink-600: #4b5364;
  --ink-700: #333a48;
  --ink-800: #222733;
  --ink-900: #14171f;
  --ink-950: #0b0d12;
  --bg: #fbfaf8;
  --bg-soft: #f3f1ee;
  --surface: #ffffff;
  --surface-2: #faf7f3;
  --text: #1c2029;
  --text-soft: #555d6d;
  --text-mute: #8a92a3;
  --border: rgba(28, 32, 41, 0.09);
  --border-strong: rgba(28, 32, 41, 0.16);
  --glass: rgba(255, 255, 255, 0.66);
  --glass-border: rgba(255, 255, 255, 0.55);
  --glass-shadow: 0 18px 48px -18px rgba(28, 32, 41, 0.28);
  --shadow-xs: 0 1px 2px rgba(20, 23, 31, 0.05);
  --shadow-sm: 0 4px 14px -6px rgba(20, 23, 31, 0.14);
  --shadow-md: 0 14px 34px -14px rgba(20, 23, 31, 0.22);
  --shadow-lg: 0 28px 64px -24px rgba(20, 23, 31, 0.3);
  --shadow-glow: 0 18px 44px -18px rgba(242, 140, 40, 0.5);
  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-xl: 34px;
  --radius-pill: 999px;
  --grad-mango: linear-gradient(135deg, #ffb347 0%, #f28c28 42%, #e0721a 100%);
  --grad-hero: linear-gradient(140deg, #fff4e4 0%, #ffe1bd 34%, #ffc98f 62%, #f9a552 100%);
  --grad-dark-hero: linear-gradient(150deg, #241708 0%, #3a2008 38%, #522c0a 70%, #1a1105 100%);
  --grad-line: linear-gradient(90deg, transparent, rgba(242, 140, 40, 0.55), transparent);
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "SFMono-Regular", ui-monospace, "JetBrains Mono", Menlo, Consolas, monospace;
  --maxw: 1200px;
  --maxw-narrow: 880px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d0f14;
    --bg-soft: #12151c;
    --surface: #171b23;
    --surface-2: #1d222c;
    --text: #eef1f6;
    --text-soft: #b3bac9;
    --text-mute: #7d8598;
    --border: rgba(238, 241, 246, 0.1);
    --border-strong: rgba(238, 241, 246, 0.2);
    --glass: rgba(23, 27, 35, 0.62);
    --glass-border: rgba(255, 255, 255, 0.09);
    --glass-shadow: 0 20px 52px -20px rgba(0, 0, 0, 0.7);
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow-sm: 0 6px 18px -8px rgba(0, 0, 0, 0.6);
    --shadow-md: 0 16px 40px -16px rgba(0, 0, 0, 0.7);
    --shadow-lg: 0 30px 70px -26px rgba(0, 0, 0, 0.8);
    --shadow-glow: 0 18px 48px -18px rgba(242, 140, 40, 0.42);
    --grad-hero: var(--grad-dark-hero);
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.85;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(1100px 520px at 12% -8%, rgba(242, 140, 40, 0.13), transparent 62%),
    radial-gradient(900px 460px at 92% 4%, rgba(255, 179, 71, 0.12), transparent 60%),
    radial-gradient(760px 420px at 50% 108%, rgba(224, 114, 26, 0.08), transparent 66%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(28, 32, 41, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(28, 32, 41, 0.022) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 78%);
}

@media (prefers-color-scheme: dark) {
  body::before {
    background-image:
      linear-gradient(rgba(238, 241, 246, 0.028) 1px, transparent 1px),
      linear-gradient(90deg, rgba(238, 241, 246, 0.028) 1px, transparent 1px);
  }
}

::selection {
  background: rgba(242, 140, 40, 0.28);
  color: var(--text);
}

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

a {
  color: var(--mango-600);
  text-decoration: none;
  transition: color 0.28s var(--ease-out), opacity 0.28s var(--ease-out);
}

a:hover {
  color: var(--mango-500);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--mango-500);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-color-scheme: dark) {
  a {
    color: var(--mango-300);
  }
  a:hover {
    color: var(--mango-200);
  }
}

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

h1 {
  font-size: clamp(1.85rem, 4.6vw, 3.15rem);
  letter-spacing: -0.022em;
}

h2 {
  font-size: clamp(1.5rem, 3.2vw, 2.2rem);
  position: relative;
  padding-bottom: 0.5em;
  margin-bottom: 1.1em;
}

h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 72px;
  height: 4px;
  border-radius: var(--radius-pill);
  background: var(--grad-mango);
  box-shadow: 0 4px 14px -4px rgba(242, 140, 40, 0.6);
}

h3 {
  font-size: clamp(1.1rem, 1.9vw, 1.35rem);
  margin-top: 1.6em;
  color: var(--text);
}

h3::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 10px;
  border-radius: 3px;
  background: var(--grad-mango);
  transform: translateY(-2px) rotate(45deg);
  box-shadow: 0 3px 10px -2px rgba(242, 140, 40, 0.65);
}

p {
  margin: 0 0 1.1em;
  color: var(--text-soft);
}

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

li {
  margin-bottom: 0.5em;
  padding-left: 0.2em;
}

li::marker {
  color: var(--mango-500);
  font-weight: 700;
}

header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0.85rem clamp(1rem, 4vw, 2.5rem);
  background: var(--glass);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  backdrop-filter: blur(18px) saturate(180%);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 10px 34px -22px rgba(20, 23, 31, 0.45);
  transition: background 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

header nav {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  flex-wrap: wrap;
}

header nav > a {
  font-size: 1.22rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: var(--text);
  padding: 0.35rem 0.2rem;
  position: relative;
  white-space: nowrap;
}

header nav > a::before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-right: 9px;
  border-radius: 4px;
  background: var(--grad-mango);
  transform: translateY(-1px) rotate(45deg);
  box-shadow: 0 4px 12px -2px rgba(242, 140, 40, 0.7);
}

header nav > a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 3px;
  border-radius: var(--radius-pill);
  background: var(--grad-mango);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}

header nav > a:hover {
  color: var(--mango-500);
}

header nav > a:hover::after {
  transform: scaleX(1);
}

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

header nav ul li {
  margin: 0;
  padding: 0;
}

header nav ul li a {
  display: inline-block;
  padding: 0.5rem 0.85rem;
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--text-soft);
  border-radius: var(--radius-pill);
  position: relative;
  transition: color 0.28s var(--ease-out), background 0.28s var(--ease-out), transform 0.28s var(--ease-out), box-shadow 0.28s var(--ease-out);
}

header nav ul li a:hover {
  color: var(--mango-600);
  background: rgba(242, 140, 40, 0.12);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -12px rgba(242, 140, 40, 0.8);
}

@media (prefers-color-scheme: dark) {
  header nav ul li a {
    color: var(--text-soft);
  }
  header nav ul li a:hover {
    color: var(--mango-200);
    background: rgba(242, 140, 40, 0.18);
  }
}

main {
  position: relative;
  z-index: 1;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(1.4rem, 3.5vw, 2.6rem) clamp(1rem, 4vw, 2.5rem) 4rem;
  display: flex;
  flex-direction: column;
  gap: clamp(1.4rem, 3vw, 2.4rem);
}

main > section,
main > nav[aria-label="面包屑导航"] {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3.6vw, 2.8rem);
  box-shadow: var(--shadow-sm);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out), border-color 0.5s var(--ease-out), background 0.5s var(--ease-out);
  overflow: hidden;
}

main > section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad-line);
  opacity: 0;
  transition: opacity 0.5s var(--ease-out);
}

main > section:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

main > section:hover::before {
  opacity: 1;
}

#home {
  background: var(--grad-hero);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 5.5vw, 4rem);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  isolation: isolate;
}

#home::after {
  content: "";
  position: absolute;
  top: -40%;
  right: -18%;
  width: 62%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 34%, rgba(255, 255, 255, 0.72), rgba(255, 214, 150, 0.28) 46%, transparent 72%);
  filter: blur(6px);
  pointer-events: none;
  z-index: -1;
  animation: floatOrb 14s ease-in-out infinite alternate;
}

#home::before {
  content: "";
  position: absolute;
  bottom: -34%;
  left: -12%;
  width: 48%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 60% 40%, rgba(255, 255, 255, 0.5), rgba(242, 140, 40, 0.22) 52%, transparent 74%);
  filter: blur(8px);
  pointer-events: none;
  z-index: -1;
  animation: floatOrb 18s ease-in-out infinite alternate-reverse;
}

@keyframes floatOrb {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(-28px, 26px, 0) scale(1.08);
  }
}

#home h1 {
  color: var(--text);
  margin-bottom: 0.7em;
  text-wrap: balance;
  animation: riseIn 0.9s var(--ease-out) both;
}

#home p {
  max-width: 74ch;
  color: var(--text-soft);
  font-size: 1.03rem;
  animation: riseIn 0.9s 0.08s var(--ease-out) both;
}

#home > div {
  margin-top: 2rem;
  padding: clamp(1.2rem, 3vw, 1.9rem);
  background: var(--glass);
  -webkit-backdrop-filter: blur(16px) saturate(170%);
  backdrop-filter: blur(16px) saturate(170%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  box-shadow: var(--glass-shadow);
  animation: riseIn 0.9s 0.16s var(--ease-out) both;
}

#home > div h2 {
  font-size: 1.15rem;
  margin-bottom: 0.9em;
  padding-bottom: 0.35em;
}

#home > div h2::after {
  width: 48px;
  height: 3px;
}

#home > div ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.9rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

#home > div ul li {
  margin: 0;
  padding: 0.95rem 1.1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--text);
  box-shadow: var(--shadow-xs);
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s var(--ease-out), border-color 0.4s var(--ease-out);
}

#home > div ul li:hover {
  transform: translateY(-5px) scale(1.02);
  border-color: rgba(242, 140, 40, 0.5);
  box-shadow: var(--shadow-glow);
}

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

main > nav[aria-label="面包屑导航"] {
  padding: 0.85rem 1.4rem;
  border-radius: var(--radius-pill);
  background: var(--glass);
  -webkit-backdrop-filter: blur(14px) saturate(170%);
  backdrop-filter: blur(14px) saturate(170%);
  box-shadow: var(--shadow-xs);
}

main > nav[aria-label="面包屑导航"] ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.88rem;
}

main > nav[aria-label="面包屑导航"] ol li {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  color: var(--text-mute);
}

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

main > nav[aria-label="面包屑导航"] ol li a {
  color: var(--text-soft);
  font-weight: 600;
  padding: 0.15rem 0.4rem;
  border-radius: var(--radius-xs);
  transition: color 0.28s var(--ease-out), background 0.28s var(--ease-out);
}

main > nav[aria-label="面包屑导航"] ol li a:hover {
  color: var(--mango-600);
  background: rgba(242, 140, 40, 0.1);
}

#articles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(1rem, 2.4vw, 1.6rem);
  align-items: start;
}

#articles > h2 {
  grid-column: 1 / -1;
  margin-bottom: 0.2em;
}

#articles article {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: clamp(1.2rem, 2.6vw, 1.7rem);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out), border-color 0.5s var(--ease-out), background 0.5s var(--ease-out);
  overflow: hidden;
  isolation: isolate;
}

#articles article::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 0;
  background: var(--grad-mango);
  opacity: 0.09;
  transition: height 0.5s var(--ease-out);
  z-index: -1;
}

#articles article::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--grad-mango);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-out);
}

#articles article:hover {
  transform: translateY(-7px);
  border-color: rgba(242, 140, 40, 0.4);
  box-shadow: var(--shadow-md);
  background: var(--surface);
}

#articles article:hover::before {
  height: 100%;
}

#articles article:hover::after {
  transform: scaleX(1);
}

#articles article h3 {
  margin-top: 0;
  font-size: 1.08rem;
  transition: color 0.35s var(--ease-out);
}

#articles article:hover h3 {
  color: var(--mango-600);
}

#articles article p {
  margin-bottom: 0.4rem;
  font-size: 0.94rem;
}

#articles article p:first-of-type {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-mute);
  text-transform: uppercase;
}

#articles article a {
  margin-top: auto;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1.05rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  background: var(--grad-mango);
  border-radius: var(--radius-pill);
  box-shadow: 0 10px 24px -12px rgba(242, 140, 40, 0.85);
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s var(--ease-out), filter 0.35s var(--ease-out);
}

#articles article a::after {
  content: "→";
  font-size: 0.95em;
  transition: transform 0.35s var(--ease-out);
}

#articles article a:hover {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 16px 34px -12px rgba(242, 140, 40, 0.95);
  filter: saturate(1.12);
}

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

#testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(1rem, 2.4vw, 1.6rem);
}

#testimonials > h2 {
  grid-column: 1 / -1;
  margin-bottom: 0.2em;
}

#testimonials h3 {
  margin-top: 0;
  font-size: 1rem;
  color: var(--mango-600);
}

#testimonials h3::before {
  display: none;
}

#testimonials p {
  position: relative;
  margin: 0;
  padding: clamp(1.2rem, 2.6vw, 1.7rem);
  background: var(--glass);
  -webkit-backdrop-filter: blur(14px) saturate(170%);
  backdrop-filter: blur(14px) saturate(170%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  box-shadow: var(--glass-shadow);
  font-size: 0.97rem;
  font-style: italic;
  color: var(--text-soft);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}

#testimonials p::before {
  content: "\201C";
  position: absolute;
  top: -0.1em;
  left: 0.35em;
  font-size: 3.6rem;
  line-height: 1;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--mango-500);
  opacity: 0.22;
  pointer-events: none;
}

#testimonials p:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

#news h3,
#cases h3,
#solutions h3,
#applications h3,
#industry-knowledge h3,
#howto h3 {
  padding-left: 0.15em;
}

#faq h3 {
  margin-top: 1.9em;
  padding: 0.9rem 1.2rem;
  background: var(--surface-2);
  border-left: 4px solid var(--mango-500);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 1.02rem;
  cursor: default;
  transition: background 0.35s var(--ease-out), border-color 0.35s var(--ease-out), transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}

#faq h3::before {
  display: none;
}

#faq h3:hover {
  background: rgba(242, 140, 40, 0.1);
  border-left-color: var(--mango-400);
  transform: translateX(5px);
  box-shadow: var(--shadow-xs);
}

#faq h3 + p {
  padding-left: 1.35rem;
  border-left: 1px dashed var(--border-strong);
  margin-left: 0.2rem;
}

#howto ol,
#howto ul {
  padding-left: 1.5em;
}

#howto ol li {
  padding: 0.55rem 0.9rem;
  background: var(--surface-2);
  border-radius: var(--radius-xs);
  border: 1px solid var(--border);
  transition: transform 0.35s var(--ease-out), border-color 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}

#howto ol li:hover {
  transform: translateX(6px);
  border-color: rgba(242, 140, 40, 0.45);
  box-shadow: var(--shadow-xs);
}

#contact {
  background: var(--surface-2);
}

#contact h3 {
  display: inline-block;
  min-width: 96px;
  margin-right: 0.6rem;
  margin-top: 1.1em;
  font-size: 0.95rem;
  color: var(--mango-600);
  vertical-align: top;
}

#contact h3::before {
  display: none;
}

#contact p {
  display: inline-block;
  margin-bottom: 0.35em;
  font-weight: 600;
  color: var(--text);
}

#contact p a {
  border-bottom: 1px dashed currentColor;
}

#sitemap ul,
#links ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.55rem 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

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

#sitemap ul li a,
#links ul li a {
  display: block;
  padding: 0.55rem 0.95rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-soft);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  transition: color 0.3s var(--ease-out), background 0.3s var(--ease-out), border-color 0.3s var(--ease-out), transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

#sitemap ul li a::before,
#links ul li a::before {
  content: "›";
  margin-right: 0.45rem;
  color: var(--mango-500);
  font-weight: 900;
}

#sitemap ul li a:hover,
#links ul li a:hover {
  color: var(--mango-600);
  background: rgba(242, 140, 40, 0.1);
  border-color: rgba(242, 140, 40, 0.45);
  transform: translateX(4px);
  box-shadow: var(--shadow-xs);
}

footer {
  position: relative;
  z-index: 1;
  max-width: var(--maxw);
  margin: 0 auto 2.4rem;
  padding: clamp(1.6rem, 4vw, 2.8rem) clamp(1.2rem, 4vw, 2.5rem);
  background: var(--glass);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  backdrop-filter: blur(18px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--glass-shadow);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: clamp(1rem, 2.4vw, 1.8rem);
}

footer section {
  padding: clamp(1rem, 2.2vw, 1.4rem);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out), border-color 0.45s var(--ease-out);
}

footer section:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-sm);
  border-color: rgba(242, 140, 40, 0.35);
}

footer section h2 {
  font-size: 1rem;
  margin-bottom: 0.7em;
  padding-bottom: 0.4em;
}

footer section h2::after {
  width: 34px;
  height: 3px;
}

footer section p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--text-mute);
}

footer > p {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 0.4rem;
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-mute);
  border-top: 1px dashed var(--border-strong);
}

footer > p:first-of-type {
  padding-top: 1rem;
}

@media (max-width: 1024px) {
  header nav ul {
    gap: 0.1rem;
  }
  header nav ul li a {
    padding: 0.45rem 0.65rem;
    font-size: 0.88rem;
  }
}

@media (max-width: 860px) {
  html {
    scroll-padding-top: 132px;
  }
  header {
    padding: 0.7rem 1rem;
  }
  header nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }
  header nav > a {
    font-size: 1.1rem;
  }
  header nav ul {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 0.35rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }
  header nav ul::-webkit-scrollbar {
    height: 4px;
  }
  header nav ul::-webkit-scrollbar-thumb {
    background: rgba(242, 140, 40, 0.45);
    border-radius: var(--radius-pill);
  }
  header nav ul li {
    flex: 0 0 auto;
  }
  main {
    padding: 1.2rem 1rem 3rem;
    gap: 1.2rem;
  }
  main > section,
  main > nav[aria-label="面包屑导航"] {
    border-radius: var(--radius-md);
    padding: 1.35rem 1.15rem;
  }
  #home {
    border-radius: var(--radius-lg);
    padding: 1.7rem 1.25rem;
  }
  #home > div ul {
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  }
  #articles {
    grid-template-columns: 1fr;
  }
  #testimonials {
    grid-template-columns: 1fr;
  }
  footer {
    margin: 0 1rem 1.6rem;
    border-radius: var(--radius-lg);
    grid-template-columns: 1fr;
  }
  #contact h3 {
    display: block;
    margin-bottom: 0.1em;
  }
  #contact p {
    display: block;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 15px;
    line-height: 1.8;
  }
  h2 {
    font-size: 1.35rem;
  }
  h3 {
    font-size: 1.03rem;
  }
  #home > div ul {
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
  }
  #home > div ul li {
    padding: 0.75rem 0.8rem;
    font-size: 0.88rem;
  }
  #sitemap ul,
  #links ul {
    grid-template-columns: 1fr 1fr;
    gap: 0.45rem 0.6rem;
  }
  #sitemap ul li a,
  #links ul li a {
    padding: 0.45rem 0.6rem;
    font-size: 0.84rem;
  }
  #articles article a {
    width: 100%;
    justify-content: center;
  }
}

@media (hover: none) {
  main > section:hover,
  #articles article:hover,
  #testimonials p:hover,
  footer section:hover,
  #home > div ul li:hover {
    transform: none;
  }
}

@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;
    scroll-behavior: auto !important;
  }
}

@media print {
  body {
    background: #fff;
    color: #000;
  }
  header,
  footer,
  main > nav[aria-label="面包屑导航"] {
    display: none;
  }
  main > section {
    box-shadow: none;
    border: 1px solid #ccc;
    break-inside: avoid;
  }
}