:root {
  --bg-primary: #0a0e1a;
  --bg-secondary: #10182b;
  --bg-card: rgba(20, 30, 55, 0.72);
  --bg-glass: rgba(18, 28, 52, 0.55);
  --border-glass: rgba(120, 160, 255, 0.16);
  --text-primary: #eaf0ff;
  --text-secondary: #a8b6d8;
  --text-muted: #6b7aa1;
  --accent-1: #5b8cff;
  --accent-2: #a56bff;
  --accent-3: #ff6b9d;
  --accent-warm: #ffb86b;
  --gradient-hero: linear-gradient(135deg, #0f1b3d 0%, #1a1145 40%, #2a0f3d 70%, #0e1a33 100%);
  --gradient-accent: linear-gradient(135deg, #5b8cff 0%, #a56bff 50%, #ff6b9d 100%);
  --gradient-card: linear-gradient(145deg, rgba(40, 58, 100, 0.5), rgba(20, 28, 52, 0.5));
  --shadow-soft: 0 8px 32px rgba(0, 0, 0, 0.35);
  --shadow-glow: 0 0 40px rgba(91, 140, 255, 0.15);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --transition: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@media (prefers-color-scheme: light) {
  :root {
    --bg-primary: #f4f6fc;
    --bg-secondary: #eaeef8;
    --bg-card: rgba(255, 255, 255, 0.78);
    --bg-glass: rgba(255, 255, 255, 0.62);
    --border-glass: rgba(91, 140, 255, 0.18);
    --text-primary: #1a2240;
    --text-secondary: #4a5678;
    --text-muted: #8892b0;
    --gradient-hero: linear-gradient(135deg, #dce4ff 0%, #e8dcff 40%, #ffdce8 70%, #dce8ff 100%);
    --gradient-card: linear-gradient(145deg, rgba(255, 255, 255, 0.85), rgba(240, 244, 255, 0.75));
    --shadow-soft: 0 8px 32px rgba(80, 100, 160, 0.12);
    --shadow-glow: 0 0 40px rgba(91, 140, 255, 0.1);
  }
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-stack);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.75;
  font-size: 16px;
  overflow-x: hidden;
  min-height: 100vh;
  transition: background-color 0.5s ease, color 0.5s ease;
  background-image:
    radial-gradient(ellipse 80% 60% at 10% 0%, rgba(91, 140, 255, 0.08), transparent 60%),
    radial-gradient(ellipse 60% 50% at 90% 20%, rgba(165, 107, 255, 0.07), transparent 55%),
    radial-gradient(ellipse 70% 40% at 50% 100%, rgba(255, 107, 157, 0.05), transparent 60%);
  background-attachment: fixed;
}

@media (prefers-color-scheme: light) {
  body {
    background-image:
      radial-gradient(ellipse 80% 60% at 10% 0%, rgba(91, 140, 255, 0.06), transparent 60%),
      radial-gradient(ellipse 60% 50% at 90% 20%, rgba(165, 107, 255, 0.05), transparent 55%),
      radial-gradient(ellipse 70% 40% at 50% 100%, rgba(255, 107, 157, 0.04), transparent 60%);
  }
}

::selection {
  background: rgba(91, 140, 255, 0.3);
  color: var(--text-primary);
}

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

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

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--accent-1), var(--accent-2));
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--accent-2), var(--accent-3));
}

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

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

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

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

ul, ol {
  list-style: none;
}

/* ========== HEADER / NAV ========== */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 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-glass);
  transition: background var(--transition), box-shadow var(--transition);
}

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

nav[aria-label="主导航"] {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 4px;
  height: 64px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

nav[aria-label="主导航"]::-webkit-scrollbar {
  display: none;
}

nav[aria-label="主导航"] a {
  flex-shrink: 0;
  padding: 8px 14px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  position: relative;
  white-space: nowrap;
  transition: color var(--transition), background var(--transition), transform var(--transition);
}

nav[aria-label="主导航"] a::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 60%;
  height: 2px;
  background: var(--gradient-accent);
  border-radius: 2px;
  transition: transform var(--transition);
}

nav[aria-label="主导航"] a:hover {
  color: var(--text-primary);
  background: rgba(91, 140, 255, 0.1);
  transform: translateY(-1px);
}

nav[aria-label="主导航"] a:hover::after {
  transform: translateX(-50%) scaleX(1);
}

/* ========== MAIN LAYOUT ========== */
main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 88px 24px 60px;
}

section {
  margin-bottom: 72px;
  scroll-margin-top: 80px;
}

/* ========== HERO / BANNER ========== */
#home {
  position: relative;
  background: var(--gradient-hero);
  border-radius: var(--radius-xl);
  padding: 72px 48px;
  margin-bottom: 80px;
  overflow: hidden;
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-soft), var(--shadow-glow);
  animation: heroFadeIn 1s ease-out both;
}

