:root {
  --primary: #2b6cb0;
  --primary-light: #4c9be0;
  --primary-dark: #1a4e82;
  --accent: #e85a8a;
  --accent-light: #f78fb3;
  --bg: #f4f8fc;
  --bg-alt: #ffffff;
  --bg-card: rgba(255, 255, 255, 0.72);
  --bg-glass: rgba(255, 255, 255, 0.55);
  --text: #1a2433;
  --text-soft: #4a5568;
  --text-mute: #718096;
  --border: rgba(43, 108, 176, 0.16);
  --shadow-sm: 0 2px 8px rgba(26, 78, 130, 0.08);
  --shadow-md: 0 8px 28px rgba(26, 78, 130, 0.12);
  --shadow-lg: 0 18px 48px rgba(26, 78, 130, 0.18);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --grad-hero: linear-gradient(135deg, #1a4e82 0%, #2b6cb0 42%, #4c9be0 78%, #7ec4f5 100%);
  --grad-accent: linear-gradient(120deg, #e85a8a 0%, #f78fb3 100%);
  --grad-soft: linear-gradient(160deg, rgba(76, 155, 224, 0.14), rgba(232, 90, 138, 0.1));
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(0.22, 0.68, 0.35, 1);
  --header-h: 64px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --primary: #64a6e8;
    --primary-light: #8ec5f5;
    --primary-dark: #2b6cb0;
    --accent: #f78fb3;
    --accent-light: #ffb3cf;
    --bg: #0d1522;
    --bg-alt: #131e2e;
    --bg-card: rgba(23, 36, 54, 0.72);
    --bg-glass: rgba(23, 36, 54, 0.55);
    --text: #e8f0fa;
    --text-soft: #b8c7d9;
    --text-mute: #8b9bb0;
    --border: rgba(100, 166, 232, 0.2);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.35);
    --shadow-md: 0 8px 28px rgba(0, 0, 0, 0.45);
    --shadow-lg: 0 18px 48px rgba(0, 0, 0, 0.55);
    --grad-hero: linear-gradient(135deg, #0a1a2e 0%, #14304d 40%, #1c4a75 75%, #2b6cb0 100%);
    --grad-soft: linear-gradient(160deg, rgba(100, 166, 232, 0.12), rgba(247, 143, 179, 0.08));
  }
}

*,
*::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-sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(circle at 12% 8%, rgba(76, 155, 224, 0.16), transparent 42%),
    radial-gradient(circle at 88% 4%, rgba(232, 90, 138, 0.12), transparent 40%),
    radial-gradient(circle at 50% 100%, rgba(43, 108, 176, 0.1), transparent 55%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

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

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

ul,
ol {
  padding-left: 1.4em;
}

li {
  margin-bottom: 0.45em;
}

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

h1 {
  font-size: clamp(1.6rem, 4.2vw, 2.6rem);
  margin: 0 0 0.6em;
}

h2 {
  font-size: clamp(1.35rem, 3vw, 1.95rem);
  margin: 0 0 0.7em;
  padding-bottom: 0.45em;
  position: relative;
}

h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 56px;
  height: 4px;
  border-radius: 4px;
  background: var(--grad-accent);
}

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

h4 {
  font-size: 1.05rem;
  margin: 1.1em 0 0.4em;
}

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

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

blockquote {
  margin: 1.4em 0;
  padding: 1.1em 1.4em;
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  font-style: italic;
  color: var(--text-soft);
}

blockquote p {
  margin: 0;
}

table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 1.4em 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 0.95rem;
}

caption {
  caption-side: top;
  text-align: left;
  font-weight: 700;
  padding: 0 0 0.7em;
  color: var(--text);
}

th,
td {
  padding: 0.85em 1.1em;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

th[scope="row"] {
  width: 34%;
  color: var(--primary);
  font-weight: 600;
  background: var(--grad-soft);
}

tr:last-child th,
tr:last-child td {
  border-bottom: none;
}

tbody tr {
  transition: background 0.25s var(--ease);
}

tbody tr:hover {
  background: rgba(76, 155, 224, 0.08);
}

details {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 0.85em;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
  overflow: hidden;
}

details:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(76, 155, 224, 0.4);
}

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

summary {
  cursor: pointer;
  padding: 1em 3em 1em 1.2em;
  font-weight: 600;
  color: var(--text);
  position: relative;
  list-style: none;
  transition: color 0.25s var(--ease);
}

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

summary::after {
  content: "+";
  position: absolute;
  right: 1.1em;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.3em;
  font-weight: 400;
  color: var(--primary);
  transition: transform 0.3s var(--ease), color 0.25s var(--ease);
}

