/* ============================================================
   BUDDY — 首页（landing）
   类名统一 ld- 前缀，避免与 base.css 通用类撞车
   ============================================================ */

/* ---------- 导航 ---------- */
.ld-nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  z-index: 90;
  display: flex;
  align-items: center;
  transition: background .28s var(--ease), box-shadow .28s, backdrop-filter .28s;
}
.ld-nav.stuck {
  background: rgba(251, 247, 241, .86);
  backdrop-filter: saturate(1.5) blur(14px);
  -webkit-backdrop-filter: saturate(1.5) blur(14px);
  box-shadow: 0 1px 0 var(--line), 0 8px 26px rgba(24, 18, 15, .05);
}
.ld-nav-in {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.ld-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-d);
  font-weight: 850;
  font-size: 19px;
  letter-spacing: -.03em;
  flex: none;
}
.ld-logo-mark {
  width: 30px; height: 30px;
  border-radius: 9px;
  background: linear-gradient(140deg, var(--orange), var(--amber) 58%, var(--orange-d));
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  box-shadow: 0 4px 12px rgba(252, 93, 5, .3);
  flex: none;
}
.ld-nav-links { display: flex; align-items: center; gap: 4px; margin-left: 14px; }
.ld-nav-links a {
  padding: 8px 13px;
  border-radius: var(--r-f);
  font-size: 14.5px;
  font-weight: 560;
  color: var(--ink-2);
  transition: background .18s, color .18s;
}
.ld-nav-links a:hover { background: rgba(24, 18, 15, .05); color: var(--ink); }
.ld-nav-act { margin-left: auto; display: flex; align-items: center; gap: 9px; }

.ld-burger {
  display: none;
  width: 40px; height: 40px;
  border-radius: 11px;
  border: 1.5px solid var(--line-2);
  background: rgba(255, 255, 255, .7);
  place-items: center;
}
.ld-burger span {
  display: block;
  width: 16px; height: 1.8px;
  background: var(--ink);
  border-radius: 2px;
  box-shadow: 0 -5px 0 var(--ink), 0 5px 0 var(--ink);
}

.ld-drawer {
  position: fixed;
  inset: var(--nav-h) 0 auto 0;
  z-index: 89;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 14px 24px 22px;
  display: grid;
  gap: 4px;
  box-shadow: var(--sh-2);
}
.ld-drawer a {
  padding: 12px 4px;
  font-size: 16px;
  font-weight: 600;
  border-bottom: 1px solid var(--line);
}
.ld-drawer .btn { margin-top: 12px; }

/* ---------- Hero ---------- */
.ld-hero {
  position: relative;
  isolation: isolate;
  /* 首屏占满整个视口。导航是 fixed 浮层，不占文档流，所以这里用 100svh
     而不是「100vh 减 nav 高度」。
     用 svh 不用 vh：移动端地址栏伸缩时 svh 更稳，不会跳动。
     max(560px, …) 给横屏手机这类超矮视口兜底，避免内容被压扁。 */
  min-height: max(560px, 100svh);
  display: flex;
  align-items: center;
  overflow: hidden;
}
.ld-hero-media {
  position: absolute;
  inset: 0;
  z-index: -3;
}
.ld-hero-media picture { display: block; width: 100%; height: 100%; }
.ld-hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% center;
}
.ld-hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -2;
  /* 尽量把图露出来：不用整片遮罩，只在文案背后放一团柔光。
     radial-gradient 从左侧辐射、快速衰减 —— 右侧三分之二的图保持原样。
     柔光只负责「把文字压着的那块背景提亮」，边界不可见，不像盖了层膜；
     文字自身的 text-shadow 再兜一道（见 .ld-hero-copy 下方）。 */
  background:
    /* 只给顶部导航留一点净空，其余交给 .ld-hero-copy::before 的局部柔光 */
    linear-gradient(180deg, rgba(251, 247, 241, .72) 0%, rgba(251, 247, 241, .2) 7%, rgba(251, 247, 241, 0) 13%);
}
.ld-hero-grain {
  position: absolute;
  inset: 0;
  z-index: -1;
  /* 只留最底下一窄条过渡到下一节的纸色，别把图片底部的水面盖掉 */
  background: linear-gradient(180deg, transparent 90%, rgba(251, 247, 241, .72) 97%, var(--paper) 100%);
}

