:root {
  --brand: #ff6a00;
  --brand-2: #ff9a3d;
  --brand-soft: rgba(255, 106, 0, 0.12);
  --bg: #f6f7fb;
  --bg-elev: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.65);
  --text: #1c1f26;
  --text-soft: #4a5160;
  --text-mute: #7a8394;
  --line: rgba(28, 31, 38, 0.1);
  --shadow: 0 10px 30px rgba(20, 24, 40, 0.08);
  --shadow-lg: 0 20px 60px rgba(20, 24, 40, 0.14);
  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 26px;
  --maxw: 1200px;
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

html[data-theme="dark"],
body.dark-mode {
  --bg: #0d1017;
  --bg-elev: #151a24;
  --bg-glass: rgba(21, 26, 36, 0.62);
  --text: #eef1f7;
  --text-soft: #c3cad8;
  --text-mute: #8d97a8;
  --line: rgba(238, 241, 247, 0.12);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 24px 70px rgba(0, 0, 0, 0.55);
  --brand-soft: rgba(255, 106, 0, 0.18);
}

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

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

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(1200px 600px at 85% -10%, rgba(255, 106, 0, 0.16), transparent 60%),
    radial-gradient(900px 500px at -10% 20%, rgba(83, 52, 131, 0.14), transparent 60%);
  background-attachment: fixed;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease);
  overflow-x: hidden;
}

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

a {
  color: var(--brand);
  text-decoration: none;
  transition: color 0.25s var(--ease), opacity 0.25s var(--ease);
}

a:hover,
a:focus-visible {
  color: var(--brand-2);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(255, 106, 0, 0.45);
  outline-offset: 2px;
  border-radius: 6px;
}

h1, h2, h3, h4 {
  line-height: 1.3;
  margin: 0 0 0.6em;
  letter-spacing: 0.2px;
  color: var(--text);
}

h1 { font-size: clamp(1.7rem, 3.4vw, 2.7rem); font-weight: 800; }
h2 { font-size: clamp(1.35rem, 2.4vw, 1.9rem); font-weight: 750; }
h3 { font-size: clamp(1.1rem, 1.7vw, 1.32rem); font-weight: 700; }
h4 { font-size: 1.02rem; font-weight: 700; color: var(--text-soft); }

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

ul, ol { margin: 0 0 1em; padding-left: 1.35em; color: var(--text-soft); }
li { margin: 0.35em 0; }

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

blockquote {
  margin: 0;
  padding: 18px 22px;
  border-left: 4px solid var(--brand);
  background: var(--bg-glass);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}

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

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ============ Header ============ */
#site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-glass);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}

#site-header.scrolled {
  box-shadow: 0 6px 24px rgba(20, 24, 40, 0.1);
}

.header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  min-height: var(--header-h);
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.16rem;
  color: var(--text);
  letter-spacing: 0.4px;
  flex-shrink: 0;
}

.logo svg {
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(255, 106, 0, 0.35);
  transition: transform 0.4s var(--ease);
}

.logo:hover svg {
  transform: rotate(-6deg) scale(1.06);
}

.logo:hover { color: var(--brand); }

.main-nav { flex: 1 1 auto; }

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 6px;
}

.main-nav a {
  display: inline-block;
  padding: 6px 11px;
  border-radius: 999px;
  color: var(--text-soft);
  font-size: 0.92rem;
  font-weight: 500;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--brand);
  background: var(--brand-soft);
  transform: translateY(-1px);
}

.site-search {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 4px 4px 14px;
  box-shadow: var(--shadow);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.site-search:focus-within {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-soft);
}

.site-search input {
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 0.9rem;
  padding: 6px 2px;
  width: 170px;
  outline: none;
}

.site-search input::placeholder { color: var(--text-mute); }

.site-search button {
  border: 0;
  cursor: pointer;
  padding: 7px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  transition: transform 0.2s var(--ease), filter 0.2s var(--ease);
}

.site-search button:hover { filter: brightness(1.06); transform: translateY(-1px); }

.menu-toggle,
.theme-toggle {
  border: 1px solid var(--line);
  background: var(--bg-elev);
  color: var(--text);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 1.05rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
  flex-shrink: 0;
}

.menu-toggle { display: none; }

.menu-toggle:hover,
.theme-toggle:hover {
  transform: rotate(8deg) scale(1.06);
  color: var(--brand);
  background: var(--brand-soft);
}

