:root {
  --primary: #1a5fb4;
  --primary-light: #2b7cd3;
  --primary-lighter: #4a9be8;
  --primary-dark: #124a8f;
  --accent: #00c2ff;
  --accent-2: #7b5cff;
  --bg: #f5f8fd;
  --bg-elevated: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.72);
  --bg-glass-strong: rgba(255, 255, 255, 0.88);
  --text: #1c2333;
  --text-secondary: #4a5568;
  --text-muted: #7a8699;
  --border: rgba(26, 95, 180, 0.12);
  --border-strong: rgba(26, 95, 180, 0.22);
  --shadow-sm: 0 2px 8px rgba(26, 95, 180, 0.06);
  --shadow-md: 0 8px 24px rgba(26, 95, 180, 0.10);
  --shadow-lg: 0 20px 48px rgba(26, 95, 180, 0.16);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --gradient-hero: linear-gradient(135deg, #124a8f 0%, #1a5fb4 35%, #2b7cd3 65%, #00c2ff 100%);
  --gradient-accent: linear-gradient(135deg, #1a5fb4 0%, #7b5cff 100%);
  --gradient-soft: linear-gradient(135deg, rgba(26, 95, 180, 0.08) 0%, rgba(0, 194, 255, 0.08) 100%);
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1240px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --primary: #4a9be8;
    --primary-light: #6bb3f0;
    --primary-lighter: #8cc6f5;
    --primary-dark: #2b7cd3;
    --accent: #33d6ff;
    --accent-2: #9b82ff;
    --bg: #0d1117;
    --bg-elevated: #161b22;
    --bg-glass: rgba(22, 27, 34, 0.72);
    --bg-glass-strong: rgba(22, 27, 34, 0.90);
    --text: #e6edf3;
    --text-secondary: #b0b8c4;
    --text-muted: #7d8590;
    --border: rgba(74, 155, 232, 0.15);
    --border-strong: rgba(74, 155, 232, 0.28);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 20px 48px rgba(0, 0, 0, 0.5);
    --gradient-hero: linear-gradient(135deg, #0a2a52 0%, #124a8f 35%, #1a5fb4 65%, #0090c0 100%);
    --gradient-soft: linear-gradient(135deg, rgba(74, 155, 232, 0.10) 0%, rgba(51, 214, 255, 0.08) 100%);
  }
}

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

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

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

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

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

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

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

ul,
ol {
  list-style: none;
}

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

h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  line-height: 1.25;
}

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

h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15em;
  bottom: 0.15em;
  width: 4px;
  border-radius: 4px;
  background: var(--gradient-accent);
}

h3 {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
  color: var(--primary);
}

h4 {
  font-size: 1.05rem;
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}

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

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

/* ============ HEADER ============ */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.75rem clamp(1rem, 4vw, 2.5rem);
  background: var(--bg-glass);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  animation: slideDown 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.brand svg {
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(26, 95, 180, 0.35);
  transition: transform var(--transition), box-shadow var(--transition);
}

.brand:hover svg {
  transform: scale(1.08) rotate(-4deg);
  box-shadow: 0 6px 24px rgba(26, 95, 180, 0.5);
}

.brand span {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
}

header nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  align-items: center;
}

header nav a {
  display: inline-block;
  padding: 0.45rem 0.8rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: 10px;
  position: relative;
  transition: color var(--transition), background var(--transition), transform var(--transition);
}

header nav a::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--gradient-accent);
  transform: translateX(-50%);
  transition: width var(--transition);
}

header nav a:hover {
  color: var(--primary);
  background: var(--gradient-soft);
  transform: translateY(-1px);
}

header nav a:hover::after {
  width: 60%;
}

/* ============ BREADCRUMB ============ */
body > nav[aria-label="面包屑导航"] {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem clamp(1rem, 4vw, 2.5rem) 0;
}

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

body > nav[aria-label="面包屑导航"] li:not(:last-child)::after {
  content: "/";
  margin-left: 0.4rem;
  color: var(--text-muted);
  opacity: 0.6;
}

