/* ============================================================
   数链 SlianYun 官网 · 极简留白（Minimalist / Editorial）
   黑白灰 · 大留白 · 衬线数字 · 发丝线 · 克制动效
   ============================================================ */

/* ---------- 设计变量 ---------- */
:root {
  --ink: #111111;          /* 主墨色 */
  --ink-2: #55534e;        /* 次级文本 */
  --ink-3: #9b9891;        /* 弱文本 */
  --line: #e7e5e0;         /* 发丝线 */
  --paper: #ffffff;        /* 纸面 */
  --paper-2: #faf9f7;      /* 暖白 */
  --dark: #0f0e0c;         /* 黑幕 */
  --dark-line: rgba(255, 255, 255, 0.14);
  --err: #b3261e;

  --font-sans: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Source Han Sans SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: Georgia, "Times New Roman", "Songti SC", "Noto Serif SC", "SimSun", serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 76px;
}

/* ---------- 基础 ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 24px);
  -webkit-text-size-adjust: 100%;
  /* 关掉浏览器在滚动到顶/底时的橡皮筋回弹：
     否则回弹动画会和 08 · 价值观页的瞬时切换叠在一起，
     视觉上变成「看起来还是正常滚动过去的」。 */
  overscroll-behavior-y: none;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink);
  background: var(--paper);
  overscroll-behavior-y: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: var(--ink); color: var(--paper); }

img, svg { display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
em { font-style: normal; }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.container {
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: clamp(22px, 6vw, 64px);
}

/* 衬线数字 —— 全站编辑风格锚点 */
.num {
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: -0.01em;
  font-style: normal;
}
.num i { font-style: normal; }

.pc { display: inline; }

/* ============================================================
   导航
   ============================================================ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 40px;
  padding-inline: clamp(22px, 4vw, 52px);
  background: rgba(255, 255, 255, 0.6);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s var(--ease), transform 0.45s var(--ease);
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav.is-hidden { transform: translateY(-100%); }

.nav-logo { display: flex; align-items: center; }
.nav-logo-img { display: block; height: 34px; width: auto; }
.logo-mark { width: 27px; height: 27px; color: var(--ink); flex: none; }

.nav-links { display: flex; gap: 34px; margin-left: auto; }
.nav-links a {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-2);
  padding-block: 6px;
  background: linear-gradient(var(--ink), var(--ink)) left bottom / 0 1px no-repeat;
  transition: color 0.35s var(--ease), background-size 0.45s var(--ease);
}
.nav-links a:hover { color: var(--ink); background-size: 100% 1px; }

.nav-cta { flex: none; }

/* 汉堡 */
.nav-burger {
  display: none;
  width: 42px; height: 42px;
  margin-left: auto;
  position: relative;
}
.nav-burger span {
  position: absolute; left: 10px; right: 10px;
  height: 1.5px; background: var(--ink);
  transition: transform 0.4s var(--ease), top 0.4s var(--ease);
}
.nav-burger span:nth-child(1) { top: 17px; }
.nav-burger span:nth-child(2) { top: 25px; }
.nav-burger.is-open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-burger.is-open span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  z-index: 55;
  background: var(--paper);
  padding: 48px clamp(22px, 6vw, 64px);
  display: flex;
  flex-direction: column;
  gap: 40px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), visibility 0.4s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; }
.mobile-menu-links { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu-links a {
  font-size: 27px;
  font-weight: 700;
  padding-block: 14px;
  border-bottom: 1px solid var(--line);
}
body.menu-open { overflow: hidden; }

/* ============================================================
   按钮
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 30px;
  border: 1px solid var(--ink);
  border-radius: 2px;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease);
}
.btn--solid { background: var(--ink); color: var(--paper); }
.btn--solid:hover { background: transparent; color: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--sm { padding: 10px 22px; font-size: 13px; }
.btn--lg { padding: 17px 40px; font-size: 15px; }
.btn--xl { padding: 22px 56px; font-size: 16.5px; }

/* ============================================================
   首屏
   ============================================================ */
.hero {
  position: relative;
  padding-top: calc(var(--nav-h) + clamp(72px, 12vh, 150px));
  padding-bottom: clamp(80px, 12vh, 150px);
  min-height: 92svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero > .container { position: relative; z-index: 1; }

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--ink-2);
}
.hero-eyebrow::before { content: ""; width: 48px; height: 1px; background: var(--ink); opacity: 0.4; }

