:root {
  --c-bg: #f5f7fb;
  --c-bg-alt: #ffffff;
  --c-surface: rgba(255, 255, 255, 0.72);
  --c-surface-solid: #ffffff;
  --c-border: rgba(44, 62, 107, 0.12);
  --c-text: #1f2a44;
  --c-text-soft: #4a5670;
  --c-text-mute: #6b7690;
  --c-primary: #2c3e6b;
  --c-primary-soft: #3a4f85;
  --c-accent: #f0c040;
  --c-accent-deep: #d9a520;
  --c-link: #2c5fb3;
  --c-link-hover: #1f4a91;
  --c-shadow: 0 10px 30px rgba(31, 42, 68, 0.10);
  --c-shadow-lg: 0 18px 50px rgba(31, 42, 68, 0.16);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --grad-hero: linear-gradient(135deg, #1f2a44 0%, #2c3e6b 45%, #3a4f85 75%, #4d6bb0 100%);
  --grad-accent: linear-gradient(135deg, #f0c040 0%, #f6d97a 100%);
  --grad-card: linear-gradient(160deg, rgba(255,255,255,0.85) 0%, rgba(240,244,252,0.65) 100%);
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Songti SC", "Noto Serif SC", Georgia, "Times New Roman", serif;
  --maxw: 1180px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --c-bg: #0e1320;
    --c-bg-alt: #141b2c;
    --c-surface: rgba(26, 34, 52, 0.62);
    --c-surface-solid: #1a2234;
    --c-border: rgba(240, 192, 64, 0.14);
    --c-text: #e8ecf5;
    --c-text-soft: #b9c2d6;
    --c-text-mute: #8b95ad;
    --c-primary: #6d86c9;
    --c-primary-soft: #8aa0d8;
    --c-accent: #f0c040;
    --c-accent-deep: #ffd75e;
    --c-link: #8fb2ff;
    --c-link-hover: #b3cbff;
    --c-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
    --c-shadow-lg: 0 18px 50px rgba(0, 0, 0, 0.6);
    --grad-hero: linear-gradient(135deg, #0b1020 0%, #16203a 45%, #22305a 75%, #2d3f75 100%);
    --grad-card: linear-gradient(160deg, rgba(34, 44, 68, 0.85) 0%, rgba(20, 27, 44, 0.65) 100%);
  }
}

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

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--c-text);
  background-color: var(--c-bg);
  background-image:
    radial-gradient(1200px 600px at 10% -10%, rgba(240, 192, 64, 0.10), transparent 60%),
    radial-gradient(900px 500px at 100% 0%, rgba(58, 79, 133, 0.12), transparent 55%);
  background-attachment: fixed;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body > a[href="#main-content"] {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  padding: 10px 18px;
  background: var(--c-primary);
  color: #fff;
  border-radius: 0 0 var(--radius-sm) 0;
  text-decoration: none;
  font-size: 14px;
}
body > a[href="#main-content"]:focus {
  left: 0;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  line-height: 1.35;
  color: var(--c-text);
  margin: 0 0 0.6em;
  letter-spacing: 0.01em;
}

h1 { font-size: clamp(1.6rem, 1.1rem + 2.2vw, 2.6rem); font-weight: 700; }
h2 { font-size: clamp(1.35rem, 1rem + 1.4vw, 1.95rem); font-weight: 700; }
h3 { font-size: clamp(1.1rem, 0.95rem + 0.6vw, 1.35rem); font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }

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

a {
  color: var(--c-link);
  text-decoration: none;
  transition: color 0.25s var(--ease), opacity 0.25s var(--ease);
}
a:hover, a:focus-visible { color: var(--c-link-hover); text-decoration: underline; text-underline-offset: 3px; }

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

ul, ol { padding-left: 1.4em; margin: 0 0 1em; color: var(--c-text-soft); }
li { margin-bottom: 0.4em; }

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

blockquote {
  margin: 0 0 1.2em;
  padding: 1rem 1.3rem;
  background: var(--c-surface);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-left: 4px solid var(--c-accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--c-text-soft);
  box-shadow: var(--c-shadow);
}
blockquote p { margin: 0; font-style: italic; }

header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--c-surface);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border-bottom: 1px solid var(--c-border);
  box-shadow: 0 4px 24px rgba(31, 42, 68, 0.06);
}

