/* ============================================================================
   橙谷家官网 · 全站唯一样式源（Web 端品牌视觉真源）
   ----------------------------------------------------------------------------
   本文件是全站唯一的样式来源，任何页面不得再内联 <style>。
   品牌色值口径与《docs/品牌视觉规范.md》一致，如与文档冲突以本文件为准。
   改动本文件后需执行 npm run build:web 重新生成页面（页面本身不存样式）。
   ========================================================================== */

/* ---------- 1. 设计令牌 ---------- */
:root {
  /* 品牌主色阶（与小程序 app.wxss 同源同值） */
  --brand: #F57C1F;
  --brand-2: #E5630F;
  --brand-deep: #D9660F;
  --brand-dark: #C2550C;
  --brand-light: #FFF3E8;
  --brand-grad: linear-gradient(135deg, #FFA043 0%, #F57C1F 55%, #E85D0A 100%);

  /* 功能色 */
  --green: #22A55D;
  --red: #E5484D;
  --warn: #E8980F;
  --info: #3B82F6;

  /* 中性色 */
  --text: #1F2329;
  --text-2: #5A6068;
  --text-3: #8A9099;
  --bg: #FFF8F0;
  --bg-2: #F6F7F9;
  --card: #FFFFFF;
  --line: #F0E2D4;
  --line-2: #E9EBEF;

  /* 尺寸 */
  --radius: 20px;
  --radius-sm: 14px;
  --radius-lg: 28px;
  --shadow: 0 10px 30px rgba(245, 124, 31, .10);
  --shadow-lg: 0 18px 44px rgba(31, 35, 41, .10);
  --bar-h: 62px;
  --wrap: 1180px;
}

/* ---------- 2. 基础与排版 ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Helvetica, Arial, sans-serif;
  background: var(--bg); color: var(--text); line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  /* 为底部固定栏预留空间（含 iPhone 安全区） */
  padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom, 0px) + 8px);
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { line-height: 1.35; font-weight: 800; }
h1 { font-size: clamp(28px, 4.6vw, 44px); letter-spacing: .5px; }
h2 { font-size: clamp(21px, 3.2vw, 30px); }
h3 { font-size: 18px; }
strong { font-weight: 700; }

/* ---------- 3. 布局 ---------- */
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
section { padding: 68px 0; }
section.tight { padding: 26px 0; }
.bg-white { background: #fff; }
.bg-soft { background: var(--bg-2); }
.sec-head { text-align: center; margin-bottom: 42px; }
.sec-head h2 { margin-bottom: 10px; }
.sec-head p { color: var(--text-2); font-size: 15px; max-width: 720px; margin: 0 auto; }
.sec-head.left { text-align: left; }
.sec-head.left p { margin: 0; }
.sec-foot { text-align: center; margin-top: 34px; }

.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 46px; align-items: center; }
.split.rev { grid-template-columns: .95fr 1.05fr; }