body > nav[aria-label="面包屑导航"] a {
  color: var(--text-muted);
  padding: 0.15rem 0.4rem;
  border-radius: 6px;
  transition: color var(--transition), background var(--transition);
}

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

body > nav[aria-label="面包屑导航"] li:last-child {
  color: var(--primary);
  font-weight: 600;
}

/* ============ MAIN LAYOUT ============ */
main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.5rem clamp(1rem, 4vw, 2.5rem) 3rem;
}

section {
  margin-bottom: 2.5rem;
  animation: fadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

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

/* Staggered animation delays */
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; }
main section:nth-child(15) { animation-delay: 0.75s; }
main section:nth-child(16) { animation-delay: 0.8s; }

/* ============ HERO ============ */
#hero {
  position: relative;
  overflow: hidden;
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1.5rem, 4vw, 3rem);
  border-radius: var(--radius-xl);
  background: var(--gradient-hero);
  color: #ffffff;
  box-shadow: var(--shadow-lg);
  margin-top: 1rem;
}

#hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18) 0%, transparent 65%);
  pointer-events: none;
  animation: floatGlow 12s ease-in-out infinite;
}

#hero::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 50%;
  height: 150%;
  background: radial-gradient(circle, rgba(0, 194, 255, 0.25) 0%, transparent 60%);
  pointer-events: none;
  animation: floatGlow 15s ease-in-out infinite reverse;
}

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

#hero h1 {
  color: #ffffff;
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
  margin-bottom: 1.25rem;
  max-width: 900px;
}

#hero p {
  color: rgba(255, 255, 255, 0.92);
  position: relative;
  z-index: 1;
  max-width: 820px;
  font-size: 1.02rem;
  line-height: 1.85;
}

#hero strong {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  padding: 0.05em 0.4em;
  border-radius: 6px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

#hero svg {
  position: relative;
  z-index: 1;
  margin-top: 1.75rem;
  border-radius: var(--radius-md);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

/* ============ CARDS / SECTIONS ============ */
#about,
#products,
#services,
#scenarios,
#solutions,
#cases,
#news,
#articles,
#knowledge,
#faq,
#howto,
#contact,
#sitemap,
#links {
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.75rem);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}

#about:hover,
#products:hover,
#services:hover,
#scenarios:hover,
#solutions:hover,
#cases:hover,
#news:hover,
#articles:hover,
#knowledge:hover,
#faq:hover,
#howto:hover,
#contact:hover,
#sitemap:hover,
#links:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

/* ============ LISTS ============ */
#products ul,
#howto ul,
#howto ol,
#contact ul,
#sitemap ul,
#links ul {
  display: grid;
  gap: 0.65rem;
  margin: 1rem 0;
}

#products ul li,
#howto ul li,
#howto ol li,
#contact ul li,
#sitemap ul li,
#links ul li {
  position: relative;
  padding: 0.7rem 1rem 0.7rem 2.4rem;
  background: var(--gradient-soft);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 0.95rem;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

#products ul li:hover,
#howto ul li:hover,
#howto ol li:hover,
#contact ul li:hover,
#sitemap ul li:hover,
#links ul li:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
  border-color: var(--border-strong);
}

#products ul li::before,
#howto ul li::before,
#contact ul li::before,
#sitemap ul li::before,
#links ul li::before {
  content: "";
  position: absolute;
  left: 1rem;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gradient-accent);
  transform: translateY(-50%);
  box-shadow: 0 0 0 3px rgba(26, 95, 180, 0.12);
}

#howto ol {
  counter-reset: step;
}

#howto ol li {
  counter-increment: step;
  padding-left: 3rem;
}

#howto ol li::before {
  content: counter(step);
  left: 0.75rem;
  top: 50%;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  background: var(--gradient-accent);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
  box-shadow: 0 2px 8px rgba(26, 95, 180, 0.3);
  border: none;
}

#contact ul li::before {
  background: var(--primary);
}

/* ============ BLOCKQUOTE / CASES ============ */
blockquote {
  margin: 1.5rem 0 0;
  padding: 1.25rem 1.5rem;
  background: var(--gradient-soft);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-md);
  display: grid;
  gap: 0.75rem;
}

