/*
 * 能保科技官网 · 设计系统
 *
 * 主色 #2A66B1 与 miniprogram/app.wxss 是同四个令牌，不另起一套——
 * 官网的定位是小程序的门面（官网需求 §0），两端必须读起来是同一个品牌。
 * 「新能源行业感」（需求 §4）从 accent、渐变与插画拿，不靠换主色拿。
 * 不要引入 #087a69：那是 codex 演示小程序杜撰的颜色（见 CLAUDE.md 一.15）。
 */

:root {
  --nb-primary: #2a66b1;
  --nb-primary-dark: #1f4e88;
  --nb-primary-light: #f1f8ff;
  --nb-text: #1f2937;

  /* 官网扩展令牌 */
  --nb-text-soft: #56637a;
  /* 原来是 #8a94a6，白底对比度只有 3.06:1、浅灰区块上 2.90:1，达不到小字 4.5:1 的线，
     日期/数量/面包屑/表单提示这些 12–13px 的字全靠它，实测就是发虚的主因。
     #657287 在白底 4.87:1、浅灰底 4.62:1，都过线。 */
  --nb-text-faint: #657287;
  --nb-line: #e3e9f2;
  --nb-line-soft: #eef2f8;
  --nb-bg: #ffffff;
  --nb-bg-soft: #f7f9fc;
  --nb-ink: #10203a; /* 页脚与 hero 的深底 */

  /* accent 只用于点缀：电力感的亮蓝 + hero 渐变里的能源青 */
  --nb-accent: #3fa9e0;
  --nb-energy: #00b8a9;

  --nb-r-sm: 8px;
  --nb-r: 12px;
  --nb-r-lg: 18px;
  --nb-shadow: 0 1px 2px rgba(16, 32, 58, 0.04), 0 8px 24px rgba(16, 32, 58, 0.06);
  --nb-shadow-lift: 0 2px 6px rgba(16, 32, 58, 0.06), 0 18px 44px rgba(16, 32, 58, 0.12);

  /*
   * 内容容器宽度。**不要写死一个值**——原来固定 1180px，实测：
   *   1280 视口 内容占 88%   1440 → 79%   1680 → 67%   1920 → 59%   2560 → 44%
   * 也就是说在 1920 的屏幕上两边各空 370px，页面像漂在中间一条。
   * 改成随视口分档放大（下面两个 media query），大屏上内容占比稳定在 70%+。
   * 上限不是无限放大：文字块另有 max-width 兜着（见 .nb-prose / .nb-article / .nb-legal），
   * 容器变宽主要让多列栅格和 hero 用起来，不会把正文行长拉到读不动。
   */
  --nb-max: 1320px;
  --nb-gut: 24px;
}

@media (min-width: 1700px) {
  :root {
    --nb-max: 1480px;
    --nb-gut: 32px;
  }
}

@media (min-width: 2000px) {
  :root {
    --nb-max: 1640px;
    --nb-gut: 40px;
  }
}

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

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

body {
  margin: 0;
  background: var(--nb-bg);
  color: var(--nb-text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB',
    'Microsoft YaHei', 'Source Han Sans SC', sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--nb-primary);
  text-decoration: none;
}

a:hover {
  color: var(--nb-primary-dark);
}

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* ---------- 布局骨架 ---------- */

.nb-wrap {
  max-width: var(--nb-max);
  margin: 0 auto;
  padding: 0 var(--nb-gut);
}

/*
 * 纵向节奏分三级，不要全站一律 88px。
 * 原来所有 section 都是 88px、标题区一律 44px，于是"优势""单条资讯""渠道条""留资"
 * 拥有完全相同的舞台；产品中心里「4 款充电桩」和「1 款光伏」也占一样的空间，
 * 内容越少越显空洞。
 *   --major 核心区块（hero 之后的第一屏、转化区）
 *   默认     常规内容区
 *   --tight  目录、资讯、承接区
 */
.nb-section {
  padding: 68px 0;
}

.nb-section--major {
  padding: 86px 0;
}

.nb-section--tight {
  padding: 50px 0;
}

.nb-section--soft {
  background: var(--nb-bg-soft);
}

.nb-section__head {
  max-width: 720px;
  margin-bottom: 32px;
}

.nb-section--major .nb-section__head {
  margin-bottom: 44px;
}

.nb-section--tight .nb-section__head {
  margin-bottom: 24px;
}

.nb-section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--nb-primary);
  margin-bottom: 14px;
}

.nb-section__eyebrow::before {
  content: '';
  width: 18px;
  height: 2px;
  background: linear-gradient(90deg, var(--nb-primary), var(--nb-energy));
  border-radius: 2px;
}

.nb-section__title {
  font-size: 34px;
}

.nb-section__desc {
  margin-top: 14px;
  color: var(--nb-text-soft);
  font-size: 16px;
}

/* ---------- 顶部导航 ---------- */

.nb-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(1.6) blur(12px);
  border-bottom: 1px solid var(--nb-line-soft);
}

.nb-header__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 72px;
}

.nb-logo {
  display: flex;
  align-items: center;
  flex: none;
}

.nb-logo img {
  height: 34px;
  width: auto;
}

.nb-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1 1 auto;
}

.nb-nav a {
  position: relative;
  padding: 8px 14px;
  border-radius: var(--nb-r-sm);
  color: var(--nb-text);
  font-size: 15px;
  transition: background 0.15s ease, color 0.15s ease;
}

.nb-nav a:hover {
  background: var(--nb-primary-light);
  color: var(--nb-primary-dark);
}

.nb-nav a[aria-current='page'] {
  color: var(--nb-primary);
  font-weight: 600;
}

.nb-nav a[aria-current='page']::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--nb-primary), var(--nb-accent));
}

.nb-header__cta {
  flex: none;
}

/* 汉堡按钮与抽屉：<details>/<summary>，零 JS 且原生键盘可达。PC 下不出现 */
.nb-menu {
  display: none;
  flex: none;
}

