:root {
  --primary: #E85D2A;
  --primary-light: #FF8A5C;
  --primary-dark: #C44215;
  --primary-glow: rgba(232, 93, 42, 0.35);
  --accent: #FFB347;
  --accent-2: #FF6B6B;
  --bg: #FFF8F3;
  --bg-alt: #FFFFFF;
  --bg-card: rgba(255, 255, 255, 0.72);
  --bg-glass: rgba(255, 255, 255, 0.55);
  --bg-glass-border: rgba(255, 255, 255, 0.65);
  --text: #2D1B12;
  --text-secondary: #6B5248;
  --text-muted: #9C8A80;
  --border: rgba(232, 93, 42, 0.12);
  --shadow-sm: 0 2px 8px rgba(232, 93, 42, 0.06);
  --shadow-md: 0 8px 28px rgba(232, 93, 42, 0.1);
  --shadow-lg: 0 16px 48px rgba(232, 93, 42, 0.14);
  --shadow-glow: 0 0 32px rgba(232, 93, 42, 0.18);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 999px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --max-width: 1200px;
  --nav-height: 68px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #120D0A;
    --bg-alt: #1A120E;
    --bg-card: rgba(38, 26, 20, 0.78);
    --bg-glass: rgba(38, 26, 20, 0.6);
    --bg-glass-border: rgba(232, 93, 42, 0.18);
    --text: #F5EDE8;
    --text-secondary: #C4B0A5;
    --text-muted: #8A7668;
    --border: rgba(232, 93, 42, 0.18);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 28px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 32px rgba(232, 93, 42, 0.12);
  }
}

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

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

body {
  font-family: var(--font);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.75;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color var(--transition), color var(--transition);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 80% 60% at 10% 0%, rgba(232, 93, 42, 0.08), transparent 60%),
    radial-gradient(ellipse 60% 50% at 90% 10%, rgba(255, 179, 71, 0.07), transparent 55%),
    radial-gradient(ellipse 70% 60% at 50% 100%, rgba(255, 107, 107, 0.05), transparent 60%);
  pointer-events: none;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(232, 93, 42, 0.03) 1px, transparent 1px),
    radial-gradient(circle at 80% 70%, rgba(255, 179, 71, 0.03) 1px, transparent 1px);
  background-size: 60px 60px, 80px 80px;
  pointer-events: none;
}

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

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

a:hover {
  color: var(--primary-dark);
}

ul, ol {
  list-style: none;
}

/* ===== Header ===== */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: var(--bg-glass);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--bg-glass-border);
  transition: background var(--transition), box-shadow var(--transition);
}

header:hover {
  box-shadow: var(--shadow-sm);
}

header nav {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

header nav > div:first-child a {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  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;
  transition: opacity var(--transition);
}

header nav > div:first-child a:hover {
  opacity: 0.8;
  -webkit-text-fill-color: transparent;
}

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

header nav > ul li a {
  display: block;
  padding: 8px 14px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-full);
  transition: all var(--transition);
  position: relative;
  white-space: nowrap;
}

header nav > ul li a:hover {
  color: var(--primary);
  background: rgba(232, 93, 42, 0.08);
  transform: translateY(-1px);
}

/* ===== Main ===== */
main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px calc(var(--nav-height) + 40px);
  padding-top: calc(var(--nav-height) + 20px);
}

/* ===== Breadcrumb ===== */
main > nav[aria-label="面包屑"] {
  margin-bottom: 24px;
  animation: fadeInUp 0.6s ease both;
}

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

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

main > nav[aria-label="面包屑"] ol li:not(:last-child)::after {
  content: "/";
  color: var(--text-muted);
  opacity: 0.5;
}

main > nav[aria-label="面包屑"] ol li a {
  color: var(--text-secondary);
  font-weight: 500;
}

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

/* ===== Hero Section ===== */
#hero {
  position: relative;
  padding: 64px 48px;
  margin-bottom: 48px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(135deg, #E85D2A 0%, #FF8A5C 35%, #FFB347 70%, #FFD166 100%);
  color: #fff;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  animation: fadeInUp 0.7s ease both;
  isolation: isolate;
}

#hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.25), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: float 8s ease-in-out infinite;
}

#hero::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: float 10s ease-in-out infinite reverse;
}

#hero h1 {
  position: relative;
  z-index: 1;
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}

