:root {
  --bg: #f4f5f7;
  --bg-elevated: #ffffff;
  --bg-soft: #eceef2;
  --text: #1f2330;
  --text-soft: #5a6072;
  --text-mute: #8b91a3;
  --primary: #ef233c;
  --primary-soft: rgba(239, 35, 60, 0.12);
  --secondary: #2b2d42;
  --accent: #8d99ae;
  --border: rgba(43, 45, 66, 0.12);
  --glass: rgba(255, 255, 255, 0.62);
  --glass-strong: rgba(255, 255, 255, 0.82);
  --shadow-sm: 0 2px 8px rgba(24, 28, 40, 0.06);
  --shadow-md: 0 10px 30px rgba(24, 28, 40, 0.1);
  --shadow-lg: 0 20px 50px rgba(24, 28, 40, 0.16);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --gradient-hero: linear-gradient(135deg, #2b2d42 0%, #4a4e69 45%, #ef233c 100%);
  --gradient-accent: linear-gradient(120deg, #ef233c 0%, #ff6b81 100%);
  --gradient-soft: linear-gradient(135deg, rgba(239, 35, 60, 0.08), rgba(141, 153, 174, 0.12));
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --maxw: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14151c;
    --bg-elevated: #1c1e28;
    --bg-soft: #23252f;
    --text: #eceef2;
    --text-soft: #b6bac7;
    --text-mute: #858b9c;
    --primary: #ff4d63;
    --primary-soft: rgba(255, 77, 99, 0.16);
    --secondary: #0f1016;
    --accent: #a3aec2;
    --border: rgba(236, 238, 242, 0.1);
    --glass: rgba(28, 30, 40, 0.6);
    --glass-strong: rgba(28, 30, 40, 0.85);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.55);
    --gradient-hero: linear-gradient(135deg, #0f1016 0%, #2b2d42 50%, #ff4d63 100%);
    --gradient-accent: linear-gradient(120deg, #ff4d63 0%, #ff8a9b 100%);
    --gradient-soft: linear-gradient(135deg, rgba(255, 77, 99, 0.1), rgba(163, 174, 194, 0.08));
  }
}

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

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(circle at 12% 8%, rgba(239, 35, 60, 0.07), transparent 42%),
    radial-gradient(circle at 88% 22%, rgba(141, 153, 174, 0.1), transparent 46%),
    radial-gradient(circle at 50% 100%, rgba(43, 45, 66, 0.06), transparent 55%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

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

a:hover,
a:focus-visible {
  color: var(--primary);
  opacity: 0.82;
}

a:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}

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

h1 {
  font-size: clamp(1.75rem, 4.2vw, 2.9rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  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(--gradient-accent);
}

h3 {
  font-size: clamp(1.1rem, 1.8vw, 1.3rem);
  margin-top: 1.4em;
}

h4 {
  font-size: 1.02rem;
  color: var(--text-soft);
  margin-top: 1.1em;
}

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

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

li {
  margin-bottom: 0.4em;
}

li::marker {
  color: var(--primary);
}

/* ============ Header ============ */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--glass);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  animation: slideDown 0.6s var(--ease) both;
}

@keyframes slideDown {
  from { transform: translateY(-100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

header nav {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

header nav > a {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

header nav > a::before {
  content: "";
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--gradient-accent);
  box-shadow: 0 4px 12px rgba(239, 35, 60, 0.35);
  flex: 0 0 auto;
}

header nav > a:hover {
  color: var(--primary);
  opacity: 1;
}

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

header ul li {
  margin: 0;
}

header ul li a {
  display: inline-block;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-soft);
  transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
}

header ul li a:hover,
header ul li a:focus-visible {
  color: var(--primary);
  background: var(--primary-soft);
  transform: translateY(-1px);
  opacity: 1;
}

/* ============ Main ============ */
main {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 28px 20px 60px;
}

main > nav[aria-label="面包屑导航"] {
  margin-bottom: 22px;
  animation: fadeUp 0.6s var(--ease) both;
}

main > nav[aria-label="面包屑导航"] ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 8px 14px;
  font-size: 0.85rem;
  color: var(--text-mute);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  width: fit-content;
}

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

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

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

/* ============ Sections ============ */
section {
  margin-bottom: 26px;
  padding: 28px 26px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
  animation: fadeUp 0.7s var(--ease) both;
}

section:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(239, 35, 60, 0.25);
}

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

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

/* ============ Hero ============ */
#hero {
  position: relative;
  overflow: hidden;
  padding: 44px 32px 36px;
  color: #fff;
  background: var(--gradient-hero);
  border: none;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

#hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 85% 15%, rgba(255, 255, 255, 0.22), transparent 40%),
    radial-gradient(circle at 10% 90%, rgba(239, 35, 60, 0.35), transparent 45%);
  pointer-events: none;
}

#hero::after {
  content: "";
  position: absolute;
  top: -40%;
  right: -10%;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 65%);
  filter: blur(10px);
  pointer-events: none;
  animation: floatOrb 12s ease-in-out infinite alternate;
}