.nb-burger {
  display: flex;
  width: 40px;
  height: 40px;
  border-radius: var(--nb-r-sm);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  /* 去掉 summary 的默认三角 */
  list-style: none;
}

.nb-burger::-webkit-details-marker {
  display: none;
}

.nb-burger span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--nb-text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* 抽屉铺满整条页头下方：定位基准是 sticky 的 .nb-header */
.nb-drawer {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  border-top: 1px solid var(--nb-line-soft);
  border-bottom: 1px solid var(--nb-line);
  background: #fff;
  padding: 8px 0 14px;
  box-shadow: var(--nb-shadow);
}

.nb-drawer a {
  display: block;
  padding: 12px 4px;
  font-size: 16px;
  color: var(--nb-text);
  border-bottom: 1px solid var(--nb-line-soft);
}

.nb-drawer a:last-child {
  border-bottom: none;
}

.nb-drawer a[aria-current='page'] {
  color: var(--nb-primary);
  font-weight: 600;
}

.nb-menu[open] .nb-burger span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nb-menu[open] .nb-burger span:nth-child(2) {
  opacity: 0;
}

.nb-menu[open] .nb-burger span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/*
 * 焦点样式。原来全站只有输入框有 :focus，键盘用户在深色 hero 上按 Tab
 * 完全不知道自己在哪。用 :focus-visible 只对键盘生效，鼠标点击不会出现描边。
 */
:focus-visible {
  outline: 2px solid var(--nb-primary);
  outline-offset: 3px;
  border-radius: 4px;
}

/* 深色底上换成白描边，蓝色描边在深蓝 hero 上看不见 */
.nb-hero :focus-visible,
.nb-pagehero :focus-visible,
.nb-band :focus-visible,
.nb-footer :focus-visible {
  outline-color: #fff;
}

/* ---------- 按钮 ---------- */

.nb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.nb-btn--primary {
  background: var(--nb-primary);
  color: #fff;
  box-shadow: 0 6px 18px rgba(42, 102, 177, 0.28);
}

.nb-btn--primary:hover {
  background: var(--nb-primary-dark);
  color: #fff;
  transform: translateY(-1px);
}

.nb-btn--ghost {
  background: #fff;
  color: var(--nb-primary);
  border-color: #cddff2;
}

.nb-btn--ghost:hover {
  background: var(--nb-primary-light);
  color: var(--nb-primary-dark);
}

.nb-btn--onDark {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.34);
}

.nb-btn--onDark:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

/*
 * 深色 hero 里的主操作。
 * 不能再用 .nb-btn--primary：蓝底按钮压在蓝底 hero 上，轮廓几乎融进去，
 * 主次两个按钮看着一样重。白底蓝字才是深色背景上分量最足的那一个。
 */
.nb-btn--onDarkPrimary {
  background: #fff;
  color: var(--nb-primary-dark);
  box-shadow: 0 8px 24px rgba(8, 22, 44, 0.28);
}

.nb-btn--onDarkPrimary:hover {
  background: #f2f7fd;
  color: var(--nb-primary-dark);
  transform: translateY(-1px);
}

.nb-btn--sm {
  padding: 9px 18px;
  font-size: 14px;
}

.nb-btn--block {
  width: 100%;
}

/* ---------- Hero ---------- */

.nb-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(118deg, #16325c 0%, var(--nb-primary-dark) 46%, #2f74c4 100%);
  color: #fff;
}

.nb-hero__art {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/*
 * hero 用显式区域布局，是为了**手机端能把太阳码排到统计数字之前**。
 * 太阳码是官网仅有的两个转化出口之一；原来统计数字跟文案在同一个 div 里，
 * 单列堆叠后要滚过四项统计才看得到二维码，转化入口被自己的装饰性数字挡住了。
 * 拆成 copy / aside / stats 三块之后，移动端用 order 重排即可。
 */
.nb-hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  grid-template-areas:
    'copy  aside'
    'stats aside';
  gap: 0 56px;
  align-items: center;
  /* 左右必须写 var(--nb-gut)：这个元素同时挂着 .nb-wrap，
     padding 简写会把 .nb-wrap 的左右留白清成 0。PC 上有 max-width 顶着看不出来，
     390px 下整段文案直接贴屏幕边——手机端实测才发现的。 */
  padding: 96px var(--nb-gut) 104px;
}

.nb-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 13px;
  letter-spacing: 0.02em;
}

.nb-hero__badge i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--nb-energy);
  box-shadow: 0 0 0 4px rgba(0, 184, 169, 0.22);
}

