@charset "utf-8";
/* ==========================================================================
   LegalWorks 法务工作台 · 官网全局样式
   风格：深蓝 + 浅灰 · 商务极简 · 科技法务风
   说明：零依赖、零构建；所有图标为内联 SVG；字体使用系统字体栈（不加载中文 webfont）
   ========================================================================== */

/* ---------- 设计令牌 ---------- */
:root {
  /* 品牌蓝 */
  --navy-900: #0B1F3A;
  --navy-800: #112C50;
  --navy-700: #163A68;
  --navy-600: #1C4A83;
  --blue-600: #2159A8;
  --blue-500: #2C6FD1;
  --blue-400: #5B93E0;
  --blue-100: #E2ECF9;
  --blue-050: #F1F6FC;

  /* 中性色 */
  --ink: #16212E;
  --ink-2: #3D4C5E;
  --ink-3: #6B7A8D;
  --ink-4: #94A2B3;
  --line: #E3E9F1;
  --line-2: #EEF2F8;
  --bg: #FFFFFF;
  --bg-soft: #F6F8FB;
  --bg-soft-2: #F1F5FA;

  /* 点缀（低饱和金，仅用于极少量修饰，不用于大面积） */
  --gold: #B08B4F;

  /* 尺寸与动效 */
  --radius-s: 8px;
  --radius: 12px;
  --radius-l: 16px;
  --radius-pill: 999px;
  --shadow-1: 0 1px 2px rgba(11, 31, 58, .04), 0 4px 12px rgba(11, 31, 58, .05);
  --shadow-2: 0 2px 6px rgba(11, 31, 58, .06), 0 18px 44px rgba(11, 31, 58, .09);
  --shadow-3: 0 24px 64px rgba(11, 31, 58, .16);
  --container: 1200px;
  --header-h: 68px;
  --ease: cubic-bezier(.22, .61, .36, 1);

  /* 字体：系统字体栈，避免中文 webfont 阻塞首屏 */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC",
    "Helvetica Neue", Arial, sans-serif;
  --font-num: "Inter", "SF Pro Display", "DIN Alternate", -apple-system,
    "Segoe UI", Arial, sans-serif;
}

/* ---------- 基础重置 ---------- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: rgba(33, 89, 168, .12);
}

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

:focus-visible {
  outline: 3px solid rgba(44, 111, 209, .5);
  outline-offset: 2px;
  border-radius: 4px;
}

/* 跳转到主内容（无障碍） */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: #fff; color: var(--navy-800);
  padding: 10px 18px; border-radius: 0 0 var(--radius-s) 0;
  box-shadow: var(--shadow-2); font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ---------- 布局容器 ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  /* 刘海屏 / 圆角屏安全区；不支持 env() 的浏览器自动沿用上一行的 24px */
  padding-left: max(24px, env(safe-area-inset-left));
  padding-right: max(24px, env(safe-area-inset-right));
}
.container--narrow { max-width: 900px; }
.container--wide { max-width: 1320px; }

