/* ============================================================================
   嘻嘻关怀 · 官网改版设计稿
   ----------------------------------------------------------------------------
   设计语言参考：https://xmos.motanni.com/
     · 固定胶囊顶栏 + 收缩态毛玻璃
     · 发丝级描边、超大留白、克制的单色体系
     · 展示字体 + 等宽字体的技术化标签体系
     · 悬浮徽章的层叠卡片、巨幅幽灵字脚注
   配色取自产品本身（暖杏色 + 鼠尾草绿 + 陶土红），
   冷调墨蓝负责结构，暖调负责情绪 —— 冷结构 / 暖情绪。
   ========================================================================= */

/* ---------------------------------------------------------------- 1. 令牌 */
:root {
  /* 表面 */
  --paper: #ffffff;
  --paper-2: #fbf9f6;
  --paper-3: #f5f2ec;
  --band: #faf7f1;

  /* 墨色（--ink-3 已按 WCAG AA 4.5:1 校准于最浅底色） */
  --ink: #1c1b19;
  --ink-2: #46413b;
  --ink-3: #6f6a63;
  --muted: #767068;

  /* 描边 */
  --rule: #e9e4db;
  --rule-2: #c9c3b8;
  --rule-warm: #ebe5de;

  /* 主强调色：取自产品界面的暖杏
     --accent 用于图形（描点、描边、渐变）；
     --accent-ink 用于浅底上的文字（已校准 ≥4.5:1）；
     --accent-strong 用于链接与白字底色（白字 ≥5.8:1）。 */
  --accent: #b96a33;
  --accent-ink: #a5571f;
  --accent-strong: #9a5225;
  --accent-soft: #fdf3ea;
  --accent-line: #f0d9c4;
  --accent-deep: #7d3f1a;

  /* 辅助色：同样区分图形色与文字色 */
  --sage: #5b8570;
  --sage-ink: #4f7763;
  --sage-soft: #eef4f0;
  --sage-line: #d2e2d8;
  --clay: #b56565;
  --clay-ink: #a85858;
  --clay-soft: #fbf1f0;
  --clay-line: #eed6d4;
  --amber: #a9741c;
  --amber-ink: #8a5d13;
  --amber-soft: #fdf6e7;

  /* 字体 */
  --display: "Geist", "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --body: "Geist", "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* 字号阶梯 */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-md: 1.125rem;
  --text-lg: 1.375rem;
  --text-xl: 1.75rem;
  --text-2xl: 2.25rem;
  --text-3xl: 2.75rem;
  --text-page: clamp(2.2rem, 3.6vw, 3.05rem);
  --text-display: clamp(2.5rem, 4.6vw, 4rem);

  /* 间距阶梯 */
  --sp-3xs: 0.25rem;
  --sp-2xs: 0.5rem;
  --sp-xs: 0.75rem;
  --sp-sm: 1rem;
  --sp-md: 1.5rem;
  --sp-lg: 2rem;
  --sp-xl: 3rem;
  --sp-2xl: 4rem;
  --sp-3xl: 6rem;
  --sp-4xl: 8rem;

  /* 动效 */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-micro: 120ms;
  --dur-short: 220ms;
  --dur-long: 460ms;

  /* 形状与阴影 */
  --r-sm: 8px;
  --r-md: 12px;
  --r-card: 20px;
  --r-pill: 999px;
  --shadow-card: 0 12px 32px rgba(44, 37, 30, 0.06);
  --shadow-float: 0 18px 44px rgba(38, 32, 26, 0.11);
  --shadow-lift: 0 22px 54px rgba(38, 32, 26, 0.14);

  /* 容器 */
  --shell: min(1180px, calc(100% - clamp(2rem, 6vw, 5rem)));
  --content: min(48rem, 100%);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* 锚点目标是各章节的 .shell（内容盒），不是 .section 本身：
     .section 的上下内边距有 84–132px，如果把 id 挂在 .section 上，
     跳转后标题会被自身的 padding 推到顶栏下方一大截（桌面端实测空出 170px）。
     96px = 吸顶后的顶栏底边（约 68px）+ 呼吸位。 */
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: var(--text-base);
  line-height: 1.7;
  font-feature-settings: "kern" 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.16;
  text-wrap: balance;
}

