:root {
  --bg: #0f1020;
  --bg-soft: #16172b;
  --bg-card: rgba(30, 32, 58, 0.55);
  --bg-card-hover: rgba(42, 45, 78, 0.75);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #eef0f8;
  --text-muted: #a8adc9;
  --text-dim: #7a80a3;
  --primary: #6c5ce7;
  --primary-2: #a55eea;
  --accent: #ff5c8a;
  --accent-2: #ffb86c;
  --cyan: #48dbfb;
  --grad-banner: linear-gradient(135deg, #1a1b3a 0%, #2d1b5e 35%, #4a1d6e 65%, #1f2a5a 100%);
  --grad-primary: linear-gradient(135deg, #6c5ce7 0%, #a55eea 55%, #ff5c8a 100%);
  --grad-text: linear-gradient(120deg, #a8c0ff 0%, #c8a8ff 40%, #ff9cc0 100%);
  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 12px 36px rgba(0, 0, 0, 0.35);
  --shadow-glow: 0 8px 32px rgba(108, 92, 231, 0.35);
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 26px;
  --blur: saturate(160%) blur(18px);
  --maxw: 1180px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: dark;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f4f5fb;
    --bg-soft: #ffffff;
    --bg-card: rgba(255, 255, 255, 0.65);
    --bg-card-hover: rgba(255, 255, 255, 0.9);
    --border: rgba(30, 32, 70, 0.1);
    --border-strong: rgba(30, 32, 70, 0.18);
    --text: #1c1d33;
    --text-muted: #4d5273;
    --text-dim: #6b7091;
    --grad-banner: linear-gradient(135deg, #e8e6ff 0%, #f0e2ff 35%, #ffe3ee 65%, #e2ecff 100%);
    --grad-text: linear-gradient(120deg, #5a4bd0 0%, #8b4bd0 45%, #d9447f 100%);
    --shadow-sm: 0 4px 16px rgba(60, 60, 120, 0.1);
    --shadow-md: 0 12px 36px rgba(60, 60, 120, 0.14);
    --shadow-glow: 0 8px 32px rgba(108, 92, 231, 0.22);
    color-scheme: light;
  }
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(900px 600px at 12% -8%, rgba(108, 92, 231, 0.22), transparent 60%),
    radial-gradient(800px 520px at 92% 4%, rgba(255, 92, 138, 0.16), transparent 62%),
    radial-gradient(700px 500px at 50% 100%, rgba(72, 219, 251, 0.1), transparent 65%);
  background-attachment: fixed;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img,
svg,
figure {
  max-width: 100%;
}

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

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

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

h1, h2, h3, h4 {
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0 0 0.7em;
}

h1 {
  font-size: clamp(1.7rem, 4.2vw, 2.9rem);
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

h2 {
  font-size: clamp(1.35rem, 2.8vw, 2rem);
  position: relative;
  padding-left: 18px;
}

h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.18em;
  bottom: 0.18em;
  width: 6px;
  border-radius: 6px;
  background: var(--grad-primary);
  box-shadow: 0 0 18px rgba(165, 94, 234, 0.6);
}

h3 {
  font-size: clamp(1.08rem, 1.9vw, 1.3rem);
  color: var(--text);
}

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

ul, ol {
  margin: 0 0 1em;
  padding-left: 1.4em;
}

li {
  margin-bottom: 0.4em;
  color: var(--text-muted);
}

/* ---------- Header ---------- */
header[role="banner"] {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-card);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.top-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.4em 1.6em;
  padding: 0.5em 1.2em;
  font-size: 0.8rem;
  color: var(--text-muted);
  background: linear-gradient(90deg, rgba(108, 92, 231, 0.16), rgba(255, 92, 138, 0.12), rgba(72, 219, 251, 0.1));
  border-bottom: 1px solid var(--border);
}

.top-bar a {
  color: var(--accent-2);
  font-weight: 600;
}

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

header nav[aria-label="主导航"] {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0.7em 1.2em;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8em 1.4em;
}

header nav[aria-label="主导航"] > a[aria-label] {
  font-size: 1.18rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
  padding: 0.15em 0.25em;
  transition: transform 0.3s var(--ease), filter 0.3s var(--ease);
}

header nav[aria-label="主导航"] > a[aria-label]:hover {
  transform: translateY(-1px) scale(1.03);
  filter: drop-shadow(0 0 12px rgba(165, 94, 234, 0.6));
}

header nav[aria-label="主导航"] > ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2em 0.3em;
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1 1 auto;
}

header nav[aria-label="主导航"] > ul li {
  margin: 0;
}

header nav[aria-label="主导航"] > ul a {
  display: inline-block;
  padding: 0.35em 0.7em;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
}

header nav[aria-label="主导航"] > ul a:hover {
  color: var(--text);
  background: rgba(108, 92, 231, 0.22);
  transform: translateY(-2px);
}

header form[role="search"] {
  display: flex;
  align-items: center;
  gap: 0.4em;
  flex: 0 1 300px;
  margin-left: auto;
}

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 {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0.5em 0.9em;
  font-family: inherit;
  font-size: 0.88rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}

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

header form[role="search"] input:focus {
  outline: none;
  border-color: var(--primary-2);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 3px rgba(165, 94, 234, 0.22);
}

header form[role="search"] button {
  padding: 0.5em 1.1em;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  background: var(--grad-primary);
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), filter 0.25s var(--ease);
}

header form[role="search"] button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
  filter: brightness(1.08);
}

/* ---------- Main layout ---------- */
main {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 1.6em 1.2em 3em;
}

main > nav[aria-label="面包屑导航"] ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4em;
  list-style: none;
  margin: 0 0 1.4em;
  padding: 0.55em 1em;
  font-size: 0.85rem;
  background: var(--bg-card);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

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

main > nav[aria-label="面包屑导航"] li + li::before {
  content: "/";
  margin-right: 0.4em;
  color: var(--text-dim);
}

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

/* ---------- Hero ---------- */
#hero {
  position: relative;
  overflow: hidden;
  padding: clamp(1.6em, 4vw, 3.2em);
  margin-bottom: 2em;
  border-radius: var(--radius-lg);
  background: var(--grad-banner);
  background-size: 200% 200%;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  animation: bannerShift 18s ease infinite;
}