#home::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background:
    radial-gradient(circle at 30% 40%, rgba(91, 140, 255, 0.18), transparent 45%),
    radial-gradient(circle at 70% 60%, rgba(165, 107, 255, 0.15), transparent 45%),
    radial-gradient(circle at 50% 80%, rgba(255, 107, 157, 0.1), transparent 40%);
  animation: heroGlow 12s ease-in-out infinite alternate;
  pointer-events: none;
}

#home::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  opacity: 0.5;
}

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

@keyframes heroGlow {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  100% {
    transform: translate(-3%, -3%) rotate(3deg);
  }
}

#home h1 {
  position: relative;
  z-index: 1;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
  background: linear-gradient(135deg, #ffffff 0%, #c8d8ff 40%, #e0c8ff 70%, #ffc8e0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-fill-color: transparent;
  animation: textShimmer 6s ease-in-out infinite alternate;
  background-size: 200% 200%;
}

@media (prefers-color-scheme: light) {
  #home h1 {
    background: linear-gradient(135deg, #1a2240 0%, #3a5ac0 40%, #7a4ac0 70%, #c04a80 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-fill-color: transparent;
    background-size: 200% 200%;
  }
}

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

#home p {
  position: relative;
  z-index: 1;
  font-size: 1rem;
  line-height: 1.9;
  color: var(--text-secondary);
  max-width: 780px;
  margin-bottom: 18px;
}

#home p:last-child {
  margin-bottom: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  padding-top: 12px;
  border-top: 1px solid var(--border-glass);
}

/* ========== SECTION HEADINGS ========== */
section > h2 {
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
  padding-bottom: 14px;
  position: relative;
  color: var(--text-primary);
}

section > h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 56px;
  height: 3px;
  background: var(--gradient-accent);
  border-radius: 3px;
  transition: width 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
  margin-top: 24px;
  line-height: 1.5;
}

h3:first-of-type {
  margin-top: 0;
}

section > p {
  color: var(--text-secondary);
  margin-bottom: 16px;
  font-size: 0.95rem;
  line-height: 1.85;
}

section > p:last-child {
  margin-bottom: 0;
}

/* ========== CARDS & ARTICLES ========== */
article {
  background: var(--bg-card);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  margin-bottom: 16px;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition),
    background var(--transition);
  position: relative;
  overflow: hidden;
}

article::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--gradient-accent);
  opacity: 0;
  transition: opacity var(--transition);
  border-radius: 0 4px 4px 0;
}

article:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft), 0 0 30px rgba(91, 140, 255, 0.12);
  border-color: rgba(91, 140, 255, 0.3);
  background: var(--gradient-card);
}

article:hover::before {
  opacity: 1;
}

article h3 {
  margin-top: 0;
  font-size: 1.05rem;
  transition: color var(--transition);
}

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

article p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 0;
}

/* ========== FAQ ========== */
#faq h3 {
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  padding: 14px 20px;
  margin-bottom: 0;
  margin-top: 20px;
  font-size: 0.95rem;
  cursor: default;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  position: relative;
  padding-left: 44px;
}

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

#faq h3:hover {
  background: rgba(91, 140, 255, 0.1);
  border-color: rgba(91, 140, 255, 0.3);
}

#faq h3 + p {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-top: none;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  padding: 16px 20px 18px 44px;
  margin-bottom: 0;
  margin-top: 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.85;
  position: relative;
  transition: background var(--transition), border-color var(--transition);
}

#faq h3 + p::before {
  content: "A";
  position: absolute;
  left: 16px;
  top: 16px;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--accent-1);
  border: 2px solid var(--accent-1);
  border-radius: 50%;
  line-height: 1;
  opacity: 0.7;
}

#faq h3 + p:hover {
  background: rgba(91, 140, 255, 0.06);
}

#faq > h3:first-of-type {
  margin-top: 0;
}

/* ========== HOWTO ========== */
#howto {
  background: var(--bg-card);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  box-shadow: var(--shadow-soft);
}

#howto h3 {
  color: var(--accent-1);
  font-size: 1rem;
  position: relative;
  padding-left: 16px;
}

#howto h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 16px;
  background: var(--gradient-accent);
  border-radius: 2px;
}

#howto p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.9;
  margin-bottom: 12px;
}

/* ========== CONTACT ========== */
#contact {
  background: var(--gradient-card);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

#contact::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(91, 140, 255, 0.15), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

#contact p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 2;
}

/* ========== SITEMAP & LINKS ========== */
#sitemap ul,
#links ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

#sitemap li,
#links li {
  flex-shrink: 0;
}

#sitemap a,
#links a {
  display: inline-block;
  padding: 8px 18px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-glass);
  border-radius: 50px;
  transition:
    color var(--transition),
    background var(--transition),
    border-color var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
}

#sitemap a:hover,
#links a:hover {
  color: #fff;
  background: var(--gradient-accent);
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(91, 140, 255, 0.3);
}

/* ========== LEGAL ========== */
#legal {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
}

#legal h3 {
  font-size: 0.95rem;
  color: var(--accent-1);
  margin-top: 20px;
}

#legal h3:first-of-type {
  margin-top: 0;
}

#legal p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.85;
  margin-bottom: 8px;
}