details[open] summary::after {
  content: "−";
  color: var(--accent);
}

summary:hover {
  color: var(--primary);
}

details p {
  padding: 0 1.2em 1.1em;
  margin: 0;
  animation: fadeSlide 0.4s var(--ease);
}

figure {
  margin: 1.6em 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

figure:hover {
  transform: translateY(-4px) scale(1.005);
  box-shadow: 0 24px 60px rgba(26, 78, 130, 0.26);
}

figure img {
  width: 100%;
  height: auto;
  transition: transform 0.6s var(--ease);
}

figure:hover img {
  transform: scale(1.03);
}

figcaption {
  padding: 0.75em 1.2em;
  font-size: 0.88rem;
  color: var(--text-mute);
  text-align: center;
  border-top: 1px solid var(--border);
}

header[role="banner"] {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-glass);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.top-bar {
  background: var(--grad-hero);
  color: #eaf3fc;
  text-align: center;
  padding: 0.45em 1em;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
}

.top-bar p {
  margin: 0;
  color: inherit;
  font-size: inherit;
}

header nav {
  padding: 0.55em 1em;
  max-width: 1240px;
  margin: 0 auto;
}

header nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35em 0.5em;
  list-style: none;
  margin: 0;
  padding: 0;
}

header nav li {
  margin: 0;
}

header nav a {
  display: inline-block;
  padding: 0.45em 0.9em;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-soft);
  transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

header nav a:hover,
header nav a:focus-visible {
  background: var(--grad-hero);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

main {
  max-width: 1240px;
  margin: 0 auto;
  padding: 1.6em 1.1em 3em;
}

main > section {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.3em, 3vw, 2.4em);
  margin-bottom: 1.6em;
  box-shadow: var(--shadow-md);
  transition: box-shadow 0.4s var(--ease), transform 0.4s var(--ease);
  animation: fadeUp 0.7s var(--ease) both;
}

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

main > section:nth-of-type(2) { animation-delay: 0.06s; }
main > section:nth-of-type(3) { animation-delay: 0.12s; }
main > section:nth-of-type(4) { animation-delay: 0.18s; }
main > section:nth-of-type(5) { animation-delay: 0.24s; }
main > section:nth-of-type(6) { animation-delay: 0.3s; }
main > section:nth-of-type(7) { animation-delay: 0.36s; }
main > section:nth-of-type(8) { animation-delay: 0.42s; }
main > section:nth-of-type(9) { animation-delay: 0.48s; }
main > section:nth-of-type(10) { animation-delay: 0.54s; }

#hero {
  position: relative;
  background: var(--grad-hero);
  border: none;
  border-radius: var(--radius-xl);
  padding: clamp(1.8em, 5vw, 3.6em) clamp(1.2em, 4vw, 3em);
  color: #fff;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

#hero::before,
#hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

#hero::before {
  width: 420px;
  height: 420px;
  top: -160px;
  right: -120px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.22), transparent 68%);
  animation: floatSlow 12s ease-in-out infinite;
}

#hero::after {
  width: 340px;
  height: 340px;
  bottom: -140px;
  left: -100px;
  background: radial-gradient(circle, rgba(232, 90, 138, 0.32), transparent 70%);
  animation: floatSlow 15s ease-in-out infinite reverse;
}

#hero h1 {
  position: relative;
  z-index: 1;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.22);
}

#hero > p {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(0.95rem, 1.6vw, 1.06rem);
  max-width: 62em;
}

#hero figure {
  position: relative;
  z-index: 1;
  margin-top: 1.6em;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.24);
}

#hero figcaption {
  color: rgba(255, 255, 255, 0.82);
  border-top-color: rgba(255, 255, 255, 0.18);
}

main > nav[aria-label="页面锚点导航"] {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.2em 1.5em;
  margin-bottom: 1.6em;
  box-shadow: var(--shadow-sm);
  animation: fadeUp 0.7s var(--ease) both;
}

main > nav[aria-label="页面锚点导航"] h2 {
  font-size: 1.15rem;
  margin-bottom: 0.6em;
}

main > nav[aria-label="页面锚点导航"] h2::after {
  height: 3px;
  width: 42px;
}

main > nav[aria-label="页面锚点导航"] ol {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 0.35em 1.2em;
  margin: 0;
  padding-left: 1.3em;
}

main > nav[aria-label="页面锚点导航"] li {
  margin: 0;
}

main > nav[aria-label="页面锚点导航"] a {
  display: inline-block;
  padding: 0.2em 0;
  font-weight: 500;
  transition: transform 0.25s var(--ease), color 0.25s var(--ease);
}

