:root {
  --bg: #0b1120;
  --bg-soft: #111a2e;
  --surface: rgba(255, 255, 255, 0.06);
  --surface-strong: rgba(255, 255, 255, 0.1);
  --border: rgba(148, 163, 184, 0.18);
  --border-strong: rgba(148, 163, 184, 0.32);
  --text: #e6edf7;
  --text-muted: #a3b0c2;
  --text-dim: #7d8ba1;
  --accent: #f59e0b;
  --accent-2: #38bdf8;
  --accent-3: #a78bfa;
  --accent-soft: rgba(245, 158, 11, 0.14);
  --link: #7dd3fc;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --shadow-lg: 0 24px 60px -24px rgba(2, 6, 23, 0.85);
  --shadow-md: 0 14px 34px -18px rgba(2, 6, 23, 0.8);
  --shadow-glow: 0 0 0 1px rgba(245, 158, 11, 0.25), 0 18px 44px -20px rgba(245, 158, 11, 0.45);
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f4f7fc;
    --bg-soft: #ffffff;
    --surface: rgba(255, 255, 255, 0.72);
    --surface-strong: rgba(255, 255, 255, 0.92);
    --border: rgba(15, 23, 42, 0.1);
    --border-strong: rgba(15, 23, 42, 0.18);
    --text: #101828;
    --text-muted: #475467;
    --text-dim: #667085;
    --accent: #d97706;
    --accent-2: #0284c7;
    --accent-3: #7c3aed;
    --accent-soft: rgba(217, 119, 6, 0.12);
    --link: #0369a1;
    --shadow-lg: 0 24px 60px -30px rgba(15, 23, 42, 0.35);
    --shadow-md: 0 14px 34px -22px rgba(15, 23, 42, 0.3);
    --shadow-glow: 0 0 0 1px rgba(217, 119, 6, 0.22), 0 18px 44px -22px rgba(217, 119, 6, 0.35);
  }
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 12% -8%, rgba(245, 158, 11, 0.16), transparent 60%),
    radial-gradient(1000px 520px at 88% 4%, rgba(56, 189, 248, 0.16), transparent 62%),
    radial-gradient(900px 600px at 50% 100%, rgba(167, 139, 250, 0.12), transparent 65%),
    var(--bg);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

@media (prefers-color-scheme: light) {
  body {
    background:
      radial-gradient(1100px 560px at 10% -10%, rgba(245, 158, 11, 0.18), transparent 60%),
      radial-gradient(1000px 520px at 90% 0%, rgba(56, 189, 248, 0.2), transparent 62%),
      radial-gradient(900px 600px at 50% 105%, rgba(167, 139, 250, 0.14), transparent 65%),
      var(--bg);
  }
}

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

a {
  color: var(--link);
  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,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

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

h1 {
  font-size: clamp(1.65rem, 3.6vw, 2.6rem);
  letter-spacing: 0.02em;
}

h2 {
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
  position: relative;
  padding-bottom: 0.55rem;
}

h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 56px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

h3 {
  font-size: clamp(1.08rem, 1.6vw, 1.28rem);
  color: var(--text);
}

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

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

li {
  margin-bottom: 0.45em;
}

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

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

blockquote {
  margin: 0 0 1em;
  padding: 1.1rem 1.3rem;
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

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

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

header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 17, 32, 0.62);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 10px 30px -22px rgba(2, 6, 23, 0.9);
}

@media (prefers-color-scheme: light) {
  header {
    background: rgba(255, 255, 255, 0.7);
  }
}

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

header > div > a[href="#top"] {
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--text);
  padding: 6px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(56, 189, 248, 0.18));
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-md);
  white-space: nowrap;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), color 0.3s var(--ease);
}

header > div > a[href="#top"]:hover {
  transform: translateY(-2px);
  color: var(--accent);
  box-shadow: var(--shadow-glow);
}

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

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

header nav li {
  margin: 0;
}

header nav a {
  display: inline-block;
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 0.9rem;
  color: var(--text-muted);
  border: 1px solid transparent;
  transition: color 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

header nav a:hover,
header nav a:focus-visible {
  color: var(--text);
  background: var(--surface-strong);
  border-color: var(--border-strong);
  transform: translateY(-1px);
}

header form[role="search"] {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  flex: 0 1 auto;
}

header form[role="search"] label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

header form[role="search"] input[type="search"] {
  width: 200px;
  max-width: 42vw;
  padding: 9px 14px;
  font: inherit;
  font-size: 0.9rem;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}

header form[role="search"] input[type="search"]::placeholder {
  color: var(--text-dim);
}

header form[role="search"] input[type="search"]:focus {
  border-color: var(--accent);
  background: var(--surface-strong);
  box-shadow: 0 0 0 3px var(--accent-soft);
  outline: none;
}

header form[role="search"] button {
  padding: 9px 18px;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  color: #0b1120;
  background: linear-gradient(135deg, var(--accent), #fbbf24);
  border: 1px solid rgba(245, 158, 11, 0.5);
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), filter 0.25s var(--ease);
}

header form[role="search"] button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
  filter: brightness(1.05);
}

