/* ==========================================================================
   内蒙古纵横云技术有限公司 — 官网设计系统
   Brand: 数智力量 | Primary #F86800 (sampled from official logo)
   Structure reference: qwenwork.cn / qianwenai.com / workbuddy.cn
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* brand */
  --brand: #f86800;
  --brand-600: #e25e00;
  --brand-700: #b84c00;
  --brand-100: #ffe6d5;
  --brand-50: #fff5ee;
  --brand-soft: #fffaf6;

  /* ink / dark surfaces */
  --ink: #10141b;
  --ink-800: #171d27;
  --ink-700: #212936;
  --ink-line: rgba(255, 255, 255, 0.12);

  /* text */
  --text: #171c25;
  --text-2: #4f5a6b;
  --text-3: #8b95a5;
  --text-inv: #f2f4f7;
  --text-inv-2: #a3adbd;

  /* surfaces */
  --bg: #ffffff;
  --bg-soft: #f7f8fa;
  --bg-warm: #fdf7f3;
  --line: #e7e9ee;
  --line-2: #dfe2e8;

  /* functional accent (compute / tech only, used sparingly) */
  --cool: #0b5fa5;

  /* radii */
  --r-xs: 4px;
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-pill: 999px;

  /* spacing scale */
  --s-1: 6px;
  --s-2: 12px;
  --s-3: 18px;
  --s-4: 26px;
  --s-5: 38px;
  --s-6: 56px;
  --s-7: 80px;
  --s-8: 104px;

  /* elevation — restrained */
  --sh-1: 0 1px 2px rgba(16, 20, 27, 0.05), 0 2px 8px rgba(16, 20, 27, 0.04);
  --sh-2: 0 6px 18px rgba(16, 20, 27, 0.07), 0 18px 40px rgba(16, 20, 27, 0.05);
  --sh-brand: 0 8px 24px rgba(248, 104, 0, 0.22);

  /* layout */
  --maxw: 1220px;
  --gutter: 26px;
  --header-h: 74px;

  /* type */
  --ff-cn: -apple-system, BlinkMacSystemFont, "PingFang SC", "HarmonyOS Sans SC",
    "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", sans-serif;
  --ff-num: "DIN Alternate", "Bahnschrift", "Helvetica Neue", Arial, var(--ff-cn);
  --ff-mono: "SFMono-Regular", "JetBrains Mono", Consolas, "Liberation Mono", monospace;
}

/* ---------- 2. Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

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

/* 兜底：clip 只裁切、不生成可滚动的容器（hidden 仍会被焦点/锚点跳动横向带偏）。
   老 Safari 不认识 clip 时自动沿用上面的 hidden。 */
@supports (overflow-x: clip) {
  body { overflow-x: clip; }
}

h1, h2, h3, h4, h5, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }

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

/* focus ring — accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: var(--r-xs);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  padding: 12px 20px;
  background: var(--ink);
  color: #fff;
  border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; }

/* ---------- 3. Layout primitives ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--wide { max-width: 1400px; }

.section { padding-block: var(--s-8); position: relative; }
.section--tight { padding-block: var(--s-7); }
.section--soft { background: var(--bg-soft); }
.section--warm { background: var(--bg-warm); }
.section--ink { background: var(--ink); color: var(--text-inv); }
.section--ink h2, .section--ink h3 { color: #fff; }

.grid { display: grid; gap: var(--s-4); }
/* 列类自带 display:grid，可脱离 .grid 单独使用 */
.g-2, .g-3, .g-4, .g-2-1, .g-1-2, .g-sidebar { display: grid; gap: var(--s-4); }
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g-2-1 { grid-template-columns: 1.15fr 0.85fr; }
.g-1-2 { grid-template-columns: 0.85fr 1.15fr; }
.g-sidebar { grid-template-columns: 320px minmax(0, 1fr); }
/* 变体写在媒体查询之前，窄屏的单列规则才能覆盖它 */
.g-sidebar--form { grid-template-columns: 340px minmax(0, 1fr); }

