:root {
  --primary: #2b6cb0;
  --primary-light: #4299e1;
  --primary-dark: #1a365d;
  --accent: #ed8936;
  --accent-light: #f6ad55;
  --gradient-start: #2b6cb0;
  --gradient-mid: #4299e1;
  --gradient-end: #805ad5;
  --bg: #f7fafc;
  --bg-alt: #edf2f7;
  --bg-card: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.72);
  --bg-glass-border: rgba(255, 255, 255, 0.45);
  --text: #1a202c;
  --text-secondary: #4a5568;
  --text-muted: #718096;
  --border: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.06);
  --shadow-glow: 0 8px 32px rgba(43, 108, 176, 0.18);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --max-width: 1200px;
  --header-height: 64px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --primary: #63b3ed;
    --primary-light: #90cdf4;
    --primary-dark: #2b6cb0;
    --accent: #f6ad55;
    --accent-light: #fbd38d;
    --gradient-start: #1a365d;
    --gradient-mid: #2b6cb0;
    --gradient-end: #553c9a;
    --bg: #0f1419;
    --bg-alt: #1a202c;
    --bg-card: #1e2530;
    --bg-glass: rgba(30, 37, 48, 0.78);
    --bg-glass-border: rgba(255, 255, 255, 0.08);
    --text: #e2e8f0;
    --text-secondary: #a0aec0;
    --text-muted: #718096;
    --border: #2d3748;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 8px 32px rgba(99, 179, 237, 0.15);
  }
}

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

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection {
  background: var(--primary);
  color: #fff;
}

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

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

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

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

ul,
ol {
  list-style: none;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: var(--bg-glass);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border-bottom: 1px solid var(--bg-glass-border);
  box-shadow: var(--shadow-sm);
  transition: background var(--transition), box-shadow var(--transition);
}

header nav {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

header nav > a {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
  flex-shrink: 0;
  position: relative;
}

header nav > a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

header nav > a:hover::after {
  transform: scaleX(1);
}

header nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 4px 0;
}

header nav ul::-webkit-scrollbar {
  display: none;
}

header nav ul li a {
  display: block;
  padding: 8px 14px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: color var(--transition), background var(--transition), transform var(--transition);
}

header nav ul li a:hover {
  color: var(--primary);
  background: rgba(43, 108, 176, 0.08);
  transform: translateY(-1px);
}

@media (prefers-color-scheme: dark) {
  header nav ul li a:hover {
    background: rgba(99, 179, 237, 0.12);
  }
}

main {
  padding-top: var(--header-height);
}

main > section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 64px 24px;
  position: relative;
}

main > section + section {
  border-top: 1px solid var(--border);
}

#hero {
  max-width: 100%;
  padding: 0;
  margin: 0;
  background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-mid) 45%, var(--gradient-end) 100%);
  position: relative;
  overflow: hidden;
  border-top: none;
}

#hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 50% 100%, rgba(0, 0, 0, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

#hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}

#hero h1,
#hero p {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  color: #fff;
}

#hero h1 {
  font-size: clamp(1.75rem, 4.5vw, 3rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.01em;
  padding-top: 72px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
  animation: heroFadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

#hero p {
  font-size: clamp(0.9375rem, 1.6vw, 1.125rem);
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.1);
}

#hero p:first-of-type {
  margin-top: 20px;
  animation: heroFadeUp 0.9s 0.15s cubic-bezier(0.22, 1, 0.36, 1) both;
}

#hero p:last-of-type {
  margin-top: 16px;
  padding-bottom: 72px;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.75);
  animation: heroFadeUp 0.9s 0.3s cubic-bezier(0.22, 1, 0.36, 1) both;
}

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

nav[aria-label="面包屑导航"] {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 20px 24px 0;
}

nav[aria-label="面包屑导航"] ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  font-size: 0.8125rem;
}

nav[aria-label="面包屑导航"] ol li {
  display: flex;
  align-items: center;
  color: var(--text-muted);
}