.hero-title {
  margin-top: clamp(28px, 4vh, 48px);
  font-size: clamp(46px, 8.6vw, 112px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: 0.015em;
}
.hero-title em {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--ink);
}
@supports not (-webkit-text-stroke: 1px black) {
  .hero-title em { color: var(--ink-3); }
}

.hero-sub {
  margin-top: clamp(28px, 4vh, 46px);
  max-width: 46em;
  font-size: 16.5px;
  line-height: 2.05;
  color: var(--ink-2);
}

.hero-cta {
  margin-top: clamp(32px, 5vh, 54px);
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-note {
  margin-top: 22px;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: var(--ink-3);
}

.hero-ghost {
  position: absolute;
  right: -0.06em;
  bottom: -0.18em;
  z-index: 0;
  font-size: clamp(160px, 26vw, 380px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.02em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(17, 17, 17, 0.07);
  pointer-events: none;
  user-select: none;
}

/* 首屏入场（一次性，克制） */
.hero-eyebrow, .hero-title, .hero-sub, .hero-cta, .hero-note { opacity: 0; }
body.is-ready .hero-eyebrow,
body.is-ready .hero-title,
body.is-ready .hero-sub,
body.is-ready .hero-cta,
body.is-ready .hero-note {
  animation: rise 1.1s var(--ease) both;
}
body.is-ready .hero-title { animation-delay: 0.1s; }
body.is-ready .hero-sub   { animation-delay: 0.24s; }
body.is-ready .hero-cta   { animation-delay: 0.38s; }
body.is-ready .hero-note  { animation-delay: 0.5s; }

@keyframes rise {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: none; }
}

/* ============================================================
   滚动揭示（全站统一，唯一的动效语言）
   ============================================================ */
[data-reveal-child] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms);
}
[data-reveal].in [data-reveal-child] { opacity: 1; transform: none; }

/* ============================================================
   数字条
   ============================================================ */
.strip { border-block: 1px solid var(--line); }
.strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.strip-item {
  padding: clamp(36px, 4.6vw, 60px) clamp(20px, 3vw, 44px);
  border-left: 1px solid var(--line);
}
.strip-item:first-child { border-left: 0; }
.strip-item .num {
  display: block;
  font-size: clamp(44px, 5.4vw, 68px);
  line-height: 1;
}
.strip-item .num u { text-decoration: none; font-size: 0.38em; margin-left: 5px; letter-spacing: 0.06em; }
.strip-item > span {
  display: block;
  margin-top: 14px;
  font-size: 14.5px;
  font-weight: 700;
}
.strip-item p {
  margin-top: 6px;
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--ink-3);
}

/* ============================================================
   区块公共
   ============================================================ */
.section { padding-block: clamp(96px, 13vw, 190px); }

