/* 云帆工具箱 官网样式 —— 品牌红 #c63020（取自 yfbox.cn 线上站点）· 单文件无外部依赖 */

:root {
  /* 中性色：纯灰阶，不带红调，承担背景/文字/线条 */
  --ink: #22262b;
  --ink-2: #5b626b;
  --ink-3: #949aa3;
  --line: #e9ebef;
  --line-strong: #d9dde3;
  --bg: #ffffff;
  --bg-soft: #f6f7f9;
  /* 品牌红：只用于主题色关键时刻（按钮/链接/高亮/CTA） */
  --bg-red: #fdf1ee;
  --brand: #c63020;
  --brand-dark: #a02415;
  --brand-darker: #7d1a0d;
  --brand-soft: #fbe6e1;
  --brand-softer: #f6cfc4;
  --gold: #d99a00;
  --gold-soft: #fff6d8;
  --radius: 12px;
  --radius-lg: 18px;
  --radius-xl: 26px;
  --max: 1160px;
  --shadow: 0 18px 42px -26px rgba(24, 27, 32, 0.32);
  --shadow-sm: 0 10px 24px -16px rgba(24, 27, 32, 0.26);
  --pattern-dots: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26'%3E%3Ccircle cx='2' cy='2' r='1.3' fill='%2322262b' fill-opacity='0.07'/%3E%3C/svg%3E");
  --pattern-lines: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14'%3E%3Cpath d='M-3 3 L3 -3 M11 17 L17 11' stroke='%23ffffff' stroke-opacity='0.14' stroke-width='1.2'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.78;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
::selection { background: var(--brand-soft); color: var(--brand-darker); }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 22px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--brand); color: #fff;
  padding: 10px 16px; z-index: 99; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- topbar ---------- */
.topbar {
  background: #23262c;
  color: #c7ccd4; font-size: 13px; text-align: center; padding: 8px 16px;
}
.topbar strong { color: #fff; font-weight: 500; }
.topbar .dot { margin: 0 10px; opacity: 0.5; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 20px; height: 66px; }

.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 600; font-size: 17px; letter-spacing: 0.2px; }
.brand:hover { text-decoration: none; }
.brand-mark { width: 32px; height: 32px; flex: none; border-radius: 9px; box-shadow: var(--shadow-sm); }
.brand-sub { font-size: 12px; color: var(--ink-3); font-weight: 500; margin-left: 2px; background: var(--bg-soft); border: 1px solid var(--line); padding: 1px 8px; border-radius: 999px; }

