:root {
  --primary: #e63946;
  --primary-dark: #c1121f;
  --primary-light: #ff6b7a;
  --primary-glow: rgba(230, 57, 70, 0.35);
  --accent: #f4a261;
  --accent-light: #ffd166;
  --bg: #fef9f7;
  --bg-alt: #fff5f2;
  --bg-card: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.72);
  --bg-glass-border: rgba(255, 255, 255, 0.5);
  --text: #2b1a1a;
  --text-secondary: #6b4c4c;
  --text-muted: #9e7b7b;
  --border: #f0dcd8;
  --shadow-sm: 0 2px 8px rgba(230, 57, 70, 0.06);
  --shadow: 0 8px 32px rgba(230, 57, 70, 0.1);
  --shadow-lg: 0 16px 48px rgba(230, 57, 70, 0.14);
  --shadow-glow: 0 8px 32px rgba(230, 57, 70, 0.22);
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --radius-full: 999px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 0.2s ease;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --header-h: 68px;
}

[data-theme="dark"] {
  --primary: #ff6b7a;
  --primary-dark: #e63946;
  --primary-light: #ff8c99;
  --primary-glow: rgba(255, 107, 122, 0.3);
  --accent: #f4a261;
  --accent-light: #ffd166;
  --bg: #14101a;
  --bg-alt: #1c1626;
  --bg-card: #221c30;
  --bg-glass: rgba(34, 28, 48, 0.75);
  --bg-glass-border: rgba(255, 255, 255, 0.08);
  --text: #f0eaf5;
  --text-secondary: #b8a8c8;
  --text-muted: #7a6a8a;
  --border: #332a45;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 8px 32px rgba(255, 107, 122, 0.2);
}

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

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

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  font-size: 16px;
  transition: background var(--transition), color var(--transition);
  overflow-x: hidden;
}

img, svg {
  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);
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

input {
  font-family: inherit;
}

.visually-hidden {
  position: absolute;
  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: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--bg-glass-border);
  transition: background var(--transition), box-shadow var(--transition);
}

#site-header.scrolled {
  box-shadow: var(--shadow);
}

.header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}

.logo svg {
  transition: transform var(--transition);
  filter: drop-shadow(0 4px 12px var(--primary-glow));
}

.logo:hover svg {
  transform: rotate(-8deg) scale(1.08);
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

#site-header nav {
  flex: 1;
  min-width: 0;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}

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

.nav-list li a {
  display: block;
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-full);
  white-space: nowrap;
  transition: all var(--transition-fast);
  position: relative;
}

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

.nav-list li a:hover {
  color: var(--primary);
  background: rgba(230, 57, 70, 0.08);
}

.nav-list li a:hover::after {
  transform: translateX(-50%) scaleX(1);
}

.site-search {
  display: flex;
  align-items: center;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  overflow: hidden;
  flex-shrink: 0;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.site-search:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.site-search input {
  border: none;
  background: transparent;
  padding: 8px 14px;
  font-size: 0.85rem;
  color: var(--text);
  outline: none;
  width: 150px;
  transition: width var(--transition);
}

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

.site-search input:focus {
  width: 200px;
}

.site-search button {
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: var(--radius-full);
  margin: 3px;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.site-search button:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 16px var(--primary-glow);
}

.theme-toggle,
.menu-toggle {
  padding: 8px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  white-space: nowrap;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.theme-toggle:hover,
.menu-toggle:hover {
  color: var(--primary);
  border-color: var(--primary);
  background: rgba(230, 57, 70, 0.06);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
  max-width: 1240px;
  margin: 0 auto;
  padding: 16px 24px 0;
}

.breadcrumb ol {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.breadcrumb ol li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb ol li:not(:last-child)::after {
  content: "/";
  color: var(--text-muted);
  opacity: 0.5;
}

.breadcrumb a {
  color: var(--text-secondary);
}

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

/* ===== MAIN CONTAINER ===== */
main {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px 60px;
}

section {
  margin-top: 48px;
  scroll-margin-top: calc(var(--header-h) + 20px);
}

section h2 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 20px;
  position: relative;
  padding-left: 18px;
  line-height: 1.35;
}

section h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 70%;
  background: linear-gradient(180deg, var(--primary), var(--accent));
  border-radius: var(--radius-full);
}

section h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin: 24px 0 10px;
  line-height: 1.4;
}

section p {
  color: var(--text-secondary);
  margin-bottom: 12px;
  font-size: 0.95rem;
}