.ld-hero-in {
  position: relative;
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  /* 上下对称 → 文案落在首屏正中；顶部那一份仍留出 fixed 导航的空间 */
  padding: calc(var(--nav-h) + 24px) 24px calc(var(--nav-h) + 24px);
}
.ld-hero-copy {
  position: relative;
  z-index: 1;               /* 建立层叠上下文，让下面的 ::before 能压在内容之下 */
  max-width: 430px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}
/* 文案栏收窄到左侧一条，图片右半幅（人物右侧、水面、手写字）完全不受影响。
   可读性靠这块底板：左侧接近实色、到文字右边界后快速渐隐到 0 —— 没有硬边界，
   不像卡片也不像整片遮罩，只把文字压着的那条背景垫干净。 */
.ld-hero-copy::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: -40px -150px -40px -110px;
  background: linear-gradient(90deg,
    rgba(251, 247, 241, 0) 0%,
    rgba(251, 247, 241, .95) 9%,
    rgba(251, 247, 241, .93) 76%,
    rgba(251, 247, 241, .55) 89%,
    rgba(251, 247, 241, 0) 100%);
  /* 垂直方向也柔化一下，否则底板上下会留两条硬边，一眼看出「贴了块矩形」 */
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 9%, #000 91%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 9%, #000 91%, transparent 100%);
  pointer-events: none;
}
.ld-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 32px;
  padding: 0 14px 0 6px;
  border-radius: var(--r-f);
  background: rgba(255, 255, 255, .82);
  border: 1px solid var(--orange-line);
  font-size: 13px;
  font-weight: 620;
  color: var(--orange-d);
  backdrop-filter: blur(8px);
  margin-bottom: 20px;
}
.ld-hero-badge b {
  display: grid;
  place-items: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}
/* 不靠遮罩也要读得清：给文字加一层纸色柔光描边。
   原图左上是最亮的橙色高光区，纯深色文字压上去对比会不够，
   这层光晕把笔画边缘"托"起来，大字小字都稳。 */
.ld-hero h1,
.ld-hero .lead,
.ld-hero-note {
  text-shadow:
    0 1px 2px rgba(251, 247, 241, .92),
    0 0 7px rgba(251, 247, 241, .95),
    0 0 24px rgba(251, 247, 241, .82);
}
/* 文案栏收窄到 430px 后，标题要跟着收一档：
   原来的 clamp(38px, 6.4vw, 76px) 在这个宽度里会挤成三四行、压到人物脸上。 */
.ld-hero h1 { font-size: clamp(36px, 3.8vw, 54px); margin-bottom: 16px; }
.ld-hero h1 em { font-style: normal; display: block; }
/* 首屏的强调行压在图上：原来的「橙 → 琥珀」渐变在橙色背景里等于隐形。
   底板上换成深橙实色（--orange-d 对纸色约 4.6:1），暖色点缀保住，也读得清。 */
.ld-hero h1 em.grad-warm {
  background: none;
  color: var(--orange-d);
}
.ld-hero .lead { font-size: 15.5px; max-width: 100%; margin-bottom: 24px; }
.ld-hero-cta { display: flex; flex-wrap: wrap; gap: 11px; margin-bottom: 20px; }
.ld-hero-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  /* 比默认的 ink-3 深一档：压在图上，小字最脆弱 */
  color: var(--ink-2);
}
.ld-hero-note svg { flex: none; }

