:root {
  --brand: #7c3aed;
  --brand-2: #a855f7;
  --brand-3: #ec4899;
  --accent: #22d3ee;
  --bg: #f6f4ff;
  --bg-soft: #ffffff;
  --card: rgba(255, 255, 255, 0.72);
  --card-solid: #ffffff;
  --card-border: rgba(124, 58, 237, 0.14);
  --text: #1c1530;
  --text-soft: #4b4463;
  --text-mute: #7a7391;
  --line: rgba(124, 58, 237, 0.12);
  --shadow-sm: 0 4px 16px rgba(76, 29, 149, 0.08);
  --shadow-md: 0 12px 36px rgba(76, 29, 149, 0.12);
  --shadow-lg: 0 24px 64px rgba(76, 29, 149, 0.18);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --header-h: 68px;
  --maxw: 1180px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --grad-brand: linear-gradient(135deg, #7c3aed 0%, #a855f7 45%, #ec4899 100%);
  --grad-soft: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(236, 72, 153, 0.08));
  --grad-hero: linear-gradient(120deg, #2e1065 0%, #6d28d9 38%, #a21caf 68%, #db2777 100%);
  --glass-blur: saturate(180%) blur(18px);
}

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

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

body {
  margin: 0;
  padding: 0;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(1200px 600px at 8% -8%, rgba(124, 58, 237, 0.16), transparent 60%),
    radial-gradient(1000px 520px at 100% 0%, rgba(236, 72, 153, 0.13), transparent 55%),
    radial-gradient(900px 500px at 50% 110%, rgba(34, 211, 238, 0.1), transparent 60%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection {
  background: rgba(124, 58, 237, 0.24);
  color: var(--text);
}

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

a:hover,
a:focus-visible {
  color: var(--brand-3);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(124, 58, 237, 0.45);
  outline-offset: 3px;
  border-radius: 6px;
}

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

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

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

h2 {
  font-size: clamp(1.5rem, 3vw, 2.15rem);
  position: relative;
  padding-left: 18px;
}

h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.18em;
  bottom: 0.18em;
  width: 6px;
  border-radius: 6px;
  background: var(--grad-brand);
  box-shadow: 0 0 18px rgba(168, 85, 247, 0.55);
}

h3 {
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  margin-top: 1.6em;
  color: #2a1f47;
}

h4 {
  font-size: 1.05rem;
  margin-top: 1.2em;
  color: var(--brand);
}

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

main {
  display: block;
}

/* ============ HEADER ============ */
#site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.66);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--card-border);
  box-shadow: 0 4px 24px rgba(76, 29, 149, 0.06);
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

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

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  color: var(--text);
  font-weight: 800;
}

.brand-logo svg {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(124, 58, 237, 0.4);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.brand-logo:hover svg {
  transform: rotate(-6deg) scale(1.06);
  box-shadow: 0 10px 26px rgba(236, 72, 153, 0.45);
}

.brand-name {
  font-size: 1.16rem;
  letter-spacing: 0.02em;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

#site-header nav ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
}

#site-header nav a {
  display: inline-block;
  padding: 8px 13px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-soft);
  border-radius: 999px;
  position: relative;
  transition: color 0.25s var(--ease), background 0.25s var(--ease), transform 0.25s var(--ease);
}

#site-header nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 3px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-brand);
  transform: translateX(-50%);
  transition: width 0.3s var(--ease);
}

#site-header nav a:hover,
#site-header nav a:focus-visible {
  color: var(--brand);
  background: rgba(124, 58, 237, 0.08);
  transform: translateY(-1px);
}

#site-header nav a:hover::after {
  width: 40%;
}

/* ============ HERO ============ */
#hero {
  position: relative;
  max-width: var(--maxw);
  margin: 32px auto 0;
  padding: clamp(36px, 6vw, 76px) clamp(22px, 5vw, 64px);
  border-radius: var(--radius-xl);
  color: #fff;
  background: var(--grad-hero);
  background-size: 200% 200%;
  animation: heroShift 16s ease infinite;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  isolation: isolate;
}

#hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(560px 320px at 12% 8%, rgba(255, 255, 255, 0.28), transparent 60%),
    radial-gradient(500px 300px at 92% 92%, rgba(34, 211, 238, 0.32), transparent 62%);
  pointer-events: none;
}