.nb-hero__title {
  margin: 22px 0 0;
  font-size: 50px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.nb-hero__slogan {
  margin-top: 18px;
  font-size: 21px;
  font-weight: 500;
  color: #d7e6fa;
  letter-spacing: 0.04em;
}

.nb-hero__desc {
  margin-top: 20px;
  max-width: 560px;
  font-size: 16px;
  color: rgba(232, 240, 251, 0.82);
}

.nb-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

/*
 * 右侧那一格没有内容时收成单列。
 * 小程序关掉之后 hero 的太阳码卡不渲染，如果还按 1fr + 320px 排，
 * 标题和正文会被挤在左边一半、右边空着 320px。
 */
.nb-hero__inner--solo {
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: 'copy' 'stats';
}

.nb-prodhero__inner--solo,
.nb-prodbody--solo {
  grid-template-columns: minmax(0, 1fr);
}

.nb-hero__copy {
  grid-area: copy;
}

.nb-hero__aside {
  grid-area: aside;
}

.nb-hero__stats {
  grid-area: stats;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 44px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.nb-hero__stat b {
  display: block;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.nb-hero__stat span {
  font-size: 13px;
  color: rgba(226, 236, 250, 0.7);
}

/* 小程序码卡片 */
.nb-qrcard {
  background: #fff;
  border-radius: var(--nb-r-lg);
  padding: 24px;
  color: var(--nb-text);
  text-align: center;
  box-shadow: var(--nb-shadow-lift);
}

.nb-qrcard__title {
  font-size: 17px;
  font-weight: 600;
}

.nb-qrcard__desc {
  margin-top: 6px;
  font-size: 13px;
  color: var(--nb-text-soft);
}

.nb-qrcard__code {
  margin: 18px auto 0;
  width: 168px;
  height: 168px;
  border-radius: var(--nb-r);
  background: var(--nb-primary-light);
  border: 1px solid var(--nb-line);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.nb-qrcard__code img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nb-qrcard__foot {
  margin-top: 14px;
  font-size: 12px;
  color: var(--nb-text-faint);
}

/* 小程序未上线时的替代卡：没有码，靠一个留资按钮承接 */
.nb-qrcard--lead {
  text-align: left;
}

.nb-qrcard--lead .nb-btn {
  margin-top: 18px;
}

.nb-qrcard--lead .nb-qrcard__foot {
  text-align: center;
}

/* ---------- 卡片通用 ---------- */

.nb-card {
  background: #fff;
  border: 1px solid var(--nb-line);
  border-radius: var(--nb-r-lg);
  padding: 28px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.nb-card--link:hover {
  transform: translateY(-3px);
  box-shadow: var(--nb-shadow-lift);
  border-color: #cddff2;
}

/*
 * 静态内容不要用 .nb-card。
 * 白底 + 描边 + 18px 圆角这套是"可点击"的视觉语言，用在优势、合作支持这类
 * 不可点的说明上，读者会以为能点，连续十几张白框还会把页面变成"卡片汤"，
 * 反过来削弱真正的产品入口与转化卡。静态内容走这一套安静样式：无边框、
 * 顶部一道短线代替描边。
 */
.nb-quiet {
  padding: 20px 0 0;
  border-top: 2px solid var(--nb-primary-light);
}

.nb-quiet .nb-adv__num {
  color: var(--nb-primary);
}

.nb-quiet .nb-adv__title {
  margin-top: 8px;
}

.nb-grid {
  display: grid;
  gap: 20px;
}

/* 只有一条内容时别让它横跨整个 1180px，那会变成一条空旷横条 */
.nb-grid--1 {
  grid-template-columns: minmax(0, 1fr);
  max-width: 760px;
}

.nb-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.nb-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.nb-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* 行业入口卡：实景图打头，图上压一个行业图标 */
.nb-sector {
  display: flex;
  flex-direction: column;
  color: inherit;
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--nb-line);
  border-radius: var(--nb-r-lg);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.nb-sector:hover {
  color: inherit;
}

.nb-sector__media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--nb-primary-light);
  overflow: hidden;
}

.nb-sector__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.nb-sector:hover .nb-sector__img {
  transform: scale(1.04);
}

.nb-sector__body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

/* 图标压在图片左下角，是「这张图属于哪个行业」的锚点，不是装饰 */
.nb-sector__icon {
  position: absolute;
  left: 14px;
  bottom: 14px;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.94);
  color: var(--nb-primary);
  box-shadow: 0 4px 14px rgba(16, 32, 58, 0.18);
}

.nb-sector__name {
  font-size: 19px;
  font-weight: 600;
}

.nb-sector__desc {
  margin-top: 8px;
  font-size: 14px;
  color: var(--nb-text-soft);
  min-height: 44px;
}

.nb-sector__desc {
  flex: 1 1 auto;
}

.nb-sector__more {
  margin-top: 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--nb-primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* 产品条目 */
/*
 * 首页的 10 款产品概览。
 * 需求 §2 首页那一行明确要求「10 款产品概览」，所以**不能删成 4 款代表产品**；
 * 但它确实不该和"四大行业入口"用同样的力度说话——这里靠压密度让它退到次要位置：
 * 更小的卡内边距、更小的标题、更紧的分组间距。完整清单仍在产品中心页展开讲。
 */
.nb-prodgroup + .nb-prodgroup {
  margin-top: 26px;
}

.nb-prodgroup__head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding-bottom: 10px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--nb-line);
}

.nb-prodgroup__name {
  font-size: 17px;
  font-weight: 600;
}

.nb-prodgroup__count {
  font-size: 13px;
  color: var(--nb-text-faint);
}

/*
 * 产品分组不要用固定四列。
 * 各组数量是 4 / 3 / 1 / 2，固定四列时储能空 1 格、光伏空 3 格、施工空 2 格，
 * 容器越宽这些空位越显眼——这是"两边留白太多"之外第二处空洞感的来源。
 * 改成 flex 自适应：卡片按可用宽度均分，同时给一个 max-width，
 * 免得"光伏 1 款"被拉成横跨整行的一条。
 */
.nb-prodrow {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.nb-prodrow .nb-prod {
  flex: 1 1 240px;
  max-width: 420px;
}

/* 平铺后每张卡自报所属行业，分组标题就不必再摆一遍 */
.nb-prod__cat {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--nb-primary);
  margin-bottom: 6px;
}

.nb-prod {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--nb-line);
  border-radius: var(--nb-r);
  color: inherit;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

/*
 * 产品封面。原图是 3:4 竖版（420×560），首页卡里裁成 16:10 的横条——
 * 卡片本身要平铺成 5×2，用竖图会把整页拉得很长。
 * README 里明确说过"主体尽量居中"，所以居中裁不会切到重点。
 */
.nb-prod__media {
  aspect-ratio: 16 / 10;
  background: var(--nb-primary-light);
  overflow: hidden;
}

.nb-prod__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.nb-prod:hover .nb-prod__media img {
  transform: scale(1.05);
}

.nb-prod__body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 14px 16px 16px;
}

.nb-prod:hover {
  color: inherit;
  transform: translateY(-2px);
  border-color: #cddff2;
  box-shadow: var(--nb-shadow);
}