.section { padding: 96px 0; }
.section--tight { padding: 72px 0; }
.section--soft { background: var(--bg-soft); }
.section--blue { background: linear-gradient(180deg, var(--blue-050) 0%, #FFFFFF 100%); }
.section--line { border-top: 1px solid var(--line-2); }

/* ---------- 标题与文本工具类 ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .08em;
  color: var(--blue-600); text-transform: uppercase;
}
.eyebrow::before {
  content: ""; width: 18px; height: 2px; border-radius: 2px;
  background: var(--blue-500);
}
.eyebrow--light { color: #8FB6E8; }
.eyebrow--light::before { background: #8FB6E8; }

.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }

.section-title {
  margin-top: 14px;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--navy-900);
}
.section-title--light { color: #fff; }

.section-sub {
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink-3);
}
.section-sub--light { color: rgba(255, 255, 255, .78); }

.text-center { text-align: center; }
.mt-0 { margin-top: 0; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 24px;
  border-radius: var(--radius-s);
  font-size: 15px; font-weight: 600; letter-spacing: .01em;
  white-space: nowrap;
  transition: background-color .22s var(--ease), color .22s var(--ease),
    border-color .22s var(--ease), transform .22s var(--ease), box-shadow .22s var(--ease);
}
.btn svg { width: 17px; height: 17px; flex: none; }
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--blue-600); color: #fff;
  box-shadow: 0 1px 2px rgba(11, 31, 58, .08), 0 8px 20px rgba(33, 89, 168, .22);
}
.btn--primary:hover { background: var(--navy-700); box-shadow: 0 2px 4px rgba(11, 31, 58, .1), 0 12px 26px rgba(23, 62, 109, .28); }

.btn--ghost {
  background: transparent; color: var(--navy-800);
  border: 1px solid var(--line);
}
.btn--ghost:hover { border-color: var(--blue-400); color: var(--blue-600); background: var(--blue-050); }

.btn--outline-light {
  background: transparent; color: #fff;
  border: 1px solid rgba(255, 255, 255, .45);
}
.btn--outline-light:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .8); }

.btn--light { background: #fff; color: var(--navy-800); }
.btn--light:hover { background: #EAF1FB; }

.btn--sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn--lg { height: 52px; padding: 0 30px; font-size: 16px; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-row--center { justify-content: center; }

/* 文本链接（带箭头） */
.link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 600; color: var(--blue-600);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .22s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ==========================================================================
   顶部导航
   ========================================================================== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), background-color .3s var(--ease);
}
.header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 1px 2px rgba(11, 31, 58, .03), 0 6px 20px rgba(11, 31, 58, .05);
  background: rgba(255, 255, 255, .96);
}
/* 深色首屏（Hero 区）上的导航透明态 */
.header--on-dark:not(.is-scrolled) {
  background: transparent;
  backdrop-filter: none; -webkit-backdrop-filter: none;
  border-bottom-color: rgba(255, 255, 255, .12);
}
.header--on-dark:not(.is-scrolled) .brand__name,
.header--on-dark:not(.is-scrolled) .nav__link { color: rgba(255, 255, 255, .88); }
.header--on-dark:not(.is-scrolled) .brand__name strong { color: #fff; }
/* 🔴 悬停底色：深色首屏上的导航文字是白色，因此悬停底色**必须用半透明白**
   （rgba(255, 255, 255, .14)），⛔ 不能沿用基础层 `.nav__link:hover` 的
   `--blue-050`（#F1F6FC）—— 那是近白的浅蓝灰，与白字叠在一起会糊成一片
   （用户 2026-09-26 反馈「底色反白、文字仍白、白乎乎一片」）。
   本写法与右侧「在线咨询」按钮的 .btn--ghost:hover（rgba(255, 255, 255, .12)）同款思路：
   用**低透明度**的浅色提亮底，而不是换成一块实色浅底。
   ⚠️ 两条规则在此**必须分开写**：`.nav__link:hover` 需要覆盖 background，
   而 `.is-active` 只改文字色、**不加底色**（活动项靠白色下划线标识）。
   ⇒ 若合并成一条组选择器，`background` 会同时落到 `.is-active` 上（改变既有视觉）。 */
.header--on-dark:not(.is-scrolled) .nav__link:hover {
  color: #fff;
  background: rgba(255, 255, 255, .14);
}
.header--on-dark:not(.is-scrolled) .nav__link.is-active { color: #fff; }
.header--on-dark:not(.is-scrolled) .nav__link.is-active::after { background: #fff; }
/* 深色首屏上的品牌标识：蓝色标在 --navy-900 上对比度 6.02:1，无需任何底垫或描边 */
.header--on-dark:not(.is-scrolled) .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .4); }
.header--on-dark:not(.is-scrolled) .btn--ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .7); }
.header--on-dark:not(.is-scrolled) .nav-toggle span { background: #fff; }

.header__inner {
  height: 100%;
  display: flex; align-items: center; gap: 28px;
}

/* 品牌 */
.brand { display: inline-flex; align-items: center; gap: 11px; flex: none; }
/* 品牌标识容器：只负责定位与尺寸，**不含任何底色**。
   ⚠️ 这里曾有一层 navy→blue 渐变底垫（为上一版「白色图形」Logo 而设）。
      2026-09-21 换用 VI 蓝色版（自带圆环的完整徽标）后必须去掉：
      蓝色标压在该渐变末端（--blue-500）上实测对比度仅 1.78:1，几乎糊成一片。
      现行实测数据（node tools/analyze-image.js --logo，主色 #56A6C5）：
        白底 2.74:1（偏淡但可辨，属品牌标正常区间）｜深色首屏、页脚 6.02:1（清晰）
      ⇒ 结论：裸标直接落背景即可，深/浅两种头部状态下都无需底垫。
      ⛔ 再次换图时先跑 analyze-image.js 再决定是否恢复底垫，不要凭印象改。 */
.brand__mark {
  width: 36px; height: 36px; flex: none;
  display: grid; place-items: center;
}
/* 品牌标识用图：VI 蓝色版 PNG（src/assets/img/logo-mark.png）
   源图形的非透明包围盒 = 整幅画布，故 32px 即圆环外径 32px。 */
.brand__mark--img img { display: block; width: 32px; height: 32px; }
/* 品牌名：**单行**排版（2026-09-21 按用户要求调整，原为「英文名 / 法务工作台」上下两行）。
   英文品牌名统一为 **LegalWorks**（**一个词、中间无空格**；见 tools/lib/tpl.js 的 SITE.name）。
   ⚠️ 2026-09-21 曾一度改为两个词 `Legal Works`，同日按用户要求**改回 `LegalWorks`**；
      以后若再调整，务必同步改 tools/lib/tpl.js 的 SITE.name / SITE.nameEn，
      并重跑 `node tools/make-assets.ps1 -OnlyOg` 重出社交分享图（图上也有品牌字样）。
   ⛔ `white-space: nowrap` 是硬约束 —— 保证「LegalWorks 法务工作台」永不折行；
      不要改回 `flex-direction: column`，否则又会变成两行。
   ⚠️ 单行后品牌名总宽明显变大，最紧的场景是 320px 视口下的手机头部
      （品牌名 + 汉堡按钮同行），已用字号兜底，见文件末尾 ≤359px 媒体块。 */
.brand__name {
  display: flex; align-items: baseline; gap: 6px;
  line-height: 1.15;
  white-space: nowrap;
}
.brand__name strong { font-size: 16px; font-weight: 700; letter-spacing: -.01em; color: var(--navy-900); }
.brand__name span { font-size: 13px; letter-spacing: .04em; color: var(--ink-4); }
.brand--light .brand__name strong { color: #fff; }
.brand--light .brand__name span { color: rgba(255, 255, 255, .55); }

/* 主导航 */
.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 4px; }
.nav__item { position: relative; }
.nav__link {
  position: relative;
  display: inline-flex; align-items: center; gap: 5px;
  padding: 10px 13px;
  font-size: 15px; font-weight: 500;
  color: var(--ink-2);
  border-radius: var(--radius-s);
  transition: color .2s var(--ease), background-color .2s var(--ease);
}
.nav__link:hover { color: var(--blue-600); background: var(--blue-050); }
.nav__link.is-active { color: var(--blue-600); font-weight: 600; }
.nav__link.is-active::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 2px;
  height: 2px; border-radius: 2px; background: var(--blue-500);
}
.nav__link svg { width: 14px; height: 14px; opacity: .55; transition: transform .22s var(--ease); }
.nav__item:hover > .nav__link svg { transform: rotate(180deg); }

/* 二级下拉 */
.nav__drop {
  position: absolute; top: calc(100% + 6px); left: 50%;
  transform: translate(-50%, 8px);
  min-width: 236px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-2);
  opacity: 0; visibility: hidden;
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.nav__item:hover .nav__drop,
.nav__item:focus-within .nav__drop {
  opacity: 1; visibility: visible; transform: translate(-50%, 0);
}
.nav__drop a {
  display: block; padding: 9px 12px;
  font-size: 14px; color: var(--ink-2);
  border-radius: var(--radius-s);
  transition: background-color .18s var(--ease), color .18s var(--ease);
}
.nav__drop a:hover { background: var(--blue-050); color: var(--blue-600); }
.nav__drop a small { display: block; font-size: 12px; color: var(--ink-4); font-weight: 400; margin-top: 1px; }

/* 导航右侧动作区 */
.header__actions { display: flex; align-items: center; gap: 10px; flex: none; }

