:root {
  --primary: #f5a623;
  --primary-light: #ffc85c;
  --primary-dark: #d48806;
  --accent: #ff4d6d;
  --accent-light: #ff7a94;
  --bg-body: #f7f8fc;
  --bg-card: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.72);
  --bg-glass-border: rgba(255, 255, 255, 0.35);
  --bg-dark: #1a1a2e;
  --bg-dark-2: #16213e;
  --bg-dark-3: #0f3460;
  --text-main: #1f2437;
  --text-sub: #5a6072;
  --text-muted: #8b90a0;
  --text-inverse: #f5f6fa;
  --border-color: rgba(31, 36, 55, 0.08);
  --shadow-sm: 0 2px 8px rgba(15, 52, 96, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 52, 96, 0.1);
  --shadow-lg: 0 16px 48px rgba(15, 52, 96, 0.16);
  --shadow-glow: 0 8px 32px rgba(245, 166, 35, 0.28);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 999px;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --max-width: 1200px;
  --header-height: 68px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg-body: #0d0d1a;
    --bg-card: #1a1a2e;
    --bg-glass: rgba(26, 26, 46, 0.72);
    --bg-glass-border: rgba(255, 255, 255, 0.08);
    --text-main: #eef0f8;
    --text-sub: #a8aec4;
    --text-muted: #6b7191;
    --border-color: rgba(255, 255, 255, 0.08);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.5);
  }
}

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

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

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-main);
  background-color: var(--bg-body);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(245, 166, 35, 0.08), transparent),
    radial-gradient(ellipse 60% 40% at 100% 20%, rgba(255, 77, 109, 0.06), transparent),
    radial-gradient(ellipse 50% 50% at 0% 60%, rgba(15, 52, 96, 0.05), transparent);
  background-attachment: fixed;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--primary-dark);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--accent);
}

ul,
ol {
  list-style: none;
}

h1, h2, h3, h4 {
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(1.75rem, 4.5vw, 3rem);
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--text-main);
  margin-bottom: 1.25rem;
  position: relative;
  padding-left: 1rem;
}

h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15em;
  bottom: 0.15em;
  width: 5px;
  border-radius: var(--radius-full);
  background: linear-gradient(180deg, var(--primary), var(--accent));
}

h3 {
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  color: var(--text-main);
  margin-top: 1.5rem;
  margin-bottom: 0.6rem;
}

p {
  color: var(--text-sub);
  margin-bottom: 1rem;
}

strong {
  color: var(--text-main);
  font-weight: 600;
}

/* ===== Header ===== */
#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-height);
  background: var(--bg-glass);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--bg-glass-border);
  box-shadow: var(--shadow-sm);
}

#site-header nav {
  max-width: var(--max-width);
  margin: 0 auto;
  height: 100%;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

#site-header nav > a {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  white-space: nowrap;
}

#site-header nav ul {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

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

#site-header nav ul li a {
  display: block;
  padding: 0.5rem 0.85rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-sub);
  border-radius: var(--radius-full);
  white-space: nowrap;
  transition: all var(--transition-fast);
}

#site-header nav ul li a:hover {
  color: var(--primary-dark);
  background: rgba(245, 166, 35, 0.12);
  transform: translateY(-1px);
}

/* ===== Breadcrumb ===== */
main > nav[aria-label="面包屑导航"] {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem 1.25rem 0;
}

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

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

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

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

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

/* ===== Sections ===== */
main > section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2.5rem 1.25rem;
}

/* ===== Hero ===== */
#hero {
  position: relative;
  margin-top: 1rem;
  padding: 3rem 2rem;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-dark-2) 50%, var(--bg-dark-3) 100%);
  color: var(--text-inverse);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  isolation: isolate;
}

#hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(245, 166, 35, 0.35), transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(255, 77, 109, 0.3), transparent 45%),
    radial-gradient(circle at 50% 50%, rgba(15, 52, 96, 0.5), transparent 70%);
  z-index: -1;
}

#hero::after {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
  transform: rotate(25deg);
  animation: heroShine 6s ease-in-out infinite;
  z-index: -1;
}

@keyframes heroShine {
  0%, 100% { transform: rotate(25deg) translateX(-30%); opacity: 0; }
  50% { transform: rotate(25deg) translateX(30%); opacity: 1; }
}

#hero h1 {
  color: var(--text-inverse);
  background: linear-gradient(135deg, #fff 0%, var(--primary-light) 60%, var(--accent-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.25rem;
  animation: fadeUp 0.8s var(--transition-base) both;
}

#hero p {
  color: rgba(245, 246, 250, 0.82);
  max-width: 720px;
  font-size: 1.02rem;
  animation: fadeUp 0.8s 0.15s var(--transition-base) both;
}

#hero p strong {
  color: var(--primary-light);
}

#hero a[role="button"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.25rem;
  margin-right: 0.75rem;
  padding: 0.85rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  animation: fadeUp 0.8s 0.3s var(--transition-base) both;
}

#hero a[role="button"]:first-of-type {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  box-shadow: var(--shadow-glow);
}