#hero p {
  position: relative;
  z-index: 1;
  font-size: clamp(0.92rem, 1.6vw, 1.05rem);
  line-height: 1.85;
  margin-bottom: 14px;
  max-width: 780px;
  color: rgba(255, 255, 255, 0.95);
}

#hero p:last-of-type {
  margin-bottom: 28px;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-weight: 500;
}

#hero > div {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

#hero > div a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 32px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  transition: all var(--transition);
  letter-spacing: 0.3px;
}

#hero > div a:first-child {
  background: #fff;
  color: var(--primary-dark);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

#hero > div a:first-child:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.22);
  color: var(--primary-dark);
}

#hero > div a:last-child {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

#hero > div a:last-child:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: translateY(-3px);
  color: #fff;
}

/* ===== Sections ===== */
main > section:not(#hero) {
  margin-bottom: 48px;
  padding: 40px 36px;
  background: var(--bg-card);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
  animation: fadeInUp 0.6s ease both;
}

main > section:not(#hero):hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(232, 93, 42, 0.2);
}

main > section > h2 {
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  font-weight: 800;
  margin-bottom: 28px;
  padding-bottom: 16px;
  position: relative;
  letter-spacing: -0.3px;
  color: var(--text);
}

main > section > h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 56px;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent), transparent);
  transition: width var(--transition-slow);
}

main > section:hover > h2::after {
  width: 120px;
}

/* ===== Articles ===== */
main > section article {
  margin-bottom: 28px;
  padding: 24px 28px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

main > section article::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--primary), var(--accent));
  border-radius: 0 3px 3px 0;
  opacity: 0;
  transition: opacity var(--transition);
}

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

main > section article:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(232, 93, 42, 0.25);
}

main > section article:last-child {
  margin-bottom: 0;
}

main > section article h3 {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.45;
  transition: color var(--transition);
}

main > section article:hover h3 {
  color: var(--primary);
}

main > section article p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 10px;
}

main > section article p:last-child {
  margin-bottom: 0;
}

main > section article a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary);
  margin-top: 6px;
  transition: all var(--transition);
}

main > section article a::after {
  content: "→";
  transition: transform var(--transition);
  font-size: 1rem;
}

main > section article a:hover {
  color: var(--primary-dark);
  gap: 8px;
}

main > section article a:hover::after {
  transform: translateX(4px);
}

/* ===== Product Advantages List ===== */
#products ul {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 14px;
  margin-top: 20px;
}

#products ul li {
  padding: 16px 20px;
  background: linear-gradient(135deg, rgba(232, 93, 42, 0.06), rgba(255, 179, 71, 0.04));
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  transition: all var(--transition);
  position: relative;
  padding-left: 44px;
}

#products ul li::before {
  content: "✓";
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 700;
  box-shadow: 0 2px 8px var(--primary-glow);
}

#products ul li:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  border-color: rgba(232, 93, 42, 0.25);
  background: linear-gradient(135deg, rgba(232, 93, 42, 0.1), rgba(255, 179, 71, 0.06));
}

/* ===== Reviews / Blockquotes ===== */
#reviews blockquote {
  margin-bottom: 18px;
  padding: 22px 26px;
  background: linear-gradient(135deg, rgba(232, 93, 42, 0.05), rgba(255, 179, 71, 0.03));
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  position: relative;
  transition: all var(--transition);
}

#reviews blockquote::before {
  content: "\201C";
  position: absolute;
  top: 8px;
  left: 16px;
  font-size: 3rem;
  color: var(--primary);
  opacity: 0.12;
  font-family: Georgia, serif;
  line-height: 1;
}

#reviews blockquote:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-sm);
  border-left-color: var(--accent);
}

#reviews blockquote p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  font-style: italic;
  line-height: 1.8;
  position: relative;
  z-index: 1;
}

/* ===== News ===== */
#news article {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

#news article p:nth-of-type(1) {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.3px;
}

#news article p:nth-of-type(2) {
  font-size: 0.92rem;
  color: var(--text-secondary);
}

/* ===== Articles Section ===== */
#articles article {
  padding: 22px 26px;
}

#articles article p:first-of-type {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 10px;
}

/* ===== FAQ / Details ===== */
#faq details {
  margin-bottom: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-alt);
  overflow: hidden;
  transition: all var(--transition);
}

#faq details:hover {
  border-color: rgba(232, 93, 42, 0.25);
  box-shadow: var(--shadow-sm);
}

#faq details[open] {
  border-color: rgba(232, 93, 42, 0.3);
  box-shadow: var(--shadow-md);
  background: linear-gradient(135deg, rgba(232, 93, 42, 0.03), rgba(255, 179, 71, 0.02));
}

