/* ============================================================================
   bizu.cn 对外官网 —— 设计令牌与基础样式
   零构建：纯 CSS，无预处理器、无框架、无外链字体。
   配色体系 = 「城大双色调」（2026-06-14 定，与 bzcrm 主业务系统一致）：
     城大橙 #E87722（主） / 深橙 #C65D00（hover、深底） / 浅橙 #F5A623（辅助强调）
     城大深蓝 #1a3a6b（内容区、标题） / #2d5a9e（浅一档）
   🔴 改色只改本节 :root，别在组件里写死 hex。
   ========================================================================== */
:root {
  /* 本站是浅色设计：声明 color-scheme 可避免 iOS/Android 在系统深色模式下
     把原生控件（下拉框、复选框、滚动条、日期选择器）渲染成深色，出现「白底黑字控件」突兀色块。 */
  color-scheme: light;

  /* 品牌 */
  --brand:        #E87722;
  --brand-deep:   #C65D00;
  --brand-soft:   #F5A623;
  --brand-tint:   #FFF3E0;
  --brand-tint-2: #FFE7CC;

  /* 深蓝（城大） */
  --navy:   #1a3a6b;
  --navy-2: #2d5a9e;
  --navy-tint: #EEF3FB;

  /* 中性 */
  --ink:   #0f172a;
  --ink-2: #334155;
  --ink-3: #64748b;
  --ink-4: #94a3b8;
  --line:  #e6eaf0;
  --line-2:#d7dee8;
  --bg:    #f7f9fc;
  --bg-2:  #f1f5f9;
  --card:  #ffffff;

  /* 语义 */
  --ok:   #0e9f6e;
  --warn: #d97706;

  /* 尺度 */
  --r-sm: 8px;
  --r:    12px;
  --r-lg: 16px;
  --r-xl: 22px;
  --sh-sm: 0 1px 2px rgba(15, 23, 42, .06);
  --sh:    0 4px 14px rgba(15, 23, 42, .07);
  --sh-lg: 0 14px 40px rgba(15, 23, 42, .10);
  --sh-brand: 0 10px 26px rgba(232, 119, 34, .26);

  --maxw: 1160px;
  --nav-h: 64px;

  /* 安全区（刘海 / 灵动岛 / 底部横条）。非全面屏设备上恒为 0，不影响任何布局。
     🔴 index.html 已声明 viewport-fit=cover —— 没有它，这里的 env() 永远是 0，
        全面屏横屏时右侧内容会被圆角与刘海切掉。改 viewport 前先想清楚这一点。 */
  --saf-t: env(safe-area-inset-top, 0px);
  --saf-r: env(safe-area-inset-right, 0px);
  --saf-b: env(safe-area-inset-bottom, 0px);
  --saf-l: env(safe-area-inset-left, 0px);

  --ff: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", -apple-system,
        BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --ff-num: "SF Pro Display", -apple-system, "Segoe UI", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--ff);
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-2);
  background: var(--card);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* 移动端横向溢出闸门：任何越界元素都不该把整页撑宽。
     🔴 只写在 body，不要挪到 html（2026-09-18 实测 + 决策）：
        实测把这条挪到 html 上，Chromium 里吸顶依然正常（自检 128 项全绿），
        所以「挪上去一定会破坏 sticky」这个说法在 Chromium 上**并不成立**，别照抄；
        但 overflow 写在 html 上是被反复报告过的 sticky 失效写法，
        而挪上去没有任何收益 —— 维持现状即可。
        自检里「顶栏吸顶有效」那条（6 档视口）用来守住它。 */
  overflow-x: hidden;
  /* 长链接、长英文串（如 BIZU OPEN PLATFORM）在 320px 窄屏不撑破布局 */
  overflow-wrap: break-word;
}

h1, h2, h3, h4 { margin: 0; color: var(--navy); line-height: 1.3; font-weight: 700; }
p  { margin: 0; }
a  { color: var(--brand-deep); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }

/* 只在视觉上隐藏，仍给读屏（用于图标按钮的无障碍名） */
.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;
}

