:root {
  --brand: #f59e0b;
  --brand-dark: #b45309;
  --brand-light: #fbbf24;
  --accent: #7c2d12;
  --accent-soft: #fef3c7;
  --grad-1: #f59e0b;
  --grad-2: #ef4444;
  --grad-3: #8b5cf6;
  --bg: #fffbf5;
  --bg-alt: #ffffff;
  --bg-card: rgba(255, 255, 255, 0.72);
  --bg-glass: rgba(255, 255, 255, 0.55);
  --text: #1f2937;
  --text-soft: #4b5563;
  --text-mute: #6b7280;
  --border: rgba(245, 158, 11, 0.22);
  --border-soft: rgba(31, 41, 55, 0.08);
  --shadow-sm: 0 2px 8px rgba(124, 45, 18, 0.06);
  --shadow-md: 0 8px 28px rgba(124, 45, 18, 0.1);
  --shadow-lg: 0 20px 50px rgba(124, 45, 18, 0.14);
  --shadow-glow: 0 10px 40px rgba(245, 158, 11, 0.28);
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 26px;
  --radius-pill: 999px;
  --header-h: 72px;
  --maxw: 1200px;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --brand: #fbbf24;
    --brand-dark: #f59e0b;
    --brand-light: #fcd34d;
    --accent: #fcd34d;
    --accent-soft: rgba(245, 158, 11, 0.12);
    --bg: #0d0b0a;
    --bg-alt: #16130f;
    --bg-card: rgba(38, 32, 26, 0.66);
    --bg-glass: rgba(30, 25, 20, 0.55);
    --text: #f5f1ea;
    --text-soft: #cfc7bb;
    --text-mute: #9c948a;
    --border: rgba(245, 158, 11, 0.28);
    --border-soft: rgba(245, 241, 234, 0.1);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 8px 28px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 10px 40px rgba(245, 158, 11, 0.22);
  }
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(circle at 12% 8%, rgba(245, 158, 11, 0.16), transparent 42%),
    radial-gradient(circle at 88% 4%, rgba(139, 92, 246, 0.12), transparent 40%),
    radial-gradient(circle at 50% 100%, rgba(239, 68, 68, 0.08), transparent 45%);
  background-attachment: fixed;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

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

h1, h2, h3, h4 {
  line-height: 1.35;
  color: var(--text);
  font-weight: 800;
  letter-spacing: 0.01em;
}

h1 {
  font-size: clamp(1.75rem, 4.4vw, 3rem);
  margin: 0 0 0.6em;
  background: linear-gradient(120deg, var(--grad-1), var(--grad-2) 55%, var(--grad-3));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--brand-dark);
}

h2 {
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  margin: 0 0 0.8em;
  position: relative;
  padding-left: 20px;
}

h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.18em;
  bottom: 0.18em;
  width: 6px;
  border-radius: var(--radius-pill);
  background: linear-gradient(180deg, var(--grad-1), var(--grad-2));
  box-shadow: 0 0 14px rgba(245, 158, 11, 0.5);
}

h3 {
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  margin: 1.6em 0 0.5em;
  color: var(--text);
}

h3::before {
  content: "◆";
  color: var(--brand);
  font-size: 0.7em;
  margin-right: 8px;
  vertical-align: 0.12em;
}

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

ul, ol {
  color: var(--text-soft);
  padding-left: 1.4em;
}

li {
  margin-bottom: 0.4em;
}

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

time {
  display: inline-block;
  font-size: 0.82rem;
  color: var(--text-mute);
  background: var(--accent-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 2px 12px;
  margin-bottom: 0.6em;
}

blockquote {
  margin: 0 0 1.4em;
  padding: 22px 26px;
  background: var(--bg-glass);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid var(--border);
  border-left: 5px solid var(--brand);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

blockquote::before {
  content: "\201C";
  position: absolute;
  top: -8px;
  right: 18px;
  font-size: 3.6rem;
  line-height: 1;
  color: var(--brand);
  opacity: 0.28;
  font-family: Georgia, serif;
}

blockquote:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

blockquote p {
  margin-bottom: 0.6em;
  color: var(--text);
  font-size: 1.02rem;
}

blockquote cite {
  display: block;
  font-style: normal;
  font-size: 0.9rem;
  color: var(--brand-dark);
  font-weight: 700;
}

address {
  font-style: normal;
}

/* ============ HEADER ============ */
#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border-bottom: 1px solid var(--border-soft);
  box-shadow: 0 4px 24px rgba(124, 45, 18, 0.06);
  transition: box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}

#site-header:hover {
  box-shadow: 0 6px 30px rgba(124, 45, 18, 0.12);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  font-size: 1.25rem;
  color: var(--text);
  letter-spacing: 0.02em;
  padding: 8px 0;
}

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