@keyframes floatOrb {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-30px, 30px) scale(1.12); }
}

#hero > * {
  position: relative;
  z-index: 1;
}

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

#hero p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.02rem;
  max-width: 70ch;
}

#hero figure {
  margin: 26px 0 0;
  padding: 14px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.28);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

#hero figure:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.36);
}

#hero figure svg {
  border-radius: var(--radius-sm);
  width: 100%;
  height: auto;
}

#hero figcaption {
  margin-top: 10px;
  font-size: 0.85rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.75);
}

/* ============ Brand / Concept / Industry ============ */
#brand,
#concept,
#industry {
  background: var(--bg-elevated);
}

#brand h3,
#concept h3,
#industry h3 {
  color: var(--text);
  border-bottom: 1px dashed var(--border);
  padding-bottom: 6px;
}

#concept h4 {
  display: inline-block;
  padding: 2px 12px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 600;
}

/* ============ Products ============ */
#products {
  background: var(--gradient-soft), var(--bg-elevated);
}

#products h3 {
  position: relative;
  padding: 18px 20px 18px 22px;
  margin: 16px 0;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

#products h3:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
  border-left-color: var(--primary);
}

#products h3 + p {
  padding: 0 4px;
}

/* ============ Solutions ============ */
#solutions h3 {
  padding: 16px 20px;
  background: var(--bg-soft);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  transition: background 0.35s var(--ease), transform 0.35s var(--ease);
}

#solutions h3:hover {
  background: var(--primary-soft);
  transform: translateY(-2px);
}

/* ============ Cases ============ */
#cases h3 {
  padding-left: 16px;
  border-left: 3px solid var(--accent);
}

#cases p {
  padding: 14px 18px;
  background: var(--bg-soft);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

#cases p:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

#cases p:last-of-type,
#cases p:nth-last-of-type(2),
#cases p:nth-last-of-type(3) {
  font-style: italic;
  color: var(--text);
  border-left: 3px solid var(--primary);
}

/* ============ News ============ */
#news {
  background: var(--gradient-soft), var(--bg-elevated);
}

#news h3 {
  color: var(--primary);
}

/* ============ Articles ============ */
#articles h3 {
  padding: 14px 18px;
  margin: 14px 0 6px;
  background: var(--bg-soft);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  border: 1px solid var(--border);
  border-bottom: none;
  font-size: 1.08rem;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}

#articles h3:hover {
  background: var(--primary-soft);
  color: var(--primary);
}

#articles h3 + p {
  margin: 0 0 14px;
  padding: 12px 18px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  font-size: 0.92rem;
}

#articles h3 + p a {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--primary-soft);
  font-size: 0.85rem;
  font-weight: 600;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}

#articles h3 + p a:hover {
  background: var(--primary);
  color: #fff;
  transform: translateX(2px);
  opacity: 1;
}

#articles article {
  margin: 18px 0;
  padding: 20px 22px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  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(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(239, 35, 60, 0.3);
}

#articles article h3 {
  margin: 0 0 10px;
  padding: 0;
  background: none;
  border: none;
  color: var(--primary);
  font-size: 1.05rem;
}

#articles article h3:hover {
  background: none;
  transform: none;
}

#articles article p {
  margin: 0;
  font-size: 0.95rem;
}

/* ============ FAQ ============ */
#faq {
  background: var(--bg-elevated);
}

#faq h3 {
  position: relative;
  padding: 14px 16px 14px 46px;
  margin: 12px 0 0;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  font-size: 1rem;
  cursor: default;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}

#faq h3::before {
  content: "Q";
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--gradient-accent);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  box-shadow: 0 4px 10px rgba(239, 35, 60, 0.3);
}

#faq h3:hover {
  background: var(--primary-soft);
  color: var(--primary);
}

#faq h3 + p {
  margin: 0 0 14px;
  padding: 14px 18px 14px 46px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  font-size: 0.93rem;
  position: relative;
}

#faq h3 + p::before {
  content: "A";
  position: absolute;
  left: 14px;
  top: 16px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--bg-soft);
  color: var(--text-soft);
  font-size: 0.8rem;
  font-weight: 800;
  border: 1px solid var(--border);
}

/* ============ HowTo ============ */
#howto {
  background: var(--gradient-soft), var(--bg-elevated);
}

#howto ol {
  counter-reset: step;
  list-style: none;
  padding-left: 0;
}

#howto ol li {
  counter-increment: step;
  position: relative;
  padding: 14px 18px 14px 56px;
  margin-bottom: 10px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-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(step);
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gradient-accent);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(239, 35, 60, 0.35);
}