/* ---------------------------------------------------------------- 通用容器 */
.wrap {
  width: 100%; max-width: var(--maxw); margin: 0 auto;
  /* 左右各自加安全区：全面屏横屏时避免内容钻到刘海/圆角下面 */
  padding: 0 calc(20px + var(--saf-r)) 0 calc(20px + var(--saf-l));
}
.wrap-narrow { max-width: 900px; }

.sec { padding: 76px 0; }
.sec--tint { background: var(--bg); }
.sec--tint-warm { background: linear-gradient(180deg, #fff 0%, var(--brand-tint) 100%); }
.sec--navy { background: linear-gradient(150deg, var(--navy) 0%, #24487c 60%, #2d5a9e 100%); }
.sec--navy h2, .sec--navy h3, .sec--navy h4 { color: #fff; }

.sec-head { margin-bottom: 40px; }
.sec-head--center { text-align: center; }
.sec-head h2 { font-size: 27px; letter-spacing: -.4px; }
.sec-head .sub { margin-top: 10px; color: var(--ink-3); font-size: 14.5px; line-height: 1.75; }
.sec--navy .sec-head .sub { color: rgba(255, 255, 255, .72); }

/* 小节标题上方的小标签 */
.kicker {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .04em;
  color: var(--brand-deep); background: var(--brand-tint);
  border: 1px solid var(--brand-tint-2);
  padding: 4px 11px; border-radius: 999px; margin-bottom: 14px;
}
.sec--navy .kicker { color: #fff; background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .22); }

/* ------------------------------------------------------------------- 按钮 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  height: 44px; padding: 0 22px; border: 1px solid transparent; border-radius: 999px;
  font-size: 14.5px; font-weight: 600; cursor: pointer; white-space: nowrap;
  text-decoration: none; transition: transform .15s, box-shadow .2s, background .2s, color .2s;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--brand); color: #fff; box-shadow: var(--sh-brand); }
.btn--primary:hover { background: var(--brand-deep); }
.btn--navy { background: var(--navy); color: #fff; box-shadow: 0 10px 26px rgba(26, 58, 107, .26); }
.btn--navy:hover { background: #142e55; }
.btn--ghost { background: #fff; color: var(--navy); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand-deep); }
.btn--onnavy { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .3); }
.btn--onnavy:hover { background: rgba(255, 255, 255, .2); }
.btn--sm { height: 38px; padding: 0 16px; font-size: 13.5px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: not-allowed; }

/* ------------------------------------------------------------------ 顶栏 */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
  /* 右侧的「立即入驻」按钮在全面屏横屏时正好落在刘海/圆角位置，必须让出安全区 */
  padding-left: var(--saf-l);
  padding-right: var(--saf-r);
}
.nav-in {
  height: var(--nav-h); display: flex; align-items: center; gap: 18px;
  max-width: var(--maxw); margin: 0 auto; padding: 0 20px;
}
.brand { display: flex; align-items: center; gap: 10px; flex: none; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 10px; flex: none;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
  color: #fff; display: grid; place-items: center;
  font: 800 15px/1 var(--ff-num); letter-spacing: -.5px;
  box-shadow: 0 4px 12px rgba(232, 119, 34, .3);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-size: 15.5px; font-weight: 700; color: var(--navy); }
.brand-sub { font-size: 11px; color: var(--ink-4); letter-spacing: .06em; }

/* 标签页（两个「页面」）—— 桌面在中间，移动端可横向滚动 */
.tabs {
  display: flex; align-items: center; gap: 4px; flex: 1 1 auto; min-width: 0;
  overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: none; display: inline-flex; align-items: center; gap: 7px;
  height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid transparent;
  background: transparent; color: var(--ink-2); font-size: 14.5px; font-weight: 600;
  cursor: pointer; white-space: nowrap; transition: background .2s, color .2s, border-color .2s;
}
.tab:hover { background: var(--bg-2); color: var(--navy); text-decoration: none; }
.tab.is-active { background: var(--brand-tint); color: var(--brand-deep); border-color: var(--brand-tint-2); }
.tab.is-active::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.nav-actions { display: flex; align-items: center; gap: 10px; flex: none; margin-left: auto; }
/* 🔴 `.nav-link` 已无使用者（顶栏「开放平台」链接 2026-09-18 按用户要求删除，
   见 commit 之后的「删除顶栏链接」提交）。要恢复那条链接，需同时加回：
     HTML  <a class="nav-link" href="https://open.bizu.cn" target="_blank" rel="noopener">开放平台</a>
     CSS   .nav-link { font-size: 14px; color: var(--ink-3); }
           .nav-link:hover { color: var(--brand-deep); text-decoration: none; }
           @media (max-width:768px) { .nav-link { display: none; } }
   —— 保留这段说明是因为「零构建」下没有编译期提示，死 CSS 只能靠注释被发现。 */

/* -------------------------------------------------------------- Hero 区块 */
.hero { position: relative; overflow: hidden; padding: 64px 0 60px; }
.hero--lala {
  background:
    radial-gradient(900px 420px at 88% -10%, rgba(232, 119, 34, .16), transparent 70%),
    radial-gradient(700px 380px at 4% 110%, rgba(26, 58, 107, .12), transparent 72%),
    linear-gradient(180deg, #fff 0%, var(--bg) 100%);
}
.hero--partner {
  background:
    radial-gradient(900px 420px at 10% -10%, rgba(45, 90, 158, .14), transparent 70%),
    radial-gradient(700px 380px at 92% 108%, rgba(232, 119, 34, .18), transparent 72%),
    linear-gradient(180deg, #fff 0%, var(--bg) 100%);
}
.hero-in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: center; }
.hero h1 { font-size: 40px; letter-spacing: -1px; line-height: 1.22; }
.hero h1 .hl { color: var(--brand); }
.hero .lead { margin-top: 18px; font-size: 16px; line-height: 1.85; color: var(--ink-3); max-width: 34em; }
.hero-cta { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin-top: 16px; font-size: 12.5px; color: var(--ink-4); }

/* Hero 右侧：关键数字 / 卡片 */
.hero-panel {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-xl);
  box-shadow: var(--sh-lg); padding: 24px; position: relative;
}
.hero-panel::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  background: linear-gradient(90deg, var(--brand), var(--brand-soft) 55%, var(--navy-2));
}
.kpi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.kpi {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r);
  padding: 14px 15px;
}
.kpi .n { font: 800 25px/1.15 var(--ff-num); color: var(--brand); letter-spacing: -.6px; }
.kpi .n small { font-size: 13px; font-weight: 700; margin-left: 2px; }
.kpi .l { margin-top: 5px; font-size: 12.5px; color: var(--ink-3); }
.hero-panel .divider { height: 1px; background: var(--line); margin: 20px 0 16px; }
.hero-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.hero-list li { display: flex; gap: 9px; align-items: flex-start; font-size: 13.5px; color: var(--ink-2); }
.hero-list .tick { flex: none; width: 17px; height: 17px; margin-top: 3px; border-radius: 50%; background: var(--brand-tint); color: var(--brand-deep); display: grid; place-items: center; }
.hero-list .tick svg { width: 11px; height: 11px; }
/* 两列版（用于「晋升规则说明」这类 6 条要点）。≤768px 自动回单列，别用内联 grid 覆盖媒体查询 */
.hero-list--2col { grid-template-columns: 1fr 1fr; gap: 12px 26px; }

/* ------------------------------------------------------------------ 网格 */
.grid { display: grid; gap: 18px; }
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ------------------------------------------------------------------ 卡片 */
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 24px; box-shadow: var(--sh-sm); transition: box-shadow .2s, transform .2s, border-color .2s;
}
.card--hover:hover { box-shadow: var(--sh); transform: translateY(-2px); border-color: var(--brand-tint-2); }
.card h3 { font-size: 16.5px; }
.card h4 { font-size: 15.5px; }
.card p { margin-top: 9px; font-size: 13.5px; line-height: 1.75; color: var(--ink-3); }
.card .tagline { margin-top: 6px; font-size: 12.5px; font-weight: 600; color: var(--brand-deep); }

.ic-box {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: var(--brand-tint); color: var(--brand-deep); margin-bottom: 15px;
}
.ic-box svg { width: 21px; height: 21px; }
.ic-box--navy { background: var(--navy-tint); color: var(--navy); }
.ic-box--soft { background: #FFF6E5; color: var(--brand-deep); }

/* ------------------------------------------------------------------ 步骤 */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.steps--h { grid-template-columns: repeat(8, minmax(150px, 1fr)); }
.steps-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 6px; scrollbar-width: thin; }

.step { position: relative; padding: 0 14px 0 0; }
.step::after {
  content: ""; position: absolute; top: 15px; left: 38px; right: 4px; height: 2px;
  background: var(--line-2); border-radius: 2px;
}
.step:last-child::after { display: none; }
.step-dot {
  position: relative; z-index: 1; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; font: 700 13px/1 var(--ff-num);
  background: #fff; color: var(--navy); border: 2px solid var(--line-2);
}
.step.is-gate .step-dot { background: var(--brand); color: #fff; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-tint); }
.step-t { margin-top: 12px; font-size: 14px; font-weight: 700; color: var(--navy); }
.step-d { margin-top: 3px; font-size: 12.5px; color: var(--ink-3); line-height: 1.6; }
.step-gate {
  display: inline-flex; align-items: center; gap: 4px; margin-top: 7px;
  font-size: 11px; font-weight: 700; color: var(--brand-deep);
  background: var(--brand-tint); border-radius: 999px; padding: 2px 8px;
}

/* 纵向步骤（移动端与「入驻四步」用） */
.steps--v { gap: 18px; }
.steps--v .step { padding: 0 0 0 52px; }
.steps--v .step::after { top: 34px; left: 15px; right: auto; bottom: -18px; width: 2px; height: auto; }
.steps--v .step:last-child::after { display: none; }
.steps--v .step-dot { position: absolute; left: 0; top: 0; }
.steps--v .step-t { margin-top: 0; }

/* ------------------------------------------------------------------ 表格 */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
/* 横滑提示：由 site.js 在**实测发生溢出**时才插入（不是按屏宽猜），
   否则窄屏上表格没溢出却提示「可滑动」，反而误导用户去滑。 */
.scroll-hint {
  display: flex; align-items: center; gap: 5px;
  margin: 0 0 7px; font-size: 12px; color: var(--ink-4);
}
.scroll-hint::after { content: "→"; color: var(--brand); font-weight: 700; }
table.tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 640px; }
table.tbl th, table.tbl td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
table.tbl thead th {
  background: var(--bg); color: var(--navy); font-size: 12.5px; font-weight: 700;
  white-space: nowrap; letter-spacing: .02em;
}
table.tbl tbody tr:last-child td { border-bottom: 0; }
table.tbl tbody tr:hover td { background: #fcfdff; }
table.tbl .lv-badge { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--navy); }
.lv {
  display: inline-grid; place-items: center; width: 30px; height: 24px; border-radius: 7px;
  font: 800 12px/1 var(--ff-num); background: var(--navy-tint); color: var(--navy); flex: none;
}
.lv--top { background: var(--brand-tint); color: var(--brand-deep); }
.tbl .muted { color: var(--ink-4); font-size: 12.5px; }
.tbl-foot { padding: 13px 16px; background: var(--bg); font-size: 12.5px; color: var(--ink-3); border-top: 1px solid var(--line); }

/* ------------------------------------------------------------------ 等级卡 */
.levels { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.level {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px 18px;
  box-shadow: var(--sh-sm); position: relative; overflow: hidden;
}
.level::after { content: ""; position: absolute; inset: auto 0 0 0; height: 3px; background: var(--line-2); }
.level:nth-child(1)::after { background: #c7d2e0; }
.level:nth-child(2)::after { background: #9db6d8; }
.level:nth-child(3)::after { background: var(--navy-2); }
.level:nth-child(4)::after { background: var(--brand-soft); }
.level:nth-child(5)::after { background: var(--brand); }
.level .lv-no { font: 800 12px/1 var(--ff-num); color: var(--ink-4); letter-spacing: .08em; }
.level h4 { margin-top: 9px; font-size: 16px; }
.level .lv-cms { margin-top: 6px; font-size: 12.5px; font-weight: 700; color: var(--brand-deep); }
.level ul { list-style: none; margin: 13px 0 0; padding: 0; display: grid; gap: 7px; }
.level li { font-size: 12.5px; color: var(--ink-3); padding-left: 14px; position: relative; line-height: 1.6; }
.level li::before { content: ""; position: absolute; left: 2px; top: 9px; width: 5px; height: 5px; border-radius: 50%; background: var(--brand-soft); }

/* ------------------------------------------------------------------ 标签云 */
.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 13px;
  border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2);
  color: #fff; font-size: 12.5px; font-weight: 500;
}
.chip--light { background: #fff; border-color: var(--line-2); color: var(--ink-2); }

/* ------------------------------------------------------------------ 表单 */
.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl);
  box-shadow: var(--sh-lg); padding: 28px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.field label .req { color: var(--brand); margin-left: 2px; }
.input, .select, .textarea {
  width: 100%; min-height: 44px; padding: 10px 13px; font-family: inherit; font-size: 14px;
  color: var(--ink); background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-sm);
  outline: none; transition: border-color .18s, box-shadow .18s; appearance: none;
}
.textarea { min-height: 92px; resize: vertical; line-height: 1.65; }
.select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px;
}
.input:focus, .select:focus, .textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(232, 119, 34, .14); }
.input::placeholder, .textarea::placeholder { color: var(--ink-4); }
.field .hint { font-size: 12px; color: var(--ink-4); }
.field.has-error .input, .field.has-error .select, .field.has-error .textarea { border-color: #dc2626; }

.checkline { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--ink-3); line-height: 1.7; }
.checkline input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--brand); flex: none; }
/* 勾选行里的协议链接（对应参考站那四个书名号）：
   🔴 必须看起来「明显可点」——橙色 + 加粗，不能沿用正文的弱化色，
      否则用户以为只是几个书名号，勾选同意前根本不会去读。 */