.nb-prod__name {
  font-size: 15px;
  font-weight: 600;
}

.nb-prod__sub {
  margin-top: 6px;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--nb-text-soft);
  flex: 1 1 auto;
}

.nb-tag {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  margin-top: 12px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  background: var(--nb-primary-light);
  color: var(--nb-primary);
}

.nb-tag--muted {
  background: #f1f3f7;
  color: var(--nb-text-soft);
}

/* 优势 */
.nb-adv__num {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--nb-accent);
}

.nb-adv__title {
  margin-top: 12px;
  font-size: 18px;
  font-weight: 600;
}

.nb-adv__desc {
  margin-top: 10px;
  font-size: 14px;
  color: var(--nb-text-soft);
}

/* 资讯卡 */
.nb-post {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
}

.nb-post:hover {
  color: inherit;
}

.nb-post__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--nb-text-faint);
}

.nb-post__cat {
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--nb-primary-light);
  color: var(--nb-primary);
  font-weight: 500;
}

.nb-post__title {
  margin-top: 14px;
  font-size: 17px;
  font-weight: 600;
}

.nb-post__sum {
  margin-top: 10px;
  font-size: 14px;
  color: var(--nb-text-soft);
  flex: 1 1 auto;
}

/* 渠道引导条 */
.nb-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--nb-r-lg);
  background: linear-gradient(112deg, var(--nb-primary-dark), #2f74c4);
  color: #fff;
  padding: 48px 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.nb-band__title {
  font-size: 28px;
  font-weight: 600;
}

.nb-band__desc {
  margin-top: 12px;
  max-width: 620px;
  color: rgba(228, 238, 251, 0.84);
  font-size: 15px;
}

/* ---------- 留资表单 ---------- */

.nb-form {
  background: #fff;
  border: 1px solid var(--nb-line);
  border-radius: var(--nb-r-lg);
  padding: 32px;
  box-shadow: var(--nb-shadow);
}

.nb-form__title {
  font-size: 22px;
  font-weight: 600;
}

.nb-form__desc {
  margin-top: 8px;
  font-size: 14px;
  color: var(--nb-text-soft);
}

.nb-field {
  margin-top: 18px;
}

.nb-field__label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
}

.nb-field__label em {
  font-style: normal;
  color: #d9534f;
  margin-left: 2px;
}

.nb-input,
.nb-select,
.nb-textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--nb-line);
  border-radius: var(--nb-r-sm);
  background: #fff;
  font: inherit;
  font-size: 15px;
  color: var(--nb-text);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.nb-input:focus,
.nb-select:focus,
.nb-textarea:focus {
  outline: none;
  border-color: var(--nb-primary);
  box-shadow: 0 0 0 3px rgba(42, 102, 177, 0.12);
}

.nb-textarea {
  min-height: 92px;
  resize: vertical;
}

.nb-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%2356637a' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}

.nb-field--row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.nb-captcha {
  display: grid;
  grid-template-columns: 1fr 116px;
  gap: 12px;
  align-items: center;
}

/* 错误页 / 留资结果页 */
.nb-errpage {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
  padding: 40px 0 24px;
}

.nb-errpage__code {
  font-size: 72px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  background: linear-gradient(120deg, var(--nb-primary), var(--nb-accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nb-errpage__title {
  margin-top: 20px;
  font-size: 28px;
}

.nb-errpage__desc {
  margin-top: 14px;
  color: var(--nb-text-soft);
}

.nb-errpage__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.nb-captcha__img {
  height: 44px;
  /* 它现在是 <button>，得把浏览器默认样式抹掉 */
  padding: 0;
  font: inherit;
  appearance: none;
  border-radius: var(--nb-r-sm);
  border: 1px solid var(--nb-line);
  background: var(--nb-bg-soft);
  display: grid;
  place-items: center;
  font-size: 12px;
  color: var(--nb-text-faint);
  cursor: pointer;
  user-select: none;
  /* 图挂了也不许撑破这个格子 */
  overflow: hidden;
}

.nb-agree {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 18px;
  font-size: 13px;
  color: var(--nb-text-soft);
}

.nb-agree input {
  margin-top: 4px;
  flex: none;
  accent-color: var(--nb-primary);
}

.nb-form__submit {
  margin-top: 22px;
}

.nb-form__note {
  margin-top: 14px;
  font-size: 12px;
  color: var(--nb-text-faint);
  text-align: center;
}

/* ---------- 产品详情 ---------- */

.nb-crumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--nb-text-faint);
  padding: 20px 0;
  /* 产品名很长，手机上不换行改横滑，免得挤压或撑破容器 */
  white-space: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}

.nb-crumb::-webkit-scrollbar {
  display: none;
}

.nb-crumb a {
  color: var(--nb-text-soft);
}

.nb-prodhero {
  background: var(--nb-bg-soft);
  border-bottom: 1px solid var(--nb-line);
}

/*
 * 详情页 hero 右侧的产品封面。栅格本来就留了 300px 那一格，之前一直空着。
 * **裁成 4:3 横版**：原图是 3:4 竖版，直接放会做出一块 300×400 的竖条，
 * 把整个 hero 撑到 600px 高，标题下面全是空的（实测如此）。
 */
.nb-prodhero__media {
  aspect-ratio: 4 / 3;
  border-radius: var(--nb-r-lg);
  overflow: hidden;
  box-shadow: var(--nb-shadow-lift);
  background: var(--nb-primary-light);
  align-self: center;
}

.nb-prodhero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nb-prodhero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 48px;
  padding-bottom: 44px;
}

.nb-prodhero__cat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--nb-primary);
}

.nb-prodhero__title {
  margin-top: 14px;
  font-size: 38px;
  letter-spacing: -0.02em;
}

.nb-prodhero__sub {
  margin-top: 12px;
  font-size: 17px;
  color: var(--nb-text-soft);
}