.brand svg {
  width: 40px;
  height: 40px;
  filter: drop-shadow(0 4px 10px rgba(245, 158, 11, 0.45));
  transition: transform 0.5s var(--ease), filter 0.4s var(--ease);
}

.brand:hover svg {
  transform: rotate(-12deg) scale(1.1);
  filter: drop-shadow(0 6px 16px rgba(245, 158, 11, 0.7));
}

.brand-name {
  background: linear-gradient(100deg, var(--grad-1), var(--grad-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list li {
  margin: 0;
}

.nav-list a {
  display: block;
  padding: 8px 14px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-soft);
  border-radius: var(--radius-pill);
  position: relative;
  transition: color 0.28s var(--ease), background 0.28s var(--ease), transform 0.28s var(--ease);
}

.nav-list a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 3px;
  width: 0;
  height: 2px;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--grad-1), var(--grad-2));
  transform: translateX(-50%);
  transition: width 0.3s var(--ease);
}

.nav-list a:hover {
  color: var(--brand-dark);
  background: var(--accent-soft);
  transform: translateY(-2px);
}

.nav-list a:hover::after {
  width: 60%;
}

/* ============ MAIN ============ */
main {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px 60px;
  display: block;
}

section {
  margin: 0 0 26px;
  padding: 34px 30px;
  background: var(--bg-card);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}

section::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.4), transparent 42%);
  opacity: 0.5;
}

section:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--border);
}

/* ============ HERO ============ */
#hero {
  margin-top: 26px;
  padding: 60px 34px 54px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(130deg, rgba(245, 158, 11, 0.96), rgba(239, 68, 68, 0.9) 48%, rgba(139, 92, 246, 0.92));
  background-size: 200% 200%;
  animation: heroShift 16s ease infinite;
  color: #fff;
  border: none;
  box-shadow: var(--shadow-glow);
  overflow: hidden;
}

#hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.32), transparent 42%),
    radial-gradient(circle at 8% 88%, rgba(255, 255, 255, 0.18), transparent 45%);
  pointer-events: none;
}

#hero::after {
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.18), transparent 55%);
  opacity: 1;
}

#hero h1 {
  background: none;
  -webkit-text-fill-color: #fff;
  color: #fff;
  text-shadow: 0 4px 24px rgba(124, 45, 18, 0.35);
  position: relative;
  z-index: 2;
}

#hero p {
  color: rgba(255, 255, 255, 0.94);
  font-size: 1.02rem;
  max-width: 62em;
  position: relative;
  z-index: 2;
  text-shadow: 0 2px 12px rgba(124, 45, 18, 0.22);
}

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

.cta {
  display: inline-block;
  margin-top: 14px;
  padding: 14px 38px;
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--brand-dark);
  background: #fff;
  border-radius: var(--radius-pill);
  box-shadow: 0 10px 28px rgba(124, 45, 18, 0.28);
  position: relative;
  z-index: 2;
  overflow: hidden;
  transition: transform 0.32s var(--ease), box-shadow 0.32s var(--ease), color 0.32s var(--ease);
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, var(--grad-1), var(--grad-2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
  z-index: -1;
}

.cta:hover {
  color: #fff;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 16px 40px rgba(124, 45, 18, 0.4);
}

.cta:hover::before {
  transform: scaleX(1);
}

/* ============ BREADCRUMB ============ */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0 0 18px;
  padding: 12px 20px;
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  box-shadow: var(--shadow-sm);
}