#hero::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -140px;
  top: -160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.22), transparent 68%);
  z-index: -1;
  animation: floatOrb 12s ease-in-out infinite;
  pointer-events: none;
}

#hero h1 {
  color: #fff;
  text-shadow: 0 4px 26px rgba(0, 0, 0, 0.24);
  max-width: 20em;
}

#hero p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 62em;
  font-size: clamp(0.96rem, 1.4vw, 1.06rem);
}

#hero nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

#hero nav a {
  display: inline-block;
  padding: 11px 22px;
  font-size: 0.94rem;
  font-weight: 700;
  color: #fff;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.32);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

#hero nav a:hover,
#hero nav a:focus-visible {
  color: #3b0764;
  background: #fff;
  border-color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
}

@keyframes heroShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

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

/* ============ BREADCRUMB ============ */
main > nav[aria-label="面包屑导航"] {
  max-width: var(--maxw);
  margin: 22px auto 0;
  padding: 0 22px;
}

main > nav[aria-label="面包屑导航"] ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  color: var(--text-mute);
}

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

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

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

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

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

/* ============ SECTIONS ============ */
main > section {
  max-width: var(--maxw);
  margin: 26px auto 0;
  padding: clamp(24px, 4.4vw, 46px);
  background: var(--card);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.4s var(--ease), transform 0.4s var(--ease), border-color 0.4s var(--ease);
  animation: riseIn 0.7s var(--ease) both;
}

main > section:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(124, 58, 237, 0.24);
}

main > section:last-of-type {
  margin-bottom: 26px;
}

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

/* Staggered section entrance */
main > section:nth-of-type(1) { animation-delay: 0.02s; }
main > section:nth-of-type(2) { animation-delay: 0.05s; }
main > section:nth-of-type(3) { animation-delay: 0.08s; }
main > section:nth-of-type(4) { animation-delay: 0.11s; }
main > section:nth-of-type(5) { animation-delay: 0.14s; }
main > section:nth-of-type(6) { animation-delay: 0.17s; }
main > section:nth-of-type(7) { animation-delay: 0.2s; }
main > section:nth-of-type(8) { animation-delay: 0.23s; }
main > section:nth-of-type(9) { animation-delay: 0.26s; }
main > section:nth-of-type(10) { animation-delay: 0.29s; }
main > section:nth-of-type(11) { animation-delay: 0.32s; }
main > section:nth-of-type(12) { animation-delay: 0.35s; }
main > section:nth-of-type(13) { animation-delay: 0.38s; }
main > section:nth-of-type(14) { animation-delay: 0.41s; }
main > section:nth-of-type(15) { animation-delay: 0.44s; }

/* Section content rhythm */
main > section > p:last-child,
main > section > ul:last-child,
main > section > ol:last-child,
main > section > div:last-child {
  margin-bottom: 0;
}

main > section > h3:first-of-type {
  margin-top: 1.1em;
}

/* ============ ARTICLE CARDS ============ */
#articles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
  align-items: start;
}

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

#articles > article {
  position: relative;
  padding: 24px 22px;
  background: var(--card-solid);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

#articles > article::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--grad-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}

#articles > article:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(124, 58, 237, 0.3);
}

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

#articles > article h3 {
  margin-top: 0;
  font-size: 1.08rem;
  line-height: 1.5;
  color: var(--text);
  transition: color 0.3s var(--ease);
}

#articles > article:hover h3 {
  color: var(--brand);
}

#articles > article > p {
  font-size: 0.92rem;
  color: var(--text-soft);
}

#articles > article > p:first-of-type {
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 0.9em;
  padding: 3px 12px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--brand);
  background: rgba(124, 58, 237, 0.1);
  border-radius: 999px;
}

#articles > article > p > a {
  display: inline-block;
  font-weight: 700;
  color: var(--brand);
}

#articles > article > p > a:hover {
  color: var(--brand-3);
  text-decoration: underline;
  text-underline-offset: 3px;
}

#articles > article > div {
  margin-top: 12px;
  padding: 14px 16px;
  font-size: 0.9rem;
  color: var(--text-soft);
  background: var(--grad-soft);
  border-left: 3px solid var(--brand-2);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  transition: background 0.35s var(--ease);
}

#articles > article:hover > div {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.16), rgba(236, 72, 153, 0.12));
}

