/* 光速雷达官网 · 共享样式
   浅色方案取自客户端 ui/one-ray/qml/Theme.qml 的 light 值。
   所有页面共用这一份；页头 / 页脚是每页复制的同一段 HTML。 */

:root {
  --paper: #F5F4EF;
  --card: #FCFBF7;
  --raised: #FFFFFF;
  --ink: #17191D;
  --ink-soft: #5E636B;
  --ink-faint: #8A9099;
  --hairline: #D9D7CF;
  --fill: #EBE9E2;
  --gold: #E1B83F;
  --gold-deep: #8D6C32;
  --teal: #2A9477;
  --teal-soft: #EDF8F4;
  --teal-line: #B9DFD2;

  --sans: "Noto Sans SC", "Microsoft YaHei UI", "PingFang SC", "Hiragino Sans GB", sans-serif;
  --mono: "IBM Plex Mono", "Cascadia Mono", ui-monospace, "Consolas", monospace;

  --wrap: 1060px;
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { margin: 0; font-weight: 700; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 3px; border-radius: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.kicker {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

/* ---------- 微信内置浏览器提示 ---------- */
.wechat-tip {
  position: relative;
  z-index: 30;
  background: var(--gold);
  color: #17191d;
  font-size: 13px;
  line-height: 1.6;
  text-align: center;
  padding: 11px 40px;
  font-weight: 600;
}
.wechat-tip b { font-weight: 800; }

/* ---------- 页头 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(245, 244, 239, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hairline);
}
.site-header .bar {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.logo { display: flex; align-items: center; gap: 11px; text-decoration: none; flex: none; }
.logo img { width: 28px; height: 28px; }
.logo b { font-size: 16px; font-weight: 700; letter-spacing: 0.13em; }
.site-nav { display: flex; align-items: center; gap: 24px; }
.site-nav a:not(.btn) {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s;
}
.site-nav a:not(.btn):hover, .site-nav a:not(.btn)[aria-current] { color: var(--ink); }

/* 移动端汉堡菜单（按钮由 site.js 注入） */
.nav-toggle {
  display: none;
  width: 40px; height: 40px; flex: none;
  align-items: center; justify-content: center;
  border: 1px solid var(--hairline); border-radius: 11px;
  background: var(--card); color: var(--ink); cursor: pointer;
}
.nav-toggle svg { width: 20px; height: 20px; }
@media (max-width: 720px) {
  .nav-toggle { display: inline-flex; }
  .site-header .bar { position: relative; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 4px;
    padding: 10px 16px 16px;
    background: var(--paper); border-bottom: 1px solid var(--hairline);
    box-shadow: 0 20px 40px -24px rgba(23, 25, 29, 0.3);
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a:not(.btn) { padding: 12px 4px; font-size: 15px; border-bottom: 1px solid var(--hairline); }
  .site-nav .btn { width: 100%; margin-top: 8px; }
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 22px;
  border-radius: 22px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: background 0.15s, border-color 0.15s, opacity 0.15s;
}
.btn--solid { background: var(--gold); color: #17191d; }
.btn--solid:hover { background: #d3a833; }
.btn--gold { background: var(--gold); color: #17191d; }
.btn--gold:hover { background: #d3a833; }
.btn--ghost { background: transparent; border-color: var(--hairline); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--sm { height: 38px; padding: 0 16px; border-radius: 19px; font-size: 13px; }
.btn--lg { height: 50px; padding: 0 28px; border-radius: 25px; font-size: 15px; }
.btn.is-wait { pointer-events: none; opacity: 0.5; }
.btn--ghost.is-open { border-color: var(--ink); background: var(--fill); }
.btn .pf { width: 17px; height: 17px; margin-right: 9px; margin-left: -3px; flex: none; }
.btn.is-wait .pf { display: none; }

/* ---------- 页面主标题区 ---------- */
.page-head { border-bottom: 1px solid var(--hairline); }
.page-head .wrap { padding-top: 56px; padding-bottom: 44px; }
.page-head h1 { font-size: clamp(28px, 4vw, 38px); line-height: 1.3; margin-top: 14px; }
.page-head p { margin-top: 14px; max-width: 46ch; color: var(--ink-soft); font-size: 16px; }

/* ---------- 首页主视觉 ---------- */
.hero { position: relative; overflow: hidden; }
.hero::before {
  content: "";
  position: absolute;
  left: 50%; top: -260px;
  width: 900px; height: 640px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse 50% 55% at 50% 42%, rgba(225, 184, 63, 0.18), transparent 70%);
  pointer-events: none;
}
.hero .wrap { position: relative; padding-top: 76px; padding-bottom: 72px; }
.hero__grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 60px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(31px, 4.4vw, 46px);
  line-height: 1.24;
  margin-top: 20px;
}
.hero .sub {
  margin-top: 20px;
  max-width: 42ch;
  font-size: 16.5px;
  color: var(--ink-soft);
  line-height: 1.8;
}
.hero__shot .frame { box-shadow: 0 34px 74px -34px rgba(23, 25, 29, 0.32); }
.hero__shot .frame img { display: block; width: 100%; height: auto; }
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero .wrap { padding-top: 60px; padding-bottom: 56px; }
  .hero__shot { max-width: 400px; }
  .hero .sub { max-width: none; }
}
.cta-row { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 560px) {
  .cta-row { flex-direction: column; align-items: stretch; }
  .cta-row .btn { width: 100%; }
}
.meta-row {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--ink-faint);
}
.meta-row > span { display: block; }
.hero .meta-row { flex-direction: column; gap: 5px; }
.trial-tag {
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 15px 8px 12px;
  border-radius: 999px;
  background: var(--teal-soft);
  border: 1px solid var(--teal-line);
  color: var(--teal);
  font-size: 13.5px;
  font-weight: 500;
}
.trial-tag svg { width: 15px; height: 15px; flex: none; }
.hero .note { margin-top: 16px; font-size: 12.5px; color: var(--ink-faint); }
.hero .note a { color: var(--ink-soft); }

/* ---------- 扫码下载（点「下载安卓版」才展开，桌面才有） ---------- */
.qr-reveal {
  margin: 18px auto 4px;
  max-width: 320px;
  padding: 20px 22px 18px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: var(--card);
  text-align: center;
}
.qr-reveal img {
  width: 132px; height: 132px;
  margin: 0 auto;
  padding: 10px;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  background: #fff;
}
.qr-reveal__t { margin-top: 13px; font-size: 12.5px; color: var(--ink-soft); line-height: 1.65; }
.qr-reveal__alt {
  display: inline-block;
  margin-top: 11px;
  font-size: 12px;
  color: var(--ink-soft);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.qr-reveal__alt:hover { color: var(--ink); }
@media (max-width: 760px) { .qr-reveal { display: none !important; } }

/* ---------- 设备切换介绍模块（首页 #download 落点） ---------- */
.dsw { margin-top: 4px; }
.dsw__tabs {
  display: flex; gap: 10px; flex-wrap: wrap; justify-content: center;
  margin-bottom: 30px;
}
.dsw__tab {
  appearance: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 11px 20px; border-radius: 13px;
  border: 1px solid var(--hairline); background: var(--card);
  font-family: var(--sans); font-size: 14px; font-weight: 700; color: var(--ink-soft);
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}
.dsw__tab svg { width: 18px; height: 18px; flex: none; }
.dsw__tab:hover { border-color: var(--ink-faint); color: var(--ink); }
.dsw__tab[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.dsw__panel { display: grid; grid-template-columns: 1fr 0.92fr; gap: 46px; align-items: center; }
.dsw__panel[hidden] { display: none; }
.dsw__lead { font-size: 18px; font-weight: 700; }
.dsw__pts { list-style: none; margin: 16px 0 0; padding: 0; }
.dsw__pts li {
  position: relative; padding-left: 24px; margin-top: 9px;
  font-size: 14px; color: var(--ink-soft); line-height: 1.7;
}
.dsw__pts li::before {
  content: ""; position: absolute; left: 2px; top: 7px;
  width: 11px; height: 11px; border: 2px solid var(--teal);
  border-top: 0; border-right: 0; transform: rotate(-45deg);
}
.dsw__steps {
  display: flex; flex-wrap: wrap; gap: 6px 8px; margin: 20px 0 0; padding: 0;
  list-style: none; counter-reset: dstep;
}
.dsw__steps li {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--mono); font-size: 12px; color: var(--ink-soft);
}
.dsw__steps li::before {
  counter-increment: dstep; content: counter(dstep);
  width: 19px; height: 19px; flex: none;
  display: grid; place-items: center; border-radius: 50%;
  background: var(--fill); color: var(--gold-deep); font-size: 11px;
}
.dsw__steps li:not(:last-child)::after { content: "\203A"; color: var(--ink-faint); margin-left: 2px; }
.dsw__act { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.dsw__video {
  display: none; align-items: center; gap: 7px; margin-top: 16px;
  font-size: 13px; font-weight: 700; color: var(--gold-deep);
  background: none; border: 0; padding: 0; cursor: pointer; font-family: var(--sans);
}
.dsw__video.is-on { display: inline-flex; }
.dsw__video::before {
  content: ""; width: 0; height: 0;
  border-left: 9px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent;
}
.dsw__hint {
  margin-top: 16px; padding: 12px 15px; border-radius: 12px;
  background: var(--teal-soft); border: 1px solid var(--teal-line);
  font-size: 13px; line-height: 1.7; color: var(--ink);
}
.dsw__hint a { color: var(--gold-deep); }
.dsw__alt { margin-top: 13px; font-size: 12.5px; color: var(--ink-faint); line-height: 1.75; }
.dsw__alt a { color: var(--ink-soft); }
.dsw__meta { margin-top: 10px; font-family: var(--mono); font-size: 12px; color: var(--ink-faint); }
.dsw__media { max-width: 100%; }
.dsw__media .frame { box-shadow: 0 24px 54px -30px rgba(23, 25, 29, 0.28); }
.dsw__media.is-phone { max-width: 250px; margin: 0 auto; }
.dsw__media.is-phone .frame { border-radius: 26px; }
.dsw__qr { margin-top: 18px; text-align: center; }
.dsw__qr[hidden] { display: none; }
.dsw__qr canvas, .dsw__qr img {
  width: 150px; height: 150px; margin: 0 auto;
  padding: 10px; background: #fff; border: 1px solid var(--hairline); border-radius: 12px;
}
.dsw__qr p { margin-top: 10px; font-size: 12.5px; color: var(--ink-soft); line-height: 1.6; }
@media (max-width: 820px) {
  .dsw__panel { grid-template-columns: 1fr; gap: 26px; }
  .dsw__media { order: -1; max-width: 340px; margin: 0 auto; }
  .dsw__media.is-phone { max-width: 210px; }
}

/* ---------- 使用演示：弹层播放器（素材就绪后启用） ---------- */
.vid-modal {
  position: fixed; inset: 0; z-index: 2147483200;
  background: rgba(23, 25, 29, 0.62); display: grid; place-items: center; padding: 20px;
}
.vid-box {
  background: var(--paper); border-radius: var(--radius);
  max-width: 880px; width: 100%; padding: 16px; position: relative;
}
.vid-box--portrait { max-width: 400px; }
.vid-box video { display: block; width: 100%; background: #000; border-radius: 12px; }
.vid-cap { margin-top: 10px; font-size: 13px; color: var(--ink-soft); }
.vid-x {
  position: absolute; top: -14px; right: -14px;
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--hairline); background: var(--raised); color: var(--ink);
  font-size: 20px; line-height: 1; cursor: pointer;
}
@media (max-width: 600px) { .vid-x { top: -10px; right: -4px; } }

/* 行内视频位（/windows/、/android/ 等）：封面 + 播放键，点击才加载 */
.vidslot { margin: 22px 0; }
.vidslot[hidden] { display: none !important; }
.vidslot--land { max-width: 640px; }
.vidslot--portrait { max-width: 300px; }
.vidslot__cover {
  display: block; width: 100%; padding: 0; cursor: pointer;
  border: 1px solid var(--hairline); border-radius: var(--radius);
  background: var(--fill) center / cover no-repeat;
  position: relative; overflow: hidden; font-family: var(--sans);
}
.vidslot--land .vidslot__cover { aspect-ratio: 16 / 9; }
.vidslot--portrait .vidslot__cover { aspect-ratio: 9 / 16; }
.vidslot__cover::after { content: ""; position: absolute; inset: 0; background: rgba(23, 25, 29, 0.28); }
.vidslot__play {
  position: absolute; left: 50%; top: 50%; transform: translate(-40%, -50%);
  width: 0; height: 0; z-index: 1;
  border-left: 22px solid #fff; border-top: 14px solid transparent; border-bottom: 14px solid transparent;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
}
.vidslot__t {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  padding: 12px 14px; color: #fff; font-size: 13px; font-weight: 700; text-align: left;
  background: linear-gradient(transparent, rgba(23, 25, 29, 0.72));
}
.vidslot__video { display: block; width: 100%; border-radius: var(--radius); background: #000; }

/* ---------- 截图窗口框 ---------- */
.frame {
  border-radius: var(--radius);
  border: 1px solid var(--hairline);
  background: var(--raised);
  box-shadow: 0 30px 70px -30px rgba(23, 25, 29, 0.28);
  overflow: hidden;
}
.frame img { width: 100%; height: auto; display: block; }

/* ---------- 分区骨架 ---------- */
.band { border-top: 1px solid var(--hairline); }
.band .wrap { padding-top: 84px; padding-bottom: 84px; }
.band--tint { background: var(--card); }
.sec-head { max-width: 42ch; margin-bottom: 44px; }
.sec-head h2 { font-size: clamp(24px, 3.3vw, 30px); line-height: 1.32; margin-top: 13px; text-wrap: pretty; }
.sec-head p { max-width: 34ch; }
.sec-head p { margin-top: 13px; color: var(--ink-soft); font-size: 15.5px; }

/* ---------- 卖点网格 ---------- */
.caps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  overflow: hidden;
}
.cap { background: var(--paper); padding: 26px 24px 30px; }
.band--tint .cap { background: var(--card); }
.cap .ic {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 9px;
  background: var(--fill);
  margin-bottom: 15px;
}
.cap .ic svg { width: 18px; height: 18px; stroke: var(--gold-deep); fill: none; }
.cap h3 { font-size: 16px; letter-spacing: 0.02em; }
.cap p { margin-top: 8px; font-size: 13.5px; color: var(--ink-soft); line-height: 1.7; }
@media (max-width: 860px) { .caps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .caps { grid-template-columns: 1fr; } }

/* ---------- 步骤 ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step .n {
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--gold-deep);
  letter-spacing: 0.12em;
}
.step h3 { margin-top: 6px; font-size: 17px; }
.step p { margin: 8px 0 16px; font-size: 13.5px; color: var(--ink-soft); line-height: 1.7; }
.step .frame { box-shadow: 0 16px 36px -22px rgba(23, 25, 29, 0.24); }
@media (max-width: 780px) { .steps { grid-template-columns: 1fr; gap: 34px; } }

/* ---------- 用途 ---------- */
.uses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 30px; }
.use h3 {
  font-size: 14px;
  letter-spacing: 0.03em;
  padding-bottom: 9px;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}
.use p { margin-top: 12px; font-size: 13.5px; color: var(--ink-soft); line-height: 1.75; }
@media (max-width: 780px) { .uses { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- 界面一览 ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery figure { margin: 0; }
.gallery .frame { box-shadow: 0 16px 36px -24px rgba(23, 25, 29, 0.22); }
.gallery figcaption { margin-top: 12px; font-size: 13px; color: var(--ink-soft); }
.gallery figcaption b { display: block; color: var(--ink); font-size: 13.5px; }
@media (max-width: 780px) { .gallery { grid-template-columns: 1fr; gap: 26px; } }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--hairline); }
.faq details { border-bottom: 1px solid var(--hairline); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 19px 40px 19px 0;
  position: relative;
  font-size: 15.5px;
  font-weight: 500;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px; top: 16px;
  font-family: var(--mono);
  font-size: 20px;
  color: var(--ink-faint);
}
.faq details[open] summary::after { content: "\2212"; }
.faq details > div { padding-bottom: 22px; }
.faq p, .faq li { color: var(--ink-soft); font-size: 14.5px; max-width: 62ch; }
.faq p + p { margin-top: 10px; }
.faq ol { margin: 0; padding-left: 1.3em; }
.faq code {
  font-family: var(--mono);
  font-size: 0.9em;
  background: var(--fill);
  padding: 1px 5px;
  border-radius: 5px;
}

/* ---------- 功能页：左右交替的功能行 ---------- */
.feat {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.feat__body { padding-top: 8px; }
.feat + .feat { margin-top: 64px; padding-top: 64px; border-top: 1px solid var(--hairline); }
.feat__media { max-width: 440px; }
.feat:nth-child(even) .feat__media { order: 2; margin-left: auto; }
.feat__body h3 { font-size: clamp(20px, 2.6vw, 24px); line-height: 1.32; }
.feat__body > p { margin-top: 12px; color: var(--ink-soft); font-size: 15px; line-height: 1.8; }
.feat__list { margin: 18px 0 0; padding: 0; list-style: none; }
.feat__list li {
  position: relative;
  padding-left: 24px;
  margin-top: 9px;
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.7;
}
.feat__list li::before {
  content: "";
  position: absolute;
  left: 2px; top: 8px;
  width: 12px; height: 12px;
  border-radius: 3px;
  border: 2px solid var(--teal);
  border-top: 0; border-right: 0;
  transform: rotate(-45deg);
}
.feat__media .frame { box-shadow: 0 22px 50px -28px rgba(23, 25, 29, 0.26); }

/* 手机竖屏截图：细边框，限宽居中 */
.shot-phone {
  max-width: 248px;
  margin: 0 auto;
  border: 1px solid var(--hairline);
  border-radius: 24px;
  overflow: hidden;
  background: var(--raised);
  box-shadow: 0 22px 50px -28px rgba(23, 25, 29, 0.26);
}
.shot-phone img { display: block; width: 100%; height: auto; }
.feat__media.is-phone { max-width: 320px; }
.guide__step .shot-phone { margin: 16px 0 0; }
.feat__note {
  display: grid;
  place-items: center;
  min-height: 220px;
  border: 1px dashed var(--hairline);
  border-radius: var(--radius);
  background: var(--card);
  color: var(--ink-faint);
  font-size: 13px;
  text-align: center;
  padding: 24px;
}
.feat__icon {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: var(--fill);
  margin-bottom: 16px;
}
.feat__icon svg { width: 26px; height: 26px; stroke: var(--gold-deep); fill: none; }
@media (max-width: 820px) {
  .feat { grid-template-columns: 1fr; gap: 22px; }
  .feat + .feat { margin-top: 44px; padding-top: 44px; }
  .feat__media { max-width: 380px; }
  .feat:nth-child(even) .feat__media { order: 0; margin-left: 0; }
}

/* ---------- 教程页：编号步骤 ---------- */
.guide { counter-reset: gstep; max-width: 780px; }
.guide__step { position: relative; padding-left: 56px; }
.guide__step + .guide__step {
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--hairline);
}
.guide__step + .guide__step::before { top: 42px; }
.guide__step::before {
  counter-increment: gstep;
  content: counter(gstep);
  position: absolute;
  left: 0; top: 2px;
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 500;
}
.guide__step h3 { font-size: 17px; }
.guide__step p { margin-top: 8px; color: var(--ink-soft); font-size: 14.5px; line-height: 1.8; }
.guide__step p + p { margin-top: 8px; }
.guide__step .warn {
  margin-top: 12px;
  padding: 12px 15px;
  border-radius: 12px;
  background: var(--teal-soft);
  border: 1px solid var(--teal-line);
  color: var(--ink);
  font-size: 13.5px;
  line-height: 1.75;
}
.guide__step .warn b { color: var(--gold-deep); }
.guide__step .frame { margin-top: 16px; box-shadow: 0 16px 36px -24px rgba(23, 25, 29, 0.22); }
@media (max-width: 560px) {
  .guide__step { padding-left: 0; }
  .guide__step::before { position: static; margin-bottom: 12px; }
}

/* ---------- 收尾 CTA ---------- */
.final { text-align: center; }
.final h2 { font-size: clamp(23px, 3.6vw, 31px); }
.final p { margin: 13px auto 28px; color: var(--ink-soft); max-width: 42ch; }
.final .cta-row { justify-content: center; }

/* ---------- 页脚 ---------- */
.site-footer { border-top: 1px solid var(--hairline); background: var(--card); }
.site-footer .wrap { padding-top: 52px; padding-bottom: 38px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px; }
.foot-brand .logo { margin-bottom: 12px; }
.foot-brand p { font-size: 13px; color: var(--ink-faint); max-width: 30ch; }
.fcol h4 {
  margin-bottom: 13px;
  font-size: 11px;
  font-family: var(--mono);
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.fcol a { display: block; text-decoration: none; color: var(--ink-soft); font-size: 13.5px; padding: 5px 0; }
.fcol a:hover { color: var(--ink); }
.foot-base {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--hairline);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-faint);
}
@media (max-width: 780px) { .foot-grid { grid-template-columns: 1fr 1fr; } }

[hidden] { display: none !important; }

/* 文字按钮：长得像链接的 <button> */
.linklike {
  appearance: none; border: 0; background: none; padding: 0; cursor: pointer;
  font: inherit; color: var(--gold-deep);
  text-decoration: underline; text-underline-offset: 2px;
}
.linklike:hover { color: var(--ink); }

/* ---------- 返回顶部 ---------- */
.to-top {
  position: fixed;
  right: 22px;
  bottom: 96px; /* 让开右下角的在线客服气泡 */
  z-index: 40;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--hairline);
  background: var(--raised);
  color: var(--ink);
  box-shadow: 0 10px 30px -10px rgba(23, 25, 29, 0.28);
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s, border-color 0.15s;
}
.to-top.is-on { opacity: 1; transform: translateY(0); pointer-events: auto; }
.to-top:hover { border-color: var(--ink); }
.to-top svg { width: 19px; height: 19px; }
@media (max-width: 720px) { .to-top { right: 16px; bottom: 88px; } }

/* 在线客服启动按钮（Chatwoot 自带气泡已隐藏，由 site.js 生成本按钮）
   做成带文字的胶囊，而不是光一个图标——纯图标太容易被当成装饰滑过去。 */
.kf-launcher {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 2147483000;
  height: 52px;
  padding: 0 20px 0 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  border-radius: 26px;
  background: #2A9477; /* 客户端「连接稳定」同款绿；换色改这一行 */
  color: #fff;
  font: 700 14px var(--sans);
  white-space: nowrap;
  box-shadow: 0 12px 32px -8px rgba(42, 148, 119, 0.45);
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}
.kf-launcher:hover { transform: translateY(-2px); background: #24866B; box-shadow: 0 16px 40px -8px rgba(42, 148, 119, 0.55); }
.kf-launcher svg { width: 22px; height: 22px; flex: none; }
@media (max-width: 720px) {
  /* 手机上收成小圆按钮，不挡表单里的整宽按钮 */
  .kf-launcher {
    right: 14px; bottom: 14px;
    width: 46px; height: 46px; padding: 0; gap: 0;
    justify-content: center; border-radius: 50%;
  }
  .kf-launcher span { display: none; }
  .kf-launcher svg { width: 22px; height: 22px; }
}

/* 首次进站几秒后自己弹一下，把眼睛引过去；点过一次/看过一次就不再弹 */
.kf-launcher.is-nudging { animation: kf-nudge 0.6s ease 3, kf-glow 1.8s ease-in-out 3; }
@keyframes kf-nudge {
  0%, 100% { transform: translateY(0); }
  30% { transform: translateY(-7px); }
  55% { transform: translateY(0); }
}
@keyframes kf-glow {
  0%, 100% { box-shadow: 0 12px 32px -8px rgba(42, 148, 119, 0.45); }
  50% { box-shadow: 0 12px 32px -8px rgba(42, 148, 119, 0.45), 0 0 0 10px rgba(42, 148, 119, 0.18); }
}

/* 招呼气泡：在按钮左边冒一句话，吸引点开 */
.kf-tip {
  position: fixed;
  right: 20px;
  bottom: 80px;
  z-index: 2147482999;
  max-width: 220px;
  padding: 10px 14px;
  border-radius: 14px 14px 4px 14px;
  background: var(--raised);
  color: var(--ink);
  font: 13px/1.6 var(--sans);
  box-shadow: 0 14px 36px -10px rgba(23, 25, 29, 0.28);
  border: 1px solid var(--hairline);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
}
.kf-tip.is-on { opacity: 1; transform: translateY(0); pointer-events: auto; }
.kf-tip button {
  position: absolute; top: -7px; right: -7px;
  width: 20px; height: 20px; border-radius: 50%;
  border: 1px solid var(--hairline); background: var(--raised); color: var(--ink-faint);
  font-size: 11px; line-height: 1; cursor: pointer; display: grid; place-items: center;
}
@media (max-width: 720px) { .kf-tip { right: 16px; bottom: 76px; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
  .to-top { transition: opacity 0.2s; }
  .kf-launcher.is-nudging { animation: none; }
}
