:root {
  --color-primary: #c0392b;
  --color-primary-dark: #8e2f24;
  --color-primary-light: #e05a4a;
  --color-accent: #e0a03a;
  --color-accent-light: #f0c060;
  --color-bg: #faf7f5;
  --color-bg-alt: #f2ebe7;
  --color-surface: #ffffff;
  --color-surface-glass: rgba(255, 255, 255, 0.72);
  --color-text: #2c1b18;
  --color-text-secondary: #6b5652;
  --color-text-muted: #9a8580;
  --color-border: #e8ddd8;
  --color-border-strong: #d4c4bd;
  --color-shadow: rgba(44, 27, 24, 0.08);
  --color-shadow-strong: rgba(44, 27, 24, 0.16);
  --color-link: #a83225;
  --color-link-hover: #c0392b;
  --color-footer-bg: #2c1b18;
  --color-footer-text: #d4c4bd;
  --color-footer-muted: #9a8580;
  --gradient-hero: linear-gradient(135deg, #c0392b 0%, #8e2f24 45%, #5a1f18 100%);
  --gradient-accent: linear-gradient(135deg, #e0a03a 0%, #c0392b 100%);
  --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.15) 100%);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 999px;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1.25rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4.5rem;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --font-serif: "Noto Serif SC", "Songti SC", "SimSun", Georgia, serif;
  --transition-fast: 0.18s ease;
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  --max-width: 1200px;
  --header-height: 68px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #14100f;
    --color-bg-alt: #1c1614;
    --color-surface: #211a18;
    --color-surface-glass: rgba(33, 26, 24, 0.72);
    --color-text: #f2ebe7;
    --color-text-secondary: #c4b3ad;
    --color-text-muted: #8a7671;
    --color-border: #332925;
    --color-border-strong: #463a35;
    --color-shadow: rgba(0, 0, 0, 0.4);
    --color-shadow-strong: rgba(0, 0, 0, 0.6);
    --color-link: #e88a7c;
    --color-link-hover: #f0a99e;
    --color-footer-bg: #0e0b0a;
    --color-footer-text: #c4b3ad;
    --color-footer-muted: #8a7671;
    --gradient-hero: linear-gradient(135deg, #7a2620 0%, #4a1712 45%, #2a0d0a 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
  }
}

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

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--color-text);
  background-color: var(--color-bg);
  background-image:
    radial-gradient(ellipse 80% 50% at 15% 0%, rgba(192, 57, 43, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 85% 100%, rgba(224, 160, 58, 0.05) 0%, transparent 60%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

@media (prefers-color-scheme: dark) {
  body {
    background-image:
      radial-gradient(ellipse 80% 50% at 15% 0%, rgba(192, 57, 43, 0.12) 0%, transparent 60%),
      radial-gradient(ellipse 60% 40% at 85% 100%, rgba(224, 160, 58, 0.06) 0%, transparent 60%);
  }
}

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

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

a:hover {
  color: var(--color-link-hover);
  text-decoration: underline;
  text-underline-offset: 3px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.35;
  color: var(--color-text);
  margin: 0 0 var(--space-sm);
  letter-spacing: -0.01em;
}

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

h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  position: relative;
  padding-bottom: var(--space-sm);
}

h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 56px;
  height: 4px;
  border-radius: var(--radius-full);
  background: var(--gradient-accent);
}

h3 {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  margin-top: var(--space-lg);
}

p {
  margin: 0 0 var(--space-md);
}

ul, ol {
  margin: 0 0 var(--space-md);
  padding-left: 1.4em;
}

li {
  margin-bottom: var(--space-xs);
}

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

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

small {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

time {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  font-variant-numeric: tabular-nums;
}

blockquote {
  margin: var(--space-md) 0;
  padding: var(--space-md) var(--space-lg);
  border-left: 4px solid var(--color-primary);
  background: var(--color-bg-alt);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  color: var(--color-text-secondary);
  font-style: italic;
}

blockquote p {
  margin: 0;
}

blockquote p::before {
  content: "\201C";
  font-family: var(--font-serif);
  font-size: 1.5em;
  color: var(--color-primary);
  line-height: 0;
  vertical-align: -0.3em;
  margin-right: 2px;
}

hr {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: var(--space-lg) 0;
}

body > a[href="#main"] {
  position: absolute;
  top: -100px;
  left: var(--space-md);
  z-index: 999;
  padding: var(--space-sm) var(--space-md);
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius-md);
  font-weight: 600;
  transition: top var(--transition-fast);
}

