:root {
  --primary: #c62828;
  --primary-dark: #8e0000;
  --primary-light: #ff5f52;
  --accent: #ffcc80;
  --accent-dark: #ffa726;
  --bg: #faf7f2;
  --bg-alt: #ffffff;
  --bg-card: rgba(255, 255, 255, 0.72);
  --bg-glass: rgba(255, 255, 255, 0.55);
  --text: #2b2420;
  --text-secondary: #6b5f57;
  --text-muted: #9a8d84;
  --border: rgba(198, 40, 40, 0.12);
  --border-light: rgba(0, 0, 0, 0.06);
  --shadow-sm: 0 2px 8px rgba(43, 36, 32, 0.06);
  --shadow-md: 0 8px 24px rgba(43, 36, 32, 0.09);
  --shadow-lg: 0 16px 48px rgba(43, 36, 32, 0.13);
  --shadow-glow: 0 8px 32px rgba(198, 40, 40, 0.22);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --transition: 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-fast: 0.2s ease;
  --max-width: 1180px;
  --header-height: 64px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --primary: #ff5f52;
    --primary-dark: #c62828;
    --primary-light: #ff8a80;
    --accent: #ffcc80;
    --accent-dark: #ffa726;
    --bg: #161210;
    --bg-alt: #1e1917;
    --bg-card: rgba(40, 32, 30, 0.72);
    --bg-glass: rgba(40, 32, 30, 0.55);
    --text: #f0e9e4;
    --text-secondary: #c4b8b0;
    --text-muted: #8a7d75;
    --border: rgba(255, 95, 82, 0.18);
    --border-light: rgba(255, 255, 255, 0.07);
    --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 8px 32px rgba(255, 95, 82, 0.25);
  }
}

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

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

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 60% at 10% 0%, rgba(198, 40, 40, 0.05), transparent),
    radial-gradient(ellipse 60% 50% at 90% 20%, rgba(255, 167, 38, 0.05), transparent),
    radial-gradient(ellipse 70% 60% at 50% 100%, rgba(198, 40, 40, 0.04), transparent);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

a:hover {
  color: var(--primary-dark);
}

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

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

li {
  margin-bottom: 0.4em;
}

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

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.6rem, 4.5vw, 2.4rem);
  margin-bottom: 0.75em;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent-dark) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--primary);
}

h2 {
  font-size: clamp(1.35rem, 3.5vw, 1.9rem);
  margin-bottom: 0.7em;
  padding-bottom: 0.45em;
  position: relative;
}

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

h3 {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  margin-bottom: 0.6em;
  margin-top: 1.4em;
  color: var(--text);
}

h4 {
  font-size: clamp(1rem, 2vw, 1.15rem);
  margin-bottom: 0.5em;
  margin-top: 1.2em;
  color: var(--primary-dark);
}

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

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

blockquote {
  margin: 1.2em 0;
  padding: 1em 1.4em;
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}

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

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

blockquote p::before {
  content: "\201C";
  font-size: 2.4em;
  line-height: 0;
  vertical-align: -0.4em;
  color: var(--primary);
  opacity: 0.35;
  margin-right: 0.1em;
}

blockquote p::after {
  content: "\201D";
  font-size: 2.4em;
  line-height: 0;
  vertical-align: -0.4em;
  color: var(--primary);
  opacity: 0.35;
  margin-left: 0.1em;
}

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-light);
  box-shadow: var(--shadow-sm);
  transition: background var(--transition), box-shadow var(--transition);
}

header nav {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 6px;
  min-height: var(--header-height);
}

header nav a {
  position: relative;
  display: inline-block;
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: color var(--transition-fast), background var(--transition-fast), transform var(--transition-fast);
}

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

header nav a:hover {
  color: var(--primary);
  background: rgba(198, 40, 40, 0.06);
  transform: translateY(-1px);
}

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

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

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

main > nav[aria-label="面包屑导航"] ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  list-style: none;
  padding: 0;
  font-size: 0.85rem;
}

main > nav[aria-label="面包屑导航"] ol li {
  display: flex;
  align-items: center;
  margin: 0;
  color: var(--text-muted);
}

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

main > nav[aria-label="面包屑导航"] ol li a {
  color: var(--text-secondary);
  padding: 2px 4px;
  border-radius: 4px;
  transition: color var(--transition-fast), background var(--transition-fast);
}