nav[aria-label="面包屑导航"] ol li:not(:last-child)::after {
  content: "/";
  margin: 0 8px;
  color: var(--border);
  font-weight: 300;
}

nav[aria-label="面包屑导航"] ol li a {
  color: var(--text-secondary);
  padding: 2px 6px;
  border-radius: 4px;
  transition: color var(--transition), background var(--transition);
}

nav[aria-label="面包屑导航"] ol li a:hover {
  color: var(--primary);
  background: rgba(43, 108, 176, 0.08);
}

@media (prefers-color-scheme: dark) {
  nav[aria-label="面包屑导航"] ol li a:hover {
    background: rgba(99, 179, 237, 0.12);
  }
}

h2 {
  font-size: clamp(1.375rem, 3vw, 1.875rem);
  font-weight: 800;
  line-height: 1.35;
  color: var(--text);
  margin-bottom: 28px;
  position: relative;
  padding-bottom: 16px;
  letter-spacing: -0.01em;
}

h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 56px;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
  transition: width var(--transition-slow);
}

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

h3 {
  font-size: clamp(1.0625rem, 2vw, 1.25rem);
  font-weight: 700;
  line-height: 1.5;
  color: var(--text);
  margin-top: 32px;
  margin-bottom: 12px;
  letter-spacing: -0.005em;
}

h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-top: 20px;
  margin-bottom: 8px;
}

p {
  color: var(--text-secondary);
  margin-bottom: 14px;
  line-height: 1.85;
}

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

#about,
#products,
#solutions,
#cases,
#news,
#articles,
#faq,
#howto,
#contact,
#sitemap,
#links,
#legal,
#structured-data {
  animation: sectionReveal 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-timeline: view();
  animation-range: entry 0% entry 25%;
}

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

@supports not (animation-timeline: view()) {
  #about,
  #products,
  #solutions,
  #cases,
  #news,
  #articles,
  #faq,
  #howto,
  #contact,
  #sitemap,
  #links,
  #legal,
  #structured-data {
    opacity: 1;
    transform: none;
  }
}

#products h3,
#solutions h3,
#cases h3,
#news h3,
#faq h3,
#howto h3 {
  padding: 20px 24px 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-bottom: none;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  margin-top: 20px;
  margin-bottom: 0;
  transition: border-color var(--transition), box-shadow var(--transition);
}

#products h3 + p,
#solutions h3 + p,
#cases h3 + p,
#news h3 + p,
#faq h3 + p,
#howto h3 + p {
  padding: 8px 24px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  margin-bottom: 16px;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

#products h3:hover,
#products h3 + p:hover,
#solutions h3:hover,
#solutions h3 + p:hover,
#cases h3:hover,
#cases h3 + p:hover,
#news h3:hover,
#news h3 + p:hover,
#faq h3:hover,
#faq h3 + p:hover,
#howto h3:hover,
#howto h3 + p:hover {
  border-color: var(--primary-light);
}

#products h3:hover + p,
#solutions h3:hover + p,
#cases h3:hover + p,
#news h3:hover + p,
#faq h3:hover + p,
#howto h3:hover + p {
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

#products > h4,
#solutions > h4 {
  display: inline-block;
  padding: 6px 16px;
  background: linear-gradient(135deg, rgba(43, 108, 176, 0.08), rgba(128, 90, 213, 0.08));
  border-radius: 50px;
  color: var(--primary);
  font-size: 0.9375rem;
  margin-top: 24px;
  margin-bottom: 8px;
  transition: transform var(--transition), box-shadow var(--transition);
}

#products > h4:hover,
#solutions > h4:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

@media (prefers-color-scheme: dark) {
  #products > h4,
  #solutions > h4 {
    background: linear-gradient(135deg, rgba(99, 179, 237, 0.12), rgba(128, 90, 213, 0.12));
  }
}

#products h4 + p,
#solutions h4 + p {
  margin-bottom: 4px;
}

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

#articles article::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--gradient-start), var(--gradient-end));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform var(--transition-slow);
}

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

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