.stack-xs > * + * { margin-top: var(--s-1); }
.stack > * + * { margin-top: var(--s-3); }
.stack-lg > * + * { margin-top: var(--s-5); }
.ssy a img{height: 50px;width: auto;}
/* ---------- 4. Typography ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand);
  line-height: 1.4;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--brand);
  flex: none;
}
.section--ink .eyebrow { color: var(--brand); }

.sec-title {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.015em;
  margin-top: var(--s-3);
}
.sec-title em { font-style: normal; color: var(--brand); }

.sec-desc {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-2);
  max-width: 62ch;
  margin-top: var(--s-3);
}
.section--ink .sec-desc { color: var(--text-inv-2); }

.section-head { max-width: 760px; }
.section-head--split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--s-5);
  max-width: none;
}
.section-head--split .sec-desc { margin-top: var(--s-3); }

.lead { font-size: 19px; line-height: 1.85; color: var(--text-2); }
.muted { color: var(--text-3); }
.tnum { font-family: var(--ff-num); font-variant-numeric: tabular-nums; }

/* ---------- 5. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 26px;
  border-radius: var(--r-pill);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.18s ease,
    background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.btn svg { flex: none; transition: transform 0.2s ease; }
.btn:hover svg { transform: translateX(3px); }

.btn-primary { background: var(--brand); color: #fff; box-shadow: var(--sh-brand); }
.btn-primary:hover { background: var(--brand-600); transform: translateY(-2px); }

.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-700); transform: translateY(-2px); }

.btn-line { border: 1.5px solid var(--line-2); color: var(--text); background: #fff; }
.btn-line:hover { border-color: var(--brand); color: var(--brand); }

.btn-line-inv { border: 1.5px solid rgba(255, 255, 255, 0.32); color: #fff; }
.btn-line-inv:hover { border-color: #fff; background: rgba(255, 255, 255, 0.1); }

.btn-ghost { color: var(--brand); padding-inline: 4px; min-height: auto; }
.btn-ghost:hover { color: var(--brand-700); }

.btn-sm { min-height: 40px; font-size: 14px; padding: 0 20px; }

/* text link with arrow */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 15px;
  font-weight: 600;
  color: var(--brand);
}
.link-arrow svg { transition: transform 0.2s ease; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- 6. Header / navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.site-header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 4px 20px rgba(16, 20, 27, 0.05);
}
.site-header .container {
  height: 100%;
  display: flex;
  align-items: center;
  gap: var(--s-5);
}

.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 34px; width: auto; }

.nav { margin-left: auto; }
.nav ul { display: flex; align-items: center; gap: 6px; }
.nav a {
  position: relative;
  display: block;
  padding: 9px 16px;
  font-size: 15.5px;
  font-weight: 500;
  color: var(--text-2);
  border-radius: var(--r-sm);
  transition: color 0.18s ease, background-color 0.18s ease;
}
.nav a:hover { color: var(--text); background: var(--bg-soft); }
.nav a[aria-current="page"] { color: var(--brand); font-weight: 600; }
.nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 2px;
  height: 2px;
  background: var(--brand);
  border-radius: 2px;
}

.header-cta { display: flex; align-items: center; gap: var(--s-2); flex: none; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border-radius: var(--r-sm);
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 28px; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- 7. Hero (dark, homepage) ---------- */
.hero {
  position: relative;
  background: var(--ink);
  color: var(--text-inv);
  overflow: hidden;
  padding-block: clamp(64px, 8vw, 112px) clamp(72px, 9vw, 128px);
}
/* grid texture — echoes the nested-square brand mark */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(120% 90% at 78% 12%, #000 12%, transparent 68%);
  -webkit-mask-image: radial-gradient(120% 90% at 78% 12%, #000 12%, transparent 68%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  width: 720px;
  height: 720px;
  right: -180px;
  top: -320px;
  background: radial-gradient(circle, rgba(248, 104, 0, 0.3) 0%, rgba(248, 104, 0, 0) 66%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}

.hero h1 {
  font-size: clamp(34px, 5.1vw, 62px);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.025em;
  color: #fff;
  margin-top: var(--s-4);
}
.hero h1 .hl { color: var(--brand); }
.hero-sub {
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.85;
  color: var(--text-inv-2);
  max-width: 54ch;
  margin-top: var(--s-4);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2) var(--s-5);
  margin-top: var(--s-6);
  padding-top: var(--s-5);
  border-top: 1px solid var(--ink-line);
}
.hero-meta li { display: flex; align-items: baseline; gap: 9px; }
.hero-meta .k {
  font-family: var(--ff-num);
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.01em;
}
.hero-meta .v { font-size: 13.5px; color: var(--text-inv-2); }

/* ---------- 8. Sub-page hero (light) ---------- */
.page-hero {
  position: relative;
  background: linear-gradient(180deg, var(--brand-soft) 0%, #fff 100%);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(48px, 6vw, 84px) clamp(40px, 5vw, 66px);
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 420px;
  height: 420px;
  border: 1px solid var(--brand-100);
  border-radius: 50%;
  pointer-events: none;
}
.page-hero::before {
  content: "";
  position: absolute;
  right: -20px;
  bottom: -180px;
  width: 320px;
  height: 320px;
  border: 1px solid var(--brand-100);
  border-radius: 50%;
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 {
  font-size: clamp(30px, 4.2vw, 52px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin-top: var(--s-3);
}
.page-hero h1 .hl { color: var(--brand); }
.page-hero .sec-desc { font-size: 18px; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  color: var(--text-3);
}
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb li + li::before {
  content: "/";
  margin-right: 9px;
  color: var(--line-2);
}
.breadcrumb li + li { display: flex; align-items: center; }
.breadcrumb [aria-current="page"] { color: var(--text-2); }

/* ---------- 9. Corner-bracket motif (brand echo) ---------- */
.bracket { position: relative; }
.bracket::before,
.bracket::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border: 2px solid var(--brand);
  pointer-events: none;
  opacity: 0.85;
}
.bracket::before { left: -1px; top: -1px; border-right: 0; border-bottom: 0; }
.bracket::after { right: -1px; bottom: -1px; border-left: 0; border-top: 0; }

/* ---------- 10. Cards ---------- */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: var(--s-5) var(--s-5) var(--s-5);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--sh-2); border-color: var(--brand-100); }

.card-idx {
  font-family: var(--ff-num);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--brand);
}
.card-idx::after {
  content: "";
  display: block;
  width: 24px;
  height: 2px;
  background: var(--brand);
  margin-top: 8px;
}
.card h3 {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-top: var(--s-4);
}
.card h3 .en {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-top: 5px;
}
.card p { font-size: 15px; line-height: 1.8; color: var(--text-2); margin-top: var(--s-3); }
.card .card-foot { margin-top: auto; padding-top: var(--s-4); }

/* pillar card — the three intelligences */
.card--pillar { padding: var(--s-6) var(--s-5) var(--s-5); border-top: 3px solid var(--brand); }
.card--pillar .tag {
  display: inline-block;
  padding: 4px 11px;
  font-size: 12px;
  font-weight: 600;
  color: var(--brand-700);
  background: var(--brand-50);
  border-radius: var(--r-xs);
  margin-top: var(--s-3);
}

.card-list { margin-top: var(--s-4); display: grid; gap: 10px; }
.card-list li {
  position: relative;
  padding-left: 20px;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--text-2);
}
.card-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
  opacity: 0.55;
}