main > nav[aria-label="页面锚点导航"] a:hover {
  transform: translateX(4px);
}

#products ul,
#solutions ul,
#howto ul,
#howto ol,
#sitemap ul,
#links ul {
  list-style: none;
  padding: 0;
  margin: 1em 0;
  display: grid;
  gap: 0.6em;
}

#products ul,
#solutions ul {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

#howto ul,
#howto ol {
  counter-reset: step;
}

#howto ol > li {
  counter-increment: step;
  position: relative;
  padding: 0.85em 1em 0.85em 3.2em;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-soft);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

#howto ol > li::before {
  content: counter(step);
  position: absolute;
  left: 0.85em;
  top: 50%;
  transform: translateY(-50%);
  width: 1.8em;
  height: 1.8em;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--grad-accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.85em;
  box-shadow: 0 4px 12px rgba(232, 90, 138, 0.4);
}

#howto ul > li {
  position: relative;
  padding: 0.7em 1em 0.7em 2.6em;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-soft);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

#howto ul > li::before {
  content: "✓";
  position: absolute;
  left: 1em;
  color: var(--primary);
  font-weight: 700;
}

#products ul > li,
#solutions ul > li {
  position: relative;
  padding: 0.85em 1em 0.85em 2.6em;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-soft);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}

#products ul > li::before,
#solutions ul > li::before {
  content: "";
  position: absolute;
  left: 1em;
  top: 1.35em;
  width: 0.55em;
  height: 0.55em;
  border-radius: 50%;
  background: var(--grad-accent);
  box-shadow: 0 0 0 3px rgba(232, 90, 138, 0.16);
}

#products ul > li:hover,
#solutions ul > li:hover,
#howto ul > li:hover,
#howto ol > li:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(76, 155, 224, 0.45);
  background: var(--bg-card);
}

#cases blockquote {
  position: relative;
  padding-left: 2.6em;
}

#cases blockquote::before {
  content: "\201C";
  position: absolute;
  left: 0.4em;
  top: 0.1em;
  font-size: 2.6em;
  line-height: 1;
  color: var(--accent);
  opacity: 0.5;
  font-family: Georgia, serif;
}

#news article,
#articles article {
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.1em 1.3em;
  margin-bottom: 1em;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
  position: relative;
  overflow: hidden;
}

#news article::before,
#articles article::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--grad-accent);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}

#news article:hover,
#articles article:hover {
  transform: translateX(4px) translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(76, 155, 224, 0.45);
}

#news article:hover::before,
#articles article:hover::before {
  opacity: 1;
}

#news article h3,
#articles article h3 {
  margin-top: 0;
  font-size: 1.12rem;
}

#news article h3 a,
#articles article h3 a {
  color: var(--text);
}

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

#news article p:first-of-type,
#articles article p:first-of-type {
  font-size: 0.82rem;
  color: var(--text-mute);
  margin-bottom: 0.6em;
}

#news article p:last-child,
#articles article p:last-child {
  margin-bottom: 0;
}

#news article p:last-child a,
#articles article p:last-child a {
  display: inline-block;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.3em 1em;
  border-radius: 999px;
  background: var(--grad-soft);
  border: 1px solid var(--border);
  transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

#news article p:last-child a:hover,
#articles article p:last-child a:hover {
  background: var(--grad-hero);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

#articles > p:first-of-type {
  color: var(--text-mute);
  font-size: 0.95rem;
}

#articles {
  display: block;
}

#faq details {
  animation: fadeUp 0.6s var(--ease) both;
}

#faq details:nth-of-type(2) { animation-delay: 0.03s; }
#faq details:nth-of-type(3) { animation-delay: 0.06s; }
#faq details:nth-of-type(4) { animation-delay: 0.09s; }
#faq details:nth-of-type(5) { animation-delay: 0.12s; }
#faq details:nth-of-type(6) { animation-delay: 0.15s; }
#faq details:nth-of-type(7) { animation-delay: 0.18s; }
#faq details:nth-of-type(8) { animation-delay: 0.21s; }
#faq details:nth-of-type(9) { animation-delay: 0.24s; }
#faq details:nth-of-type(10) { animation-delay: 0.27s; }
#faq details:nth-of-type(11) { animation-delay: 0.3s; }
#faq details:nth-of-type(12) { animation-delay: 0.33s; }
#faq details:nth-of-type(13) { animation-delay: 0.36s; }
#faq details:nth-of-type(14) { animation-delay: 0.39s; }
#faq details:nth-of-type(15) { animation-delay: 0.42s; }