#articles article h3 {
  margin-top: 0;
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
  font-size: 1.125rem;
  color: var(--text);
  transition: color var(--transition);
}

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

#articles article p {
  font-size: 0.9375rem;
  margin-bottom: 12px;
}

#articles article p:first-of-type {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

#articles article p:last-of-type {
  margin-bottom: 0;
}

#articles article p:last-of-type a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--primary);
  padding: 6px 0;
  transition: gap var(--transition), color var(--transition);
}

#articles article p:last-of-type a::after {
  content: "→";
  transition: transform var(--transition);
}

#articles article p:last-of-type a:hover {
  gap: 10px;
  color: var(--accent);
}

#articles article p:last-of-type a:hover::after {
  transform: translateX(3px);
}

#cases h3 + p {
  font-style: normal;
}

#cases p:not(h3 + p) {
  position: relative;
  padding-left: 28px;
  font-style: italic;
  color: var(--text-secondary);
}

#cases p:not(h3 + p)::before {
  content: "\201C";
  position: absolute;
  left: 0;
  top: -6px;
  font-size: 2.5rem;
  line-height: 1;
  color: var(--primary-light);
  opacity: 0.5;
  font-family: Georgia, serif;
}

#faq h3 {
  cursor: default;
  position: relative;
}

#faq h3::before {
  content: "Q";
  position: absolute;
  left: 0;
  top: 20px;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  border-radius: 6px;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity var(--transition), transform var(--transition);
}

#faq h3:hover::before {
  opacity: 1;
  transform: translateX(-50%) translateY(-2px);
}

#howto h4 {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-top: 12px;
  margin-bottom: 0;
  color: var(--text);
  font-size: 0.9375rem;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

#howto h4::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  flex-shrink: 0;
  transition: transform var(--transition), box-shadow var(--transition);
}

#howto h4:hover {
  transform: translateX(6px);
  border-color: var(--primary-light);
  box-shadow: var(--shadow-sm);
}

#howto h4:hover::before {
  transform: scale(1.4);
  box-shadow: 0 0 0 4px rgba(43, 108, 176, 0.12);
}

#howto h4 + p {
  padding: 8px 20px 12px 38px;
  margin-bottom: 4px;
  font-size: 0.9375rem;
}

#contact p {
  padding: 12px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

#contact p:hover {
  transform: translateX(6px);
  border-color: var(--primary-light);
  box-shadow: var(--shadow-sm);
}

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

#sitemap ul,
#links ul {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 10px;
}

#sitemap ul li a,
#links ul li a {
  display: block;
  padding: 12px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 0.9375rem;
  font-weight: 500;
  text-align: center;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition), color var(--transition), background var(--transition);
}

#sitemap ul li a:hover,
#links ul li a:hover {
  transform: translateY(-3px);
  border-color: var(--primary-light);
  box-shadow: var(--shadow-md);
  color: var(--primary);
  background: linear-gradient(135deg, rgba(43, 108, 176, 0.04), rgba(128, 90, 213, 0.04));
}

@media (prefers-color-scheme: dark) {
  #sitemap ul li a:hover,
  #links ul li a:hover {
    background: linear-gradient(135deg, rgba(99, 179, 237, 0.08), rgba(128, 90, 213, 0.08));
  }
}

#legal h3 {
  padding-left: 20px;
  border-left: 4px solid var(--primary);
  border-radius: 2px;
  transition: border-color var(--transition), padding-left var(--transition);
}

#legal h3:hover {
  border-color: var(--accent);
  padding-left: 26px;
}

#structured-data {
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  margin-top: 32px;
  margin-bottom: 32px;
  border: 1px dashed var(--border);
}

#structured-data h2 {
  font-size: 1.25rem;
  color: var(--text-muted);
}

#structured-data h2::after {
  background: var(--text-muted);
}

#structured-data script {
  display: none;
}

footer {
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  color: rgba(255, 255, 255, 0.85);
  padding: 48px 24px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(255, 255, 255, 0.06) 0%, transparent 45%);
  pointer-events: none;
}