.sec-mark { margin-bottom: clamp(32px, 4vw, 48px); }
.sec-mark span {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.24em;
  color: var(--ink-3);
}
.sec-mark span::before { content: ""; width: 46px; height: 1px; background: var(--ink); opacity: 0.3; }
.sec-mark--light span { color: rgba(255, 255, 255, 0.48); }
.sec-mark--light span::before { background: #fff; opacity: 0.3; }
.sec-mark--center { display: flex; justify-content: center; }
.sec-mark--center span::before { display: none; }

.sec-title {
  font-size: clamp(34px, 5.2vw, 62px);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: 0.015em;
}
.sec-lead {
  margin-top: 26px;
  max-width: 38em;
  font-size: 16px;
  line-height: 2;
  color: var(--ink-2);
}

/* ============================================================
   01 · 老板的难处
   ============================================================ */
.pains { margin-top: clamp(56px, 7vw, 96px); }
.pain {
  display: grid;
  grid-template-columns: clamp(64px, 9vw, 130px) 1fr;
  gap: clamp(16px, 4vw, 56px);
  padding-block: clamp(36px, 4.6vw, 60px);
  border-top: 1px solid var(--line);
}
.pain:last-child { border-bottom: 1px solid var(--line); }
.pain-no {
  font-size: clamp(38px, 4.6vw, 62px);
  line-height: 1;
  color: var(--ink-3);
}
.pain-body h3 {
  font-size: clamp(20px, 2.3vw, 27px);
  font-weight: 700;
  letter-spacing: 0.01em;
}
.pain-body p {
  margin-top: 12px;
  max-width: 42em;
  font-size: 15px;
  line-height: 2;
  color: var(--ink-2);
}

/* ============================================================
   02 · 系统能干啥
   ============================================================ */
.section--how {
  background: var(--paper-2);
  border-block: 1px solid var(--line);
}

.hows {
  margin-top: clamp(64px, 8vw, 120px);
  display: flex;
  flex-direction: column;
  gap: clamp(88px, 11vw, 160px);
}

.how {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  grid-template-areas: "no no" "text visual";
  gap: clamp(36px, 6vw, 88px);
  row-gap: clamp(28px, 3.6vw, 52px);
  align-items: center;
}
.how:nth-child(even) {
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  grid-template-areas: "no no" "visual text";
}
.how-text { grid-area: text; }
.how-visual { grid-area: visual; }

.how-no {
  grid-area: no;
  font-size: 17px;
  color: var(--ink-3);
  display: flex;
  align-items: center;
  gap: 14px;
}
.how-no::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.how-text h3 {
  font-size: clamp(24px, 2.7vw, 33px);
  font-weight: 700;
  line-height: 1.4;
}
.how-text p {
  margin-top: 16px;
  font-size: 15.5px;
  line-height: 2.05;
  color: var(--ink-2);
}

/* ---------- 界面示意（全部灰阶） ---------- */
.mock {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: clamp(18px, 2.4vw, 26px);
  box-shadow: 0 1px 0 rgba(17, 17, 17, 0.02);
}
.mock-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-size: 13.5px;
  font-weight: 700;
  padding-bottom: 14px;
}
.mock-head b { font-family: var(--font-serif); font-size: 17px; font-weight: 500; }
.mock-head em { font-size: 11.5px; font-weight: 500; color: var(--ink-3); letter-spacing: 0.06em; }

/* 任务列表 */
.t-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-block: 12.5px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
}
.t-row i {
  flex: none;
  width: 8px; height: 8px;
  border-radius: 50%;
  border: 1.5px solid #c9c6bf;
}
.t-row span { flex: 1; min-width: 0; }
.t-row em { font-size: 11.5px; color: var(--ink-3); }
.t-row.is-done i { background: var(--ink); border-color: var(--ink); }
.t-row.is-done span { color: var(--ink-3); text-decoration: line-through; text-decoration-color: rgba(17, 17, 17, 0.3); }
/* 执行日志：完成但不划线 */
.t-row.is-ok i { background: var(--ink); border-color: var(--ink); }
.t-row.is-now i { border-color: var(--ink); animation: pulse 2.2s var(--ease) infinite; }
.t-row.is-now em { color: var(--ink); font-weight: 600; }

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(17, 17, 17, 0.22); }
  70%, 100% { box-shadow: 0 0 0 7px rgba(17, 17, 17, 0); }
}