/* icon tile */
.icon-tile {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: var(--r-sm);
  background: var(--brand-50);
  color: var(--brand);
  border: 1px solid var(--brand-100);
  flex: none;
}
.icon-tile svg { width: 26px; height: 26px; }

/* flat info card on dark */
.card--ink {
  background: var(--ink-800);
  border: 1px solid var(--ink-line);
  color: var(--text-inv);
}
.card--ink:hover { border-color: rgba(248, 104, 0, 0.5); box-shadow: none; }
.card--ink h3 { color: #fff; }
.card--ink p { color: var(--text-inv-2); }

/* ---------- 11. Trust bar ---------- */
.trustbar {
  border-block: 1px solid var(--line);
  background: #fff;
  padding-block: var(--s-5);
}
.trustbar ul {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--s-4);
  align-items: center;
}
.trustbar li {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--text);
}
.trustbar li span.sub {
  display: block;
  font-size: 12.5px;
  font-weight: 400;
  color: var(--text-3);
  letter-spacing: 0.02em;
}
.trustbar .badge {
  width: 40px;
  height: 40px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: var(--r-xs);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  color: var(--brand);
}
.trustbar .badge svg { width: 21px; height: 21px; }

/* ---------- 12. Loop diagram (算力—模型—终端) ---------- */
.loop {
  position: relative;
  padding: var(--s-5);
  border-radius: var(--r-lg);
  background: linear-gradient(155deg, var(--ink-800) 0%, #0c1016 100%);
  border: 1px solid var(--ink-line);
  overflow: hidden;
}
.loop::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(90% 70% at 50% 0%, #000, transparent 72%);
  -webkit-mask-image: radial-gradient(90% 70% at 50% 0%, #000, transparent 72%);
}
.loop > * { position: relative; z-index: 1; }
.loop-cap {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand);
}
.loop-title {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin-top: 10px;
  letter-spacing: -0.01em;
}
.loop-flow { display: grid; gap: 10px; margin-top: var(--s-5); }
.loop-node {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 18px;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--ink-line);
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.loop-node:hover {
  background: rgba(248, 104, 0, 0.1);
  border-color: rgba(248, 104, 0, 0.42);
  transform: translateX(4px);
}
.loop-node .n {
  font-family: var(--ff-num);
  font-size: 12px;
  font-weight: 700;
  width: 30px;
  height: 30px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: var(--r-xs);
  background: var(--brand);
  color: #fff;
}
.loop-node .t { font-size: 16px; font-weight: 600; color: #fff; }
.loop-node .d { font-size: 13px; color: var(--text-inv-2); margin-left: auto; text-align: right; }
.loop-link {
  display: flex;
  justify-content: center;
  color: rgba(248, 104, 0, 0.6);
  height: 10px;
}
.loop-foot {
  margin-top: var(--s-5);
  padding-top: var(--s-4);
  border-top: 1px dashed var(--ink-line);
  font-size: 14px;
  color: var(--text-inv-2);
}
.loop-foot b { color: var(--brand); font-weight: 600; }

/* ---------- 13. Stat band ---------- */
.stat-band { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-4); }
.stat {
  padding: var(--s-5) var(--s-4);
  border-left: 2px solid var(--brand);
}
.stat .num {
  font-family: var(--ff-num);
  font-size: clamp(38px, 4.6vw, 58px);
  font-weight: 700;
  line-height: 1;
  color: var(--brand);
  letter-spacing: -0.01em;
}
.stat .num .u { font-size: 0.44em; margin-left: 4px; letter-spacing: 0.04em; }
.section--ink .stat .num { color: #fff; }
.section--ink .stat { border-left-color: var(--brand); }
.stat .label { font-size: 15px; font-weight: 600; margin-top: 12px; }
.section--ink .stat .label { color: #fff; }
.stat .note { font-size: 13px; color: var(--text-3); margin-top: 4px; line-height: 1.6; }
.section--ink .stat .note { color: var(--text-inv-2); }

/* ---------- 14. Tabs + Swiper showcase ---------- */
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 6px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  width: fit-content;
  max-width: 100%;
}
.tab {
  padding: 9px 20px;
  border-radius: var(--r-pill);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-2);
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}
.tab:hover { color: var(--brand); }
.tab.is-active { background: #fff; color: var(--brand); box-shadow: var(--sh-1); }

.tabpanel[hidden] { display: none; }

.showcase { position: relative; }
.showcase .swiper { padding-bottom: var(--s-6); }
.showcase .swiper-slide { height: auto; }
.showcase .swiper-pagination-bullet { background: var(--line-2); opacity: 1; border-radius: 3px; width: 22px; height: 4px; transition: width 0.25s ease, background-color 0.25s ease; }
.showcase .swiper-pagination-bullet-active { background: var(--brand); width: 34px; }
.showcase .swiper-button-next,
.showcase .swiper-button-prev {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--text);
  box-shadow: var(--sh-1);
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.showcase .swiper-button-next:hover,
.showcase .swiper-button-prev:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.showcase .swiper-button-next::after,
.showcase .swiper-button-prev::after { font-size: 15px; font-weight: 700; }
.showcase .swiper-button-prev { left: 0; }
.showcase .swiper-button-next { right: 0; }

/* scenario slide card */
.scenario {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: var(--s-5);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: border-color 0.22s ease, box-shadow 0.22s ease;
}
.swiper-slide-active .scenario,
.scenario:hover { border-color: var(--brand-100); box-shadow: var(--sh-2); }
.scenario .kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
}
.scenario h3 { font-size: 20px; font-weight: 700; margin-top: 10px; letter-spacing: -0.01em; }
.scenario .pain { font-size: 14.5px; color: var(--text-2); margin-top: var(--s-3); line-height: 1.75; }
.scenario .answer {
  margin-top: auto;
  padding-top: var(--s-4);
  font-size: 14.5px;
  color: var(--text);
  border-top: 1px dashed var(--line);
}
.scenario .answer b { color: var(--brand-700); font-weight: 600; }

/* ---------- 15. Steps / process ---------- */
/* 步骤容器必须带 .steps，否则 counter 无起点、序号全为 01 */
.steps { counter-reset: step; display: grid; gap: var(--s-4); }
.step {
  position: relative;
  padding: var(--s-5);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.step:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
.step .no {
  counter-increment: step;
  font-family: var(--ff-num);
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  background: var(--brand);
  width: 34px;
  height: 34px;
  border-radius: var(--r-xs);
  display: grid;
  place-items: center;
}
.step .no::before { content: counter(step, decimal-leading-zero); }
/* 手工角标（如 ✦）：不占计数器、不渲染序号 */
.step .no--manual { counter-increment: none; }
.step .no--manual::before { content: none; }
.step h3 { font-size: 18px; font-weight: 700; margin-top: var(--s-4); }
.step p { font-size: 14.5px; color: var(--text-2); margin-top: 9px; line-height: 1.75; }
.step .deliver {
  margin-top: var(--s-4);
  padding-top: var(--s-3);
  border-top: 1px dashed var(--line);
  font-size: 13px;
  color: var(--text-3);
}
.step .deliver b { color: var(--text-2); font-weight: 600; }

/* ---------- 16. Split feature ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 4.5vw, 68px);
  align-items: center;
}
.split--flip .split-media { order: -1; }
.split-body { max-width: 60ch; }

.panel {
  padding: clamp(26px, 3vw, 44px);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--sh-1);
}
.panel--ink { background: var(--ink); border-color: transparent; color: var(--text-inv); box-shadow: var(--sh-2); }
.panel--ink h3 { color: #fff; }

/* principle trio (以运促用…) */
.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
.principle {
  padding: var(--s-5);
  border-left: 1px solid var(--ink-line);
}
.principle:first-child { border-left: 0; padding-left: 0; }
.principle:last-child { padding-right: 0; }
.principle .t {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
}
.principle .t i { font-style: normal; color: var(--brand); }
.principle p { font-size: 14.5px; color: var(--text-inv-2); margin-top: 10px; line-height: 1.75; }

/* ---------- 17. Quote / brand core ---------- */
.quote {
  position: relative;
  padding-left: var(--s-6);
  border-left: 3px solid var(--brand);
}
.quote p {
  font-size: clamp(19px, 2.1vw, 26px);
  line-height: 1.7;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--text);
}
.quote cite {
  display: block;
  font-style: normal;
  font-size: 14px;
  color: var(--text-3);
  margin-top: var(--s-3);
}

/* ---------- 18. Timeline ---------- */
.timeline { position: relative; padding-left: 34px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--brand) 0%, var(--line) 100%);
}
.tl-item { position: relative; padding-bottom: var(--s-6); }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: "";
  position: absolute;
  left: -34px;
  top: 7px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--brand);
  box-shadow: 0 0 0 4px #fff;
}
.tl-item .when {
  font-family: var(--ff-num);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--brand);
  text-transform: uppercase;
}
.tl-item h3 { font-size: 20px; font-weight: 700; margin-top: 6px; }
.tl-item p { font-size: 15px; color: var(--text-2); margin-top: 8px; max-width: 66ch; }

