:root {
  --orange-50: #fff6ef;
  --orange-100: #ffe8d6;
  --orange-200: #ffd0ad;
  --orange-300: #ffb47f;
  --orange-400: #ff9550;
  --orange-500: #ff7a1a;
  --orange-600: #e8640a;
  --orange-700: #c14f05;
  --ink-900: #1d1410;
  --ink-800: #2a1f18;
  --ink-700: #3a2c22;
  --ink-600: #55443a;
  --ink-500: #7a665a;
  --ink-400: #a08d80;
  --ink-300: #c9b8ab;
  --ink-200: #e6dbd2;
  --ink-100: #f4ece5;
  --ink-50: #fbf7f3;
  --bg: #fbf7f3;
  --bg-soft: #fffaf5;
  --surface: #ffffff;
  --surface-glass: rgba(255, 255, 255, 0.62);
  --surface-glass-strong: rgba(255, 255, 255, 0.82);
  --border: rgba(29, 20, 16, 0.09);
  --border-strong: rgba(29, 20, 16, 0.16);
  --text: #241a14;
  --text-soft: #5c4a3f;
  --text-mute: #8a7568;
  --accent: var(--orange-500);
  --accent-strong: var(--orange-600);
  --accent-soft: rgba(255, 122, 26, 0.12);
  --shadow-sm: 0 1px 2px rgba(29, 20, 16, 0.05), 0 2px 8px rgba(29, 20, 16, 0.04);
  --shadow-md: 0 4px 12px rgba(29, 20, 16, 0.06), 0 12px 32px rgba(29, 20, 16, 0.06);
  --shadow-lg: 0 8px 24px rgba(29, 20, 16, 0.08), 0 24px 64px rgba(29, 20, 16, 0.08);
  --shadow-glow: 0 8px 32px rgba(255, 122, 26, 0.24);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 999px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Songti SC", "Source Han Serif SC", "Noto Serif SC", Georgia, "Times New Roman", serif;
  --maxw: 1180px;
  --header-h: 68px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-fast: 160ms;
  --dur: 280ms;
  --dur-slow: 520ms;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14100d;
    --bg-soft: #1a1511;
    --surface: #1f1915;
    --surface-glass: rgba(31, 25, 21, 0.6);
    --surface-glass-strong: rgba(31, 25, 21, 0.84);
    --border: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.16);
    --text: #f6ede6;
    --text-soft: #cbb8ab;
    --text-mute: #9c887a;
    --accent: var(--orange-400);
    --accent-strong: var(--orange-300);
    --accent-soft: rgba(255, 149, 80, 0.14);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3), 0 2px 8px rgba(0, 0, 0, 0.24);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.36), 0 12px 32px rgba(0, 0, 0, 0.32);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.42), 0 24px 64px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 8px 32px rgba(255, 149, 80, 0.2);
    --ink-50: #1a1511;
    --ink-100: #211a15;
    --ink-200: #2c231d;
  }
}

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

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

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(1100px 520px at 8% -8%, rgba(255, 122, 26, 0.14), transparent 62%),
    radial-gradient(900px 480px at 96% 2%, rgba(255, 180, 127, 0.16), transparent 58%),
    radial-gradient(800px 600px at 50% 108%, rgba(255, 149, 80, 0.08), transparent 60%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

@media (prefers-color-scheme: dark) {
  body {
    background-image:
      radial-gradient(1100px 520px at 8% -8%, rgba(255, 122, 26, 0.16), transparent 62%),
      radial-gradient(900px 480px at 96% 2%, rgba(255, 149, 80, 0.1), transparent 58%),
      radial-gradient(800px 600px at 50% 108%, rgba(255, 122, 26, 0.06), transparent 60%);
  }
}

::selection {
  background: rgba(255, 122, 26, 0.24);
  color: var(--text);
}

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

a {
  color: var(--accent-strong);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-out), opacity var(--dur-fast) var(--ease-out);
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: 0.01em;
  color: var(--text);
  margin: 0 0 var(--space-4);
  text-wrap: balance;
}

h1 {
  font-size: clamp(1.85rem, 1.2rem + 2.8vw, 3.15rem);
  letter-spacing: 0.02em;
}

h2 {
  font-size: clamp(1.5rem, 1.1rem + 1.7vw, 2.15rem);
}

h3 {
  font-size: clamp(1.15rem, 1rem + 0.7vw, 1.4rem);
}

h4 {
  font-size: 1.05rem;
  font-family: var(--font-sans);
  font-weight: 700;
}

p {
  margin: 0 0 var(--space-4);
  color: var(--text-soft);
  text-wrap: pretty;
}