header form[role="search"] button:active {
  transform: translateY(0);
}

main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px 80px;
}

main > section {
  position: relative;
  margin: 0 0 26px;
  padding: clamp(20px, 3.2vw, 36px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(16px) saturate(130%);
  -webkit-backdrop-filter: blur(16px) saturate(130%);
  animation: rise-in 0.7s var(--ease) both;
  transition: border-color 0.35s var(--ease), box-shadow 0.35s var(--ease), transform 0.35s var(--ease);
}

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

main > section:nth-of-type(1) { animation-delay: 0.02s; }
main > section:nth-of-type(2) { animation-delay: 0.05s; }
main > section:nth-of-type(3) { animation-delay: 0.08s; }
main > section:nth-of-type(4) { animation-delay: 0.11s; }
main > section:nth-of-type(5) { animation-delay: 0.14s; }
main > section:nth-of-type(6) { animation-delay: 0.17s; }
main > section:nth-of-type(7) { animation-delay: 0.2s; }
main > section:nth-of-type(8) { animation-delay: 0.23s; }

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float-slow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes shimmer {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

#hero {
  margin-top: 26px;
  padding: clamp(26px, 4vw, 52px);
  border-radius: calc(var(--radius-lg) + 6px);
  border: 1px solid rgba(245, 158, 11, 0.28);
  background:
    radial-gradient(700px 340px at 88% 8%, rgba(56, 189, 248, 0.28), transparent 62%),
    radial-gradient(620px 320px at 8% 92%, rgba(245, 158, 11, 0.26), transparent 60%),
    linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(30, 41, 59, 0.82) 55%, rgba(49, 46, 129, 0.78));
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

@media (prefers-color-scheme: light) {
  #hero {
    background:
      radial-gradient(700px 340px at 88% 8%, rgba(56, 189, 248, 0.32), transparent 62%),
      radial-gradient(620px 320px at 8% 92%, rgba(245, 158, 11, 0.3), transparent 60%),
      linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(241, 245, 249, 0.9) 55%, rgba(238, 242, 255, 0.9));
    border-color: rgba(217, 119, 6, 0.3);
  }
}

#hero::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto auto;
  width: 420px;
  height: 420px;
  background: conic-gradient(from 120deg, rgba(245, 158, 11, 0.35), rgba(56, 189, 248, 0.3), rgba(167, 139, 250, 0.3), rgba(245, 158, 11, 0.35));
  filter: blur(70px);
  opacity: 0.55;
  border-radius: 50%;
  pointer-events: none;
  animation: float-slow 9s ease-in-out infinite;
}

#hero h1 {
  position: relative;
  background: linear-gradient(100deg, var(--text) 20%, var(--accent) 48%, var(--accent-2) 72%, var(--text) 95%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: shimmer 9s linear infinite;
  text-shadow: none;
}

@media (prefers-color-scheme: light) {
  #hero h1 {
    background: linear-gradient(100deg, #0f172a 18%, var(--accent) 48%, var(--accent-2) 74%, #0f172a 96%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
}

#hero > p {
  position: relative;
  max-width: 78ch;
  color: var(--text-muted);
}

#hero > p:last-of-type {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
  margin-top: 1.4rem;
  font-weight: 600;
}

#hero > p:last-of-type a {
  display: inline-block;
  padding: 9px 20px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--surface-strong);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--text);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease);
}

#hero > p:last-of-type a:hover {
  transform: translateY(-3px);
  color: var(--accent);
  border-color: var(--accent);
  box-shadow: var(--shadow-glow);
}

#hero figure {
  position: relative;
  margin: 1.6rem 0;
  padding: 12px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

#hero figure:hover {
  transform: translateY(-4px) scale(1.005);
  box-shadow: var(--shadow-lg);
}

#hero figure svg {
  width: 100%;
  border-radius: var(--radius-md);
}

figcaption {
  margin-top: 10px;
  font-size: 0.86rem;
  color: var(--text-dim);
  text-align: center;
  line-height: 1.6;
}

main > nav[aria-label="页面锚点导航"] {
  margin: 0 0 26px;
  padding: 18px 22px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  animation: rise-in 0.7s var(--ease) both;
}