header > div {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0.7rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

header > div > a[aria-label="歪歪漫画网首页"] {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  flex-shrink: 0;
}
header > div > a[aria-label="歪歪漫画网首页"] svg {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(44, 62, 107, 0.35);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
header > div > a[aria-label="歪歪漫画网首页"]:hover svg {
  transform: rotate(-6deg) scale(1.06);
  box-shadow: 0 8px 22px rgba(44, 62, 107, 0.45);
}
header > div > a[aria-label="歪歪漫画网首页"] strong {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  color: var(--c-text);
  white-space: nowrap;
}

header nav { flex: 1 1 auto; min-width: 0; }
header nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: center;
}
header nav ul li { margin: 0; }
header nav ul a {
  display: inline-block;
  padding: 0.4rem 0.7rem;
  font-size: 0.9rem;
  color: var(--c-text-soft);
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
}
header nav ul a:hover,
header nav ul a:focus-visible {
  background: rgba(240, 192, 64, 0.18);
  color: var(--c-primary);
  text-decoration: none;
  transform: translateY(-2px);
}

header form[role="search"] {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}
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[type="search"] {
  width: 190px;
  padding: 0.48rem 0.9rem;
  font-size: 0.88rem;
  font-family: inherit;
  color: var(--c-text);
  background: var(--c-bg-alt);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-pill);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), width 0.3s var(--ease);
}
header form[role="search"] input[type="search"]::placeholder { color: var(--c-text-mute); }
header form[role="search"] input[type="search"]:focus {
  width: 230px;
  border-color: var(--c-accent);
  box-shadow: 0 0 0 3px rgba(240, 192, 64, 0.25);
  outline: none;
}
header form[role="search"] button {
  padding: 0.48rem 1.05rem;
  font-size: 0.88rem;
  font-family: inherit;
  font-weight: 600;
  color: #1f2a44;
  background: var(--grad-accent);
  border: none;
  border-radius: var(--radius-pill);
  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: 0 8px 20px rgba(240, 192, 64, 0.4);
  filter: brightness(1.05);
}
header form[role="search"] button:active { transform: translateY(0); }

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

main > section {
  position: relative;
  margin: 0 0 2rem;
  padding: 2rem clamp(1.1rem, 3vw, 2.4rem);
  background: var(--grad-card);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--c-shadow);
  animation: fadeUp 0.8s var(--ease) both;
  transition: box-shadow 0.4s var(--ease), transform 0.4s var(--ease), border-color 0.4s var(--ease);
}
main > section:hover {
  box-shadow: var(--c-shadow-lg);
  border-color: rgba(240, 192, 64, 0.35);
}

main > section:nth-of-type(2) { animation-delay: 0.06s; }
main > section:nth-of-type(3) { animation-delay: 0.12s; }
main > section:nth-of-type(4) { animation-delay: 0.18s; }
main > section:nth-of-type(5) { animation-delay: 0.24s; }
main > section:nth-of-type(6) { animation-delay: 0.30s; }
main > section:nth-of-type(7) { animation-delay: 0.36s; }
main > section:nth-of-type(8) { animation-delay: 0.42s; }
main > section:nth-of-type(9) { animation-delay: 0.48s; }
main > section:nth-of-type(10) { animation-delay: 0.54s; }

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

main > section:first-of-type {
  background: var(--grad-hero);
  border: none;
  color: #f2f5fc;
  overflow: hidden;
  padding-top: clamp(2rem, 4vw, 3.2rem);
  padding-bottom: clamp(2rem, 4vw, 3.2rem);
}
main > section:first-of-type::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto auto;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(240, 192, 64, 0.35) 0%, transparent 65%);
  pointer-events: none;
  animation: floatGlow 9s ease-in-out infinite alternate;
}
main > section:first-of-type::after {
  content: "";
  position: absolute;
  inset: auto auto -50% -15%;
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(109, 134, 201, 0.35) 0%, transparent 65%);
  pointer-events: none;
  animation: floatGlow 11s ease-in-out infinite alternate-reverse;
}
@keyframes floatGlow {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-30px, 24px, 0) scale(1.12); }
}