#articles > article > div p {
  margin: 0;
  font-size: 0.9rem;
}

/* ============ FAQ ============ */
#faq > h3 {
  position: relative;
  margin: 0 0 0.35em;
  padding: 16px 20px 16px 46px;
  font-size: 1.02rem;
  color: var(--text);
  background: var(--card-solid);
  border: 1px solid var(--line);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  box-shadow: var(--shadow-sm);
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}

#faq > h3::before {
  content: "Q";
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  font-size: 0.76rem;
  font-weight: 900;
  color: #fff;
  background: var(--grad-brand);
  border-radius: 50%;
}

#faq > h3 + p {
  margin: 0 0 18px;
  padding: 16px 20px;
  font-size: 0.94rem;
  color: var(--text-soft);
  background: rgba(124, 58, 237, 0.05);
  border: 1px solid var(--line);
  border-top: none;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  transition: background 0.3s var(--ease);
}

#faq > h3:hover {
  color: var(--brand);
  border-color: rgba(124, 58, 237, 0.3);
}

#faq > h3:hover + p {
  background: rgba(124, 58, 237, 0.09);
}

#faq > h3:first-of-type {
  margin-top: 0.6em;
}

/* ============ HOWTO ============ */
#howto h4 {
  position: relative;
  padding-left: 34px;
  margin-top: 1.4em;
  color: var(--text);
}

#howto h4::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--grad-brand);
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.14);
}

#howto h4::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  transform: translateY(-50%);
}

/* ============ CASES / NEWS ============ */
#cases > p,
#news > p {
  padding: 14px 18px;
  background: var(--card-solid);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  font-size: 0.95rem;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

#cases > p:hover,
#news > p:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(124, 58, 237, 0.28);
}

#news > p:nth-of-type(odd) {
  background: var(--grad-soft);
}

/* ============ CONTACT ============ */
#contact a {
  font-weight: 700;
  border-bottom: 2px solid rgba(124, 58, 237, 0.28);
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}

#contact a:hover {
  border-color: var(--brand-3);
}

#contact > p {
  padding: 10px 16px;
  margin-bottom: 10px;
  background: var(--card-solid);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 0.94rem;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}

#contact > p:hover {
  background: rgba(124, 58, 237, 0.06);
  transform: translateX(4px);
}

/* ============ SITEMAP / LINKS ============ */
#sitemap ul,
#links ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

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

#sitemap a,
#links a {
  display: inline-block;
  padding: 8px 16px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-soft);
  background: var(--card-solid);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), color 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

#sitemap a:hover,
#links a:hover {
  color: #fff;
  background: var(--grad-brand);
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(124, 58, 237, 0.32);
}

/* ============ FOOTER ============ */
footer[role="contentinfo"] {
  margin-top: 34px;
  padding: clamp(28px, 5vw, 48px) 22px;
  color: rgba(255, 255, 255, 0.86);
  background: linear-gradient(135deg, #1e1033 0%, #2e1065 45%, #4c1d95 100%);
  position: relative;
  overflow: hidden;
}

footer[role="contentinfo"]::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(620px 280px at 10% 0%, rgba(168, 85, 247, 0.28), transparent 62%),
    radial-gradient(560px 260px at 92% 100%, rgba(236, 72, 153, 0.24), transparent 62%);
  pointer-events: none;
}

footer[role="contentinfo"] p {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto 8px;
  padding: 0;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.78);
  text-align: center;
}

footer[role="contentinfo"] p:first-child {
  font-size: 1.02rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}

footer[role="contentinfo"] a {
  color: #e9d5ff;
  font-weight: 600;
  border-bottom: 1px solid rgba(233, 213, 255, 0.4);
}

footer[role="contentinfo"] a:hover {
  color: #fff;
  border-color: #fff;
}

