:root {
  --primary: #1a3a6b;
  --primary-light: #3d6fb4;
  --primary-dark: #0f2647;
  --accent: #f2b705;
  --accent-light: #ffd54f;
  --accent-dark: #d19e00;
  --bg: #f5f7fb;
  --bg-card: rgba(255, 255, 255, 0.72);
  --bg-card-hover: rgba(255, 255, 255, 0.92);
  --bg-glass: rgba(255, 255, 255, 0.55);
  --text: #1a2332;
  --text-secondary: #4a5568;
  --text-muted: #718096;
  --border: rgba(26, 58, 107, 0.12);
  --border-hover: rgba(26, 58, 107, 0.28);
  --shadow-sm: 0 2px 8px rgba(26, 58, 107, 0.06);
  --shadow-md: 0 8px 24px rgba(26, 58, 107, 0.1);
  --shadow-lg: 0 16px 48px rgba(26, 58, 107, 0.14);
  --shadow-glow: 0 0 24px rgba(242, 183, 5, 0.3);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --transition: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-fast: 0.2s ease;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --max-width: 1200px;
  --header-height: 64px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --primary: #4a8fe7;
    --primary-light: #6ba8f0;
    --primary-dark: #2a6bbf;
    --accent: #ffd54f;
    --accent-light: #ffe082;
    --accent-dark: #ffca28;
    --bg: #0d1420;
    --bg-card: rgba(20, 32, 52, 0.72);
    --bg-card-hover: rgba(28, 44, 68, 0.92);
    --bg-glass: rgba(20, 32, 52, 0.55);
    --text: #e8edf5;
    --text-secondary: #a0aec0;
    --text-muted: #718096;
    --border: rgba(74, 143, 231, 0.15);
    --border-hover: rgba(74, 143, 231, 0.35);
    --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 16px 48px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 24px rgba(255, 213, 79, 0.25);
  }
}

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

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

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 60% at 0% 0%, rgba(26, 58, 107, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 100% 20%, rgba(242, 183, 5, 0.05) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 50% 100%, rgba(61, 111, 180, 0.04) 0%, transparent 60%);
  background-attachment: fixed;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media (prefers-color-scheme: dark) {
  body {
    background-image:
      radial-gradient(ellipse 80% 60% at 0% 0%, rgba(74, 143, 231, 0.08) 0%, transparent 60%),
      radial-gradient(ellipse 60% 50% at 100% 20%, rgba(255, 213, 79, 0.04) 0%, transparent 60%),
      radial-gradient(ellipse 50% 60% at 50% 100%, rgba(74, 143, 231, 0.06) 0%, transparent 60%);
  }
}

::selection {
  background: rgba(242, 183, 5, 0.35);
  color: var(--text);
}

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

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

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

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

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);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
}

@media (prefers-color-scheme: dark) {
  h1 {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
}

h2 {
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.75rem;
}

h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 48px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: width var(--transition);
}

section:hover > h2::after {
  width: 80px;
}

h3 {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  margin-bottom: 0.6rem;
  color: var(--primary);
}

@media (prefers-color-scheme: dark) {
  h3 {
    color: var(--primary-light);
  }
}

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

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

blockquote {
  position: relative;
  padding: 1.25rem 1.5rem 1.25rem 2.5rem;
  margin: 1rem 0;
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--accent);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

blockquote::before {
  content: "\201C";
  position: absolute;
  top: 0.25rem;
  left: 0.75rem;
  font-size: 2.5rem;
  line-height: 1;
  color: var(--accent);
  opacity: 0.5;
  font-family: Georgia, serif;
}

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

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

header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition), box-shadow var(--transition);
}

@media (prefers-color-scheme: dark) {
  header {
    background: rgba(13, 20, 32, 0.72);
  }
}

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

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

header nav > a:first-child {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
  flex-shrink: 0;
  transition: opacity var(--transition-fast);
}

header nav > a:first-child:hover {
  opacity: 0.8;
}

header nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 4px 0;
}

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

header nav ul li a {
  display: block;
  padding: 6px 12px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: all var(--transition-fast);
  position: relative;
}

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

header nav ul li a:hover {
  color: var(--primary);
  background: rgba(26, 58, 107, 0.06);
}

@media (prefers-color-scheme: dark) {
  header nav ul li a:hover {
    color: var(--primary-light);
    background: rgba(74, 143, 231, 0.1);
  }
}

header nav ul li a:hover::after {
  transform: translateX(-50%) scaleX(1);
}

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px 60px;
}