main > section:first-of-type h1 {
  color: #ffffff;
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}
main > section:first-of-type > p {
  color: rgba(240, 245, 255, 0.88);
  position: relative;
  z-index: 1;
  max-width: 62ch;
}
main > section:first-of-type figure {
  position: relative;
  z-index: 1;
  margin: 1.5rem 0 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
main > section:first-of-type figure svg {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.7s var(--ease);
}
main > section:first-of-type figure:hover svg { transform: scale(1.03); }
main > section:first-of-type figcaption {
  padding: 0.7rem 1rem;
  font-size: 0.85rem;
  color: rgba(240, 245, 255, 0.75);
  background: rgba(15, 22, 40, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

main > section > h2 {
  position: relative;
  padding-bottom: 0.55rem;
  margin-bottom: 1.2rem;
}
main > section > h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 64px;
  height: 4px;
  border-radius: var(--radius-pill);
  background: var(--grad-accent);
}
main > section:first-of-type > h2::after { display: none; }

#brand h3,
#products h3,
#solutions h3,
#cases h3,
#news h3,
#howto h3 {
  margin-top: 1.6rem;
  color: var(--c-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
#brand h3::before,
#products h3::before,
#solutions h3::before,
#cases h3::before,
#news h3::before,
#howto h3::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-accent);
  box-shadow: 0 0 0 4px rgba(240, 192, 64, 0.2);
  flex-shrink: 0;
}

#products {
  background:
    linear-gradient(160deg, rgba(240, 192, 64, 0.08), transparent 45%),
    var(--grad-card);
}

#cases blockquote {
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
#cases blockquote:hover {
  transform: translateX(6px);
  box-shadow: var(--c-shadow-lg);
  border-left-color: var(--c-accent-deep);
}

#news h3 {
  margin-top: 1.4rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px dashed var(--c-border);
}
#news h3 + p { margin-top: 0.5rem; }

#articles article {
  position: relative;
  padding: 1.3rem clamp(1rem, 2vw, 1.5rem);
  margin-bottom: 1rem;
  background: var(--c-surface-solid);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  box-shadow: 0 4px 16px rgba(31, 42, 68, 0.06);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
  overflow: hidden;
}
#articles article::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--grad-accent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.35s var(--ease);
}
#articles article:hover {
  transform: translateY(-4px);
  box-shadow: var(--c-shadow-lg);
  border-color: rgba(240, 192, 64, 0.4);
}
#articles article:hover::before { transform: scaleY(1); }
#articles article h3 { margin-top: 0; color: var(--c-text); }
#articles article h3 + p {
  font-size: 0.82rem;
  color: var(--c-text-mute);
  margin-bottom: 0.6rem;
}
#articles article > p:last-of-type { margin-bottom: 0.8rem; }
#articles article > a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--c-primary);
  padding: 0.3rem 0.9rem;
  border: 1px solid rgba(44, 62, 107, 0.25);
  border-radius: var(--radius-pill);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
#articles article > a::after { content: "→"; transition: transform 0.3s var(--ease); }
#articles article > a:hover {
  background: var(--c-primary);
  color: #fff;
  border-color: var(--c-primary);
  text-decoration: none;
  transform: translateY(-2px);
}
#articles article > a:hover::after { transform: translateX(4px); }

#faq details {
  margin-bottom: 0.7rem;
  background: var(--c-surface-solid);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  box-shadow: 0 3px 12px rgba(31, 42, 68, 0.05);
  overflow: hidden;
  transition: box-shadow 0.3s var(--ease), border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}
#faq details:hover {
  border-color: rgba(240, 192, 64, 0.4);
  box-shadow: var(--c-shadow);
}
#faq details[open] {
  border-color: rgba(240, 192, 64, 0.55);
  box-shadow: var(--c-shadow);
}
#faq summary {
  position: relative;
  padding: 0.95rem 2.6rem 0.95rem 1.15rem;
  font-weight: 600;
  color: var(--c-text);
  cursor: pointer;
  list-style: none;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}
#faq summary::-webkit-details-marker { display: none; }
#faq summary::after {
  content: "+";
  position: absolute;
  right: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  line-height: 22px;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--c-primary);
  background: rgba(240, 192, 64, 0.18);
  border-radius: 50%;
  transition: transform 0.3s var(--ease), background-color 0.3s var(--ease);
}
#faq details[open] summary::after {
  content: "−";
  transform: translateY(-50%) rotate(180deg);
  background: var(--c-accent);
  color: #1f2a44;
}
#faq summary:hover { background: rgba(240, 192, 64, 0.08); }
#faq details p {
  margin: 0;
  padding: 0 1.15rem 1.1rem;
  font-size: 0.95rem;
  animation: faqReveal 0.35s var(--ease) both;
}
@keyframes faqReveal {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

#howto ol {
  counter-reset: howto;
  list-style: none;
  padding-left: 0;
}
#howto ol li {
  counter-increment: howto;
  position: relative;
  padding: 0.6rem 0 0.6rem 2.9rem;
  margin-bottom: 0.4rem;
  color: var(--c-text-soft);
  border-bottom: 1px dashed var(--c-border);
  transition: color 0.25s var(--ease), padding-left 0.25s var(--ease);
}
#howto ol li:last-child { border-bottom: none; }
#howto ol li::before {
  content: counter(howto);
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: #1f2a44;
  background: var(--grad-accent);
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(240, 192, 64, 0.35);
}
#howto ol li:hover {
  color: var(--c-text);
  padding-left: 3.2rem;
}