/* ===== BANNER / CAROUSEL ===== */
#banner {
  margin-top: 24px;
}

.carousel {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 380px;
  background: linear-gradient(135deg, #e63946 0%, #f4a261 50%, #ffd166 100%);
  box-shadow: var(--shadow-lg);
}

.carousel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.slide {
  position: absolute;
  inset: 0;
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  pointer-events: none;
}

.slide.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
  position: relative;
}

.slide h2 {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  padding-left: 0;
  margin-bottom: 16px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
  max-width: 680px;
  line-height: 1.3;
}

.slide h2::before {
  display: none;
}

.slide p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1rem;
  max-width: 620px;
  margin-bottom: 28px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.12);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 32px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary);
  background: #fff;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  align-self: flex-start;
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: "→";
  transition: transform var(--transition);
}

.btn:hover {
  color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.22);
}

.btn:hover::after {
  transform: translateX(4px);
}

/* ===== CARDS ===== */
#intro,
#brand,
#features,
#solutions,
#scenes,
#cases,
#news,
#knowledge,
#howto,
#security,
#contact,
#sitemap,
#links {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: box-shadow var(--transition), transform var(--transition);
}

#intro:hover,
#brand:hover,
#features:hover,
#solutions:hover,
#scenes:hover,
#cases:hover,
#news:hover,
#knowledge:hover,
#howto:hover,
#security:hover,
#contact:hover,
#sitemap:hover,
#links:hover {
  box-shadow: var(--shadow);
}

#intro h1 {
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ===== ARTICLES ===== */
#articles {
  margin-top: 48px;
}

#articles > h2 {
  margin-bottom: 24px;
}

#articles article {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-bottom: 16px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}

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

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

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

#articles article h3 {
  font-size: 1.08rem;
  margin: 0 0 6px;
  transition: color var(--transition-fast);
}

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

#articles article p {
  font-size: 0.88rem;
  margin-bottom: 8px;
}

#articles article p:first-of-type {
  color: var(--text-muted);
  font-size: 0.8rem;
}

#articles article a {
  font-size: 0.88rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

#articles article a::after {
  content: "→";
  transition: transform var(--transition-fast);
}

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

/* ===== BLOCKQUOTE ===== */
blockquote {
  background: linear-gradient(135deg, rgba(230, 57, 70, 0.05), rgba(244, 162, 97, 0.05));
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 18px 22px;
  margin: 16px 0;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}

blockquote:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}

blockquote p {
  font-style: italic;
  color: var(--text);
  font-size: 0.95rem;
  margin-bottom: 6px;
}

blockquote cite {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-style: normal;
  font-weight: 600;
}

/* ===== FAQ ===== */
#faq details {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: box-shadow var(--transition), border-color var(--transition);
}

#faq details:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-sm);
}

#faq details[open] {
  border-color: var(--primary);
  box-shadow: var(--shadow);
}

#faq summary {
  padding: 18px 24px;
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: color var(--transition-fast), background var(--transition-fast);
  position: relative;
}

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

#faq summary::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--primary);
  flex-shrink: 0;
  transition: transform var(--transition);
  line-height: 1;
}

#faq details[open] summary::after {
  transform: rotate(45deg);
}

#faq summary:hover {
  color: var(--primary);
  background: rgba(230, 57, 70, 0.04);
}

#faq details p {
  padding: 0 24px 20px;
  font-size: 0.92rem;
  color: var(--text-secondary);
  animation: fadeSlideDown 0.35s ease;
}

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

/* ===== LISTS IN HOWTO ===== */
#howto ul,
#howto ol {
  padding-left: 0;
  margin: 12px 0;
}

#howto ul li,
#howto ol li {
  position: relative;
  padding: 8px 0 8px 32px;
  color: var(--text-secondary);
  font-size: 0.93rem;
  border-bottom: 1px dashed var(--border);
  transition: color var(--transition-fast), padding-left var(--transition-fast);
}

#howto ul li:last-child,
#howto ol li:last-child {
  border-bottom: none;
}

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

#howto ol {
  counter-reset: step;
}

#howto ol li {
  counter-increment: step;
}

#howto ol li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 50%;
  box-shadow: 0 2px 8px var(--primary-glow);
}

#howto ul li:hover,
#howto ol li:hover {
  color: var(--primary);
  padding-left: 36px;
}

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

#sitemap ul li a,
#links ul li a {
  display: inline-block;
  padding: 8px 18px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  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(-2px);
  box-shadow: 0 6px 20px var(--primary-glow);
}