/* ---------- 数据条 ---------- */
.ld-stats {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
}
.ld-stats-in {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.ld-stat {
  padding: 26px 22px;
  border-right: 1px solid var(--line);
}
.ld-stat:last-child { border-right: 0; }
.ld-stat b {
  display: block;
  font-family: var(--font-d);
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 850;
  letter-spacing: -.03em;
  line-height: 1.1;
  color: var(--ink);
}
.ld-stat span { display: block; font-size: 13.5px; color: var(--ink-3); margin-top: 5px; }

/* ---------- 通用区块 ---------- */
.ld-sec { padding: clamp(64px, 9vw, 116px) 0; }
.ld-sec-alt { background: var(--paper-2); }
.ld-sec-dark { background: var(--dark); color: var(--paper); }
.ld-head { max-width: 700px; margin-bottom: 46px; }
.ld-head .h2 { margin: 12px 0 14px; }
.ld-head-center { margin-inline: auto; text-align: center; }
.ld-head-center .eyebrow { justify-content: center; }

/* ---------- 伙伴矩阵 ----------
   五个伙伴排一行。用 auto-fit 会变成 4+1，落单那张看着像漏排了，
   所以这里写死列数：宽屏 5 列，中屏 3 列，窄屏 2 列，手机 1 列。 */
.ld-buddies {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.ld-buddy {
  position: relative;
  padding: 22px 19px 20px;
  border-radius: var(--r-xl);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--sh-1);
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
  overflow: hidden;
  min-width: 0;
}
.ld-buddy::after {
  content: "";
  position: absolute;
  inset: auto -30% -60% auto;
  width: 160px; height: 160px;
  border-radius: 50%;
  background: var(--bd-accent, var(--orange));
  opacity: .09;
  transition: opacity .3s, transform .5s var(--ease);
}
.ld-buddy:hover { transform: translateY(-5px); box-shadow: var(--sh-2); border-color: var(--line-2); }
.ld-buddy:hover::after { opacity: .16; transform: scale(1.18); }
.ld-buddy-ava {
  width: 46px; height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 23px;
  background: color-mix(in srgb, var(--bd-accent, #FC5D05) 14%, #fff);
  border: 1px solid color-mix(in srgb, var(--bd-accent, #FC5D05) 26%, #fff);
  margin-bottom: 14px;
}
.ld-buddy h3 { font-size: 16.5px; font-weight: 750; letter-spacing: -.015em; }
.ld-buddy-role {
  font-size: 12px;
  font-weight: 680;
  /* 伙伴主色里有琥珀 #FDA13B 这种亮色，直接当正文色在白底上对比度不够，
     混一点墨色压深，保住色相又保证读得清。 */
  color: color-mix(in srgb, var(--bd-accent, #FC5D05) 74%, var(--ink));
  margin-top: 3px;
}
.ld-buddy-say {
  position: relative;
  z-index: 1;
  margin-top: 12px;
  font-size: 13.5px;
  line-height: 1.68;
  color: var(--ink-2);
  border-left: 2.5px solid color-mix(in srgb, var(--bd-accent, #FC5D05) 40%, #fff);
  padding-left: 11px;
  white-space: pre-line;
}

/* ---------- Bento 能力网格 ---------- */
.ld-bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.ld-cell {
  grid-column: span 2;
  padding: 26px 24px;
  border-radius: var(--r-xl);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--sh-1);
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.ld-cell-w4 { grid-column: span 4; }
.ld-cell-w3 { grid-column: span 3; }
.ld-cell-dark {
  background: linear-gradient(150deg, var(--dark-2), var(--dark));
  border-color: transparent;
  color: var(--paper);
}
.ld-cell-dark .ld-cell-txt { color: var(--dark-ink); }
.ld-cell-ico {
  width: 42px; height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 20px;
  background: var(--orange-soft);
  margin-bottom: 16px;
  flex: none;
}
.ld-cell-dark .ld-cell-ico { background: rgba(252, 93, 5, .2); }
.ld-cell h3 { font-size: 18px; font-weight: 750; letter-spacing: -.015em; margin-bottom: 9px; }
.ld-cell-txt { font-size: 14.5px; line-height: 1.75; color: var(--ink-2); }
.ld-cell-txt + .ld-cell-txt { margin-top: 10px; }

/* 网格里的迷你可视化 */
.ld-flow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 20px;
  flex-wrap: wrap;
}
.ld-flow-n {
  padding: 7px 12px;
  border-radius: var(--r-f);
  background: var(--paper-2);
  border: 1px solid var(--line);
  font-size: 12.5px;
  font-weight: 620;
  color: var(--ink-2);
  white-space: nowrap;
}
.ld-flow-n.hot { background: var(--orange-soft); border-color: var(--orange-line); color: var(--orange-d); }
.ld-flow-a { color: var(--ink-4); font-size: 13px; }

.ld-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: auto; padding-top: 20px; }
.ld-tag {
  padding: 6px 12px;
  border-radius: var(--r-f);
  font-size: 12.5px;
  font-weight: 620;
  background: var(--paper-2);
  border: 1px solid var(--line);
  color: var(--ink-2);
}
.ld-cell-dark .ld-tag { background: rgba(251, 247, 241, .08); border-color: rgba(251, 247, 241, .14); color: var(--dark-ink); }

.ld-mini-rows { display: grid; gap: 10px; margin-top: auto; padding-top: 20px; }
.ld-mini-row { display: flex; align-items: center; gap: 11px; font-size: 13.5px; color: var(--ink-2); }
.ld-mini-row i {
  width: 26px; height: 26px;
  border-radius: 8px;
  display: grid; place-items: center;
  background: var(--paper-3);
  font-size: 13px;
  font-style: normal;
  flex: none;
}
.ld-cell-dark .ld-mini-row { color: var(--dark-ink); }
.ld-cell-dark .ld-mini-row i { background: rgba(251, 247, 241, .1); }

/* ---------- 三步 ---------- */
.ld-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ld-step {
  padding: 28px 24px;
  border-radius: var(--r-xl);
  background: var(--white);
  border: 1px solid var(--line);
  position: relative;
}
.ld-step-n {
  font-family: var(--font-m);
  font-size: 13px;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: .1em;
  margin-bottom: 14px;
}
.ld-step h3 { font-size: 18px; font-weight: 750; margin-bottom: 9px; letter-spacing: -.015em; }
.ld-step p { font-size: 14.5px; color: var(--ink-2); line-height: 1.75; }

/* ---------- 对话预览 ---------- */
.ld-demo {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 52px;
  align-items: center;
}
.ld-demo-phone {
  border-radius: 30px;
  background: var(--white);
  border: 1px solid var(--line-2);
  box-shadow: var(--sh-3);
  overflow: hidden;
}
.ld-demo-bar {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
}
.ld-demo-bar .ld-demo-ava {
  width: 36px; height: 36px;
  border-radius: 11px;
  display: grid; place-items: center;
  font-size: 18px;
  background: var(--orange-soft);
  flex: none;
}
.ld-demo-bar b { font-size: 14.5px; font-weight: 700; display: block; line-height: 1.3; }
.ld-demo-bar small { font-size: 11.5px; color: var(--ink-3); }
.ld-demo-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #22A45D;
  margin-left: auto;
  box-shadow: 0 0 0 3px rgba(34, 164, 93, .16);
  flex: none;
}
.ld-demo-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  background: linear-gradient(180deg, #fff, var(--paper));
}
.ld-bub {
  max-width: 82%;
  padding: 11px 15px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.68;
}
.ld-bub-me {
  align-self: flex-end;
  background: var(--ink);
  color: var(--paper);
  border-bottom-right-radius: 5px;
}
.ld-bub-ai {
  align-self: flex-start;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink);
  border-bottom-left-radius: 5px;
  box-shadow: var(--sh-1);
}
.ld-bub-typing { display: flex; gap: 4px; align-items: center; padding: 14px 16px; }
.ld-bub-typing i {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ink-4);
  animation: ldBlink 1.3s infinite;
}
.ld-bub-typing i:nth-child(2) { animation-delay: .18s; }
.ld-bub-typing i:nth-child(3) { animation-delay: .36s; }
@keyframes ldBlink { 0%, 60%, 100% { opacity: .3; } 30% { opacity: 1; } }

.ld-demo-list { display: grid; gap: 14px; }
.ld-demo-li { display: flex; gap: 13px; align-items: flex-start; }
.ld-demo-li b {
  width: 30px; height: 30px;
  border-radius: 9px;
  display: grid; place-items: center;
  background: var(--sea-soft);
  color: var(--sea-d);
  font-size: 13px;
  font-weight: 800;
  flex: none;
  margin-top: 2px;
}
.ld-demo-li p { font-size: 14.5px; line-height: 1.75; color: var(--ink-2); }
.ld-demo-li p strong { color: var(--ink); font-weight: 700; }

/* ---------- 数字 ---------- */
.ld-nums { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.ld-num { padding: 8px 26px; border-right: 1px solid rgba(251, 247, 241, .14); }
.ld-num:last-child { border-right: 0; }
.ld-num b {
  display: block;
  font-family: var(--font-d);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 850;
  letter-spacing: -.035em;
  line-height: 1.05;
  color: var(--paper);
}
.ld-num b span { font-size: .55em; font-weight: 700; margin-left: 2px; color: var(--amber); }
.ld-num p { font-size: 13.5px; color: var(--dark-ink-2); margin-top: 8px; line-height: 1.6; }

/* ---------- 口碑 ---------- */
.ld-voices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ld-voice {
  padding: 26px 24px;
  border-radius: var(--r-xl);
  background: var(--white);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.ld-voice-stars { color: var(--amber); font-size: 14px; letter-spacing: 2px; margin-bottom: 13px; }
.ld-voice p { font-size: 14.5px; line-height: 1.8; color: var(--ink-2); }
.ld-voice-by {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: auto;
  padding-top: 20px;
}
.ld-voice-ava {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--paper-3);
  font-size: 16px;
  flex: none;
}
.ld-voice-name { display: flex; flex-direction: column; line-height: 1.35; }
.ld-voice-name b { font-size: 14px; font-weight: 700; }
.ld-voice-name small { font-size: 12px; color: var(--ink-3); }

/* ---------- 定价 ---------- */
.ld-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: start; }
.ld-plan {
  padding: 30px 26px;
  border-radius: var(--r-xl);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--sh-1);
  display: flex;
  flex-direction: column;
  position: relative;
}
.ld-plan-hot {
  border-color: var(--orange);
  box-shadow: 0 0 0 1px var(--orange), var(--sh-2);
}
.ld-plan-flag {
  position: absolute;
  top: -12px; left: 26px;
  height: 25px;
  padding: 0 12px;
  border-radius: var(--r-f);
  background: var(--orange);
  color: #fff;
  font-size: 11.5px;
  font-weight: 750;
  display: grid;
  place-items: center;
  letter-spacing: .04em;
}
.ld-plan h3 { font-size: 19px; font-weight: 750; }
.ld-plan-for { font-size: 13.5px; color: var(--ink-3); margin-top: 5px; }
.ld-plan-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: 20px 0 4px;
  font-family: var(--font-d);
}
.ld-plan-price b { font-size: 42px; font-weight: 850; letter-spacing: -.04em; line-height: 1; }
.ld-plan-price i { font-style: normal; font-size: 15px; font-weight: 650; color: var(--ink-3); }
.ld-plan-price em { font-style: normal; font-size: 15px; color: var(--ink-3); }
.ld-plan ul { display: grid; gap: 10px; margin: 22px 0 26px; }
.ld-plan li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-2);
}
.ld-plan li::before {
  content: "✓";
  flex: none;
  width: 19px; height: 19px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--orange-soft);
  color: var(--orange-d);
  font-size: 11px;
  font-weight: 800;
  margin-top: 2px;
}
.ld-plan .btn { margin-top: auto; }

