/*
 * 投有据 · 官网样式（终版）
 *
 * 品牌体系（颜色全部从 Logo 实测采样）：
 *   字标深蓝 #071733  → 标题墨色
 *   图标渐变 #0A6FF5 → #0BBFD2 → #09EEA6（蓝 → 青 → 青绿）
 * 渐变只用在"有信息量"的地方：强调字、主按钮、 tags。大面积留白、
 * 1px 浅边、极轻投影 —— 靠留白而不是靠装饰撑质感（Apple-like、克制）。
 *
 * ⚠️ 三个必须守住的工程点（踩过坑，别改回去）：
 * 1) CSS 权重陷阱：nav/cta 这种同时挂着 .btn（它自己有 display）的元素，
 *    隐藏规则和显示规则必须**同权重**。手机隐藏写 `.hdr .hdr__nav`(0,2,0)，
 *    桌面显示也得写 `.hdr .hdr__nav`(0,2,0)；只写 `.hdr__nav`(0,1,0) 会被
 *    压掉 → 桌面导航**整个消失**（真发生过）。.btn 定义在文件末尾契约段，
 *    层叠顺序上它反而赢。
 * 2) 不做外链字体：字体请求在国内网络会挂住，且是渲染阻塞资源 → 整页白屏转圈。
 * 3) 文件末尾的 .btn* 与 .pay-* 是 order.html / mock-pay.html 的样式契约，
 *    不要删除（备份在 website/log_preserve/pay_btn.css）。
 */