/* ---------- 19. Chips / tags / table ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chip {
  padding: 7px 15px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-2);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  transition: border-color 0.18s ease, color 0.18s ease, background-color 0.18s ease;
}
.chip:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); }
.chip--solid { background: var(--brand-50); border-color: var(--brand-100); color: var(--brand-700); }

.spec-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.spec-table caption { text-align: left; font-size: 13px; color: var(--text-3); padding-bottom: 10px; }
.spec-table th, .spec-table td {
  padding: 15px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.spec-table thead th {
  background: var(--bg-soft);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text);
  border-bottom: 2px solid var(--brand);
  white-space: nowrap;
}
.spec-table tbody th { font-weight: 600; color: var(--text); width: 168px; }
.spec-table td { color: var(--text-2); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-md); }
.table-wrap table { min-width: 680px; }

/* ---------- 20. Contact ---------- */
.contact-card {
  display: flex;
  gap: var(--s-4);
  padding: var(--s-5);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: box-shadow 0.22s ease, border-color 0.22s ease;
}
.contact-card:hover { box-shadow: var(--sh-2); border-color: var(--brand-100); }
.contact-card .label { font-size: 13px; color: var(--text-3); letter-spacing: 0.04em; }
.contact-card .value { font-size: 18px; font-weight: 700; margin-top: 5px; letter-spacing: -0.01em; }
.contact-card .value a:hover { color: var(--brand); }
.contact-card .extra { font-size: 13.5px; color: var(--text-2); margin-top: 7px; line-height: 1.7; }
/* 窄屏（320px 等）防溢出：flex 子项默认不能缩到 min-content 以下，
   「0471-2332091/2332095/2332098」这类无空格长串会把卡片顶出视口 */