blockquote p {
  margin: 0;
  font-style: italic;
  color: var(--text-secondary);
  position: relative;
  padding-left: 1.5rem;
  transition: color var(--transition);
}

blockquote p::before {
  content: "\201C";
  position: absolute;
  left: 0;
  top: -0.2em;
  font-size: 2rem;
  color: var(--primary);
  opacity: 0.5;
  font-style: normal;
  line-height: 1;
}

blockquote p:hover {
  color: var(--text);
}

/* ============ ARTICLES ============ */
#articles {
  display: grid;
  gap: 1rem;
}

#articles h2 {
  grid-column: 1 / -1;
}

#articles article {
  padding: 1.25rem 1.5rem;
  background: var(--gradient-soft);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), background var(--transition);
  position: relative;
  overflow: hidden;
}

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

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

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

#articles article h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

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

#articles article p {
  font-size: 0.92rem;
  margin-bottom: 0.5rem;
}

#articles article p:first-of-type {
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 500;
}

#articles article a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  background: rgba(26, 95, 180, 0.08);
  transition: all var(--transition);
}

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

#articles article a:hover {
  background: var(--gradient-accent);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(26, 95, 180, 0.35);
}

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

/* ============ FAQ ============ */
#faq h3 {
  padding: 1rem 1.25rem;
  background: var(--gradient-soft);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  border: 1px solid var(--border);
  border-bottom: none;
  margin-top: 1rem;
  margin-bottom: 0;
  font-size: 1rem;
  color: var(--text);
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
  position: relative;
}

#faq h3:hover {
  background: rgba(26, 95, 180, 0.1);
  color: var(--primary);
}

#faq h3 + p {
  padding: 1rem 1.25rem;
  margin: 0 0 0.5rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-size: 0.93rem;
  transition: border-color var(--transition);
}

#faq h3:hover + p {
  border-color: var(--border-strong);
}

/* ============ HOWTO ============ */
#howto h3 {
  display: inline-block;
  padding: 0.3rem 0.9rem;
  background: var(--gradient-accent);
  color: #ffffff;
  border-radius: 999px;
  font-size: 0.92rem;
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
  box-shadow: 0 4px 12px rgba(26, 95, 180, 0.25);
}

/* ============ CONTACT ============ */
#contact ul li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1rem 0.85rem 2.4rem;
}

#contact ul li a {
  font-weight: 600;
  word-break: break-all;
}

/* ============ SITEMAP / LINKS ============ */
#sitemap ul,
#links ul {
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}

#sitemap ul li,
#links ul li {
  text-align: center;
  padding: 0.7rem 1rem;
}

#sitemap ul li::before,
#links ul li::before {
  display: none;
}

#sitemap ul li a,
#links ul li a {
  display: block;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition), transform var(--transition);
}

#sitemap ul li a:hover,
#links ul li a:hover {
  color: var(--primary);
  transform: scale(1.05);
}

/* ============ FOOTER ============ */
footer {
  position: relative;
  background: linear-gradient(180deg, var(--bg-elevated) 0%, var(--bg) 100%);
  border-top: 1px solid var(--border);
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1rem, 4vw, 2.5rem) 2rem;
  margin-top: 2rem;
}

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

footer section {
  max-width: var(--max-width);
  margin: 0 auto 1.75rem;
  padding: 1.25rem 1.5rem;
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  animation: none;
}

footer section:last-child {
  margin-bottom: 0;
}

footer h2 {
  font-size: 1.05rem;
  padding-left: 0.85rem;
  margin-bottom: 0.85rem;
}

footer h2::before {
  width: 3px;
}

footer p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  line-height: 1.7;
}

footer p:last-child {
  margin-bottom: 0;
}

#author-info p {
  display: inline-block;
  margin-right: 1.5rem;
  color: var(--text-secondary);
}

#author-info p:first-child {
  color: var(--text);
  font-weight: 600;
}

#copyright p {
  color: var(--text-muted);
}

/* ============ SCROLLBAR ============ */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

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

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

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