p { margin: 0; }
/* height:auto 必须显式声明：HTML 上的 width/height 属性会变成 UA 级
   呈现性提示（height:1688px），只写 width:100% 会让图片被横向压扁。 */
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--accent-soft); color: var(--accent-deep); }

.shell {
  width: var(--shell);
  margin-inline: auto;
}

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

/* --------------------------------------------------------- 3. 排版原语 */
.mono {
  font-family: var(--mono);
  font-weight: 500;
  font-size: var(--text-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-ink);
  font-family: var(--mono);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.eyebrow.is-cool { color: var(--ink-3); }

.sec-head { max-width: 780px; }
.sec-head.is-center { margin-inline: auto; text-align: center; }

.sec-title {
  margin-top: 18px;
  font-size: var(--text-page);
  line-height: 1.2;
  letter-spacing: -0.028em;
}
.sec-title .hl {
  background: linear-gradient(96deg, var(--accent-strong), var(--accent) 55%, #bd7333);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.sec-lead {
  margin-top: 18px;
  max-width: 46rem;
  color: var(--ink-2);
  font-size: var(--text-md);
  line-height: 1.85;
}
.sec-head.is-center .sec-lead { margin-inline: auto; }

.note {
  color: var(--ink-3);
  font-size: var(--text-sm);
  line-height: 1.8;
}

.section { padding: clamp(84px, 9vw, 132px) 0; position: relative; }
.section.is-band { background: var(--band); border-block: 1px solid var(--rule); }
.section.is-warm { background: var(--paper-2); border-block: 1px solid var(--rule-warm); }
.section-head-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: end;
}

/* 章节间的发丝分隔 */
.hairline { height: 1px; background: var(--rule); border: 0; margin: 0; }

/* --------------------------------------------------------------- 4. 按钮 */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 48px;
  padding: 0 26px;
  border: 1px solid var(--rule-2);
  border-radius: var(--r-sm);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--display);
  font-size: var(--text-base);
  font-weight: 600;
  letter-spacing: 0.01em;
  overflow: hidden;
  transition: transform var(--dur-short) var(--ease-out),
              border-color var(--dur-short), color var(--dur-short),
              box-shadow var(--dur-short);
}
.btn:hover {
  border-color: var(--accent);
  color: var(--accent-strong);
  transform: translateY(-2px);
}
.btn svg { width: 18px; height: 18px; flex: none; }

.btn-primary {
  border-color: transparent;
  background: linear-gradient(118deg, var(--accent-strong), var(--accent-ink));
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 8px 22px rgba(154, 82, 37, 0.22);
}
.btn-primary:hover {
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.34), 0 14px 30px rgba(154, 82, 37, 0.3);
}
.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 -70%;
  width: 44%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.44), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s var(--ease-out);
}
.btn-primary:hover::after { left: 130%; }

.btn-outline {
  border-radius: var(--r-pill);
  background: transparent;
  border-color: rgba(30, 26, 22, 0.14);
  padding: 0 22px;
  height: 42px;
  font-size: var(--text-sm);
}
.btn-outline:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.btn-sm { height: 40px; padding: 0 18px; font-size: var(--text-sm); border-radius: var(--r-pill); }

/* --------------------------------------------------------------- 5. 顶栏 */
.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 90;
  display: flex;
  justify-content: center;
  padding: 0 14px;
  pointer-events: none;
  transition: top var(--dur-long) var(--ease-out);
}
.topbar.is-scrolled { top: 14px; }