#hero::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto auto;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 92, 138, 0.35), transparent 65%);
  filter: blur(30px);
  pointer-events: none;
  animation: floatOrb 14s ease-in-out infinite;
}

#hero::after {
  content: "";
  position: absolute;
  inset: auto auto -45% -12%;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(72, 219, 251, 0.28), transparent 65%);
  filter: blur(34px);
  pointer-events: none;
  animation: floatOrb 18s ease-in-out infinite reverse;
}

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

#hero p {
  max-width: 62ch;
  font-size: clamp(0.95rem, 1.4vw, 1.06rem);
  color: var(--text-muted);
}

#hero figure {
  margin: 1.8em 0 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: var(--bg-card);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  box-shadow: var(--shadow-md);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

#hero figure:hover {
  transform: translateY(-6px) scale(1.008);
  box-shadow: 0 24px 60px rgba(108, 92, 231, 0.32);
}

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

#hero figcaption {
  padding: 0.7em 1.1em;
  font-size: 0.84rem;
  color: var(--text-dim);
  border-top: 1px solid var(--border);
  text-align: center;
}

@keyframes bannerShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

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

/* ---------- Anchor nav ---------- */
main > nav[aria-label="页面锚点导航"] {
  margin-bottom: 2em;
  padding: 1.2em 1.4em;
  border-radius: var(--radius);
  background: var(--bg-card);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

main > nav[aria-label="页面锚点导航"] h2 {
  font-size: 1.05rem;
  margin-bottom: 0.8em;
  padding-left: 14px;
}

main > nav[aria-label="页面锚点导航"] h2::before {
  width: 5px;
}

main > nav[aria-label="页面锚点导航"] ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
  list-style: none;
  padding: 0;
  margin: 0;
}

main > nav[aria-label="页面锚点导航"] li {
  margin: 0;
}