#faq details summary {
  padding: 18px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: all var(--transition);
  position: relative;
  -webkit-user-select: none;
  user-select: none;
}

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

#faq details summary::after {
  content: "+";
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  border-radius: 50%;
  font-size: 1.1rem;
  font-weight: 300;
  transition: all var(--transition);
  box-shadow: 0 2px 8px var(--primary-glow);
}

#faq details[open] summary::after {
  content: "−";
  transform: rotate(180deg);
  background: linear-gradient(135deg, var(--accent), var(--primary));
}

#faq details summary:hover {
  color: var(--primary);
  background: rgba(232, 93, 42, 0.04);
}

#faq details > p {
  padding: 0 24px 20px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.85;
  animation: fadeInUp 0.35s ease both;
}

/* ===== HowTo ===== */
#howto article {
  padding: 28px 32px;
}

#howto h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin: 22px 0 12px;
  padding-left: 14px;
  border-left: 3px solid var(--primary);
  line-height: 1.4;
}

#howto h3:first-of-type {
  margin-top: 0;
}

#howto ul,
#howto ol {
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 8px;
}

#howto ul li {
  position: relative;
  padding-left: 28px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

#howto ul li::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 0 6px var(--primary-glow);
}

#howto ol {
  counter-reset: step;
}

#howto ol li {
  position: relative;
  padding-left: 44px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.75;
  counter-increment: step;
  padding-top: 4px;
  padding-bottom: 4px;
}

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

/* ===== Contact ===== */
#contact address {
  font-style: normal;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
  margin-bottom: 28px;
}

#contact address p {
  padding: 14px 18px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: all var(--transition);
  line-height: 1.6;
}

#contact address p:hover {
  border-color: rgba(232, 93, 42, 0.25);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

#contact address p a {
  font-weight: 600;
}

#contact h3 {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text);
  margin: 24px 0 10px;
  padding-left: 14px;
  border-left: 3px solid var(--primary);
}

#contact p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.85;
}

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

#sitemap ul li a,
#links ul li a {
  display: inline-block;
  padding: 9px 20px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  transition: all var(--transition);
}

#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) scale(1.04);
  box-shadow: 0 6px 20px var(--primary-glow);
}

/* ===== Footer ===== */
footer {
  margin-top: 48px;
  padding: 48px 24px 32px;
  background: linear-gradient(180deg, transparent, rgba(232, 93, 42, 0.04));
  border-top: 1px solid var(--border);
}

footer > section {
  max-width: var(--max-width);
  margin: 0 auto 24px;
  padding: 20px 24px;
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-md);
  transition: all var(--transition);
}

footer > section:hover {
  box-shadow: var(--shadow-sm);
  border-color: rgba(232, 93, 42, 0.2);
}

footer > section h2 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

footer > section h2::before {
  content: "";
  width: 4px;
  height: 16px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--primary), var(--accent));
  flex-shrink: 0;
}

footer > section p {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.8;
}