footer p {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.875rem;
  margin-bottom: 8px;
}

footer p:last-child {
  margin-bottom: 0;
  margin-top: 12px;
}

footer a {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  position: relative;
  padding-bottom: 2px;
}

footer a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition);
}

footer a:hover {
  color: #fff;
}

footer a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

@media (max-width: 900px) {
  header nav {
    padding: 0 16px;
  }

  header nav > a {
    font-size: 1.125rem;
  }

  header nav ul {
    gap: 2px;
  }

  header nav ul li a {
    padding: 8px 10px;
    font-size: 0.8125rem;
  }

  main > section {
    padding: 48px 16px;
  }

  #hero h1 {
    padding-top: 56px;
  }

  #hero p:last-of-type {
    padding-bottom: 56px;
  }

  nav[aria-label="面包屑导航"] {
    padding: 16px 16px 0;
  }

  #products h3,
  #solutions h3,
  #cases h3,
  #news h3,
  #faq h3,
  #howto h3 {
    padding: 16px 18px 0;
  }

  #products h3 + p,
  #solutions h3 + p,
  #cases h3 + p,
  #news h3 + p,
  #faq h3 + p,
  #howto h3 + p {
    padding: 6px 18px 16px;
  }

  #articles article {
    padding: 20px;
  }

  #sitemap ul,
  #links ul {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 8px;
  }

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

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

@media (max-width: 600px) {
  header {
    height: auto;
    min-height: var(--header-height);
  }

  header nav {
    flex-direction: column;
    align-items: stretch;
    padding: 10px 14px;
    gap: 8px;
  }

  header nav > a {
    text-align: center;
    font-size: 1.25rem;
  }

  header nav ul {
    justify-content: flex-start;
    padding-bottom: 4px;
  }

  header nav ul li a {
    padding: 6px 10px;
    font-size: 0.75rem;
  }

  main {
    padding-top: 100px;
  }

  main > section {
    padding: 40px 14px;
  }

  #hero h1 {
    padding-top: 44px;
    font-size: 1.5rem;
  }

  #hero p:last-of-type {
    padding-bottom: 44px;
  }

  h2 {
    font-size: 1.25rem;
    margin-bottom: 20px;
  }

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

  #products h3,
  #solutions h3,
  #cases h3,
  #news h3,
  #faq h3,
  #howto h3 {
    padding: 14px 14px 0;
  }

  #products h3 + p,
  #solutions h3 + p,
  #cases h3 + p,
  #news h3 + p,
  #faq h3 + p,
  #howto h3 + p {
    padding: 6px 14px 14px;
  }

  #articles article {
    padding: 16px;
  }

  #articles article h3 {
    font-size: 1rem;
  }

  #howto h4 {
    padding: 10px 14px;
    font-size: 0.875rem;
  }

  #howto h4 + p {
    padding: 6px 14px 10px 32px;
    font-size: 0.875rem;
  }

  #contact p {
    padding: 10px 14px;
    font-size: 0.875rem;
  }

  #sitemap ul,
  #links ul {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }

  #sitemap ul li a,
  #links ul li a {
    padding: 10px 8px;
    font-size: 0.8125rem;
  }

  footer {
    padding: 28px 14px 24px;
  }

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

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

@media print {
  header,
  footer,
  #structured-data {
    display: none;
  }

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

  main {
    padding-top: 0;
  }

  #hero {
    background: none;
    color: #000;
  }

  #hero h1,
  #hero p {
    color: #000;
    text-shadow: none;
  }

  main > section {
    break-inside: avoid;
    page-break-inside: avoid;
  }

  a {
    color: #000;
    text-decoration: underline;
  }
}

@supports (backdrop-filter: blur(18px)) or (-webkit-backdrop-filter: blur(18px)) {
  header {
    background: var(--bg-glass);
  }
}

@supports not ((backdrop-filter: blur(18px)) or (-webkit-backdrop-filter: blur(18px))) {
  header {
    background: var(--bg-card);
    opacity: 0.98;
  }
}