main > nav[aria-label="页面锚点导航"] a {
  display: inline-block;
  padding: 0.32em 0.85em;
  font-size: 0.85rem;
  color: var(--text-muted);
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  transition: all 0.25s var(--ease);
}

main > nav[aria-label="页面锚点导航"] a:hover {
  color: #fff;
  background: var(--grad-primary);
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

/* ---------- Sections ---------- */
main > section {
  margin-bottom: 2em;
  padding: clamp(1.2em, 3vw, 2.2em);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.4s var(--ease), box-shadow 0.4s var(--ease), transform 0.4s var(--ease);
}

main > section:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}

main > section > h2 {
  margin-bottom: 1em;
}

main > section > h3 {
  margin-top: 1.4em;
  padding-bottom: 0.35em;
  border-bottom: 1px dashed var(--border);
}

main > section > h3:first-of-type {
  margin-top: 0.4em;
}

#brand,
#history,
#culture,
#products,
#advantages,
#solutions,
#scenarios,
#knowledge {
  position: relative;
}

#brand::before,
#products::before,
#solutions::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: var(--grad-primary);
  opacity: 0.9;
}

/* ---------- Articles / News / Cases ---------- */
#news article,
#articles article {
  padding: 1.1em 1.3em;
  margin-bottom: 1em;
  border-radius: var(--radius);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease), background 0.35s var(--ease);
}

#news article:last-child,
#articles article:last-child {
  margin-bottom: 0;
}

#news article:hover,
#articles article:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-md);
}

#news article h3,
#articles article h3 {
  margin-top: 0;
  margin-bottom: 0.5em;
  transition: color 0.25s var(--ease);
}

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

#news article p:first-of-type,
#articles article p:first-of-type {
  display: inline-block;
  padding: 0.1em 0.7em;
  margin-bottom: 0.7em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--cyan);
  background: rgba(72, 219, 251, 0.1);
  border: 1px solid rgba(72, 219, 251, 0.25);
  border-radius: 999px;
}

#news article a,
#articles article a {
  display: inline-block;
  margin-top: 0.3em;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent);
  transition: transform 0.25s var(--ease), letter-spacing 0.25s var(--ease);
}

#news article a:hover,
#articles article a:hover {
  letter-spacing: 0.04em;
  transform: translateX(4px);
}

#cases h3 {
  margin-top: 1.6em;
}

/* ---------- Reviews ---------- */
#reviews blockquote {
  position: relative;
  margin: 0 0 1em;
  padding: 1.1em 1.3em 1.1em 3em;
  border-radius: var(--radius);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-left: 4px solid transparent;
  border-image: var(--grad-primary) 1;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

#reviews blockquote::before {
  content: "\201C";
  position: absolute;
  left: 0.5em;
  top: 0.1em;
  font-size: 2.6rem;
  line-height: 1;
  font-family: Georgia, serif;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

#reviews blockquote p {
  margin: 0;
  color: var(--text);
}

/* ---------- FAQ ---------- */
#faq details {
  margin-bottom: 0.8em;
  border-radius: var(--radius);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

#faq details[open] {
  border-color: rgba(165, 94, 234, 0.5);
  box-shadow: 0 0 0 1px rgba(165, 94, 234, 0.18), var(--shadow-sm);
}

#faq details:hover {
  border-color: var(--border-strong);
}

#faq summary {
  position: relative;
  padding: 1em 3em 1em 1.2em;
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  transition: color 0.25s var(--ease), background 0.25s var(--ease);
}

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

#faq summary::after {
  content: "+";
  position: absolute;
  right: 1.1em;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  background: var(--grad-primary);
  border-radius: 50%;
  transition: transform 0.35s var(--ease);
}

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

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

#faq details p {
  margin: 0;
  padding: 0 1.2em 1.1em;
  font-size: 0.94rem;
  animation: fadeIn 0.4s var(--ease);
}

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

/* ---------- HowTo ---------- */
#howto {
  counter-reset: howto;
}

#howto h3 {
  counter-increment: howto;
  padding-left: 2.4em;
  position: relative;
  border-bottom: none;
}

