:root {
  --ink-900: #1b1410;
  --ink-800: #2b2018;
  --ink-700: #3d2b1f;
  --ink-600: #6b4f3a;
  --ink-500: #8a6a4f;
  --sand-300: #c8a97e;
  --sand-200: #e2d3bf;
  --sand-100: #f3ece2;
  --paper: #fbf7f1;
  --paper-soft: #f6efe6;
  --text: #2b2018;
  --text-soft: #5c4a3a;
  --text-muted: #7d6a58;
  --line: rgba(107, 79, 58, 0.18);
  --line-strong: rgba(107, 79, 58, 0.32);
  --accent: #8a6a4f;
  --accent-strong: #6b4f3a;
  --accent-soft: #b8956f;
  --glow: rgba(200, 169, 126, 0.35);
  --card-bg: rgba(255, 252, 247, 0.78);
  --card-bg-solid: #fffdf9;
  --glass-bg: rgba(255, 252, 247, 0.55);
  --glass-border: rgba(255, 255, 255, 0.6);
  --shadow-sm: 0 2px 8px rgba(61, 43, 31, 0.06);
  --shadow-md: 0 10px 30px rgba(61, 43, 31, 0.10);
  --shadow-lg: 0 24px 60px rgba(61, 43, 31, 0.16);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --maxw: 1180px;
  --header-h: 128px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --grad-banner: linear-gradient(135deg, #f6efe6 0%, #efdfc9 32%, #d9bf9c 68%, #b8956f 100%);
  --grad-brand: linear-gradient(120deg, #3d2b1f 0%, #6b4f3a 55%, #8a6a4f 100%);
  --grad-accent: linear-gradient(135deg, #8a6a4f 0%, #c8a97e 100%);
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink-900: #f3ece2;
    --ink-800: #e6dccd;
    --ink-700: #d7c8b4;
    --ink-600: #c8a97e;
    --ink-500: #b8956f;
    --sand-300: #a8835c;
    --sand-200: #4a382a;
    --sand-100: #2b2018;
    --paper: #17120e;
    --paper-soft: #1e1813;
    --text: #ece3d6;
    --text-soft: #cbbcaa;
    --text-muted: #a08e7b;
    --line: rgba(200, 169, 126, 0.16);
    --line-strong: rgba(200, 169, 126, 0.3);
    --accent: #c8a97e;
    --accent-strong: #dcc39c;
    --accent-soft: #8a6a4f;
    --glow: rgba(200, 169, 126, 0.18);
    --card-bg: rgba(43, 32, 24, 0.62);
    --card-bg-solid: #221a14;
    --glass-bg: rgba(34, 26, 20, 0.55);
    --glass-border: rgba(200, 169, 126, 0.18);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.42);
    --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.55);
    --grad-banner: linear-gradient(135deg, #1e1813 0%, #2b2018 38%, #3d2b1f 72%, #6b4f3a 100%);
    --grad-brand: linear-gradient(120deg, #0f0b08 0%, #2b2018 55%, #4a382a 100%);
    --grad-accent: linear-gradient(135deg, #8a6a4f 0%, #c8a97e 100%);
  }
}

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

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

body {
  margin: 0;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
  background-color: var(--paper);
  background-image:
    radial-gradient(circle at 12% 8%, var(--glow) 0%, transparent 42%),
    radial-gradient(circle at 88% 0%, rgba(200, 169, 126, 0.22) 0%, transparent 38%),
    radial-gradient(circle at 50% 100%, rgba(107, 79, 58, 0.10) 0%, 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(--accent-strong);
  text-decoration: none;
  transition: color 0.28s var(--ease), opacity 0.28s var(--ease);
}

a:hover,
a:focus-visible {
  color: var(--ink-700);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1.5px;
}

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

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

::selection {
  background: var(--sand-300);
  color: var(--ink-900);
}

header[role="banner"] {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.35) inset, var(--shadow-sm);
  animation: headerDrop 0.7s var(--ease) both;
}

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

.brand-bar {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px 24px 10px;
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
}

.brand-bar strong {
  font-size: 1.35rem;
  letter-spacing: 0.12em;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-weight: 800;
  position: relative;
  padding-left: 18px;
}

.brand-bar strong::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--grad-accent);
  box-shadow: 0 0 0 4px var(--glow);
}

.brand-bar span {
  font-size: 0.82rem;
  color: var(--text-muted);
  letter-spacing: 0.16em;
  padding-top: 2px;
}

nav[aria-label="主导航"] {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 16px 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

nav[aria-label="主导航"]::-webkit-scrollbar {
  display: none;
}

nav[aria-label="主导航"] ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 4px;
  align-items: center;
  flex-wrap: nowrap;
}

nav[aria-label="主导航"] li {
  flex: 0 0 auto;
}

nav[aria-label="主导航"] a {
  display: inline-block;
  padding: 8px 14px;
  font-size: 0.9rem;
  color: var(--text-soft);
  border-radius: 999px;
  position: relative;
  white-space: nowrap;
  transition: color 0.28s var(--ease), background 0.28s var(--ease), transform 0.28s var(--ease);
}

nav[aria-label="主导航"] a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 3px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-accent);
  transform: translateX(-50%);
  transition: width 0.32s var(--ease);
}