/* ============ SELECTION ============ */
::selection {
  background: rgba(26, 95, 180, 0.25);
  color: var(--text);
}

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

/* ============ RESPONSIVE: TABLET ============ */
@media (max-width: 1024px) {
  header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
  }

  header nav {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

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

  header nav ul {
    flex-wrap: nowrap;
    gap: 0.15rem;
    padding-bottom: 0.25rem;
  }

  header nav a {
    white-space: nowrap;
    font-size: 0.85rem;
    padding: 0.4rem 0.65rem;
  }

  #articles {
    grid-template-columns: 1fr;
  }
}

/* ============ RESPONSIVE: MOBILE ============ */
@media (max-width: 640px) {
  body {
    font-size: 15px;
    line-height: 1.7;
  }

  header {
    padding: 0.6rem 1rem;
  }

  .brand span {
    font-size: 1rem;
  }

  .brand svg {
    width: 34px;
    height: 34px;
  }

  h1 {
    font-size: 1.6rem;
  }

  h2 {
    font-size: 1.3rem;
    padding-left: 0.85rem;
    margin-bottom: 1rem;
  }

  h2::before {
    width: 3px;
  }

  h3 {
    font-size: 1.05rem;
    margin-top: 1.4rem;
  }

  #hero {
    padding: 1.75rem 1.25rem;
    border-radius: var(--radius-lg);
    margin-top: 0.5rem;
  }

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

  #hero svg {
    margin-top: 1.25rem;
  }

  main {
    padding: 1rem 0.85rem 2rem;
  }

  section {
    margin-bottom: 1.5rem;
  }

  #about,
  #products,
  #services,
  #scenarios,
  #solutions,
  #cases,
  #news,
  #articles,
  #knowledge,
  #faq,
  #howto,
  #contact,
  #sitemap,
  #links {
    padding: 1.25rem 1rem;
    border-radius: var(--radius-md);
  }

  #products ul li,
  #howto ul li,
  #howto ol li,
  #contact ul li {
    font-size: 0.9rem;
    padding: 0.65rem 0.85rem 0.65rem 2.2rem;
  }

  #howto ol li {
    padding-left: 2.75rem;
  }

  #faq h3 {
    font-size: 0.92rem;
    padding: 0.85rem 1rem;
  }

  #faq h3 + p {
    padding: 0.85rem 1rem;
    font-size: 0.88rem;
  }

  blockquote {
    padding: 1rem 1.15rem;
  }

  blockquote p {
    font-size: 0.9rem;
  }

  #sitemap ul,
  #links ul {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }

  #sitemap ul li,
  #links ul li {
    padding: 0.55rem 0.5rem;
    font-size: 0.85rem;
  }

  footer {
    padding: 1.5rem 0.85rem 1.5rem;
  }

  footer section {
    padding: 1rem 1.1rem;
    margin-bottom: 1rem;
  }

  #author-info p {
    display: block;
    margin-right: 0;
    margin-bottom: 0.4rem;
  }

  footer p {
    font-size: 0.82rem;
  }

  body > nav[aria-label="面包屑导航"] {
    padding: 0.75rem 0.85rem 0;
  }

  body > nav[aria-label="面包屑导航"] ol {
    font-size: 0.8rem;
  }
}

/* ============ RESPONSIVE: SMALL MOBILE ============ */
@media (max-width: 380px) {
  #sitemap ul,
  #links ul {
    grid-template-columns: 1fr;
  }

  .brand span {
    font-size: 0.92rem;
  }

  h1 {
    font-size: 1.4rem;
  }
}

/* ============ HOVER CAPABILITY ============ */
@media (hover: none) {
  #products ul li:hover,
  #howto ul li:hover,
  #howto ol li:hover,
  #contact ul li:hover,
  #sitemap ul li:hover,
  #links ul li:hover,
  #articles article:hover {
    transform: none;
  }
}

/* ============ PRINT ============ */
@media print {
  header,
  footer,
  #hero svg,
  body > nav[aria-label="面包屑导航"] {
    display: none;
  }

  body {
    background: #ffffff;
    color: #000000;
  }

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

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