.contact-card > div { min-width: 0; }
.contact-card .value { overflow-wrap: anywhere; }

.form { display: grid; gap: var(--s-4); }
.field { display: grid; gap: 8px; }
.field label { font-size: 14px; font-weight: 600; color: var(--text); }
.field label .req { color: var(--brand); margin-left: 3px; }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  font-size: 15px;
  background: var(--bg-soft);
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}
.field textarea { min-height: 132px; resize: vertical; line-height: 1.7; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-3); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--line-2); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(248, 104, 0, 0.12);
}
.field .hint { font-size: 12.5px; color: var(--text-3); }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4); }
.form-note { font-size: 13px; color: var(--text-3); line-height: 1.7; }
.form-status {
  display: none;
  padding: 14px 16px;
  border-radius: var(--r-sm);
  font-size: 14.5px;
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  color: var(--brand-700);
}
.form-status.is-shown { display: block; }
.form-status.is-ok    { background: #f0fdf4; border-color: #bbf7d0; color: #15803d; }
.form-status.is-error { background: #fef2f2; border-color: #fecaca; color: #d93a3a; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

.map-frame {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--ink);
  min-height: 340px;
  display: grid;
  place-items: center;
  color: var(--text-inv-2);
  text-align: center;
  padding: var(--s-5);
}
.map-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 40px 40px;
}
.map-frame > div { position: relative; z-index: 1; }

/* 实拍地图版（替换原「此处嵌入地图」占位） */
.map-frame--photo { display: block; background: #fff; min-height: 0; }
.map-frame--photo::before { content: none; }
.map-frame--photo img { display: block; width: 100%; height: auto; }
.map-cap {
  display: flex; flex-wrap: wrap; gap: 10px 16px;
  align-items: center; justify-content: space-between;
  padding: 14px 18px; border-top: 1px solid var(--line); background: #fff;
}
.map-cap .big { margin: 0; font-size: 16px; font-weight: 700; color: var(--text); }
.map-cap-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.map-cap .src { font-size: 12px; color: var(--text-3); }
@media (max-width: 640px) {
  .map-cap { flex-direction: column; align-items: flex-start; }
}
.map-pin {
  width: 46px;
  height: 46px;
  margin: 0 auto var(--s-3);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--brand);
  color: #fff;
  box-shadow: 0 0 0 8px rgba(248, 104, 0, 0.16);
}

