/* ============================================================
   爱麻薯官网 · 现代大字 SaaS 风(Linear/Stripe 式)
   白底为主体 + 暗 hero/暗终 CTA 明暗混排
   品牌色:蓝 #2075f2 主 · 橙 #fda61d 辅(取自 logo 物料)
   ============================================================ */

:root {
  --bg: #ffffff;
  --bg-soft: #fafbfc;
  --bg-dark: #0a0d13;
  --ink: #0b0e14;
  --ink-2: #454c58;
  --ink-3: #878e9a;
  --line: #eceef2;

  --blue: #2075f2;
  --blue-deep: #1a5fd0;
  --blue-hi: #5ea1fc;
  --blue-tint: #eef5ff;
  --orange: #fda61d;
  --orange-hi: #fec660;

  /* 蓝→橙 渐变:复刻 M 字标左蓝右橙的过渡 */
  --grad: linear-gradient(93deg, #2075f2 2%, #6f9df6 46%, #fda61d 100%);

  /* 暗区用色 */
  --dark-ink: #f5f7fa;
  --dark-ink-2: #9aa4b3;
  --dark-line: rgba(255, 255, 255, .09);

  --sans: -apple-system, BlinkMacSystemFont, "SF Pro SC", "PingFang SC", "Segoe UI", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;

  --radius: 14px;
  --shot-radius: 12px; /* 产品截图统一圆角(贴近真实窗口) */
  --container: 1240px;

  /* 动效缓动(参照 v1/rmux 纪律):出场主缓动 + 弹性 */
  --fx-ease: cubic-bezier(.22, .61, .36, 1);
  --fx-spring: cubic-bezier(.34, 1.35, .5, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 40px; }
.mono { font-family: var(--mono); }

/* 锚点落点避开固定导航(66px)+ 少许留白,跳转后 section 顶不被遮 */
section[id] { scroll-margin-top: 88px; }

/* ---------- 通用元素 ---------- */

.kicker {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .3em;
  --ls: .3em; /* track 入场的字距落点 */
  color: var(--ink-3);
}

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* 暗底上的渐变提亮:中段换高明度蓝,避免发灰 */
.hero .grad,
.final-cta .grad {
  background-image: linear-gradient(93deg, var(--blue-hi) 2%, #93b5f9 46%, var(--orange-hi) 100%);
}

.hl { color: var(--blue); }
/* 暗底关键词提亮:取品牌渐变橙端,暖色呼应「进化/生长」 */
.hl-dark { color: var(--orange-hi); }
/* 高亮短语不拆行(R6):关键词断成两行既难读也易出孤字 */
.hl, .hl-dark { white-space: nowrap; }

/* 键盘可见焦点:统一品牌蓝环(可访问性 §12.2.6) */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

/* ---------- 导航(双态:暗 hero 上反白 / 滚动后白底) ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  color: var(--dark-ink);
  /* 基态即声明 backdrop-filter(0),使玻璃态可平滑插值过渡 */
  -webkit-backdrop-filter: blur(0px) saturate(1);
  backdrop-filter: blur(0px) saturate(1);
  transition: background-color .3s ease, color .3s ease, box-shadow .3s ease,
    backdrop-filter .3s ease, -webkit-backdrop-filter .3s ease;
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
  height: 66px;
  display: flex;
  align-items: center;
  gap: 36px;
}

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-logo { width: 30px; height: 24px; }
.brand-name { font-size: 17.5px; font-weight: 600; letter-spacing: .01em; }

.nav-links {
  display: flex;
  gap: 4px;
  margin-left: 8px;
}
.nav-links a {
  padding: 7px 13px;
  border-radius: 8px;
  font-size: 14.5px;
  color: inherit;
  opacity: .78;
  transition: opacity .15s ease;
}
.nav-links a:hover { opacity: 1; }
.nav-links a.active { opacity: 1; font-weight: 600; }

.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }

.nav-contact {
  font-size: 14.5px;
  padding: 8px 14px;
  border-radius: 8px;
  opacity: .82;
  transition: opacity .15s ease;
}
.nav-contact:hover { opacity: 1; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  background: var(--blue);
  color: #fff;
  transition: background-color .15s ease;
}
.nav-cta:hover { background: var(--blue-deep); }

.nav-burger { display: none; width: 40px; height: 40px; align-items: center; justify-content: center; }
.nav-burger svg { width: 22px; height: 22px; }

.nav-drawer[hidden] { display: none; }
.nav-drawer {
  display: flex;
  flex-direction: column;
  padding: 10px 24px 22px;
  background: #fff;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 24px 48px -24px rgba(15, 23, 42, .18);
}
.nav-drawer a { padding: 12px 4px; font-size: 15.5px; border-bottom: 1px solid var(--line); }
.drawer-contact {
  margin-top: 16px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 600;
}

/* 滚动态:液态玻璃——半透明浅底 + 高模糊 + 饱和度增益(透出底色但字清晰),
   顶缘内侧一道白高光 + 底缘发丝线 + 轻投影,构成玻璃厚度感 */
.nav.scrolled {
  background: rgba(255, 255, 255, .6);
  -webkit-backdrop-filter: blur(22px) saturate(1.8);
  backdrop-filter: blur(22px) saturate(1.8);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .78),
    0 1px 0 rgba(15, 23, 42, .07),
    0 16px 40px -24px rgba(15, 23, 42, .28);
  color: var(--ink);
}