main > nav[aria-label="面包屑"] {
  padding: 16px 0 8px;
}

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

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

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

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

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

section {
  margin-bottom: 48px;
  opacity: 0;
  transform: translateY(24px);
  animation: fadeInUp 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

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

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#hero {
  position: relative;
  padding: 56px 40px;
  margin-top: 16px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 40%, var(--primary-light) 70%, var(--accent) 130%);
  background-size: 200% 200%;
  animation: gradientShift 8s ease infinite, fadeInUp 0.7s 0.05s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  color: #fff;
}

#hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 183, 5, 0.2) 0%, transparent 70%);
  pointer-events: none;
  animation: floatOrb 12s ease-in-out infinite;
}

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

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

@keyframes floatOrb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(20px, -20px) scale(1.05); }
  66% { transform: translate(-15px, 15px) scale(0.95); }
}

#hero h1 {
  color: #fff;
  background: none;
  -webkit-text-fill-color: #fff;
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

#hero > p {
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  line-height: 1.8;
  max-width: 720px;
  position: relative;
  z-index: 1;
  margin-bottom: 1.5rem;
}

#hero figure {
  position: relative;
  z-index: 1;
  margin-top: 1.5rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  transition: transform var(--transition), box-shadow var(--transition);
}

#hero figure:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

#hero figure svg {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
}

#hero figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 16px;
  background: linear-gradient(transparent, rgba(15, 38, 71, 0.85));
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.85rem;
  text-align: center;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

#about,
#products,
#solutions,
#cases,
#news,
#articles,
#faq,
#howto,
#contact,
#sitemap,
#links,
#legal {
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
}

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

#about h3,
#products h3,
#solutions h3,
#cases h3,
#news h3,
#articles h3,
#faq h3,
#howto h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

#about h3:first-of-type,
#products h3:first-of-type,
#solutions h3:first-of-type,
#cases h3:first-of-type,
#news h3:first-of-type,
#articles h3:first-of-type,
#faq h3:first-of-type,
#howto h3:first-of-type {
  margin-top: 0;
}

#news article,
#articles article {
  padding: 20px 22px;
  margin-bottom: 16px;
  border-radius: var(--radius-md);
  background: var(--bg-glass);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), background var(--transition);
  position: relative;
  overflow: hidden;
}

#news article::before,
#articles article::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, var(--primary), var(--accent));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform var(--transition);
}

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

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

#news article h3,
#articles article h3 {
  margin-top: 0;
  margin-bottom: 6px;
  font-size: 1.05rem;
}

#news article time,
#articles article time {
  display: inline-block;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  padding: 2px 10px;
  border-radius: 20px;
  background: rgba(26, 58, 107, 0.06);
}

@media (prefers-color-scheme: dark) {
  #news article time,
  #articles article time {
    background: rgba(74, 143, 231, 0.12);
  }
}

#news article p,
#articles article p {
  margin-bottom: 10px;
  font-size: 0.92rem;
}

#articles article a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-light);
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  transition: all var(--transition-fast);
}

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

#articles article a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

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

#cases blockquote {
  margin-bottom: 12px;
}

#cases blockquote:last-child {
  margin-bottom: 0;
}

#faq h3 {
  padding: 14px 18px;
  margin-bottom: 0;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  background: var(--bg-glass);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-bottom: none;
  cursor: default;
  transition: background var(--transition), color var(--transition);
  font-size: 0.98rem;
  position: relative;
  padding-left: 44px;
}

#faq h3::before {
  content: "Q";
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

#faq h3:hover {
  background: var(--bg-card-hover);
}

#faq h3 + p {
  padding: 14px 18px 14px 44px;
  margin-bottom: 12px;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  background: var(--bg-card);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-top: none;
  font-size: 0.92rem;
  position: relative;
  transition: background var(--transition), border-color var(--transition);
}

#faq h3 + p::before {
  content: "A";
  position: absolute;
  left: 14px;
  top: 16px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: var(--primary-dark);
  font-size: 0.7rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

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

#howto ol {
  counter-reset: step;
  padding-left: 0;
  margin: 12px 0;
}

#howto ol li {
  counter-increment: step;
  position: relative;
  padding: 14px 18px 14px 56px;
  margin-bottom: 10px;
  border-radius: var(--radius-md);
  background: var(--bg-glass);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  font-size: 0.92rem;
  color: var(--text-secondary);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), background var(--transition);
}

#howto ol li::before {
  content: counter(step);
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  box-shadow: 0 2px 8px rgba(26, 58, 107, 0.25);
  transition: transform var(--transition), box-shadow var(--transition);
}