/* 声波 */
.wave {
  display: flex;
  align-items: flex-end;
  gap: 3.5px;
  height: 46px;
  padding-block: 4px;
  border-top: 1px solid var(--line);
}
.wave i { flex: 1; height: 26%; background: #dcd9d3; border-radius: 2px; transform-origin: bottom; }
.wave i:nth-child(2n) { height: 52%; }
.wave i:nth-child(3n) { height: 72%; background: #a5a29b; }
.wave i:nth-child(5n) { height: 38%; }
.wave i:nth-child(7n) { height: 88%; background: #33312d; }
.wave i:nth-child(3n) { animation: waveB 1.8s ease-in-out infinite; }
.wave i:nth-child(7n) { animation: waveB 1.4s ease-in-out infinite 0.3s; }
@keyframes waveB { 50% { transform: scaleY(0.6); } }

/* AI 跟进记录 */
.note { padding-top: 16px; }
.note small {
  display: block;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink-3);
  margin-bottom: 8px;
}
.note p { font-size: 14.5px; line-height: 1.95; }
.note-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.note-tags em {
  font-size: 12px;
  color: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3.5px 12px;
}

/* 客户档案 */
.f-row {
  display: grid;
  grid-template-columns: 46px 44px 1fr;
  gap: 12px;
  align-items: baseline;
  padding-block: 11px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
}
.f-row time { font-family: var(--font-serif); font-size: 12.5px; color: var(--ink-3); }
.f-row b {
  font-size: 11px;
  font-weight: 600;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 1px 0;
  color: var(--ink-2);
}
.f-row span { color: var(--ink-2); }
.f-lock {
  margin-top: 16px;
  padding: 11px 14px;
  font-size: 12.5px;
  color: var(--ink-2);
  background: var(--paper-2);
  border-left: 2px solid var(--ink);
}

/* 线索分派 */
.mock--assign { display: flex; flex-direction: column; }
.a-new, .a-to { border: 1px solid var(--line); border-radius: 8px; padding: 16px 18px; }
.a-new small, .a-to small { display: block; font-size: 11.5px; color: var(--ink-3); letter-spacing: 0.05em; margin-bottom: 4px; }
.a-new b { font-size: 15.5px; }
.a-arrow {
  align-self: center;
  display: flex;
  align-items: center;
  gap: 12px;
  padding-block: 10px;
  font-size: 12px;
  color: var(--ink-3);
}
.a-arrow span { letter-spacing: 0.08em; }
.a-arrow i { position: relative; width: 1px; height: 44px; background: var(--line); overflow: hidden; }
.a-arrow i::after {
  content: "";
  position: absolute;
  left: -1.5px;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--ink);
  animation: drop 1.8s ease-in-out infinite;
}
@keyframes drop { from { top: -6px; } to { top: 48px; } }
.a-to { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.a-to small { color: rgba(255, 255, 255, 0.55); }
.a-to b { font-size: 17px; }
.a-to em { display: block; margin-top: 3px; font-size: 12px; color: rgba(255, 255, 255, 0.65); }

/* 系统提醒 */
.r-card { border: 1px solid var(--line); border-radius: 8px; padding: 15px 18px; }
.r-card + .r-card { margin-top: 10px; }
.r-card small { display: block; font-size: 11.5px; color: var(--ink-3); letter-spacing: 0.05em; margin-bottom: 5px; }
.r-card p { font-size: 14px; line-height: 1.85; }
.r-card.is-dim { background: var(--paper-2); border-color: transparent; }
.r-card.is-dim p { color: var(--ink-2); }

/* 一句话搜索 */
.s-input {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  padding: 13px 16px;
  font-size: 14.5px;
  margin-bottom: 8px;
}
.s-input i { width: 1.5px; height: 18px; background: var(--ink); animation: blink 1.1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.s-res { padding: 13px 4px; border-top: 1px solid var(--line); }
.s-res:first-of-type { border-top: 0; }
.s-res b { display: block; font-size: 13.5px; margin-bottom: 2px; }
.s-res span { font-size: 13px; color: var(--ink-3); line-height: 1.8; }

/* ============================================================
   03 · 老板看什么（黑幕）
   ============================================================ */
.sec--dark {
  background: var(--dark);
  color: #f4f2ee;
}
.boss-grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(48px, 7vw, 110px);
  align-items: center;
}
.sec--dark .sec-lead { color: rgba(255, 255, 255, 0.62); }

.boss-list { margin-top: clamp(36px, 4vw, 52px); }
.boss-list li {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding-block: 18px;
  border-top: 1px solid var(--dark-line);
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
}
.boss-list li::before {
  content: "";
  flex: none;
  width: 7px; height: 7px;
  background: #fff;
  align-self: center;
}

/* 手机看板 */
.phone {
  max-width: 380px;
  margin-inline: auto;
  width: 100%;
  background: #161512;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 22px;
  padding: clamp(22px, 3vw, 30px);
}
.p-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13.5px;
  font-weight: 600;
  padding-bottom: 18px;
}
.p-top em {
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.5);
  border: 1px solid var(--dark-line);
  border-radius: 999px;
  padding: 2px 10px;
}
.p-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--dark-line);
}
.p-kpi { padding: 16px 6px; text-align: center; border-left: 1px solid var(--dark-line); }
.p-kpi:first-child { border-left: 0; }
.p-kpi .num { display: block; font-size: 30px; line-height: 1.1; color: #fff; }
.p-kpi small { display: block; margin-top: 5px; font-size: 11px; color: rgba(255, 255, 255, 0.5); }

.p-row {
  display: grid;
  grid-template-columns: 3.2em 1fr auto;
  align-items: center;
  gap: 12px;
  padding-block: 13px;
  border-bottom: 1px solid var(--dark-line);
  font-size: 13px;
}
.p-row span { color: rgba(255, 255, 255, 0.85); }
.p-row i { position: relative; height: 2px; background: rgba(255, 255, 255, 0.14); }
.p-row i::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--w, 50%);
  background: #fff;
}
.p-row em { font-size: 11.5px; color: rgba(255, 255, 255, 0.55); }
.p-row.is-dim span, .p-row.is-dim em { color: rgba(255, 255, 255, 0.4); }
.p-row.is-dim i::after { background: rgba(255, 255, 255, 0.45); }
.p-note {
  margin-top: 18px;
  text-align: center;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.42);
}