.breadcrumb li {
  margin: 0;
  color: var(--text-mute);
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 8px;
  color: var(--brand);
  font-weight: 700;
}

.breadcrumb a {
  font-weight: 600;
  color: var(--text-soft);
}

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

.breadcrumb [aria-current="page"] {
  color: var(--brand-dark);
  font-weight: 800;
}

/* ============ ANCHOR NAV ============ */
.anchor-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 0 0 26px;
  padding: 18px 20px;
  background: var(--bg-glass);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.anchor-nav li {
  margin: 0;
}

.anchor-nav a {
  display: inline-block;
  padding: 7px 16px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-soft);
  background: var(--bg-alt);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-pill);
  transition: all 0.28s var(--ease);
}

.anchor-nav a:hover {
  color: #fff;
  background: linear-gradient(100deg, var(--grad-1), var(--grad-2));
  border-color: transparent;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.35);
}

/* ============ ARTICLES / NEWS ============ */
#news article,
#articles article {
  padding: 22px 24px;
  margin-bottom: 16px;
  background: var(--bg-glass);
  backdrop-filter: blur(12px) saturate(150%);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

#news article::before,
#articles article::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--grad-1), var(--grad-2));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s var(--ease);
}

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

#articles article a {
  display: inline-block;
  margin-top: 6px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--brand-dark);
  border-bottom: 2px solid transparent;
  transition: all 0.28s var(--ease);
}

#articles article a::after {
  content: " →";
  transition: margin 0.28s var(--ease);
}

#articles article a:hover {
  color: var(--grad-2);
  border-bottom-color: var(--grad-2);
}

#articles article a:hover::after {
  margin-left: 4px;
}

/* ============ FAQ ============ */
#faq details {
  margin-bottom: 12px;
  background: var(--bg-glass);
  backdrop-filter: blur(12px) saturate(150%);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease);
}

#faq details:hover {
  border-color: var(--border);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

#faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 54px 18px 22px;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  position: relative;
  transition: color 0.28s var(--ease), background 0.28s var(--ease);
}

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

#faq summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  line-height: 26px;
  text-align: center;
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(120deg, var(--grad-1), var(--grad-2));
  border-radius: 50%;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease);
}

#faq details[open] summary {
  color: var(--brand-dark);
  background: var(--accent-soft);
}

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

#faq details p {
  padding: 4px 24px 20px;
  margin: 0;
  animation: fadeSlide 0.4s var(--ease);
}

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

/* ============ HOWTO ============ */
#howto ol {
  counter-reset: step;
  list-style: none;
  padding-left: 0;
  margin: 18px 0;
}

#howto ol li {
  counter-increment: step;
  position: relative;
  padding: 16px 20px 16px 62px;
  margin-bottom: 12px;
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.32s var(--ease), box-shadow 0.32s var(--ease), border-color 0.32s var(--ease);
}

#howto ol li::before {
  content: counter(step);
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  line-height: 34px;
  text-align: center;
  font-weight: 800;
  font-size: 0.95rem;
  color: #fff;
  background: linear-gradient(130deg, var(--grad-1), var(--grad-2));
  border-radius: 50%;
  box-shadow: 0 6px 16px rgba(245, 158, 11, 0.4);
  transition: transform 0.4s var(--ease);
}

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

#howto ol li:hover::before {
  transform: translateY(-50%) scale(1.12) rotate(-8deg);
}

/* ============ CONTACT ============ */
#contact address {
  padding: 22px 24px;
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  margin-bottom: 18px;
}

#contact address p {
  margin: 0 0 0.5em;
}

#contact address p:last-child {
  margin-bottom: 0;
}

#contact address a {
  font-weight: 700;
  border-bottom: 1px dashed var(--brand);
}

#contact address a:hover {
  border-bottom-style: solid;
  border-bottom-color: var(--grad-2);
}

/* ============ SITEMAP / LINKS ============ */
#sitemap ul,
#links ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

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

#sitemap a,
#links a {
  display: inline-block;
  padding: 8px 18px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-soft);
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-pill);
  transition: all 0.28s var(--ease);
}