/* ---------- 4. 按钮 / 标签 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 700; font-size: 16px; padding: 14px 30px; border-radius: 999px;
  transition: transform .2s, box-shadow .2s, border-color .2s, color .2s;
  cursor: pointer; white-space: nowrap;
}
.btn-primary { background: var(--brand-grad); color: #fff; box-shadow: 0 12px 26px rgba(245, 124, 31, .25); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(245, 124, 31, .32); }
.btn-ghost { background: #fff; border: 1px solid var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-line { background: transparent; border: 1px solid var(--brand); color: var(--brand); }
.btn-line:hover { background: var(--brand-light); }
.btn-sm { font-size: 14px; padding: 9px 18px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none !important; }

.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  background: #fff; border: 1px solid var(--line); border-radius: 999px; font-size: 13px;
  color: var(--text-2); padding: 7px 14px; display: inline-flex; align-items: center; gap: 7px;
}
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); flex: none; }
.pill.orange::before { background: var(--brand); }

.tag {
  display: inline-block; font-size: 11px; font-weight: 700; color: var(--brand-deep);
  background: #FFF1E3; border-radius: 999px; padding: 3px 10px; letter-spacing: .3px;
}
.tag.green { color: var(--green); background: #E8F7EF; }
.tag.grey { color: var(--text-3); background: var(--bg-2); }
.badge-live { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: #fff; background: var(--red); border-radius: 999px; padding: 4px 12px; }
.badge-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: blink 1.4s ease-in-out infinite; }
@keyframes blink { 0%, 100% { opacity: 1 } 50% { opacity: .25 } }

/* ---------- 5. 顶栏 ---------- */
.header { position: sticky; top: 0; z-index: 60; background: rgba(255, 248, 240, .88); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; flex: none; }
.logo img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; background: #fff; }
.logo span small { display: block; font-size: 11px; color: var(--text-2); font-weight: 400; line-height: 1.25; }
.nav { display: flex; align-items: center; gap: 4px; font-size: 14px; color: var(--text-2); flex-wrap: wrap; }
.nav > a, .nav-item > button {
  padding: 8px 12px; border-radius: 10px; display: inline-flex; align-items: center; gap: 5px;
  transition: background .2s, color .2s;
}
.nav > a:hover, .nav-item > button:hover, .nav a[aria-current="page"] { color: var(--brand); background: var(--brand-light); }
.nav-item { position: relative; }
.nav-item > button::after { content: ""; width: 5px; height: 5px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-1px); opacity: .6; }
.nav-drop {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 190px; background: #fff;
  border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: all .22s; z-index: 70;
}
.nav-item:hover .nav-drop, .nav-item:focus-within .nav-drop { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-drop a { display: block; padding: 9px 12px; border-radius: 10px; font-size: 14px; color: var(--text-2); }
.nav-drop a:hover { background: var(--brand-light); color: var(--brand); }
.header-cta { flex: none; }
.burger { display: none; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: #fff; align-items: center; justify-content: center; }
.burger span { display: block; width: 18px; height: 2px; background: var(--text); border-radius: 2px; position: relative; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--text); border-radius: 2px; }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }

/* 移动端抽屉 */
.drawer-mask { position: fixed; inset: 0; background: rgba(31, 35, 41, .45); opacity: 0; visibility: hidden; transition: all .25s; z-index: 90; }
.drawer-mask.on { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(320px, 84vw); background: #fff; z-index: 91;
  transform: translateX(100%); transition: transform .28s cubic-bezier(.22, .8, .3, 1);
  padding: 18px 18px calc(var(--bar-h) + 24px); overflow-y: auto;
}
.drawer.on { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.drawer-close { width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line); font-size: 18px; color: var(--text-2); }
.drawer nav { display: grid; gap: 4px; }
.drawer nav a { padding: 12px 14px; border-radius: 12px; font-size: 15px; color: var(--text); border: 1px solid transparent; }
.drawer nav a:hover, .drawer nav a[aria-current="page"] { background: var(--brand-light); color: var(--brand); border-color: #F6DFC8; }
.drawer .drawer-group { font-size: 12px; color: var(--text-3); padding: 14px 14px 6px; }

/* ---------- 6. 首页 Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 0; background: radial-gradient(1200px 520px at 88% -12%, rgba(245, 124, 31, .18), transparent 62%), radial-gradient(900px 440px at -12% 112%, rgba(245, 124, 31, .12), transparent 62%); }
.hero-in { display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: center; padding: 74px 20px 66px; max-width: var(--wrap); margin: 0 auto; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); color: var(--brand-deep); font-size: 13px; font-weight: 600; padding: 6px 14px; border-radius: 999px; margin-bottom: 20px; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px rgba(245, 124, 31, .18); }
.hero h1 em { font-style: normal; background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { font-size: 17px; color: var(--text-2); margin: 16px 0 22px; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 26px; }
.hero-media { position: relative; }
.hero-media > img { width: 100%; border-radius: 26px; box-shadow: var(--shadow); aspect-ratio: 4 / 3.05; object-fit: cover; background: #fff; }
.float-chip { position: absolute; background: #fff; border-radius: 14px; box-shadow: 0 12px 30px rgba(31, 35, 41, .10); padding: 10px 14px; font-size: 12px; color: var(--text-2); display: flex; align-items: center; gap: 8px; animation: float 4.5s ease-in-out infinite; }
.float-chip b { color: var(--text); font-size: 13px; }
.chip-1 { top: 16px; left: -14px; }
.chip-2 { bottom: 18px; right: -10px; animation-delay: 1.6s; }
.chip-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green); flex: none; }
@keyframes float { 0%, 100% { transform: translateY(0) } 50% { transform: translateY(-8px) } }

/* ---------- 7. 内页页头 ---------- */
.page-hero { background: linear-gradient(180deg, #FFF3E4 0%, var(--bg) 100%); border-bottom: 1px solid var(--line); padding: 44px 0 40px; }
.page-hero h1 { font-size: clamp(24px, 3.6vw, 36px); margin-bottom: 12px; }
.page-hero .lead { color: var(--text-2); font-size: 16px; max-width: 780px; }
.crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: var(--text-3); margin-bottom: 16px; }
.crumb a:hover { color: var(--brand); }
.crumb i { font-style: normal; opacity: .5; }

/* ---------- 8. 卡片 ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card.hover { transition: transform .25s, box-shadow .25s, border-color .25s; }
.card.hover:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(245, 124, 31, .14); border-color: #F5D9BC; }
.card-flat { background: var(--card); border: 1px solid var(--line-2); border-radius: var(--radius-sm); padding: 20px; }

.ico { width: 46px; height: 46px; border-radius: 14px; background: linear-gradient(135deg, #FFF3E6, #FFE4C7); display: flex; align-items: center; justify-content: center; flex: none; }
.ico svg { width: 24px; height: 24px; }
.card h3 { margin: 14px 0 8px; }
.card p { color: var(--text-2); font-size: 14px; }
.card .links { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 14px; font-size: 14px; font-weight: 600; color: var(--brand); }
.card .links a:hover { text-decoration: underline; }

/* 产品卡（带图） */
.pcard { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.pcard:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(245, 124, 31, .14); }
.pcard-img { aspect-ratio: 4 / 3; background: var(--brand-light); object-fit: cover; width: 100%; }
.pcard-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.pcard-body h3 { font-size: 17px; margin: 8px 0 6px; }
.pcard-body .desc { font-size: 13px; color: var(--text-2); flex: 1; }
.pcard-foot { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line); display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.price { font-weight: 800; color: var(--brand-deep); font-size: 18px; }
.price small { font-size: 12px; color: var(--text-3); font-weight: 400; margin-left: 4px; }

/* ---------- 9. 数据 / 信任条 ---------- */
.stat-line { display: flex; flex-wrap: wrap; gap: 12px; }
.stat { flex: 1; min-width: 128px; background: var(--bg); border-radius: 14px; padding: 13px 15px; }
.stat b { display: block; font-size: 17px; color: var(--brand-deep); }
.stat span { font-size: 12px; color: var(--text-2); }
.trust { background: var(--brand-grad); border-radius: var(--radius-lg); display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; color: #fff; padding: 34px 22px; text-align: center; }
.trust b { display: block; font-size: 16px; margin-bottom: 2px; }
.trust span { font-size: 12px; opacity: .92; }

/* ---------- 10. 步骤 / 时间轴 ---------- */
.steps { display: grid; gap: 16px; }
.steps.c3 { grid-template-columns: repeat(3, 1fr); }
.steps.c4 { grid-template-columns: repeat(4, 1fr); }
.steps.c5 { grid-template-columns: repeat(5, 1fr); }
.step { background: var(--bg); border-radius: 16px; padding: 18px 16px; position: relative; }
.step .n { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: var(--brand-grad); color: #fff; font-size: 13px; font-weight: 700; margin-bottom: 8px; }
.step b { display: block; color: var(--text); font-size: 15px; margin-bottom: 4px; }
.step span { font-size: 13px; color: var(--text-2); }

.timeline { position: relative; padding-left: 26px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(180deg, var(--brand), #F8D9BB); border-radius: 2px; }
.tl-item { position: relative; padding-bottom: 26px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before { content: ""; position: absolute; left: -26px; top: 7px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--brand); }
.tl-item h3 { font-size: 16px; margin-bottom: 6px; }
.tl-item p { color: var(--text-2); font-size: 14px; }
.tl-item .when { font-size: 12px; color: var(--brand-deep); font-weight: 700; background: var(--brand-light); border-radius: 999px; padding: 2px 10px; display: inline-block; margin-bottom: 8px; }

/* ---------- 11. 表格 ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 560px; }
th, td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line-2); vertical-align: top; }
th { background: var(--brand-light); color: var(--brand-deep); font-weight: 700; font-size: 13px; white-space: nowrap; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: #FFFCF8; }
td strong { color: var(--text); }

/* ---------- 12. 折叠问答 ---------- */
.faq-list { display: grid; gap: 12px; }
details { background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; transition: border-color .2s; }
details[open] { border-color: #F5C89E; }
summary { list-style: none; cursor: pointer; padding: 16px 48px 16px 18px; position: relative; font-weight: 600; font-size: 15px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 20px; color: var(--brand); font-weight: 400; transition: transform .25s; }
details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
details .a { padding: 0 18px 16px; color: var(--text-2); font-size: 14px; }
details .a p + p { margin-top: 8px; }

.faq-group { margin-bottom: 34px; }
.faq-group > h2 { font-size: 20px; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.faq-group > h2::before { content: ""; width: 4px; height: 18px; border-radius: 2px; background: var(--brand-grad); }
.toc { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.toc a { font-size: 13px; padding: 7px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--text-2); }
.toc a:hover { border-color: var(--brand); color: var(--brand); }

/* ---------- 12.5 行动号召卡（各页底部统一 CTA） ---------- */
.promo {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(26px, 4vw, 46px) clamp(18px, 3vw, 34px); text-align: center; box-shadow: var(--shadow);
}
.promo h2 { margin-bottom: 8px; }
.promo > p { color: var(--text-2); max-width: 660px; margin: 0 auto; font-size: 15px; }
.promo .steps { text-align: left; }
.promo .notice { text-align: left; }

/* ---------- 13. 提示块 ---------- */
.notice { border-radius: var(--radius-sm); padding: 16px 18px; font-size: 14px; background: var(--brand-light); border: 1px solid #F6DFC8; color: var(--text-2); }
.notice b { color: var(--brand-deep); }
.notice.grey { background: var(--bg-2); border-color: var(--line-2); }
.notice.grey b { color: var(--text); }
.notice.red { background: #FEF1F1; border-color: #F8D6D7; }
.notice.red b { color: var(--red); }
.notice + .notice { margin-top: 12px; }
.notice ul { margin: 8px 0 0 18px; list-style: disc; }
.notice li { margin-bottom: 4px; }

/* ---------- 14. 富文本（协议 / 政策） ---------- */
.prose { max-width: 880px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 4vw, 46px); }
.prose h2 { font-size: 19px; margin: 30px 0 12px; padding-left: 12px; border-left: 4px solid var(--brand); }
.prose h2:first-of-type { margin-top: 0; }
.prose h3 { font-size: 16px; margin: 20px 0 8px; }
.prose p, .prose li { color: var(--text-2); font-size: 14.5px; margin-bottom: 8px; }
.prose ol { list-style: decimal; padding-left: 22px; }
.prose ul { list-style: disc; padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose strong { color: var(--text); }
.prose .meta { font-size: 13px; color: var(--text-3); padding-bottom: 18px; margin-bottom: 22px; border-bottom: 1px dashed var(--line); }
.prose .meta b { color: var(--brand-deep); }

/* ---------- 14.5 扫码区（全站常驻；白底卡片保证微信识别对比度） ---------- */
.qr-sec { background: var(--bg-2); border-top: 1px solid var(--line); }
.qr-sec h2 { margin-bottom: 10px; }
.qr-lead { color: var(--text-2); font-size: 15px; max-width: 620px; margin: 0 auto 30px; }
.qr-pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 220px)); justify-content: center; gap: 20px; }
.qr-card { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 18px 18px 20px; text-align: center; box-shadow: var(--shadow); }
/* 二维码本体不做圆角裁切（会切掉定位角导致扫不出），白边由卡片 padding 提供 */
.qr-card img { display: block; width: 100%; max-width: 200px; height: auto; aspect-ratio: 1 / 1; object-fit: contain; margin: 0 auto 14px; background: #fff; border-radius: 0; }
.qr-card figcaption b { display: block; font-size: 15px; color: var(--text); margin-bottom: 4px; }
.qr-card figcaption span { font-size: 12.5px; color: var(--text-3); }
.qr-hint { margin-top: 22px; font-size: 13px; color: var(--text-3); }
@media (max-width: 620px) {
  .qr-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .qr-card { padding: 12px 10px 14px; border-radius: 16px; }
  .qr-card figcaption span { display: none; }
}

/* ---------- 15. 页脚 ---------- */
footer { background: #2B2320; color: #CFC6BF; padding: 48px 0 34px; margin-top: 24px; }
.foot-in { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 30px; }
footer h4 { color: #fff; font-size: 14px; margin-bottom: 14px; }
footer p, footer li { font-size: 13px; line-height: 2.05; }
footer a:hover { color: #fff; }
.foot-brand { font-size: 20px; color: #fff; font-weight: 800; margin-bottom: 8px; }
.foot-tree { display: grid; gap: 8px; }
.foot-tree a { display: inline-block; }
.copyright { text-align: center; font-size: 12px; color: #8C817B; margin-top: 36px; border-top: 1px solid rgba(255, 255, 255, .08); padding-top: 18px; line-height: 2; }
.copyright a:hover { color: #CFC6BF; }

/* ---------- 16. 底部固定栏（4 入口） ---------- */
.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
  background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  padding: 8px 0 calc(8px + env(safe-area-inset-bottom, 0px));
}
.action-bar-in { max-width: 720px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); }
.action-item { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 4px 2px; font-size: 12px; color: var(--text-2); border-radius: 12px; transition: background .2s, color .2s; }
.action-item:hover { background: var(--brand-light); color: var(--brand); }
.action-item svg { width: 22px; height: 22px; }
.action-item.is-primary { color: var(--brand); font-weight: 700; }

/* ---------- 17. 二维码 / 信息弹层 ---------- */
.modal-mask { position: fixed; inset: 0; background: rgba(31, 35, 41, .5); z-index: 95; opacity: 0; visibility: hidden; transition: all .25s; display: flex; align-items: flex-end; justify-content: center; padding: 0; }
.modal-mask.on { opacity: 1; visibility: visible; }
.modal {
  background: #fff; border-radius: 22px 22px 0 0; width: 100%; max-width: 460px;
  padding: 26px 22px calc(26px + env(safe-area-inset-bottom, 0px));
  transform: translateY(24px); transition: transform .28s cubic-bezier(.22, .8, .3, 1); text-align: center;
}
.modal-mask.on .modal { transform: translateY(0); }
.modal h3 { font-size: 18px; margin-bottom: 6px; }
.modal .sub { font-size: 13px; color: var(--text-2); margin-bottom: 18px; }
.modal .qr { width: 208px; height: 208px; margin: 0 auto 14px; border-radius: 16px; object-fit: contain; background: #fff; }
.qr-missing {
  width: 208px; height: 208px; margin: 0 auto 14px; border-radius: 16px;
  border: 1.5px dashed #E3D3C2; background: var(--brand-light); color: var(--brand-deep);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 14px; text-align: center;
}
.qr-missing b { font-size: 13px; }
.qr-missing span { font-size: 11px; color: var(--text-3); line-height: 1.6; }
.modal .tip { font-size: 12.5px; color: var(--text-3); margin-bottom: 18px; line-height: 1.8; }
.modal .modal-actions { display: grid; gap: 10px; }
.modal-close { position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; border-radius: 50%; color: var(--text-3); font-size: 18px; display: none; }
.copy-row { display: flex; align-items: center; gap: 8px; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 12px; padding: 9px 12px; font-size: 13px; color: var(--text-2); margin-bottom: 16px; }
.copy-row span { flex: 1; text-align: left; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.copy-row button { font-size: 12px; font-weight: 700; color: var(--brand); flex: none; }

/* ---------- 18. 回到顶部 ---------- */
.to-top {
  position: fixed; right: 16px; bottom: calc(var(--bar-h) + env(safe-area-inset-bottom, 0px) + 16px);
  width: 44px; height: 44px; border-radius: 50%; background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow); display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: all .25s; z-index: 79; color: var(--text-2);
}
.to-top.on { opacity: 1; visibility: visible; }
.to-top:hover { color: var(--brand); border-color: var(--brand); }

/* ---------- 19. 404 ---------- */
.err-wrap { text-align: center; padding: 96px 20px 110px; }
.err-code { font-size: clamp(64px, 16vw, 130px); font-weight: 800; line-height: 1; background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.err-wrap p { color: var(--text-2); margin: 14px 0 26px; }

/* ---------- 20. 工具类 ---------- */
.mt0 { margin-top: 0 !important; } .mt8 { margin-top: 8px; } .mt16 { margin-top: 16px; }
.mt24 { margin-top: 24px; } .mt32 { margin-top: 32px; } .mt40 { margin-top: 40px; }
.mb0 { margin-bottom: 0 !important; } .mb8 { margin-bottom: 8px; } .mb16 { margin-bottom: 16px; }
.mb24 { margin-bottom: 24px; } .mb32 { margin-bottom: 32px; }
.tc { text-align: center; } .muted { color: var(--text-2); } .tiny { font-size: 12.5px; color: var(--text-3); }
.anchor { display: block; position: relative; top: -84px; visibility: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* 带勾要点列表 */
.ticks { display: grid; gap: 8px; margin-top: 14px; }
.ticks li { position: relative; padding-left: 24px; font-size: 14px; color: var(--text-2); }
.ticks li::before {
  content: ""; position: absolute; left: 2px; top: 7px; width: 12px; height: 7px;
  border-left: 2px solid var(--green); border-bottom: 2px solid var(--green);
  transform: rotate(-45deg);
}

/* ---------- 21. 响应式 ---------- */
@media (max-width: 980px) {
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .g3 { grid-template-columns: repeat(2, 1fr); }
  .steps.c4, .steps.c5 { grid-template-columns: repeat(2, 1fr); }
  .foot-in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 880px) {
  .nav, .header-cta { display: none; }
  .burger { display: inline-flex; }
  .hero-in { grid-template-columns: 1fr; padding: 44px 20px 40px; gap: 34px; }
  .hero-media { order: -1; }
  .chip-1 { left: 10px; } .chip-2 { right: 8px; }
  .split, .split.rev { grid-template-columns: 1fr; gap: 30px; }
  section { padding: 50px 0; }
  .trust { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .modal-mask { align-items: flex-end; }
}
@media (max-width: 620px) {
  .g2, .g3, .g4 { grid-template-columns: 1fr; }
  .steps.c3, .steps.c4, .steps.c5 { grid-template-columns: 1fr; }
  .foot-in { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1; }
}
@media (min-width: 881px) {
  .drawer, .drawer-mask { display: none; }
  .modal-mask { align-items: center; padding: 20px; }
  .modal { border-radius: 22px; max-width: 420px; }
  .modal-close { display: block; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