/* ---------- 21. CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, #ff7a14 0%, var(--brand) 46%, #d95800 100%);
  color: #fff;
  padding-block: clamp(46px, 6vw, 80px);
  border-radius: var(--r-lg);
}
.cta-band::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -120px;
  width: 380px;
  height: 380px;
  border: 44px solid rgba(255, 255, 255, 0.09);
  border-radius: 50%;
  pointer-events: none;
}
.cta-band .container { position: relative; z-index: 1; }
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-6);
  flex-wrap: wrap;
}
.cta-band h2 {
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -0.02em;
  color: #fff;
  max-width: 20ch;
}
.cta-band p { font-size: 16.5px; color: rgba(255, 255, 255, 0.9); margin-top: 12px; max-width: 46ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.btn--onbrand { background: #fff; color: var(--brand-700); }
.btn--onbrand:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }

/* ---------- 22. Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--text-inv-2);
  padding-top: var(--s-8);
  font-size: 14.5px;
}
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: var(--s-7);
}
.footer-brand img { height: 34px; width: auto; opacity: 0.96; }
.footer-brand p { margin-top: var(--s-4); max-width: 34ch; line-height: 1.85; font-size: 14px; }
.footer-brand .certs { margin-top: var(--s-4); display: grid; gap: 7px; font-size: 13.5px; }
.footer-brand .certs li { display: flex; align-items: center; gap: 8px; }
.footer-brand .certs li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand);
  flex: none;
}
/* 手机端专用联络行：桌面端由「联络我们」栏承载，故隐藏。
   必须用 .footer-brand .footer-contact，否则被上方 .footer-brand .certs 的 display:grid 盖掉 */
.footer-brand .footer-contact { display: none; }
.footer-contact a { color: var(--brand); }
.footer-contact a:hover { color: #fff; }
.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
}
.footer-col ul { margin-top: var(--s-4); display: grid; gap: 12px; }
.footer-col a { transition: color 0.18s ease, padding-left 0.18s ease; }
.footer-col a:hover { color: var(--brand); padding-left: 4px; }
.footer-col .plain { line-height: 1.8; }

.footer-bottom {
  border-top: 1px solid var(--ink-line);
  padding-block: var(--s-5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  flex-wrap: wrap;
  font-size: 13px;
  color: #7f8a9c;
}
.footer-bottom a:hover { color: var(--brand); }
.footer-bottom .legal { display: flex; gap: var(--s-4); flex-wrap: wrap; }

/* ---------- 23. Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1), transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* ---------- 24. Utility ---------- */
.u-center { text-align: center; }
.u-center .section-head { margin-inline: auto; }
.u-center .eyebrow { justify-content: center; }
.u-mt-0 { margin-top: 0; }
.u-mt-lg { margin-top: var(--s-6); }
.u-mt-xl { margin-top: var(--s-7); }
.u-hidden { display: none !important; }
.u-visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.divider { height: 1px; background: var(--line); border: 0; margin-block: var(--s-6); }

/* ---------- 25. Responsive ---------- */
@media (max-width: 1100px) {
  :root { --gutter: 22px; }
  .nav a { padding: 9px 12px; font-size: 15px; }
  .header-cta .btn { padding: 0 18px; }
  .trustbar ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4) var(--s-3); }
  .footer-top { grid-template-columns: minmax(0, 1fr) repeat(3, minmax(0, 0.8fr)); }
}

@media (max-width: 940px) {
  :root { --s-8: 72px; --s-7: 60px; --header-h: 66px; }

  .nav-toggle { display: block; }
  .nav {
    position: fixed;
    left: 0; right: 0; top: var(--header-h);
    margin: 0;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--sh-2);
    padding: var(--s-3) var(--gutter) var(--s-5);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.26s ease, opacity 0.26s ease, visibility 0.26s;
  }
  .nav-open .nav { transform: none; opacity: 1; visibility: visible; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav a { padding: 15px 12px; font-size: 16.5px; border-bottom: 1px solid var(--bg-soft); border-radius: 0; }
  .nav a[aria-current="page"]::after { display: none; }
  .nav a[aria-current="page"] { background: var(--brand-soft); }
  .header-cta { display: none; }

  .hero-grid, .split, .g-2-1, .g-1-2, .g-sidebar { grid-template-columns: minmax(0, 1fr); }
  .split--flip .split-media { order: 0; }
  .hero { padding-block: 52px 64px; }
  .hero-meta { gap: var(--s-2) var(--s-4); }
  .hero-actions .btn { flex: 1 1 auto; }

  .g-3, .g-4, .stat-band { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .principles { grid-template-columns: minmax(0, 1fr); }
  .principle { border-left: 0; border-top: 1px solid var(--ink-line); padding: var(--s-4) 0; }
  .principle:first-child { border-top: 0; padding-top: 0; }
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-6) var(--s-4); }
  .section-head--split { flex-direction: column; align-items: flex-start; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .cta-actions { width: 100%; }
  .cta-actions .btn { flex: 1 1 auto; }
}

@media (max-width: 640px) {
  :root { --s-8: 58px; --gutter: 18px; }
  body { font-size: 15.5px; }
  .brand img { height: 28px; }
  .sec-desc, .lead { font-size: 16px; }
  .g-2, .g-3, .g-4, .stat-band, .field-row { grid-template-columns: minmax(0, 1fr); }
  .card, .step, .scenario, .contact-card, .loop { padding: var(--s-5) var(--s-4); }
  .tabs { width: 100%; border-radius: var(--r-md); }
  .tab { flex: 1 1 auto; text-align: center; padding: 9px 12px; font-size: 14px; }
  .hero-meta li { flex: 1 1 44%; }
  .footer-top { grid-template-columns: minmax(0, 1fr); }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
  .showcase .swiper-button-next, .showcase .swiper-button-prev { display: none; }
  .spec-table tbody th { width: auto; }
  .quote { padding-left: var(--s-4); }
  .trustbar ul { grid-template-columns: minmax(0, 1fr); }
  .loop-node { flex-wrap: wrap; }
  .loop-node .d { margin-left: 44px; text-align: left; }
  .footer-brand img, .brand img { max-width: 190px; }
  /* 手机端页脚：隐藏三栏链接区，联络信息改由品牌块内的 .footer-contact 承载 */
  .footer-col { display: none; }
  .footer-brand .footer-contact { display: grid; }
  .footer-top { padding-bottom: var(--s-6); }
}