body > a[href="#main"]:focus {
  top: var(--space-sm);
  text-decoration: none;
}

header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-surface-glass);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 2px 20px var(--color-shadow);
  transition: box-shadow var(--transition-base), background var(--transition-base);
}

header > div {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-sm) var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

header > div > a[aria-label] {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
  flex-shrink: 0;
}

header > div > a[aria-label] svg {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 14px rgba(192, 57, 43, 0.3);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

header > div > a[aria-label]:hover svg {
  transform: rotate(-6deg) scale(1.06);
  box-shadow: 0 6px 20px rgba(192, 57, 43, 0.45);
}

header > div > a[aria-label] strong {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--color-text);
  white-space: nowrap;
  letter-spacing: 0.01em;
}

header nav {
  flex: 1 1 auto;
  min-width: 0;
}

header nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
}

header nav li {
  margin: 0;
}

header nav a {
  display: block;
  padding: 6px 11px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  border-radius: var(--radius-full);
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--transition-fast), background var(--transition-fast), transform var(--transition-fast);
}

header nav a:hover {
  color: var(--color-primary);
  background: var(--color-bg-alt);
  text-decoration: none;
  transform: translateY(-1px);
}

header form[role="search"] {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

header form[role="search"] label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

header form[role="search"] input {
  width: 180px;
  padding: 8px 14px;
  font-size: 0.88rem;
  font-family: inherit;
  color: var(--color-text);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), width var(--transition-base);
}

header form[role="search"] input::placeholder {
  color: var(--color-text-muted);
}

header form[role="search"] input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.15);
  width: 220px;
}

header form[role="search"] button {
  padding: 8px 16px;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  color: #fff;
  background: var(--gradient-accent);
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), filter var(--transition-fast);
  box-shadow: 0 3px 12px rgba(192, 57, 43, 0.25);
}

header form[role="search"] button:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(192, 57, 43, 0.35);
  filter: brightness(1.05);
}

header form[role="search"] button:active {
  transform: translateY(0);
}

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md) var(--space-2xl);
}

main > nav[aria-label="面包屑导航"] {
  padding: var(--space-md) 0 var(--space-sm);
}

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

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(--color-text-muted);
  font-weight: 700;
}

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

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

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

section {
  margin-bottom: var(--space-xl);
  animation: fadeUp var(--transition-slow) both;
  animation-timeline: view();
  animation-range: entry 0% entry 60%;
}

@supports not (animation-timeline: view()) {
  section {
    animation: fadeUp 0.7s both;
  }
}

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

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

#hero {
  position: relative;
  margin-top: var(--space-sm);
  margin-bottom: var(--space-xl);
  padding: clamp(1.75rem, 5vw, 3.5rem) clamp(1.25rem, 4vw, 3rem);
  border-radius: var(--radius-xl);
  background: var(--gradient-hero);
  color: #fff;
  overflow: hidden;
  box-shadow: 0 20px 60px -12px rgba(90, 31, 24, 0.45);
  isolation: isolate;
}

#hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 15%, rgba(224, 160, 58, 0.35) 0%, transparent 40%),
    radial-gradient(circle at 10% 90%, rgba(255, 255, 255, 0.12) 0%, transparent 45%);
  z-index: -1;
  pointer-events: none;
}

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

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

#hero h1 {
  color: #fff;
  max-width: 22ch;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.25);
}

#hero > p {
  max-width: 68ch;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(0.95rem, 1.6vw, 1.08rem);
  line-height: 1.8;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
}

#hero > p a {
  color: var(--color-accent-light);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid rgba(240, 192, 96, 0.5);
  padding-bottom: 1px;
  transition: border-color var(--transition-fast), color var(--transition-fast);
}

#hero > p a:hover {
  color: #fff;
  border-color: #fff;
  text-decoration: none;
}

#hero figure {
  margin: var(--space-lg) 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 16px 48px -8px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

#hero figure:hover {
  transform: translateY(-4px) scale(1.005);
  box-shadow: 0 24px 64px -8px rgba(0, 0, 0, 0.5);
}