#howto ol li:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}

#howto ol li:hover::before {
  transform: translateY(-50%) scale(1.15);
  box-shadow: 0 4px 16px rgba(26, 58, 107, 0.35);
}

#contact p {
  padding: 8px 0;
  border-bottom: 1px dashed var(--border);
  font-size: 0.92rem;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  transition: padding-left var(--transition-fast), border-color var(--transition-fast);
}

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

#contact p:hover {
  padding-left: 8px;
  border-color: var(--accent);
}

#sitemap ul,
#links ul {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 8px;
  margin-top: 12px;
}

#sitemap ul li a,
#links ul li a {
  display: block;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--bg-glass);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  font-size: 0.88rem;
  color: var(--text-secondary);
  text-align: center;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}

#sitemap ul li a::after,
#links ul li a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26, 58, 107, 0.08), rgba(242, 183, 5, 0.08));
  opacity: 0;
  transition: opacity var(--transition-fast);
}

#sitemap ul li a:hover,
#links ul li a:hover {
  color: var(--primary);
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

#sitemap ul li a:hover::after,
#links ul li a:hover::after {
  opacity: 1;
}

@media (prefers-color-scheme: dark) {
  #sitemap ul li a:hover,
  #links ul li a:hover {
    color: var(--primary-light);
  }
}

#legal h2 {
  margin-top: 1.5rem;
  font-size: 1.15rem;
}

#legal h2:first-child {
  margin-top: 0;
}

#legal p {
  font-size: 0.9rem;
  line-height: 1.8;
}

footer {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 32px 20px 48px;
  text-align: center;
  border-top: 1px solid var(--border);
  position: relative;
}

footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

footer p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 4px;
  transition: color var(--transition-fast);
}

footer p:first-child {
  font-weight: 600;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

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

@media (max-width: 768px) {
  :root {
    --header-height: 56px;
  }

  header nav {
    padding: 0 14px;
    gap: 10px;
  }

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

  header nav ul {
    gap: 2px;
  }

  header nav ul li a {
    padding: 5px 9px;
    font-size: 0.78rem;
  }

  main {
    padding: 0 14px 40px;
  }

  section {
    margin-bottom: 32px;
  }

  #hero {
    padding: 32px 20px;
    border-radius: var(--radius-lg);
  }

  #hero > p {
    font-size: 0.9rem;
  }

  #about,
  #products,
  #solutions,
  #cases,
  #news,
  #articles,
  #faq,
  #howto,
  #contact,
  #sitemap,
  #links,
  #legal {
    padding: 22px 16px;
    border-radius: var(--radius-md);
  }

  h2 {
    font-size: 1.25rem;
  }

  h2::after {
    width: 36px;
  }

  #news article,
  #articles article {
    padding: 16px;
  }

  #faq h3 {
    padding: 12px 14px 12px 38px;
    font-size: 0.9rem;
  }

  #faq h3::before {
    left: 10px;
    width: 20px;
    height: 20px;
    font-size: 0.65rem;
  }

  #faq h3 + p {
    padding: 12px 14px 12px 38px;
    font-size: 0.86rem;
  }

  #faq h3 + p::before {
    left: 10px;
    width: 20px;
    height: 20px;
    font-size: 0.65rem;
  }

  #howto ol li {
    padding: 12px 14px 12px 48px;
    font-size: 0.86rem;
  }

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

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

  #sitemap ul li a,
  #links ul li a {
    padding: 8px 12px;
    font-size: 0.82rem;
  }

  blockquote {
    padding: 1rem 1rem 1rem 2rem;
  }

  blockquote::before {
    font-size: 2rem;
    left: 0.5rem;
  }
}

@media (max-width: 480px) {
  header nav {
    flex-direction: column;
    height: auto;
    padding: 10px 14px;
    gap: 8px;
  }

  header nav ul {
    width: 100%;
    justify-content: flex-start;
    padding-bottom: 4px;
  }

  header nav ul li a {
    font-size: 0.75rem;
    padding: 4px 8px;
  }

  #hero {
    padding: 24px 16px;
  }

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

  #hero figure figcaption {
    font-size: 0.75rem;
    padding: 8px 12px;
  }

  #sitemap ul,
  #links ul {
    grid-template-columns: 1fr 1fr;
  }

  footer {
    padding: 24px 14px 36px;
  }
}

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

@media print {
  header,
  footer,
  #sitemap,
  #links {
    display: none;
  }

  body {
    background: #fff;
    color: #000;
  }

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