/* ---------- 26. Supplementary components ---------- */

/* form validation state */
.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: #d93a3a;
  background: #fff5f5;
}
.field.has-error label { color: #d93a3a; }
.field.has-error .hint::after {
  content: "此项需正确填写";
  color: #d93a3a;
  font-weight: 600;
}

/* Swiper CDN 不可达时的降级：原生横向滚动，内容不丢失 */
.no-swiper .swiper-wrapper {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: var(--s-4);
}
.no-swiper .swiper-slide { flex: 0 0 84%; scroll-snap-align: start; }
.no-swiper .swiper-pagination { display: none; }
.showcase .no-swiper ~ .swiper-button-next,
.showcase .no-swiper ~ .swiper-button-prev { display: none; }

/* hero badge row */
.hero-badges { display: flex; flex-wrap: wrap; gap: 9px; margin-top: var(--s-5); }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px 6px 10px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-inv-2);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--ink-line);
  border-radius: var(--r-pill);
}
.hero-badge svg { width: 13px; height: 13px; color: var(--brand); flex: none; }

/* media placeholder frame (等真实项目照片替换) */
.media-frame {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(155deg, #1a2130 0%, #0e1219 100%);
  display: grid;
  place-items: center;
  color: var(--text-inv-2);
}
.media-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 30px 30px;
}
.media-frame::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -80px;
  bottom: -110px;
  background: radial-gradient(circle, rgba(248, 104, 0, 0.34), transparent 68%);
}
.media-frame > div { position: relative; z-index: 1; text-align: center; padding: var(--s-4); }
.media-frame .cap { font-size: 13px; letter-spacing: 0.04em; }
.media-frame .big {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}
.media-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }

/* 实拍照片版（替换原「此处替换为实拍照片」占位） */
.media-frame--photo { aspect-ratio: 16 / 9; background: #0e1219; }
.media-frame--photo::before,
.media-frame--photo::after { content: none; }
.media-frame--photo img { object-position: center; }
.media-cap {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 30px 18px 14px;
  font-size: 14px; font-weight: 600; letter-spacing: .02em; color: #fff;
  background: linear-gradient(to top, rgba(10, 14, 20, .74), rgba(10, 14, 20, 0));
}

/* stacked list with rules (服务清单) */
.rule-list { display: grid; }
.rule-list > li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: start;
  gap: var(--s-3);
  padding: var(--s-4) 0;
  border-bottom: 1px solid var(--line);
}
.rule-list > li:first-child { padding-top: 0; }
.rule-list > li:last-child { border-bottom: 0; }
.rule-list .rn {
  font-family: var(--ff-num);
  font-size: 13px;
  font-weight: 700;
  color: var(--brand);
  padding-top: 3px;
}
.rule-list h4 { font-size: 17px; font-weight: 700; }
.rule-list p { font-size: 14.5px; color: var(--text-2); margin-top: 5px; line-height: 1.75; }
.rule-list .rtag {
  font-size: 12.5px;
  color: var(--text-3);
  white-space: nowrap;
  padding-top: 4px;
}

/* sticky in-page anchor nav */
.toc { position: sticky; top: calc(var(--header-h) + 26px); }
.toc h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
}
.toc ol { margin-top: var(--s-3); display: grid; gap: 2px; counter-reset: toc; }
.toc a {
  display: block;
  padding: 9px 12px;
  font-size: 14.5px;
  color: var(--text-2);
  border-left: 2px solid var(--line);
  transition: color 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}
.toc a:hover { color: var(--brand); border-left-color: var(--brand); background: var(--brand-soft); }
.toc a.is-active { color: var(--brand-700); font-weight: 600; border-left-color: var(--brand); background: var(--brand-soft); }

/* 关于页价值观栅格：卡片本体复用 .card .card--ink。
   此处不得再定义裸类 .value —— 联络页用 <p class="value"> 作排版类，会被误伤成带边框的盒子 */
.value-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4); }