/* ---------- FAQ ---------- */
.ld-faq { display: grid; gap: 10px; }
.ld-q {
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  background: var(--white);
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}
.ld-q[open] { border-color: var(--line-2); box-shadow: var(--sh-1); }
.ld-q summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  font-size: 15.5px;
  font-weight: 650;
  cursor: pointer;
  list-style: none;
}
.ld-q summary::-webkit-details-marker { display: none; }
.ld-q summary::after {
  content: "";
  width: 10px; height: 10px;
  border-right: 2px solid var(--ink-3);
  border-bottom: 2px solid var(--ink-3);
  transform: rotate(45deg) translateY(-3px);
  transition: transform .25s var(--ease);
  flex: none;
}
.ld-q[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.ld-q-body { padding: 0 22px 20px; font-size: 14.5px; line-height: 1.8; color: var(--ink-2); }

/* ---------- 最终 CTA ---------- */
.ld-cta {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-xl);
  padding: clamp(38px, 5.5vw, 62px) clamp(26px, 4vw, 56px);
  background: linear-gradient(140deg, var(--dark-2) 0%, var(--dark) 55%, #120D0A 100%);
  color: var(--paper);
  isolation: isolate;
}
.ld-cta::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 520px; height: 520px;
  right: -140px; top: -220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(252, 93, 5, .38), transparent 68%);
}
.ld-cta::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 420px; height: 420px;
  left: -120px; bottom: -220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(1, 118, 218, .3), transparent 68%);
}
.ld-cta-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: center; }
.ld-cta h2 { color: var(--paper); margin-bottom: 14px; }
.ld-cta p { color: var(--dark-ink); font-size: 15.5px; line-height: 1.78; }
.ld-cta-form { display: flex; flex-direction: column; gap: 11px; }
.ld-cta-row { display: flex; gap: 9px; }
.ld-cta-row .input {
  flex: 1;
  background: rgba(251, 247, 241, .1);
  border-color: rgba(251, 247, 241, .22);
  color: var(--paper);
}
.ld-cta-row .input::placeholder { color: rgba(251, 247, 241, .48); }
.ld-cta-row .input:focus { border-color: var(--orange); background: rgba(251, 247, 241, .14); }
.ld-cta-fine { font-size: 12.5px; color: var(--dark-ink-2); line-height: 1.6; }