.nb-prodhero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.nb-fact {
  padding: 7px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--nb-line);
  font-size: 13px;
  color: var(--nb-text-soft);
}

.nb-fact b {
  color: var(--nb-text);
  font-weight: 600;
}

.nb-prodbody {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 48px;
  align-items: start;
  padding: 56px 0 88px;
}

.nb-block + .nb-block {
  margin-top: 44px;
}

.nb-block__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 21px;
  font-weight: 600;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--nb-line);
  margin-bottom: 20px;
}

.nb-block__title::before {
  content: '';
  width: 4px;
  height: 18px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--nb-primary), var(--nb-accent));
}

.nb-prose {
  color: var(--nb-text-soft);
  font-size: 15.5px;
  /* 容器在大屏上会变宽，正文行长得单独兜住，不然一行能排到七八十个字读不动 */
  max-width: 68ch;
}

.nb-prose p + p {
  margin-top: 14px;
}

.nb-list {
  display: grid;
  gap: 12px;
  max-width: 72ch;
}

.nb-list li {
  position: relative;
  padding-left: 26px;
  font-size: 15px;
  color: var(--nb-text-soft);
}

.nb-list li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 10px;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--nb-accent);
}

/*
 * 方案额度表在 390px 下必然要横滑（min-width 460px），但没有任何提示，
 * 用户会以为右边的 C/D 方案被截断了——而这张表的价值恰恰在于横向比较。
 * 外层加一个不滚动的容器承载右侧渐隐与文字提示，只在手机端出现。
 */
/* 产品配图（团体意外险当期海报、储能柜折算表） */
.nb-figure {
  margin: 0;
  border: 1px solid var(--nb-line);
  border-radius: var(--nb-r);
  overflow: hidden;
  background: var(--nb-bg-soft);
}

.nb-figure img {
  width: 100%;
  height: auto;
  background: #fff;
}

/* 海报是 800×2226 的竖长图，铺满宽栏的话两侧全是灰底，收到接近原始宽度 */
.nb-figure--poster {
  max-width: 560px;
}

.nb-figure figcaption {
  padding: 10px 16px;
  font-size: 13px;
  color: var(--nb-text-faint);
  border-top: 1px solid var(--nb-line);
}

.nb-table-outer {
  position: relative;
}

.nb-table-hint {
  display: none;
  margin-top: 8px;
  font-size: 12px;
  color: var(--nb-text-faint);
}

.nb-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--nb-line);
  border-radius: var(--nb-r);
}

.nb-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  min-width: 460px;
}

.nb-table th,
.nb-table td {
  padding: 13px 18px;
  text-align: left;
  border-bottom: 1px solid var(--nb-line-soft);
}

.nb-table thead th {
  background: var(--nb-bg-soft);
  font-weight: 600;
  font-size: 14px;
  color: var(--nb-text-soft);
  white-space: nowrap;
}

.nb-table tbody tr:last-child td {
  border-bottom: none;
}

.nb-table td b {
  font-weight: 600;
  /* 「200 万」不许断成两行：宁可让 .nb-table-wrap 横向滚，也不能把金额拆开读 */
  white-space: nowrap;
}

.nb-clauses {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.nb-clause {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 16px;
  border: 1px solid var(--nb-line);
  border-radius: var(--nb-r-sm);
  font-size: 14px;
  color: var(--nb-text);
  background: #fff;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.nb-clause:hover {
  border-color: #cddff2;
  background: var(--nb-primary-light);
  color: var(--nb-primary-dark);
}

.nb-clause svg {
  flex: none;
  color: var(--nb-primary);
}

.nb-note {
  margin-top: 20px;
  padding: 14px 18px;
  border-radius: var(--nb-r-sm);
  background: var(--nb-primary-light);
  border: 1px solid #d8e8f8;
  font-size: 13.5px;
  color: var(--nb-primary-dark);
}

/* 侧栏 */
.nb-aside {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 20px;
}

.nb-aside__card {
  background: #fff;
  border: 1px solid var(--nb-line);
  border-radius: var(--nb-r-lg);
  padding: 24px;
  box-shadow: var(--nb-shadow);
}

.nb-aside__title {
  font-size: 16px;
  font-weight: 600;
}

.nb-aside__desc {
  margin-top: 6px;
  font-size: 13px;
  color: var(--nb-text-soft);
}

.nb-aside__code {
  margin: 16px auto 0;
  width: 176px;
  height: 176px;
  border-radius: var(--nb-r);
  background: var(--nb-primary-light);
  border: 1px solid var(--nb-line);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.nb-aside__code img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nb-aside__steps {
  margin-top: 16px;
  display: grid;
  gap: 8px;
  font-size: 13px;
  color: var(--nb-text-soft);
  counter-reset: s;
}

.nb-aside__steps li {
  display: flex;
  gap: 9px;
  align-items: flex-start;
}

.nb-aside__steps li::before {
  counter-increment: s;
  content: counter(s);
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  border-radius: 50%;
  background: var(--nb-primary);
  color: #fff;
  font-size: 11px;
  line-height: 18px;
  text-align: center;
  font-weight: 600;
}

/* ---------- 渠道合作页 ---------- */

.nb-pagehero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(118deg, #16325c 0%, var(--nb-primary-dark) 58%, #2f74c4 100%);
  color: #fff;
  padding: 76px 0 84px;
}

.nb-pagehero__inner {
  position: relative;
  max-width: 720px;
}

.nb-pagehero__title {
  margin-top: 18px;
  font-size: 42px;
  letter-spacing: -0.02em;
}

.nb-pagehero__desc {
  margin-top: 18px;
  font-size: 17px;
  color: rgba(228, 238, 251, 0.84);
}

.nb-who {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.nb-who__icon {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--nb-primary-light);
  color: var(--nb-primary);
}

.nb-who__name {
  font-size: 17px;
  font-weight: 600;
}

.nb-who__desc {
  margin-top: 6px;
  font-size: 14px;
  color: var(--nb-text-soft);
}

.nb-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  counter-reset: step;
}

.nb-step {
  position: relative;
  padding-top: 26px;
}

.nb-step::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 9px;
  height: 2px;
  background: var(--nb-line);
}