#howto ol li:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(239, 35, 60, 0.3);
}

#howto h3 {
  color: var(--text);
}

/* ============ Notes ============ */
#notes h3 {
  display: inline-block;
  padding: 3px 14px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 0.95rem;
}

/* ============ Contact ============ */
#contact {
  background: var(--gradient-hero);
  color: #fff;
  border: none;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

#contact::before {
  content: "";
  position: absolute;
  top: -60%;
  left: -10%;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.16), transparent 65%);
  pointer-events: none;
}

#contact > * {
  position: relative;
  z-index: 1;
}

#contact h2 {
  color: #fff;
}

#contact h2::before {
  background: #fff;
}

#contact p {
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 0.6em;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}

#contact p:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateX(4px);
}

/* ============ Sitemap & Links ============ */
#sitemap ul,
#links ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

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

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

#sitemap li a:hover,
#links li a:hover {
  background: var(--gradient-accent);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(239, 35, 60, 0.3);
  opacity: 1;
}

/* ============ Footer ============ */
footer {
  background: var(--glass-strong);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  border-top: 1px solid var(--border);
  padding: 40px 20px 30px;
  margin-top: 20px;
}

footer section {
  max-width: var(--maxw);
  margin: 0 auto 18px;
  padding: 20px 22px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  animation: none;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

footer section:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

footer section h2 {
  font-size: 1rem;
  padding-left: 14px;
  margin-bottom: 8px;
  color: var(--text);
}

footer section h2::before {
  width: 4px;
  border-radius: 4px;
}

footer section p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-mute);
}

footer > p {
  max-width: var(--maxw);
  margin: 0 auto 8px;
  padding: 0 4px;
  font-size: 0.82rem;
  color: var(--text-mute);
  text-align: center;
}

footer > p:last-child {
  padding-bottom: 8px;
}

/* ============ Responsive ============ */
@media (max-width: 900px) {
  header nav {
    padding: 10px 16px;
  }

  header ul {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  header ul::-webkit-scrollbar {
    display: none;
  }

  header ul li a {
    white-space: nowrap;
    font-size: 0.85rem;
    padding: 6px 11px;
  }

  main {
    padding: 20px 16px 48px;
  }

  section {
    padding: 22px 18px;
    border-radius: var(--radius-md);
  }

  #hero {
    padding: 32px 20px 26px;
  }

  #hero figure {
    padding: 10px;
  }
}

@media (max-width: 600px) {
  html {
    scroll-padding-top: 76px;
  }

  body {
    font-size: 15px;
    line-height: 1.7;
  }

  h2 {
    padding-left: 14px;
  }

  h2::before {
    width: 4px;
  }

  header nav {
    padding: 8px 14px;
    gap: 10px;
  }

  header nav > a {
    font-size: 1rem;
  }

  header nav > a::before {
    width: 22px;
    height: 22px;
    border-radius: 6px;
  }

  main {
    padding: 16px 12px 40px;
  }

  main > nav[aria-label="面包屑导航"] ol {
    font-size: 0.78rem;
    padding: 6px 12px;
  }

  section {
    padding: 18px 14px;
    margin-bottom: 18px;
    border-radius: 14px;
  }

  #hero {
    padding: 26px 16px 20px;
    border-radius: 16px;
  }

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

  #hero figure {
    margin-top: 18px;
    padding: 8px;
    border-radius: 12px;
  }

  #hero figcaption {
    font-size: 0.78rem;
  }

  #products h3 {
    padding: 14px 14px 14px 16px;
  }

  #faq h3 {
    padding: 12px 12px 12px 42px;
    font-size: 0.95rem;
  }

  #faq h3 + p {
    padding: 12px 14px 12px 42px;
    font-size: 0.88rem;
  }

  #faq h3::before,
  #faq h3 + p::before {
    width: 22px;
    height: 22px;
    left: 11px;
    font-size: 0.72rem;
  }

  #howto ol li {
    padding: 12px 14px 12px 50px;
  }

  #howto ol li::before {
    left: 12px;
    width: 26px;
    height: 26px;
  }

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

  #articles h3 + p {
    padding: 10px 14px;
    font-size: 0.88rem;
  }

  #articles article {
    padding: 16px 14px;
  }

  #contact p {
    padding: 7px 12px;
    font-size: 0.9rem;
  }

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

  footer {
    padding: 28px 12px 22px;
  }

  footer section {
    padding: 16px 14px;
  }
}

/* ============ Motion & a11y ============ */
@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;
  }
}

::selection {
  background: var(--primary);
  color: #fff;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-soft);
}

::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 999px;
  border: 2px solid var(--bg-soft);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

@supports (font-variation-settings: normal) {
  body {
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  }
}