/* ---------- Hero(暗) ---------- */

.hero {
  position: relative;
  background: var(--bg-dark);
  color: var(--dark-ink);
  padding: 172px 0 0;
}
/* 极淡双辉光:蓝左上 / 橙右,克制 */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(820px 460px at 18% -6%, rgba(32, 117, 242, .18), transparent 64%),
    radial-gradient(700px 420px at 84% 4%, rgba(253, 166, 29, .08), transparent 62%);
  pointer-events: none;
}
/* flow-root:截断 .hero-shot 负 margin 的 collapse 链,
   使 hero 背景在截图底上方 180px 收住,截图跨压到白区 */
.hero-inner { position: relative; text-align: center; display: flow-root; }

.hero-title {
  /* R45:口号改两句对仗长句(我们不发明 Agent / 我们让成熟 Agent 进驻你的工作流),
     长句天生比三字品牌名小——max 94→76 保 L2 桌面单行(1160 内容宽,实测 ~1100),
     更窄宽度由 ht-line balance 均分两行,不出孤字 */
  font-size: clamp(34px, 6.2vw, 76px);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -.022em;
}

.hero-sub {
  margin-top: 26px;
  font-size: clamp(17px, 2vw, 22px);
  color: var(--dark-ink-2);
  word-break: keep-all;  /* R6:窄屏只在「·」处换行,两个短语各自完整,不出孤字 */
}
/* 强调走亮度不走色相:副标题整体灰,重读词提亮 */
.hero-sub strong { color: var(--dark-ink); font-weight: 600; }

/* 大截图跨出暗区,压在白色 follow 区上 */
.hero-shot {
  position: relative;
  max-width: 980px;
  margin: 64px auto -180px;
}
.hero-shot img {
  border-radius: var(--shot-radius);
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow:
    0 30px 70px -18px rgba(2, 6, 16, .55),
    0 90px 160px -40px rgba(2, 6, 16, .4);
}

/* ---------- 篇章标题带(R6):浅色蓝→橙渐变底 + 蓝→橙渐变字 ---------- */