.nb-step:first-child::before {
  left: 9px;
  border-radius: 2px 0 0 2px;
}

.nb-step:last-child::before {
  right: 50%;
}

.nb-step__dot {
  position: absolute;
  left: 0;
  top: 3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--nb-primary);
}

.nb-step__name {
  font-size: 16px;
  font-weight: 600;
}

.nb-step__desc {
  margin-top: 8px;
  font-size: 14px;
  color: var(--nb-text-soft);
}

.nb-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 56px;
  align-items: start;
}

/*
 * 留资区专用。别改全局 .nb-split——关于我们页的"公司介绍 + 侧栏"也用它，那边顶对齐是对的。
 * 留资区的问题是：左边通常只有一个标题加一段话，顶对齐之后下面一大片空白，
 * 右边那张 420px 宽、32px 内边距的表单就显得像一张很高的行政表格。
 * 收窄 + 垂直居中之后两边分量才配得上。
 */
.nb-split--lead {
  grid-template-columns: minmax(0, 1fr) 400px;
  align-items: center;
}

.nb-split--lead .nb-form {
  padding: 28px;
}

.nb-split--lead .nb-field {
  margin-top: 15px;
}

.nb-split--lead .nb-textarea {
  min-height: 76px;
}

/* ---------- 产品中心列表 ---------- */

.nb-anchors {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.nb-anchor {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--nb-line);
  color: var(--nb-text);
  font-size: 14px;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.nb-anchor:hover {
  border-color: #cddff2;
  color: var(--nb-primary);
}

.nb-anchor svg {
  color: var(--nb-primary);
}

.nb-anchor b {
  font-size: 12px;
  font-weight: 600;
  color: var(--nb-text-faint);
}

/* 产品中心列表卡：左图右文。封面是竖版，横向放正好不用裁 */
.nb-plist {
  display: flex;
  flex-direction: row;
  gap: 20px;
  padding: 18px;
  color: inherit;
}

.nb-plist__media {
  flex: none;
  width: 132px;
  align-self: stretch;
  border-radius: var(--nb-r-sm);
  overflow: hidden;
  background: var(--nb-primary-light);
}

.nb-plist__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nb-plist__body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1 1 auto;
}

.nb-plist:hover {
  color: inherit;
}

.nb-plist__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.nb-plist__name {
  font-size: 19px;
  font-weight: 600;
}

.nb-plist__head .nb-tag {
  margin-top: 2px;
  flex: none;
  white-space: nowrap;
}

.nb-plist__sub {
  margin-top: 10px;
  font-size: 14.5px;
  color: var(--nb-text-soft);
}

.nb-plist__hl {
  display: grid;
  gap: 8px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed var(--nb-line);
  flex: 1 1 auto;
}

.nb-plist__hl li {
  position: relative;
  padding-left: 20px;
  font-size: 13.5px;
  color: var(--nb-text-soft);
}

.nb-plist__hl li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--nb-accent);
}

.nb-plist .nb-sector__more {
  margin-top: 18px;
}

/* ---------- 行业资讯 ---------- */

.nb-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.nb-filter {
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--nb-line);
  background: #fff;
  color: var(--nb-text-soft);
  font-size: 14px;
  transition: all 0.15s ease;
}

.nb-filter:hover {
  border-color: #cddff2;
  color: var(--nb-primary);
}

.nb-filter.is-active {
  background: var(--nb-primary);
  border-color: var(--nb-primary);
  color: #fff;
  font-weight: 500;
}

.nb-filter.is-active:hover {
  color: #fff;
}

.nb-newslist {
  border-top: 1px solid var(--nb-line);
}

.nb-newsitem {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 26px 4px;
  border-bottom: 1px solid var(--nb-line);
  color: inherit;
  transition: background 0.15s ease, padding 0.15s ease;
}

.nb-newsitem:hover {
  color: inherit;
  background: var(--nb-primary-light);
  padding-left: 16px;
  padding-right: 16px;
}

.nb-newsitem__body {
  flex: 1 1 auto;
  min-width: 0;
}

.nb-newsitem__title {
  margin-top: 12px;
  font-size: 20px;
  font-weight: 600;
}

.nb-newsitem__sum {
  margin-top: 10px;
  font-size: 14.5px;
  color: var(--nb-text-soft);
}

.nb-newsitem__more {
  flex: none;
  color: var(--nb-text-faint);
  transition: color 0.15s ease, transform 0.15s ease;
}

.nb-newsitem:hover .nb-newsitem__more {
  color: var(--nb-primary);
  transform: translateX(4px);
}

.nb-listcount {
  margin-top: 24px;
  font-size: 13px;
  color: var(--nb-text-faint);
  text-align: center;
}

.nb-empty {
  padding: 72px 0;
  text-align: center;
  color: var(--nb-text-faint);
}

.nb-empty p {
  margin-top: 12px;
  font-size: 15px;
}

/* 资讯详情正文 */
.nb-article {
  max-width: 760px;
}

.nb-article__head {
  padding-bottom: 26px;
  border-bottom: 1px solid var(--nb-line);
}