main > nav[aria-label="面包屑导航"] ol li a:hover {
  color: var(--primary);
  background: rgba(198, 40, 40, 0.06);
}

section {
  margin-bottom: 32px;
  padding: 28px 24px;
  background: var(--bg-card);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}

section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent-dark), var(--primary));
  background-size: 200% 100%;
  opacity: 0;
  transition: opacity var(--transition);
}

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

section:hover::before {
  opacity: 1;
  animation: gradientShift 3s linear infinite;
}

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

#intro {
  margin-top: 16px;
  padding: 40px 32px;
  background:
    linear-gradient(135deg, rgba(198, 40, 40, 0.92) 0%, rgba(142, 0, 0, 0.88) 50%, rgba(255, 167, 38, 0.85) 100%);
  background-size: 200% 200%;
  animation: bannerGradient 12s ease infinite;
  border: none;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-glow);
  color: #fff;
  position: relative;
  overflow: hidden;
}

#intro::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 204, 128, 0.35), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: floatOrb 8s ease-in-out infinite;
}

#intro::after {
  content: "";
  position: absolute;
  bottom: -40%;
  left: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: floatOrb 10s ease-in-out infinite reverse;
}

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

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

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

#intro p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.05rem;
  line-height: 1.9;
  position: relative;
  z-index: 1;
  max-width: 860px;
}

#brand h3,
#products h3,
#solutions h3,
#industry h3,
#cases h3,
#news h3,
#articles h3,
#knowledge h3,
#faq h3,
#howto h3,
#contact h3,
#editorial h3 {
  padding-left: 14px;
  border-left: 4px solid var(--primary);
  border-radius: 2px;
}

#brand ul,
#products ul,
#howto ul,
#howto ol,
#contact ul,
#sitemap ul,
#links ul {
  margin-bottom: 1em;
}

#brand ul li,
#products ul li,
#howto ul li,
#howto ol li,
#contact ul li {
  color: var(--text-secondary);
  padding: 3px 0;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

#brand ul li:hover,
#products ul li:hover,
#howto ul li:hover,
#howto ol li:hover,
#contact ul li:hover {
  color: var(--primary);
  transform: translateX(4px);
}

#products h4 {
  display: inline-block;
  padding: 4px 14px;
  background: linear-gradient(135deg, rgba(198, 40, 40, 0.08), rgba(255, 167, 38, 0.08));
  border-radius: 100px;
  border: 1px solid var(--border);
  font-weight: 600;
}

#cases blockquote {
  margin: 0.8em 0;
}

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

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

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

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

#news article h3,
#articles article h3 {
  margin-top: 0;
  border-left: none;
  padding-left: 0;
  font-size: 1.1rem;
  transition: color var(--transition-fast);
}

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

#news article p:first-of-type,
#articles article p:first-of-type {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0.6em;
  display: inline-block;
  padding: 2px 10px;
  background: rgba(198, 40, 40, 0.06);
  border-radius: 100px;
}

#news article a,
#articles article a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 100px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 4px 12px rgba(198, 40, 40, 0.25);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), filter var(--transition-fast);
}

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

#news article a:hover,
#articles article a:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(198, 40, 40, 0.35);
  filter: brightness(1.08);
}

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

#faq h3 {
  cursor: pointer;
  padding: 14px 18px;
  margin-top: 0.8em;
  margin-bottom: 0;
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  border-left: 4px solid var(--primary);
  font-size: 1rem;
  position: relative;
  transition: background var(--transition-fast), color var(--transition-fast);
}

#faq h3:hover {
  background: rgba(198, 40, 40, 0.06);
  color: var(--primary);
}

#faq h3 + p {
  padding: 14px 18px;
  margin-top: 0;
  margin-bottom: 0.8em;
  background: var(--bg-alt);
  border: 1px solid var(--border-light);
  border-top: none;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  font-size: 0.94rem;
  animation: fadeInUp 0.4s ease;
}

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

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

#howto ol li {
  counter-increment: step;
  position: relative;
  padding-left: 52px;
  margin-bottom: 14px;
  padding-top: 8px;
  padding-bottom: 8px;
}

#howto ol li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 8px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(198, 40, 40, 0.3);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

#howto ol li:hover::before {
  transform: scale(1.12) rotate(-6deg);
  box-shadow: 0 6px 18px rgba(198, 40, 40, 0.4);
}

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