#howto h3::before {
  content: counter(howto);
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1.8em;
  height: 1.8em;
  display: grid;
  place-items: center;
  font-size: 0.82rem;
  font-weight: 800;
  color: #fff;
  background: var(--grad-primary);
  border-radius: 50%;
  box-shadow: 0 4px 14px rgba(108, 92, 231, 0.4);
}

#howto h3 + p {
  padding-left: 2.4em;
}

/* ---------- Contact ---------- */
#contact address {
  font-style: normal;
  display: grid;
  gap: 0.4em;
  padding: 1.1em 1.3em;
  margin-bottom: 1.2em;
  border-radius: var(--radius);
  background: var(--bg-soft);
  border: 1px solid var(--border);
}

#contact address p {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3em 0.6em;
  align-items: baseline;
}

#contact address p::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--grad-primary);
  flex: 0 0 auto;
  transform: translateY(-2px);
}

/* ---------- Sitemap / Links ---------- */
#sitemap ul,
#links ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
  list-style: none;
  padding: 0;
  margin: 0;
}

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

#sitemap a,
#links a {
  display: inline-block;
  padding: 0.34em 0.9em;
  font-size: 0.86rem;
  color: var(--text-muted);
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  transition: all 0.25s var(--ease);
}

#sitemap a:hover,
#links a:hover {
  color: #fff;
  background: var(--grad-primary);
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

/* ---------- Footer ---------- */
footer[role="contentinfo"] {
  margin-top: 1em;
  padding: 2em 1.4em 2.4em;
  text-align: center;
  background: linear-gradient(180deg, transparent, rgba(108, 92, 231, 0.1));
  border-top: 1px solid var(--border);
}

footer[role="contentinfo"] p {
  margin: 0.3em 0;
  font-size: 0.85rem;
  color: var(--text-dim);
}

footer[role="contentinfo"] a {
  color: var(--text-muted);
  font-weight: 600;
}

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

/* ---------- Scroll reveal ---------- */
@supports (animation-timeline: view()) {
  main > section,
  #news article,
  #articles article,
  #reviews blockquote,
  #faq details {
    animation: revealUp linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 32%;
  }
}

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

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

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  header nav[aria-label="主导航"] {
    gap: 0.6em;
  }
  header nav[aria-label="主导航"] > ul {
    order: 3;
    flex: 1 1 100%;
    justify-content: center;
  }
  header form[role="search"] {
    flex: 1 1 100%;
    margin-left: 0;
  }
  main {
    padding: 1.2em 0.9em 2.4em;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15px;
    line-height: 1.7;
  }
  .top-bar {
    font-size: 0.74rem;
    gap: 0.3em 1em;
    padding: 0.45em 0.8em;
  }
  header nav[aria-label="主导航"] {
    padding: 0.6em 0.8em;
  }
  header nav[aria-label="主导航"] > a[aria-label] {
    font-size: 1.05rem;
  }
  header nav[aria-label="主导航"] > ul a {
    padding: 0.3em 0.55em;
    font-size: 0.82rem;
  }
  main > section,
  main > nav[aria-label="页面锚点导航"] {
    padding: 1.1em 1em;
    border-radius: var(--radius);
  }
  #hero {
    padding: 1.4em 1.1em;
    border-radius: var(--radius);
  }
  h2 {
    padding-left: 14px;
  }
  h2::before {
    width: 4px;
  }
  #reviews blockquote {
    padding: 1em 1em 1em 2.4em;
  }
  #faq summary {
    padding: 0.85em 2.6em 0.85em 1em;
    font-size: 0.92rem;
  }
  #howto h3,
  #howto h3 + p {
    padding-left: 2.1em;
  }
  #sitemap a,
  #links a,
  main > nav[aria-label="页面锚点导航"] a {
    font-size: 0.8rem;
    padding: 0.3em 0.7em;
  }
}

@media (max-width: 380px) {
  header nav[aria-label="主导航"] > ul a {
    font-size: 0.76rem;
    padding: 0.26em 0.45em;
  }
  #hero p {
    font-size: 0.92rem;
  }
}

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