#sitemap a:hover,
#links a:hover {
  color: #fff;
  background: linear-gradient(100deg, var(--grad-1), var(--grad-2));
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.32);
}

/* ============ FOOTER ============ */
#site-footer {
  margin-top: 10px;
  padding: 40px 20px 34px;
  text-align: center;
  background: linear-gradient(160deg, rgba(245, 158, 11, 0.1), rgba(139, 92, 246, 0.08));
  border-top: 1px solid var(--border-soft);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

#site-footer p {
  margin: 0 0 0.6em;
  font-size: 0.88rem;
  color: var(--text-mute);
}

#site-footer a {
  display: inline-block;
  margin-top: 8px;
  padding: 9px 26px;
  font-weight: 700;
  color: var(--brand-dark);
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  transition: all 0.3s var(--ease);
}

#site-footer a:hover {
  color: #fff;
  background: linear-gradient(100deg, var(--grad-1), var(--grad-2));
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(245, 158, 11, 0.4);
}

/* ============ SCROLL ANIMATION ============ */
@keyframes revealUp {
  from {
    opacity: 0;
    transform: translateY(34px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

section,
.breadcrumb,
.anchor-nav {
  animation: revealUp 0.75s var(--ease) both;
}

#hero { animation-delay: 0.05s; }
#about { animation-delay: 0.1s; }
#history { animation-delay: 0.14s; }
#culture { animation-delay: 0.18s; }
#products { animation-delay: 0.22s; }
#advantages { animation-delay: 0.26s; }
#solutions { animation-delay: 0.3s; }
#applications { animation-delay: 0.34s; }
#cases { animation-delay: 0.38s; }
#reviews { animation-delay: 0.42s; }
#news { animation-delay: 0.46s; }
#articles { animation-delay: 0.5s; }
#knowledge { animation-delay: 0.54s; }
#faq { animation-delay: 0.58s; }
#howto { animation-delay: 0.62s; }
#contact { animation-delay: 0.66s; }

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

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .header-inner {
    justify-content: center;
    padding: 12px 16px;
    gap: 10px;
  }

  .nav-list {
    justify-content: center;
    gap: 2px;
  }

  .nav-list a {
    padding: 7px 11px;
    font-size: 0.85rem;
  }

  section {
    padding: 28px 22px;
  }

  #hero {
    padding: 46px 24px 42px;
  }
}

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

  main {
    padding: 0 12px 40px;
  }

  .header-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .brand {
    justify-content: center;
  }

  .nav-list {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .nav-list::-webkit-scrollbar {
    display: none;
  }

  .nav-list a {
    white-space: nowrap;
  }

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

  #hero {
    margin-top: 16px;
    padding: 38px 20px 34px;
    border-radius: var(--radius);
  }

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

  h2 {
    padding-left: 16px;
  }

  h2::before {
    width: 5px;
  }

  .anchor-nav {
    padding: 14px 14px;
    gap: 8px;
  }

  .anchor-nav a {
    padding: 6px 13px;
    font-size: 0.8rem;
  }

  .breadcrumb {
    padding: 10px 16px;
    font-size: 0.82rem;
  }

  blockquote {
    padding: 18px 20px;
  }

  #howto ol li {
    padding: 14px 16px 14px 56px;
  }

  #faq summary {
    padding: 16px 48px 16px 18px;
    font-size: 0.95rem;
  }

  .cta {
    display: block;
    text-align: center;
    padding: 14px 24px;
  }
}

@media (max-width: 380px) {
  .brand-name {
    font-size: 1.1rem;
  }

  .nav-list a {
    padding: 6px 9px;
    font-size: 0.8rem;
  }
}

/* ============ PRINT ============ */
@media print {
  #site-header,
  .cta,
  .anchor-nav,
  #site-footer {
    display: none;
  }

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

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

/* ============ SELECTION & SCROLLBAR ============ */
::selection {
  background: var(--brand);
  color: #fff;
}

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

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

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--grad-1), var(--grad-2));
  border-radius: var(--radius-pill);
  border: 2px solid var(--bg-alt);
}

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

:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
  border-radius: 6px;
}