/* ===== CONTACT ===== */
#contact p {
  padding: 6px 0;
  font-size: 0.93rem;
}

#contact h3 {
  margin-top: 20px;
}

/* ===== FOOTER ===== */
footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 48px 24px 32px;
  margin-top: 60px;
  transition: background var(--transition);
}

footer > section {
  max-width: 1240px;
  margin: 0 auto 24px;
  padding: 0;
}

footer > section h2 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  padding-left: 14px;
}

footer > section h2::before {
  width: 4px;
}

footer > section p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  max-width: 800px;
}

footer > p {
  max-width: 1240px;
  margin: 0 auto 6px;
  font-size: 0.82rem;
  color: var(--text-muted);
  text-align: left;
}

footer > p:last-child {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  text-align: center;
  font-weight: 600;
}

/* ===== BACK TO TOP ===== */
#back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 900;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-size: 0;
  box-shadow: 0 8px 24px var(--primary-glow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.9);
  transition: all var(--transition);
}

#back-to-top::before {
  content: "↑";
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 48px;
}

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

#back-to-top:hover {
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 14px 36px var(--primary-glow);
}

/* ===== SCROLL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .header-inner {
    gap: 12px;
    padding: 0 16px;
  }

  .logo-text {
    font-size: 1.1rem;
  }

  .nav-list li a {
    padding: 8px 10px;
    font-size: 0.84rem;
  }

  .site-search input {
    width: 110px;
  }

  .site-search input:focus {
    width: 150px;
  }

  .slide h2 {
    font-size: 1.6rem;
  }

  main {
    padding: 0 16px 48px;
  }

  .breadcrumb {
    padding: 12px 16px 0;
  }
}

@media (max-width: 820px) {
  :root {
    --header-h: 60px;
  }

  .header-inner {
    flex-wrap: wrap;
    height: auto;
    padding: 12px 16px;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  #site-header nav {
    order: 10;
    flex-basis: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease;
    opacity: 0;
  }

  #site-header nav.open {
    max-height: 400px;
    opacity: 1;
    margin-top: 12px;
  }

  .nav-list {
    flex-direction: column;
    gap: 2px;
    overflow: visible;
  }

  .nav-list li {
    width: 100%;
  }

  .nav-list li a {
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.92rem;
  }

  .nav-list li a::after {
    display: none;
  }

  .site-search {
    order: 11;
    flex-basis: 100%;
    margin-top: 12px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, margin 0.3s ease, opacity 0.3s ease;
    opacity: 0;
  }

  #site-header nav.open ~ .site-search,
  .site-search.open {
    max-height: 60px;
    opacity: 1;
  }

  .site-search input {
    flex: 1;
    width: auto;
  }

  .site-search input:focus {
    width: auto;
  }

  .theme-toggle {
    padding: 8px 12px;
    font-size: 0.78rem;
  }

  .carousel {
    min-height: 340px;
  }

  .slide {
    padding: 36px 24px;
  }

  .slide h2 {
    font-size: 1.3rem;
  }

  .slide p {
    font-size: 0.88rem;
  }

  #intro,
  #brand,
  #features,
  #solutions,
  #scenes,
  #cases,
  #news,
  #knowledge,
  #howto,
  #security,
  #contact,
  #sitemap,
  #links {
    padding: 24px 18px;
    border-radius: var(--radius);
  }

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

  section h2 {
    font-size: 1.35rem;
  }

  section h3 {
    font-size: 1.05rem;
  }

  #articles article {
    padding: 18px 20px;
  }

  #faq summary {
    padding: 14px 18px;
    font-size: 0.92rem;
  }

  #faq details p {
    padding: 0 18px 16px;
    font-size: 0.88rem;
  }

  #back-to-top {
    right: 16px;
    bottom: 16px;
    width: 42px;
    height: 42px;
  }

  #back-to-top::before {
    line-height: 42px;
  }

  footer {
    padding: 32px 16px 24px;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 15px;
  }

  .logo-text {
    font-size: 1rem;
  }

  .logo svg {
    width: 30px;
    height: 30px;
  }

  .carousel {
    min-height: 320px;
  }

  .slide {
    padding: 28px 18px;
  }

  .slide h2 {
    font-size: 1.15rem;
  }

  .btn {
    padding: 10px 24px;
    font-size: 0.88rem;
  }

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

  section h2 {
    font-size: 1.2rem;
    padding-left: 14px;
  }

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

  blockquote {
    padding: 14px 16px;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ===== FOCUS VISIBLE ===== */
:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}

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

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

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

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

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