.nav {
  pointer-events: auto;
  width: 100%;
  max-width: 1180px;
  min-height: 76px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  padding: 0 8px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  transition: max-width var(--dur-long) var(--ease-out),
              min-height var(--dur-long) var(--ease-out),
              padding var(--dur-long) var(--ease-out),
              background var(--dur-long), border-color var(--dur-long),
              box-shadow var(--dur-long);
}
.topbar.is-scrolled .nav {
  max-width: 1060px;
  min-height: 52px;
  padding: 5px 8px 5px 18px;
  background: rgba(255, 255, 253, 0.64);
  backdrop-filter: blur(32px) saturate(1.6);
  -webkit-backdrop-filter: blur(32px) saturate(1.6);
  border-color: rgba(30, 26, 22, 0.07);
  box-shadow: 0 12px 32px rgba(38, 32, 26, 0.09), inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.brand img {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  box-shadow: 0 2px 8px rgba(38, 32, 26, 0.14);
  transition: width var(--dur-long) var(--ease-out), height var(--dur-long) var(--ease-out);
}
.topbar.is-scrolled .brand img { width: 28px; height: 28px; }
.brand-name {
  background: linear-gradient(92deg, #1c1b19, #5d4a3c 40%, var(--accent) 78%, #bd7333);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.4vw, 34px);
}
.nav-link {
  position: relative;
  height: 40px;
  display: inline-flex;
  align-items: center;
  color: var(--ink-2);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.005em;
  white-space: nowrap;
  transition: color var(--dur-short);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 100%;
  height: 2px;
  border-radius: var(--r-pill);
  background: var(--accent);
  opacity: 0;
  transform: scaleX(0.45);
  transition: opacity var(--dur-short), transform var(--dur-short);
}
.nav-link:hover { color: var(--ink); }
.nav-link:hover::after,
.nav-link.is-active::after { opacity: 1; transform: scaleX(1); }
.nav-link.is-active { color: var(--accent-strong); }

.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

/* 板块导航（滚动后出现）
   手机端不做横向 tab：7 项在 390px 屏上要 708px，选中项永远在屏外，
   只能靠手动拖动去找。改成「当前板块 + 展开目录」：
   吸顶条只占一个胶囊的位置，全部板块一次性在纵向菜单里看到。 */
.journey {
  /* 桌面端隐藏：顶栏已有主导航，两条导航同时吸顶就成了「双 tab 栏」。
     ≤900px 时顶栏文字导航隐藏，这里再显示，任何宽度下都只有一条。 */
  display: none;
  position: sticky;
  top: 78px;
  z-index: 70;
  justify-content: center;
  padding: 0 14px 4px;
}
.journey-inner {
  position: relative;
  display: flex;
  justify-content: center;
}

.journey-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 178px;
  height: 40px;
  padding: 0 14px;
  border: 1px solid var(--rule);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 253, 0.78);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  box-shadow: 0 8px 22px rgba(38, 32, 26, 0.06);
  color: var(--ink-2);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  white-space: nowrap;
  cursor: pointer;
  transition: background var(--dur-short), box-shadow var(--dur-short);
}
.journey-trigger:hover { background: rgba(255, 255, 253, 0.94); box-shadow: 0 10px 26px rgba(38, 32, 26, 0.1); }
.journey-ico,
.journey-chevron { flex: none; color: var(--muted); }
.journey-ico { width: 15px; height: 15px; }
.journey-chevron { width: 13px; height: 13px; transition: transform var(--dur-short) var(--ease-out); }
.journey-label { color: var(--ink); }
.journey.is-open .journey-chevron { transform: rotate(180deg); }