/* ============================================================
   04 · 算笔账
   ============================================================ */
.calc {
  margin-top: clamp(56px, 7vw, 90px);
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(48px, 7vw, 110px);
  align-items: center;
}

.ctl { padding-block: clamp(20px, 2.6vw, 30px); border-top: 1px solid var(--line); }
.ctl:last-child { border-bottom: 1px solid var(--line); }
.ctl-label { display: block; font-size: 13px; color: var(--ink-3); letter-spacing: 0.06em; margin-bottom: 12px; }
.ctl-box { display: flex; align-items: center; gap: clamp(16px, 2vw, 26px); }

.step {
  flex: none;
  width: 44px; height: 44px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-size: 19px;
  line-height: 1;
  display: grid;
  place-items: center;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), opacity 0.3s;
}
.step:hover { background: var(--ink); color: var(--paper); }
.step:disabled { opacity: 0.22; pointer-events: none; }

.ctl-val { display: flex; align-items: baseline; gap: 8px; min-width: 5.2em; }
.ctl-val .num { font-size: clamp(30px, 3.4vw, 42px); line-height: 1; }
.ctl-val small { font-size: 13px; color: var(--ink-3); }

.calc-out { text-align: left; }
.calc-pre { font-size: 15px; color: var(--ink-2); }
.calc-total { margin-top: 10px; }
.calc-yr { display: block; font-size: 13px; letter-spacing: 0.2em; color: var(--ink-3); margin-bottom: 4px; }
.calc-total .num {
  display: block;
  font-size: clamp(64px, 9.5vw, 130px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  transition: opacity 0.25s var(--ease);
}
.calc-total .num.is-flash { opacity: 0.25; }
.calc-note {
  margin-top: 18px;
  max-width: 30em;
  font-size: 13px;
  line-height: 1.9;
  color: var(--ink-3);
}

/* ============================================================
   05 · 用前用后
   ============================================================ */
.section--cmp { background: var(--paper-2); border-block: 1px solid var(--line); }

.cmp { margin-top: clamp(56px, 7vw, 90px); }
.cmp-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 5vw, 72px);
  padding-bottom: 16px;
  border-bottom: 1px solid var(--ink);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--ink-3);
}
.cmp-head span:last-child { color: var(--ink); }
.cmp-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 5vw, 72px);
  padding-block: clamp(22px, 3vw, 32px);
  border-bottom: 1px solid var(--line);
}
.cmp-row p { font-size: 15px; line-height: 1.9; color: var(--ink-3); }
.cmp-row p:last-child { color: var(--ink); }
.cmp-row b { font-weight: 600; }
.cmp-row small { display: none; }