ul, ol {
  margin: 0 0 var(--space-4);
  padding-left: 1.35em;
  color: var(--text-soft);
}

li {
  margin-bottom: var(--space-2);
}

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

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

blockquote {
  margin: var(--space-4) 0;
  padding: var(--space-4) var(--space-5);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: var(--surface-glass);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  backdrop-filter: blur(14px) saturate(150%);
  box-shadow: var(--shadow-sm);
  color: var(--text-soft);
}

blockquote p {
  margin: 0;
  font-style: italic;
}

/* ---------- Header ---------- */
header#top {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
}

.brand-bar {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  flex-wrap: wrap;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: var(--space-3) clamp(16px, 4vw, 32px);
  min-height: var(--header-h);
  background: var(--surface-glass-strong);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: box-shadow var(--dur) var(--ease-out), background var(--dur) var(--ease-out);
}

header#top .brand-bar {
  margin-top: 10px;
  width: calc(100% - 24px);
}

@supports (position: sticky) {
  .brand-bar {
    box-shadow: var(--shadow-sm);
  }
}

.brand-bar > a[href="/"] {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--text);
  padding: 6px 14px 6px 10px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, rgba(255, 122, 26, 0.16), rgba(255, 180, 127, 0.08));
  border: 1px solid rgba(255, 122, 26, 0.24);
  transition: transform var(--dur) var(--ease-spring), box-shadow var(--dur) var(--ease-out);
  white-space: nowrap;
}

.brand-bar > a[href="/"]::before {
  content: "";
  width: 22px;
  height: 22px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--orange-400), var(--orange-600));
  box-shadow: inset 0 -2px 6px rgba(0, 0, 0, 0.18), 0 2px 8px rgba(255, 122, 26, 0.4);
  flex: none;
}

.brand-bar > a[href="/"]:hover {
  transform: translateY(-1px) scale(1.02);
  box-shadow: var(--shadow-glow);
}

.brand-bar nav {
  flex: 1 1 auto;
  min-width: 0;
}

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

.brand-bar nav li {
  margin: 0;
}

.brand-bar nav a {
  display: inline-block;
  padding: 8px 13px;
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-soft);
  transition: color var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
  white-space: nowrap;
}

.brand-bar nav a:hover {
  color: var(--accent-strong);
  background: var(--accent-soft);
  transform: translateY(-1px);
}

.brand-bar form[role="search"] {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 4px 4px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  transition: border-color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
  flex: 0 1 300px;
  min-width: 200px;
}

.brand-bar form[role="search"]:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.brand-bar 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;
}

.brand-bar form[role="search"] input[type="search"] {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 0.9rem;
  padding: 8px 0;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.brand-bar form[role="search"] input[type="search"]::placeholder {
  color: var(--text-mute);
}

.brand-bar form[role="search"] input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
}

.brand-bar form[role="search"] button[type="submit"] {
  flex: none;
  border: 0;
  cursor: pointer;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--orange-400), var(--orange-600));
  box-shadow: 0 2px 10px rgba(255, 122, 26, 0.32);
  transition: transform var(--dur-fast) var(--ease-spring), box-shadow var(--dur-fast) var(--ease-out), filter var(--dur-fast) var(--ease-out);
}

.brand-bar form[role="search"] button[type="submit"]:hover {
  transform: translateY(-1px) scale(1.03);
  box-shadow: 0 6px 18px rgba(255, 122, 26, 0.44);
  filter: brightness(1.05);
}

.brand-bar form[role="search"] button[type="submit"]:active {
  transform: translateY(0) scale(0.98);
}

/* ---------- Main layout ---------- */
main {
  display: block;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: var(--space-6) clamp(16px, 4vw, 32px) var(--space-8);
}

main > section {
  position: relative;
  margin-bottom: var(--space-6);
  padding: clamp(22px, 3.4vw, 40px);
  background: var(--surface-glass);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-slow) var(--ease-out), box-shadow var(--dur-slow) var(--ease-out), border-color var(--dur) var(--ease-out);
  animation: rise-in var(--dur-slow) var(--ease-out) both;
  animation-timeline: view();
  animation-range: entry 0% cover 32%;
}

@supports not (animation-timeline: view()) {
  main > section {
    animation: none;
  }
}

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

main > section > h2:first-child {
  position: relative;
  padding-left: 18px;
  margin-bottom: var(--space-5);
}

main > section > h2:first-child::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.18em;
  bottom: 0.18em;
  width: 5px;
  border-radius: var(--radius-pill);
  background: linear-gradient(180deg, var(--orange-400), var(--orange-600));
  box-shadow: 0 0 12px rgba(255, 122, 26, 0.4);
}