nav[aria-label="主导航"] a:hover,
nav[aria-label="主导航"] a:focus-visible {
  color: var(--ink-700);
  background: var(--card-bg);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

nav[aria-label="主导航"] a:hover::after,
nav[aria-label="主导航"] a:focus-visible::after {
  width: 42%;
}

main {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 32px 24px 72px;
  display: block;
}

main > section {
  margin-bottom: 44px;
  padding: 32px 32px 36px;
  background: var(--card-bg);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
  animation: riseIn 0.8s var(--ease) both;
  animation-timeline: view();
  animation-range: entry 0% cover 26%;
}

@supports not (animation-timeline: view()) {
  main > section {
    animation: none;
    opacity: 1;
  }
}

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

main > section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad-accent);
  opacity: 0.7;
  transform: scaleX(0.2);
  transform-origin: left;
  transition: transform 0.6s var(--ease);
}

main > section:hover::before {
  transform: scaleX(1);
}

main > section:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--line-strong);
  transition: box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}

#home {
  padding: 48px 40px 44px;
  background:
    var(--grad-banner);
  background-blend-mode: normal;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-lg);
  isolation: isolate;
}

#home::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.5) 0%, transparent 42%),
    radial-gradient(circle at 8% 88%, rgba(255, 255, 255, 0.28) 0%, transparent 46%);
  pointer-events: none;
  z-index: -1;
}

#home::before {
  display: none;
}

#home h1 {
  margin: 0 0 20px;
  font-size: clamp(1.6rem, 3.6vw, 2.5rem);
  line-height: 1.35;
  letter-spacing: 0.02em;
  color: var(--ink-900);
  font-weight: 800;
  text-wrap: balance;
  position: relative;
  padding-bottom: 18px;
}

#home h1::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 88px;
  height: 4px;
  border-radius: 4px;
  background: var(--grad-brand);
}

#home p {
  color: var(--ink-800);
  font-size: 1rem;
  max-width: 68ch;
  margin: 0 0 16px;
}

#home figure {
  margin: 28px 0 0;
  padding: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--card-bg-solid);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

#home figure:hover {
  transform: translateY(-4px) scale(1.008);
  box-shadow: var(--shadow-lg);
}

#home figure svg {
  width: 100%;
  display: block;
}

#home figcaption {
  padding: 12px 18px 14px;
  font-size: 0.86rem;
  color: var(--text-muted);
  text-align: center;
  border-top: 1px solid var(--line);
  background: var(--card-bg);
}

h2 {
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  line-height: 1.4;
  margin: 0 0 20px;
  color: var(--ink-900);
  font-weight: 800;
  letter-spacing: 0.02em;
  position: relative;
  padding-left: 18px;
}

h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.28em;
  bottom: 0.28em;
  width: 5px;
  border-radius: 4px;
  background: var(--grad-accent);
  box-shadow: 0 0 0 3px var(--glow);
}

h3 {
  font-size: 1.12rem;
  line-height: 1.5;
  margin: 26px 0 12px;
  color: var(--ink-700);
  font-weight: 700;
  letter-spacing: 0.01em;
}

h4 {
  font-size: 1rem;
  margin: 18px 0 8px;
  color: var(--accent-strong);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

h4::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 2px;
  transform: rotate(45deg);
  background: var(--grad-accent);
  flex: 0 0 auto;
}

p {
  margin: 0 0 14px;
  color: var(--text-soft);
}

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

li {
  margin-bottom: 8px;
  padding-left: 2px;
}

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

ul li strong,
ol li strong {
  color: var(--ink-700);
}

section#products ul {
  list-style: none;
  padding-left: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}

section#products ul li {
  position: relative;
  margin: 0;
  padding: 16px 18px 16px 44px;
  background: var(--card-bg-solid);
  border: 1px solid var(--line);
  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);
}