.journey-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  min-width: 208px;
  max-height: calc(100vh - 150px);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 6px;
  border: 1px solid var(--rule);
  border-radius: 18px;
  background: rgba(255, 255, 253, 0.94);
  backdrop-filter: blur(24px) saturate(1.6);
  -webkit-backdrop-filter: blur(24px) saturate(1.6);
  box-shadow: 0 20px 48px rgba(38, 32, 26, 0.16);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -8px);
  transition: opacity var(--dur-short) var(--ease-out),
              transform var(--dur-short) var(--ease-out),
              visibility var(--dur-short);
}
.journey.is-open .journey-menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.journey-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 12px;
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
  transition: background var(--dur-short), color var(--dur-short);
}
.journey-no {
  color: var(--accent-strong);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
}
.journey-link:hover { background: var(--paper-3); color: var(--ink); }
.journey-link.is-active { background: var(--ink); color: #fff; }
.journey-link.is-active .journey-no { color: rgba(255, 255, 255, 0.62); }

/* ---------------------------------------------------------------- 6. Hero */
.hero {
  position: relative;
  padding: clamp(140px, 15vw, 186px) 0 0;
  text-align: center;
  overflow: hidden;
}

.hero-wm {
  position: absolute;
  top: 86px;
  left: -46px;
  z-index: 0;
  font-family: var(--display);
  font-size: clamp(120px, 19vw, 268px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(185, 106, 51, 0.09);
  transform: rotate(-7deg);
  pointer-events: none;
  user-select: none;
}

.hero-glow {
  position: absolute;
  inset: -10% -20% auto;
  height: 620px;
  background:
    radial-gradient(52% 66% at 50% 22%, rgba(185, 106, 51, 0.1), transparent 70%),
    radial-gradient(38% 52% at 78% 30%, rgba(91, 133, 112, 0.08), transparent 72%);
  pointer-events: none;
}

.hero-inner { position: relative; z-index: 1; }

.hero h1 {
  margin: 22px auto 0;
  max-width: 21em;
  font-size: var(--text-display);
  line-height: 1.14;
  letter-spacing: -0.038em;
}

/* 轮换关键词：承接 XMOS 的「承接…」句式 */
.rotator {
  position: relative;
  display: inline-block;
  min-width: 4em;
  text-align: left;
  vertical-align: baseline;
}
/* 渐变必须画在每个词自己身上。
   若把 background-clip:text 留在容器、由子元素继承透明填充，子元素在
   opacity/transform 过渡期间会被提升为独立合成层，容器那一层的裁剪背景
   不会画进该层 —— 整词消失（Chrome 已知行为）。标题里「经常出不来字」就是这个原因。 */
.rotator-word {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(0.42em);
  background: linear-gradient(96deg, var(--accent-strong), var(--accent) 60%, #bd7333);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}
/* .is-out 必须写在 .is-on 之前：两者特异性相同，靠后的规则获胜 */
.rotator-word.is-out { opacity: 0; transform: translateY(-0.42em); }
.rotator-word.is-on { opacity: 1; transform: translateY(0); }
.rotator-sizer { visibility: hidden; }
@supports not (background-clip: text) {
  .rotator-word { background: none; -webkit-text-fill-color: currentColor; color: var(--accent-strong); }
}
.rotator::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.06em;
  height: 2px;
  border-radius: 2px;
  background: var(--accent-line);
}

.hero-lead {
  margin: 24px auto 0;
  max-width: 40rem;
  color: var(--ink-2);
  font-size: var(--text-md);
  line-height: 1.9;
}

.hero-cta {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.hero-cta .btn { min-width: 190px; }

.hero-facts {
  margin: 40px auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 780px;
  border: 1px solid var(--rule);
  border-radius: var(--r-card);
  background: rgba(255, 255, 255, 0.7);
  overflow: hidden;
}
.hero-fact { padding: 20px 22px; text-align: left; }
.hero-fact + .hero-fact { border-left: 1px solid var(--rule); }
.hero-fact .k {
  display: block;
  font-family: var(--display);
  font-size: var(--text-base);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.hero-fact .v {
  display: block;
  margin-top: 6px;
  color: var(--ink-3);
  font-size: var(--text-sm);
  line-height: 1.6;
}
.hero-fact .n {
  display: block;
  margin-bottom: 9px;
  color: var(--accent-ink);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
}

/* -------------------------------------------------- 7. 设备外框与静态界面 */
.scene {
  margin-top: clamp(56px, 7vw, 92px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(32px, 5vw, 76px);
  align-items: center;
}

.device {
  position: relative;
  width: min(392px, 100%);
  margin-inline: auto;
}
.device-frame {
  position: relative;
  padding: 11px;
  border-radius: 48px;
  background: linear-gradient(158deg, #3a3733 0%, #1d1b19 46%, #0f0e0d 100%);
  box-shadow: var(--shadow-lift), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}
.device-frame::before,
.device-frame::after {
  content: "";
  position: absolute;
  right: -2px;
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(180deg, #302d29, #191715);
}
.device-frame::before { top: 128px; height: 62px; }
.device-frame::after { top: 206px; height: 34px; }
.device-screen {
  position: relative;
  border-radius: 38px;
  overflow: hidden;
  background: var(--paper-2);
}
.device-screen img { width: 100%; height: auto; }
.device-glare {
  position: absolute;
  inset: 0;
  border-radius: 38px;
  background: linear-gradient(118deg, rgba(255, 255, 255, 0.3) 0%, transparent 34%);
  pointer-events: none;
}

/* 右侧说明栏（对应参考站的语境面板） */
.scene-panel {
  border: 1px solid var(--rule);
  border-radius: var(--r-card);
  background: linear-gradient(160deg, #fff 12%, var(--paper-2));
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.scene-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--rule);
  background: rgba(255, 255, 255, 0.6);
}
.scene-panel-head .t {
  font-family: var(--display);
  font-size: var(--text-base);
  font-weight: 700;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 1px solid var(--rule);
  border-radius: var(--r-pill);
  background: var(--paper-3);
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.chip.is-static { border-color: var(--rule-warm); background: var(--accent-soft); color: var(--accent-strong); }
.chip.is-sage { border-color: var(--sage-line); background: var(--sage-soft); color: var(--sage-ink); }
.chip.is-clay { border-color: var(--clay-line); background: var(--clay-soft); color: var(--clay-ink); }
.chip.is-amber { border-color: #f0e0bd; background: var(--amber-soft); color: var(--amber-ink); }
.chip.is-ink { border-color: transparent; background: var(--ink); color: #fff; }

.scene-list { padding: 8px 8px 14px; }
.scene-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 14px;
  padding: 16px 14px;
  border-radius: var(--r-md);
  transition: background var(--dur-short);
}
.scene-item + .scene-item { border-top: 1px solid var(--rule); border-radius: 0; }
.scene-item:hover { background: rgba(185, 106, 51, 0.035); }
.scene-item .idx {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--accent-line);
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
}
.scene-item h3 {
  font-size: var(--text-base);
  letter-spacing: -0.01em;
}
.scene-item p {
  margin-top: 6px;
  color: var(--ink-2);
  font-size: var(--text-sm);
  line-height: 1.75;
}
.scene-item .spec {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

/* 静态界面条带 */
.strip {
  margin-top: clamp(44px, 5.4vw, 68px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 24px);
}
.strip-item { text-align: center; }
.strip-shot {
  position: relative;
  border: 1px solid var(--rule);
  border-radius: var(--r-card);
  background: linear-gradient(165deg, #fff, var(--paper-2));
  padding: 14px 14px 16px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform var(--dur-long) var(--ease-out), box-shadow var(--dur-long);
}
.strip-item:hover .strip-shot { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.strip-shot img {
  width: 100%;
  height: auto;
  border: 1px solid var(--rule);
  border-radius: 12px;
}
.strip-label {
  display: block;
  margin-top: 14px;
  font-family: var(--display);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.01em;
}
.strip-desc {
  display: block;
  margin-top: 4px;
  color: var(--ink-3);
  font-size: var(--text-xs);
  line-height: 1.6;
}

/* ------------------------------------------------------ 8. 定位对比（定位） */
.compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 28px);
  margin-top: clamp(40px, 5vw, 64px);
}
.compare-card {
  position: relative;
  padding: 30px 32px 32px;
  border: 1px solid var(--rule);
  border-radius: var(--r-card);
  background: var(--paper);
}
.compare-card h3 {
  font-size: var(--text-lg);
  letter-spacing: -0.02em;
}
.compare-card .sub {
  display: block;
  margin-top: 8px;
  color: var(--ink-3);
  font-size: var(--text-sm);
}
.compare-card.is-a { background: var(--paper-2); }
.compare-card.is-b {
  border-color: var(--accent-line);
  background: linear-gradient(158deg, #fff 10%, var(--accent-soft));
  box-shadow: 0 16px 40px rgba(185, 106, 51, 0.1);
}
.compare-card.is-b::after {
  content: "本产品";
  position: absolute;
  top: -11px;
  left: 32px;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  background: var(--accent);
  color: #fff;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
}
.compare-list { margin-top: 22px; }
.compare-list li {
  position: relative;
  padding: 11px 0 11px 26px;
  color: var(--ink-2);
  font-size: var(--text-sm);
  line-height: 1.7;
  border-top: 1px solid var(--rule);
}
.compare-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 20px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--rule-2);
}
.compare-card.is-b .compare-list li::before { background: var(--accent); }
.compare-card.is-b .compare-list li { color: var(--ink); }

.compare-value {
  margin-top: clamp(28px, 3.4vw, 44px);
  padding: 30px 34px;
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--r-card) var(--r-card) 0;
  background: var(--paper-2);
}
.compare-value p {
  color: var(--ink-2);
  font-size: var(--text-md);
  line-height: 1.9;
}
.compare-value strong { color: var(--ink); }

/* --------------------------------------------------------- 9. 能力分层 */
.layers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.6vw, 28px);
  margin-top: clamp(48px, 5vw, 68px);
}
.layer-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 46px 24px 26px;
  border: 1px solid var(--rule);
  border-radius: var(--r-card);
  background: linear-gradient(155deg, #fff 14%, var(--band));
  box-shadow: var(--shadow-card);
}
.layer-emblem {
  position: absolute;
  top: -36px;
  left: 50%;
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  transform: translateX(-50%);
  border: 1px solid var(--rule);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 14px 30px rgba(38, 32, 26, 0.1);
}
.layer-emblem svg { width: 30px; height: 30px; }
.layer-card .lc-num {
  display: block;
  text-align: center;
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
}
.layer-card h3 {
  margin-top: 12px;
  text-align: center;
  font-size: var(--text-lg);
  letter-spacing: -0.02em;
}
.layer-card > p {
  margin-top: 14px;
  color: var(--ink-2);
  font-size: var(--text-sm);
  line-height: 1.85;
  text-align: center;
}
.layer-facts {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--rule);
  display: grid;
  gap: 9px;
}
.layer-facts li {
  display: flex;
  align-items: baseline;
  gap: 9px;
  color: var(--ink-2);
  font-size: var(--text-sm);
  line-height: 1.65;
}
.layer-facts li::before {
  content: "";
  flex: none;
  width: 5px;
  height: 5px;
  margin-top: 0.5em;
  border-radius: 50%;
  background: var(--accent);
}
.layer-card.is-sage .layer-facts li::before { background: var(--sage); }
.layer-card.is-clay .layer-facts li::before { background: var(--clay); }

/* ------------------------------------------------- 10. 深度能力（四层） */
.caps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 26px);
  margin-top: clamp(40px, 5vw, 60px);
}
.cap-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 30px 28px;
  border: 1px solid var(--rule);
  border-radius: var(--r-card);
  background: var(--paper);
  overflow: hidden;
  transition: border-color var(--dur-short), box-shadow var(--dur-long), transform var(--dur-long) var(--ease-out);
}
.cap-card:hover {
  border-color: var(--rule-2);
  box-shadow: var(--shadow-card);
  transform: translateY(-4px);
}
.cap-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.cap-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--accent-line);
  border-radius: var(--r-md);
  background: var(--accent-soft);
  color: var(--accent-strong);
}
.cap-icon svg { width: 21px; height: 21px; }
.cap-card h3 {
  margin-top: 20px;
  font-size: var(--text-xl);
  letter-spacing: -0.028em;
}
.cap-card > p {
  margin-top: 12px;
  /* 正文行数不同的卡片，把多出来的空白吃掉：示意图框贴齐卡片底部，两卡上下边对齐 */
  margin-bottom: auto;
  color: var(--ink-2);
  font-size: var(--text-sm);
  line-height: 1.9;
}
.cap-visual {
  margin-top: 22px;
  padding: 16px;
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  background: var(--paper-2);
}
.cap-visual svg { width: 100%; height: auto; display: block; }
.cap-visual text { font-family: var(--mono); }