.nb-article__title {
  margin-top: 14px;
  font-size: 34px;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.nb-article__lead {
  margin-top: 16px;
  font-size: 17px;
  color: var(--nb-text-soft);
}

.nb-article__cover {
  width: 100%;
  border-radius: var(--nb-r);
  margin-top: 28px;
}

.nb-article__body {
  margin-top: 28px;
  font-size: 16.5px;
  line-height: 1.95;
  color: #37424f;
}

.nb-article__body p + p {
  margin-top: 20px;
}

.nb-article__foot {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--nb-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.nb-article__foot p {
  font-size: 13px;
  color: var(--nb-text-faint);
  max-width: 460px;
}

.nb-related {
  display: grid;
  gap: 14px;
  margin-top: 14px;
}

.nb-related a {
  display: block;
  color: var(--nb-text);
  font-size: 14px;
  line-height: 1.6;
}

.nb-related a:hover {
  color: var(--nb-primary);
}

.nb-related time {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--nb-text-faint);
}

/* ---------- 关于我们 ---------- */

.nb-aboutblock {
  margin-top: 28px;
  padding-left: 18px;
  border-left: 3px solid var(--nb-primary-light);
}

.nb-aboutblock__title {
  font-size: 18px;
  font-weight: 600;
}

.nb-aboutblock__body {
  margin-top: 10px;
  font-size: 15.5px;
  color: var(--nb-text-soft);
}

.nb-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 36px;
}

.nb-factbox {
  flex: 1 1 140px;
  padding: 20px 22px;
  border-radius: var(--nb-r);
  background: var(--nb-primary-light);
  border: 1px solid #dcebfa;
}

.nb-factbox b {
  display: block;
  font-size: 28px;
  font-weight: 700;
  color: var(--nb-primary-dark);
  letter-spacing: -0.01em;
}

.nb-factbox span {
  font-size: 13px;
  color: var(--nb-text-soft);
}

/* ---------- 法务页 ---------- */

.nb-legal {
  max-width: 800px;
  padding: 48px 0 88px;
}

.nb-legal__sec + .nb-legal__sec {
  margin-top: 40px;
}

.nb-legal__h2 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 14px;
}

.nb-legal p {
  font-size: 15.5px;
  line-height: 1.95;
  color: var(--nb-text-soft);
}

.nb-legal p + p,
.nb-legal .nb-list {
  margin-top: 14px;
}

.nb-legal__src {
  margin-top: 14px;
  font-size: 13px !important;
  color: var(--nb-text-faint) !important;
}

.nb-legal__todo {
  padding: 16px 18px;
  border-radius: var(--nb-r-sm);
  background: #fff8ec;
  color: #9a6212 !important;
  font-size: 14px !important;
}

/* ---------- 页脚 ---------- */

.nb-footer {
  background: var(--nb-ink);
  color: rgba(226, 234, 246, 0.72);
  font-size: 14px;
  padding: 64px 0 28px;
}

.nb-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)) auto;
  gap: 44px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nb-footer__logo img {
  height: 32px;
  width: auto;
}

.nb-footer__intro {
  margin-top: 18px;
  max-width: 340px;
  font-size: 13.5px;
  line-height: 1.85;
  color: rgba(214, 224, 240, 0.62);
}

.nb-footer__slogan {
  margin-top: 16px;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: rgba(160, 196, 240, 0.9);
}

.nb-footer__colTitle {
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 16px;
}

.nb-footer__links {
  display: grid;
  gap: 10px;
}

.nb-footer__links a {
  color: rgba(226, 234, 246, 0.7);
  font-size: 14px;
}

.nb-footer__links a:hover {
  color: #fff;
}

.nb-footer__codes {
  display: flex;
  gap: 20px;
}

.nb-footer__code {
  text-align: center;
  width: 108px;
}