/* ---------- 页脚 ---------- */
.ld-foot {
  border-top: 1px solid var(--line);
  background: var(--paper-2);
  padding: 54px 0 34px;
}
.ld-foot-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 40px;
}
.ld-foot h4 {
  font-size: 12.5px;
  font-weight: 750;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 14px;
}
.ld-foot-col { display: grid; gap: 9px; align-content: start; }
.ld-foot-col a { font-size: 14.5px; color: var(--ink-2); width: fit-content; }
.ld-foot-col a:hover { color: var(--orange-d); }
.ld-foot-about p { font-size: 14px; color: var(--ink-3); line-height: 1.75; margin-top: 13px; max-width: 320px; }
.ld-foot-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-3);
}

/* ---------- 滚动进度 ---------- */
.ld-prog {
  position: fixed;
  inset: 0 auto auto 0;
  height: 2.5px;
  width: 0;
  background: linear-gradient(90deg, var(--orange), var(--amber), var(--sea));
  z-index: 95;
  transition: width .1s linear;
}

/* ============================================================
   响应式
   ============================================================ */

@media (max-width: 1080px) {
  .ld-bento { grid-template-columns: repeat(4, 1fr); }
  .ld-cell, .ld-cell-w4, .ld-cell-w3 { grid-column: span 2; }
  .ld-buddies { grid-template-columns: repeat(3, 1fr); }
  .ld-demo { grid-template-columns: 1fr; gap: 38px; }
  .ld-nums { grid-template-columns: repeat(2, 1fr); row-gap: 34px; }
  .ld-num:nth-child(2) { border-right: 0; }
  .ld-cta-grid { grid-template-columns: 1fr; gap: 30px; }
  .ld-foot-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .ld-foot-about { grid-column: span 2; }
}