#contact address {
  font-style: normal;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.1em 1.4em;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s var(--ease);
}

#contact address:hover {
  box-shadow: var(--shadow-md);
}

#contact address ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.5em;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

#contact address li {
  margin: 0;
  color: var(--text-soft);
  padding-left: 1.6em;
  position: relative;
}

#contact address li::before {
  content: "▸";
  position: absolute;
  left: 0.3em;
  color: var(--primary);
}

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

#sitemap a,
#links a {
  display: inline-block;
  padding: 0.45em 0.9em;
  border-radius: var(--radius-sm);
  background: var(--bg-glass);
  border: 1px solid var(--border);
  font-size: 0.92rem;
  font-weight: 500;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

#sitemap a:hover,
#links a:hover {
  background: var(--grad-hero);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

#links > p {
  font-size: 0.85rem;
  color: var(--text-mute);
  margin-top: 1em;
}

footer[role="contentinfo"] {
  background: var(--grad-hero);
  color: rgba(255, 255, 255, 0.9);
  padding: clamp(2em, 4vw, 3.2em) 1.2em 2em;
  margin-top: 1em;
  position: relative;
  overflow: hidden;
}

footer[role="contentinfo"]::before {
  content: "";
  position: absolute;
  top: -180px;
  left: 50%;
  transform: translateX(-50%);
  width: 760px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.16), transparent 70%);
  pointer-events: none;
}

footer[role="contentinfo"] > section {
  max-width: 1240px;
  margin: 0 auto 1.6em;
  position: relative;
  z-index: 1;
}

footer[role="contentinfo"] h2 {
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 0.5em;
  padding-bottom: 0.35em;
}

footer[role="contentinfo"] h2::after {
  background: var(--grad-accent);
  height: 3px;
  width: 38px;
}

footer[role="contentinfo"] p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  margin-bottom: 0.5em;
}

footer[role="contentinfo"] > p {
  max-width: 1240px;
  margin: 0 auto 0.4em;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
  position: relative;
  z-index: 1;
}

footer[role="contentinfo"] > p:first-of-type {
  margin-top: 1.4em;
  padding-top: 1.2em;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.85);
}

footer[role="contentinfo"] a {
  color: #ffd6e5;
}

footer[role="contentinfo"] a:hover {
  color: #fff;
}

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

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

@keyframes floatSlow {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-24px, 18px) scale(1.06);
  }
}

@media (max-width: 900px) {
  :root {
    --header-h: 56px;
  }

  header nav {
    padding: 0.45em 0.6em;
  }

  header nav ul {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 0.25em;
  }

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

  header nav a {
    white-space: nowrap;
    font-size: 0.85rem;
    padding: 0.4em 0.8em;
  }

  main {
    padding: 1.2em 0.8em 2.4em;
  }

  main > section {
    border-radius: var(--radius-md);
    margin-bottom: 1.2em;
  }

  #hero {
    border-radius: var(--radius-lg);
  }

  main > nav[aria-label="页面锚点导航"] ol {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }

  #products ul,
  #solutions ul {
    grid-template-columns: 1fr;
  }

  th[scope="row"] {
    width: 40%;
  }

  th,
  td {
    padding: 0.7em 0.8em;
    font-size: 0.9rem;
  }

  footer[role="contentinfo"] {
    text-align: left;
  }

  footer[role="contentinfo"] > p {
    text-align: left;
  }
}

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

  .top-bar {
    font-size: 0.72rem;
    padding: 0.4em 0.7em;
  }

  main > nav[aria-label="页面锚点导航"] {
    padding: 1em 1.1em;
  }

  main > nav[aria-label="页面锚点导航"] ol {
    grid-template-columns: 1fr 1fr;
    gap: 0.3em 0.8em;
    font-size: 0.9rem;
  }

  #contact address ul {
    grid-template-columns: 1fr;
  }

  #sitemap ul,
  #links ul {
    grid-template-columns: 1fr 1fr;
  }

  blockquote {
    padding: 0.9em 1em;
  }

  #cases blockquote {
    padding-left: 2.2em;
  }

  #howto ol > li,
  #howto ul > li,
  #products ul > li,
  #solutions ul > li {
    padding-left: 2.4em;
  }

  figure {
    border-radius: var(--radius-md);
  }
}

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

@media print {
  header[role="banner"],
  footer[role="contentinfo"],
  main > nav,
  #sitemap,
  #links {
    display: none;
  }

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

  main > section {
    box-shadow: none;
    border: 1px solid #ccc;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}