#contact ul li {
  padding: 10px 16px;
  margin-bottom: 8px;
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

#contact ul li:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-sm);
  border-color: var(--border);
}

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

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

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

#sitemap ul li a:hover,
#links ul li a:hover {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(198, 40, 40, 0.3);
}

#links ul li a[rel="nofollow"] {
  border-style: dashed;
}

#copyright,
#privacy,
#disclaimer,
#security {
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

#editorial {
  background:
    linear-gradient(135deg, rgba(198, 40, 40, 0.04), rgba(255, 167, 38, 0.04));
}

footer {
  margin-top: 20px;
  padding: 36px 20px;
  background: var(--bg-alt);
  border-top: 1px solid var(--border-light);
  text-align: center;
  position: relative;
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent-dark), var(--primary));
  background-size: 200% 100%;
  animation: gradientShift 4s linear infinite;
}

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

footer nav {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
}

footer nav a {
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding: 4px 8px;
  border-radius: 6px;
  position: relative;
  transition: color var(--transition-fast);
}

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

footer nav a:hover {
  color: var(--primary);
}

footer nav a:hover::after {
  width: 70%;
}

section {
  opacity: 0;
  transform: translateY(24px);
  animation: sectionReveal 0.7s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

#intro { animation-delay: 0.05s; }
#brand { animation-delay: 0.1s; }
#products { animation-delay: 0.15s; }
#solutions { animation-delay: 0.2s; }
#industry { animation-delay: 0.25s; }
#cases { animation-delay: 0.3s; }
#news { animation-delay: 0.35s; }
#articles { animation-delay: 0.4s; }
#knowledge { animation-delay: 0.45s; }
#faq { animation-delay: 0.5s; }
#howto { animation-delay: 0.55s; }
#contact { animation-delay: 0.6s; }
#sitemap { animation-delay: 0.65s; }
#links { animation-delay: 0.7s; }

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

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

  section {
    animation: scrollReveal linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 35%;
  }

  @keyframes scrollReveal {
    from {
      opacity: 0;
      transform: translateY(40px) scale(0.98);
    }
    to {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
  }
}

@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;
  }
}

::selection {
  background: rgba(198, 40, 40, 0.2);
  color: var(--text);
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

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

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--primary), var(--primary-dark));
  border-radius: 10px;
  border: 2px solid var(--bg);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

* {
  scrollbar-width: thin;
  scrollbar-color: var(--primary) var(--bg);
}

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

  header nav {
    padding: 0 14px;
    gap: 2px 4px;
  }

  header nav a {
    padding: 6px 10px;
    font-size: 0.82rem;
  }

  section {
    padding: 22px 18px;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
  }

  #intro {
    padding: 30px 22px;
    border-radius: var(--radius-lg);
  }

  #intro p {
    font-size: 0.98rem;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15px;
    line-height: 1.75;
  }

  main {
    padding: 0 12px 30px;
  }

  header nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0 12px;
  }

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

  header nav a {
    flex-shrink: 0;
    padding: 6px 9px;
    font-size: 0.78rem;
  }

  section {
    padding: 18px 14px;
    border-radius: var(--radius-sm);
    margin-bottom: 18px;
  }

  #intro {
    padding: 24px 16px;
    border-radius: var(--radius-md);
  }

  #intro h1 {
    font-size: 1.35rem;
  }

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

  h2::after {
    width: 40px;
    height: 3px;
  }

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

  #news article a,
  #articles article a {
    padding: 5px 14px;
    font-size: 0.82rem;
  }

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

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

  #howto ol li {
    padding-left: 46px;
  }

  #howto ol li::before {
    width: 30px;
    height: 30px;
    font-size: 0.82rem;
  }

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

  footer {
    padding: 28px 14px;
  }

  footer p {
    font-size: 0.78rem;
  }

  blockquote {
    padding: 0.8em 1em;
  }
}

@media (max-width: 380px) {
  header nav a {
    padding: 5px 7px;
    font-size: 0.72rem;
  }

  section {
    padding: 16px 12px;
  }

  #intro {
    padding: 20px 14px;
  }
}

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

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

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

  #intro {
    background: #eee;
    color: #000;
  }

  #intro h1,
  #intro p {
    color: #000;
    -webkit-text-fill-color: #000;
  }
}