/* ========== AUTHOR ========== */
#author {
  text-align: center;
  padding: 32px 24px;
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
}

#author p {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.9;
}

/* ========== NEWS ========== */
#news article {
  padding-left: 32px;
}

#news article::before {
  opacity: 0;
}

#news article::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: var(--gradient-accent);
  border-radius: 0 4px 4px 0;
  opacity: 0.4;
  transition: opacity var(--transition);
}

#news article:hover::after {
  opacity: 1;
}

/* ========== FOOTER ========== */
footer {
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 24px 48px;
  border-top: 1px solid var(--border-glass);
  text-align: center;
}

footer p {
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 2;
  margin-bottom: 6px;
}

footer a {
  color: var(--text-secondary);
  font-size: 0.82rem;
  transition: color var(--transition);
}

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

/* ========== SCROLL ANIMATIONS ========== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-24px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

section {
  animation: fadeInUp 0.7s ease-out both;
}

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

article {
  animation: fadeInScale 0.5s ease-out both;
}

article:nth-child(2) { animation-delay: 0.05s; }
article:nth-child(3) { animation-delay: 0.1s; }
article:nth-child(4) { animation-delay: 0.15s; }
article:nth-child(5) { animation-delay: 0.2s; }
article:nth-child(6) { animation-delay: 0.25s; }
article:nth-child(7) { animation-delay: 0.3s; }
article:nth-child(8) { animation-delay: 0.35s; }
article:nth-child(9) { animation-delay: 0.4s; }
article:nth-child(10) { animation-delay: 0.45s; }

/* ========== RESPONSIVE ========== */

/* Tablet */
@media (max-width: 1024px) {
  main {
    padding: 80px 20px 48px;
  }

  #home {
    padding: 56px 36px;
    border-radius: var(--radius-lg);
  }

  #howto,
  #contact,
  #legal {
    padding: 28px 28px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  html {
    font-size: 15px;
    scroll-padding-top: 64px;
  }

  header {
    backdrop-filter: blur(16px) saturate(160%);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
  }

  nav[aria-label="主导航"] {
    padding: 0 12px;
    height: 56px;
    gap: 2px;
  }

  nav[aria-label="主导航"] a {
    padding: 6px 10px;
    font-size: 0.8rem;
  }

  main {
    padding: 72px 16px 40px;
  }

  section {
    margin-bottom: 48px;
  }

  #home {
    padding: 40px 24px;
    border-radius: var(--radius-md);
    margin-bottom: 56px;
  }

  #home h1 {
    font-size: 1.5rem;
    margin-bottom: 20px;
  }

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

  section > h2 {
    font-size: 1.25rem;
    margin-bottom: 18px;
    padding-bottom: 10px;
  }

  section > h2::after {
    width: 40px;
  }

  h3 {
    font-size: 1rem;
    margin-top: 18px;
  }

  article {
    padding: 18px 20px;
    border-radius: var(--radius-sm);
  }

  article h3 {
    font-size: 0.95rem;
  }

  article p {
    font-size: 0.85rem;
    line-height: 1.75;
  }

  #faq h3 {
    padding: 12px 16px 12px 40px;
    font-size: 0.9rem;
  }

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

  #faq h3 + p {
    padding: 14px 16px 16px 40px;
    font-size: 0.85rem;
  }

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

  #howto,
  #contact,
  #legal {
    padding: 24px 20px;
    border-radius: var(--radius-md);
  }

  #howto h3 {
    font-size: 0.95rem;
  }

  #howto p {
    font-size: 0.85rem;
  }

  #contact p {
    font-size: 0.88rem;
    line-height: 1.85;
  }

  #legal h3 {
    font-size: 0.9rem;
  }

  #legal p {
    font-size: 0.82rem;
  }

  #sitemap ul,
  #links ul {
    gap: 8px;
  }

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

  #author {
    padding: 24px 16px;
  }

  #author p {
    font-size: 0.78rem;
  }

  footer {
    padding: 28px 16px 36px;
  }

  footer p {
    font-size: 0.75rem;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  html {
    font-size: 14px;
  }

  main {
    padding: 64px 12px 32px;
  }

  #home {
    padding: 32px 18px;
    border-radius: var(--radius-sm);
  }

  #home h1 {
    font-size: 1.3rem;
  }

  section > h2 {
    font-size: 1.15rem;
  }

  article {
    padding: 14px 16px;
  }

  #howto,
  #contact,
  #legal {
    padding: 20px 16px;
  }

  #sitemap a,
  #links a {
    padding: 5px 12px;
    font-size: 0.75rem;
  }
}

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

/* ========== PRINT ========== */
@media print {
  header,
  footer,
  nav {
    display: none;
  }

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

  main {
    padding: 0;
    max-width: 100%;
  }

  #home {
    background: none;
    box-shadow: none;
    border: 1px solid #ddd;
  }

  #home h1 {
    -webkit-text-fill-color: #000;
    color: #000;
  }

  article,
  #howto,
  #contact,
  #legal {
    box-shadow: none;
    border: 1px solid #ddd;
    backdrop-filter: none;
  }
}