footer > section:last-child {
  margin-bottom: 0;
  text-align: center;
  background: transparent;
  border: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

footer > section:last-child p {
  font-size: 0.8rem;
}

/* ===== Animations ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-20px, 20px) scale(1.05);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.6;
  }
}

/* ===== Scroll Reveal ===== */
main > section {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.7s ease forwards;
}

main > section:nth-child(1) { animation-delay: 0.05s; }
main > section:nth-child(2) { animation-delay: 0.1s; }
main > section:nth-child(3) { animation-delay: 0.15s; }
main > section:nth-child(4) { animation-delay: 0.2s; }
main > section:nth-child(5) { animation-delay: 0.25s; }
main > section:nth-child(6) { animation-delay: 0.3s; }
main > section:nth-child(7) { animation-delay: 0.35s; }
main > section:nth-child(8) { animation-delay: 0.4s; }
main > section:nth-child(9) { animation-delay: 0.45s; }
main > section:nth-child(10) { animation-delay: 0.5s; }
main > section:nth-child(11) { animation-delay: 0.55s; }
main > section:nth-child(12) { animation-delay: 0.6s; }
main > section:nth-child(13) { animation-delay: 0.65s; }
main > section:nth-child(14) { animation-delay: 0.7s; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  :root {
    --nav-height: 60px;
  }

  main {
    padding: 0 20px calc(var(--nav-height) + 32px);
    padding-top: calc(var(--nav-height) + 16px);
  }

  #hero {
    padding: 48px 32px;
  }

  main > section:not(#hero) {
    padding: 32px 28px;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 56px;
    --radius-lg: 20px;
    --radius-xl: 24px;
  }

  body {
    font-size: 15px;
  }

  header nav {
    padding: 0 16px;
  }

  header nav > div:first-child a {
    font-size: 1.15rem;
  }

  header nav > ul {
    gap: 2px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    max-width: 100%;
    padding: 4px 0;
  }

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

  header nav > ul li a {
    padding: 6px 10px;
    font-size: 0.78rem;
    white-space: nowrap;
  }

  main {
    padding: 0 16px calc(var(--nav-height) + 24px);
    padding-top: calc(var(--nav-height) + 12px);
  }

  main > nav[aria-label="面包屑"] {
    margin-bottom: 16px;
  }

  #hero {
    padding: 36px 24px;
    margin-bottom: 32px;
    border-radius: var(--radius-lg);
  }

  #hero::before,
  #hero::after {
    width: 250px;
    height: 250px;
  }

  #hero h1 {
    font-size: 1.35rem;
    margin-bottom: 14px;
  }

  #hero p {
    font-size: 0.88rem;
    margin-bottom: 12px;
  }

  #hero p:last-of-type {
    padding: 12px 16px;
    font-size: 0.84rem;
    margin-bottom: 20px;
  }

  #hero > div {
    flex-direction: column;
    gap: 10px;
  }

  #hero > div a {
    width: 100%;
    padding: 12px 24px;
    font-size: 0.9rem;
  }

  main > section:not(#hero) {
    padding: 24px 20px;
    margin-bottom: 32px;
    border-radius: var(--radius-md);
  }

  main > section > h2 {
    font-size: 1.15rem;
    margin-bottom: 20px;
    padding-bottom: 12px;
  }

  main > section > h2::after {
    width: 40px;
    height: 3px;
  }

  main > section article {
    padding: 18px 20px;
    border-radius: var(--radius-sm);
  }

  main > section article h3 {
    font-size: 1rem;
  }

  main > section article p {
    font-size: 0.86rem;
  }

  #products ul {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  #products ul li {
    padding: 14px 16px 14px 40px;
    font-size: 0.84rem;
  }

  #products ul li::before {
    left: 12px;
    width: 20px;
    height: 20px;
    font-size: 0.65rem;
  }

  #reviews blockquote {
    padding: 18px 20px;
  }

  #reviews blockquote p {
    font-size: 0.86rem;
  }

  #faq details summary {
    padding: 14px 18px;
    font-size: 0.88rem;
  }

  #faq details summary::after {
    width: 24px;
    height: 24px;
    font-size: 1rem;
  }

  #faq details > p {
    padding: 0 18px 16px;
    font-size: 0.84rem;
  }

  #howto article {
    padding: 20px 18px;
  }

  #howto h3 {
    font-size: 0.95rem;
    margin: 18px 0 10px;
  }

  #howto ul li,
  #howto ol li {
    font-size: 0.84rem;
  }

  #howto ol li {
    padding-left: 38px;
  }

  #howto ol li::before {
    width: 24px;
    height: 24px;
    font-size: 0.72rem;
  }

  #contact address {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  #contact address p {
    padding: 12px 16px;
    font-size: 0.84rem;
  }

  #contact h3 {
    font-size: 0.98rem;
  }

  #sitemap ul,
  #links ul {
    gap: 8px;
  }

  #sitemap ul li a,
  #links ul li a {
    padding: 7px 14px;
    font-size: 0.78rem;
  }

  footer {
    padding: 32px 16px 24px;
  }

  footer > section {
    padding: 16px 18px;
    border-radius: var(--radius-sm);
  }

  footer > section h2 {
    font-size: 0.88rem;
  }

  footer > section p {
    font-size: 0.78rem;
  }
}

@media (max-width: 400px) {
  #hero {
    padding: 28px 18px;
  }

  #hero h1 {
    font-size: 1.2rem;
  }

  main > section:not(#hero) {
    padding: 20px 16px;
  }

  main > section article {
    padding: 16px 16px;
  }

  header nav > ul li a {
    padding: 5px 8px;
    font-size: 0.72rem;
  }
}

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

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

::selection {
  background: rgba(232, 93, 42, 0.2);
  color: var(--text);
}

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

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--primary), var(--accent));
  border-radius: 4px;
}

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

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