#hero figure svg {
  width: 100%;
  height: auto;
  display: block;
}

#hero figcaption {
  padding: var(--space-sm) var(--space-md);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
  background: rgba(0, 0, 0, 0.2);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

#hero > p:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm) var(--space-md);
  margin-bottom: 0;
}

#hero > p:last-child a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

#hero > p:last-child a:first-child {
  background: #fff;
  color: var(--color-primary-dark);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

#hero > p:last-child a:first-child:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.3);
  background: var(--color-accent-light);
  color: var(--color-primary-dark);
}

#hero > p:last-child a:last-child {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

#hero > p:last-child a:last-child:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-2px);
  text-decoration: none;
}

#brand,
#collection,
#products,
#scenes,
#cases,
#news,
#howto,
#articles,
#knowledge,
#faq,
#eeat,
#contact,
#sitemap,
#links {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 3.5vw, 2.5rem);
  box-shadow: 0 4px 24px -6px var(--color-shadow);
  transition: box-shadow var(--transition-base), transform var(--transition-base), border-color var(--transition-base);
}

#brand:hover,
#collection:hover,
#products:hover,
#scenes:hover,
#cases:hover,
#news:hover,
#howto:hover,
#articles:hover,
#knowledge:hover,
#faq:hover,
#eeat:hover,
#contact:hover,
#sitemap:hover,
#links:hover {
  box-shadow: 0 12px 40px -8px var(--color-shadow-strong);
  border-color: var(--color-border-strong);
}

#brand > h3,
#collection > h3,
#products > h3,
#scenes > h3,
#cases > h3,
#howto > h3,
#knowledge > h3,
#eeat > h3 {
  position: relative;
  padding-left: var(--space-md);
  color: var(--color-primary);
}

#brand > h3::before,
#collection > h3::before,
#products > h3::before,
#scenes > h3::before,
#cases > h3::before,
#howto > h3::before,
#knowledge > h3::before,
#eeat > h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  bottom: 0.35em;
  width: 4px;
  border-radius: var(--radius-full);
  background: var(--gradient-accent);
}

#brand ul,
#products ul,
#howto ul,
#news ul {
  list-style: none;
  padding-left: 0;
}

#brand ul li,
#products ul li,
#howto ul li,
#news ul li {
  position: relative;
  padding-left: 1.6em;
  padding-bottom: var(--space-xs);
  border-bottom: 1px dashed var(--color-border);
}

#brand ul li:last-child,
#products ul li:last-child,
#howto ul li:last-child,
#news ul li:last-child {
  border-bottom: none;
}

#brand ul li::before,
#products ul li::before,
#howto ul li::before,
#news ul li::before {
  content: "";
  position: absolute;
  left: 0.3em;
  top: 0.7em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gradient-accent);
  box-shadow: 0 0 0 3px rgba(224, 160, 58, 0.15);
}

#news ul li {
  transition: background var(--transition-fast), padding-left var(--transition-fast);
  border-radius: var(--radius-sm);
  padding-top: var(--space-xs);
}

#news ul li:hover {
  background: var(--color-bg-alt);
  padding-left: 1.9em;
}

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

#howto ol > li {
  counter-increment: howto;
  position: relative;
  padding-left: 2.8em;
  padding-bottom: var(--space-sm);
  margin-bottom: var(--space-sm);
  border-left: 2px solid var(--color-border);
  margin-left: 1em;
}

#howto ol > li::before {
  content: counter(howto);
  position: absolute;
  left: -1.05em;
  top: 0;
  width: 2.1em;
  height: 2.1em;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  background: var(--gradient-accent);
  border-radius: 50%;
  box-shadow: 0 3px 10px rgba(192, 57, 43, 0.3);
}

#howto ol > li:last-child {
  border-left-color: transparent;
}

#articles article {
  position: relative;
  padding: var(--space-md) var(--space-lg);
  margin-bottom: var(--space-md);
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base), background var(--transition-base);
  overflow: hidden;
}

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

#articles article:hover {
  transform: translateX(4px);
  box-shadow: 0 10px 30px -8px var(--color-shadow-strong);
  border-color: var(--color-border-strong);
  background: var(--color-surface);
}

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

#articles article h3 {
  margin-top: 0;
  margin-bottom: var(--space-xs);
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
}