.chapter {
  position: relative;
  /* 双色书端:左缘蓝淡入 → 中央干净 → 右缘橙淡入(对称,读作有意的边饰而非整片色块) */
  background:
    linear-gradient(93deg, rgba(32, 117, 242, .1) 0%, rgba(32, 117, 242, 0) 32%, rgba(253, 166, 29, 0) 68%, rgba(253, 166, 29, .12) 100%),
    var(--bg-soft);
  color: var(--ink);
  padding: 76px 24px;
  border-block: 1px solid var(--line);
}
.chapter-title {
  position: relative;
  text-align: center;
  /* 盒宽收缩到文字本身,让单元素渐变恰好横跨文字(否则渐变铺满容器全宽,居中文字只采样到中段浅蓝、右端发灰) */
  width: fit-content;
  margin-inline: auto;
  font-size: clamp(30px, 4vw, 50px);
  font-weight: 600;
  letter-spacing: -.015em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
/* 品牌渐变短线点题 */
.chapter-title::after {
  content: "";
  display: block;
  width: 64px;
  height: 3px;
  border-radius: 2px;
  background: var(--grad);
  margin: 22px auto 0;
}

/* ---------- 为什么选择爱麻薯(立场 + 计费透明,R3 由两宣言重组为图文双理由) ---------- */

/* R44:why 顶距归零——chapter 渐变带本身是带边框的全宽分隔符,上方留白由上一板块
   .feature 的 150px 底距单独承担(原 why 顶距 150px 与之叠加成 300px 双份留白,显空) */
.why { padding: 0 0 150px; }
/* R13③ 板块对调:why 殿后,不再是 hero 跨线承接者;hero 跨线承接改由 #offers 承担(见下) */
/* 篇章带 → 首理由间距 */
.why > .container { padding-top: 96px; }

/* 双理由:图文交替(文 45% / 图 55%),与编号区共用图文节奏 */
.why-item {
  display: grid;
  grid-template-columns: 5fr 6fr;
  align-items: center;
  gap: 72px;
}
.why-item + .why-item { margin-top: 128px; }
.why-item--rev .why-text { order: 2; }
.why-item--rev .why-visual { order: 1; }

/* R14:why 收尾理由——全端同行(自 offers 04 移入;全宽无配图,四列要点铺满) */
/* R14:why 收尾理由——全端同行(自 offers 04 移入;全宽无配图,四列要点铺满) */
.why-item--full { grid-template-columns: 1fr; }
.why-item--full .why-text { max-width: none; }  /* 全宽:标题/副标左对齐,四列要点铺满容器 */
.why-item--full .why-points { margin-top: 48px; }

.why-tag {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .18em;
  --ls: .18em; /* track 入场的字距落点 */
  color: var(--blue);
}
.why-title {
  margin-top: 18px;
  font-size: clamp(26px, 2.9vw, 38px);
  font-weight: 600;
  line-height: 1.26;
  letter-spacing: -.015em;
  text-wrap: balance;
}
.why-sub {
  margin-top: 18px;
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.75;
  color: var(--ink-2);
  text-wrap: pretty;
}

.why-visual img { display: block; width: 100%; height: auto; margin: 0 auto; }
/* R17:立场配图改 Hermes 能力流转图(用户提供,横版)——等比缩放不裁剪(height:auto);R17b 换白底版,白底融页、不套截图边框/投影(同插画处理,图内窗口投影为内嵌),限宽使「立场」块高与计费/全端趋近、why 三块间距保持均匀 */
.why-flow {
  max-width: 520px;
}
/* 计费证据图(R23 换用户提供用量与计费信息图):白底浮卡信息图,在白色 why 区融底,不套截图边框/投影(与立场流转图一致;图内窗口投影为内嵌),随栏宽自适应 */

/* ---------- 爱麻薯能带来什么(01-04 功能区组头,R4 归组,R5 改篇章暗带) ---------- */

/* hero 截图跨线(-180px)由本板块承接:padding-top 吸收跨距 + 留白;
   R13③ 板块对调——原由 #why 承接,why 殿后后改由本板块承接;带上方为白色呼吸 */
#offers { padding-top: 320px; }

/* 组内首区:去分隔线、收紧顶距——组头统领四区,而非独立区块 */
#personal { padding-top: 88px; border-top: 0; }

/* ---------- 编号功能区 ---------- */

.feature { padding: 150px 0; border-top: 1px solid var(--line); }
.feature.section--paper { background: var(--bg-soft); }

.feat-head { max-width: 860px; }
/* 长标题放宽(R24):03 项目/04 知识库 标题在桌面 54px 大字号下,860 临界被 text-wrap:balance 拆成两行;放宽到 1100 让桌面单行(移动 ≤480 屏窄仍折行,无溢出) */
.feat-head--wide { max-width: 1100px; }
/* R29:01 副标单行——全文实测 886px,原头宽 860 + 副标限宽 46em(874px)刚好卡出末行两字「助理。」孤行;仅 01 放宽 */
#personal .feat-head { max-width: 960px; }
#personal .feat-lead { max-width: none; text-wrap: balance; }  /* 不够单行时两行均分,杜绝两字末行(740-780 档) */
.feat-head .kicker { display: block; }
.feat-no { color: var(--blue); font-weight: 600; }

.feat-title {
  margin-top: 20px;
  font-size: clamp(30px, 4.2vw, 54px);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -.015em;
  text-wrap: balance;  /* R6:窄屏两行均衡,杜绝末行孤字 */
}
.feat-lead {
  margin-top: 20px;
  font-size: clamp(16px, 1.7vw, 19px);
  color: var(--ink-2);
  max-width: 46em;  /* R6:44em 下 1024 档末行孤「理。」;放宽避开孤字断点 */
  text-wrap: pretty;
}

/* 要点:编辑风 hairline 上边框 */
.feat-points {
  margin-top: 56px;
  display: grid;
  gap: 34px 44px;
}
.points-2x2 { grid-template-columns: repeat(2, 1fr); }
.points-4col { grid-template-columns: repeat(4, 1fr); }

.feat-points li {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.feat-points h3 {
  font-size: 16px;
  font-weight: 600;
}
.feat-points p {
  margin-top: 8px;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--ink-2);
  text-wrap: pretty;
}
.point-wide { grid-column: 1 / -1; }

/* 区块截图:细边框 + 大柔影(圆角与 hero 截图统一) */
.feat-shot { margin-top: 72px; }
.feat-shot img {
  border-radius: var(--shot-radius);
  border: 1px solid var(--line);
  box-shadow: 0 36px 80px -34px rgba(15, 23, 42, .22);
}

/* ---- R25:offers 5 页版式分化(破「标题+副标+2×2亮点+大图」同构) ----
   01 保持上下作锚点;02-05 全部左右分栏、位置交叉(02 文左图右 / 03 图左文右 / 04 文左图右 / 05 图左文右),亮点一行一个 */
/* R25b:标题区(编号+主标+副标)整行置顶通栏,只有 亮点+配图 走左右分栏——主标不再被窄栏挤成两行 */
.feature--split .container {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: 56px 72px;
}
.feature--split .feat-head { max-width: none; grid-column: 1 / -1; }
/* 通栏后副标略放宽(04 副标 ~980px,46em 会溢出两字孤行) */
.feature--split .feat-lead { max-width: 50em; }
.feature--split .feat-shot { margin-top: 0; align-self: center; }
/* 分栏内亮点一行一个(单列竖排,hairline 分隔,编辑风清单) */
.feature--split .feat-points { grid-template-columns: 1fr; gap: 26px; margin-top: 0; }
/* 文左图右(02):亮点左、图右,同处第 2 行 */
.feature--split .feat-points { grid-column: 1; grid-row: 2; }
.feature--split .feat-shot { grid-column: 2; grid-row: 2; }
/* 图左文右(04):图左、亮点右,同处第 2 行 */
.feature--split--rev .feat-points { grid-column: 2; grid-row: 2; }
.feature--split--rev .feat-shot { grid-column: 1; grid-row: 2; }

/* ---------- 下载区 ---------- */

.download { padding: 140px 0; }

.dl-head { text-align: center; }
.dl-head .kicker { display: block; padding-left: .3em; }
.dl-title {
  margin-top: 20px;
  font-size: clamp(30px, 4.2vw, 54px);
  font-weight: 600;
  letter-spacing: -.015em;
  text-wrap: balance;
}
.dl-sub { margin-top: 16px; font-size: clamp(16px, 1.7vw, 19px); color: var(--ink-2); text-wrap: pretty; }

.dl-list {
  max-width: 780px;
  margin: 52px auto 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dl-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  text-align: left;
  transition: border-color .18s ease, box-shadow .18s ease;
}
a.dl-card:hover, button.dl-card:hover {
  border-color: var(--blue);
  box-shadow: 0 12px 30px -20px rgba(32, 117, 242, .45);
}

/* R41 统一卡内字号/行高/对齐:icon/name/tag/act 同一基线,中文状态不再用 mono */
.dl-icon { width: 21px; height: 21px; color: var(--ink-2); flex: none; }
.dl-name { font-size: 15.5px; font-weight: 600; line-height: 1.4; }
.dl-tag { font-size: 13px; line-height: 1.4; color: var(--ink-3); }
.dl-act {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--blue);
  flex: none;
}
.dl-act .icon { width: 15px; height: 15px; transition: transform .18s ease; }
a.dl-card:hover .dl-act .icon { transform: translateY(2px); }