/* qualification / partner grid */
.cert-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-4); }
.cert {
  padding: var(--s-5);
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cert .ct { font-size: 17px; font-weight: 700; }
.cert .cd { font-size: 14px; color: var(--text-2); line-height: 1.75; }
.cert .cnote { margin-top: auto; font-size: 12.5px; color: var(--text-3); }

/* accordion / FAQ */
.acc { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  padding: var(--s-5) 0;
  text-align: left;
  font-size: 17.5px;
  font-weight: 600;
  color: var(--text);
  transition: color 0.18s ease;
}
.acc-btn:hover { color: var(--brand); }
.acc-btn .pm {
  position: relative;
  width: 26px;
  height: 26px;
  flex: none;
  border-radius: 50%;
  border: 1.5px solid var(--line-2);
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.25s ease;
}
.acc-btn .pm::before, .acc-btn .pm::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 11px; height: 1.8px;
  background: currentColor;
  transform: translate(-50%, -50%);
}
.acc-btn .pm::after { transform: translate(-50%, -50%) rotate(90deg); transition: opacity 0.2s ease; }
.acc-btn[aria-expanded="true"] .pm { background: var(--brand); border-color: var(--brand); color: #fff; transform: rotate(180deg); }
.acc-btn[aria-expanded="true"] .pm::after { opacity: 0; }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.3s ease; }
.acc-panel > div { overflow: hidden; }
.acc-btn[aria-expanded="true"] + .acc-panel { grid-template-rows: 1fr; }
.acc-panel p { font-size: 15px; color: var(--text-2); line-height: 1.85; padding-bottom: var(--s-5); max-width: 78ch; }

/* placeholder-data notice (标注待核实内容) */
.note-strip {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 13px 16px;
  border-radius: var(--r-sm);
  background: var(--bg-soft);
  border: 1px dashed var(--line-2);
  font-size: 13.5px;
  color: var(--text-2);
  line-height: 1.7;
}
.note-strip svg { width: 17px; height: 17px; flex: none; margin-top: 3px; color: var(--brand); }
.note-strip code {
  font-family: var(--ff-mono);
  font-size: 12.5px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 1px 5px;
  color: var(--brand-700);
}

/* section index watermark */
.sec-index {
  font-family: var(--ff-num);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--text-3);
}
.section--ink .sec-index { color: rgba(255, 255, 255, 0.4); }

/* back-to-top */
.to-top {
  position: fixed;
  right: 22px;
  bottom: 26px;
  z-index: 60;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--sh-2);
  color: var(--text);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s, background-color 0.2s ease, color 0.2s ease;
}
.to-top.is-shown { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--brand); border-color: var(--brand); color: #fff; }

@media (max-width: 940px) {
  .value-grid, .cert-grid { grid-template-columns: minmax(0, 1fr); }
  .toc { position: static; }
  .rule-list > li { grid-template-columns: 26px minmax(0, 1fr); }
  .rule-list .rtag { grid-column: 2; padding-top: 0; }
}

/* ---------- 27. Footer socials（平台图标 + 二维码浮层） ----------
   替代原 .certs 资质列表：横向排列、无项目符号。
   桌面 hover 展开，触屏点按展开（JS 切 .is-open）。 */
.socials {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: var(--s-4);
  padding: 0;
  list-style: none;
  /* 二维码浮层的定位基准（而不是单个 44px 图标） */
  position: relative;
}
/* .social 必须保持 static：浮层若以图标为基准，216px 宽的卡片
   会随图标位置左右溢出——窄屏顶出右边缘（整页横向滚动条），
   平板/笔记本宽度下第一个图标又会顶出左边缘。 */
.social { position: static; }
.social-btn {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: var(--r-sm);
  border: 1px solid var(--ink-line);
  background: rgba(255, 255, 255, 0.06);
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.social-btn img { width: 20px; height: 20px; object-fit: contain; display: block; }
.social-btn:hover,
.social.is-open .social-btn {
  background:#fff;
  border-color: var(--brand);
  transform: translateY(-2px);
}
/* 图标素材未放到 assets/img 时的占位，避免出现破图 */
.social.icon-missing .social-btn img { visibility: hidden; }
.social.icon-missing .social-btn::before {
  content: attr(data-short);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-inv-2);
}
.social.icon-missing .social-btn:hover::before { color: #fff; }

.social-pop {
  position: absolute;
  bottom: calc(100% + 14px);
  left: 50%;
  width: 216px;
  padding: 10px;
  background: #fff;
  border-radius: var(--r-md);
  box-shadow: var(--sh-2);
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  z-index: 6;
}
.social-pop::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 12px;
  height: 12px;
  background: #fff;
  transform: translateX(-50%) rotate(45deg);
}
/* 二维码卡片为 464×635 竖版，按原比例显示，不要塞进正方形里 letterbox。
   196px 宽是下限——再小设计稿里的平台名和小字就糊了 */
.social-pop img { width: 196px; height: auto; display: block; margin-inline: auto; border-radius: var(--r-sm); }
/* 二维码素材未就位时的虚线占位（比例与真实卡片一致） */
.social-pop.qr-missing img { display: none; }
.social-pop.qr-missing::before {
  content: "二维码待补充";
  display: grid;
  place-items: center;
  width: 196px;
  height: 268px;
  margin-inline: auto;
  border: 1px dashed var(--line-2);
  border-radius: var(--r-sm);
  font-size: 12px;
  color: var(--text-3);
}
.social:hover .social-pop,
.social:focus-within .social-pop,
.social.is-open .social-pop {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

/* 版权栏里的署名 */
.powered { color: #7f8a9c; }
.powered:hover { color: var(--brand); }