section#products ul li::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 22px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--grad-accent);
  box-shadow: 0 0 0 4px var(--glow);
}

section#products ul li:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}

blockquote {
  margin: 18px 0;
  padding: 20px 24px 20px 28px;
  background: var(--card-bg-solid);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

blockquote::before {
  content: "\201C";
  position: absolute;
  top: 2px;
  right: 18px;
  font-size: 3.4rem;
  line-height: 1;
  color: var(--sand-300);
  opacity: 0.4;
  font-family: Georgia, "Times New Roman", serif;
}

blockquote:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
}

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

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

#articles article::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 4px;
  background: var(--grad-accent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.45s var(--ease);
}

#articles article:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}

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

#articles article h3 {
  margin: 0 0 6px;
  font-size: 1.08rem;
  color: var(--ink-900);
  transition: color 0.3s var(--ease);
}

#articles article:hover h3 {
  color: var(--accent-strong);
}

#articles article p:first-of-type {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  margin-bottom: 8px;
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--paper-soft);
  border: 1px solid var(--line);
}

#articles article p:last-of-type {
  margin-bottom: 0;
  margin-top: 12px;
}

#articles article a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--paper-soft);
  border: 1px solid var(--line-strong);
  transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

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

#articles article a:hover,
#articles article a:focus-visible {
  background: var(--grad-accent);
  color: #fff;
  text-decoration: none;
  transform: translateX(2px);
  box-shadow: 0 6px 16px var(--glow);
  border-color: transparent;
}

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

#faq h3 {
  margin-top: 0;
  padding: 16px 18px;
  background: var(--card-bg-solid);
  border: 1px solid var(--line);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  border-bottom: none;
  color: var(--ink-800);
  font-size: 1rem;
  position: relative;
  padding-left: 44px;
  cursor: default;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}

#faq h3::before {
  content: "Q";
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--grad-accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0;
}

#faq h3 + p {
  margin: 0 0 14px;
  padding: 14px 18px 16px 44px;
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-top: none;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  font-size: 0.94rem;
  transition: background 0.3s var(--ease);
}

#faq h3 + p::before {
  content: "A";
  position: absolute;
  left: 16px;
  margin-top: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  color: var(--accent-strong);
  font-size: 0.72rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  float: left;
  margin-left: -28px;
}

#faq h3:hover {
  background: var(--paper-soft);
  color: var(--accent-strong);
}

#howto ol {
  counter-reset: step;
  list-style: none;
  padding-left: 0;
  display: grid;
  gap: 12px;
}

#howto ol li {
  counter-increment: step;
  position: relative;
  margin: 0;
  padding: 14px 18px 14px 56px;
  background: var(--card-bg-solid);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

#howto ol li::before {
  content: counter(step);
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--grad-brand);
  color: var(--sand-100);
  font-size: 0.8rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

#howto ol li:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
}

#howto ul {
  list-style: none;
  padding-left: 0;
  display: grid;
  gap: 10px;
}

#howto ul li {
  position: relative;
  margin: 0;
  padding-left: 26px;
  color: var(--text-soft);
}

#howto ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  transform: rotate(45deg);
  background: var(--grad-accent);
}

#contact ul {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}

#contact ul li {
  margin: 0;
  padding: 14px 18px;
  background: var(--card-bg-solid);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  font-size: 0.94rem;
  color: var(--text-soft);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

#contact ul li:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}

#sitemap ul,
#links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

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

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

#sitemap a:hover,
#sitemap a:focus-visible,
#links a:hover,
#links a:focus-visible {
  background: var(--grad-accent);
  color: #fff;
  text-decoration: none;
  transform: translateY(-3px);
  box-shadow: 0 10px 22px var(--glow);
  border-color: transparent;
}

footer[role="contentinfo"] {
  background: var(--grad-brand);
  color: var(--sand-200);
  padding: 48px 24px 32px;
  margin-top: 24px;
  position: relative;
  overflow: hidden;
}

footer[role="contentinfo"]::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 0%, rgba(200, 169, 126, 0.28) 0%, transparent 45%),
    radial-gradient(circle at 85% 100%, rgba(200, 169, 126, 0.18) 0%, transparent 50%);
  pointer-events: none;
}

