:root {
  --bg-primary: #0a0a14;
  --bg-secondary: #12122a;
  --bg-card: rgba(26, 26, 46, 0.65);
  --bg-card-hover: rgba(30, 30, 58, 0.85);
  --bg-glass: rgba(22, 33, 62, 0.45);
  --text-primary: #eef2ff;
  --text-secondary: #a8b2d1;
  --text-muted: #6b7494;
  --accent: #e94560;
  --accent-soft: #ff6b81;
  --accent-glow: rgba(233, 69, 96, 0.35);
  --accent-secondary: #6c5ce7;
  --accent-tertiary: #00cec9;
  --border-color: rgba(168, 178, 209, 0.12);
  --border-hover: rgba(233, 69, 96, 0.5);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 0 32px rgba(233, 69, 96, 0.2);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1200px;
  --header-height: 68px;
  --gradient-banner: linear-gradient(135deg, #1a1a2e 0%, #16213e 30%, #0f3460 60%, #1a1a2e 100%);
  --gradient-accent: linear-gradient(135deg, #e94560 0%, #6c5ce7 100%);
  --gradient-text: linear-gradient(135deg, #ff6b81 0%, #a29bfe 50%, #00cec9 100%);
}

@media (prefers-color-scheme: light) {
  :root {
    --bg-primary: #f4f5fb;
    --bg-secondary: #ffffff;
    --bg-card: rgba(255, 255, 255, 0.78);
    --bg-card-hover: rgba(255, 255, 255, 0.95);
    --bg-glass: rgba(255, 255, 255, 0.55);
    --text-primary: #1a1a2e;
    --text-secondary: #4a5068;
    --text-muted: #8a90a8;
    --accent: #d6304a;
    --accent-soft: #e94560;
    --accent-glow: rgba(214, 48, 74, 0.2);
    --border-color: rgba(26, 26, 46, 0.1);
    --border-hover: rgba(214, 48, 74, 0.45);
    --shadow-sm: 0 2px 8px rgba(26, 26, 46, 0.08);
    --shadow-md: 0 8px 24px rgba(26, 26, 46, 0.1);
    --shadow-lg: 0 16px 48px rgba(26, 26, 46, 0.14);
    --shadow-glow: 0 0 32px rgba(214, 48, 74, 0.12);
    --gradient-banner: linear-gradient(135deg, #eef1ff 0%, #e3e9ff 30%, #dce4fb 60%, #eef1ff 100%);
  }
}

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

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

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  background-image:
    radial-gradient(ellipse 80% 50% at 20% -10%, rgba(233, 69, 96, 0.12), transparent),
    radial-gradient(ellipse 60% 40% at 90% 10%, rgba(108, 92, 231, 0.1), transparent),
    radial-gradient(ellipse 50% 60% at 50% 100%, rgba(0, 206, 201, 0.06), transparent);
  background-attachment: fixed;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

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

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

h1, h2, h3, h4 {
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(1.75rem, 4.5vw, 3rem);
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  margin-bottom: 1.25rem;
}

h2 {
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  color: var(--text-primary);
  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);
  box-shadow: 0 0 12px var(--accent-glow);
}

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

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

ul, ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  color: var(--text-secondary);
}

li {
  margin-bottom: 0.5rem;
}

li strong {
  color: var(--text-primary);
}

time {
  font-size: 0.85rem;
  color: var(--text-muted);
}

blockquote {
  border-left: 4px solid var(--accent);
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-secondary);
  font-style: italic;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

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

blockquote p {
  margin-bottom: 0;
}

header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

header nav {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

header nav ul {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  padding: 0;
  margin: 0;
  min-height: var(--header-height);
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

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

header nav ul li {
  margin: 0;
  flex-shrink: 0;
}

header nav ul li a {
  display: inline-block;
  padding: 0.5rem 0.9rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  position: relative;
  transition: color var(--transition-fast), background var(--transition-fast);
}

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

header nav ul li a:hover {
  color: var(--text-primary);
  background: rgba(233, 69, 96, 0.08);
}

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

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}

main > nav[aria-label="面包屑导航"] {
  padding: 1.25rem 0 0.5rem;
}

main > nav[aria-label="面包屑导航"] ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

main > nav[aria-label="面包屑导航"] ol li {
  margin: 0;
}

main > nav[aria-label="面包屑导航"] ol li + li::before {
  content: "›";
  margin-right: 0.35rem;
  color: var(--text-muted);
  opacity: 0.6;
}

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

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

section {
  margin-bottom: 1.5rem;
  padding: 2rem;
  background: var(--bg-card);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
  animation: fadeInUp 0.7s cubic-bezier(0.4, 0, 0.2, 1) both;
}

section:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md), var(--shadow-glow);
}

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

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

#hero {
  position: relative;
  overflow: hidden;
  background: var(--gradient-banner);
  background-size: 200% 200%;
  animation: fadeInUp 0.7s cubic-bezier(0.4, 0, 0.2, 1) both, gradientShift 12s ease infinite;
  border: 1px solid var(--border-color);
  padding: clamp(2rem, 5vw, 3.5rem);
  margin-top: 1rem;
}

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

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

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

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