/* 参数表 */
.params {
  margin-top: clamp(40px, 5vw, 60px);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(24px, 3.6vw, 56px);
  align-items: start;
}
.param-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
}
.param-table caption {
  padding-bottom: 14px;
  text-align: left;
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.param-table th,
.param-table td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--rule);
  text-align: left;
  vertical-align: middle;
}
.param-table th {
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.param-table td.v {
  width: 5.6rem;
  color: var(--accent-strong);
  font-family: var(--mono);
  font-size: var(--text-xs);
  font-weight: 600;
  white-space: nowrap;
}
.param-table td.d { color: var(--ink-2); }
.param-table tr:hover td { background: rgba(185, 106, 51, 0.03); }
.params-copy p + p { margin-top: 16px; }
.params-copy h3 {
  font-size: var(--text-lg);
  letter-spacing: -0.02em;
}

/* ------------------------------------------------------- 11. 深度细节网格 */
.depth-grid {
  margin-top: clamp(40px, 5vw, 60px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--rule);
  border-radius: var(--r-card);
  overflow: hidden;
  background: var(--paper);
}
.depth-cell {
  padding: 28px 26px 30px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  transition: background var(--dur-short);
}
.depth-cell:nth-child(3n) { border-right: 0; }
.depth-cell:nth-last-child(-n + 3) { border-bottom: 0; }
.depth-cell:hover { background: var(--paper-2); }
.depth-cell .dc-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--rule);
  border-radius: 10px;
  background: var(--paper-2);
  color: var(--ink-2);
}
.depth-cell .dc-icon svg { width: 18px; height: 18px; }
.depth-cell h3 {
  margin-top: 16px;
  font-size: var(--text-base);
  letter-spacing: -0.012em;
}
.depth-cell p {
  margin-top: 9px;
  color: var(--ink-2);
  font-size: var(--text-sm);
  line-height: 1.8;
}