.site-nav { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.site-nav a { color: var(--ink-2); font-size: 14.5px; padding: 8px 13px; border-radius: 8px; }
.site-nav a:hover { background: var(--bg-red); color: var(--brand); text-decoration: none; }
.site-nav a[aria-current="page"] { color: var(--brand); background: var(--brand-soft); }
.site-nav .nav-cta {
  margin-left: 10px; background: var(--brand); color: #fff; padding: 9px 20px; border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.site-nav .nav-cta:hover { background: var(--brand-dark); color: #fff; }

.nav-toggle {
  display: none; margin-left: auto; width: 40px; height: 40px; border: 1px solid var(--line-strong);
  background: #fff; border-radius: 10px; cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle span { display: block; width: 16px; height: 1.5px; background: var(--ink); position: relative; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 16px; height: 1.5px; background: var(--ink);
}
.nav-toggle span::before { top: -5px; }
.nav-toggle span::after { top: 5px; }

/* ---------- section ---------- */
.section { padding: 70px 0; }
.section-soft { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: 34px; }
h1 { font-size: 34px; line-height: 1.35; font-weight: 600; margin: 0 0 16px; letter-spacing: -0.3px; }
h2 { font-size: 25px; line-height: 1.4; font-weight: 600; margin: 0 0 14px; letter-spacing: -0.2px; }
h3 { font-size: 17px; font-weight: 600; margin: 0 0 6px; }
h4 { font-size: 15px; font-weight: 600; margin: 22px 0 6px; }
p { margin: 0 0 14px; }
.lead { font-size: 17.5px; color: var(--ink-2); }
.muted { color: var(--ink-3); font-size: 14px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; letter-spacing: 0.08em; color: var(--brand); font-weight: 600; margin-bottom: 12px;
  background: var(--brand-soft); padding: 4px 12px; border-radius: 999px;
}
.eyebrow::before { content: ""; width: 6px; height: 6px; background: var(--brand); transform: rotate(45deg); }

/* ---------- hero ---------- */
.hero {
  position: relative; padding: 76px 0 60px; overflow: hidden;
  background:
    radial-gradient(760px 400px at 88% -10%, rgba(198, 48, 32, 0.07), rgba(198, 48, 32, 0) 60%),
    linear-gradient(180deg, var(--bg-soft) 0%, #ffffff 78%);
  border-bottom: 1px solid var(--line);
}
.hero::before {
  content: ""; position: absolute; inset: 0; background-image: var(--pattern-dots);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.9), transparent 75%);
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.9), transparent 75%);
  pointer-events: none;
}
.hero .container { position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 54px; align-items: center; }
.hero h1 { font-size: 42px; line-height: 1.3; letter-spacing: -0.5px; }
.hero h1 .hl { color: var(--brand); position: relative; white-space: nowrap; }
.hero h1 .hl::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 10px;
  background: var(--brand-soft); z-index: -1; border-radius: 3px;
}
.hero .lead { font-size: 18px; margin-bottom: 26px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 20px; }
.hero-points li { font-size: 14px; color: var(--ink-2); display: flex; align-items: center; gap: 7px; }
.hero-points .pt-ic { color: var(--brand); flex: none; }