#hero h1 {
  text-shadow: 0 2px 24px rgba(233, 69, 96, 0.25);
}

#hero p {
  max-width: 820px;
  font-size: 1.02rem;
  color: var(--text-secondary);
}

figure {
  margin: 1.5rem 0 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  background: var(--bg-secondary);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

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

figure svg {
  width: 100%;
  height: auto;
  display: block;
  transition: transform var(--transition-slow);
}

figure:hover svg {
  transform: scale(1.02);
}

figcaption {
  padding: 0.75rem 1.25rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  background: var(--bg-glass);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid var(--border-color);
  text-align: center;
}

#brand h3,
#products h3,
#solutions h3,
#cases h3,
#contact h3,
#howto h3,
#author-info h3 {
  margin-top: 1.75rem;
  padding-left: 0.75rem;
  border-left: 3px solid var(--accent-soft);
  color: var(--text-primary);
}

#brand h3:first-of-type,
#products h3:first-of-type,
#solutions h3:first-of-type,
#cases h3:first-of-type {
  margin-top: 0.5rem;
}

#brand ul li,
#products ul li,
#solutions ul li,
#howto ul li,
#howto ol li,
#author-info ul li,
#contact ul li {
  position: relative;
  padding-left: 0.25rem;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

#brand ul li:hover,
#products ul li:hover,
#solutions ul li:hover,
#howto ul li:hover,
#howto ol li:hover,
#author-info ul li:hover,
#contact ul li:hover {
  color: var(--text-primary);
  transform: translateX(3px);
}

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

#contact ul li {
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.9rem 1.1rem;
  font-size: 0.95rem;
  transition: transform var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}

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

#contact ul li strong {
  display: block;
  font-size: 0.8rem;
  color: var(--accent-soft);
  margin-bottom: 0.2rem;
  letter-spacing: 0.03em;
}

#news ul {
  list-style: none;
  padding-left: 0;
}

#news ul li {
  padding: 0.85rem 1rem 0.85rem 1.25rem;
  margin-bottom: 0.5rem;
  border-radius: var(--radius-sm);
  border-left: 3px solid transparent;
  background: rgba(15, 52, 96, 0.15);
  transition: background var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}

#news ul li:hover {
  background: rgba(233, 69, 96, 0.08);
  border-left-color: var(--accent);
  transform: translateX(4px);
}

#articles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.25rem;
  align-items: start;
}

#articles > h2 {
  grid-column: 1 / -1;
  margin-bottom: 0.25rem;
}

#articles article {
  background: var(--bg-glass);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base), background var(--transition-base);
}

#articles article:hover {
  transform: translateY(-6px);
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

#articles article h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  transition: color var(--transition-fast);
}

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

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

#articles article p:last-child {
  margin-bottom: 0;
  margin-top: auto;
}

#articles article p:last-child a {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent-soft);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--border-color);
  background: rgba(233, 69, 96, 0.06);
  transition: all var(--transition-fast);
}

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

#articles article p:last-child a:hover {
  background: var(--gradient-accent);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 16px var(--accent-glow);
}

#articles article p:last-child a:hover::after {
  transform: translateX(3px);
}

#faq details {
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: border-color var(--transition-base), box-shadow var(--transition-base), background var(--transition-base);
}

#faq details:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-sm);
}

#faq details[open] {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md);
  background: var(--bg-card-hover);
}

#faq summary {
  cursor: pointer;
  padding: 1.1rem 1.25rem;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--text-primary);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: color var(--transition-fast);
  user-select: none;
}

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