/* 移动端汉堡 */
.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border-radius: var(--radius-s);
  padding: 11px 9px;
  flex-direction: column; justify-content: space-between;
}
.nav-toggle span {
  display: block; height: 2px; border-radius: 2px;
  background: var(--navy-800);
  transition: transform .26s var(--ease), opacity .2s var(--ease);
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* 移动端抽屉 */
.drawer {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
  background: #fff;
  padding: 20px 24px 40px;
  overflow-y: auto;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform .3s var(--ease), visibility .3s;
}
.drawer.is-open { transform: translateX(0); visibility: visible; }
.drawer__group { border-bottom: 1px solid var(--line-2); }
.drawer__group > a,
.drawer__group > button {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: 16px 2px;
  font-size: 16px; font-weight: 600; color: var(--navy-900);
  text-align: left;
}
.drawer__group > a.is-active { color: var(--blue-600); }
.drawer__sub { padding: 0 0 12px; display: none; }
.drawer__group.is-expanded .drawer__sub { display: block; }
.drawer__sub a { display: block; padding: 10px 12px; font-size: 14px; color: var(--ink-3); border-radius: var(--radius-s); }
.drawer__sub a:hover { background: var(--bg-soft); color: var(--blue-600); }
.drawer__caret { transition: transform .24s var(--ease); width: 16px; height: 16px; color: var(--ink-4); }
.drawer__group.is-expanded .drawer__caret { transform: rotate(180deg); }
.drawer__cta { margin-top: 24px; display: grid; gap: 12px; }

/* ==========================================================================
   Hero 首屏
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy-900);
  color: #fff;
  padding: calc(var(--header-h) + 72px) 0 88px;
  min-height: clamp(560px, 82vh, 780px);
  display: flex; align-items: center;
}
/* 科技网格底纹 */
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px);
  background-size: 48px 48px;
  background-position: center;
  mask-image: radial-gradient(120% 90% at 62% 40%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(120% 90% at 62% 40%, #000 30%, transparent 78%);
  pointer-events: none;
}
/* 渐晕光斑 */
.hero__glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(46% 60% at 78% 22%, rgba(44, 111, 209, .38) 0%, transparent 62%),
    radial-gradient(38% 52% at 10% 88%, rgba(28, 74, 131, .5) 0%, transparent 66%);
}
.hero__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px; align-items: center;
}
.hero__title {
  margin-top: 22px;
  font-size: clamp(32px, 4.1vw, 52px);
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -.02em;
}
.hero__title em {
  font-style: normal;
  background: linear-gradient(96deg, #8FB6E8 0%, #FFFFFF 60%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__sub {
  margin-top: 20px;
  font-size: clamp(17px, 1.6vw, 20px);
  font-weight: 500;
  color: #C9DCF3;
  letter-spacing: .01em;
}
.hero__desc {
  margin-top: 18px;
  max-width: 560px;
  font-size: 15.5px; line-height: 1.9;
  color: rgba(255, 255, 255, .72);
}
.hero__actions { margin-top: 34px; }
.hero__meta {
  margin-top: 30px; padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .13);
  display: flex; flex-wrap: wrap; gap: 10px 26px;
  font-size: 13.5px; color: rgba(255, 255, 255, .68);
}
.hero__meta li { display: inline-flex; align-items: center; gap: 7px; }
.hero__meta svg { width: 15px; height: 15px; color: #7FB0EC; flex: none; }

/* ---- Hero 右侧：CSS 绘制的产品工作台示意 ---- */
.mock-wrap { position: relative; }
.mock {
  position: relative;
  border-radius: var(--radius-l);
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: var(--shadow-3);
  backdrop-filter: blur(6px);
  overflow: hidden;
}
.mock__bar {
  display: flex; align-items: center; gap: 8px;
  padding: 11px 14px;
  background: rgba(11, 31, 58, .55);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.mock__dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .24); }
.mock__url {
  flex: 1; margin-left: 8px;
  height: 22px; border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, .1);
  display: flex; align-items: center; padding: 0 12px;
  font-size: 11px; color: rgba(255, 255, 255, .6);
  font-family: var(--font-num);
}
.mock__body { display: grid; grid-template-columns: 132px 1fr; min-height: 306px; }
.mock__side {
  padding: 14px 12px;
  background: rgba(11, 31, 58, .35);
  border-right: 1px solid rgba(255, 255, 255, .08);
}
.mock__side-item {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 9px; border-radius: 7px;
  font-size: 11.5px; color: rgba(255, 255, 255, .58);
  margin-bottom: 3px;
}
.mock__side-item svg { width: 13px; height: 13px; }
.mock__side-item.is-on { background: rgba(44, 111, 209, .3); color: #fff; }
.mock__main { padding: 16px; }
.mock__label { font-size: 11px; color: rgba(255, 255, 255, .48); letter-spacing: .04em; margin-bottom: 10px; }
.mock__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.mock__stat {
  padding: 10px 11px; border-radius: 9px;
  background: rgba(255, 255, 255, .09);
  border: 1px solid rgba(255, 255, 255, .07);
}
.mock__stat b { display: block; font-family: var(--font-num); font-size: 19px; font-weight: 700; color: #fff; line-height: 1.2; }
.mock__stat span { font-size: 10.5px; color: rgba(255, 255, 255, .55); }
.mock__rows { margin-top: 14px; display: grid; gap: 7px; }
.mock__row {
  display: flex; align-items: center; gap: 9px;
  padding: 9px 11px; border-radius: 8px;
  background: rgba(255, 255, 255, .055);
}
.mock__chip {
  width: 44px; height: 6px; border-radius: 3px; flex: none;
  background: rgba(255, 255, 255, .2);
}
.mock__chip--b { background: rgba(91, 147, 224, .85); }
.mock__chip--g { background: rgba(112, 190, 160, .8); }
.mock__chip--y { background: rgba(214, 178, 106, .8); }
.mock__row-line { flex: 1; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .13); }
.mock__row-line--s { flex: none; width: 34px; }

/* AI 助手浮窗 */
.mock__ai {
  position: absolute; right: -16px; bottom: -20px;
  width: 224px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-3);
  overflow: hidden;
  border: 1px solid var(--line);
}
.mock__ai-head {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 12px;
  background: linear-gradient(96deg, var(--navy-700), var(--blue-500));
  color: #fff; font-size: 12px; font-weight: 600;
}
.mock__ai-head svg { width: 14px; height: 14px; }
.mock__ai-body { padding: 12px; display: grid; gap: 8px; }
.mock__ai-q {
  font-size: 11.5px; color: var(--ink-2);
  background: var(--bg-soft); border-radius: 8px;
  padding: 8px 10px; line-height: 1.6;
}
.mock__ai-a { font-size: 11px; color: var(--ink-3); line-height: 1.7; }
.mock__ai-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.mock__ai-tag {
  font-size: 10px; padding: 2px 7px; border-radius: 4px;
  background: var(--blue-050); color: var(--blue-600);
  border: 1px solid var(--blue-100);
}

/* Hero 底部渐隐过渡 */
.hero__fade {
  position: absolute; left: 0; right: 0; bottom: 0; height: 90px;
  background: linear-gradient(180deg, transparent, rgba(11, 31, 58, .28));
  pointer-events: none;
}

/* ==========================================================================
   子页面页头
   ========================================================================== */
.page-hero {
  position: relative; overflow: hidden;
  background: var(--navy-900);
  color: #fff;
  padding: calc(var(--header-h) + 56px) 0 56px;
}
.page-hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 92%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 92%);
  pointer-events: none;
}
.page-hero__inner { position: relative; z-index: 1; }
.page-hero h1 {
  margin-top: 18px;
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.28; font-weight: 700; letter-spacing: -.015em;
}
.page-hero p.lead {
  margin-top: 16px; max-width: 760px;
  font-size: 16px; line-height: 1.9;
  color: rgba(255, 255, 255, .74);
}