/* hero 右侧：签到名单 mockup */
.hero-visual { position: relative; padding: 18px 6px; }
.hero-visual::before {
  content: ""; position: absolute; inset: -40px -60px;
  background: radial-gradient(closest-side, rgba(198, 48, 32, 0.09), rgba(198, 48, 32, 0));
  pointer-events: none;
}
.phone {
  position: relative; max-width: 330px; margin: 0 auto; background: #fff;
  border: 1px solid var(--line-strong); border-radius: 28px; padding: 18px 16px 14px;
  box-shadow: 0 32px 64px -30px rgba(24, 27, 32, 0.4);
}
.phone-notch { width: 92px; height: 5px; background: var(--line-strong); border-radius: 999px; margin: 0 auto 14px; }
.phone-head { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.phone-head .dot-live { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }
.phone-head strong { font-size: 14.5px; }
.phone-head span { margin-left: auto; font-size: 12px; color: #2f7a4f; background: #e7f4ec; padding: 2px 8px; border-radius: 999px; }
.phone-qr { display: flex; justify-content: center; background: var(--bg-soft); border: 1px dashed var(--line-strong); border-radius: 14px; padding: 12px; margin-bottom: 14px; }
.qr-art { width: 96px; height: 96px; }
.phone-row { display: flex; align-items: center; gap: 10px; padding: 8px 2px; border-top: 1px solid var(--line); }
.avatar {
  width: 30px; height: 30px; border-radius: 50%; flex: none; display: flex; align-items: center; justify-content: center;
  font-size: 12.5px; color: var(--brand); background: var(--brand-soft); font-weight: 500;
}
.phone-row .pname { font-size: 13.5px; font-weight: 500; }
.phone-row .ptime { font-size: 12px; color: var(--ink-3); }
.phone-row .badge-ok { margin-left: auto; font-size: 11.5px; color: #2f7a4f; background: #e7f4ec; padding: 1px 8px; border-radius: 999px; }
.phone-foot { margin-top: 12px; }
.phone-foot .bar { height: 7px; background: var(--brand-soft); border-radius: 999px; overflow: hidden; }
.phone-foot .bar i { display: block; height: 100%; width: 82%; background: linear-gradient(90deg, var(--brand), #e04a2f); border-radius: 999px; }
.phone-foot .cap { font-size: 12px; color: var(--ink-3); margin-top: 6px; display: flex; justify-content: space-between; }

.float-card {
  position: absolute; background: #fff; border: 1px solid var(--line-strong); border-radius: 14px;
  padding: 10px 14px; display: flex; align-items: center; gap: 9px; box-shadow: var(--shadow-sm);
  font-size: 13px; font-weight: 500; color: var(--ink);
}
.float-card small { display: block; font-weight: 400; color: var(--ink-3); font-size: 11.5px; }
.float-card .chip { width: 30px; height: 30px; }
.fc-1 { top: 6px; right: -8px; }
.fc-2 { bottom: 26px; left: -14px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 7px; padding: 12.5px 24px; border-radius: 999px;
  font-size: 15px; font-weight: 500; border: 1px solid transparent; cursor: pointer; transition: all 0.16s ease;
}
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 12px 26px -14px rgba(198, 48, 32, 0.7); }
.btn-primary:hover { background: var(--brand-dark); color: #fff; text-decoration: none; transform: translateY(-1px); }
.btn-ghost { background: #fff; border-color: var(--line-strong); color: var(--ink); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); text-decoration: none; }
.btn-light { background: #fff; color: var(--brand); }
.btn-light:hover { background: var(--brand-soft); color: var(--brand-darker); text-decoration: none; }

/* ---------- chips ---------- */
.ic { display: block; }
.chip {
  width: 52px; height: 52px; flex: none; border-radius: 15px;
  background: var(--brand-soft); color: var(--brand);
  display: flex; align-items: center; justify-content: center;
}
.chip-num { font-size: 13px; font-weight: 600; letter-spacing: 0.04em; }

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

.card {
  display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 24px; color: inherit; transition: all 0.18s ease;
}
.card:hover { border-color: var(--brand-softer); box-shadow: var(--shadow); transform: translateY(-3px); text-decoration: none; }
.card-static:hover { border-color: var(--line); box-shadow: none; transform: none; }
.card .chip { margin-bottom: 14px; }
.card p { color: var(--ink-2); font-size: 14.5px; margin: 0 0 10px; }
.card .more { font-size: 13.5px; color: var(--brand); font-weight: 500; }
.card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.tag { font-size: 12px; color: var(--ink-2); background: var(--bg-soft); border: 1px solid var(--line); padding: 2.5px 9px; border-radius: 999px; }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px 20px; text-align: center; }
.stat b { display: block; font-size: 30px; font-weight: 600; color: var(--brand); letter-spacing: -0.5px; }
.stat b small { font-size: 15px; font-weight: 500; }
.stat span { font-size: 13px; color: var(--ink-3); }

/* ---------- lists ---------- */
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; display: flex; gap: 10px; margin-bottom: 12px; color: var(--ink-2); }
.check-list li .ck { flex: none; margin-top: 3px; }
.check-list strong { color: var(--ink); }

/* ---------- steps ---------- */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; gap: 20px; }
.steps li { counter-increment: s; position: relative; padding-left: 50px; }
.steps li::before {
  content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: 1px; width: 34px; height: 34px; border-radius: 50%;
  background: var(--brand-soft); color: var(--brand); font-size: 13px; font-weight: 600;
  display: flex; align-items: center; justify-content: center; letter-spacing: 0.02em;
}
.steps li:not(:last-child)::after {
  content: ""; position: absolute; left: 16.5px; top: 40px; bottom: -12px; width: 1.5px; background: var(--line-strong);
}
.steps strong { display: block; }
.steps span { color: var(--ink-2); font-size: 14.5px; }

/* ---------- table ---------- */
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
th, td { border-bottom: 1px solid var(--line); padding: 13px 16px; text-align: left; vertical-align: top; }
tbody tr:last-child td { border-bottom: none; }
th { background: var(--bg-soft); color: var(--ink); font-weight: 600; white-space: nowrap; }
td strong { color: var(--ink); }

/* ---------- faq ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 17px 0; }
.faq summary { cursor: pointer; font-weight: 500; font-size: 15.5px; list-style: none; position: relative; padding-right: 30px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 4px; top: 9px; width: 8px; height: 8px;
  border-right: 1.8px solid var(--brand); border-bottom: 1.8px solid var(--brand); transform: rotate(45deg);
  transition: transform 0.16s ease;
}
.faq details[open] summary { color: var(--brand); }
.faq details[open] summary::after { transform: rotate(-135deg); top: 13px; }
.faq details p { color: var(--ink-2); margin: 10px 0 0; font-size: 14.5px; }

/* ---------- CTA ---------- */
.cta {
  position: relative; overflow: hidden; border-radius: var(--radius-xl); padding: 44px 40px; text-align: center;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  box-shadow: 0 28px 56px -28px rgba(122, 26, 13, 0.65);
}
.cta::before { content: ""; position: absolute; inset: 0; background-image: var(--pattern-lines); pointer-events: none; }
.cta h2 { color: #fff; margin-bottom: 10px; }
.cta p { color: #ffd9d1; max-width: 640px; margin: 0 auto 24px; }
.cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; position: relative; }
.cta .btn-ghost { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.4); color: #fff; }
.cta .btn-ghost:hover { background: rgba(255, 255, 255, 0.22); color: #fff; }

/* ---------- breadcrumb ---------- */
.breadcrumb { font-size: 13px; color: var(--ink-3); padding: 20px 0 0; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 7px; margin: 0; padding: 0; }
.breadcrumb li::after { content: "›"; margin-left: 7px; color: var(--line-strong); }
.breadcrumb li:last-child { color: var(--ink-2); }
.breadcrumb li:last-child::after { content: ""; }

/* ---------- article ---------- */
.article { max-width: 780px; }
.callout { background: var(--gold-soft); border-left: 3px solid var(--gold); border-radius: 0 var(--radius) var(--radius) 0; padding: 14px 18px; color: var(--ink-2); font-size: 14.5px; }
.note { background: var(--bg-soft); border-left: 3px solid var(--brand); border-radius: 0 var(--radius) var(--radius) 0; padding: 14px 18px; color: var(--ink-2); font-size: 14.5px; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13.5px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 5px; padding: 1px 5px; }

/* ---------- form ---------- */
.form { display: grid; gap: 14px; max-width: 560px; }
.form label { font-size: 14px; font-weight: 500; }
.form input, .form select, .form textarea {
  width: 100%; margin-top: 6px; padding: 11px 13px; font: inherit; font-size: 15px;
  border: 1px solid var(--line-strong); border-radius: 10px; background: #fff; color: var(--ink);
}
.form textarea { min-height: 110px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--brand-soft); border-color: var(--brand); }

/* ---------- footer ---------- */
.site-footer { background: #1e2126; color: #c2c8d0; padding: 56px 0 26px; font-size: 14px; border-top: 3px solid var(--brand); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 34px; }
.site-footer h3 { color: #fff; font-size: 14px; margin-bottom: 13px; letter-spacing: 0.04em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: #c2c8d0; }
.site-footer a:hover { color: #fff; text-decoration: none; }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 600; font-size: 16px; margin-bottom: 12px; }
.footer-bottom { border-top: 1px solid #33383f; margin-top: 38px; padding-top: 18px; display: flex; flex-wrap: wrap; gap: 10px 20px; justify-content: space-between; font-size: 13px; color: #8a919b; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { font-size: 33px; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .fc-1 { right: 0; }
  .fc-2 { left: 0; }
}
@media (max-width: 720px) {
  .section { padding: 52px 0; }
  .hero { padding: 52px 0 44px; }
  h1 { font-size: 27px; }
  h2 { font-size: 21px; }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 66px;
    background: #fff; border-bottom: 1px solid var(--line); flex-direction: column;
    align-items: stretch; gap: 0; padding: 10px 22px 18px;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 12px 4px; border-radius: 0; }
  .site-nav .nav-cta { margin: 10px 0 0; text-align: center; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .cta { padding: 30px 22px; }
  .float-card { display: none; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
}

/* ==================== 移动端（H5）自适应增强 ==================== */
/* 全局防横向溢出兜底（hero 等装饰元素外溢时保护整页） */
html, body { overflow-x: clip; }

/* 触屏反馈优化 */
a, button, summary, .btn, .card { -webkit-tap-highlight-color: rgba(24, 27, 32, 0.07); }

/* 表格横向滚动更顺滑（iOS 惯性滚动） */
.table-wrap { -webkit-overflow-scrolling: touch; }

@media (max-width: 720px) {
  /* 顶部公告条：允许换行但更紧凑 */
  .topbar { font-size: 12px; padding: 7px 14px; line-height: 1.6; }

  /* 触控目标 ≥44px：导航汉堡按钮与菜单项 */
  .nav-toggle { width: 44px; height: 44px; }
  .site-nav a { display: flex; align-items: center; min-height: 46px; padding: 10px 6px; font-size: 15px; }
  .site-nav a + a { border-top: 1px solid var(--line); }
  .site-nav .nav-cta { justify-content: center; min-height: 48px; border-top: 0; }

  /* 按钮：高度与字号放大，便于拇指点击 */
  .btn { min-height: 46px; padding: 12px 26px; font-size: 15.5px; }

  /* Hero 按钮组：竖排铺满 */
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }

  /* Hero 手机样机：收紧内边距，屏幕更宽 */
  .phone { padding: 14px 12px 12px; border-radius: 24px; }
  .hero-visual { padding: 10px 0 4px; }

  /* FAQ 折叠面板：整行可点、高度足够 */
  summary { min-height: 44px; display: flex; align-items: center; font-size: 15px; }
  details { padding: 12px 0; }

  /* 功能/场景卡片内边距收紧 */
  .card { padding: 18px 16px; }

  /* 页脚底部链接整行排列，方便点击 */
  .footer-bottom { flex-direction: column; gap: 8px; }
  .footer-bottom a { display: inline-block; padding: 6px 0; }
}

@media (max-width: 480px) {
  /* 内容区横向留白略减，给正文更多宽度 */
  .container { padding: 0 18px; }

  /* 高亮短语允许换行，避免 320px 屏溢出 */
  .hl { white-space: normal; }

  /* CTA 区块按钮竖排铺满 */
  .cta-actions { flex-direction: column; align-items: stretch; }
  .cta-actions .btn { justify-content: center; }

  /* 数字带每项的最小高度保障 */
  .stats > div { padding: 14px 10px; }

  /* 面包屑允许横向滑动而不挤压 */
  .breadcrumb ol { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 4px; }
  .breadcrumb li { flex: none; }
}

/* ==================== 首页 8 卡：4×2 紧凑网格 ==================== */
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card-mini { padding: 18px 16px; display: flex; flex-direction: column; }
.card-mini h3 { font-size: 16px; margin: 12px 0 6px; }
.card-mini p { font-size: 13.5px; line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; flex: 1; }
.card-mini .more { margin-top: 10px; }
@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .grid-4 { grid-template-columns: 1fr; }
  .card-mini p { -webkit-line-clamp: 2; }
}

/* ==================== 图标尺寸加大 ==================== */
/* 首页功能卡：图标与标题横向排列 */
.card-mini-head { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.card-mini-head h3 { margin: 0; font-size: 16.5px; }
.card-mini .chip { margin-bottom: 0; width: 52px; height: 52px; border-radius: 15px; }
.card-mini .chip svg { width: 28px; height: 28px; }
/* 步骤编号保持适中，不随图标一起放大 */
.chip.chip-num { width: 42px; height: 42px; border-radius: 12px; }
@media (max-width: 720px) {
  .card-mini .chip { width: 48px; height: 48px; }
  .card-mini .chip svg { width: 26px; height: 26px; }
  .card-mini-head { gap: 12px; }
}

/* ==================== CTA 小程序码 ==================== */
.cta-row { display: flex; align-items: center; gap: 36px; position: relative; }
.cta-main { flex: 1; min-width: 0; }
.cta-qr { flex: none; display: flex; align-items: center; gap: 14px; background: #fff; border-radius: 16px; padding: 14px 20px 14px 14px; box-shadow: 0 16px 32px -16px rgba(24, 27, 32, 0.4); }
.cta-qr img { width: 96px; height: 96px; display: block; border-radius: 10px; }
.cta-qr span { font-size: 14px; font-weight: 700; color: var(--brand-dark); line-height: 1.6; text-align: left; }
@media (max-width: 720px) {
  .cta-row { flex-direction: column; gap: 22px; }
  .cta-qr { padding: 12px 18px 12px 12px; }
  .cta-qr img { width: 84px; height: 84px; }
}

/* ==================== 顶部「产品功能」下拉 ==================== */
.nav-drop { position: relative; }
.nav-drop-btn {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--ink-2); font-size: 14.5px; padding: 8px 13px; border-radius: 8px;
  background: none; border: 0; cursor: pointer; font-family: inherit; line-height: inherit;
}
.nav-drop-btn:hover { background: var(--bg-red); color: var(--brand); }
.nav-drop-btn .caret { transition: transform 0.16s ease; }
.nav-drop.is-open .caret, .nav-drop:hover .caret, .nav-drop:focus-within .caret { transform: rotate(180deg); }

.nav-drop-menu {
  display: none; position: absolute; top: calc(100% + 6px); left: 50%; transform: translateX(-50%);
  grid-template-columns: 1fr 1fr; gap: 2px; min-width: 336px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 8px;
  box-shadow: var(--shadow); z-index: 60;
}
.nav-drop:hover .nav-drop-menu,
.nav-drop:focus-within .nav-drop-menu,
.nav-drop.is-open .nav-drop-menu { display: grid; }
.nav-drop-menu a {
  display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 9px;
  color: var(--ink-2); font-size: 13.5px; white-space: nowrap;
}
.nav-drop-menu a:hover { background: var(--bg-red); color: var(--brand); text-decoration: none; }
.nav-drop-menu a[aria-current="page"] { background: var(--brand-soft); color: var(--brand); }
.nav-drop-menu a img { display: block; flex: none; }
.nav-drop-all {
  grid-column: 1 / -1; justify-content: center; font-weight: 500;
  border-top: 1px solid var(--line); margin-top: 4px;
}

/* 移动端：下拉菜单在汉堡导航内常开展示 */
@media (max-width: 720px) {
  .nav-drop { width: 100%; }
  .nav-drop-btn {
    width: 100%; justify-content: space-between; padding: 12px 4px; border-radius: 0;
    color: var(--ink); font-weight: 500; pointer-events: none;
  }
  .nav-drop-btn .caret { display: none; }
  .nav-drop-menu {
    position: static; transform: none; display: grid !important;
    min-width: 0; border: 0; border-radius: 0; box-shadow: none; padding: 0 0 8px;
  }
  .nav-drop-menu a { padding: 9px 6px; min-height: 44px; border-radius: 8px; font-size: 14px; }
  .nav-drop-all { border-top: 0; }
}

/* ==================== 功能模块彩色图标（webp） ==================== */
.chip img { display: block; }
.float-card .chip { border-radius: 9px; }