footer[role="contentinfo"] section {
  max-width: var(--maxw);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

footer[role="contentinfo"] h2 {
  color: var(--sand-100);
  font-size: 1.25rem;
  padding-left: 16px;
}

footer[role="contentinfo"] h2::before {
  background: var(--grad-accent);
  box-shadow: 0 0 0 3px rgba(200, 169, 126, 0.22);
}

footer[role="contentinfo"] h3 {
  color: var(--sand-300);
  font-size: 0.98rem;
  margin: 22px 0 8px;
  letter-spacing: 0.06em;
}

footer[role="contentinfo"] p {
  color: rgba(243, 236, 226, 0.78);
  font-size: 0.9rem;
  line-height: 1.85;
  margin: 0 0 8px;
  max-width: 78ch;
}

footer[role="contentinfo"] p:last-child {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(200, 169, 126, 0.22);
  color: var(--sand-300);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
}

footer[role="contentinfo"] a {
  color: var(--sand-300);
}

footer[role="contentinfo"] a:hover {
  color: var(--sand-100);
}

@media (max-width: 1024px) {
  :root {
    --maxw: 100%;
  }
  main {
    padding: 24px 18px 56px;
  }
  main > section {
    padding: 26px 22px 30px;
    border-radius: var(--radius-md);
    margin-bottom: 32px;
  }
  #home {
    padding: 36px 24px 32px;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 15px;
    line-height: 1.75;
  }
  .brand-bar {
    padding: 12px 16px 8px;
    gap: 8px;
  }
  .brand-bar strong {
    font-size: 1.15rem;
  }
  .brand-bar span {
    font-size: 0.72rem;
    letter-spacing: 0.1em;
  }
  nav[aria-label="主导航"] {
    padding: 0 8px 8px;
  }
  nav[aria-label="主导航"] a {
    padding: 7px 12px;
    font-size: 0.84rem;
  }
  main {
    padding: 18px 12px 44px;
  }
  main > section {
    padding: 22px 16px 26px;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
  }
  #home {
    padding: 28px 18px 26px;
  }
  #home h1 {
    font-size: 1.45rem;
    line-height: 1.4;
  }
  #home p {
    font-size: 0.94rem;
  }
  h2 {
    font-size: 1.22rem;
    padding-left: 14px;
    margin-bottom: 16px;
  }
  h2::before {
    width: 4px;
  }
  h3 {
    font-size: 1.04rem;
    margin-top: 20px;
  }
  section#products ul {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  section#products ul li {
    padding: 14px 14px 14px 40px;
  }
  section#products ul li::before {
    left: 16px;
    top: 20px;
    width: 10px;
    height: 10px;
  }
  #articles article {
    padding: 18px 16px;
  }
  #articles article h3 {
    font-size: 1rem;
  }
  #faq h3 {
    padding: 14px 14px 14px 40px;
    font-size: 0.95rem;
  }
  #faq h3::before {
    left: 12px;
    width: 20px;
    height: 20px;
    font-size: 0.68rem;
  }
  #faq h3 + p {
    padding: 12px 14px 14px 40px;
    font-size: 0.9rem;
  }
  #faq h3 + p::before {
    left: 12px;
    width: 20px;
    height: 20px;
    font-size: 0.68rem;
    margin-left: -26px;
  }
  #howto ol li {
    padding: 12px 14px 12px 48px;
  }
  #howto ol li::before {
    left: 12px;
    width: 24px;
    height: 24px;
    font-size: 0.74rem;
  }
  #contact ul {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  #contact ul li {
    padding: 12px 14px;
  }
  #sitemap ul,
  #links ul {
    gap: 8px;
  }
  #sitemap a,
  #links a {
    padding: 7px 13px;
    font-size: 0.84rem;
  }
  footer[role="contentinfo"] {
    padding: 36px 16px 26px;
  }
  blockquote {
    padding: 16px 18px 16px 20px;
  }
  blockquote::before {
    font-size: 2.6rem;
    right: 12px;
  }
}

@media (max-width: 400px) {
  .brand-bar span {
    display: none;
  }
  #home h1 {
    font-size: 1.3rem;
  }
  main > section {
    padding: 18px 13px 22px;
  }
}

@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;
  }
  main > section {
    opacity: 1 !important;
    transform: none !important;
  }
}

@media (hover: none) {
  main > section:hover,
  #home figure:hover,
  #articles article:hover,
  section#products ul li:hover,
  blockquote:hover,
  #howto ol li:hover,
  #contact ul li:hover {
    transform: none;
  }
}

@media print {
  header[role="banner"],
  footer[role="contentinfo"],
  nav[aria-label="主导航"] {
    display: none;
  }
  body {
    background: #fff;
    color: #000;
  }
  main > section {
    box-shadow: none;
    border: 1px solid #ccc;
    background: #fff;
    break-inside: avoid;
  }
  a {
    color: #000;
    text-decoration: underline;
  }
}