:root {
  --bg: #ffffff;
  --bg-soft: #f7f9fc;
  --ink: #071733;
  --ink-2: #2c3e5c;
  --muted: #64748b;
  --faint: #8b97a8;
  --line: #e8edf5;
  --line-2: #dbe3ee;

  --brand: #0a6ff5;
  --brand-deep: #0553c8;
  --brand-cyan: #0bbfd2;
  --brand-soft: #eaf2ff;
  --brand-tint: #f2f8ff;
  --grad: linear-gradient(115deg, #0a6ff5 0%, #0bbfd2 68%, #09eea6 120%);

  --ok: #0f9d63;
  --ok-bg: #e6f7ef;
  --skip: #b4790a;
  --skip-bg: #fdf3e0;

  --shadow-s: 0 1px 2px rgba(7, 23, 51, 0.04);
  --shadow-m: 0 1px 2px rgba(7, 23, 51, 0.04), 0 10px 30px rgba(7, 23, 51, 0.06);
  --shadow-l: 0 2px 4px rgba(7, 23, 51, 0.05), 0 26px 64px rgba(7, 23, 51, 0.1);

  --r-s: 10px;
  --r-m: 16px;
  --r-l: 22px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* Header 高度：锚点定位与首屏留白都按它算 */
  --hdr-h: 56px;
  /* 手机底部固定双 CTA 条高度（含内边距，不含安全区） */
  --cta-h: 76px;
}

* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* 锚点统一留出 Header 的高度，避免点菜单跳过去被顶栏盖住 */
  scroll-padding-top: calc(var(--hdr-h) + 12px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  /* 手机上绝不允许横向滚动 */
  overflow-x: hidden;
}

/* 抽屉/遮罩打开时锁背景滚动 */
body.is-locked { overflow: hidden; }

[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 4px; }
.skip-link {
  position: fixed; top: 8px; left: 16px; z-index: 120;
  padding: 10px 18px; border-radius: var(--r-s); background: var(--ink); color: #fff;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

img { max-width: 100%; border: 0; }
a { color: var(--brand-deep); text-decoration: none; }
h1, h2, h3, h4 { margin: 0; letter-spacing: -0.02em; line-height: 1.25; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
/* shop.js 会按配置填 hero 文案；title_2 为空时别留一个空行 */
.hero__title span:empty { display: none; }

/* 2026-10：蓝青品牌、产品流程演示和两版套餐。内容默认可见，JS仅增强交互。 */
.hero { position: relative; isolation: isolate; overflow: clip; background: radial-gradient(ellipse at 84% 38%,#e6f8ff 0,transparent 52%),linear-gradient(180deg,#f8fbff 0,#fff 100%); }
.hero::before { content: ""; position: absolute; z-index: -1; inset: 0; opacity: .36; background-image: linear-gradient(#9cb3d219 1px,transparent 1px),linear-gradient(90deg,#9cb3d219 1px,transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(transparent,#000 45%,transparent); }
.hero .hero__in { padding-top: 16px; padding-bottom: 48px; }
.hero .hero__eyebrow { color: var(--brand-deep); letter-spacing: .06em; }
.hero .hero__title { font-size: clamp(32px,5vw,54px); letter-spacing: -.055em; line-height: 1.25; }
.hero .hero__title .grad { margin-top: 8px; font-size: .76em; line-height: 1.3; }
.hero .hero__desc { font-size: 15px; line-height: 1.9; }
.hero .hero__art { display: block; position: relative; min-width: 0; padding: 14px 0 28px; }
.hero__aura { position: absolute; pointer-events: none; border-radius: 50%; filter: blur(32px); opacity: .62; z-index: -1; }
.hero__aura--blue { width: 75%; height: 70%; left: -12%; top: 5%; background: #73b9ff66; transform: translate3d(var(--demo-x,0px),var(--demo-y,0px),0); }
.hero__aura--mint { width: 55%; height: 65%; right: -3%; bottom: 7%; background: #57edc64f; transform: translate3d(calc(var(--demo-x,0px)*-1),calc(var(--demo-y,0px)*-1),0); }
.demo-app { position: relative; border: 1px solid #fff; outline: 1px solid #b5d4ef80; background: #ffffffed; box-shadow: 0 26px 65px -24px #163e835c,0 2px 4px #294e7312; border-radius: 20px; }
.demo-app .app__bar { background: #f8fafdec; padding: 12px 16px; }
.demo-app .app__bar small { font-size: 10px; font-weight: 400; color: var(--muted); margin-left: auto; }
.demo-tabs { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin: 0 19px 16px; padding: 4px; gap: 3px; background: #edf3fa; border-radius: 11px; }
.demo-tabs button { border: 0; padding: 9px 2px; background: transparent; font: inherit; font-size: 11px; color: var(--muted); border-radius: 8px; cursor: pointer; transition: background .3s,color .3s,box-shadow .3s; }
.demo-tabs button[aria-pressed="true"] { color: var(--brand-deep); background: #fff; box-shadow: 0 2px 8px #143b6710; }
.demo-content { padding: 0 19px 15px; }
.demo-progress { height: 3px; background: #dfeaf5; margin: 10px -15px 0; }
.demo-progress i { display: block; width: 100%; height: 100%; background: var(--grad); transform: scaleX(.333); transform-origin: left; }
.demo-foot { padding: 10px 19px; border-top: 1px solid var(--line); font-size: 9px; color: var(--muted); display: flex; justify-content: space-between; align-items: center; gap: 5px; }
.demo-foot button { border: 0; background: transparent; color: var(--brand-deep); font: inherit; font-size: 10px; padding: 6px 0 6px 5px; cursor: pointer; }
.section-kicker { font-size: 12px; font-weight: 600; color: var(--brand-deep); letter-spacing: .1em; text-align: center; margin-bottom: 12px; }
.pricing-section .sec__lead { max-width: 54em; margin-left: auto; margin-right: auto; }
.pricing-compatibility { max-width: 820px; margin: 20px auto 0; border: 1px solid #dbe7f5; border-radius: 12px; background: #f1f7ff; color: var(--muted); padding: 13px 18px; font-size: 12px; line-height: 1.8; text-align: center; }.pricing-compatibility b { color: var(--ink-2); font-weight: 600; }
.tier-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; margin-top: 38px; }
.tier-card { position: relative; min-width: 0; border: 1px solid #dbe6f2; border-radius: 24px; padding: 30px; background: #fff; box-shadow: 0 10px 35px #113f7306; overflow: hidden; }
.tier-card--pro { border-color: #9bcbcfd9; background: linear-gradient(145deg,#f7fcff 0,#fff 42%,#f6fffb 100%); box-shadow: 0 12px 40px #1c7a8c0b; }
.tier-card__top h3 { font-size: 28px; margin: 12px 0 8px; }.tier-card__top p { color: var(--muted); font-size: 13px; }
.tier-badge { display: inline-block; font-size: 11px; border: 1px solid #d9e8fa; background: #f1f7ff; color: var(--brand-deep); padding: 3px 10px; border-radius: 999px; }
.tier-badge--pro { border-color: #bee8dc; background: #ecfbf5; color: #117a63; }
.tier-switch { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 5px; padding: 5px; margin-top: 24px; background: #eef3f9; border-radius: 12px; }
.tier-card--pro .tier-switch { grid-template-columns: repeat(3,minmax(0,1fr)); }
.tier-switch button { min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 5px; border: 0; border-radius: 8px; background: transparent; font: inherit; font-size: 13px; color: var(--muted); padding: 12px 4px; cursor: pointer; transition: background .25s,box-shadow .25s,color .25s; }
.tier-switch button b { font-weight: 500; }.tier-option-price { font-size: 18px; color: var(--ink-2); font-weight: 650; line-height: 1.25; letter-spacing: -.02em; }.tier-switch button small { font-size: 10px; line-height: 1.5; white-space: nowrap; }.tier-switch button[aria-pressed="true"] .tier-option-price { color: var(--brand-deep); }
.tier-switch button[aria-pressed="true"] { background: #fff; color: var(--ink); font-weight: 600; box-shadow: 0 2px 6px #163e8310; }
.tier-offer { padding-top: 22px; }.tier-offer + .tier-offer { border-top: 1px solid var(--line); margin-top: 22px; }.tier-offer[hidden] + .tier-offer { border-top: 0; margin-top: 0; }
.tier-offer .plan__price { color: var(--brand-deep); font-size: 20px; line-height: 1.4; }.tier-offer .plan__price span { font-size: 48px; letter-spacing: -.04em; font-weight: 750; }.tier-offer .plan__price em { font-size: 12px; margin-left: 6px; }.tier-offer__rule { font-size: 12px; color: var(--muted); margin: 8px 0 18px; min-height: 21px; }.tier-offer .btn { display: flex; width: 100%; justify-content: center; }
.tier-benefits { border-top: 1px solid var(--line); margin-top: 26px; padding-top: 22px; display: grid; gap: 18px; }.tier-benefits li { position: relative; padding-left: 23px; }.tier-benefits li::before { content: "✓"; position: absolute; left: 0; color: #0a9d80; font-size: 14px; }.tier-benefits b { display: block; font-size: 13px; font-weight: 600; }.tier-benefits span { display: block; font-size: 12px; color: var(--muted); margin-top: 4px; line-height: 1.8; }
.compare-wrap { margin-top: 36px; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }.tier-compare { border-collapse: collapse; width: 100%; table-layout: fixed; font-size: 13px; }.tier-compare caption { text-align: left; font-size: 17px; font-weight: 650; padding: 23px 24px; background: #fff; }.tier-compare th,.tier-compare td { padding: 16px 24px; border-top: 1px solid var(--line); text-align: left; font-weight: 400; vertical-align: middle; overflow-wrap: anywhere; }.tier-compare thead th { font-weight: 600; color: var(--ink-2); background: #f8fafc; }.tier-compare tbody th { color: var(--muted); }.tier-compare td:nth-child(3),.tier-compare thead th:nth-child(3) { background: #f2fbf855; }.tier-compare small { color: var(--muted); font-size: 11px; }.compare-check { color: #0b9d7e; margin-right: 5px; }
.purchase-note { margin: 18px 6px 0; font-size: 12px; color: var(--muted); line-height: 1.8; }.purchase-note b { color: var(--ink-2); }
.pricing-rules { display: grid; gap: 12px; padding: 23px 2px 0; font-size: 12px; color: var(--muted); }.pricing-rules b { color: var(--ink-2); font-weight: 600; }
.trial-strip { padding: 25px 28px; border: 1px solid #dbe6f2; border-radius: 18px; background: #fff; display: flex; gap: 20px; align-items: center; justify-content: space-between; margin-top: 26px; }.trial-strip h3 { font-size: 18px; margin-top: 10px; }.trial-strip p { font-size: 12px; color: var(--muted); margin-top: 6px; }.trial-strip .btn { flex-shrink: 0; }
.metering-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; margin-top: 30px; }.metering-card { padding: 25px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(160deg,#f5faff,#fff 62%); }.metering-card__icon { display: inline-block; font-size: 12px; font-weight: 650; color: var(--brand); background: #eaf3ff; border: 1px solid #dceaff; padding: 4px 9px; border-radius: 8px; margin-bottom: 24px; }.metering-card h3 { font-size: 17px; margin-bottom: 10px; }.metering-card p { color: var(--muted); font-size: 12px; line-height: 1.9; }.metering-bottom { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); margin-top: 20px; border: 1px solid var(--line); border-radius: 14px; padding: 22px; gap: 20px; }.metering-bottom > div { display: flex; align-items: flex-start; gap: 10px; }.metering-bottom p { color: var(--muted); font-size: 12px; }
@media (max-width: 760px) { .tier-grid { grid-template-columns: 1fr; gap: 18px; }.tier-card { padding: 24px; }.tier-card__top h3 { font-size: 25px; }.tier-offer .plan__price span { font-size: 43px; }.tier-compare th,.tier-compare td { padding: 13px 10px; font-size: 11px; }.tier-compare caption { padding: 20px 16px; font-size: 16px; }.tier-compare small { font-size: 10px; }.trial-strip { padding: 22px; flex-wrap: wrap; }.metering-grid { grid-template-columns: 1fr; gap: 12px; }.metering-card { padding: 22px; }.metering-card__icon { margin-bottom: 16px; }.metering-bottom { grid-template-columns: 1fr; padding: 18px; }.hero .hero__in { padding-bottom: 20px; gap: 22px; }.hero .hero__art { width: 100%; max-width: 470px; margin: 0 auto; }.hero .hero__title { font-size: clamp(32px,8.6vw,48px); } }
@media (max-width: 760px) { .tier-switch { grid-template-columns: repeat(2,minmax(0,1fr)); }.tier-card--pro .tier-switch { grid-template-columns: repeat(3,minmax(0,1fr)); }.tier-switch button { padding: 11px 4px; }.tier-option-price { font-size: 18px; } }
@media (max-width: 380px) { .demo-tabs { margin-left: 13px; margin-right: 13px; }.demo-content { padding-left: 13px; padding-right: 13px; }.demo-tabs button { font-size: 10px; }.demo-foot { padding-left: 13px; padding-right: 13px; } }
@media (prefers-reduced-motion: reduce) { .hero__aura { transform: none !important; }.demo-tabs button,.tier-switch button { transition: none; } }

/* ================================================== 公告 / 进度条 */
.announce {
  background: var(--brand-tint);
  border-bottom: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 13.5px;
  text-align: center;
  padding: 9px 16px;
}
.announce[hidden] { display: none; }

.progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 90;
  pointer-events: none;
}
.progress i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--grad);
  transition: width 0.2s linear;
}

/* ============================================================ Header */
.hdr {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  height: var(--hdr-h);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.hdr.is-stuck {
  border-bottom-color: var(--line);
  background: rgba(255, 255, 255, 0.94);
}

.hdr__in {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hdr__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 17px;
  color: var(--ink);
  flex: 0 0 auto;
}
.hdr__logo img { height: 26px; width: auto; display: block; }
.hdr__wordmark { letter-spacing: -0.01em; }
.hdr__logo .hdr__wordmark { display: none; } /* lockup 图片已经包含完整品牌名 */
.hdr__nav a {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 10px; border-radius: 10px;
  color: var(--ink-2); font-size: 14px; white-space: nowrap;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.hdr__nav a:hover, .hdr__nav a.is-active {
  color: var(--brand-deep); background: var(--brand-soft);
}

/* 桌面才显示横向导航与右上角 CTA；手机走 ☰ + 底部固定双按钮。
   ⚠️ 必须带 .hdr 前缀（隐藏与显示两条规则权重必须一致，见文件头说明）。 */
.hdr .hdr__nav,
.hdr .hdr__cta { display: none; }

.burger {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border-radius: 12px;
}
/* JS 没跑起来时不要留一个点不动的死按钮 */
.js-on .burger { display: flex; }
.burger span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.24s var(--ease), opacity 0.24s var(--ease);
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ============================================================= Drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 80;
  visibility: hidden;
  pointer-events: none;
}
.drawer.is-open { visibility: visible; pointer-events: auto; }

.drawer__mask {
  position: absolute;
  inset: 0;
  background: rgba(7, 23, 51, 0.32);
  opacity: 0;
  transition: opacity 0.28s var(--ease);
}
.drawer.is-open .drawer__mask { opacity: 1; }

.drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(86vw, 340px);
  background: #fff;
  padding: 16px 18px calc(18px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: -18px 0 48px rgba(7, 23, 51, 0.14);
  transform: translateX(100%);
  transition: transform 0.3s var(--ease);
  overflow-y: auto;
}
.drawer.is-open .drawer__panel { transform: translateX(0); }

.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
}
.drawer__head img { height: 22px; }
.drawer__close {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  font-size: 26px;
  line-height: 1;
  color: var(--ink-2);
  cursor: pointer;
  border-radius: 12px;
}

.drawer__nav { display: flex; flex-direction: column; }
.drawer__nav a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 13px 12px;
  border-radius: 12px;
  color: var(--ink);
  min-height: 48px;
  justify-content: center;
}
.drawer__nav a:active { background: var(--bg-soft); }
.drawer__nav b { font-size: 15.5px; font-weight: 600; }
.drawer__nav span { font-size: 12.5px; color: var(--muted); }
.drawer__nav a.is-active { background: var(--brand-tint); }
.drawer__nav a.is-active b { color: var(--brand-deep); }

.drawer__foot {
  margin-top: auto;
  font-size: 12.5px;
  color: var(--faint);
  text-align: center;
}

/* =============================================================== Hero */
.hero {
  padding: calc(var(--hdr-h) + 46px) 0 8px;
}
.hero__in {
  display: grid;
  gap: 34px;
}

.hero__eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin-bottom: 12px;
}
.hero__title {
  font-size: clamp(30px, 8.6vw, 52px);
  font-weight: 800;
  margin-bottom: 14px;
}
.hero__title .grad { display: block; }
.hero__lead {
  font-size: clamp(17px, 4.4vw, 21px);
  font-weight: 600;
  color: var(--brand-deep);
  margin-bottom: 10px;
}
.hero__desc {
  font-size: 16px;
  color: var(--muted);
  max-width: 34em;
  margin-bottom: 26px;
}

.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }

.hero__flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  font-size: 13px;
  color: var(--muted);
}
.hero__flow li { display: flex; align-items: center; gap: 10px; }
.hero__flow li:not(:last-child)::after {
  content: "→";
  color: var(--faint);
}

.hero__art { display: none; }

.hero__scope { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.hero__scope span {
  border: 1px solid var(--line); background: var(--bg-soft);
  border-radius: 999px; padding: 5px 12px; font-size: 12px; color: var(--ink-2);
}

/* ---- 客户端界面示意（纯 CSS，不引用真实运行数据）---- */
.app {
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-l);
}
.app__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 11px 14px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}
.app__bar i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--line-2);
}
.app__bar span {
  margin-left: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}
.app__body { display: grid; grid-template-columns: 92px 1fr; min-height: 268px; }
.app__side {
  border-right: 1px solid var(--line);
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12.5px;
  color: var(--muted);
  background: #fcfdff;
}
.app__side span { padding: 7px 9px; border-radius: 8px; }
.app__side .is-on { background: var(--brand-tint); color: var(--brand-deep); font-weight: 600; }
.app__main { padding: 16px 16px 18px; }

.app__run {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-s);
  background: var(--bg-soft);
  margin-bottom: 12px;
}
.app__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-cyan);
  box-shadow: 0 0 0 4px rgba(11, 191, 210, 0.16);
  flex: 0 0 auto;
}
.app__run strong { display: block; font-size: 13.5px; }
.app__run em { font-style: normal; font-size: 12px; color: var(--muted); }

.app__list { display: flex; flex-direction: column; gap: 8px; }
.app__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-s);
}
.app__list strong { display: block; font-size: 13px; font-weight: 600; }
.app__list em { font-style: normal; font-size: 11.5px; color: var(--muted); }

.tag {
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 600;
  border-radius: 999px;
  padding: 2px 9px;
  margin-top: 1px;
}
.tag--ok { background: var(--ok-bg); color: var(--ok); }
.tag--skip { background: var(--skip-bg); color: var(--skip); }

/* =============================================== 02 一句话解释 */
.intro {
  padding: 46px 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.intro__h {
  font-size: clamp(19px, 5vw, 28px);
  font-weight: 700;
  margin-bottom: 10px;
}
.intro__p { color: var(--muted); font-size: 15px; }

/* ============================================================ 区块壳 */
.sec { padding: 44px 0; }
.sec--soft { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec__title {
  font-size: clamp(21px, 5.6vw, 30px);
  font-weight: 700;
  margin-bottom: 10px;
}
.sec__lead { color: var(--muted); margin-bottom: 22px; }

/* ---- 卖点卡片 ---- */
.cards { display: grid; gap: 14px; }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  padding: 22px 20px;
}
.card__ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--brand-tint);
  font-size: 19px;
  margin-bottom: 12px;
}
.card h3 { font-size: 16.5px; font-weight: 700; margin-bottom: 7px; }
.card p { color: var(--muted); font-size: 14px; }

/* ---- 投递依据 ---- */
.reason { display: grid; gap: 14px; }
.reason__col {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  padding: 20px;
}
.reason__col h4 { margin-bottom: 10px; }
.reason__col ul { display: flex; flex-direction: column; gap: 6px; }
.reason__col li {
  font-size: 14px;
  color: var(--ink-2);
  padding-left: 16px;
  position: relative;
}
.reason__col li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 10px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand-cyan);
}

/* ---- 使用流程 ---- */
.steps { display: grid; gap: 12px; counter-reset: s; }
.steps li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  padding: 18px 20px;
}
.steps__n {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--brand-deep);
  background: var(--brand-soft);
  border-radius: 999px;
  padding: 2px 10px;
  margin-bottom: 8px;
}
.steps b { display: block; font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.steps p { color: var(--muted); font-size: 14px; }
.steps__foot { margin-top: 16px; color: var(--ink-2); font-size: 14px; }
.steps__cta { margin-top: 16px; }

/* ---- 支持平台 ---- */
.plats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.plats li {
  display: flex;
  flex-wrap: wrap;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  padding: 15px 16px;
}
.plats b { font-size: 15px; font-weight: 600; }
.plats span {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ok);
  background: var(--ok-bg);
  border-radius: 999px;
  padding: 2px 9px;
  white-space: nowrap;
}
.plats li:last-child span { color: var(--muted); background: var(--bg-soft); }
.plat__note { margin-top: 14px; font-size: 13px; color: var(--muted); }

/* ---- 套餐 ---- */
.plans { display: grid; gap: 14px; }
.plan {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.plan--rec {
  border-color: rgba(10, 111, 245, 0.4);
  box-shadow: 0 0 0 3px var(--brand-tint);
}
.plan__name { font-size: 16.5px; font-weight: 700; }
.plan__price { font-size: 15px; color: var(--ink-2); }
.plan__price span { font-size: 30px; font-weight: 800; color: var(--brand-deep); }
.plan__price em { font-style: normal; font-size: 13px; color: var(--muted); }
.plan ul { display: flex; flex-direction: column; gap: 6px; flex: 1; }
.plan li { font-size: 13.5px; color: var(--muted); padding-left: 16px; position: relative; }
.plan li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-cyan);
}

.plans__more { margin-top: 16px; }
.plans__more summary {
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand-deep);
  padding: 12px 0;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.plans__more-in { display: grid; gap: 10px; padding-top: 6px; }
.plan--mini {
  border-radius: var(--r-m);
  padding: 16px 18px;
  gap: 8px;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.plan--mini .plan__name { font-size: 14.5px; }
.plan--mini .plan__price { font-size: 13.5px; }
.plan--mini .plan__price span { font-size: 19px; }

/* ---- FAQ ---- */
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  overflow: hidden;
}
.faq summary {
  cursor: pointer;
  padding: 15px 18px;
  font-size: 15px;
  font-weight: 600;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 20px;
  font-weight: 400;
  color: var(--faint);
  flex: 0 0 auto;
}
.faq details[open] summary::after { content: "−"; }
.faq__a { padding: 0 18px 16px; }
.faq__a p { color: var(--muted); font-size: 14px; }
.faq__a a { color: var(--brand-deep); text-decoration: underline; }

/* ---- 最终 CTA ---- */
.final {
  padding: 56px 0;
  text-align: center;
  background: linear-gradient(180deg, var(--bg-soft) 0%, #fff 100%);
  border-top: 1px solid var(--line);
}
.final h2 { font-size: clamp(22px, 6vw, 32px); font-weight: 800; margin-bottom: 10px; }
.final p { color: var(--muted); margin-bottom: 24px; }
.final__cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ============================================================== Footer */
.foot {
  background: #071733;
  color: rgba(255, 255, 255, 0.66);
  /* 给底部固定双 CTA 留位，另外再多留 80px 给右下角悬浮回顶按钮 */
  padding: 40px 0 calc(var(--cta-h) + env(safe-area-inset-bottom) + 80px);
  font-size: 13px;
}
.foot__in { display: grid; gap: 16px; }
.foot__logo {
  height: 24px;
  width: auto;
  display: block;
  /* Logo 是深蓝字标，深底上要反色 */
  filter: brightness(0) invert(1);
  opacity: 0.9;
}
.foot__nav { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 10px; }
.foot__nav a { color: rgba(255, 255, 255, 0.72); font-size: 13px; }
.foot__nav a:hover { color: #fff; }
.foot__copy, .foot__icp { font-size: 12.5px; color: rgba(255, 255, 255, 0.5); }
.foot__contact { font-size: 12.5px; color: rgba(255, 255, 255, 0.5); }

/* ============================================ 手机底部固定双 CTA */
.cta-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 55;
  display: flex;
  gap: 10px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-top: 1px solid var(--line);
}
/* 两个按钮平分宽度，都保住 ≥44px 点击区 */
.cta-bar .btn { flex: 1 1 0; min-width: 0; }

/* ================================ 子页面（下载中心 / 使用教程）通用壳 */
.subpage { padding-top: var(--hdr-h); }

/* ================================================== 下载中心 */
.dl { padding: 44px 0 8px; }
.dl__eyebrow {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 10px;
}
.dl__h {
  font-size: clamp(26px, 7.4vw, 40px);
  font-weight: 800;
  margin-bottom: 10px;
}
.dl__lead { color: var(--muted); font-size: 15px; margin-bottom: 26px; }

.dl__note {
  font-size: 13.5px;
  color: var(--muted);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  padding: 14px 16px;
  margin-bottom: 18px;
}
.dl__note--warn { background: #fff8ed; border-color: #f4e2c0; color: #7a5c1e; }
.dl__note a { text-decoration: underline; }

.dlcard {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  box-shadow: var(--shadow-l);
  padding: 28px 22px 22px;
  margin-bottom: 30px;
}
.dlcard__badge {
  position: absolute;
  top: -11px;
  left: 22px;
  background: var(--grad);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  border-radius: 999px;
  padding: 3px 13px;
}
.dlcard__os {
  font-size: clamp(19px, 5.2vw, 24px);
  font-weight: 700;
  margin-bottom: 8px;
}
.dlcard__meta { font-size: 13.5px; color: var(--muted); margin-bottom: 20px; }
.dlcard__meta .sep { margin: 0 6px; color: var(--line-2); }
.dlcard__file {
  margin-top: 12px;
  font-size: 12px;
  color: var(--faint);
  word-break: break-all;
}
.dlcard--empty { box-shadow: var(--shadow-m); }
.dlcard--empty .dlcard__meta { margin-bottom: 20px; }

/* 下载后下一步 */
.next {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  padding: 22px 20px;
  margin-bottom: 30px;
}
.next h3 { font-size: 17px; font-weight: 700; margin-bottom: 14px; }
.next__list { display: grid; gap: 10px; margin-bottom: 18px; }
.next__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  color: var(--ink-2);
}
.next__list span {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand-deep);
  font-size: 12.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* 全部版本：每张卡给全量校验信息 */
.others h3 { font-size: 17px; font-weight: 700; margin-bottom: 14px; }
.ver__list { display: grid; gap: 12px; margin-bottom: 16px; }
.ver {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  padding: 18px 16px 16px;
}
.ver--muted { color: var(--muted); font-size: 14px; }
.ver__head {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}
.ver__os { font-size: 16px; font-weight: 700; margin: 0; }
.ver__meta { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.ver__kv { display: grid; gap: 6px; margin-bottom: 12px; }
.kv { display: grid; grid-template-columns: 84px 1fr; gap: 10px; font-size: 12.5px; }
.kv__k { color: var(--faint); }
.kv__v { color: var(--ink-2); word-break: break-all; }
.ver__warn {
  font-size: 12.5px;
  color: #7a5c1e;
  background: #fff8ed;
  border: 1px solid #f4e2c0;
  border-radius: var(--r-s);
  padding: 9px 12px;
  margin-bottom: 12px;
}
.ver__foot { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

/* 支持状态徽标：只有 4 种词 */
.badge {
  flex: 0 0 auto;
  font-size: 11.5px;
  font-weight: 700;
  border-radius: 999px;
  padding: 3px 11px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  color: var(--muted);
}
.badge--ok { background: #e8f7f0; border-color: #bfe6d2; color: #14684a; }
.badge--wait { background: var(--bg-soft); border-color: var(--line); color: var(--muted); }
.badge--off { background: #f4f5f7; border-color: #e2e5ea; color: #7c8698; }

/* 「暂未提供 / 未支持」不是按钮：给不了真文件就绝不放下载按钮 */
.pillwait {
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 14px;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
}
.others__note { font-size: 12.5px; color: var(--faint); }

/* SHA-256 校验说明 */
.hashhelp {
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  background: var(--bg-soft);
  padding: 16px 16px 14px;
  margin-top: 16px;
}
.hashhelp h4 { font-size: 14.5px; font-weight: 700; margin-bottom: 10px; }
.hashhelp p { font-size: 12.5px; color: var(--muted); margin: 8px 0 4px; }
.hashhelp pre {
  background: #0f1b2d;
  color: #d7e3f4;
  font-size: 12px;
  border-radius: var(--r-s);
  padding: 9px 12px;
  overflow-x: auto;
  margin: 0;
}
.hashhelp__note { margin-top: 10px !important; }

/* 本轮不支持的范围 */
.unsupported { margin-top: 30px; }
.unsupported h3 { font-size: 17px; font-weight: 700; margin-bottom: 14px; }
.unsupported__list {
  display: grid;
  gap: 10px;
  margin-bottom: 12px;
}
.unsupported__list li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  padding: 13px 15px;
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.65;
}
.unsupported__list b { font-weight: 700; }
.unsupported__note { font-size: 12.5px; color: var(--faint); }
.unsupported__note a { text-decoration: underline; }

/* ================================================== 使用教程 */
.tut__head { padding-top: 44px; padding-bottom: 8px; }
.tut__jump { margin-top: 8px; }
.tut { display: grid; gap: 12px; }
.tut__item {
  display: flex;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  padding: 20px;
}
.tut__n {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand-deep);
  font-size: 14px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.tut__item h3 { font-size: 16px; font-weight: 700; margin-bottom: 5px; }
.tut__item p { font-size: 14px; color: var(--muted); }
.tut__item a { text-decoration: underline; }
.tut__end { text-align: center; }
.tut__end h2 { font-size: clamp(21px, 5.8vw, 30px); font-weight: 800; margin-bottom: 8px; }
.tut__end p { color: var(--muted); margin-bottom: 22px; }
.tut__end-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ================================================== 640px：小平板 */
@media (min-width: 640px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
  .cards--3 { grid-template-columns: repeat(3, 1fr); }
  .reason { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .plats { grid-template-columns: repeat(4, 1fr); }
  .plans { grid-template-columns: repeat(3, 1fr); }
  .plans__more-in { grid-template-columns: repeat(2, 1fr); }
  .hero__cta { gap: 14px; }
}

/* ============================================== 1000px：桌面 */
@media (min-width: 1000px) {
  :root {
    --hdr-h: 68px;
    --cta-h: 0px;
  }

  .wrap { padding: 0 32px; }

  /* ⚠️ 必须和手机那条同权重（都带 .hdr），否则桌面导航会整个消失 */
  .hdr .hdr__nav {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-left: auto;
  }
  .hdr .hdr__cta { display: inline-flex; }
  .js-on .burger, .burger { display: none !important; }
  .drawer { display: none !important; }
  .cta-bar { display: none; }

  .hero { padding: calc(var(--hdr-h) + 74px) 0 20px; }
  .hero__in { grid-template-columns: 1.02fr 0.98fr; align-items: center; gap: 52px; }
  .hero__title { font-size: clamp(40px, 4.4vw, 58px); }
  .hero__art { display: block; }

  .intro { padding: 64px 0; text-align: left; }
  .intro__in { max-width: 720px; }

  .sec { padding: 72px 0; }
  .sec__title { margin-bottom: 14px; }
  .cards, .cards--3 { gap: 18px; }
  .card { padding: 28px 26px; }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .plans { gap: 18px; }
  .plan { padding: 30px 26px; }
  .plan--rec { transform: translateY(-6px); }
  .final { padding: 82px 0; }

  .foot { padding: 58px 0 42px; }
  .foot__in { grid-template-columns: auto 1fr auto; align-items: start; gap: 40px; }
  .foot__nav { justify-content: flex-end; }

  /* 子页面（下载中心 / 使用教程） */
  .dl { padding: 64px 0 20px; }
  .dlcard { max-width: 620px; padding: 40px 40px 32px; }
  .next { padding: 30px 32px; max-width: 620px; }
  .next__list { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .ver__list { grid-template-columns: repeat(2, 1fr); }
  .unsupported__list { grid-template-columns: repeat(2, 1fr); }
  .others { max-width: 760px; }
  .tut { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .tut__head { padding-top: 66px; }
}

/* ============================================================================
   ⚠️ 以下两段是 order.html / mock-pay.html 的样式契约，不要删除
   （购买/支付链路依赖它们；备份见 website/log_preserve/pay_btn.css）
   ========================================================================== */

.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease),
    background 0.22s var(--ease), color 0.22s var(--ease), border-color 0.22s var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: linear-gradient(115deg, #0a6ff5 0%, #0bbfd2 145%);
  color: #fff;
  box-shadow: 0 1px 2px rgba(10, 111, 245, 0.24), 0 12px 28px rgba(10, 111, 245, 0.22);
}
.btn--primary:hover {
  box-shadow: 0 2px 4px rgba(10, 111, 245, 0.28), 0 16px 36px rgba(10, 111, 245, 0.3);
  transform: translateY(-1px);
}
.btn--primary.btn--disabled,
.btn--primary[aria-disabled="true"] {
  background: var(--line-2);
  color: var(--faint);
  box-shadow: none;
}

.btn--ghost { background: #fff; border-color: var(--line-2); color: var(--ink); }
.btn--ghost:hover {
  border-color: rgba(10, 111, 245, 0.42);
  color: var(--brand-deep);
  box-shadow: var(--shadow-m);
  transform: translateY(-1px);
}

/* 小号按钮也要保住 44px 点击区 */
.btn--sm { font-size: 14px; padding: 13px 20px; min-height: 44px; }
.btn--block { display: flex; width: 100%; min-height: 48px; }
.btn[hidden] { display: none; }
.btn.is-error { background: #fee2e2; border-color: #fca5a5; color: #dc2626; }
.btn[aria-disabled="true"] { opacity: 0.55; pointer-events: none; }
.btn--ghost .ripple { background: rgba(10, 111, 245, 0.16); }

.btn-spin {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-top-color: #fff;
  animation: jh-spin 0.7s linear infinite;
  display: inline-block;
}
.btn--ghost .btn-spin { border-color: rgba(10, 111, 245, 0.25); border-top-color: var(--brand); }
@keyframes jh-spin { to { transform: rotate(360deg); } }

.plan .btn { width: 100%; }

.pay-body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 16px;
}
.pay-wrap { width: 100%; max-width: 480px; }
.pay-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  margin-bottom: 18px;
}
.pay-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  box-shadow: var(--shadow-l);
  padding: 36px 32px;
  text-align: center;
}
.pay-card h1 { font-size: 22px; margin: 14px 0 8px; }
.pay-sub {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 18px;
  word-break: break-all;
}
.pay-amount { font-size: 15px; color: var(--ink-2); margin: 0 0 18px; }
.pay-amount strong { font-size: 34px; color: var(--brand-deep); font-weight: 800; }
.pay-tip {
  font-size: 12.5px;
  color: var(--muted);
  background: var(--bg-soft);
  border-radius: var(--r-s);
  padding: 10px 14px;
  margin: 0 0 22px;
}
.pay-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.pay-countdown { margin: 16px 0 0; font-size: 12.5px; color: var(--muted); }
.pay-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--brand-deep);
  background: var(--brand-soft);
  border-radius: 999px;
  padding: 3px 12px;
}
.pay-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  font-size: 28px;
  font-weight: 700;
}
.pay-badge--ok { background: #dcfce7; color: #16a34a; }
.pay-badge--warn { background: #fef3c7; color: #d97706; }
.pay-spin {
  width: 44px;
  height: 44px;
  border-width: 3px;
  border-color: rgba(10, 111, 245, 0.2);
  border-top-color: var(--brand);
  border-radius: 50%;
  border-style: solid;
  animation: jh-spin 0.7s linear infinite;
  display: inline-block;
}
.pay-meta {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  font-size: 13px;
  color: var(--muted);
}
.pay-meta li { margin: 4px 0; }

@media (max-width: 520px) {
  .pay-card { padding: 28px 20px; }
}

/* 延续品牌留白与蓝青渐变，补足卡片层次与键盘/触屏反馈。 */
.card, .tut__item, .ver { transition: border-color .24s var(--ease), box-shadow .24s var(--ease), transform .24s var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .card:hover, .tut__item:hover, .ver:hover {
    border-color: var(--line-2); box-shadow: var(--shadow-m); transform: translateY(-3px);
  }
}
.motion-in { animation: toyouju-enter .55s var(--ease) both; }
@keyframes toyouju-enter {
  from { opacity: .65; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
.faq summary:focus-visible { border-radius: var(--r-m); }
.dl__note .btn { margin: 10px 0 0; }
.ver__kv .kv__v { overflow-wrap: anywhere; word-break: normal; }
.ver__kv .kv:first-child .kv__v, .ver__kv .kv:nth-child(2) .kv__v {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}
.tut__item > div:last-child { min-width: 0; }
@media (min-width: 760px) {
  .ver__list { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; }
  .ver { display: flex; flex-direction: column; min-width: 0; }
  .ver__foot { margin-top: auto; padding-top: 4px; }
}
@media (max-width: 380px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .tut__item { padding: 16px 12px; gap: 10px; }
  .kv { grid-template-columns: 70px minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
}

/* 首页购买路径：品牌渐变与现有动效保留，信息按操作顺序分层。 */
.home-page .hero__eyebrow { display: inline-flex; align-items: center; gap: 9px; border: 1px solid #d6e6fb; background: #ffffffc9; border-radius: 999px; padding: 7px 13px; }
.home-page .hero__eyebrow::before { content: ''; width: 7px; height: 7px; flex-shrink: 0; background: #0db8a1; border-radius: 50%; box-shadow: 0 0 0 4px #0db8a110; }
.home-page .hero__lead { max-width: 25em; font-size: clamp(17px,1.6vw,21px); line-height: 1.65; }
.home-page .hero__desc { max-width: 35em; }
.hero__download-note { margin: 15px 0 0; color: var(--muted); font-size: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.hero__download-note > span { color: #b4c2d4; }.hero__download-note a { color: var(--brand-deep); text-underline-offset: 4px; }
.home-page .hero__flow { margin-top: 24px; }
.product-facts { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); max-width: 950px; margin: 34px auto 0; text-align: center; }
.product-facts > div { padding: 4px 24px; }.product-facts > div + div { border-left: 1px solid var(--line-2); }
.product-facts strong { font-size: clamp(24px,3vw,36px); font-weight: 750; letter-spacing: -.04em; color: var(--ink); }.product-facts strong span { font-size: 14px; font-weight: 500; letter-spacing: 0; }
.product-facts p { color: var(--muted); font-size: 13px; margin: 7px 0 0; }
.platform-versions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.platform-versions article { min-width: 0; padding: 26px; border: 1px solid var(--line-2); border-radius: 20px; background: #fff; }
.platform-versions article:last-child { background: linear-gradient(130deg,#fff,#f1fcf8); border-color: #c7e6df; }
.platform-versions h3 { font-size: 19px; margin: 15px 0 9px; }.platform-versions p { font-size: 14px; color: var(--ink-2); line-height: 1.9; margin: 0 0 14px; }.platform-versions small { color: var(--muted); font-size: 12px; }
.platform-notes { margin-top: 18px; border-bottom: 1px solid var(--line-2); padding: 14px 0; font-size: 13px; color: var(--muted); }
.platform-notes summary { cursor: pointer; color: var(--ink-2); width: fit-content; padding: 4px 0; }.platform-notes p { max-width: 80em; line-height: 1.9; margin: 14px 0 4px; }
.purchase-includes { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px 25px; margin: 26px auto 0; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: 16px; max-width: 820px; }
.purchase-includes > span { font-size: 13px; color: var(--ink-2); display: flex; gap: 8px; align-items: center; }.purchase-includes b { display: inline-grid; place-items: center; width: 25px; height: 25px; border-radius: 8px; background: var(--brand-tint); color: var(--brand-deep); font-size: 11px; }
.purchase-includes small { width: 100%; text-align: center; color: var(--muted); font-size: 12px; }
.home-page .tier-switch button { min-height: 91px; }.home-page .tier-switch button[aria-pressed="true"] { box-shadow: 0 3px 12px #135dd718; outline: 1px solid #bdd5ff; }
.home-page .tier-card--pro .tier-switch button[aria-pressed="true"] { outline-color: #a9dace; }
.home-page .tier-card__top { min-height: 112px; }
@media (max-width: 760px) {
  .home-page .hero__eyebrow { font-size: 11px; }.hero__download-note { font-size: 11px; gap: 6px; }
  .product-facts { margin-top: 26px; gap: 0; }.product-facts > div { padding: 0 8px; }.product-facts strong { display: block; font-size: 26px; }.product-facts strong span { display: block; font-size: 12px; letter-spacing: 0; }.product-facts p { font-size: 11px; line-height: 1.65; }
  .platform-versions { grid-template-columns: 1fr; gap: 12px; }.platform-versions article { padding: 22px; }
  .purchase-includes { gap: 12px; justify-content: flex-start; padding: 18px; }.purchase-includes > span { font-size: 12px; }.purchase-includes small { text-align: left; }
  .home-page .tier-card__top { min-height: 0; }
}

/* Magic UI 交互方向的原生实现：边缘流光 / 平台连线 / 聚光边框。 */
.platform-network { margin: 28px 0 0; }
.network__canvas { position: relative; display: grid; grid-template-columns: minmax(0,1fr) 120px minmax(0,1fr); align-items: center; gap: 30px; padding: 24px 32px; min-height: 270px; border: 1px solid #dbe7f4; border-radius: 24px; background: radial-gradient(ellipse at 50% 48%,#deeffd99,transparent 55%),linear-gradient(130deg,#fff,#f7fbff 65%,#f0fbf8); }
.network__lines { position: absolute; width: 100%; height: 100%; inset: 0; pointer-events: none; }
.network__base path,.network__pulse path { fill: none; vector-effect: non-scaling-stroke; stroke-width: 1.5px; }.network__base { stroke: #c5dced; }.network__pulse path { stroke-width: 2px; stroke-dasharray: 10 90; stroke-linecap: round; opacity: 0; }
.network__nodes { display: grid; justify-items: center; gap: 16px; position: relative; z-index: 1; }
.network__nodes li { display: flex; align-items: center; gap: 8px; min-width: 142px; justify-content: center; padding: 12px 18px; color: var(--ink-2); font-size: 13px; line-height: 22px; font-weight: 600; border: 1px solid #e0e9f3; border-radius: 13px; background: #fff; box-shadow: 0 5px 14px #285a8d07; }
.network__nodes i { width: 5px; height: 5px; background: #6aa5e4; border-radius: 50%; }.network__nodes:last-child i { background: #42b99e; }
.network__center { position: relative; display: grid; justify-items: center; z-index: 1; }
.network__hub { display: grid; place-items: center; width: 92px; height: 92px; border: 1px solid #c6dff3; border-radius: 26px; background: #fffffffa; box-shadow: 0 16px 40px #498db51c,0 0 0 9px #ffffff70; }
.network__hub img { width: 54px; height: 54px; object-fit: contain; }.network__center b { font-size: 11px; font-weight: 500; margin-top: 18px; color: var(--muted); white-space: nowrap; }
.platform-network figcaption { text-align: center; font-size: 11px; color: var(--muted); margin-top: 12px; }
[data-spotlight] { position: relative; isolation: isolate; }
[data-spotlight]::before { content: ''; pointer-events: none; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(280px circle at var(--spot-x,50%) var(--spot-y,50%),#51c7ed12,transparent 75%); opacity: 0; transition: opacity .25s; }
[data-spotlight].is-spotlit::before { opacity: 1; }
@supports (mask-composite: exclude) {
  .home-page .demo-app::after,[data-spotlight]::after { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; pointer-events: none; z-index: 2; mask: linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0); mask-composite: exclude; }
  .home-page .demo-app::after { background: conic-gradient(from var(--demo-phase,0deg),transparent 0deg,transparent 250deg,#73baffbb 290deg,#32cbbdaa 330deg,transparent 360deg); }
  [data-spotlight]::after { background: radial-gradient(230px circle at var(--spot-x,50%) var(--spot-y,50%),#4b9cf7bb,#63d4be66 40%,transparent 70%); opacity: 0; transition: opacity .25s; }
  [data-spotlight].is-spotlit::after { opacity: 1; }
}
@media (max-width: 600px) {
  .network__canvas { grid-template-columns: minmax(0,1fr) 70px minmax(0,1fr); gap: 14px; padding: 20px 14px; min-height: 248px; border-radius: 20px; }
  .network__nodes { gap: 18px; }.network__nodes li { min-width: 0; width: 100%; max-width: 126px; font-size: 11px; padding: 9px 5px; gap: 5px; border-radius: 10px; white-space: nowrap; }
  .network__hub { width: 64px; height: 64px; border-radius: 19px; box-shadow: 0 12px 24px #498db518,0 0 0 5px #ffffff88; }.network__hub img { width: 42px; height: 42px; }.network__center b { font-size: 10px; margin-top: 15px; }
  .platform-network figcaption { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce), (hover: none) {
  [data-spotlight]::before,[data-spotlight]::after { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .home-page .demo-app::after,.network__pulse { display: none; }
}

/* 产品流程随页面纵向滚动，卡片内容默认可见。 */
@supports (overflow: clip) { body.home-page:not(.is-locked) { overflow-x: clip; } }
.home-page .intro { padding: 34px 0; }.home-page .product-facts { margin-top: 24px; }
.story { background: radial-gradient(ellipse at 82% 46%,#eaf8fe,transparent 56%),#fff; }
.story__copy { max-width: 680px; margin: 0 auto 32px; text-align: center; }
.story__copy .section-kicker { text-align: inherit; }.story__copy h2 { font-size: clamp(30px,4vw,50px); letter-spacing: -.055em; line-height: 1.3; margin: 0 0 18px; }
.story__copy > p:not(.section-kicker) { color: var(--muted); font-size: 14px; }
.story__copy .story__privacy { margin-top: 24px; font-size: 12px; line-height: 1.9; }
.story__track { display: grid; gap: 18px; max-width: 960px; margin: 0 auto; }
.story__card { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: center; gap: clamp(20px, 4vw, 48px); min-width: 0; padding: clamp(22px, 4vw, 38px); border: 1px solid #d9e6f5; border-radius: 26px; background: linear-gradient(150deg,#f4f9ff,#fff 65%); }
.story__card--apply { background: linear-gradient(150deg,#effbfa,#fff 65%); border-color: #c9e7e2; }
.story__card--records { background: linear-gradient(150deg,#f4f5ff,#fff 65%); }
.story__card h3 { font-size: 23px; line-height: 1.4; letter-spacing: -.035em; margin: 0 0 10px; }.story__text > p { font-size: 13px; color: var(--muted); line-height: 1.9; margin: 0; }
.story__visual { min-width: 0; box-shadow: 0 14px 38px #1b5d9a0c; }
.counting-note { padding-top: 20px; color: var(--muted); font-size: 12px; line-height: 1.9; }.counting-note b { color: var(--ink-2); font-weight: 500; }
.home-page .pricing-rules { margin-top: 22px; }.home-page .pricing-rules > p { margin: 12px 0 0; }
@media (max-width: 680px) {
  .story__card { grid-template-columns: 1fr; gap: 16px; border-radius: 20px; }
  .story__track { max-width: 560px; }
}

/* 动效保持蓝青配色；所有正文默认可见，动画不会承担显示职责。 */
.motion-tilt { position: relative; transform-style: preserve-3d; transition: transform .32s cubic-bezier(.16,1,.3,1), box-shadow .3s ease, border-color .3s ease; }
.tilt__glare { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s ease; background: radial-gradient(circle at var(--mx,50%) var(--my,50%), rgba(115,221,247,.2), transparent 65%); }
.motion-platforms { margin: 28px 0 24px; min-width: 0; }
.motion-platforms__head { display: flex; gap: 12px; align-items: center; justify-content: space-between; color: var(--muted); font-size: 12px; margin-bottom: 12px; }
.marquee-toggle { color: var(--primary, #3778f6); border: 1px solid var(--line); background: #fff; border-radius: 999px; font: inherit; padding: 7px 13px; cursor: pointer; min-height: 36px; }
.marquee-toggle[hidden] { display: none; }
.marquee { overflow-x: auto; border-radius: 16px; padding: 8px 0; touch-action: pan-y; }
.marquee--ready { overflow: hidden; cursor: grab; }
.marquee.is-dragging { cursor: grabbing; }
.marquee__track { display: flex; width: max-content; }
.marquee__group { display: flex; flex-shrink: 0; align-items: center; gap: 12px; padding: 0 12px 0 0; margin: 0; list-style: none; }
.platform-pill { display: inline-flex; align-items: center; gap: 9px; white-space: nowrap; padding: 15px 20px; border: 1px solid rgba(86,154,214,.2); border-radius: 999px; background: linear-gradient(125deg,#fff,#f0f9ff); color: #243d59; font-size: 14px; font-weight: 650; user-select: none; }
.platform-pill i { width: 7px; height: 7px; border-radius: 50%; background: linear-gradient(135deg,#487bff,#36d2c5); box-shadow: 0 0 0 4px rgba(70,157,225,.08); }
.marquee-hint { font-size: 11px; color: var(--muted); text-align: center; margin-top: 10px; }
.tut--motion { position: relative; isolation: isolate; }
.tut--motion::before, .tut--motion::after { content: ''; position: absolute; z-index: -1; left: 37px; top: 30px; bottom: 30px; width: 2px; border-radius: 3px; background: #dbe8f4; }
.tut--motion::after { background: linear-gradient(#437dff,#27c9bd); transform: scaleY(var(--read-progress,0)); transform-origin: top; }
.tut__item.is-read .tut__n { background: linear-gradient(135deg,#e4edff,#d9faf4); box-shadow: 0 0 0 4px rgba(57,137,219,.06); transition: background .4s ease, box-shadow .4s ease; }
.btn { position: relative; overflow: hidden; isolation: isolate; }
.motion-ripple { position: absolute; pointer-events: none; width: 16px; height: 16px; border-radius: 50%; background: currentColor; }
@media (max-width: 520px) { .platform-pill { padding: 12px 16px; font-size: 13px; } .motion-platforms__head { font-size: 11px; } }
@media (prefers-reduced-motion: reduce) {
  .motion-tilt { transform: none !important; }
  .tilt__glare, .motion-ripple, .marquee__group[data-clone] { display: none !important; }
  .marquee, .marquee--ready { overflow-x: auto; touch-action: auto; cursor: auto; }
  .marquee__track { transform: none !important; }
  .tut--motion::after { display: none; }
}

/* 明暗主题：首次跟随系统，手动选择保存在本机；不反转原始图片。 */
:root { color-scheme: light; }
.theme-toggle { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 44px; width: 44px; height: 44px; padding: 0; margin-left: auto; border: 1px solid var(--line-2); border-radius: 50%; background: var(--bg); color: var(--ink-2); cursor: pointer; transition: border-color .2s,background .2s,color .2s; }
.theme-toggle:hover { border-color: var(--brand); color: var(--brand-deep); background: var(--brand-tint); }
.theme-toggle:active { transform: scale(.96); }.theme-toggle .theme-icon { flex-shrink: 0; }
.theme-icon--sun { display: none; }[data-theme="dark"] .theme-icon--sun { display: block; }[data-theme="dark"] .theme-icon--moon { display: none; }
.hdr .theme-toggle + .burger { margin-left: 0; }
.theme-toggle--floating { position: fixed; top: 20px; right: 20px; z-index: 70; }
@media (min-width: 1000px) { .hdr .theme-toggle { margin-left: 0; } }
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0b1220; --bg-soft: #101a2b; --surface: #142136; --surface-2: #1a2b43;
  --ink: #edf3ff; --ink-2: #ccdaed; --muted: #a9bad1; --faint: #93a7c1;
  --line: #263750; --line-2: #334967;
  --brand: #6ba7ff; --brand-deep: #98c0ff; --brand-soft: #1b3150; --brand-tint: #142943;
  --ok: #80e5b6; --ok-bg: #14392f; --skip: #f4d08a; --skip-bg: #3e301b;
  --shadow-s: 0 1px 2px #0003; --shadow-m: 0 12px 30px #0004; --shadow-l: 0 26px 64px #0006;
}
[data-theme="dark"] .hdr { background: #0b1220de; }[data-theme="dark"] .hdr.is-stuck,[data-theme="dark"] .cta-bar { background: #0b1220f0; }
[data-theme="dark"] .skip-link { background: var(--surface-2); color: var(--ink); }
[data-theme="dark"] :is(.hdr__logo img,.drawer__head img,.pay-brand img) { background: #eef5ff; border-radius: 8px; padding: 4px 7px; height: 34px; width: auto; }
[data-theme="dark"] .drawer__panel { background: var(--bg-soft); }[data-theme="dark"] .drawer__close { color: var(--ink); background: var(--surface-2); }
[data-theme="dark"] :is(.btn--ghost,.marquee-toggle) { background: var(--surface); border-color: var(--line-2); color: var(--ink); }
[data-theme="dark"] .btn--primary { background: linear-gradient(115deg,#216cdb,#08778b); color: #fff; }
[data-theme="dark"] .hero { background: radial-gradient(ellipse at 84% 38%,#10344b 0,transparent 55%),linear-gradient(180deg,#0c1728,var(--bg)); }
[data-theme="dark"] .home-page .hero__eyebrow { border-color: var(--line-2); background: #122138bb; }
[data-theme="dark"] .demo-app { background: #111e32f5; border-color: #405e80; outline-color: #45648266; box-shadow: 0 26px 65px -24px #000a; }
[data-theme="dark"] .demo-app .app__bar,[data-theme="dark"] .demo-tabs { background: #17263b; }
[data-theme="dark"] .demo-tabs button[aria-pressed="true"] { background: #263d5c; color: var(--ink); }
[data-theme="dark"] .demo-progress { background: var(--line-2); }
[data-theme="dark"] :is(.card,.reason__col,.steps li,.plats li,.plan,.faq details,.dlcard,.ver,.unsupported__list li,.tut__item,.pay-card,.purchase-includes,.trial-strip) { background: var(--surface); border-color: var(--line); }
[data-theme="dark"] .platform-versions article { background: var(--surface); border-color: var(--line-2); }
[data-theme="dark"] .platform-versions article:last-child { background: linear-gradient(130deg,#142136,#12312f); border-color: #28554e; }
[data-theme="dark"] :is(.tier-card,.metering-card) { background: linear-gradient(150deg,#17283f,#111e32); border-color: var(--line-2); }
[data-theme="dark"] .tier-card--pro { background: linear-gradient(145deg,#142b3b,#111e32 52%,#112d29); border-color: #306858; }
[data-theme="dark"] :is(.tier-switch,.tier-compare thead th) { background: #17273d; }
[data-theme="dark"] .tier-switch button[aria-pressed="true"] { background: #2a4262; color: var(--ink); }
[data-theme="dark"] .home-page .tier-switch button[aria-pressed="true"] { outline-color: #6589b8; }
[data-theme="dark"] .home-page .tier-card--pro .tier-switch button[aria-pressed="true"] { outline-color: #4a9b87; }
[data-theme="dark"] .tier-badge { background: #1a3150; color: #a9ceff; border-color: #38597d; }
[data-theme="dark"] .tier-badge--pro { background: #123e32; color: #8de3c3; border-color: #2f6857; }
[data-theme="dark"] .pricing-compatibility { background: var(--brand-tint); border-color: var(--line-2); }
[data-theme="dark"] :is(.compare-wrap,.tier-compare caption) { background: var(--surface); }
[data-theme="dark"] .tier-compare :is(td:nth-child(3),thead th:nth-child(3)) { background: #16362e66; }
[data-theme="dark"] .compare-check { color: var(--ok); }
[data-theme="dark"] .metering-card__icon { background: var(--brand-soft); color: var(--brand-deep); border-color: var(--line-2); }
[data-theme="dark"] .platform-pill { background: linear-gradient(125deg,#172b45,#132a30); color: var(--ink-2); border-color: #34516b; }
[data-theme="dark"] .network__canvas { background: radial-gradient(ellipse at 50% 48%,#17406480,transparent 58%),linear-gradient(130deg,#101e33,#102432 65%,#112c2b); border-color: var(--line-2); }
[data-theme="dark"] .network__nodes li { background: #16273e; border-color: #34516b; }
[data-theme="dark"] .network__base { stroke: #446986; }
[data-theme="dark"] .network__hub { background: #152c43; border-color: #436c91; box-shadow: 0 16px 40px #0004,0 0 0 9px #19334b70; }
[data-theme="dark"] .story { background: radial-gradient(ellipse at 82% 46%,#12334a,transparent 56%),var(--bg); }
[data-theme="dark"] .story__card { background: linear-gradient(150deg,#172c49,#111e32 65%); border-color: var(--line-2); }
[data-theme="dark"] .story__card--apply { background: linear-gradient(150deg,#123733,#111e32 65%); border-color: #2a574e; }
[data-theme="dark"] .story__visual { background: #111e32eb; border-color: var(--line); box-shadow: 0 14px 38px #0002; }
[data-theme="dark"] :is(.final,.tut__end) { background: linear-gradient(180deg,var(--bg-soft),var(--bg)); }
[data-theme="dark"] :is(.badge--ok,.pay-badge--ok) { background: var(--ok-bg); color: var(--ok); border-color: #30664e; }
[data-theme="dark"] :is(.badge--off,.badge--wait) { background: #1b293d; color: var(--muted); border-color: var(--line-2); }
[data-theme="dark"] :is(.dl__note--warn,.ver__warn,.pay-badge--warn) { background: #3d301d; border-color: #665432; color: #f4d497; }
[data-theme="dark"] :is(.hashhelp summary,.ver__technical summary) { color: var(--ink-2); }
[data-theme="dark"] .tut__item.is-read .tut__n { background: linear-gradient(135deg,#24466b,#1c5148); color: var(--ink); }
[data-theme="dark"] :is(.tut--motion::before,.tut--motion::after) { background-color: var(--line-2); }
[data-theme="dark"] .pay-tag { background: var(--brand-soft); color: var(--brand-deep); }
@media (prefers-reduced-motion: reduce) { .theme-toggle { transition: none; }.theme-toggle:active { transform: none; } }

/* Clear system choices, using the existing theme and motion preferences. */
.hero__systems { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; max-width: 440px; margin-top: 24px; }
.hero__systems a { display: flex; align-items: center; gap: 12px; padding: 13px 16px; border: 1px solid var(--line-2); border-radius: 16px; background: var(--bg-soft); color: var(--ink); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.hero__systems a > span:first-child { color: var(--brand); font-size: 28px; line-height: 1; }
.hero__systems a > span:last-child { margin-left: auto; color: var(--muted); }
.hero__systems b { display: block; font-size: 14px; }
.hero__systems small { display: block; font-size: 11px; color: var(--muted); }
@media (hover:hover) { .hero__systems a:hover { transform: translateY(-3px); border-color: var(--brand); box-shadow: var(--shadow-m); } }
@media (max-width:380px) { .hero__systems { gap: 8px; } .hero__systems a { padding: 12px 10px; gap: 8px; } .hero__systems a > span:last-child { display: none; } }
@media (prefers-reduced-motion:reduce) { .hero__systems a { transition: none; } .hero__systems a:hover { transform: none; } }

/* The spotlight is attached to the control being demonstrated. */
.hero__art[data-demo] { isolation: isolate; }
.hero__art[data-active-scene="1"] .hero__aura--blue { background: #40dec067; }
.hero__art[data-active-scene="2"] .hero__aura--blue { background: #798bfc66; }
@media (prefers-reduced-motion: no-preference) {
  .hero__art[data-demo] .hero__aura { transition: background-color .6s var(--ease); }
}
.demo-app .demo-windowbar { align-items: center; gap: 8px; }
.demo-windowbar img { display: block; flex: none; }
.demo-app .demo-windowbar span { margin-left: 0; }
.demo-tabs { margin-top: 14px; }
.demo-tabs button { min-height: 42px; }
.demo-foot a, .demo-foot button {
  color: var(--brand-deep);
  font-size: 12px;
  padding-block: 8px;
}
.demo-foot a:hover { text-decoration: underline; }
.demo-content .demo-progress { margin: 13px 0 0; border-radius: 3px; overflow: hidden; }
.demo-views { display: grid; }
.demo-views > .client-scene { min-height: 268px; }

.client-scene {
  --scene-rgb: 16 127 243;
  position: relative;
  padding: 15px;
  border: 1px solid var(--line-2);
  border-radius: 16px;
  background: var(--bg);
  isolation: isolate;
  overflow: hidden;
}
.client-scene.scene--apply { --scene-rgb: 0 163 149; }
.client-scene.scene--records { --scene-rgb: 95 106 255; }
.client-scene::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at 83% 62%, rgb(var(--scene-rgb) / .14), transparent 69%);
}
.scene-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; margin-bottom: 12px; }
.scene-head :is(h2,h4) { font-size: 16px; margin: 0; }
.scene-head > span { color: var(--muted); font-size: 11px; }
.scene-fields, .scene-records { display: grid; gap: 6px; padding: 0; margin: 0; }
.scene-fields > div, .scene-action, .scene-records > li {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--bg-soft);
  font-size: 12px;
}
.scene-fields > div, .scene-action { justify-content: space-between; }
.scene-fields dt { color: var(--muted); }
.scene-fields dd { margin: 0; text-align: right; font-weight: 600; }
.scene-fields dd strong { color: var(--brand-deep); }
.scene-action { margin-top: 6px; }
.scene-action > span {
  padding: 2px 8px;
  border: 1px solid var(--line-2);
  border-radius: 6px;
  background: var(--bg);
  color: var(--brand-deep);
  font-weight: 600;
  text-align: right;
}
.scene-counts { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 9px; color: var(--muted); font-size: 11px; }
.scene-counts b { color: var(--ink); margin-left: 2px; }
.scene-records .tag { flex: none; font-size: 10px; }
.scene-records strong, .scene-records small { display: block; }
.scene-records small, .scene-note { color: var(--muted); font-size: 11px; }
.scene-note { margin: 10px 0 0; }
.client-scene .scene-focus {
  border-color: rgb(var(--scene-rgb) / .48);
  background: linear-gradient(110deg, var(--bg-soft), rgb(var(--scene-rgb) / .12)), var(--bg-soft);
  box-shadow: inset 0 1px 0 rgb(var(--scene-rgb) / .17), 0 0 20px rgb(var(--scene-rgb) / .14);
}
[data-theme="dark"] .client-scene { background: var(--surface); }
.story__visual.client-scene { padding: 15px; min-height: 0; }

@media (prefers-reduced-motion: no-preference) {
  [data-demo][data-active-scene] .client-scene:not([hidden]) { animation: scene-enter .42s var(--ease) both; }
  [data-demo][data-active-scene] .client-scene:not([hidden]) .scene-focus { animation: scene-light .85s ease-out; }
  .story__card--revealed { animation: story-enter .48s var(--ease); }
  .story__card--revealed .scene-focus { animation: scene-light .85s ease-out; }
}
@keyframes story-enter {
  from { opacity: .84; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes scene-enter {
  from { opacity: .72; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes scene-light {
  35% { box-shadow: inset 0 1px 0 rgb(var(--scene-rgb) / .36), 0 0 26px rgb(var(--scene-rgb) / .35); }
}
@media (max-width: 380px) {
  .demo-views > .client-scene { min-height: 276px; }
  .client-scene { padding-inline: 11px; }
}

/* Real client screenshots: the surrounding brand remains, the product stays legible. */
.capture-app { overflow: hidden; }
.capture-app .demo-windowbar { flex-wrap: wrap; row-gap: 4px; }
.capture-app .demo-tabs { margin-top: 12px; margin-bottom: 12px; }
.capture-panel { min-width: 0; }
.capture-stage { position: relative; aspect-ratio: 1.28; overflow: hidden; border: 1px solid var(--line-2); border-radius: 12px; background: #f6f8fb; isolation: isolate; }
.capture-plane { position: absolute; inset: 0; transform-origin: 0 0; }
.capture-plane > img { display: block; width: 100%; height: 100%; object-fit: contain; }
.capture-plane > img[data-failed] { visibility: hidden; }
.capture-target { position: absolute; pointer-events: none; border: calc(1.5px / var(--focus-scale,1)) solid #168fd6; border-radius: 7px; box-shadow: 0 0 0 3px #30bdcd14,0 0 18px #2aaec329; opacity: 0; }
.capture-caption { display: flex; align-items: flex-start; justify-content: space-between; gap: 6px 12px; margin-top: 12px; min-height: 48px; }
.capture-caption p { color: var(--ink-2); font-size: 12px; line-height: 1.7; flex: 1; }
.capture-caption a { font-size: 11px; min-height: 44px; display: inline-flex; align-items: flex-start; padding-top: 1px; flex-shrink: 0; }
.capture-caption a:hover,.capture-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.capture-app .demo-foot { padding-block: 5px; font-size: 11px; }
.demo-controls { display: flex; gap: 6px; }
.capture-app .demo-controls button { min-height: 44px; padding: 8px 9px; border-radius: 8px; font-size: 12px; font-weight: 600; }
.capture-app .demo-controls button:hover { background: var(--brand-soft); }
.capture-app .demo-progress { margin-top: 0; border-radius: 3px; overflow: hidden; }
.capture-error { position: absolute; inset: 0; padding: 24px; display: grid; place-content: center; gap: 12px; text-align: center; color: var(--muted); background: var(--bg-soft); font-size: 13px; }
.capture-error button { min-height: 44px; font: inherit; border: 1px solid var(--line-2); border-radius: 8px; background: var(--bg); color: var(--brand-deep); cursor: pointer; }
.capture-noscript { display: block; width: 100%; height: auto; }
.capture-step { display: block; color: var(--brand-deep); font-size: 11px; font-weight: 600; letter-spacing: .06em; margin-bottom: 16px; }
.capture-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-top: 16px; font-size: 12px; }
.capture-crop { margin: 0; overflow: hidden; border-radius: 12px; border: 1px solid var(--line-2); background: #f6f8fb; }
.capture-crop > img,.capture-crop > noscript img { width: 100%; height: auto; display: block; }
.capture-crop figcaption { padding: 8px 12px; color: var(--muted); font-size: 10px; border-top: 1px solid var(--line); background: var(--bg); }
.story__card--workbench { background: linear-gradient(150deg,#effbfa,#fff 65%); border-color: #c9e7e2; }
.capture-dialog { width: min(1120px,calc(100vw - 32px)); max-width: none; max-height: calc(100dvh - 32px); padding: 0; border: 1px solid var(--line-2); border-radius: 18px; background: var(--bg); color: var(--ink); box-shadow: 0 30px 100px #0006; overflow: auto; }
.capture-dialog::backdrop { background: #081526b3; backdrop-filter: blur(5px); }
.capture-dialog__head { position: sticky; z-index: 1; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); background: var(--bg); }
.capture-dialog h2 { font-size: 17px; }
.capture-dialog__head p { margin-top: 5px; color: var(--muted); font-size: 12px; }
.capture-dialog__head button { width: 44px; height: 44px; flex-shrink: 0; background: var(--bg-soft); color: var(--ink); border: 1px solid var(--line-2); border-radius: 10px; font: inherit; font-size: 25px; cursor: pointer; }
.capture-dialog__body { padding: 16px; text-align: center; background: var(--bg-soft); }
.capture-dialog__body img { display: block; width: auto; max-width: 100%; height: auto; margin: 0 auto; }
[data-theme="dark"] :is(.capture-stage,.capture-crop) { background: #0e131b; }
[data-theme="dark"] .capture-target { border-color: #51bfe1; box-shadow: 0 0 0 3px #30bdcd18,0 0 18px #2aaec340; }
[data-theme="dark"] .story__card--workbench { background: linear-gradient(150deg,#123733,#111e32 65%); border-color: #2a574e; }
@media (prefers-reduced-motion:no-preference) {
  .capture-panel:not([hidden]) { animation: capture-appear .25s ease-out; }
  .story__card--revealed .capture-crop { animation: capture-glow .9s ease-out; }
}
@keyframes capture-appear { from { opacity: .65; } to { opacity: 1; } }
@keyframes capture-glow { 45% { border-color: #38b8d2; box-shadow: 0 0 22px #21a4c322; } }
@media (max-width:760px) {
  .capture-stage { aspect-ratio: 1.12; }
  .capture-caption { flex-direction: column; min-height: 77px; gap: 0; }
  .capture-caption a { align-items: center; padding: 0; }
  .capture-caption p { font-size: 12px; }
  .capture-step { margin-bottom: 10px; }
  .capture-link { margin-top: 8px; }
  .capture-dialog { width: calc(100vw - 16px); max-height: calc(100dvh - 16px); }
  .capture-dialog__head { padding: 12px; }
  .capture-dialog__body { padding: 4px; }
}
@media (max-width:380px) {
  .capture-app .demo-windowbar small { flex-basis: 100%; margin-left: 28px; font-size: 9px; }
  .capture-app .demo-controls button { padding-inline: 6px; font-size: 11px; }
  .capture-app .demo-foot > span { font-size: 10px; }
}