#hero a[role="button"]:first-of-type:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 40px rgba(245, 166, 35, 0.45);
  color: #fff;
}

#hero a[role="button"]:last-of-type {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-inverse);
  border: 1px solid rgba(255, 255, 255, 0.25);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

#hero a[role="button"]:last-of-type:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
  color: #fff;
}

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

/* ===== Banner Carousel ===== */
#banner-carousel figure {
  position: relative;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

#banner-carousel figure:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: var(--shadow-lg);
}

#banner-carousel figure img {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

#banner-carousel figure:hover img {
  transform: scale(1.05);
}

#banner-carousel figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2.5rem 1.5rem 1.25rem;
  font-size: 0.9rem;
  color: #fff;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

/* ===== Cards / Content Blocks ===== */
#brand,
#products,
#solutions,
#industry,
#cases,
#testimonials,
#news,
#articles,
#faq,
#howto,
#contact,
#sitemap,
#links {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

#brand:hover,
#products:hover,
#solutions:hover,
#industry:hover,
#cases:hover,
#testimonials:hover,
#news:hover,
#articles:hover,
#faq:hover,
#howto:hover,
#contact:hover {
  box-shadow: var(--shadow-md);
}

/* ===== Lists ===== */
#products ul,
#solutions ul,
#industry ul,
#howto ul,
#howto ol {
  display: grid;
  gap: 0.65rem;
}

#products ul li,
#solutions ul li,
#industry ul li,
#howto ul li,
#howto ol li {
  position: relative;
  padding: 0.85rem 1rem 0.85rem 2.75rem;
  background: var(--bg-body);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  color: var(--text-sub);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

#products ul li::before,
#solutions ul li::before,
#industry ul li::before,
#howto ul li::before {
  content: "";
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 0 0 4px rgba(245, 166, 35, 0.15);
}

#howto ol {
  counter-reset: howto-step;
}

#howto ol li {
  counter-increment: howto-step;
}

#howto ol li::before {
  content: counter(howto-step);
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
}

#products ul li:hover,
#solutions ul li:hover,
#industry ul li:hover,
#howto ul li:hover,
#howto ol li:hover {
  transform: translateX(6px);
  border-color: rgba(245, 166, 35, 0.4);
  box-shadow: var(--shadow-sm);
}

#products ul li strong,
#solutions ul li strong,
#industry ul li strong,
#howto ul li strong,
#howto ol li strong {
  color: var(--primary-dark);
}

/* ===== Testimonials ===== */
#testimonials blockquote {
  position: relative;
  margin: 1rem 0;
  padding: 1.5rem 1.5rem 1.5rem 3.5rem;
  background: linear-gradient(135deg, rgba(245, 166, 35, 0.06), rgba(255, 77, 109, 0.06));
  border-radius: var(--radius-md);
  border-left: 4px solid var(--primary);
  transition: all var(--transition-base);
}

#testimonials blockquote::before {
  content: "\201C";
  position: absolute;
  left: 1rem;
  top: 0.5rem;
  font-size: 3rem;
  line-height: 1;
  font-family: Georgia, serif;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  opacity: 0.6;
}

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

#testimonials blockquote p {
  margin: 0;
  font-style: italic;
  color: var(--text-sub);
}

/* ===== News & Articles ===== */
#news article,
#articles article {
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
  background: var(--bg-body);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  transition: all var(--transition-base);
}

#news article:hover,
#articles article:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(245, 166, 35, 0.35);
}

#news article h3,
#articles article h3 {
  margin-top: 0;
  font-size: 1.1rem;
  transition: color var(--transition-fast);
}

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

#news article time,
#articles article time {
  display: inline-block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

#articles article a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary-dark);
  transition: gap var(--transition-fast), color var(--transition-fast);
}

#articles article a::after {
  content: "\2192";
  transition: transform var(--transition-fast);
}

#articles article a:hover {
  color: var(--accent);
  gap: 0.6rem;
}

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

/* ===== FAQ ===== */
#faq details {
  margin-bottom: 0.75rem;
  background: var(--bg-body);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: all var(--transition-base);
}

#faq details:hover {
  border-color: rgba(245, 166, 35, 0.4);
  box-shadow: var(--shadow-sm);
}

#faq details[open] {
  border-color: rgba(245, 166, 35, 0.5);
  box-shadow: var(--shadow-md);
}

#faq summary {
  position: relative;
  padding: 1rem 3rem 1rem 1.25rem;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--text-main);
  cursor: pointer;
  list-style: none;
  transition: color var(--transition-fast), background var(--transition-fast);
}

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

#faq summary::after {
  content: "+";
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 300;
  line-height: 1;
  color: var(--primary);
  transition: transform var(--transition-base);
}

#faq details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
  color: var(--accent);
}

#faq summary:hover {
  color: var(--primary-dark);
  background: rgba(245, 166, 35, 0.06);
}

#faq details p {
  padding: 0 1.25rem 1.25rem;
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-sub);
  animation: fadeIn 0.4s ease both;
}

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