main > section > h2:first-child::after {
  content: "";
  display: block;
  width: 56px;
  height: 2px;
  margin-top: 10px;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--accent), transparent);
}

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

@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;
  }
  main > section {
    animation: none;
  }
}

/* ---------- Hero ---------- */
#hero {
  position: relative;
  overflow: hidden;
  padding: clamp(32px, 5vw, 64px) clamp(22px, 4vw, 48px);
  background:
    linear-gradient(135deg, rgba(255, 122, 26, 0.16) 0%, rgba(255, 180, 127, 0.1) 42%, rgba(255, 246, 239, 0.04) 100%),
    var(--surface-glass-strong);
  border: 1px solid rgba(255, 122, 26, 0.24);
  box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

#hero::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto auto;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 122, 26, 0.4), rgba(255, 122, 26, 0) 68%);
  filter: blur(10px);
  pointer-events: none;
  animation: float-orb 16s ease-in-out infinite;
}

#hero::after {
  content: "";
  position: absolute;
  inset: auto auto -46% -12%;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle at 60% 40%, rgba(255, 180, 127, 0.42), rgba(255, 180, 127, 0) 70%);
  filter: blur(14px);
  pointer-events: none;
  animation: float-orb 20s ease-in-out infinite reverse;
}

@keyframes float-orb {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-24px, 28px, 0) scale(1.06); }
}

#hero > * {
  position: relative;
  z-index: 1;
}

#hero h1 {
  max-width: 22ch;
  background: linear-gradient(120deg, var(--text) 30%, var(--accent-strong) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

#hero p {
  max-width: 72ch;
  font-size: clamp(0.98rem, 0.94rem + 0.3vw, 1.08rem);
  color: var(--text-soft);
}

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

/* ---------- Breadcrumb ---------- */
main > nav[aria-label="面包屑"] {
  margin: calc(var(--space-6) * -0.5) 0 var(--space-5);
  padding: 0 clamp(4px, 1vw, 8px);
}

nav[aria-label="面包屑"] ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.86rem;
  color: var(--text-mute);
}

nav[aria-label="面包屑"] li {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

nav[aria-label="面包屑"] li + li::before {
  content: "/";
  color: var(--ink-300);
  font-weight: 400;
}

nav[aria-label="面包屑"] a {
  color: var(--text-mute);
  padding: 2px 4px;
  border-radius: 6px;
  transition: color var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out);
}

nav[aria-label="面包屑"] a:hover {
  color: var(--accent-strong);
  background: var(--accent-soft);
}

nav[aria-label="面包屑"] [aria-current="page"] {
  color: var(--text);
  font-weight: 600;
}

/* ---------- Lists & cards ---------- */
#products ul,
#solutions ul,
#contact ul,
#sitemap ul,
#links ul,
#brand ul {
  list-style: none;
  padding-left: 0;
  display: grid;
  gap: var(--space-3);
}

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

#products ul li,
#solutions ul li,
#contact ul li,
#sitemap ul li,
#links ul li,
#brand ul li {
  position: relative;
  padding: var(--space-3) var(--space-4) var(--space-3) 42px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);
  margin: 0;
}

#products ul li::before,
#solutions ul li::before,
#contact ul li::before,
#sitemap ul li::before,
#links ul li::before,
#brand ul li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange-400), var(--orange-600));
  box-shadow: 0 0 0 4px var(--accent-soft);
}

#products ul li:hover,
#solutions ul li:hover,
#contact ul li:hover,
#sitemap ul li:hover,
#links ul li:hover,
#brand ul li:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 122, 26, 0.32);
  box-shadow: var(--shadow-md);
}

#brand ul li {
  font-variant-numeric: tabular-nums;
}

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

#sitemap ul li {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

#sitemap ul li::before {
  display: none;
}

#sitemap ul a {
  display: block;
  padding: var(--space-3) var(--space-4);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-soft);
  font-weight: 500;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), color var(--dur-fast) var(--ease-out), border-color var(--dur) var(--ease-out);
}

#sitemap ul a:hover {
  transform: translateY(-3px);
  color: var(--accent-strong);
  border-color: rgba(255, 122, 26, 0.36);
  box-shadow: var(--shadow-md);
}

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

#links ul a {
  color: var(--text-soft);
  font-weight: 500;
}

#links ul a:hover {
  color: var(--accent-strong);
}

/* ---------- Articles / News ---------- */
#news,
#articles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-4);
  align-items: start;
}

#news > h2,
#articles > h2 {
  grid-column: 1 / -1;
}