/* --------------------------------------------------------- 12. 边界与取舍 */
.limits {
  margin-top: clamp(40px, 5vw, 60px);
  border-top: 1px solid var(--rule);
}
.limit-row {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: clamp(16px, 3vw, 44px);
  padding: 24px 4px;
  border-bottom: 1px solid var(--rule);
  transition: background var(--dur-short);
}
.limit-row:hover { background: var(--paper-2); }
.limit-row .lr-k {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.limit-row h3 {
  font-size: var(--text-base);
  letter-spacing: -0.01em;
}
.limit-row p {
  margin-top: 8px;
  color: var(--ink-2);
  font-size: var(--text-sm);
  line-height: 1.85;
}
.limit-row p + p { margin-top: 8px; }
.limit-row .lr-why {
  color: var(--ink-3);
  font-size: var(--text-sm);
}
.limit-row .lr-why b { color: var(--ink-2); font-weight: 600; }

/* --------------------------------------------------------- 13. 联系横幅 */
.cta-section { padding-bottom: clamp(72px, 8vw, 108px); }
.cta {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 348px;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  padding: clamp(34px, 4.4vw, 56px);
  border: 1px solid var(--accent-line);
  border-radius: var(--r-card);
  background:
    radial-gradient(70% 120% at 100% 0%, rgba(185, 106, 51, 0.1), transparent 62%),
    linear-gradient(160deg, #fff 20%, var(--accent-soft));
  overflow: hidden;
}
.cta h2 {
  font-size: var(--text-2xl);
  letter-spacing: -0.03em;
}
.cta .cta-lead {
  margin-top: 14px;
  max-width: 34rem;
  color: var(--ink-2);
  font-size: var(--text-base);
  line-height: 1.9;
}
.cta-side {
  padding: 22px;
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.82);
}
.cta-side .cs-k {
  display: block;
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.wx-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}
.wx-id {
  flex: 1;
  min-width: 0;
  padding: 12px 14px;
  border: 1px dashed var(--accent-line);
  border-radius: var(--r-sm);
  background: var(--paper);
  font-family: var(--mono);
  font-size: var(--text-base);
  font-weight: 600;
  letter-spacing: 0.04em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.copy-btn {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--rule-2);
  border-radius: var(--r-sm);
  background: var(--paper);
  font-size: var(--text-sm);
  font-weight: 600;
  transition: border-color var(--dur-short), color var(--dur-short), background var(--dur-short);
}
.copy-btn:hover { border-color: var(--accent); color: var(--accent-strong); }
.copy-btn.is-done { border-color: var(--sage-line); background: var(--sage-soft); color: var(--sage-ink); }
.copy-btn svg { width: 16px; height: 16px; }
.cta-side .cs-note {
  display: block;
  margin-top: 12px;
  color: var(--ink-3);
  font-size: var(--text-xs);
  line-height: 1.7;
}

/* ------------------------------------------------------------- 14. 页脚 */
.site-footer {
  padding: 78px 0 34px;
  border-top: 1px solid var(--rule);
  background: var(--paper-2);
}
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.footer-brand { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.footer-brand p { max-width: 24rem; color: var(--ink-3); font-size: var(--text-sm); line-height: 1.8; }

.footer-mark {
  margin-top: 64px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-family: var(--display);
  font-size: clamp(52px, 9.4vw, 132px);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.03em;
  color: rgba(30, 26, 22, 0.055);
  user-select: none;
  overflow: hidden;
}
/* 页脚大字常驻显示：不做入场动画，避免每次进入视野都产生「重新加载」的观感 */
.footer-mark span { display: inline-block; }

.footer-bottom {
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--rule);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  justify-content: space-between;
  color: var(--ink-3);
  font-size: var(--text-xs);
  line-height: 1.8;
}
.footer-bottom a { border-bottom: 1px solid var(--rule-2); }
.footer-bottom a:hover { color: var(--accent-strong); border-color: var(--accent); }
.footer-bottom .footer-records { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 6px 14px; }
.footer-bottom .police-record { display: inline-flex; align-items: center; gap: 5px; }

/* --------------------------------------------------------- 15. 进场动效 */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.72s var(--ease-out), transform 0.72s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.reveal.is-in { opacity: 1; transform: none; }

/* 未启用脚本时直接呈现内容，避免依赖 JS 才能看到正文 */
html:not(.has-js) .reveal,
html:not(.has-js) .footer-mark span { opacity: 1; transform: none; }

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

/* ---------------------------------------------------------- 16. 响应式 */
@media (max-width: 1080px) {
  .scene { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .scene .device { margin-inline: auto; }
  .caps { grid-template-columns: minmax(0, 1fr); }
  .params { grid-template-columns: minmax(0, 1fr); }
  .depth-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .depth-cell:nth-child(3n) { border-right: 1px solid var(--rule); }
  .depth-cell:nth-child(2n) { border-right: 0; }
  .depth-cell:nth-last-child(-n + 3) { border-bottom: 1px solid var(--rule); }
  .depth-cell:nth-last-child(-n + 2) { border-bottom: 0; }
}

@media (max-width: 900px) {
  /* ≤900px 顶栏文字导航隐藏、板块目录吸顶：吸顶栈底边到 124px，
     所以这里的 offset 要按「顶栏 + 目录按钮」一起算。
     收缩态顶栏底边实测 72px（14px 偏移 + 58px 高），80px 起吸顶留 8px 缝隙，
     两条胶囊才不会叠在一起。 */
  html { scroll-padding-top: 138px; }
  .nav-links { display: none; }
  .nav { grid-template-columns: auto 1fr; min-height: 64px; }
  .nav-actions { grid-column: 2; }
  /* 吸顶前保持隐藏：sticky 元素在到达 top 之前会跟着页面从屏幕中间划过，
     首屏滚下来时那颗胶囊正好卡在画面中央。等它真正吸住（top==80）再淡入。 */
  .journey {
    display: flex;
    top: 80px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    pointer-events: none;
    transition: opacity var(--dur-short) var(--ease-out),
                transform var(--dur-short) var(--ease-out),
                visibility var(--dur-short);
  }
  .journey.is-shown { opacity: 1; visibility: visible; transform: none; }
  /* 吸顶条是全宽容器，只有按钮和面板本身接收点击，别挡住下面的正文。 */
  .journey-trigger,
  .journey-menu { pointer-events: auto; }
  .hero-wm { display: none; }
  .layers { grid-template-columns: minmax(0, 1fr); gap: 76px; }
  .compare { grid-template-columns: minmax(0, 1fr); }
  .strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-top { grid-template-columns: minmax(0, 1fr); }
  .cta { grid-template-columns: minmax(0, 1fr); }
  .section-head-row { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .limit-row { grid-template-columns: minmax(0, 1fr); gap: 10px; }
}

@media (max-width: 620px) {
  :root { --shadow-lift: 0 14px 32px rgba(38, 32, 26, 0.12); }
  .hero { padding-top: 118px; }
  .hero-facts { grid-template-columns: minmax(0, 1fr); }
  .hero-fact + .hero-fact { border-left: 0; border-top: 1px solid var(--rule); }
  .scene-panel-head { flex-direction: column; align-items: flex-start; }
  .strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .depth-grid { grid-template-columns: minmax(0, 1fr); }
  .depth-cell { border-right: 0 !important; }
  .depth-cell:nth-last-child(-n + 2) { border-bottom: 1px solid var(--rule); }
  .depth-cell:last-child { border-bottom: 0; }
  .wx-row { flex-direction: column; align-items: stretch; }
  .copy-btn { justify-content: center; }
  .btn { height: 46px; padding: 0 20px; }
  .hero-cta .btn { width: 100%; }
}