#articles article h3 a {
  color: var(--color-text);
  text-decoration: none;
  transition: color var(--transition-fast);
}

#articles article h3 a:hover {
  color: var(--color-primary);
  text-decoration: none;
}

#articles article > p:first-of-type {
  margin-bottom: var(--space-sm);
}

#articles article > p:last-child {
  margin-bottom: 0;
}

#articles article > p:last-child a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-primary);
  text-decoration: none;
  padding: 4px 0;
}

#articles article > p:last-child a::after {
  content: "→";
  transition: transform var(--transition-fast);
}

#articles article > p:last-child a:hover::after {
  transform: translateX(4px);
}

#articles article > p:last-child a:hover {
  text-decoration: none;
  color: var(--color-primary-dark);
}

#cases blockquote {
  position: relative;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  background: var(--gradient-glass);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-primary);
}

#cases blockquote:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px -8px var(--color-shadow-strong);
}

#cases blockquote p {
  color: var(--color-text-secondary);
  font-style: normal;
  font-size: 0.95rem;
}

#cases blockquote p::before {
  display: none;
}

#faq details {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-sm);
  overflow: hidden;
  transition: border-color var(--transition-base), box-shadow var(--transition-base), background var(--transition-base);
}

#faq details:hover {
  border-color: var(--color-border-strong);
  box-shadow: 0 4px 16px -4px var(--color-shadow);
}

#faq details[open] {
  background: var(--color-surface);
  border-color: var(--color-primary);
  box-shadow: 0 6px 24px -6px rgba(192, 57, 43, 0.18);
}

#faq summary {
  position: relative;
  padding: var(--space-md) var(--space-lg) var(--space-md) var(--space-md);
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-text);
  cursor: pointer;
  list-style: none;
  transition: color var(--transition-fast), background var(--transition-fast);
  user-select: none;
}

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

#faq summary::after {
  content: "+";
  position: absolute;
  right: var(--space-md);
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--color-primary);
  background: var(--color-bg-alt);
  border-radius: 50%;
  transition: transform var(--transition-base), background var(--transition-fast), color var(--transition-fast);
}

#faq details[open] summary::after {
  content: "−";
  transform: translateY(-50%) rotate(180deg);
  background: var(--color-primary);
  color: #fff;
}

#faq summary:hover {
  color: var(--color-primary);
}

#faq summary:hover::after {
  background: var(--color-primary);
  color: #fff;
}

#faq details > p {
  margin: 0;
  padding: 0 var(--space-lg) var(--space-md) var(--space-md);
  color: var(--color-text-secondary);
  font-size: 0.94rem;
  animation: fadeIn 0.3s ease both;
}

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

#contact address {
  font-style: normal;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-sm) var(--space-lg);
  padding: var(--space-md);
  background: var(--color-bg-alt);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}

#contact address p {
  margin: 0;
  padding: var(--space-xs) 0;
  border-bottom: 1px dashed var(--color-border);
  font-size: 0.94rem;
}

#contact address p:last-child {
  border-bottom: none;
}

#contact address strong {
  color: var(--color-primary);
  margin-right: 6px;
}

#contact address a {
  color: var(--color-link);
  word-break: break-all;
}

#sitemap ul,
#links ul {
  list-style: none;
  padding-left: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: var(--space-xs) var(--space-sm);
}

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

#sitemap a,
#links a {
  display: block;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  color: var(--color-text-secondary);
  text-decoration: none;
  border: 1px solid transparent;
  transition: all var(--transition-fast);
}

#sitemap a:hover,
#links a:hover {
  color: var(--color-primary);
  background: var(--color-bg-alt);
  border-color: var(--color-border);
  text-decoration: none;
  transform: translateX(3px);
}

#links a {
  color: var(--color-text-muted);
  font-size: 0.88rem;
}

#eeat h3 {
  border-bottom: 1px dashed var(--color-border);
  padding-bottom: var(--space-xs);
}

footer {
  background: var(--color-footer-bg);
  color: var(--color-footer-text);
  padding: var(--space-xl) var(--space-md) var(--space-lg);
  margin-top: var(--space-xl);
  position: relative;
  overflow: hidden;
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-accent);
}

footer > section {
  max-width: var(--max-width);
  margin: 0 auto var(--space-lg);
  animation: none;
}