.checkline a { color: var(--brand-deep); font-weight: 600; }
.checkline a:hover { color: var(--brand); text-decoration: underline; }
/* 勾选行的 label 在窄屏要能整段换行，别让链接被挤成竖排 */
.checkline label { min-width: 0; }
.form-foot { margin-top: 20px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.form-foot .tip { font-size: 12.5px; color: var(--ink-4); }
.form-err { margin-top: 12px; font-size: 13px; color: #b91c1c; background: #fef2f2; border: 1px solid #fecaca; border-radius: var(--r-sm); padding: 10px 13px; display: none; }
.form-err.is-on { display: block; }

/* 提交成功态 */
.done { display: none; text-align: center; padding: 26px 8px; }
.done.is-on { display: block; }
.done .ic {
  width: 62px; height: 62px; margin: 0 auto 18px; border-radius: 50%;
  display: grid; place-items: center; background: var(--brand-tint); color: var(--brand-deep);
}
.done .ic svg { width: 30px; height: 30px; }
.done h3 { font-size: 20px; }
.done p { margin-top: 10px; color: var(--ink-3); font-size: 14px; }

/* ------------------------------------------------------------------ FAQ */
.faq { display: grid; gap: 10px; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
}
.faq summary {
  cursor: pointer; list-style: none; padding: 15px 18px; font-size: 14.5px; font-weight: 600;
  color: var(--navy); display: flex; align-items: center; gap: 10px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; margin-left: auto; flex: none; width: 18px; height: 18px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23E87722' stroke-width='2.5' stroke-linecap='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat; background-position: center; transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(180deg); }
.faq .ans { padding: 0 18px 16px 18px; font-size: 13.5px; line-height: 1.8; color: var(--ink-3); }
.faq .ans p + p { margin-top: 9px; }

/* ------------------------------------------------------------------ 提示条 */
.note {
  display: flex; gap: 11px; align-items: flex-start;
  background: var(--brand-tint); border: 1px solid var(--brand-tint-2);
  border-radius: var(--r); padding: 14px 16px; font-size: 13px; color: #8a4a06; line-height: 1.75;
}
.note svg { width: 17px; height: 17px; flex: none; margin-top: 2px; color: var(--brand-deep); }
.note strong { color: var(--brand-deep); }

/* ------------------------------------------------------------------ 页脚 */
.foot { background: #0d2444; color: rgba(255, 255, 255, .68); font-size: 13px; padding: 50px 0 calc(26px + var(--saf-b)); }
/* 页脚四列：品牌 / 业务专区 / 平台 / 条款与规则。
   🔴 最后一列（条款与规则）文案较长（如「佣金结算与客户保护规则」11 字），
      分到的宽度至少要容下它，否则会折行成两行、看起来像排版错误。 */
.foot-in { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.15fr; gap: 30px; }
.foot h5 { margin: 0 0 13px; font-size: 13.5px; color: #fff; font-weight: 700; }
.foot .fbrand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.foot .fbrand .brand-name { color: #fff; }
.foot .fbrand .brand-sub { color: rgba(255, 255, 255, .5); }
.foot .slogan { line-height: 1.85; max-width: 30em; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.foot a { color: rgba(255, 255, 255, .68); }
/* 页脚链接做触控目标：13px 字号 × 1.7 行高 ≈ 22px，
   直接点很容易误触到相邻链接；撑到 ~32px 才够手指用。 */
.foot li a { display: inline-block; padding: 5px 0; }
.foot a:hover { color: var(--brand-soft); text-decoration: none; }
.foot a:active { color: var(--brand-soft); }
.foot-bot {
  margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12);
  display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; justify-content: space-between;
  font-size: 12.5px; color: rgba(255, 255, 255, .5);
}
.foot-bot .beian { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; }

/* ------------------------------------------------------------------ Toast */
.toast {
  position: fixed; top: calc(20px + var(--saf-t)); left: 50%; transform: translateX(-50%);
  z-index: 100; background: var(--brand); color: #fff;
  padding: 10px 18px; border-radius: 999px; font-size: 13.5px; font-weight: 500;
  box-shadow: 0 10px 26px rgba(232, 119, 34, .3); pointer-events: none; opacity: 0;
  transition: opacity .2s, transform .2s;
  /* 极窄屏别让提示条超出屏幕 */
  max-width: calc(100vw - 32px); text-align: center;
}
.toast.is-on { opacity: 1; transform: translateX(-50%) translateY(4px); }

/* ------------------------------------------------------------- 响应式 */
@media (max-width: 1024px) {
  .hero-in { grid-template-columns: 1fr; gap: 34px; }
  .hero h1 { font-size: 33px; }
  .g-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .levels { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-in { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-in { gap: 10px; padding: 0 14px; }
  .brand-sub { display: none; }
  .sec { padding: 52px 0; }
  .sec-head { margin-bottom: 28px; }
  .sec-head h2 { font-size: 22px; }
  .hero { padding: 40px 0 44px; }
  .hero h1 { font-size: 27px; letter-spacing: -.5px; }
  .hero .lead { font-size: 15px; }
  .wrap { padding: 0 calc(16px + var(--saf-r)) 0 calc(16px + var(--saf-l)); }
  .g-2, .g-3, .g-4 { grid-template-columns: 1fr; }
  .levels { grid-template-columns: 1fr 1fr; gap: 11px; }
  .level { padding: 16px 14px; }
  .form-grid { grid-template-columns: 1fr; gap: 14px; }
  .form-card { padding: 20px 16px; border-radius: var(--r-lg); }
  .card { padding: 20px 18px; }
  .kpi .n { font-size: 22px; }
  .hero-list--2col { grid-template-columns: 1fr; gap: 9px; }
  .steps--v .step { padding-left: 46px; }
  /* 表格在窄屏允许横滑，别压缩成不可读 */
  table.tbl { min-width: 560px; font-size: 13px; }
  table.tbl th, table.tbl td { padding: 11px 13px; }
  .foot-in { grid-template-columns: 1fr; gap: 26px; }
  .foot-bot { margin-top: 26px; }
  .foot { padding: 38px 0 calc(22px + var(--saf-b)); }
}

/* 触屏设备处理。🔴 这里必须用「屏宽 + 指针类型」双条件，不能只写 max-width：
   iPhone 12/13 横屏是 844×390，宽度已经超过 768，只按屏宽判断就会漏掉这一档，
   而 iOS 的「聚焦自动放大」在横屏同样会触发（用户一横屏点输入框，页面又炸一次）。
   ① 表单控件字号 ≥16px —— 这是规避 iOS 聚焦自动放大**唯一可靠**的方式；
      不要改用 viewport 的 maximum-scale=1：那会连用户的双指缩放一起禁掉，是无障碍缺陷。
   ② 主要导航的触控目标补到 44px（原 40px）。 */
@media (max-width: 900px), (pointer: coarse) {
  .input, .select, .textarea { font-size: 16px; }
  .input, .select { min-height: 46px; }
  .tab { height: 44px; }
  /* 顶栏 CTA 原为 .btn--sm 的 38px —— 触屏上偏小，抬到 44px。
     横屏（667/844 宽）不命中 ≤420 那档，只有这条能把它提上去。 */
  .nav-actions .btn { height: 44px; }
  /* 触屏上 :hover 会「黏住」不消失（点一下就一直保持 hover 样式），
     所以额外给一个点按态作反馈，否则点标签时看不出有没有生效。 */
  .tab:active { background: var(--bg-2); }
}

/* 窄屏顶栏：品牌名让位给两个标签，保证「货拉拉专区 / 生态合伙人」都完整可见。
   🔴 必须排在 ≤420px 之前：媒体查询同优先级时靠后者覆盖，顺序颠倒会把 420 的规则吃掉。 */
@media (max-width: 560px) {
  .brand-text { display: none; }          /* 只留 BZ 圆标；整品牌名在页脚仍有 */
  .nav-actions .btn { padding: 0 14px; font-size: 13.5px; }
  .tabs { gap: 2px; }
  .tab {
    flex: 1 1 0; min-width: 0; padding: 0 10px; font-size: 13.5px;
    justify-content: center;
  }
  .tab span { overflow: hidden; text-overflow: ellipsis; }
}

@media (max-width: 420px) {
  .hero h1 { font-size: 24px; }
  .kpi-grid { gap: 10px; }
  .levels { grid-template-columns: 1fr; }
  .btn { height: 42px; padding: 0 18px; font-size: 14px; }
}

/* ≤380px（iPhone SE 一代 / 5s 的 320px，以及 360px 的安卓老机型）：
   一行塞不下「BZ 圆标 + 两个标签 + 立即入驻」——实测 320px 时两个标签各只剩 78px，
   「生态合伙人」5 个字要 88px 才放得下，会被省略号截成「生态合伙…」。
   所以这一档把顶栏拆成两行：第一行品牌 + 按钮，第二行两个标签独占、平分宽度。 */
@media (max-width: 380px) {
  .nav-in {
    flex-wrap: wrap; height: auto; min-height: var(--nav-h);
    padding-top: 9px; padding-bottom: 7px; row-gap: 2px;
  }
  .tabs { order: 3; flex: 1 0 100%; }
  .tab { padding: 0 8px; }
  /* 极窄屏把次要 CTA 的文案压到最简，避免挤掉品牌位 */
  .hero-cta { gap: 10px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .sec-head h2 { font-size: 20px; }
  .form-card { padding: 18px 14px; }
  .scroll-hint { font-size: 11.5px; }
}

/* 手机横屏（如 iPhone 12/13 的 844×390、SE 的 667×375）：
   宽度够、但高度很小 —— 桌面那套 76px 上下留白会把首屏内容全推出可视区。
   🔴 必须放在 ≤768px 之后：667px 宽同时命中这两条，靠后者覆盖。 */
@media (max-width: 900px) and (max-height: 500px) and (orientation: landscape) {
  .nav-in { height: 54px; }
  .hero { padding: 26px 0 30px; }
  .hero h1 { font-size: 26px; }
  .hero .lead { margin-top: 12px; }
  .hero-cta { margin-top: 18px; }
  .sec { padding: 40px 0; }
  .sec-head { margin-bottom: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