#contact ul {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.8rem;
  margin-bottom: 1.4rem;
}
#contact ul li {
  position: relative;
  padding: 0.9rem 1rem 0.9rem 1rem;
  background: var(--c-surface-solid);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  font-size: 0.95rem;
  color: var(--c-text-soft);
  box-shadow: 0 3px 12px rgba(31, 42, 68, 0.05);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
#contact ul li:hover {
  transform: translateY(-3px);
  box-shadow: var(--c-shadow);
  border-color: rgba(240, 192, 64, 0.45);
}

#sitemap ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin-bottom: 1.4rem;
}
#sitemap ul li { margin: 0; }
#sitemap ul a {
  display: inline-block;
  padding: 0.35rem 0.95rem;
  font-size: 0.88rem;
  color: var(--c-text-soft);
  background: var(--c-surface-solid);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease), border-color 0.25s var(--ease);
}
#sitemap ul a:hover {
  background: var(--c-primary);
  color: #fff;
  border-color: var(--c-primary);
  text-decoration: none;
  transform: translateY(-2px);
}

footer {
  margin-top: 1rem;
  padding: 2.6rem 1.25rem 1.6rem;
  background: linear-gradient(180deg, rgba(31, 42, 68, 0.04), rgba(31, 42, 68, 0.10));
  border-top: 1px solid var(--c-border);
  color: var(--c-text-soft);
}
footer > section {
  max-width: var(--maxw);
  margin: 0 auto 1.6rem;
}
footer h2 {
  font-size: 1.05rem;
  color: var(--c-text);
  margin: 1.2rem 0 0.5rem;
}
footer h2:first-child { margin-top: 0; }
footer p {
  font-size: 0.9rem;
  color: var(--c-text-mute);
  max-width: 78ch;
}
footer > p {
  max-width: var(--maxw);
  margin: 0 auto 0.4rem;
  text-align: center;
  font-size: 0.82rem;
  color: var(--c-text-mute);
}
footer > p:last-child { margin-bottom: 0; }

@media (max-width: 960px) {
  header > div {
    gap: 0.6rem;
    padding: 0.6rem 1rem;
  }
  header nav ul { justify-content: flex-start; }
  header form[role="search"] { margin-left: auto; }
  header form[role="search"] input[type="search"] { width: 150px; }
  header form[role="search"] input[type="search"]:focus { width: 180px; }
}

@media (max-width: 720px) {
  body { font-size: 15px; }
  header > div {
    flex-wrap: wrap;
    padding: 0.55rem 0.9rem;
  }
  header nav {
    order: 3;
    flex-basis: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  header nav::-webkit-scrollbar { display: none; }
  header nav ul {
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 0.1rem;
    padding-bottom: 0.2rem;
  }
  header nav ul a {
    white-space: nowrap;
    font-size: 0.85rem;
    padding: 0.35rem 0.6rem;
  }
  header form[role="search"] { flex: 1 1 auto; justify-content: flex-end; }
  header form[role="search"] input[type="search"] { width: 100%; min-width: 0; max-width: 190px; }
  header form[role="search"] input[type="search"]:focus { width: 100%; max-width: 190px; }

  main { padding: 1rem 0.85rem 2.2rem; }
  main > section {
    padding: 1.4rem 1.05rem;
    border-radius: var(--radius);
    margin-bottom: 1.3rem;
  }
  main > section:first-of-type { padding: 1.6rem 1.05rem; }
  main > section:first-of-type figure { margin-top: 1.1rem; }

  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.25rem; }

  #contact ul { grid-template-columns: 1fr; }
  #articles article { padding: 1rem; }
  #faq summary { padding: 0.85rem 2.4rem 0.85rem 1rem; font-size: 0.95rem; }
}

@media (max-width: 420px) {
  header > div > a[aria-label="歪歪漫画网首页"] strong { font-size: 1rem; }
  header form[role="search"] button { padding: 0.45rem 0.85rem; }
  main > section { padding: 1.2rem 0.9rem; }
}

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

@media print {
  header, footer, #sitemap, #contact { display: none; }
  body { background: #fff; color: #000; }
  main > section {
    box-shadow: none;
    border: 1px solid #ccc;
    background: #fff;
    animation: none;
  }
  a { color: #000; text-decoration: underline; }
}