main > nav[aria-label="页面锚点导航"] h2 {
  font-size: 1.02rem;
  margin-bottom: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}

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

main > nav[aria-label="页面锚点导航"] ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

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

main > nav[aria-label="页面锚点导航"] a {
  display: inline-block;
  padding: 6px 14px;
  font-size: 0.86rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface-strong);
  color: var(--text-muted);
  transition: transform 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

main > nav[aria-label="页面锚点导航"] a:hover {
  transform: translateY(-2px);
  color: var(--accent);
  border-color: var(--accent);
  box-shadow: var(--shadow-glow);
}

main article {
  position: relative;
  margin: 0 0 16px;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: var(--surface-strong);
  border: 1px solid var(--border);
  box-shadow: 0 8px 22px -18px rgba(2, 6, 23, 0.7);
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

main article::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  opacity: 0.55;
  transition: opacity 0.35s var(--ease), width 0.35s var(--ease);
}

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

main article:hover::before {
  opacity: 1;
  width: 5px;
}

main article:last-child {
  margin-bottom: 0;
}

main article h3 {
  margin-bottom: 0.35em;
}

main article h3 + p {
  font-size: 0.84rem;
  color: var(--text-dim);
  margin-bottom: 0.5em;
  letter-spacing: 0.02em;
}

main article p {
  margin-bottom: 0.6em;
}

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

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

main article a::after {
  content: "→";
  transition: transform 0.3s var(--ease);
}

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

#faq details {
  margin: 0 0 12px;
  padding: 0;
  border-radius: var(--radius-md);
  background: var(--surface-strong);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}

#faq details:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}

#faq details[open] {
  border-color: rgba(245, 158, 11, 0.42);
  box-shadow: var(--shadow-md);
}

#faq summary {
  position: relative;
  cursor: pointer;
  padding: 15px 48px 15px 20px;
  font-weight: 600;
  color: var(--text);
  list-style: none;
  transition: color 0.25s var(--ease), background 0.25s var(--ease);
}

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

#faq summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  line-height: 1;
  color: var(--accent);
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  background: var(--accent-soft);
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease);
}

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

#faq summary:hover {
  color: var(--accent);
  background: var(--accent-soft);
}

#faq details > p {
  margin: 0;
  padding: 0 20px 18px;
  color: var(--text-muted);
  animation: rise-in 0.4s var(--ease) both;
}

#howto ol,
#howto ul {
  padding-left: 1.5rem;
}

#howto ol > li {
  padding-left: 0.2rem;
}

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

#contact li {
  margin: 0;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  background: var(--surface-strong);
  border: 1px solid var(--border);
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

#contact li:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: var(--shadow-glow);
}

#sitemap ul,
#links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

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

#sitemap a,
#links a {
  display: inline-block;
  padding: 7px 15px;
  font-size: 0.88rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface-strong);
  color: var(--text-muted);
  transition: transform 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

#sitemap a:hover,
#links a:hover {
  transform: translateY(-2px);
  color: var(--accent);
  border-color: var(--accent);
  box-shadow: var(--shadow-glow);
}

#meta-info p {
  margin-bottom: 0.35em;
  font-size: 0.92rem;
  color: var(--text-dim);
}

#meta-info p:first-of-type {
  color: var(--text);
  font-weight: 600;
}

#legal h3,
#notices h3,
#knowledge h3,
#applications h3,
#solutions h3,
#history h3,
#products h3,
#cases h3 {
  margin-top: 1.4em;
  padding-left: 14px;
  position: relative;
}

#legal h3::before,
#notices h3::before,
#knowledge h3::before,
#applications h3::before,
#solutions h3::before,
#history h3::before,
#products h3::before,
#cases h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.28em;
  bottom: 0.28em;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
}

#legal h3:first-of-type,
#notices h3:first-of-type,
#knowledge h3:first-of-type,
#applications h3:first-of-type,
#solutions h3:first-of-type,
#history h3:first-of-type,
#products h3:first-of-type,
#cases h3:first-of-type {
  margin-top: 0.4em;
}

#products h3 + p,
#advantages li,
#solutions h3 + p,
#applications p,
#cases h3 + p,
#testimonials blockquote p,
#knowledge h3 + p,
#howto p {
  max-width: 82ch;
}

#advantages ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
}

#advantages li {
  position: relative;
  margin: 0;
  padding: 15px 18px 15px 46px;
  border-radius: var(--radius-md);
  background: var(--surface-strong);
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

#advantages li::before {
  content: "✓";
  position: absolute;
  left: 16px;
  top: 15px;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: #0b1120;
  background: linear-gradient(135deg, var(--accent), #fbbf24);
  border-radius: 50%;
}