.dl-card--soon { opacity: .5; pointer-events: none; }

/* Android 卡内展开二维码(R40):卡片纵向容器,头部行可点,QR 区 0fr→1fr 展开 */
.dl-card--qr { flex-direction: column; align-items: stretch; padding: 0; gap: 0; }  /* gap 置 0:否则收起态头部与 0 高 QR 区间仍留 14px,卡高于同列 */
.dl-card--qr:hover { border-color: var(--blue); box-shadow: 0 12px 30px -20px rgba(32, 117, 242, .45); }
.dl-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 15px 22px;
  background: none;
  border: 0;
  border-radius: inherit;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
}
.dl-card--qr.dl-open .dl-act .icon { transform: rotate(180deg); }
.dl-qr { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--fx-ease); }
.dl-card--qr.dl-open .dl-qr { grid-template-rows: 1fr; }
.dl-qr-inner { overflow: hidden; min-height: 0; }
.dl-qr-box {
  display: flex;
  align-items: center;
  justify-content: center;  /* R42:只放二维码,居中 */
  margin: 0 22px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.qr-slot {
  width: 148px;
  height: 148px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 1px dashed var(--line);
  border-radius: 10px;
  color: var(--ink-3);
  font-size: 12px;
}
.dl-qr-code {
  display: block;
  width: 132px;
  height: 132px;
}
.dl-qr-code[hidden] { display: none; }
[data-qr-placeholder] {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.qr-slot.is-ready {
  border-style: solid;
}
.qr-slot.is-ready [data-qr-placeholder] {
  display: none;
}

/* ---------- 终 CTA(暗) ---------- */

.final-cta {
  position: relative;
  background: var(--bg-dark);
  color: var(--dark-ink);
  padding: 140px 0;
  overflow: hidden;
}
.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 400px at 50% 118%, rgba(32, 117, 242, .16), transparent 62%),
    radial-gradient(520px 320px at 78% -10%, rgba(253, 166, 29, .07), transparent 60%);
  pointer-events: none;
}
.final-inner { position: relative; text-align: center; }