#news article,
#articles article {
  position: relative;
  padding: var(--space-5);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);
  overflow: hidden;
}

#news article::before,
#articles article::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange-400), var(--orange-600), transparent);
  opacity: 0;
  transition: opacity var(--dur) var(--ease-out);
}

#news article:hover,
#articles article:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 122, 26, 0.3);
  box-shadow: var(--shadow-lg);
}

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

#news article h3,
#articles article h3 {
  font-size: 1.08rem;
  line-height: 1.5;
  margin-bottom: var(--space-2);
  transition: color var(--dur-fast) var(--ease-out);
}

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

#news article p,
#articles article p {
  font-size: 0.94rem;
  margin-bottom: var(--space-2);
}

#news article p:first-of-type,
#articles article p:first-of-type {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--accent-strong);
  background: var(--accent-soft);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: var(--space-3);
  font-variant-numeric: tabular-nums;
}

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

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

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

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

/* ---------- Cases / blockquotes ---------- */
#cases blockquote {
  position: relative;
  padding-left: var(--space-6);
}

#cases blockquote::before {
  content: "“";
  position: absolute;
  left: 10px;
  top: -6px;
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 1;
  color: var(--orange-300);
  opacity: 0.7;
}

/* ---------- HowTo ---------- */
#howto ol {
  counter-reset: step;
  list-style: none;
  padding-left: 0;
  display: grid;
  gap: var(--space-3);
}

#howto ol li {
  counter-increment: step;
  position: relative;
  margin: 0;
  padding: var(--space-3) var(--space-4) var(--space-3) 56px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);
}

#howto ol li::before {
  content: counter(step);
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 0.82rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--orange-400), var(--orange-600));
  box-shadow: 0 2px 8px rgba(255, 122, 26, 0.36);
}

#howto ol li:hover {
  transform: translateX(4px);
  border-color: rgba(255, 122, 26, 0.3);
  box-shadow: var(--shadow-md);
}

/* ---------- FAQ ---------- */
#faq {
  display: grid;
  gap: var(--space-3);
}

#faq > h2 {
  margin-bottom: var(--space-2);
}

#faq > h3 {
  margin: 0;
  padding: var(--space-4) var(--space-5);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  cursor: default;
  transition: color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out), transform var(--dur) var(--ease-out);
  position: relative;
  padding-left: 52px;
}

#faq > h3::before {
  content: "Q";
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--accent-strong);
}

#faq > h3:hover {
  color: var(--accent-strong);
  border-color: rgba(255, 122, 26, 0.32);
  transform: translateY(-2px);
}

#faq > p {
  margin: calc(var(--space-3) * -0.5) 0 var(--space-2);
  padding: var(--space-4) var(--space-5) var(--space-4) 52px;
  background: var(--bg-soft);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  color: var(--text-soft);
  position: relative;
}

#faq > p::before {
  content: "A";
  position: absolute;
  left: 18px;
  top: var(--space-4);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-mute);
}

/* ---------- Contact ---------- */
#contact ul {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

#contact ul li {
  font-variant-numeric: tabular-nums;
  word-break: break-word;
}

/* ---------- Footer ---------- */
footer {
  position: relative;
  margin-top: var(--space-7);
  padding: var(--space-7) clamp(16px, 4vw, 32px) var(--space-6);
  background: linear-gradient(180deg, transparent, rgba(255, 122, 26, 0.06) 30%, rgba(255, 122, 26, 0.1));
  border-top: 1px solid var(--border);
}

footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--orange-400), var(--orange-600), transparent);
  opacity: 0.6;
}

footer > section {
  max-width: var(--maxw);
  margin: 0 auto var(--space-6);
  padding: clamp(22px, 3.4vw, 40px);
  background: var(--surface-glass);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-5);
  align-items: start;
}

footer > section > h2 {
  grid-column: 1 / -1;
  margin-bottom: 0;
  padding-left: 18px;
  position: relative;
}

footer > section > h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.18em;
  bottom: 0.18em;
  width: 5px;
  border-radius: var(--radius-pill);
  background: linear-gradient(180deg, var(--orange-400), var(--orange-600));
}

footer > section h3 {
  font-family: var(--font-sans);
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: var(--space-2);
  color: var(--text);
}

footer > section p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--text-mute);
  margin-bottom: 0;
}

footer > p {
  max-width: var(--maxw);
  margin: 0 auto var(--space-2);
  padding: 0 clamp(4px, 1vw, 8px);
  text-align: center;
  font-size: 0.84rem;
  color: var(--text-mute);
  font-variant-numeric: tabular-nums;
}