#faq summary::after {
  content: "+";
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--accent-soft);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  transition: transform var(--transition-base), background var(--transition-base), color var(--transition-base);
}

#faq details[open] summary::after {
  content: "−";
  transform: rotate(180deg);
  background: var(--gradient-accent);
  color: #fff;
  border-color: transparent;
}

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

#faq details > p {
  padding: 0 1.25rem 1.25rem;
  font-size: 0.92rem;
  margin-bottom: 0;
  animation: fadeIn 0.35s ease both;
}

#howto ol {
  counter-reset: step;
  list-style: none;
  padding-left: 0;
}

#howto ol li {
  counter-increment: step;
  position: relative;
  padding: 0.9rem 1rem 0.9rem 3.25rem;
  margin-bottom: 0.6rem;
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  transition: transform var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}

#howto ol li::before {
  content: counter(step);
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  background: var(--gradient-accent);
  border-radius: 50%;
  box-shadow: 0 2px 10px var(--accent-glow);
}

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

#howto ul {
  list-style: none;
  padding-left: 0;
}

#howto ul li {
  position: relative;
  padding-left: 1.5rem;
}

#howto ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-soft);
  box-shadow: 0 0 8px var(--accent-glow);
}

#author-info ul {
  list-style: none;
  padding-left: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.75rem;
}

#author-info ul li {
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.1rem;
  font-size: 0.92rem;
  transition: transform var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}

#author-info ul li:hover {
  transform: translateY(-3px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-sm);
}

#author-info ul li strong {
  display: block;
  font-size: 0.78rem;
  color: var(--accent-soft);
  margin-bottom: 0.2rem;
  letter-spacing: 0.03em;
}

#sitemap ul,
#links ul {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

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

#sitemap ul li a,
#links ul li a {
  display: inline-block;
  padding: 0.45rem 1rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
  background: var(--bg-glass);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border-color);
  border-radius: 999px;
  transition: all var(--transition-fast);
}

#sitemap ul li a:hover,
#links ul li a:hover {
  color: #fff;
  background: var(--gradient-accent);
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px var(--accent-glow);
}

footer {
  background: var(--bg-glass);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-top: 1px solid var(--border-color);
  padding: 2.5rem 1.5rem 1.5rem;
  margin-top: 2rem;
}

footer > section {
  max-width: var(--max-width);
  margin: 0 auto 1rem;
  background: transparent;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: 1rem 0;
  animation: none;
}

footer > section:hover {
  border-color: transparent;
  box-shadow: none;
}

footer > section h2 {
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
  padding-left: 0.75rem;
}

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

footer > section p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

footer > p:last-child {
  max-width: var(--max-width);
  margin: 1.5rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-color);
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

footer > p:last-child small {
  font-size: inherit;
  color: inherit;
}

@media (max-width: 900px) {
  #articles {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }
}

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

  body {
    font-size: 15px;
  }

  header nav {
    padding: 0 1rem;
  }

  header nav ul {
    gap: 0;
  }

  header nav ul li a {
    padding: 0.45rem 0.7rem;
    font-size: 0.85rem;
  }

  main {
    padding: 0 1rem 3rem;
  }

  section {
    padding: 1.5rem 1.25rem;
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
  }

  #hero {
    padding: 1.75rem 1.25rem;
  }

  h2 {
    padding-left: 0.85rem;
  }

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

  #articles article {
    padding: 1.25rem;
  }

  #contact ul,
  #author-info ul {
    grid-template-columns: 1fr;
  }

  footer {
    padding: 2rem 1rem 1.25rem;
  }

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

  #faq details > p {
    padding: 0 1rem 1rem;
    font-size: 0.88rem;
  }

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

@media (max-width: 480px) {
  body {
    font-size: 14.5px;
  }

  header nav ul li a {
    padding: 0.4rem 0.6rem;
    font-size: 0.8rem;
  }

  section {
    padding: 1.25rem 1rem;
  }

  #hero {
    padding: 1.5rem 1rem;
  }

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

  blockquote {
    padding: 1rem 1.1rem;
  }

  #sitemap ul,
  #links ul {
    gap: 0.45rem;
  }

  #sitemap ul li a,
  #links ul li a {
    padding: 0.4rem 0.8rem;
    font-size: 0.82rem;
  }
}

@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 {
    box-shadow: none;
    border: 1px solid #ccc;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}