@media (max-width: 860px) {
  .ld-nav-links { display: none; }
  .ld-nav-act .btn-ghost { display: none; }
  .ld-burger { display: grid; }

  /* 手机上图片直接顶到 y=0，导航文字会压在人物头发这种深色区域上。
     给导航一条纸色底衬，不靠运气保证对比度。 */
  .ld-nav {
    background: rgba(251, 247, 241, .88);
    backdrop-filter: saturate(1.4) blur(12px);
    -webkit-backdrop-filter: saturate(1.4) blur(12px);
  }
  .ld-nav.stuck {
    background: rgba(251, 247, 241, .94);
  }

  /* 手机上同样全屏：图片铺满整个首屏，文案压在下方。
     难点在可读性——原图是满幅构图，最后那行小字容易落在遮罩淡掉的区域。
     解法是把遮罩改成「上浅下深」：上半留出图片给人看，从 34% 起快速加深，
     到 78% 已接近纸色，保证底部文案（含 note）压在图上也能读清。 */
  .ld-hero {
    display: flex;
    align-items: flex-end;
    min-height: max(560px, 100svh);
  }
  .ld-hero-media { inset: 0; }
  .ld-hero-bg { object-position: 62% 24%; }
  .ld-hero-scrim {
    inset: 0;
    background:
      linear-gradient(180deg, rgba(251, 247, 241, .9) 0%, rgba(251, 247, 241, .38) 9%, rgba(251, 247, 241, 0) 18%),
      linear-gradient(180deg, rgba(251, 247, 241, 0) 34%, rgba(251, 247, 241, .58) 52%, rgba(251, 247, 241, .88) 66%, rgba(251, 247, 241, .97) 78%, var(--paper) 100%);
  }
  .ld-hero-grain { display: none; }
  .ld-hero-in { padding: 0 24px 44px; }
  .ld-hero-copy { max-width: 100%; }
  .ld-hero .lead { max-width: 100%; }
  .ld-hero-note { color: var(--ink-2); }

  .ld-stats-in { grid-template-columns: repeat(2, 1fr); }
  .ld-stat { border-bottom: 1px solid var(--line); }
  .ld-stat:nth-child(2n) { border-right: 0; }
  .ld-stat:nth-last-child(-n+2) { border-bottom: 0; }
  .ld-steps, .ld-voices, .ld-plans { grid-template-columns: 1fr; }
  .ld-plan-hot { order: -1; }
  .ld-buddies { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  .wrap { padding-inline: 18px; }
  .ld-nav-in { padding-inline: 18px; }
  .ld-hero-in { padding-inline: 18px; }
  .ld-bento { grid-template-columns: 1fr; }
  .ld-cell, .ld-cell-w4, .ld-cell-w3 { grid-column: span 1; }
  .ld-buddies { grid-template-columns: 1fr; }
  .ld-nums { grid-template-columns: 1fr; }
  .ld-num { border-right: 0; padding: 0 0 22px; border-bottom: 1px solid rgba(251, 247, 241, .14); }
  .ld-num:last-child { border-bottom: 0; padding-bottom: 0; }
  .ld-cta-row { flex-direction: column; }
  .ld-cta-row .btn { width: 100%; }
  .ld-foot-grid { grid-template-columns: 1fr; }
  .ld-foot-about { grid-column: span 1; }
  .ld-head { margin-bottom: 34px; }
  .ld-hero-cta { width: 100%; }
  .ld-hero-cta .btn { flex: 1; min-width: 140px; }
}