footer > a[href="#top"] {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: fit-content;
  margin: var(--space-5) auto 0;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, var(--orange-400), var(--orange-600));
  box-shadow: 0 4px 16px rgba(255, 122, 26, 0.32);
  transition: transform var(--dur) var(--ease-spring), box-shadow var(--dur) var(--ease-out), filter var(--dur-fast) var(--ease-out);
}

footer > a[href="#top"]::before {
  content: "↑";
  font-weight: 800;
}

footer > a[href="#top"]:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: var(--shadow-glow);
  filter: brightness(1.06);
  color: #fff;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .brand-bar {
    gap: var(--space-4);
  }
  .brand-bar form[role="search"] {
    flex: 1 1 220px;
  }
}

@media (max-width: 860px) {
  :root {
    --header-h: 60px;
  }
  header#top .brand-bar {
    width: calc(100% - 16px);
    margin-top: 8px;
  }
  .brand-bar {
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-md);
  }
  .brand-bar nav {
    order: 3;
    flex: 1 1 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .brand-bar nav::-webkit-scrollbar {
    display: none;
  }
  .brand-bar nav ul {
    flex-wrap: nowrap;
    width: max-content;
    padding-bottom: 2px;
  }
  .brand-bar form[role="search"] {
    order: 2;
    flex: 1 1 180px;
    min-width: 160px;
  }
  main {
    padding-top: var(--space-5);
  }
  main > nav[aria-label="面包屑"] {
    margin-top: calc(var(--space-5) * -0.4);
  }
  main > section {
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-5);
  }
  #news,
  #articles {
    grid-template-columns: 1fr;
  }
  footer > section {
    border-radius: var(--radius-lg);
  }
}

@media (max-width: 560px) {
  body {
    font-size: 15.5px;
    background-attachment: scroll;
  }
  .brand-bar > a[href="/"] {
    font-size: 1.12rem;
  }
  .brand-bar nav a {
    padding: 7px 11px;
    font-size: 0.86rem;
  }
  .brand-bar form[role="search"] {
    flex: 1 1 100%;
    order: 3;
    min-width: 0;
  }
  .brand-bar nav {
    order: 4;
  }
  main {
    padding-left: 12px;
    padding-right: 12px;
  }
  main > section {
    padding: 20px 16px;
    border-radius: var(--radius-md);
  }
  #hero {
    padding: 28px 18px;
  }
  #hero h1 {
    max-width: none;
  }
  #products ul,
  #solutions ul,
  #contact ul,
  #sitemap ul,
  #links ul,
  #brand ul {
    grid-template-columns: 1fr;
  }
  #products ul li,
  #solutions ul li,
  #contact ul li,
  #brand ul li {
    padding-left: 38px;
  }
  #faq > h3 {
    padding: var(--space-3) var(--space-4) var(--space-3) 46px;
    font-size: 0.95rem;
  }
  #faq > h3::before {
    left: 15px;
  }
  #faq > p {
    padding: var(--space-3) var(--space-4) var(--space-3) 46px;
  }
  #faq > p::before {
    left: 15px;
  }
  footer {
    padding-left: 12px;
    padding-right: 12px;
  }
  footer > section {
    padding: 20px 16px;
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
}

/* ---------- Dark-mode component refinements ---------- */
@media (prefers-color-scheme: dark) {
  #hero {
    background:
      linear-gradient(135deg, rgba(255, 122, 26, 0.2) 0%, rgba(255, 149, 80, 0.1) 42%, rgba(31, 25, 21, 0.2) 100%),
      var(--surface-glass-strong);
    border-color: rgba(255, 149, 80, 0.26);
  }
  #hero h1 {
    background: linear-gradient(120deg, #fff6ef 30%, var(--orange-300) 90%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
  }
  #products ul li,
  #solutions ul li,
  #contact ul li,
  #brand ul li,
  #news article,
  #articles article,
  #howto ol li,
  #faq > h3,
  #sitemap ul a {
    background: var(--surface);
  }
  #faq > p {
    background: var(--bg-soft);
  }
  footer {
    background: linear-gradient(180deg, transparent, rgba(255, 122, 26, 0.05) 30%, rgba(255, 122, 26, 0.08));
  }
}

/* ---------- Print ---------- */
@media print {
  body {
    background: #fff;
    color: #000;
  }
  header#top,
  footer > a[href="#top"],
  .brand-bar form[role="search"] {
    display: none;
  }
  main > section,
  footer > section {
    box-shadow: none;
    border: 1px solid #ccc;
    background: #fff;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  a {
    color: #000;
    text-decoration: underline;
  }
}