.final-mascot { width: 72px; margin: 0 auto 30px; }

.final-title {
  font-size: clamp(36px, 5.6vw, 70px);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -.018em;
}
.final-sub {
  margin-top: 24px;
  font-size: clamp(15.5px, 1.6vw, 18px);
  color: var(--dark-ink-2);
  text-wrap: pretty;
}

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

.footer { border-top: 1px solid var(--line); background: var(--bg); }

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 64px 40px 48px;
  display: flex;
  justify-content: space-between;
  gap: 60px;
}

/* R5:产品列已删,品牌列放宽;keep-all 让中文只在标点处换行,不出现「事。」孤字 */
.footer-brand { max-width: 460px; }
.footer-slogan { margin-top: 16px; font-size: 14px; color: var(--ink-2); word-break: keep-all; }

.footer-cols { display: flex; gap: 72px; flex-wrap: wrap; }
.footer-col h4 { font-size: 13px; font-weight: 600; color: var(--ink); }
.footer-col ul { margin-top: 14px; }
.footer-col li { margin-top: 10px; }
.footer-col a, .footer-col button {
  font-size: 14px;
  color: var(--ink-2);
  transition: color .15s ease;
}
.footer-col a:hover, .footer-col button:hover { color: var(--blue); }

.footer-base {
  max-width: var(--container);
  margin: 0 auto;
  padding: 20px 40px 30px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px 24px;
  text-align: center;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--ink-3);
}
/* 备案号/落款等整体换行,不在词内断开 */
.footer-base span, .footer-base a { white-space: nowrap; }
/* 备案号与公司名同色(继承 footer-base 的 ink-3,R35 统一) */
.footer-icp { color: inherit; }
.footer-icp:hover { color: var(--blue); }

