/* 金融解决方案页（10-31 韩震华定用 C 版：技术栈自下而上三层）。 */

/* ---------- 共用 ---------- */
.v22-detail-page.fin-page .c24-hero-title:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
  text-wrap: balance;
}
.fin-page .fin-sub:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
  margin-top: -6px;
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.6;
  font-weight: 600;
  color: var(--c-accent);
  text-wrap: balance;
}
.fin-page .fin-nb:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
  white-space: nowrap;
}
.fin-page .c24-step-head > p:not(.c24-case-org):where(:not(.nh, .nh *, .nh-home, .nh-home > body)),.fin-page .fin-gain-card p:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
  text-wrap: balance;
}
.fin-page .fin-link:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
  color: var(--c-accent);
  font-weight: 600;
  text-underline-offset: 4px;
}
.fin-page .fin-link:hover:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
  text-decoration: underline;
}
.fin-page .fin-prods:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
  padding-top: 72px;
}
.fin-page .fin-prods .c24-links:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 0;
}
.fin-page .fin-prods .c24-product:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
  grid-template-columns: minmax(0, 1fr) auto;
}
.fin-page .c24-lede:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
  text-wrap: pretty;
}
.fin-page .page-end:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
  margin-top: 96px;
}

/* ---------- 版本 C ---------- */
/* 首屏右侧：自下而上的三层，底层最深 */
.fin-c .fin-stack:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
  display: grid;
  gap: 18px;
  padding: 26px 26px 28px;
  border: 1px solid var(--c-line);
  border-radius: 20px;
  background: var(--c-surface);
}
.fin-c .fin-stack figcaption:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.fin-c .fin-stack figcaption strong:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
  font-size: 18px;
  line-height: 1.5;
  font-weight: 650;
  color: var(--c-ink);
}
.fin-c .fin-stack figcaption span:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.08em;
  white-space: nowrap;
  color: var(--c-accent);
}
.fin-c .fin-stack-list:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
  display: grid;
  gap: 10px;
}
.fin-c .fin-stack-list li:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  column-gap: 14px;
  row-gap: 2px;
  align-items: center;
  padding: 16px 20px;
  border-radius: 14px;
  background: var(--c-soft);
}
.fin-c .fin-stack-pos:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
  grid-row: 1 / span 2;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: 0.06em;
  color: var(--c-accent);
}
.fin-c .fin-stack-list b:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
  font-size: 18px;
  line-height: 1.5;
  font-weight: 650;
  color: var(--c-ink);
}
.fin-c .fin-stack-prod:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
  font-size: 14px;
  line-height: 1.5;
  color: var(--c-muted);
}
.fin-c .fin-stack-list .fin-stack-mid:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
  background: var(--c-accent-soft);
}
.fin-c .fin-stack-list .fin-stack-base:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
  background: var(--c-night);
}
.fin-c .fin-stack-base .fin-stack-pos:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
  color: var(--c-night-accent);
}
.fin-c .fin-stack-base b:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
  color: var(--c-night-ink);
}
.fin-c .fin-stack-base .fin-stack-prod:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
  color: var(--c-night-muted);
}

/* 每层：业务条线 / 科技部门各得到什么 */
.fin-c .c24-step-head .c24-link:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
  justify-self: start;
  margin-top: 4px;
  white-space: normal;
}
.fin-c .fin-gain:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.fin-c .fin-gain-card:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 18px 22px 20px;
  border-radius: 14px;
  background: var(--c-soft);
}
.fin-c .fin-gain-card:last-child:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
  background: var(--c-night);
}
.fin-c .fin-gain-who:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
  font-size: 13px;
  line-height: 1.5;
  font-weight: 650;
  letter-spacing: 0.08em;
  color: var(--c-accent);
}
.fin-c .fin-gain-card:last-child .fin-gain-who:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
  color: var(--c-night-accent);
}
.fin-c .fin-gain-card p:not(.fin-gain-who):where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
  font-size: 16px;
  line-height: 1.75;
  font-weight: 600;
  color: var(--c-ink);
  text-wrap: pretty;
}
.fin-c .fin-gain-card:last-child p:not(.fin-gain-who):where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
  color: var(--c-night-ink);
}

/* 案例收尾：深色大卡，左文右两个数字 */
.fin-c .fin-case:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: center;
  gap: 48px;
  padding: 48px;
  border-radius: 24px;
  background: var(--c-night);
}
.fin-c .fin-case-copy:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
  display: grid;
  gap: 16px;
}
.fin-c .fin-case .eyebrow:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
  color: var(--c-night-accent);
}
.v22-detail-page.fin-c .fin-case h2:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
  margin: 0;
  font-size: clamp(26px, 2.8vw, 36px);
  line-height: 1.3;
  letter-spacing: -0.02em;
  font-weight: 650;
  color: #fff;
  text-wrap: balance;
}
.fin-c .fin-case-copy p:not(.eyebrow):where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
  font-size: 17px;
  line-height: 1.85;
  color: var(--c-night-muted);
  text-wrap: pretty;
}
.fin-c .fin-case .fin-link:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
  color: var(--c-night-accent);
}
.fin-c .fin-case-stats:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  padding: 28px 0 24px;
  border-radius: 18px;
  background: var(--c-night-card);
  border: 1px solid var(--c-night-line);
}
.fin-c .fin-case-stats > div:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 8px;
  padding: 0 12px;
  text-align: center;
}
.fin-c .fin-case-stats > div + div:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
  border-left: 1px solid var(--c-night-line);
}
.fin-c .fin-case-stats dt:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
  order: 2;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 600;
  color: var(--c-night-muted);
}
.fin-c .fin-case-stats dd:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
  order: 1;
}
.fin-c .fin-case-stats b:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
  font-family: var(--c-num);
  font-size: clamp(44px, 5vw, 64px);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.01em;
  font-variant-numeric: lining-nums tabular-nums;
  color: #fff;
}
.fin-c .fin-case-stats .fin-case-note:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
  grid-column: 1 / -1;
  order: 3;
  padding: 18px 0 0;
  border-left: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--c-night-muted);
}
.fin-c .fin-case-stats > .fin-case-note:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
  margin-top: 6px;
}

/* ---------- 窄屏 ---------- */
@media (max-width: 1080px) {
  .fin-page .fin-prods .c24-links:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
    grid-template-columns: minmax(0, 1fr);
  }
  .fin-c .fin-case:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
}
@media (max-width: 760px) {
  .fin-c .fin-stack:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
    padding: 22px 18px 22px;
  }
  .fin-c .fin-stack-list li:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
    grid-template-columns: 42px minmax(0, 1fr);
    column-gap: 10px;
    padding: 14px 16px;
  }
  .fin-c .fin-gain:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
    grid-template-columns: minmax(0, 1fr);
  }
  .fin-c .fin-case:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
    padding: 30px 22px 26px;
    border-radius: 20px;
  }
  .fin-c .fin-case-copy p:not(.eyebrow):where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
    font-size: 16px;
  }
  .fin-page .fin-prods:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
    padding-top: 56px;
  }
  .fin-page .page-end:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
    margin-top: 72px;
  }
}

/* 数字卡标签在 320–360 宽会把「升」单独挤到第二行：两行时平均分配。 */
.fin-page dt:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
  text-wrap: balance;
}