/* ============ DARK MODE ============ */
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0714;
    --bg-soft: #120c1f;
    --card: rgba(24, 17, 38, 0.72);
    --card-solid: #171026;
    --card-border: rgba(168, 85, 247, 0.18);
    --text: #f1ecff;
    --text-soft: #c3b9dc;
    --text-mute: #948aae;
    --line: rgba(168, 85, 247, 0.16);
    --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 12px 36px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.6);
    --grad-soft: linear-gradient(135deg, rgba(124, 58, 237, 0.2), rgba(236, 72, 153, 0.14));
  }

  body {
    background-image:
      radial-gradient(1200px 600px at 8% -8%, rgba(124, 58, 237, 0.28), transparent 60%),
      radial-gradient(1000px 520px at 100% 0%, rgba(236, 72, 153, 0.18), transparent 55%),
      radial-gradient(900px 500px at 50% 110%, rgba(34, 211, 238, 0.12), transparent 60%);
  }

  h3 {
    color: #e7ddff;
  }

  h4 {
    color: #c4b5fd;
  }

  #site-header {
    background: rgba(14, 9, 24, 0.72);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  }

  #site-header nav a {
    color: var(--text-soft);
  }

  #site-header nav a:hover,
  #site-header nav a:focus-visible {
    color: #e9d5ff;
    background: rgba(168, 85, 247, 0.16);
  }

  #faq > h3 {
    background: var(--card-solid);
    color: var(--text);
  }

  #faq > h3 + p {
    background: rgba(168, 85, 247, 0.08);
  }

  #faq > h3:hover + p {
    background: rgba(168, 85, 247, 0.14);
  }

  #articles > article > div {
    background: rgba(168, 85, 247, 0.12);
  }

  #articles > article:hover > div {
    background: rgba(168, 85, 247, 0.2);
  }

  #articles > article > p:first-of-type {
    color: #c4b5fd;
    background: rgba(168, 85, 247, 0.18);
  }

  #contact > p:hover {
    background: rgba(168, 85, 247, 0.12);
  }

  footer[role="contentinfo"] {
    background: linear-gradient(135deg, #08040f 0%, #14092a 45%, #24103f 100%);
  }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  :root {
    --header-h: 62px;
  }

  #site-header nav ul {
    gap: 2px;
  }

  #site-header nav a {
    padding: 7px 10px;
    font-size: 0.86rem;
  }

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

@media (max-width: 860px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 18px;
    gap: 10px;
  }

  #site-header nav {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 2px;
  }

  #site-header nav::-webkit-scrollbar {
    display: none;
  }

  #site-header nav ul {
    flex-wrap: nowrap;
    width: max-content;
    gap: 4px;
  }

  #site-header nav a {
    white-space: nowrap;
  }

  #hero {
    margin-top: 20px;
    border-radius: var(--radius-lg);
  }

  main > section {
    margin-top: 18px;
    border-radius: var(--radius-md);
  }

  #articles {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

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

  h2 {
    padding-left: 14px;
  }

  h2::before {
    width: 5px;
  }

  #hero {
    margin: 14px 12px 0;
    padding: 30px 20px 34px;
    border-radius: var(--radius-md);
  }

  #hero nav ul {
    gap: 8px;
    margin-top: 20px;
  }

  #hero nav a {
    padding: 9px 16px;
    font-size: 0.86rem;
  }

  main > nav[aria-label="面包屑导航"] {
    padding: 0 18px;
    margin-top: 16px;
  }

  main > section {
    margin: 14px 12px 0;
    padding: 22px 18px;
    border-radius: var(--radius-md);
  }

  #faq > h3 {
    padding: 14px 16px 14px 42px;
    font-size: 0.96rem;
  }

  #faq > h3::before {
    left: 12px;
    width: 20px;
    height: 20px;
    font-size: 0.7rem;
  }

  #faq > h3 + p {
    padding: 14px 16px;
    font-size: 0.9rem;
  }

  #articles > article {
    padding: 20px 16px;
  }

  #sitemap a,
  #links a {
    padding: 7px 13px;
    font-size: 0.82rem;
  }

  footer[role="contentinfo"] {
    padding: 30px 18px;
  }

  footer[role="contentinfo"] p {
    font-size: 0.82rem;
  }
}

@media (max-width: 380px) {
  #hero nav a {
    padding: 8px 13px;
    font-size: 0.8rem;
  }

  #articles > article h3 {
    font-size: 1rem;
  }
}

/* ============ ACCESSIBILITY / MOTION ============ */
@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;
  }

  main > section {
    opacity: 1;
    transform: none;
  }
}

/* ============ PRINT ============ */
@media print {
  body {
    background: #fff;
    color: #000;
  }

  #site-header,
  #hero nav,
  footer[role="contentinfo"] {
    display: none;
  }

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

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