/* ===== Contact ===== */
#contact address {
  font-style: normal;
  display: grid;
  gap: 0.75rem;
}

#contact address p {
  padding: 0.85rem 1.25rem;
  background: var(--bg-body);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  margin: 0;
  transition: all var(--transition-fast);
}

#contact address p:hover {
  border-color: rgba(245, 166, 35, 0.4);
  transform: translateX(6px);
}

#contact address strong {
  color: var(--primary-dark);
}

/* ===== Sitemap & Links ===== */
#sitemap ul,
#links ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

#sitemap ul li a,
#links ul li a {
  display: inline-block;
  padding: 0.5rem 1.1rem;
  font-size: 0.88rem;
  color: var(--text-sub);
  background: var(--bg-body);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

#sitemap ul li a:hover,
#links ul li a:hover {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

/* ===== Footer ===== */
footer {
  margin-top: 3rem;
  padding: 3rem 1.25rem 2rem;
  background: linear-gradient(180deg, var(--bg-dark-2), var(--bg-dark));
  color: rgba(245, 246, 250, 0.75);
  position: relative;
  overflow: hidden;
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary));
  background-size: 200% 100%;
  animation: gradientMove 4s linear infinite;
}

@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

footer > section {
  max-width: var(--max-width);
  margin: 0 auto 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

footer > section:last-of-type {
  border-bottom: none;
}

footer h2 {
  font-size: 1.05rem;
  color: var(--primary-light);
  margin-bottom: 0.6rem;
  padding-left: 0.85rem;
}

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

footer p {
  color: rgba(245, 246, 250, 0.65);
  font-size: 0.88rem;
  margin-bottom: 0.5rem;
}

footer a {
  color: var(--primary-light);
}

footer a:hover {
  color: var(--accent-light);
}

footer > p small {
  display: block;
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
  font-size: 0.78rem;
  color: rgba(245, 246, 250, 0.45);
  padding-top: 0.5rem;
}

/* ===== Back to Top ===== */
body > a[aria-label="返回顶部"] {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 999;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  box-shadow: var(--shadow-glow);
  transition: all var(--transition-base);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

body > a[aria-label="返回顶部"]::before {
  content: "\2191";
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1;
}

body > a[aria-label="返回顶部"]:hover {
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 12px 36px rgba(245, 166, 35, 0.5);
  color: #fff;
}

/* ===== Scroll Animations ===== */
@media (prefers-reduced-motion: no-preference) {
  main > section,
  footer > section {
    animation: scrollReveal linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 40%;
  }
}

@keyframes scrollReveal {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  #site-header nav {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0.25rem;
    padding: 0.5rem 1rem;
  }

  #site-header {
    height: auto;
    min-height: var(--header-height);
  }

  #site-header nav ul {
    width: 100%;
    padding-bottom: 0.25rem;
  }

  #site-header nav ul li a {
    padding: 0.4rem 0.7rem;
    font-size: 0.82rem;
  }

  html {
    scroll-padding-top: 110px;
  }

  #hero {
    padding: 2.25rem 1.5rem;
    border-radius: var(--radius-lg);
  }

  #hero a[role="button"] {
    display: flex;
    width: 100%;
    margin-right: 0;
    margin-bottom: 0.75rem;
  }
}

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

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

  #brand,
  #products,
  #solutions,
  #industry,
  #cases,
  #testimonials,
  #news,
  #articles,
  #faq,
  #howto,
  #contact,
  #sitemap,
  #links {
    border-radius: var(--radius-md);
    padding: 1.5rem 1rem;
  }

  #hero {
    padding: 1.75rem 1.25rem;
  }

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

  #banner-carousel figure img {
    aspect-ratio: 16 / 10;
  }

  #banner-carousel figcaption {
    padding: 1.75rem 1rem 0.85rem;
    font-size: 0.8rem;
  }

  #products ul li,
  #solutions ul li,
  #industry ul li,
  #howto ul li,
  #howto ol li {
    padding: 0.75rem 0.85rem 0.75rem 2.4rem;
    font-size: 0.9rem;
  }

  #testimonials blockquote {
    padding: 1.25rem 1.25rem 1.25rem 3rem;
  }

  #news article,
  #articles article {
    padding: 1rem 1.1rem;
  }

  #faq summary {
    padding: 0.9rem 2.75rem 0.9rem 1rem;
    font-size: 0.92rem;
  }

  footer {
    padding: 2rem 1rem 1.5rem;
  }

  body > a[aria-label="返回顶部"] {
    right: 1rem;
    bottom: 1rem;
    width: 42px;
    height: 42px;
  }
}

/* ===== Accessibility ===== */
a:focus-visible,
summary:focus-visible,
button:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

::selection {
  background: rgba(245, 166, 35, 0.3);
  color: var(--text-main);
}

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

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

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--primary), var(--accent));
  border-radius: var(--radius-full);
  border: 2px solid var(--bg-body);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--primary-dark), var(--accent));
}

@media print {
  #site-header,
  body > a[aria-label="返回顶部"],
  #banner-carousel {
    display: none;
  }

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