/* 面包屑 */
.crumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-size: 13px; color: rgba(255, 255, 255, .55);
}
.crumbs a:hover { color: #fff; }
.crumbs svg { width: 13px; height: 13px; opacity: .6; }
.crumbs span[aria-current] { color: rgba(255, 255, 255, .9); }

/* 子页内的锚点跳转条 */
.anchor-bar {
  position: sticky; top: var(--header-h); z-index: 40;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.anchor-bar__inner {
  display: flex; align-items: center; gap: 6px;
  overflow-x: auto; scrollbar-width: none;
  padding: 10px 0;
}
.anchor-bar__inner::-webkit-scrollbar { display: none; }
.anchor-bar a {
  flex: none;
  padding: 7px 14px; border-radius: var(--radius-pill);
  font-size: 14px; font-weight: 500; color: var(--ink-3);
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.anchor-bar a:hover, .anchor-bar a.is-active { background: var(--blue-050); color: var(--blue-600); }

/* ==========================================================================
   卡片网格通用
   ========================================================================== */
.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--gap-lg { gap: 30px; }

/* 预约演示区（contact.html#demo）：左＝填写信息表单卡片，右＝「预约后会怎样」等侧栏卡片。
   ⚠️ 2026-09-21 v1.1 改为类名 —— 原先写的是**内联** grid-template-columns，
      内联样式优先级高于媒体查询，窄屏下两列只能硬挤（表单被压到约 200px，
      侧栏「预约后会怎样」的步骤文字几乎无处落脚）。
      现在窄屏由 main.css 的 @media (max-width: 834px) 整块换段：侧栏下移到下一段。 */
.demo-layout { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 40px; align-items: start; }

.card {
  position: relative;
  padding: 30px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  transition: box-shadow .28s var(--ease), transform .28s var(--ease), border-color .28s var(--ease);
}
.card--hover:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2);
  border-color: var(--blue-100);
}
.card__icon {
  width: 46px; height: 46px; flex: none;
  display: grid; place-items: center;
  border-radius: 11px;
  background: var(--blue-050);
  border: 1px solid var(--blue-100);
  color: var(--blue-600);
  margin-bottom: 20px;
}
.card__icon svg { width: 23px; height: 23px; }
.card__icon--solid {
  background: linear-gradient(145deg, var(--navy-700), var(--blue-500));
  border-color: transparent; color: #fff;
}
.card h3 {
  font-size: 18px; font-weight: 700; color: var(--navy-900);
  line-height: 1.5; letter-spacing: -.005em;
}
.card h4 { font-size: 16px; font-weight: 700; color: var(--navy-900); line-height: 1.5; }
.card p { margin-top: 12px; font-size: 14.5px; line-height: 1.85; color: var(--ink-3); }
.card__num {
  font-family: var(--font-num);
  font-size: 13px; font-weight: 700; letter-spacing: .06em;
  color: var(--blue-400);
  display: block; margin-bottom: 14px;
}

/* 列表（勾选/要点） */
.checklist { display: grid; gap: 11px; margin-top: 18px; }
.checklist li {
  position: relative; padding-left: 27px;
  font-size: 14.5px; line-height: 1.8; color: var(--ink-2);
}
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: 15px; height: 15px; border-radius: 50%;
  background: var(--blue-050) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232159A8' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / 10px 10px no-repeat;
}
.checklist--light li { color: rgba(255, 255, 255, .8); }
.checklist--light li::before { background-color: rgba(255, 255, 255, .14); }

/* ==========================================================================
   首页区块 3：双端产品定位
   ========================================================================== */
.dual { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.dual__card {
  position: relative; overflow: hidden;
  padding: 40px 36px 36px;
  border-radius: var(--radius-l);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
  transition: box-shadow .3s var(--ease), transform .3s var(--ease), border-color .3s var(--ease);
}
.dual__card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: var(--blue-100); }
.dual__card::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: linear-gradient(90deg, var(--navy-700), var(--blue-500));
  opacity: 0; transition: opacity .3s var(--ease);
}
.dual__card:hover::after { opacity: 1; }
.dual__head { display: flex; align-items: center; gap: 14px; }
.dual__icon {
  width: 52px; height: 52px; flex: none;
  display: grid; place-items: center; border-radius: 13px;
  background: linear-gradient(145deg, var(--navy-700), var(--blue-500));
  color: #fff;
  box-shadow: 0 8px 20px rgba(33, 89, 168, .22);
}
.dual__icon svg { width: 26px; height: 26px; }
.dual__label { font-size: 12.5px; letter-spacing: .1em; color: var(--blue-500); font-weight: 600; }
.dual__title { font-size: 21px; font-weight: 700; color: var(--navy-900); margin-top: 2px; }
.dual__list {
  margin-top: 26px; padding-top: 24px;
  border-top: 1px solid var(--line-2);
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 18px;
}
.dual__list li {
  display: flex; align-items: flex-start; gap: 9px;
  font-size: 14.5px; color: var(--ink-2); line-height: 1.7;
}
.dual__list svg { width: 16px; height: 16px; flex: none; margin-top: 4px; color: var(--blue-500); }

/* 首页区块：错位版式（图文左右） */
.split {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px; align-items: center;
}
.split--reverse .split__media { order: -1; }
.split__body .section-title { margin-top: 14px; }

/* ==========================================================================
   首页区块 6：客户价值三栏
   ========================================================================== */
.value-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.value-col {
  padding: 34px 30px;
  background: rgba(255, 255, 255, .78);
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-1);
  backdrop-filter: blur(4px);
}
.value-col__role {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 15px; font-weight: 700; color: var(--navy-900);
  padding-bottom: 18px; margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
  width: 100%;
}
.value-col__role svg { width: 19px; height: 19px; color: var(--blue-600); flex: none; }
.value-col ul { display: grid; gap: 12px; }
.value-col li {
  position: relative; padding-left: 20px;
  font-size: 14.5px; line-height: 1.8; color: var(--ink-2);
}
.value-col li::before {
  content: ""; position: absolute; left: 0; top: .68em;
  width: 7px; height: 7px; border-radius: 2px;
  background: var(--blue-400);
}

/* ==========================================================================
   CTA 转化区
   ========================================================================== */
.cta {
  position: relative; overflow: hidden;
  background: linear-gradient(120deg, var(--navy-900) 0%, var(--navy-700) 58%, var(--blue-600) 100%);
  color: #fff;
  padding: 84px 0;
}
.cta__grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(100% 100% at 85% 20%, #000 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(100% 100% at 85% 20%, #000 0%, transparent 72%);
}
.cta__inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.cta h2 { font-size: clamp(24px, 2.8vw, 36px); line-height: 1.3; font-weight: 700; letter-spacing: -.015em; }
.cta p { margin-top: 16px; font-size: 16px; line-height: 1.9; color: rgba(255, 255, 255, .78); }
.cta__note { margin-top: 18px; font-size: 13px; color: rgba(255, 255, 255, .58); }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ==========================================================================
   页脚
   ========================================================================== */
