/* =====================================================================
   车拉拉 · 同城物流运输撮合交易平台 — 官网样式表
   佛山车拉科技有限公司  |  品牌墨绿 #005645 / 品牌金 #D3A659
   纯静态 · 无构建 · nginx 直接托管
   ===================================================================== */

/* ---------- 0. 字体 ---------- */
@font-face {
  font-family: "PangMen";
  src: url("../fonts/PangMenZhengDao-Title.ttf") format("truetype");
  font-weight: 400 900;
  font-display: swap;
}

/* ---------- 1. 设计令牌 ---------- */
:root {
  /* 品牌色 */
  --green:        #005645;
  --green-deep:   #003d31;
  --green-darker: #002820;
  --green-700:    #00463a;
  --green-50:     #e9f1ee;
  --green-100:    #d7e6e0;
  --gold:         #d3a659;
  --gold-light:   #e4c489;
  --gold-deep:    #b98a3e;
  --gold-soft:    #f6ecd6;

  /* 中性 */
  --ink:        #15201c;
  --text:       #1a1a1a;
  --muted:      #586a64;
  --muted-2:    #8a9a94;
  --line:       #e6ebe9;
  --line-2:     #eef2f0;
  --bg:         #ffffff;
  --bg-soft:    #f4f7f5;
  --bg-mint:    #eaf2ee;

  /* 排版 */
  --font-sans: "HarmonyOS Sans SC", "HarmonyOS Sans", "PingFang SC",
               "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "PangMen", "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;

  /* 间距尺度 */
  --container: 1200px;
  --gutter: clamp(20px, 5vw, 48px);
  --section-y: clamp(72px, 9vw, 132px);

  /* 圆角 */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  /* 阴影 */
  --sh-sm:  0 2px 8px rgba(0, 40, 32, .06);
  --sh-md:  0 14px 40px rgba(0, 60, 49, .10);
  --sh-lg:  0 30px 80px rgba(0, 60, 49, .16);
  --sh-gold: 0 16px 40px rgba(211, 166, 89, .30);

  /* 缓动 */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- 2. 复位与基础 ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
::selection { background: var(--gold); color: var(--green-deep); }

/* ---------- 3. 布局工具 ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); position: relative; }
.section--soft { background: var(--bg-soft); }
.section--mint { background: linear-gradient(180deg, #fff 0%, var(--bg-mint) 100%); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: 2px;
  color: var(--green); text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--gold); border-radius: 2px; }
.eyebrow--center { justify-content: center; }

.section-head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.18;
  color: var(--ink);
  margin-top: 16px;
  letter-spacing: .5px;
}
.section-head h2 .accent { color: var(--green); }
.section-head p { margin-top: 16px; color: var(--muted); font-size: clamp(15px, 1.4vw, 17px); }

/* ---------- 4. 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 28px; border-radius: var(--r-pill);
  font-weight: 700; font-size: 15.5px; letter-spacing: .3px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn--gold { background: var(--gold); color: var(--green-deep); box-shadow: 0 10px 24px rgba(211,166,89,.32); }
.btn--gold:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: var(--sh-gold); }
.btn--green { background: var(--green); color: #fff; box-shadow: 0 10px 24px rgba(0,86,69,.22); }
.btn--green:hover { background: var(--green-700); transform: translateY(-2px); box-shadow: 0 16px 34px rgba(0,86,69,.30); }
.btn--ghost { border: 1.5px solid rgba(255,255,255,.45); color: #fff; }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-light); transform: translateY(-2px); }
.btn--outline { border: 1.5px solid var(--line); color: var(--green); background: #fff; }
.btn--outline:hover { border-color: var(--green); transform: translateY(-2px); box-shadow: var(--sh-sm); }
.btn--sm { padding: 10px 20px; font-size: 14px; }

/* ---------- 5. 顶部导航 ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  z-index: 1000; transition: width .1s linear;
}
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 900;
  transition: background .3s var(--ease), box-shadow .3s var(--ease), backdrop-filter .3s;
}
.site-header.is-solid {
  background: rgba(0, 61, 49, .92);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 6px 30px rgba(0, 0, 0, .18);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.nav__logo img { height: 34px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 34px; }
.nav__links a {
  position: relative; color: rgba(255,255,255,.86); font-size: 15px; font-weight: 500;
  transition: color .2s; padding: 6px 0;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px;
  background: var(--gold); border-radius: 2px; transition: width .3s var(--ease);
}
.nav__links a:hover, .nav__links a.is-active { color: #fff; }
.nav__links a:hover::after, .nav__links a.is-active::after { width: 100%; }
.nav__actions { display: flex; align-items: center; gap: 14px; }
.nav__toggle { display: none; width: 44px; height: 44px; border-radius: 12px; align-items: center; justify-content: center; }
.nav__toggle span { display: block; width: 22px; height: 2px; background: #fff; position: relative; transition: .3s var(--ease); }
.nav__toggle span::before, .nav__toggle span::after { content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: #fff; transition: .3s var(--ease); }
.nav__toggle span::before { top: -7px; } .nav__toggle span::after { top: 7px; }
.nav__toggle.is-open span { background: transparent; }
.nav__toggle.is-open span::before { top: 0; transform: rotate(45deg); }
.nav__toggle.is-open span::after { top: 0; transform: rotate(-45deg); }

/* 移动端抽屉 */
.mobile-menu {
  position: fixed; inset: 76px 0 auto 0; z-index: 890;
  background: var(--green-deep); padding: 16px var(--gutter) 28px;
  transform: translateY(-12px); opacity: 0; pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
  box-shadow: 0 20px 40px rgba(0,0,0,.25);
}
.mobile-menu.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.mobile-menu a { display: block; padding: 14px 6px; color: rgba(255,255,255,.9); font-size: 16px; border-bottom: 1px solid rgba(255,255,255,.08); }
.mobile-menu a:last-of-type { border-bottom: none; }
.mobile-menu .btn { width: 100%; margin-top: 16px; }

/* ---------- 6. 首屏 Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  padding-top: clamp(120px, 16vh, 168px); padding-bottom: clamp(80px, 12vh, 128px);
  background:
    radial-gradient(900px 520px at 86% -8%, rgba(211,166,89,.22), transparent 62%),
    radial-gradient(700px 600px at 8% 110%, rgba(211,166,89,.10), transparent 60%),
    linear-gradient(155deg, #00604c 0%, var(--green) 36%, var(--green-deep) 100%);
}
.hero__grain {
  position: absolute; inset: 0; opacity: .5; pointer-events: none; mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}
.hero__lines { position: absolute; inset: 0; pointer-events: none; opacity: .5; }
.hero__glow {
  position: absolute; width: 460px; height: 460px; right: -120px; top: 40px;
  border: 1.5px solid rgba(211,166,89,.22); border-radius: 46px;
  transform: rotate(22deg); pointer-events: none;
}
.hero__glow::after {
  content: ""; position: absolute; inset: 26px; border: 1px solid rgba(211,166,89,.14); border-radius: 36px;
}
.hero .container { position: relative; z-index: 2; }
.hero__grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 72px); align-items: center; }

.hero__badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(211,166,89,.14); border: 1px solid rgba(211,166,89,.34);
  color: var(--gold-light); padding: 7px 16px; border-radius: var(--r-pill);
  font-size: 13.5px; font-weight: 600; letter-spacing: .5px; margin-bottom: 26px;
}
.hero__badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(211,166,89,.22); }
.hero h1 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(34px, 5.4vw, 62px); line-height: 1.16; letter-spacing: 1px;
}
.hero h1 .hl { color: var(--gold); }
.hero h1 .sub-brand { display: block; font-size: .42em; letter-spacing: 6px; color: var(--gold-light); font-weight: 500; margin-bottom: 10px; opacity: .9; }
.hero__lead { margin-top: 24px; max-width: 540px; font-size: clamp(15px, 1.5vw, 18px); color: rgba(229,239,236,.92); line-height: 1.8; }
.hero__cta { margin-top: 36px; display: flex; gap: 16px; flex-wrap: wrap; }

.hero__stats { margin-top: 52px; display: flex; gap: clamp(28px, 5vw, 56px); flex-wrap: wrap; }
.hero__stats .stat { position: relative; }
.hero__stats .stat + .stat::before { content: ""; position: absolute; left: -28px; top: 6px; bottom: 6px; width: 1px; background: rgba(255,255,255,.16); }
.stat__num { font-family: var(--font-display); font-size: clamp(28px, 3.4vw, 38px); font-weight: 800; color: var(--gold); line-height: 1; }
.stat__num .unit { font-size: .5em; margin-left: 3px; }
.stat__label { margin-top: 8px; font-size: 13.5px; color: rgba(207,224,219,.85); }

/* Hero 右侧合成场景 */
.hero__scene { position: relative; min-height: 480px; display: flex; justify-content: center; align-items: center; }

/* ---------- 7. 设备模型（手机 / 看板）---------- */
.device-phone {
  position: relative; width: 268px; aspect-ratio: 268 / 552;
  background: #0e1714; border-radius: 38px; padding: 12px;
  box-shadow: var(--sh-lg), 0 0 0 1px rgba(255,255,255,.04) inset;
}
.device-phone::before {
  content: ""; position: absolute; top: 16px; left: 50%; transform: translateX(-50%);
  width: 92px; height: 22px; background: #0e1714; border-radius: 0 0 14px 14px; z-index: 5;
}
.device-phone__screen {
  width: 100%; height: 100%; border-radius: 28px; overflow: hidden;
  background: var(--bg-soft); position: relative; display: flex; flex-direction: column;
}

/* 手机内通用元素 */
.scr-statusbar { height: 38px; display: flex; align-items: flex-end; justify-content: space-between; padding: 0 18px 6px; font-size: 11px; font-weight: 600; color: #fff; }
.scr-header {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-deep) 100%);
  color: #fff; padding: 4px 16px 16px;
}
.scr-header.is-tall { padding-bottom: 22px; }
.scr-title { font-size: 15px; font-weight: 700; }
.scr-sub { font-size: 11px; color: rgba(255,255,255,.72); margin-top: 2px; }
.scr-body { flex: 1; padding: 14px 13px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; background: var(--bg-soft); }
.scr-tabbar { height: 52px; background: #fff; border-top: 1px solid var(--line); display: flex; justify-content: space-around; align-items: center; }
.scr-tabbar .ti { width: 22px; height: 22px; border-radius: 7px; background: var(--line); }
.scr-tabbar .ti.on { background: var(--green); }

/* 卡片：抢单/订单 */
.mini-card { background: #fff; border-radius: 12px; padding: 12px; box-shadow: var(--sh-sm); border: 1px solid var(--line-2); }
.mini-card.is-hot { border: 1px solid rgba(211,166,89,.5); box-shadow: 0 8px 20px rgba(211,166,89,.18); }
.mc-top { display: flex; align-items: center; justify-content: space-between; }
.mc-tag { font-size: 9.5px; font-weight: 700; padding: 2px 7px; border-radius: 5px; }
.mc-tag.green { background: var(--green-50); color: var(--green); }
.mc-tag.gold { background: var(--gold-soft); color: var(--gold-deep); }
.mc-price { font-size: 17px; font-weight: 800; color: var(--green); font-family: var(--font-display); }
.mc-price .y { font-size: 11px; }
.mc-route { margin-top: 9px; display: flex; flex-direction: column; gap: 7px; }
.mc-stop { display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--text); }
.mc-stop .pin { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.mc-stop .pin.from { background: var(--green); }
.mc-stop .pin.to { background: var(--gold); }
.mc-stop .line { width: 1px; height: 12px; margin-left: 3.5px; border-left: 1px dashed var(--muted-2); }
.mc-meta { margin-top: 10px; padding-top: 9px; border-top: 1px solid var(--line-2); display: flex; justify-content: space-between; font-size: 10px; color: var(--muted); }
.mc-btn { margin-top: 10px; height: 30px; border-radius: 8px; background: var(--green); color: #fff; font-size: 11.5px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.mc-btn.gold { background: var(--gold); color: var(--green-deep); }

/* 地图占位（手机内/卡内） */
.mini-map { position: relative; border-radius: 12px; overflow: hidden; background:
    linear-gradient(135deg, #dfeae5, #eef4f1);
  border: 1px solid var(--line-2); }
.mini-map::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,86,69,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,86,69,.06) 1px, transparent 1px);
  background-size: 22px 22px;
}
.mini-map .route { position: absolute; inset: 0; }
.mini-map .route path { stroke: var(--green); stroke-width: 2.5; fill: none; stroke-dasharray: 4 4; }
.mini-map .mk { position: absolute; width: 12px; height: 12px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); box-shadow: 0 2px 6px rgba(0,0,0,.2); }
.mini-map .mk.a { background: var(--green); left: 22%; top: 64%; }
.mini-map .mk.b { background: var(--gold); right: 20%; top: 26%; }
.mini-map .truck { position: absolute; left: 50%; top: 46%; width: 18px; height: 18px; background: #fff; border: 2px solid var(--green); border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 10px rgba(0,86,69,.25); }

/* 履约进度条 */
.scr-steps { display: flex; flex-direction: column; gap: 0; }
.scr-step { display: flex; gap: 10px; }
.scr-step .rail { display: flex; flex-direction: column; align-items: center; }
.scr-step .node { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--line); background: #fff; flex-shrink: 0; }
.scr-step .bar { width: 2px; flex: 1; background: var(--line); min-height: 18px; }
.scr-step.done .node { background: var(--green); border-color: var(--green); }
.scr-step.done .bar { background: var(--green); }
.scr-step.active .node { border-color: var(--gold); background: var(--gold); box-shadow: 0 0 0 4px rgba(211,166,89,.22); }
.scr-step .txt { font-size: 11px; padding-bottom: 14px; }
.scr-step .txt b { display: block; font-size: 12px; color: var(--text); }
.scr-step .txt span { color: var(--muted-2); font-size: 10px; }

/* 发货表单（货主端） */
.form-row { background: #fff; border-radius: 10px; padding: 11px 12px; display: flex; align-items: center; gap: 10px; box-shadow: var(--sh-sm); }
.form-row .ic { width: 26px; height: 26px; border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.form-row .ic.g { background: var(--green-50); } .form-row .ic.d { background: var(--gold-soft); }
.form-row .ic svg { width: 14px; height: 14px; }
.form-row .ff b { font-size: 12px; color: var(--text); display: block; }
.form-row .ff span { font-size: 10px; color: var(--muted-2); }
.veh-row { display: flex; gap: 7px; }
.veh-chip { flex: 1; background: #fff; border: 1px solid var(--line); border-radius: 9px; padding: 9px 4px; text-align: center; font-size: 10px; color: var(--muted); }
.veh-chip.on { border-color: var(--green); background: var(--green-50); color: var(--green); font-weight: 700; }
.veh-chip .vi { width: 24px; height: 16px; margin: 0 auto 4px; border-radius: 3px; background: currentColor; opacity: .85; }

/* 看板（运营后台） */
.device-dash {
  width: 100%; max-width: 560px; border-radius: 16px; overflow: hidden;
  background: #fff; box-shadow: var(--sh-lg); border: 1px solid var(--line);
}
.dash-bar { height: 38px; background: var(--green-deep); display: flex; align-items: center; gap: 7px; padding: 0 14px; }
.dash-bar .dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.3); }
.dash-bar .dot.r { background: #ff6b5e; } .dash-bar .dot.y { background: #ffce56; } .dash-bar .dot.g { background: #5ed99a; }
.dash-bar .url { margin-left: 10px; height: 18px; flex: 1; max-width: 220px; background: rgba(255,255,255,.10); border-radius: 6px; }
.dash-body { display: flex; min-height: 320px; }
.dash-side { width: 64px; background: var(--green); padding: 14px 0; display: flex; flex-direction: column; gap: 6px; align-items: center; }
.dash-side .si { width: 34px; height: 30px; border-radius: 8px; background: rgba(255,255,255,.12); }
.dash-side .si.on { background: var(--gold); }
.dash-main { flex: 1; padding: 16px; background: var(--bg-soft); }
.dash-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kpi { background: #fff; border-radius: 11px; padding: 12px; box-shadow: var(--sh-sm); }
.kpi .k { font-size: 10px; color: var(--muted); }
.kpi .v { font-size: 20px; font-weight: 800; color: var(--green); font-family: var(--font-display); margin-top: 3px; }
.kpi .t { font-size: 9.5px; color: var(--gold-deep); margin-top: 2px; }
.dash-lower { display: grid; grid-template-columns: 1.3fr 1fr; gap: 10px; margin-top: 12px; }
.panel { background: #fff; border-radius: 11px; padding: 12px; box-shadow: var(--sh-sm); }
.panel .ph { font-size: 11px; font-weight: 700; color: var(--text); margin-bottom: 10px; display: flex; justify-content: space-between; }
.panel .ph span { font-size: 9px; color: var(--muted-2); font-weight: 500; }
.chart { display: flex; align-items: flex-end; gap: 7px; height: 90px; }
.chart .bar { flex: 1; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, var(--green) 0%, #2a7c69 100%); }
.chart .bar:nth-child(even) { background: linear-gradient(180deg, var(--gold) 0%, var(--gold-light) 100%); }
.rows { display: flex; flex-direction: column; gap: 8px; }
.rows .row { display: flex; align-items: center; gap: 8px; }
.rows .row .av { width: 22px; height: 22px; border-radius: 6px; background: var(--green-50); flex-shrink: 0; }
.rows .row .ln { flex: 1; height: 7px; border-radius: 4px; background: var(--line); }
.rows .row .ln.s { max-width: 60%; }
.rows .row .bdg { width: 30px; height: 14px; border-radius: 4px; background: var(--gold-soft); }

/* 悬浮卡（Hero 场景装饰） */
.float-card {
  position: absolute; background: #fff; border-radius: 14px; padding: 12px 14px;
  box-shadow: var(--sh-md); z-index: 4; color: var(--text);
}
.float-card .fc-row { display: flex; align-items: center; gap: 9px; }
.float-card .fc-ic { width: 32px; height: 32px; border-radius: 9px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.float-card .fc-ic svg { width: 17px; height: 17px; }
.float-card .fc-t { font-size: 12px; font-weight: 700; }
.float-card .fc-s { font-size: 10.5px; color: var(--muted); }
.fc-green { background: var(--green-50); color: var(--green); }
.fc-gold  { background: var(--gold-soft); color: var(--gold-deep); }
.float-card--a { top: 6%; left: -6%; }
.float-card--b { bottom: 10%; right: -8%; }
.float-card--c { bottom: 38%; left: -14%; }

.floaty { animation: floaty 5s var(--ease) infinite; }
.floaty--slow { animation-duration: 7s; }
.floaty--delay { animation-delay: -2.5s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@media (prefers-reduced-motion: reduce) { .floaty { animation: none; } }

/* ---------- 8. 场景关键词条 ---------- */
.scene-strip { border-top: 1px solid rgba(255,255,255,.10); margin-top: clamp(48px, 6vw, 72px); padding-top: 28px; }
.scene-strip__label { font-size: 12.5px; color: rgba(207,224,219,.7); letter-spacing: 1px; margin-bottom: 16px; }
.scene-strip__items { display: flex; flex-wrap: wrap; gap: 12px; }
.scene-chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px;
  border: 1px solid rgba(255,255,255,.16); border-radius: var(--r-pill);
  font-size: 14px; color: rgba(255,255,255,.9); transition: .25s var(--ease);
}
.scene-chip:hover { border-color: var(--gold); color: var(--gold-light); }
.scene-chip .gd { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }

/* ---------- 9. 价值卡（平台简介）---------- */
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.value-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 30px 26px; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  position: relative; overflow: hidden;
}
.value-card::after { content: ""; position: absolute; inset: auto auto 0 0; width: 100%; height: 3px; background: linear-gradient(90deg, var(--green), var(--gold)); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.value-card:hover { transform: translateY(-8px); box-shadow: var(--sh-md); border-color: transparent; }
.value-card:hover::after { transform: scaleX(1); }
.value-card .vc-ic {
  width: 56px; height: 56px; border-radius: 16px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-deep) 100%); margin-bottom: 20px;
  box-shadow: 0 10px 22px rgba(0,86,69,.20);
}
.value-card .vc-ic svg { width: 26px; height: 26px; stroke: var(--gold-light); }
.value-card h3 { font-size: 19px; color: var(--ink); font-weight: 700; }
.value-card p { margin-top: 10px; font-size: 14.5px; color: var(--muted); line-height: 1.75; }

/* ---------- 10. 三端功能（Tab）---------- */
.tabs__nav { display: inline-flex; gap: 6px; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-pill); box-shadow: var(--sh-sm); margin-bottom: 48px; flex-wrap: wrap; }
.tab {
  display: inline-flex; align-items: center; gap: 9px; padding: 11px 24px; border-radius: var(--r-pill);
  font-size: 15px; font-weight: 600; color: var(--muted); transition: .25s var(--ease);
}
.tab .ti { width: 18px; height: 18px; }
.tab .ti svg { width: 18px; height: 18px; stroke: currentColor; }
.tab.is-active { background: var(--green); color: #fff; box-shadow: 0 8px 18px rgba(0,86,69,.22); }
.tab:not(.is-active):hover { color: var(--green); background: var(--green-50); }

.tab-panels { position: relative; }
.tab-panel { display: none; }
.tab-panel.is-active { display: block; animation: fadeUp .5s var(--ease-out); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

.feature-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.feature-split.is-reverse .fs-visual { order: -1; }
.fs-text .eyebrow { margin-bottom: 14px; }
.fs-text h3 { font-family: var(--font-display); font-size: clamp(24px, 3vw, 34px); color: var(--ink); line-height: 1.25; }
.fs-text > p { margin-top: 16px; color: var(--muted); font-size: 16px; max-width: 480px; }
.fs-list { margin-top: 26px; display: grid; gap: 16px; }
.fs-item { display: flex; gap: 14px; align-items: flex-start; }
.fs-item .fi-ic { width: 40px; height: 40px; border-radius: 12px; background: var(--green-50); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: .25s var(--ease); }
.fs-item .fi-ic svg { width: 20px; height: 20px; stroke: var(--green); }
.fs-item:hover .fi-ic { background: var(--green); }
.fs-item:hover .fi-ic svg { stroke: var(--gold-light); }
.fs-item .fi-t { font-size: 16px; font-weight: 700; color: var(--ink); }
.fs-item .fi-d { font-size: 13.5px; color: var(--muted); margin-top: 3px; }

.fs-visual { display: flex; justify-content: center; position: relative; }
.fs-visual--phone { min-height: 540px; align-items: center; }
.fs-visual__halo {
  position: absolute; width: 86%; aspect-ratio: 1; border-radius: 50%; z-index: 0;
  background: radial-gradient(circle, rgba(0,86,69,.10), transparent 70%);
}

/* ---------- 11. 运作流程 ---------- */
.flow {
  position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(800px 400px at 50% -20%, rgba(211,166,89,.16), transparent 60%), linear-gradient(160deg, var(--green) 0%, var(--green-deep) 100%);
}
.flow .section-head h2 { color: #fff; }
.flow .section-head p { color: rgba(207,224,219,.85); }
.flow .eyebrow { color: var(--gold-light); }
.flow-track { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; margin-top: 18px; }
.flow-track::before { content: ""; position: absolute; left: 8%; right: 8%; top: 38px; height: 2px; background: repeating-linear-gradient(90deg, rgba(211,166,89,.5) 0 10px, transparent 10px 20px); }
.flow-step { position: relative; text-align: center; }
.flow-step .fn {
  width: 76px; height: 76px; margin: 0 auto 20px; border-radius: 22px; position: relative; z-index: 2;
  background: linear-gradient(135deg, rgba(211,166,89,.18), rgba(211,166,89,.05));
  border: 1.5px solid rgba(211,166,89,.4);
  display: flex; align-items: center; justify-content: center;
  transition: .3s var(--ease);
}
.flow-step .fn svg { width: 30px; height: 30px; stroke: var(--gold-light); }
.flow-step .fn .idx { position: absolute; top: -8px; right: -8px; width: 24px; height: 24px; border-radius: 50%; background: var(--gold); color: var(--green-deep); font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.flow-step:hover .fn { transform: translateY(-6px); background: var(--gold); border-color: var(--gold); box-shadow: var(--sh-gold); }
.flow-step:hover .fn svg { stroke: var(--green-deep); }
.flow-step h4 { font-size: 17px; font-weight: 700; }
.flow-step p { margin-top: 8px; font-size: 13px; color: rgba(188,208,203,.85); padding-inline: 6px; }

/* ---------- 12. 平台优势 Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(150px, auto); gap: 18px; }
.bento-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px;
  position: relative; overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  display: flex; flex-direction: column;
}
.bento-card:hover { transform: translateY(-6px); box-shadow: var(--sh-md); }
.bento-card .bc-ic { width: 48px; height: 48px; border-radius: 14px; background: var(--green-50); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.bento-card .bc-ic svg { width: 24px; height: 24px; stroke: var(--green); }
.bento-card h3 { font-size: 18px; color: var(--ink); font-weight: 700; }
.bento-card p { margin-top: 9px; font-size: 14px; color: var(--muted); line-height: 1.7; }
.bento-card .bc-badge { margin-top: auto; padding-top: 14px; }
.tag-pill { display: inline-block; font-size: 12px; font-weight: 600; color: var(--gold-deep); background: var(--gold-soft); padding: 4px 12px; border-radius: var(--r-pill); }

.bento-card--wide { grid-column: span 3; }
.bento-card--third { grid-column: span 2; }
.bento-card--feature {
  grid-column: span 3; grid-row: span 2; color: #fff;
  background: radial-gradient(600px 300px at 90% 0%, rgba(211,166,89,.2), transparent 60%), linear-gradient(150deg, var(--green) 0%, var(--green-deep) 100%);
  border: none; justify-content: space-between;
}
.bento-card--feature .bc-ic { background: rgba(211,166,89,.18); }
.bento-card--feature .bc-ic svg { stroke: var(--gold-light); }
.bento-card--feature h3 { color: #fff; font-size: 24px; font-family: var(--font-display); }
.bento-card--feature p { color: rgba(229,239,236,.86); font-size: 15px; }
.bento-card--feature .bf-stats { display: flex; gap: 30px; margin-top: 22px; }
.bento-card--feature .bf-stats .n { font-family: var(--font-display); font-size: 30px; font-weight: 800; color: var(--gold); }
.bento-card--feature .bf-stats .l { font-size: 12px; color: rgba(207,224,219,.8); margin-top: 2px; }

/* ---------- 13. App 下载 ---------- */
.download {
  position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(700px 500px at 12% 20%, rgba(211,166,89,.14), transparent 60%), linear-gradient(150deg, var(--green-deep) 0%, var(--green-darker) 100%);
}
.download .section-head h2 { color: #fff; }
.download .section-head p { color: rgba(207,224,219,.85); }
.download .eyebrow { color: var(--gold-light); }
.dl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.dl-card {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r-xl);
  padding: 34px; display: flex; gap: 26px; align-items: center; backdrop-filter: blur(6px);
  transition: .3s var(--ease);
}
.dl-card:hover { border-color: rgba(211,166,89,.45); background: rgba(255,255,255,.07); transform: translateY(-4px); }
.dl-card__qr {
  width: 132px; height: 132px; border-radius: var(--r-md); flex-shrink: 0; background: #fff; padding: 10px;
  display: flex; align-items: center; justify-content: center; position: relative;
}
.qr-mock { width: 100%; height: 100%; border-radius: 6px;
  background-image:
    linear-gradient(45deg, var(--green-deep) 25%, transparent 25%, transparent 75%, var(--green-deep) 75%),
    linear-gradient(45deg, var(--green-deep) 25%, transparent 25%, transparent 75%, var(--green-deep) 75%);
  background-size: 16px 16px; background-position: 0 0, 8px 8px; opacity: .9; position: relative;
}
.qr-mock::after { content: ""; position: absolute; inset: 38% 38%; background: var(--gold); border-radius: 4px; }
.dl-badge-note { position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 10px; background: var(--gold); color: var(--green-deep); padding: 2px 10px; border-radius: 999px; font-weight: 700; }
.dl-card__info h3 { font-size: 22px; color: #fff; font-weight: 700; }
.dl-card__info h3 .role { color: var(--gold-light); }
.dl-card__info p { margin-top: 8px; font-size: 14px; color: rgba(207,224,219,.85); line-height: 1.7; }
.dl-stores { margin-top: 16px; display: flex; gap: 10px; flex-wrap: wrap; }
.store-btn { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 10px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.14); font-size: 12.5px; color: #fff; transition: .2s; }
.store-btn:hover { background: rgba(255,255,255,.18); }
.store-btn svg { width: 16px; height: 16px; }

/* ---------- 14. 关于我们 ---------- */
.about-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.about-text h2 { font-family: var(--font-display); font-size: clamp(26px, 3.4vw, 40px); color: var(--ink); line-height: 1.2; margin-top: 16px; }
.about-text p { margin-top: 18px; color: var(--muted); font-size: 16px; line-height: 1.85; }
.about-text .brand-name { color: var(--green); font-weight: 700; }
.about-creds { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }
.cred { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--r-pill); font-size: 13px; color: var(--muted); }
.cred svg { width: 16px; height: 16px; stroke: var(--green); }

.about-cards { display: grid; gap: 18px; }
.mvv {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px 28px;
  display: flex; gap: 20px; align-items: flex-start; transition: .3s var(--ease); position: relative; overflow: hidden;
}
.mvv:hover { box-shadow: var(--sh-md); transform: translateX(4px); }
.mvv .mvv-ic { width: 52px; height: 52px; border-radius: 15px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--green), var(--green-deep)); }
.mvv .mvv-ic svg { width: 26px; height: 26px; stroke: var(--gold-light); }
.mvv h4 { font-size: 18px; color: var(--ink); }
.mvv .en { font-size: 11px; letter-spacing: 2px; color: var(--gold-deep); text-transform: uppercase; font-weight: 600; }
.mvv p { margin-top: 6px; font-size: 14px; color: var(--muted); line-height: 1.7; }

/* ---------- 15. 联系我们 ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: stretch; }
.contact-cards { display: grid; gap: 16px; align-content: start; }
.contact-card {
  display: flex; gap: 18px; align-items: center; padding: 24px 26px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); transition: .3s var(--ease);
}
.contact-card:hover { box-shadow: var(--sh-md); transform: translateY(-3px); border-color: transparent; }
.contact-card .cc-ic { width: 56px; height: 56px; border-radius: 16px; background: var(--green-50); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-card .cc-ic svg { width: 26px; height: 26px; stroke: var(--green); }
.contact-card .cc-k { font-size: 13px; color: var(--muted-2); }
.contact-card .cc-v { font-size: 18px; font-weight: 700; color: var(--ink); margin-top: 3px; word-break: break-word; }
.contact-card .cc-v.sm { font-size: 15px; font-weight: 600; line-height: 1.5; }

.contact-map {
  position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 340px;
  border: 1px solid var(--line); background: linear-gradient(135deg, #dfeae5, #eef4f1);
}
.contact-map::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,86,69,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,86,69,.07) 1px, transparent 1px);
  background-size: 32px 32px;
}
.contact-map .roads { position: absolute; inset: 0; }
.contact-map .pin-big {
  position: absolute; left: 50%; top: 46%; transform: translate(-50%, -100%);
  width: 44px; height: 44px; background: var(--green); border-radius: 50% 50% 50% 0;
  transform-origin: center; rotate: -45deg; box-shadow: 0 12px 24px rgba(0,86,69,.35); z-index: 2;
}
.contact-map .pin-big::after { content: ""; position: absolute; inset: 12px; background: var(--gold); border-radius: 50%; }
.contact-map .map-label {
  position: absolute; left: 50%; top: 46%; transform: translate(-50%, 18px); z-index: 3;
  background: #fff; padding: 8px 16px; border-radius: var(--r-pill); box-shadow: var(--sh-md);
  font-size: 13px; font-weight: 600; color: var(--green); white-space: nowrap;
}
.contact-map .ping { position: absolute; left: 50%; top: 46%; transform: translate(-50%,-50%); width: 70px; height: 70px; border-radius: 50%; border: 2px solid rgba(0,86,69,.3); animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { 0% { transform: translate(-50%,-50%) scale(.4); opacity: .8; } 100% { transform: translate(-50%,-50%) scale(1.6); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .contact-map .ping { animation: none; } }

/* ---------- 16. 页脚 ---------- */
.site-footer { background: var(--green-darker); color: rgba(188,208,203,.85); padding-top: 64px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-brand img { height: 38px; margin-bottom: 18px; }
.footer-brand p { font-size: 14px; line-height: 1.8; max-width: 300px; color: rgba(188,208,203,.78); }
.footer-brand .fb-contact { margin-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.footer-brand .fb-contact a { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; color: rgba(207,224,219,.85); transition: color .2s; }
.footer-brand .fb-contact a:hover { color: var(--gold-light); }
.footer-brand .fb-contact svg { width: 15px; height: 15px; stroke: var(--gold); }
.footer-col h5 { color: #fff; font-size: 15px; margin-bottom: 18px; font-weight: 600; }
.footer-col a { display: block; padding: 7px 0; font-size: 14px; color: rgba(188,208,203,.78); transition: color .2s, padding .2s; }
.footer-col a:hover { color: var(--gold-light); padding-left: 4px; }
.footer-bottom { padding: 26px 0 32px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; font-size: 13px; color: rgba(159,182,176,.8); }
.footer-bottom a { color: rgba(159,182,176,.85); transition: color .2s; }
.footer-bottom a:hover { color: var(--gold-light); }
.footer-bottom .beian { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; }
.footer-bottom .beian img { display: inline; height: 15px; }
.placeholder { color: var(--gold-deep); border: 1px dashed rgba(211,166,89,.4); border-radius: 6px; padding: 1px 8px; font-size: 11px; }

/* ---------- 17. 回到顶部 ---------- */
.to-top {
  position: fixed; right: 26px; bottom: 26px; z-index: 800;
  width: 50px; height: 50px; border-radius: 14px; background: var(--green);
  color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--sh-md); opacity: 0; transform: translateY(14px) scale(.9); pointer-events: none;
  transition: .3s var(--ease);
}
.to-top.is-shown { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.to-top:hover { background: var(--green-700); transform: translateY(-3px); }
.to-top svg { width: 22px; height: 22px; }

/* ---------- 18. 滚动揭示动画 ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }
.reveal[data-delay="5"] { transition-delay: .40s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none; }
  .tab-panel.is-active, .hero h1, .float-card { animation: none !important; }
}

/* ---------- 19. 响应式 ---------- */
@media (max-width: 1080px) {
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-card--feature { grid-column: span 6; grid-row: span 1; }
  .bento-card--wide, .bento-card--third { grid-column: span 3; }
}
@media (max-width: 920px) {
  .nav__links { display: none; }
  .nav__actions .btn { display: none; }
  .nav__toggle { display: flex; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__scene { min-height: 420px; margin-top: 20px; }
  .hero__stats { gap: 24px 36px; }
  .feature-split { grid-template-columns: 1fr; gap: 40px; }
  .feature-split.is-reverse .fs-visual { order: 0; }
  .fs-text { text-align: left; }
  .about-grid, .contact-grid, .dl-grid { grid-template-columns: 1fr; }
  .flow-track { grid-template-columns: repeat(2, 1fr); gap: 30px 18px; }
  .flow-track::before { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px 32px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .value-grid { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .bento-card--wide, .bento-card--third, .bento-card--feature { grid-column: span 1; }
  .flow-track { grid-template-columns: 1fr; }
  .dl-card { flex-direction: column; text-align: center; }
  .dl-card__info { text-align: center; }
  .dl-stores { justify-content: center; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .tabs__nav { display: flex; width: 100%; }
  .tab { flex: 1; justify-content: center; padding: 11px 10px; }
  .hero__scene { transform: scale(.92); }
  .float-card--c { display: none; }
}

/* =====================================================================
   20. 法律协议页（privacy.html / terms.html）
   ===================================================================== */
.legal-header {
  position: sticky; top: 0; z-index: 900;
  background: rgba(0, 61, 49, .96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, .14);
}
.legal-header .nav { height: 68px; }
.legal-header .nav__logo img { height: 32px; }
.legal-header .back-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: rgba(255,255,255,.86); font-size: 14.5px; font-weight: 500; transition: color .2s;
}
.legal-header .back-link:hover { color: var(--gold-light); }
.legal-header .back-link svg { width: 18px; height: 18px; }

.legal-hero {
  background:
    radial-gradient(800px 420px at 85% -20%, rgba(211,166,89,.18), transparent 60%),
    linear-gradient(155deg, var(--green) 0%, var(--green-deep) 100%);
  color: #fff; padding: clamp(48px, 8vw, 84px) 0 clamp(40px, 6vw, 64px);
}
.legal-hero .eyebrow { color: var(--gold-light); }
.legal-hero h1 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(28px, 4.4vw, 46px); line-height: 1.2; margin-top: 14px; letter-spacing: .5px;
}
.legal-hero .meta { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 10px 14px; }
.legal-hero .meta .chip {
  display: inline-flex; align-items: center; gap: 7px; font-size: 13px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  color: rgba(229,239,236,.92); padding: 6px 14px; border-radius: var(--r-pill);
}
.legal-hero .meta .chip b { color: var(--gold-light); font-weight: 600; }

.legal-body { padding: clamp(40px, 6vw, 72px) 0 clamp(56px, 8vw, 96px); background: var(--bg); }
.legal-layout { display: grid; grid-template-columns: 240px 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }

/* 侧栏目录 */
.legal-toc { position: sticky; top: 96px; }
.legal-toc .toc-title { font-size: 13px; font-weight: 700; color: var(--muted-2); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 14px; }
.legal-toc ol { counter-reset: toc; }
.legal-toc a {
  display: block; padding: 8px 12px; margin-bottom: 2px; border-radius: var(--r-sm);
  font-size: 13.5px; color: var(--muted); border-left: 2px solid transparent; transition: .2s var(--ease);
}
.legal-toc a:hover { background: var(--bg-soft); color: var(--green); }
.legal-toc a.is-active { background: var(--green-50); color: var(--green); border-left-color: var(--gold); font-weight: 600; }

/* 正文内容 */
.legal-content { max-width: 760px; }
.legal-content .lead {
  font-size: 15.5px; color: var(--muted); line-height: 1.9; padding: 20px 24px; margin-bottom: 36px;
  background: var(--bg-soft); border-left: 3px solid var(--gold); border-radius: 0 var(--r-md) var(--r-md) 0;
}
.legal-content section { margin-bottom: 40px; scroll-margin-top: 92px; }
.legal-content h2 {
  font-size: clamp(20px, 2.4vw, 26px); color: var(--ink); font-weight: 700; line-height: 1.4;
  padding-bottom: 12px; margin-bottom: 18px; border-bottom: 1px solid var(--line);
  display: flex; align-items: baseline; gap: 12px;
}
.legal-content h2 .idx {
  flex-shrink: 0; font-family: var(--font-display); font-size: .82em; color: var(--gold-deep);
  background: var(--gold-soft); border-radius: var(--r-sm); padding: 1px 10px; line-height: 1.5;
}
.legal-content h3 { font-size: 16.5px; color: var(--green); font-weight: 700; margin: 24px 0 10px; }
.legal-content p { font-size: 15px; color: var(--text); line-height: 1.9; margin-bottom: 14px; }
.legal-content p.tip { color: var(--muted); font-size: 14px; }
.legal-content strong { color: var(--ink); font-weight: 700; }
.legal-content a.inline { color: var(--green); text-decoration: underline; text-underline-offset: 2px; }
.legal-content a.inline:hover { color: var(--gold-deep); }
.legal-content ul, .legal-content ol { margin: 8px 0 16px; padding-left: 4px; }
.legal-content li {
  position: relative; padding-left: 22px; margin-bottom: 9px; font-size: 15px; color: var(--text); line-height: 1.85;
}
.legal-content ul > li::before {
  content: ""; position: absolute; left: 4px; top: 11px; width: 7px; height: 7px;
  background: var(--gold); border-radius: 50%;
}
.legal-content ol { counter-reset: legal-ol; }
.legal-content ol > li { counter-increment: legal-ol; }
.legal-content ol > li::before {
  content: counter(legal-ol); position: absolute; left: 0; top: 1px;
  width: 18px; height: 18px; font-size: 11px; font-weight: 700; color: var(--green);
  background: var(--green-50); border-radius: 50%; display: flex; align-items: center; justify-content: center;
}

/* 第三方 SDK / 信息收集表格 */
.legal-table-wrap { overflow-x: auto; margin: 16px 0 22px; border: 1px solid var(--line); border-radius: var(--r-md); }
.legal-table { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 13.5px; }
.legal-table th, .legal-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.legal-table thead th { background: var(--green-50); color: var(--green); font-weight: 700; font-size: 13px; white-space: nowrap; }
.legal-table tbody tr:last-child td { border-bottom: none; }
.legal-table tbody tr:hover { background: var(--bg-soft); }
.legal-table td b { color: var(--ink); }

/* 主体信息卡 */
.legal-entity {
  margin-top: 40px; padding: 26px 28px; background: var(--bg-soft);
  border: 1px solid var(--line); border-radius: var(--r-lg);
}
.legal-entity h3 { font-size: 16px; color: var(--ink); margin-bottom: 14px; font-weight: 700; }
.legal-entity dl { display: grid; grid-template-columns: 130px 1fr; gap: 10px 16px; }
.legal-entity dt { font-size: 13.5px; color: var(--muted-2); }
.legal-entity dd { font-size: 14px; color: var(--text); font-weight: 500; word-break: break-word; }

/* 返回顶部（协议页复用 .to-top 已有样式） */

@media (max-width: 860px) {
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { display: none; }
}