/* ============ Hero ============ */
.hero {
  position: relative;
  max-width: var(--maxw);
  margin: 28px auto 0;
  padding: clamp(28px, 4vw, 56px) clamp(20px, 4vw, 48px);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(255, 106, 0, 0.92) 0%, rgba(255, 154, 61, 0.85) 40%, rgba(83, 52, 131, 0.9) 100%);
  color: #fff;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(20px, 3vw, 44px);
  align-items: center;
  box-shadow: var(--shadow-lg);
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto auto;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.28), transparent 62%);
  border-radius: 50%;
  z-index: -1;
  animation: floaty 14s ease-in-out infinite;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto auto -45% -15%;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 65%);
  border-radius: 50%;
  z-index: -1;
  animation: floaty 18s ease-in-out infinite reverse;
}

@keyframes floaty {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-24px, 26px, 0) scale(1.06); }
}

.hero-content h1 {
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.18);
}

.hero-lead,
.hero-answer {
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  max-width: 62ch;
}

.hero-answer {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.96rem;
  letter-spacing: 0.3px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
  will-change: transform;
}

.btn-primary {
  background: #fff;
  color: var(--brand);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
}

.btn-primary:hover {
  color: #e85f00;
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.28);
  color: #fff;
  transform: translateY(-3px);
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-visual svg {
  width: 100%;
  max-width: 480px;
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  animation: fadeUp 0.9s var(--ease) both;
}

.hero-stats {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 6px;
}

.stat {
  padding: 16px 14px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  text-align: center;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}

.stat:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.22);
}

.stat .num {
  display: block;
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}

.stat .label {
  display: block;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.88);
  margin-top: 2px;
}

/* ============ Breadcrumb & Anchor nav ============ */
.breadcrumb,
.anchor-nav {
  max-width: var(--maxw);
  margin: 20px auto 0;
  padding: 0 20px;
}

.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  font-size: 0.88rem;
  color: var(--text-mute);
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 8px;
  color: var(--text-mute);
}

.breadcrumb a { color: var(--text-soft); }
.breadcrumb a:hover { color: var(--brand); }

.anchor-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
}

.anchor-nav a {
  display: inline-block;
  padding: 7px 14px;
  font-size: 0.86rem;
  border-radius: 999px;
  background: var(--bg-glass);
  border: 1px solid var(--line);
  color: var(--text-soft);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.25s var(--ease);
}

.anchor-nav a:hover {
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 106, 0, 0.3);
}

/* ============ Sections ============ */
.section {
  max-width: var(--maxw);
  margin: 26px auto;
  padding: clamp(24px, 3.4vw, 40px);
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  scroll-margin-top: calc(var(--header-h) + 16px);
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease), background 0.35s var(--ease);
}

.section:hover {
  box-shadow: var(--shadow-lg);
}

.section h2 {
  position: relative;
  padding-left: 16px;
}

.section h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.18em;
  bottom: 0.18em;
  width: 5px;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--brand), var(--brand-2));
}

.section h3 {
  margin-top: 1.4em;
  color: var(--text);
}

.section h3:first-of-type { margin-top: 0.8em; }

.section ul li::marker { color: var(--brand); }
.section ol li::marker { color: var(--brand); font-weight: 700; }

/* Articles */
.section article {
  padding: 18px 20px;
  margin: 0 0 14px;
  border-radius: var(--radius);
  background: var(--bg-glass);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.section article:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(255, 106, 0, 0.35);
}

.section article h3 { margin-top: 0; }

.section article time {
  display: inline-block;
  font-size: 0.8rem;
  color: var(--text-mute);
  background: var(--brand-soft);
  padding: 2px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}

.section article a {
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.section article a::after {
  content: "→";
  transition: transform 0.25s var(--ease);
}

.section article a:hover::after { transform: translateX(4px); }

/* ============ FAQ ============ */
#faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-glass);
  margin-bottom: 10px;
  padding: 0 18px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: box-shadow 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}

#faq details[open] {
  border-color: rgba(255, 106, 0, 0.4);
  box-shadow: var(--shadow);
}

#faq details:hover { border-color: rgba(255, 106, 0, 0.35); }

#faq summary {
  cursor: pointer;
  list-style: none;
  padding: 14px 0;
  font-weight: 650;
  color: var(--text);
  position: relative;
  padding-right: 30px;
  transition: color 0.25s var(--ease);
}

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

#faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--brand);
  transition: transform 0.3s var(--ease);
}

#faq details[open] summary::after {
  content: "−";
  transform: translateY(-50%) rotate(180deg);
}

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

#faq details p {
  margin: 0 0 14px;
  padding-top: 2px;
  animation: fadeUp 0.35s var(--ease) both;
}