/* ============================================================
   06 · 三句实话
   ============================================================ */
.trust-grid {
  margin-top: clamp(56px, 7vw, 90px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 4vw, 56px);
}
.trust-item { border-top: 2px solid var(--ink); padding-top: 26px; }
.trust-item h3 { font-size: 18.5px; font-weight: 700; }
.trust-item p { margin-top: 12px; font-size: 14.5px; line-height: 2; color: var(--ink-2); }

/* ============================================================
   07 · CTA
   ============================================================ */
.cta { text-align: center; }
.cta-inner { display: flex; flex-direction: column; align-items: center; }
.cta .sec-mark { margin-bottom: 28px; }
.cta-title {
  font-size: clamp(40px, 6.8vw, 88px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.015em;
}
.cta-lead {
  margin: 30px auto 0;
  max-width: 36em;
  font-size: 16px;
  line-height: 2.05;
  color: var(--ink-2);
}
.cta-inner > div { margin-top: clamp(36px, 5vw, 56px); }
.cta-note { margin-top: 22px; font-size: 12.5px; letter-spacing: 0.06em; color: var(--ink-3); }

/* ============================================================
   页脚
   ============================================================ */
.footer { border-top: 1px solid var(--line); }
.footer-inner {
  padding-block: clamp(44px, 6vw, 72px);
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-logo-img { display: block; height: 34px; width: auto; }
.footer-brand div { display: flex; flex-direction: column; gap: 2px; }
.footer-brand p { font-size: 12.5px; color: var(--ink-3); }
.footer-links { display: flex; gap: 26px; margin-left: auto; }
.footer-links a {
  font-size: 13px;
  color: var(--ink-2);
  background: linear-gradient(var(--ink), var(--ink)) left bottom / 0 1px no-repeat;
  transition: color 0.35s var(--ease), background-size 0.45s var(--ease);
}
.footer-links a:hover { color: var(--ink); background-size: 100% 1px; }
.footer-copy { width: 100%; font-size: 12px; color: var(--ink-3); }

/* ============================================================
   价值观 · 隐藏页（滚到底再往下滚才出现，无动画）
   ============================================================ */
.poem { background: var(--dark); color: #f4f2ee; }
.poem[hidden] { display: none; }

.poem-inner {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  /* 顶部让开固定导航，诗页恰好占满一屏时标记也不会被压住 */
  padding-top: calc(var(--nav-h) + 22px);
  padding-bottom: clamp(36px, 6vh, 64px);
}
.poem-mark { flex: none; }

.poem-verse {
  margin: auto;
  padding-block: clamp(20px, 4vh, 48px);
  writing-mode: vertical-rl;
  font-family: "Songti SC", "Noto Serif SC", "STSong", "SimSun", serif;
  font-size: clamp(30px, 4.6vw, 64px);
  font-weight: 400;
  line-height: 1.9;
  letter-spacing: 0.14em;
  color: #fff;
  max-height: 76vh;
  /* 四列竖排（上阕两句 + 下阕两句）比原两列宽，收紧列距并允许横向溢出隐藏，
     保证小屏不撑破容器、大屏仍居中。 */
  column-gap: 0.2em;
}

.poem-foot {
  flex: none;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 22px;
  border-top: 1px solid var(--dark-line);
}
.poem-src {
  font-family: var(--font-serif);
  font-size: 13.5px;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.55);
}
.poem-sign {
  font-size: 11.5px;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.38);
}

/* ============================================================
   弹窗
   ============================================================ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s;
}
.modal.is-open { opacity: 1; visibility: visible; }
.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 14, 12, 0.44);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}
.modal-card {
  position: relative;
  width: min(560px, 100%);
  max-height: calc(100svh - 40px);
  overflow-y: auto;
  background: var(--paper);
  border-radius: 10px;
  padding: clamp(32px, 5vw, 52px);
  transform: translateY(26px);
  transition: transform 0.5s var(--ease);
}
.modal.is-open .modal-card { transform: none; }
.modal-close {
  position: absolute;
  top: 18px; right: 18px;
  width: 42px; height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: background-color 0.3s;
}
.modal-close:hover { background: var(--paper-2); }
.modal-close svg { width: 19px; height: 19px; }

.modal-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.24em; color: var(--ink-3); }
.modal-title { margin-top: 14px; font-size: clamp(26px, 4vw, 34px); font-weight: 800; line-height: 1.35; }
.modal-lead { margin-top: 14px; font-size: 14px; line-height: 1.95; color: var(--ink-2); }

.modal-form {
  margin-top: 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 26px;
}
.field { display: flex; flex-direction: column; }
.field label { font-size: 12.5px; font-weight: 600; letter-spacing: 0.05em; color: var(--ink-2); margin-bottom: 4px; }
.field label i { font-style: normal; color: var(--err); }
.field input, .field select {
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 9px 0;
  transition: border-color 0.3s;
  -webkit-appearance: none;
  appearance: none;
}
.field select {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239b9891' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right center no-repeat;
  cursor: pointer;
}
.field input::placeholder { color: #c4c1ba; }
.field input:focus, .field select:focus { outline: none; border-bottom-color: var(--ink); }
.field.is-invalid input { border-bottom-color: var(--err); }

.modal-msg { grid-column: 1 / -1; min-height: 1.2em; font-size: 13px; margin-top: -6px; }
.modal-msg.is-error { color: var(--err); }
.modal-msg.is-success { color: var(--ink); font-weight: 600; }

.modal-submit { grid-column: 1 / -1; position: relative; }
.modal-spinner {
  position: absolute;
  width: 20px; height: 20px;
  opacity: 0;
  animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.modal-submit.is-loading .modal-submit-label { opacity: 0; }
.modal-submit.is-loading .modal-spinner { opacity: 1; }
.modal-privacy { grid-column: 1 / -1; font-size: 11.5px; color: var(--ink-3); text-align: center; }

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1024px) {
  .how, .how:nth-child(even) {
    grid-template-columns: 1fr;
    grid-template-areas: "no" "text" "visual";
    gap: 32px;
    align-items: start;
  }
  .how-visual { max-width: 560px; }
  .boss-grid { grid-template-columns: 1fr; }
  .calc { grid-template-columns: 1fr; gap: 48px; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .pc { display: none; }

  .nav { gap: 20px; }
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: block; }

  .hero { min-height: auto; }
  .hero-title { font-size: clamp(42px, 12vw, 64px); }
  .hero-cta .btn { width: 100%; }
  .hero-ghost { display: none; }

  .strip-grid { grid-template-columns: 1fr 1fr; }
  .strip-item { border-left: 0; border-top: 1px solid var(--line); }
  .strip-item:nth-child(-n+2) { border-top: 0; }
  .strip-item:nth-child(2n) { border-left: 1px solid var(--line); }

  .pain { grid-template-columns: 1fr; gap: 10px; }
  .pain-no { font-size: 30px; }

  .cmp-head { display: none; }
  .cmp-row { grid-template-columns: 1fr; gap: 12px; }
  .cmp-row small {
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--ink-3);
    margin-bottom: 4px;
  }
  .cmp-row p:last-child small { color: var(--ink-2); }

  .trust-grid { grid-template-columns: 1fr; }

  .footer-inner { flex-direction: column; align-items: flex-start; gap: 28px; }
  .footer-links { margin-left: 0; flex-wrap: wrap; }

  .modal-form { grid-template-columns: 1fr; }
}

/* ============================================================
   动效克制：偏好减少动态
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero-eyebrow, .hero-title, .hero-sub, .hero-cta, .hero-note,
  [data-reveal-child] { opacity: 1 !important; transform: none !important; }
}