footer h2 {
  color: #fff;
  font-size: 1.15rem;
  margin-bottom: var(--space-sm);
}

footer h2::after {
  background: var(--gradient-accent);
  width: 40px;
  height: 3px;
}

footer p {
  color: var(--color-footer-text);
  font-size: 0.92rem;
  line-height: 1.75;
  max-width: 70ch;
}

footer a {
  color: var(--color-accent-light);
  text-decoration: none;
  transition: color var(--transition-fast);
}

footer a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

footer ul {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-md);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs) var(--space-md);
}

footer ul li {
  margin: 0;
}

footer ul a {
  font-size: 0.92rem;
  padding: 4px 0;
  display: inline-block;
  position: relative;
}

footer ul a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent-light);
  transition: width var(--transition-base);
}

footer ul a:hover::after {
  width: 100%;
}

footer p strong {
  color: #fff;
}

footer > p {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

footer > p small {
  color: var(--color-footer-muted);
  font-size: 0.82rem;
  line-height: 1.9;
}

footer > p time {
  color: var(--color-footer-muted);
}

@media (max-width: 1024px) {
  header > div {
    gap: var(--space-sm);
  }

  header form[role="search"] input {
    width: 150px;
  }

  header form[role="search"] input:focus {
    width: 180px;
  }
}

@media (max-width: 860px) {
  :root {
    --header-height: 60px;
  }

  header > div {
    padding: var(--space-sm);
  }

  header nav {
    order: 3;
    flex-basis: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 2px;
  }

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

  header nav ul {
    flex-wrap: nowrap;
    gap: 2px;
  }

  header nav a {
    font-size: 0.85rem;
    padding: 6px 10px;
  }

  header form[role="search"] {
    margin-left: auto;
  }

  header form[role="search"] input {
    width: 130px;
  }

  header form[role="search"] input:focus {
    width: 160px;
  }

  #hero {
    border-radius: var(--radius-lg);
  }
}

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

  header > div > a[aria-label] strong {
    font-size: 1rem;
  }

  header > div > a[aria-label] svg {
    width: 34px;
    height: 34px;
  }

  header form[role="search"] input {
    width: 100px;
    padding: 7px 12px;
    font-size: 0.82rem;
  }

  header form[role="search"] input:focus {
    width: 130px;
  }

  header form[role="search"] button {
    padding: 7px 12px;
    font-size: 0.82rem;
  }

  main {
    padding: 0 var(--space-sm) var(--space-xl);
  }

  section {
    border-radius: var(--radius-md);
    padding: var(--space-md);
    margin-bottom: var(--space-lg);
  }

  #hero {
    padding: var(--space-lg) var(--space-md);
    border-radius: var(--radius-md);
  }

  #hero h1 {
    max-width: none;
  }

  #hero figure {
    border-radius: var(--radius-md);
    margin: var(--space-md) 0;
  }

  #hero > p:last-child a {
    flex: 1 1 auto;
    justify-content: center;
    padding: 10px 16px;
    font-size: 0.9rem;
  }

  #articles article {
    padding: var(--space-md);
  }

  #articles article:hover {
    transform: none;
  }

  #faq summary {
    padding: var(--space-sm) var(--space-md) var(--space-sm) var(--space-sm);
    font-size: 0.94rem;
  }

  #faq details > p {
    padding: 0 var(--space-md) var(--space-md) var(--space-sm);
  }

  #contact address {
    grid-template-columns: 1fr;
    padding: var(--space-sm);
  }

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

  footer {
    padding: var(--space-lg) var(--space-md) var(--space-md);
  }

  footer ul {
    gap: var(--space-xs) var(--space-sm);
  }

  blockquote {
    padding: var(--space-sm) var(--space-md);
  }
}

@media (max-width: 380px) {
  header form[role="search"] input {
    width: 80px;
  }

  header form[role="search"] input:focus {
    width: 110px;
  }

  header > div > a[aria-label] strong {
    display: none;
  }
}

@media print {
  header,
  footer,
  #hero figure,
  #hero > p:last-child,
  main > nav[aria-label="面包屑导航"] {
    display: none;
  }

  body {
    background: #fff;
    color: #000;
    font-size: 12pt;
  }

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

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

  a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
    color: #555;
  }
}