.footer { background: #101B2B; color: rgba(255, 255, 255, .62); padding: 64px 0 0; font-size: 14px; }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-bottom: 44px; }
.footer__intro { margin-top: 18px; max-width: 380px; line-height: 1.85; font-size: 13.5px; color: rgba(255, 255, 255, .55); }
.footer h4 { font-size: 14px; font-weight: 600; color: #fff; margin-bottom: 16px; letter-spacing: .01em; }
.footer__links { display: grid; gap: 11px; }
.footer__links a { font-size: 13.5px; color: rgba(255, 255, 255, .6); transition: color .2s var(--ease); }
.footer__links a:hover { color: #fff; }

/* 合规摘要 */
.footer__legal {
  padding: 26px 0;
  border-top: 1px solid rgba(255, 255, 255, .09);
}
.footer__legal-title {
  display: flex; align-items: center; gap: 9px;
  font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, .82);
  margin-bottom: 12px;
}
.footer__legal-title svg { width: 15px; height: 15px; color: #7FB0EC; }
.footer__legal p {
  font-size: 12.5px; line-height: 1.9; color: rgba(255, 255, 255, .48);
  max-width: 1080px;
}
.footer__legal p + p { margin-top: 8px; }

/* 版权行 */
.footer__bottom {
  padding: 22px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, .09);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 18px 32px;
  font-size: 12.5px; color: rgba(255, 255, 255, .45);
}
/* 页脚底部链接区（2026-09-23 起拆为**结构性两行**）
   ⚠️ 为什么用 flex-direction: column，而不是靠 flex-wrap 自动折行：
      需求是「备案信息**另起一行**」。自动折行会随字号/可用宽度变化而漂移
      （换行点不可控），而结构性两行在任何宽度下都成立；
      窄屏再由 .footer__legal-line 内部 wrap 继续细折行。
   第一行：版权 + 机构用户服务协议 + 隐私政策
   第二行：| 浙ICP备… | 【公安图标】浙公网安备…
   ⛔ 不要把这两行合并回一个 flex 行 —— check-responsive.js 的 J 段有断言。 */
.footer__bottom-links { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.footer__legal-line { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; }
.footer__bottom-links a:hover { color: #fff; }
.footer__bottom-links .sep { color: rgba(255, 255, 255, .2); }
/* 公安联网备案：图标与备案号必须同处一个链接内（公安部要求），整块一起换行、不拆散。
   ⚠️ 图标源图为 36×40，这里限定 18×20（等比）—— 不限尺寸会撑乱页脚行高。 */
.footer__police { display: inline-flex; align-items: center; gap: 5px; }
.footer__police-icon { width: 18px; height: 20px; flex: none; display: block; }

/* 页脚联系方式 */
.footer__contact {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 22px;
  font-size: 12.5px; color: rgba(255, 255, 255, .5);
}
.footer__contact a { color: rgba(255, 255, 255, .7); transition: color .2s var(--ease); }
.footer__contact a:hover { color: #fff; }

/* 页脚二维码（真实图片） */
.footer__qr { display: flex; align-items: center; gap: 12px; }
.footer__qr-img {
  width: 88px; height: 88px; flex: none;
  border-radius: 8px;
  background: #fff;
  padding: 4px;
}
.footer__qr-text { font-size: 12px; color: rgba(255, 255, 255, .5); line-height: 1.6; }

/* ==========================================================================
   通用内容组件（子页使用）
   ========================================================================== */
/* 功能条目（左图标 + 右文字） */
.feature-list { display: grid; gap: 20px; }
.feature-item {
  display: grid; grid-template-columns: 48px minmax(0, 1fr);
  gap: 20px;
  padding: 26px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.feature-item:hover { border-color: var(--blue-100); box-shadow: var(--shadow-1); }
.feature-item__icon {
  width: 48px; height: 48px;
  display: grid; place-items: center; border-radius: 11px;
  background: var(--blue-050); border: 1px solid var(--blue-100); color: var(--blue-600);
}
.feature-item__icon svg { width: 24px; height: 24px; }
.feature-item h3 { font-size: 17px; font-weight: 700; color: var(--navy-900); display: flex; flex-wrap: wrap; align-items: center; gap: 9px; }
.feature-item p { margin-top: 10px; font-size: 14.5px; line-height: 1.85; color: var(--ink-3); }
.feature-item .taglist { margin-top: 14px; }

/* 标签 */
.tag {
  display: inline-flex; align-items: center;
  font-size: 12px; font-weight: 600;
  padding: 3px 9px; border-radius: 5px;
  background: var(--blue-050); color: var(--blue-600);
  border: 1px solid var(--blue-100);
  white-space: nowrap;
}
.tag--soft { background: var(--bg-soft); color: var(--ink-3); border-color: var(--line); }
.tag--gold { background: #FBF6EC; color: #8A6A2F; border-color: #EFE0C6; }
.taglist { display: flex; flex-wrap: wrap; gap: 8px; }

/* 要点横幅（数据/声明条） */
.stat-band {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  overflow: hidden;
}
.stat-band__item { background: #fff; padding: 28px 24px; text-align: center; }
.stat-band__item b {
  display: block; font-family: var(--font-num);
  font-size: 26px; font-weight: 700; color: var(--navy-800); line-height: 1.2;
}
.stat-band__item span { display: block; margin-top: 8px; font-size: 13.5px; color: var(--ink-3); }

/* 提示条 */
.notice {
  display: flex; gap: 14px;
  padding: 20px 22px;
  border-radius: var(--radius);
  background: var(--blue-050);
  border: 1px solid var(--blue-100);
  font-size: 14px; line-height: 1.8; color: var(--ink-2);
}
.notice svg { width: 20px; height: 20px; flex: none; margin-top: 3px; color: var(--blue-600); }
.notice--warn { background: #FDF8EE; border-color: #F0E2C8; }
.notice--warn svg { color: #A87B2A; }
.notice strong { color: var(--navy-900); }
/* 法务友情提示（法律文本页文末）：暖金系，语气为「郑重告知」而非「警告」。
   ⚠️ 必须位于 .notice strong 之后：两者特异性相同（0-1-1），靠书写顺序取胜。 */
.notice--note { background: #FBF6EC; border-color: #EADFC4; }
.notice--note svg { color: var(--gold); }
.notice--note strong { color: #8A6318; }
/* 功能范围说明（「以机构实际开通配置为准」）：中性浅灰，语气弱于 .notice，不抢正文注意力 */
.notice--scope { background: var(--bg-soft); border-color: var(--line); }
.notice--scope svg { color: var(--ink-4); }
.notice--scope strong { color: var(--navy-800); }

/* 表格 */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table.data { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 14.5px; }
table.data th, table.data td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--line-2); vertical-align: top; }
table.data th {
  background: #FFA500; color: #fff;
  font-weight: 600; font-size: 14px; letter-spacing: .01em;
  white-space: nowrap; border-bottom: 0;
}
table.data tbody tr:last-child td { border-bottom: 0; }
table.data tbody tr:nth-child(even) td { background: #FCFDFE; }
table.data td strong { color: var(--navy-900); }

/* FAQ 手风琴 */
.faq { display: grid; gap: 12px; }
.faq__item { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; transition: border-color .25s var(--ease); }
.faq__item.is-open { border-color: var(--blue-100); box-shadow: var(--shadow-1); }
.faq__q {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  width: 100%; padding: 19px 22px;
  font-size: 16px; font-weight: 600; color: var(--navy-900);
  text-align: left;
}
.faq__q svg { width: 18px; height: 18px; flex: none; color: var(--ink-4); transition: transform .26s var(--ease); }
.faq__item.is-open .faq__q svg { transform: rotate(180deg); color: var(--blue-600); }
.faq__a { display: none; padding: 0 22px 22px; font-size: 14.5px; line-height: 1.9; color: var(--ink-3); }
.faq__item.is-open .faq__a { display: block; }
.faq__a p + p { margin-top: 10px; }

/* 步骤条 */
.steps { display: grid; gap: 0; }
.step {
  position: relative;
  display: grid; grid-template-columns: 56px minmax(0, 1fr);
  gap: 22px; padding-bottom: 34px;
}
.step:last-child { padding-bottom: 0; }
.step::before {
  content: ""; position: absolute; left: 27px; top: 56px; bottom: 0;
  width: 1px; background: linear-gradient(180deg, var(--blue-100), transparent);
}
.step:last-child::before { display: none; }
.step__num {
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: #fff; border: 1px solid var(--blue-100);
  font-family: var(--font-num); font-size: 17px; font-weight: 700; color: var(--blue-600);
  box-shadow: var(--shadow-1);
}
.step__body { padding-top: 6px; }
.step__body h3 { font-size: 17px; font-weight: 700; color: var(--navy-900); }
.step__body p { margin-top: 10px; font-size: 14.5px; line-height: 1.85; color: var(--ink-3); }

/* 表单 */
.form { display: grid; gap: 20px; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 14px; font-weight: 600; color: var(--navy-900); }
.field label .req { color: #C0392B; margin-left: 3px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: var(--radius-s);
  background: #fff; font-size: 15px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { min-height: 132px; resize: vertical; line-height: 1.75; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue-400);
  box-shadow: 0 0 0 3px rgba(44, 111, 209, .12);
}
.field .hint { font-size: 12.5px; color: var(--ink-4); }
/* ── 表单标注与多选组（2026-09-26「方案 B」新增）─────────────────────────────
   ① .opt   ：「（选填）」「（可多选）」等辅助标注，弱化处理，与必填红星的 .req 区分
   ② .field__label：用 <span> 承载**组标签**。多选组的标签不能写成 <label>，
      否则 label 会与组内第一个复选框关联，点标签文字会误勾选第一项。
   ③ .checks：多选勾选组容器。*/
.field label .opt, .field .field__label .opt { font-weight: 400; color: var(--ink-4); margin-left: 4px; }
.field .field__label { font-size: 14px; font-weight: 600; color: var(--navy-900); }
.field .field__label .req { color: #C0392B; margin-left: 3px; }
/* 🔴 .checks 的规则**必须排在该文件上面的 .field input 之后**：
   两者特异度相同（0,1,1），只能靠源码顺序覆盖 ——
   ⛔ 否则 .field input 的 width:100% / padding:12px 14px / border:1px 会落到复选框上，
      多选框会被撑成整行大方块。 */
.checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 18px; }
.checks label {
  display: flex; align-items: flex-start; gap: 9px;
  font-size: 13.5px; font-weight: 400; line-height: 1.6; color: var(--ink-2);
  cursor: pointer;
}
.checks label input {
  width: 17px; height: 17px; flex: none; margin-top: 3px;
  padding: 0; border: none; background: none;
  accent-color: var(--blue-600);
}
/* 组内一项未勾选时的提示轮廓（由 site.js 切换） */
.checks.is-invalid { outline: 1px solid #C0392B; outline-offset: 5px; border-radius: var(--radius-s); }
.consent {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13.5px; line-height: 1.7; color: var(--ink-3);
}
.consent input { width: 17px; height: 17px; flex: none; margin-top: 5px; accent-color: var(--blue-600); }
.consent a { color: var(--blue-600); text-decoration: underline; text-underline-offset: 3px; }
.form__status {
  display: none; padding: 14px 16px; border-radius: var(--radius-s);
  font-size: 14px; line-height: 1.7;
  background: var(--blue-050); border: 1px solid var(--blue-100); color: var(--ink-2);
}
.form__status.is-shown { display: block; }
.form__status.is-ok { background: #F1F8F3; border-color: #D8E9DD; color: #2C6B45; }
.form__status.is-err { background: #FDF3F1; border-color: #F0D6D2; color: #A3352A; }

/* 蜜罐字段：对真实用户不可见，用于拦截自动提交 */
.field--hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* 表单提交按钮禁用态（提交中） */
.btn[disabled] { opacity: .6; cursor: not-allowed; pointer-events: none; }

/* 联系信息块 */
.contact-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.contact-card {
  display: flex; gap: 16px;
  padding: 24px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line);
}
.contact-card__icon {
  width: 44px; height: 44px; flex: none;
  display: grid; place-items: center; border-radius: 11px;
  background: var(--blue-050); border: 1px solid var(--blue-100); color: var(--blue-600);
}
.contact-card__icon svg { width: 21px; height: 21px; }
.contact-card h4 { font-size: 15px; font-weight: 700; color: var(--navy-900); }
.contact-card p { margin-top: 6px; font-size: 14px; line-height: 1.75; color: var(--ink-3); }
.contact-card .ph { color: var(--ink-4); font-style: normal; }

/* 联系卡片内的二维码 */
.contact-card__qr {
  margin-top: 12px;
  display: flex; align-items: center; gap: 16px;
}
.contact-card__qr img {
  width: 112px; height: 112px; flex: none;
  border: 1px solid var(--line); border-radius: 8px;
  background: #fff; padding: 4px;
}
.contact-card__qr p { margin: 0; font-size: 12.5px; line-height: 1.75; color: var(--ink-4); }
.contact-card__qr strong { display: block; margin-bottom: 6px; font-size: 13.5px; color: var(--navy-900); }

/* 文章列表（资讯动态） */
.post-list { display: grid; gap: 18px; }
.post {
  display: grid; grid-template-columns: 128px minmax(0, 1fr);
  gap: 26px; align-items: start;
  padding: 26px 28px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
}
.post:hover { border-color: var(--blue-100); box-shadow: var(--shadow-1); transform: translateY(-2px); }
.post__date { font-family: var(--font-num); font-size: 13px; color: var(--ink-4); letter-spacing: .02em; }
.post__cat { margin-top: 8px; }
.post h3 { font-size: 17px; font-weight: 700; color: var(--navy-900); line-height: 1.5; }
.post p { margin-top: 10px; font-size: 14.5px; line-height: 1.85; color: var(--ink-3); }
.post__meta { margin-top: 14px; }

/* 法律文本（协议页） */
.legal-doc { max-width: 860px; }
.legal-doc h2 {
  font-size: 20px; font-weight: 700; color: var(--navy-900);
  margin: 40px 0 16px; padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.legal-doc h2:first-of-type { margin-top: 0; }
.legal-doc h3 { font-size: 16.5px; font-weight: 700; color: var(--navy-900); margin: 26px 0 10px; }
.legal-doc p, .legal-doc li { font-size: 14.5px; line-height: 2; color: var(--ink-2); }
.legal-doc p + p { margin-top: 12px; }
.legal-doc ul, .legal-doc ol { display: grid; gap: 9px; margin: 12px 0; }
.legal-doc ul li { position: relative; padding-left: 20px; }
.legal-doc ul li::before {
  content: ""; position: absolute; left: 4px; top: .82em;
  width: 5px; height: 5px; border-radius: 50%; background: var(--blue-400);
}
.legal-doc ol { counter-reset: li; }
.legal-doc ol li { position: relative; padding-left: 26px; counter-increment: li; }
.legal-doc ol li::before {
  content: counter(li) "."; position: absolute; left: 0; top: 0;
  font-family: var(--font-num); font-weight: 600; color: var(--blue-600);
}
.legal-doc__meta {
  padding: 18px 20px; border-radius: var(--radius);
  background: var(--bg-soft); border: 1px solid var(--line);
  font-size: 13.5px; line-height: 1.9; color: var(--ink-3);
  margin-bottom: 34px;
}
.legal-toc {
  padding: 24px 26px; border-radius: var(--radius);
  border: 1px solid var(--line); background: #fff;
  margin-bottom: 36px;
}
.legal-toc h4 { font-size: 14px; font-weight: 700; color: var(--navy-900); margin-bottom: 14px; }
.legal-toc ol { counter-reset: li; display: grid; gap: 8px; }
.legal-toc ol li { counter-increment: li; font-size: 14px; }
.legal-toc ol li a { color: var(--ink-2); }
.legal-toc ol li a::before {
  content: counter(li) ". "; font-family: var(--font-num); color: var(--blue-500); font-weight: 600;
}
.legal-toc ol li a:hover { color: var(--blue-600); }

/* 404 */
.err-404 { text-align: center; padding: calc(var(--header-h) + 110px) 0 120px; }
.err-404__code {
  font-family: var(--font-num); font-size: clamp(74px, 12vw, 132px);
  font-weight: 700; line-height: 1; letter-spacing: -.03em;
  background: linear-gradient(140deg, var(--navy-700), var(--blue-400));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.err-404 h1 { margin-top: 22px; font-size: 26px; font-weight: 700; color: var(--navy-900); }
.err-404 p { margin-top: 14px; font-size: 15px; color: var(--ink-3); }

/* ---------- 滚动进入动效 ---------- */
/* 🔴 渐进渲染兜底（第二层，2026-09-26 新增；同日二次修订）
   `.reveal` 区块默认不可见，靠 site.js 在进入视口时加 `.is-in` 才显示。
   风险：site.js 若因网络慢 / 被拦截 / 部署缺失而未执行，这些区块会**永久不可见**
        （表现为整页空白）—— 与「要等资源下载完才显示内容」同源。
   兜底设计（两层）：
     · 第一层（tpl.js 的 head）：`<noscript><style>.reveal{opacity:1;…}</style></noscript>`
       —— 覆盖「JS 被禁用」；
     · 第二层（本处）：`.reveal` 带一条 1.8s 后自动显形的动画 —— 覆盖「JS 启用但没跑到」。
     · `html.lw-js .reveal { animation: none }` 用于正常加载时取消第二层，滚动动效不受影响。
   🔴 `.lw-js` 的**打点时机**是不变量（不在 site.js 顶部、而在 initReveal 内）：
       若脚本一执行就打上，而 boot() 迟到（慢网下 site.js > 1.8s），时序会变成
       「1.8s 兜底显形 → 脚本到达取消动画 ⇒ 内容先出现又消失一下 → 下一帧再显形」＝一次闪烁。
       现在改为在 initReveal 的**同一个任务**里：打标记 + 同步放行首屏可见区块 + 其余交给 IO
       ⇒ 浏览器下一个绘制时机一次性生效，**不会闪**。该不变量由 tools/check-seo.js 的 F-5 段断言。
   ⚠️ 与 `prefers-reduced-motion` 块的关系：那里把 `.reveal` 直接置为可见，
      故减弱动效的用户本来就不会被隐藏，兜底动画对其无影响。 */
.reveal {
  opacity: 0; transform: translateY(18px);
  animation: lw-reveal-failsafe 0s linear 1.8s forwards;
}
@keyframes lw-reveal-failsafe { to { opacity: 1; transform: none; } }
html.lw-js .reveal { animation: none; }
.reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal[data-delay="1"].is-in { transition-delay: .07s; }
.reveal[data-delay="2"].is-in { transition-delay: .14s; }
.reveal[data-delay="3"].is-in { transition-delay: .21s; }
.reveal[data-delay="4"].is-in { transition-delay: .28s; }
.reveal[data-delay="5"].is-in { transition-delay: .35s; }

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

/* ==========================================================================
   响应式
   断点体系（按常见真机 CSS 视口宽度划分）：
     ≤1199px  小笔记本 / iPad Pro 12.9" 横屏(1194)  —— 收紧栅格与间距
     ≤1024px  iPad Air 11" 横屏(1180) / iPad mini 横屏(1024) / iPad 横屏(1080)
                                                    —— 导航折叠为抽屉（触屏优先）
     ≤834px   iPad 竖屏(768 / 810 / 820 / 834)       —— 平板竖屏，内容单列化
     ≤767px   常规手机与手机横屏                      —— 手机布局
     ≤479px   小屏手机 / iPhone SE                     —— 进一步压缩
     ≤359px   超小屏                                   —— 安全兜底
   另见与宽度无关的「触屏优化」区块（@media (hover: none)）。
   ========================================================================== */
@media (max-width: 1199px) {
  :root { --container: 1080px; }
  .section { padding: 84px 0; }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__inner { gap: 44px; }
  .mock__ai { right: -6px; bottom: -12px; }
  .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px; }
  .split { gap: 44px; }
}

@media (max-width: 1024px) {
  :root { --header-h: 64px; }

  /* 导航折叠为抽屉：1024 及以下横屏平板改为触屏友好的抽屉导航 */
  .nav { display: none; }
  .header__actions .btn { display: none; }
  .header__actions { margin-left: auto; gap: 8px; }
  .nav-toggle { display: flex; }
  .header__inner { gap: 16px; }

  .section { padding: 76px 0; }
  .section--tight { padding: 60px 0; }
  .section-head { margin-bottom: 38px; }

  .hero { padding: calc(var(--header-h) + 56px) 0 76px; min-height: 0; }
  .hero__inner { grid-template-columns: minmax(0, 1fr); gap: 52px; }
  .hero__desc { max-width: none; }
  .mock__ai { right: 12px; bottom: 0; }

  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dual { grid-template-columns: minmax(0, 1fr); }
  .value-cols { grid-template-columns: minmax(0, 1fr); }
  .split, .split--reverse { grid-template-columns: minmax(0, 1fr); gap: 38px; }
  .split--reverse .split__media { order: 0; }
  .cta__inner { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .stat-band { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__bottom { justify-content: flex-start; }
}

/* 平板竖屏（iPad 768 / 810 / 820 / 834）与大屏手机 */
@media (max-width: 834px) {
  body { font-size: 15.5px; }
  .container {
    padding: 0 20px;
    padding-left: max(20px, env(safe-area-inset-left));
    padding-right: max(20px, env(safe-area-inset-right));
  }
  .section { padding: 66px 0; }
  .section--tight { padding: 52px 0; }
  .section-title { font-size: 25px; }
  .section-sub { font-size: 15.5px; }
  .section-head { margin-bottom: 32px; }

  /* 预约演示区换段（v1.1）：两列并排会互相挤压 ——
     表单列宽度不足时「机构名称 / 机构类型」两栏输入框只剩约 180px，
     侧栏「预约后会怎样」的四步文字更是无处落脚。
     ⇒ 在此断点起改为**单列**：侧栏整块下移到下一段，两者各占满宽。 */
  .demo-layout { grid-template-columns: minmax(0, 1fr); gap: 26px; }

  .hero { padding: calc(var(--header-h) + 44px) 0 64px; }
  .hero__sub { font-size: 17px; }

  .grid { gap: 18px; }
  .grid--gap-lg { gap: 22px; }
  .card { padding: 26px 22px; }
  .dual__card { padding: 30px 24px; }
  .feature-item { grid-template-columns: 42px minmax(0, 1fr); gap: 16px; padding: 22px; }
  .feature-item__icon { width: 42px; height: 42px; }
  .stat-band__item { padding: 22px 16px; }

  .post { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .post__date { display: flex; align-items: center; gap: 10px; }
  .post__cat { margin-top: 0; }

  .mock__body { grid-template-columns: 124px 1fr; min-height: 286px; }
  .mock__ai { right: 10px; bottom: -8px; }

  .footer { padding-top: 54px; }
  .footer__top { gap: 30px; padding-bottom: 36px; }
  .err-404 { padding: calc(var(--header-h) + 76px) 0 92px; }
}

/* 常规手机 */
@media (max-width: 767px) {
  .container {
    padding: 0 16px;
    padding-left: max(16px, env(safe-area-inset-left));
    padding-right: max(16px, env(safe-area-inset-right));
  }
  .section { padding: 56px 0; }
  .section--tight { padding: 44px 0; }
  .section-title { font-size: 22px; }
  .section-head { margin-bottom: 28px; }

  .grid--2, .grid--3, .grid--4 { grid-template-columns: minmax(0, 1fr); }
  .grid { gap: 16px; }
  .card { padding: 24px 20px; }
  .dual__card { padding: 28px 22px; }
  .dual__list { grid-template-columns: minmax(0, 1fr); }
  .hero__meta { gap: 9px 16px; }
  .btn-row { gap: 10px; }

  .mock__body { grid-template-columns: 108px 1fr; min-height: 262px; }
  .mock__side { padding: 12px 8px; }
  .mock__side-item { font-size: 10.5px; padding: 6px; }
  .mock__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mock__ai { position: static; width: auto; margin-top: 14px; right: auto; bottom: auto; }
  .mock-wrap { display: grid; }

  .form__row { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  /* 多选组窄屏改单列：两列在手机上每列只剩约 150px，中文选项会被挤成三四行 */
  .checks { grid-template-columns: minmax(0, 1fr); gap: 9px; }
  .contact-cards { grid-template-columns: minmax(0, 1fr); }

  .footer__top { grid-template-columns: minmax(0, 1fr); gap: 26px; padding-bottom: 32px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 14px; }
  /* 手机端：页脚底部链接区**必须铺满宽度**。.footer__bottom 在窄屏是 column + align-items:flex-start，
     子项默认按内容宽收缩 ⇒ 行容器可用宽度不足，两行会折得参差（check-responsive.js J-3 有断言）。 */
  .footer__bottom-links { width: 100%; }
  .footer__legal p { font-size: 12px; }

  .legal-doc p, .legal-doc li { font-size: 14px; line-height: 1.95; }
  .legal-toc ol li { font-size: 13.5px; }

  .table-wrap { border-radius: var(--radius-s); }
  table.data { min-width: 560px; }
  table.data th, table.data td { padding: 12px 14px; font-size: 13.5px; }

  .notice { padding: 16px 18px; font-size: 13.5px; gap: 12px; }
  .step { grid-template-columns: 44px minmax(0, 1fr); gap: 16px; padding-bottom: 28px; }
  .step__num { width: 44px; height: 44px; font-size: 15px; }
  .step::before { left: 21px; top: 44px; }
  .step__body h3 { font-size: 16px; }
  .step__body p { font-size: 14px; }

  .btn { height: 46px; padding: 0 20px; font-size: 14.5px; }
  .btn--lg { height: 50px; font-size: 15.5px; }
}

/* 小屏手机 */
@media (max-width: 479px) {
  .container {
    padding: 0 14px;
    padding-left: max(14px, env(safe-area-inset-left));
    padding-right: max(14px, env(safe-area-inset-right));
  }
  .hero__title { font-size: 30px; }
  .stat-band { grid-template-columns: minmax(0, 1fr); }
  .mock__body { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .mock__side { display: none; }
  /* 按钮独占一行，避免长中文文案被截断 */
  .btn-row { display: grid; grid-template-columns: minmax(0, 1fr); }
  .btn-row .btn { width: 100%; }
  .footer__qr { width: 100%; }
  .contact-card__qr { align-items: flex-start; }
}

/* 超小屏兜底 */
@media (max-width: 359px) {
  .container {
    padding: 0 12px;
    padding-left: max(12px, env(safe-area-inset-left));
    padding-right: max(12px, env(safe-area-inset-right));
  }
  .hero__title { font-size: 26px; }
  /* 品牌名改为单行后，本断点不再隐藏「法务工作台」，而是**整体缩小**：
     隐藏会丢掉中文品牌名（品牌沟通损失），缩小则完整保留且不折行。
     最紧场景 320px：品牌名 ≈204px ＋ 汉堡 42~46px ＋ 间距 16px ＋ 容器内边距 24px ≈ 290px < 320px ✓ */
  .brand__name strong { font-size: 15px; }
  .brand__name span { font-size: 12px; }
}

/* ==========================================================================
   触屏优化（与视口宽度无关）
   说明：触屏设备上 :hover 会被「粘连」，导致元素停留在悬停态；
        同时手指点击精度低于鼠标，需要更大的可点区域。
   ========================================================================== */
@media (hover: none), (pointer: coarse) {
  /* 1) 取消依赖 hover 的位移与阴影，避免点击后状态粘住 */
  .card--hover:hover { transform: none; }
  .dual__card:hover { transform: none; }
  .post:hover { transform: none; }
  .link-arrow:hover svg { transform: none; }
  .feature-item:hover { box-shadow: none; }

  /* 2) 表单控件字号不小于 16px，避免 iOS 聚焦时自动放大整个页面 */
  .field input, .field select, .field textarea { font-size: 16px; }

  /* 3) 可点区域不小于约 44×44 CSS px（WCAG 2.5.5 / Apple HIG） */
  .nav-toggle { width: 46px; height: 46px; }
  .nav__link { min-height: 44px; }
  .nav__drop a { min-height: 46px; display: flex; flex-direction: column; justify-content: center; }
  .drawer__group > a,
  .drawer__group > button { min-height: 54px; }
  .drawer__sub a { min-height: 46px; display: flex; align-items: center; }
  .anchor-bar a { min-height: 40px; }
  .footer__links a { min-height: 34px; display: inline-flex; align-items: center; }
  .footer__bottom-links a,
  .footer__contact a { min-height: 34px; display: inline-flex; align-items: center; }
  .legal-toc ol li a { min-height: 40px; display: inline-flex; align-items: center; }
  .faq__q { min-height: 58px; }
  .consent { align-items: flex-start; }
  .consent input { width: 20px; height: 20px; margin-top: 3px; }
}

/* ---------- 打印 ---------- */
@media print {
  .header, .drawer, .cta, .footer__qr, .anchor-bar { display: none !important; }
  .page-hero, .hero { background: #fff !important; color: #000 !important; padding: 24px 0; }
  .page-hero h1, .hero__title, .hero__sub { color: #000 !important; }
  .section { padding: 20px 0; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