/* ============ Contact / lists ============ */
#contact ul,
#sitemap ul,
#links ul,
#culture ul,
#products ul,
#howto ul,
#howto ol {
  list-style: none;
  padding-left: 0;
}

#contact ul li,
#howto ul li {
  padding: 8px 12px 8px 34px;
  position: relative;
  background: var(--bg-glass);
  border-radius: 10px;
  margin-bottom: 8px;
  border: 1px solid var(--line);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease);
}

#contact ul li::before,
#howto ul li::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  transform: translateY(-50%);
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
}

#contact ul li:hover,
#howto ul li:hover {
  transform: translateX(4px);
  border-color: rgba(255, 106, 0, 0.35);
}

#howto ol {
  counter-reset: step;
}

#howto ol li {
  counter-increment: step;
  position: relative;
  padding: 10px 14px 10px 48px;
  margin-bottom: 10px;
  background: var(--bg-glass);
  border: 1px solid var(--line);
  border-radius: 10px;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease);
}

#howto ol li::before {
  content: counter(step);
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
}

#howto ol li:hover {
  transform: translateX(4px);
  border-color: rgba(255, 106, 0, 0.35);
}

#sitemap ul,
#links ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

#sitemap a,
#links a {
  display: inline-block;
  padding: 7px 15px;
  font-size: 0.88rem;
  border-radius: 999px;
  background: var(--bg-glass);
  border: 1px solid var(--line);
  color: var(--text-soft);
  transition: all 0.25s var(--ease);
}

#sitemap a:hover,
#links a:hover {
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(255, 106, 0, 0.28);
}

/* ============ Footer ============ */
#site-footer {
  margin-top: 40px;
  padding: 40px 20px 56px;
  background:
    linear-gradient(160deg, rgba(83, 52, 131, 0.16), transparent 55%),
    var(--bg-elev);
  border-top: 1px solid var(--line);
}

.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.footer-inner section {
  padding: 20px;
  border-radius: var(--radius);
  background: var(--bg-glass);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.footer-inner section:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.footer-inner h2 {
  font-size: 1rem;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--line);
  color: var(--text);
}

.footer-inner p {
  font-size: 0.86rem;
  color: var(--text-mute);
  margin-bottom: 6px;
}

/* ============ Back to top ============ */
#back-to-top {
  position: fixed;
  right: 22px;
  bottom: 26px;
  z-index: 90;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  color: #fff;
  font-size: 1.2rem;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 12px 28px rgba(255, 106, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px) scale(0.9);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s var(--ease), filter 0.25s var(--ease);
}

#back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

#back-to-top:hover {
  filter: brightness(1.08);
  transform: translateY(-3px) scale(1.05);
}

/* ============ Animations ============ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============ Responsive ============ */
@media (max-width: 1080px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .hero-visual { order: -1; }
  .hero-visual svg { max-width: 420px; }
  .site-search input { width: 130px; }
}

@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; }
  .main-nav {
    order: 10;
    flex-basis: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease);
  }
  .main-nav.open { max-height: 640px; }
  .main-nav ul {
    flex-direction: column;
    gap: 4px;
    padding: 8px 0 4px;
  }
  .main-nav a {
    display: block;
    border-radius: 10px;
    padding: 10px 14px;
  }
  .site-search {
    order: 5;
    flex: 1 1 200px;
  }
  .site-search input { width: 100%; flex: 1; }
  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .header-inner { gap: 10px; padding: 10px 14px; }
  .logo-text { font-size: 1rem; }
  .site-search {
    order: 20;
    flex-basis: 100%;
    margin-top: 4px;
  }
  .hero {
    margin: 16px 12px 0;
    padding: 24px 18px;
    border-radius: var(--radius);
  }
  .hero-actions { width: 100%; }
  .btn-primary,
  .btn-secondary { flex: 1 1 auto; }
  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .breadcrumb,
  .anchor-nav { padding: 0 14px; }
  .section {
    margin: 16px 12px;
    padding: 20px 16px;
    border-radius: var(--radius);
  }
  .footer-inner { gap: 14px; }
  #back-to-top { right: 14px; bottom: 16px; width: 44px; height: 44px; }
}

@media (max-width: 400px) {
  .hero-stats { grid-template-columns: 1fr; }
  .anchor-nav a { font-size: 0.8rem; padding: 6px 11px; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  #site-header,
  #back-to-top,
  .anchor-nav,
  .site-search,
  .menu-toggle,
  .theme-toggle,
  .hero-visual { display: none !important; }
  body { background: #fff; color: #000; }
  .section { box-shadow: none; border: 1px solid #ddd; }
}