/* ---------- 联系我们 modal ---------- */

.lead-modal[hidden] { display: none; }
.lead-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.lead-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 9, 15, .58);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.lead-dialog {
  position: relative;
  width: min(420px, 100%);
  background: #fff;
  border-radius: 18px;
  padding: 38px 36px 30px;
  text-align: center;
  box-shadow: 0 40px 90px -30px rgba(2, 6, 16, .5);
}
.lead-dialog h2 { margin-top: 14px; font-size: 24px; font-weight: 700; }
.lead-desc { margin-top: 12px; font-size: 14.5px; color: var(--ink-2); }

/* 咨询表单 */
.lead-form { margin-top: 22px; display: grid; gap: 14px; text-align: left; }
.lead-form[hidden] { display: none; }  /* display:grid 会盖掉 [hidden] 的 UA 样式,显式补回 */
.lead-field { display: grid; gap: 7px; }
.lead-field span { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.lead-field input {
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--bg-soft);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.lead-field input:focus {
  outline: none;
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(32, 117, 242, .14);
}
.lead-submit {
  margin-top: 6px;
  padding: 12px;
  border: 0;
  border-radius: 10px;
  background: var(--blue);
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s ease, transform .2s var(--fx-ease);
}
.lead-submit:hover { background: var(--blue-deep); }
.lead-submit:active { transform: scale(.98); }
.lead-submit:disabled { cursor: wait; opacity: .72; transform: none; }
.lead-status { margin: 18px 0 8px; font-size: 14px; font-weight: 600; }
.lead-status.is-success { margin-top: 26px; font-size: 15px; color: var(--blue); }
.lead-status.is-error { color: #b42318; }

.lead-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: var(--ink-3);
}
.lead-close:hover { color: var(--ink); background: var(--bg-soft); }
.lead-close .icon { width: 18px; height: 18px; }

/* ============================================================
   动效系统(按元素设计,架构参照 v1/rmux 纪律,表现适配亮色克制基调)
   门控:<html> 由 head 内联脚本在「非 reduced-motion 且非录制」时打 .fx;
        无 .fx(降级 / 无 JS / reduced-motion)→ 所有元素静态可见,不闪烁。
   机制:入场一律 CSS @keyframes(与卡片 hover 的 transition 分属两套属性,互不干扰);
        JS 只做三件事——IO 命中给 [data-fx] 加 .in、同父兄弟写级联 --fd、卡片 spotlight 跟随。
   ============================================================ */

/* ---- 待入场初始态(仅 fx 开启时隐藏;--fd 未到也不闪) ---- */
html.fx [data-fx] { opacity: 0; will-change: opacity, translate, scale; }

/* ---- 入场播放:--fd 级联延迟(JS 写),--fdur 时长,类型选 keyframes ---- */
html.fx [data-fx].in {
  animation-duration: var(--fdur, .78s);
  animation-timing-function: var(--fx-ease);
  animation-delay: var(--fd, 0s);
  animation-fill-mode: both;
}
html.fx [data-fx="rise"].in    { animation-name: fx-rise; }
html.fx [data-fx="fade"].in    { animation-name: fx-fade; }
html.fx [data-fx="blur"].in    { animation-name: fx-blur; }
html.fx [data-fx="pop"].in     { animation-name: fx-pop; animation-timing-function: var(--fx-spring); }
html.fx [data-fx="slide-l"].in { animation-name: fx-slide-l; }
html.fx [data-fx="slide-r"].in { animation-name: fx-slide-r; }
html.fx [data-fx="tilt"].in    { animation-name: fx-tilt; animation-timing-function: var(--fx-spring); }
html.fx [data-fx="wipe"].in    { animation-name: fx-wipe; }
html.fx [data-fx="shot"].in    { animation-name: fx-shot; --fdur: 1s; }
html.fx [data-fx="curtain"].in { animation-name: fx-curtain; }
html.fx [data-fx="track"].in   { animation-name: fx-track; }
html.fx [data-fx="drop"].in    { animation-name: fx-drop; }
html.fx [data-fx="flip"].in    { animation-name: fx-flip; }

/* ---- 入场效果库(独立 translate/scale/rotate,不占用元素 transform) ---- */
@keyframes fx-rise    { from { opacity: 0; translate: 0 30px; }    to { opacity: 1; translate: 0 0; } }
@keyframes fx-fade    { from { opacity: 0; }                        to { opacity: 1; } }
@keyframes fx-blur    { from { opacity: 0; translate: 0 14px; filter: blur(10px); } to { opacity: 1; translate: 0 0; filter: blur(0); } }
@keyframes fx-pop     { from { opacity: 0; scale: .9; translate: 0 24px; } to { opacity: 1; scale: 1; translate: 0 0; } }
@keyframes fx-slide-l { from { opacity: 0; translate: -56px 0; }   to { opacity: 1; translate: 0 0; } }
@keyframes fx-slide-r { from { opacity: 0; translate: 56px 0; }    to { opacity: 1; translate: 0 0; } }
@keyframes fx-tilt    { from { opacity: 0; translate: 0 32px; rotate: -1.6deg; } to { opacity: 1; translate: 0 0; rotate: 0deg; } }
@keyframes fx-wipe    { from { opacity: 1; clip-path: inset(-12% 100% -12% 0%); } to { opacity: 1; clip-path: inset(-12% 0% -12% 0%); } }
@keyframes fx-shot    { from { opacity: 0; scale: .95; translate: 0 38px; } to { opacity: 1; scale: 1; translate: 0 0; } }
/* R4 新增文字变体:垂帘(上→下)/ 字距收拢 / 自上而下 / 3D 翻立 / 逐字级联 */
@keyframes fx-curtain { from { opacity: 1; clip-path: inset(-12% -12% 100% -12%); } to { opacity: 1; clip-path: inset(-12% -12% -12% -12%); } }
@keyframes fx-track   { from { opacity: 0; letter-spacing: calc(var(--ls, .3em) + .26em); } to { opacity: 1; letter-spacing: var(--ls, .3em); } }
@keyframes fx-drop    { from { opacity: 0; translate: 0 -30px; } to { opacity: 1; translate: 0 0; } }
@keyframes fx-flip    { from { opacity: 0; transform: perspective(720px) rotateX(-42deg); } to { opacity: 1; transform: perspective(720px) rotateX(0deg); } }
html.fx [data-fx="flip"] { transform-origin: 50% 100%; }

/* ---- Hero 载入编排(首屏不等 IO,载的即排演:nav → 标题两行 → 副标 → 截图登场) ---- */
.ht-line { display: block; text-wrap: balance; }  /* 两行标题(替代 <br>),供逐行入场;窄屏均分换行不出孤字 */
/* R45:否定句收灰、肯定句提亮——「不发明」是铺垫,「进驻工作流」是主张,视线落在第二行 */
.ht-l1 { color: var(--dark-ink-2); }
html.fx .nav          { animation: nav-drop .7s var(--fx-ease) both; }
html.fx .hero::before { animation: fx-fade 1.4s ease both; }
html.fx .ht-l1        { animation: fx-rise .85s var(--fx-ease) .1s  both; }
html.fx .ht-l2        { animation: fx-wipe .95s var(--fx-ease) .24s both; }
html.fx .hero-sub     { animation: fx-rise .85s var(--fx-ease) .4s  both; }
html.fx .hero-shot    { animation: fx-shot 1.05s var(--fx-ease) .54s both; }
@keyframes nav-drop { from { transform: translateY(-102%); } to { transform: translateY(0); } }

/* ---- 微交互:下载卡指针聚光(仅可悬停设备) + 要点 hairline hover ---- */
.dl-card { position: relative; }
.dl-card > * { position: relative; z-index: 1; }
.dl-card::before {
  content: ""; position: absolute; inset: 0; z-index: 0; border-radius: inherit;
  background: radial-gradient(150px circle at var(--mx, 50%) var(--my, 50%), rgba(32, 117, 242, .1), transparent 65%);
  opacity: 0; transition: opacity .3s ease; pointer-events: none;
}
html.fx .dl-card:hover::before { opacity: 1; }
.feat-points li { transition: border-color .3s ease; }
html.fx .feat-points li:hover { border-top-color: var(--blue); }

/* ---- 持续生命(克制):立场配图入位后缓浮 ---- */
html.fx .why-flow { animation: why-float 6.5s ease-in-out 1.4s infinite; }
@keyframes why-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

/* ---- 交互触发的面板入场(去 hidden 即播放) ---- */
html.fx .lead-modal:not([hidden]) .lead-backdrop { animation: fx-fade .3s ease both; }
html.fx .lead-modal:not([hidden]) .lead-dialog { animation: dialog-in .45s var(--fx-spring) both; }
@keyframes dialog-in { from { opacity: 0; translate: 0 20px; scale: .95; } to { opacity: 1; translate: 0 0; scale: 1; } }

/* ---- 降级:reduced-motion 全静态(head 脚本此时本就不打 .fx,此为双保险) ---- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.fx [data-fx] { opacity: 1 !important; animation: none !important; }
  html.fx .nav, html.fx .hero::before, html.fx .ht-l1, html.fx .ht-l2,
  html.fx .hero-sub, html.fx .hero-shot, html.fx .why-flow,
  html.fx .lead-modal .lead-backdrop, html.fx .lead-modal .lead-dialog { animation: none !important; }
  .dl-card, .feat-points li { transition: none; }
}

/* ---------- 响应式 ---------- */

@media (max-width: 1080px) {
  .nav-links, .nav-contact { display: none; }
  .nav-burger { display: inline-flex; }
  .feat-head { max-width: 100%; }
  .points-4col { grid-template-columns: repeat(2, 1fr); }
  .footer-cols { gap: 48px; }
  /* R25:≤1080 分栏收起为堆叠(文先图后,同其它区) */
  .feature--split .container { grid-template-columns: 1fr; gap: 0; }
  .feature--split .feat-head, .feature--split .feat-points, .feature--split .feat-shot { grid-column: 1; grid-row: auto; }
  .feature--split .feat-shot { margin-top: 56px; }
  .feature--split .feat-points { margin-top: 56px; }
}

@media (max-width: 860px) {
  .container { padding: 0 24px; }
  .nav-inner { padding: 0 24px; }
  .footer-inner { padding: 56px 24px 8px; flex-direction: column; gap: 40px; }
  .footer-base { padding: 20px 24px 28px; }

  .hero { padding-top: 132px; }
  .hero-shot { margin-bottom: -110px; }
  #offers { padding-top: 216px; }  /* 承接 hero 截图 -110px 跨距 + 留白(R13③ 由 why 转 offers) */
  .points-2x2 { grid-template-columns: 1fr; }
  .point-wide { grid-column: auto; }

  .feature { padding: 96px 0; }
  .why { padding: 0 0 96px; }  /* R44:同桌面,why 顶距归零,上方留白由上一板块底距承担 */
  .chapter { padding: 56px 20px; }
  .why > .container { padding-top: 64px; }
  #personal { padding-top: 64px; }
  .why-item { grid-template-columns: 1fr; gap: 40px; }
  .why-item--rev .why-text, .why-item--rev .why-visual { order: 0; }
  .why-item + .why-item { margin-top: 88px; }
  .download { padding: 96px 0; }
  .final-cta { padding: 96px 0; }
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .nav-inner { padding: 0 20px; }
  .footer-inner { padding: 48px 20px 8px; }
  .footer-base { padding: 20px 20px 26px; flex-direction: column; align-items: center; gap: 6px; }

  .points-4col { grid-template-columns: 1fr; }
  .dl-card { flex-wrap: wrap; row-gap: 6px; padding: 14px 18px; }
  .dl-act { margin-left: auto; }
  .qr-panel { flex-direction: column; text-align: center; }
  .footer-cols { flex-direction: column; align-items: flex-start; gap: 28px; }
}

/* 超窄屏(≤340):终 CTA 标题首段 8 字收小保单行,不出孤「事」(R6) */
@media (max-width: 340px) {
  .final-title { font-size: 31px; }
}

/* 公安联网备案 */
.footer-police-record {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: inherit;
  white-space: nowrap;
}

.footer-police-record img {
  display: block;
  width: 18px;
  height: 20px;
  flex-shrink: 0;
  object-fit: contain;
}

.footer-police-record:hover {
  color: var(--blue);
}