.nb-footer__code figure {
  margin: 0;
  width: 108px;
  height: 108px;
  border-radius: var(--nb-r-sm);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.nb-footer__code figure img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nb-footer__code figcaption {
  margin-top: 9px;
  font-size: 12px;
  color: rgba(214, 224, 240, 0.6);
}

.nb-footer__bottom {
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  font-size: 12.5px;
  color: rgba(196, 208, 226, 0.55);
}

.nb-footer__bottom a {
  color: rgba(196, 208, 226, 0.72);
}

.nb-footer__bottom a:hover {
  color: #fff;
}

.nb-footer__compliance {
  margin-top: 14px;
  font-size: 12.5px;
  line-height: 1.8;
  color: rgba(196, 208, 226, 0.5);
}

/*
 * 占位标记。**默认不显示**，只有评审模式（body.nb-review，由 ?review=1 打开）才亮。
 * 之前是默认常亮：甲方随手一截图就是一堆橙框，视觉对比也被干扰，
 * 而且「上线前人工清干净」本来就是靠不住的做法——真正的保障是 check:www 数 data-ph 的数量。
 * HTML 里标记始终在，所以自检计数不受影响。
 */
.nb-review .nb-ph {
  position: relative;
  outline: 1px dashed rgba(217, 119, 6, 0.55);
  outline-offset: 2px;
}

.nb-review .nb-ph::after {
  content: attr(data-ph);
  position: absolute;
  /* 右上角，不是底部居中：整段文案打标时，居中的标签会正好压在正文中间一行上，
     把句子遮掉一半（关于我们那三段扩写稿实测如此）。右上角基本都是空白。 */
  top: 4px;
  right: 6px;
  white-space: nowrap;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(217, 119, 6, 0.92);
  color: #fff;
  font-size: 10px;
  line-height: 1.6;
  letter-spacing: 0.02em;
}

/* 页脚底栏的备案号是行内文字，绝对定位的标签会互相压住，这里让它跟着排 */
.nb-review .nb-footer__bottom .nb-ph::after {
  position: static;
  display: inline-block;
  margin-left: 6px;
  vertical-align: 1px;
}

.nb-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- 响应式：PC 为主，完整兼容手机（需求 §4） ---------- */

@media (max-width: 1080px) {
  .nb-hero__inner,
  .nb-prodhero__inner,
  .nb-prodbody,
  .nb-split {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .nb-aside {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nb-qrcard {
    max-width: 320px;
  }

  .nb-grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nb-footer__top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px;
  }
}

@media (max-width: 860px) {
  :root {
    --nb-gut: 18px;
  }

  .nb-header__inner {
    height: 60px;
    gap: 16px;
  }

  .nb-nav {
    display: none;
  }

  .nb-menu {
    display: block;
    order: 3;
  }

  /* 导航收进抽屉后，logo 与 CTA 都是 flex:none，不推一把会全挤在左边 */
  .nb-header__cta {
    margin-left: auto;
  }

  .nb-header__cta .nb-btn {
    padding: 8px 14px;
    font-size: 13px;
  }

  /* 手机端统一压到 44–48px，标题到内容也要跟着缩——原来只缩了 section，标题区还是 44px */
  .nb-section {
    padding: 46px 0;
  }

  .nb-section--major {
    padding: 52px 0;
  }

  .nb-section--tight {
    padding: 38px 0;
  }

  .nb-section__head,
  .nb-section--major .nb-section__head,
  .nb-section--tight .nb-section__head {
    margin-bottom: 24px;
  }

  .nb-section__title {
    font-size: 26px;
  }

  /*
   * 单列后按 文案 → 太阳码 → 统计 排，转化入口不能排在装饰性数字后面。
   * **三个子元素的 grid-area 必须一起重置成 auto**：只把容器的
   * grid-template-areas 设成 none，子元素仍挂着 `grid-area: copy/aside/stats`，
   * 命名区域没了之后它们会被放进同一个格子——实测三块直接叠在一起，
   * 二维码卡压在大标题上。order 只对自动放置的项目有意义。
   */
  .nb-hero__inner {
    grid-template-areas: none;
    padding: 44px var(--nb-gut) 52px;
    gap: 24px;
  }

  .nb-hero__copy,
  .nb-hero__aside,
  .nb-hero__stats {
    grid-area: auto;
  }

  .nb-hero__copy {
    order: 1;
  }

  .nb-hero__aside {
    order: 2;
  }

  .nb-hero__stats {
    order: 3;
    margin-top: 4px;
    padding-top: 22px;
    gap: 20px 32px;
  }

  .nb-qrcard {
    padding: 20px;
  }

  .nb-qrcard__code {
    width: 152px;
    height: 152px;
  }

  .nb-hero__title {
    font-size: 33px;
  }

  .nb-hero__slogan {
    font-size: 17px;
  }

  .nb-pagehero {
    padding: 56px 0 60px;
  }

  .nb-pagehero__title {
    font-size: 29px;
  }

  .nb-prodhero__title {
    font-size: 27px;
  }

  .nb-grid--3,
  .nb-grid--2,
  .nb-steps,
  .nb-clauses,
  .nb-field--row {
    grid-template-columns: minmax(0, 1fr);
  }

  .nb-step::before {
    display: none;
  }

  .nb-step {
    padding-top: 0;
    padding-left: 26px;
  }

  .nb-step__dot {
    top: 6px;
  }

  .nb-band {
    padding: 32px 24px;
  }

  .nb-band__title {
    font-size: 22px;
  }

  .nb-form,
  .nb-card {
    padding: 22px;
  }

  /* 首页 10 款产品在 390px 下会叠成一长条，压一压密度，否则整页要滚很久 */
  .nb-grid {
    gap: 14px;
  }

  .nb-prod {
    padding: 16px 18px;
  }

  .nb-prod__sub {
    margin-top: 6px;
  }

  .nb-tag {
    margin-top: 10px;
  }

  .nb-prodgroup + .nb-prodgroup {
    margin-top: 28px;
  }

  /* 资讯列表：手机上箭头没意义，标题与摘要各让一点行高 */
  .nb-newsitem {
    gap: 12px;
    padding: 20px 0;
  }

  .nb-newsitem:hover {
    padding-left: 0;
    padding-right: 0;
    background: transparent;
  }

  .nb-newsitem__more {
    display: none;
  }

  .nb-newsitem__title {
    font-size: 17px;
    margin-top: 10px;
  }

  .nb-article__title {
    font-size: 24px;
  }

  .nb-article__body {
    font-size: 16px;
  }

  .nb-plist__head {
    flex-direction: column;
    gap: 8px;
  }

  /* 390px 下左图右文只剩两百来像素给文字，图收窄一点，卡片内边距也收 */
  .nb-plist {
    gap: 14px;
    padding: 14px;
  }

  .nb-plist__media {
    width: 92px;
  }

  .nb-plist__name {
    font-size: 16px;
  }

  /* 首页产品卡单列时图别太高 */
  .nb-prod__media {
    aspect-ratio: 21 / 9;
  }

  .nb-plist__head .nb-tag {
    margin-top: 0;
  }

  .nb-legal {
    padding: 32px 0 56px;
  }

  /* 方案表：手机上给出可横滑的信号，右侧渐隐 + 一行文字提示 */
  .nb-table-outer::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 34px;
    height: 100%;
    pointer-events: none;
    border-radius: 0 var(--nb-r) var(--nb-r) 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.95));
  }

  .nb-table-hint {
    display: block;
  }

  .nb-aside {
    grid-template-columns: minmax(0, 1fr);
  }

  /*
   * 页脚在手机上原来是全部单列堆叠，等于在很长的正文之后又展开一整页站点地图，
   * 用户走完转化区还要滚过一大段低优先级内容。两组链接保持两列，
   * 品牌介绍与二维码跨两列。二维码不能砍——它是转化出口之一。
   */
  .nb-footer {
    padding: 44px 0 24px;
  }

  .nb-footer__top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 20px;
    padding-bottom: 32px;
  }

  .nb-footer__top > :first-child,
  .nb-footer__top > :last-child {
    grid-column: 1 / -1;
  }

  .nb-footer__links {
    gap: 7px;
  }

  .nb-footer__intro {
    max-width: none;
  }
}

@media (max-width: 420px) {
  .nb-hero__title {
    font-size: 29px;
  }

  .nb-grid--4 {
    grid-template-columns: minmax(0, 1fr);
  }

  .nb-footer__codes {
    gap: 14px;
  }
}