#advantages li:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: var(--shadow-glow);
}

#howto ol {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0 0 1.2em;
  display: grid;
  gap: 10px;
}

#howto ol > li {
  counter-increment: step;
  position: relative;
  margin: 0;
  padding: 14px 18px 14px 56px;
  border-radius: var(--radius-md);
  background: var(--surface-strong);
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

#howto ol > li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(245, 158, 11, 0.4);
  border-radius: 10px;
}

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

#howto ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.2em;
  display: grid;
  gap: 8px;
}

#howto ul > li {
  position: relative;
  margin: 0;
  padding: 10px 16px 10px 40px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px dashed var(--border-strong);
  color: var(--text-muted);
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

#howto ul > li::before {
  content: "•";
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent);
  font-size: 1.2rem;
  line-height: 1;
}

#howto ul > li:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

#testimonials blockquote {
  position: relative;
}

#testimonials blockquote::before {
  content: "“";
  position: absolute;
  right: 18px;
  top: -6px;
  font-size: 3.4rem;
  line-height: 1;
  color: var(--accent);
  opacity: 0.22;
  font-family: Georgia, serif;
}

footer {
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, transparent, rgba(2, 6, 23, 0.35));
  padding: 34px 20px 44px;
  text-align: center;
}

@media (prefers-color-scheme: light) {
  footer {
    background: linear-gradient(180deg, transparent, rgba(15, 23, 42, 0.04));
  }
}

footer p {
  margin: 0 auto 0.55em;
  max-width: 900px;
  font-size: 0.88rem;
  color: var(--text-dim);
}

footer p:first-child {
  color: var(--text-muted);
  font-weight: 600;
}

footer a {
  display: inline-block;
  margin: 0 4px;
  padding: 4px 10px;
  border-radius: 999px;
  transition: color 0.25s var(--ease), background 0.25s var(--ease);
}

footer a:hover {
  background: var(--surface-strong);
}

::selection {
  background: rgba(245, 158, 11, 0.35);
  color: var(--text);
}

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

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.55), rgba(56, 189, 248, 0.5));
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: padding-box;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  background-clip: padding-box;
}

@media (max-width: 1024px) {
  header > div {
    gap: 12px;
    padding: 10px 16px;
  }

  header nav {
    order: 3;
    flex-basis: 100%;
  }

  header nav ul {
    gap: 4px;
  }

  header form[role="search"] {
    margin-left: auto;
  }

  header form[role="search"] input[type="search"] {
    width: 180px;
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: auto;
    --radius-lg: 18px;
    --radius-md: 14px;
  }

  body {
    font-size: 15px;
    line-height: 1.7;
  }

  header > div {
    flex-wrap: wrap;
    padding: 10px 14px;
  }

  header > div > a[href="#top"] {
    font-size: 1.02rem;
    padding: 5px 12px;
  }

  header form[role="search"] {
    flex: 1 1 100%;
    order: 2;
  }

  header form[role="search"] input[type="search"] {
    flex: 1 1 auto;
    width: auto;
    max-width: none;
  }

  header nav {
    order: 3;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
  }

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

  header nav ul {
    flex-wrap: nowrap;
    width: max-content;
    padding-right: 6px;
  }

  header nav a {
    white-space: nowrap;
    font-size: 0.84rem;
    padding: 6px 10px;
  }

  main {
    padding: 0 14px 56px;
  }

  #hero {
    margin-top: 16px;
    padding: 22px 18px;
  }

  #hero > p:last-of-type {
    gap: 8px;
  }

  #hero > p:last-of-type a {
    padding: 8px 16px;
    font-size: 0.9rem;
  }

  main > section {
    padding: 18px 16px;
    margin-bottom: 18px;
  }

  main > nav[aria-label="页面锚点导航"] {
    padding: 14px 16px;
    margin-bottom: 18px;
  }

  main article {
    padding: 15px 16px;
  }

  #faq summary {
    padding: 13px 46px 13px 16px;
    font-size: 0.95rem;
  }

  #faq details > p {
    padding: 0 16px 15px;
  }

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

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

  #howto ol > li {
    padding: 12px 14px 12px 50px;
  }

  #howto ul > li {
    padding: 9px 14px 9px 36px;
  }

  footer {
    padding: 26px 14px 36px;
  }
}

@media (max-width: 420px) {
  h1 {
    font-size: 1.42rem;
  }

  h2 {
    font-size: 1.16rem;
  }

  header form[role="search"] button {
    padding: 9px 14px;
  }

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

@media print {
  header,
  footer,
  main > nav[aria-label="页面锚点导航"],
  #hero::before {
    display: none !important;
  }

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

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