/* ==========================================================================
   火立方品牌罗盘 FireCube BrandCompass — 设计系统
   专业 · 理性 · 可信赖的 B2B SaaS 观感
   ========================================================================== */

:root {
  /* 颜色 */
  --ink: #0A0F1E;
  --ink-2: #1B2438;
  --muted: #5B667A;
  --muted-2: #8A93A6;
  --line: #E6E9F0;
  --line-2: #EFF2F7;
  --bg: #FFFFFF;
  --bg-soft: #F6F7FB;
  --bg-ink: #0A0F1E;

  --brand: #E0233F;
  --brand-600: #C41C36;
  --brand-700: #A3152C;
  --brand-soft: #FFEDF1;
  --brand-2: #7C3AED;
  --accent: #7C3AED;
  --accent-soft: #F4EEFF;
  --ok: #12B76A;
  --ok-soft: #E8F8F0;

  --grad-hero: radial-gradient(1200px 600px at 15% -10%, #FFE8EE 0%, rgba(255,232,238,0) 60%),
               radial-gradient(900px 500px at 90% 0%, #F1E9FF 0%, rgba(241,233,255,0) 55%);
  --grad-brand: linear-gradient(135deg, #E0233F 0%, #7C3AED 100%);

  /* 排版 */
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
          "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --font-num: "SF Mono", ui-monospace, "Cascadia Code", Consolas, monospace;

  /* 尺寸 */
  --container: 1180px;
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(10,15,30,.05), 0 1px 3px rgba(10,15,30,.04);
  --shadow: 0 6px 24px -8px rgba(10,15,30,.12), 0 2px 8px -4px rgba(10,15,30,.08);
  --shadow-lg: 0 24px 60px -20px rgba(20,30,80,.24);

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink-2);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.02em; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.5rem); letter-spacing: -.03em; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section--soft { background: var(--bg-soft); }
.section--tight { padding: 64px 0; }
.center { text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--brand); border-radius: 2px; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 640px; }
.center .lead { margin-left: auto; margin-right: auto; }
.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 10px; border: 1px solid transparent;
  font-weight: 600; font-size: .95rem; white-space: nowrap;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s, color .18s, border-color .18s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px -8px rgba(224,35,63,.65); }
.btn-primary:hover { background: var(--brand-600); box-shadow: 0 12px 26px -8px rgba(224,35,63,.7); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-2); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { border-color: #CBD2E0; }
.btn-link { padding: 0; color: var(--brand); font-weight: 600; box-shadow: none; background: none; }
.btn-link::after { content: "→"; margin-left: 6px; transition: margin .18s var(--ease); }
.btn-link:hover::after { margin-left: 10px; }
.btn-lg { padding: 15px 28px; font-size: 1rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line-2);
}
.nav { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.08rem; color: var(--ink); letter-spacing: -.02em; }
.brand-mark {
  width: 32px; height: 32px; border-radius: 9px; background: var(--grad-brand);
  display: grid; place-items: center; color: #fff; font-weight: 800; font-size: .95rem;
  box-shadow: 0 6px 16px -6px rgba(224,35,63,.7);
}
.nav-links { display: flex; gap: 26px; margin-left: 12px; }
.nav-links a { font-size: .93rem; font-weight: 500; color: var(--muted); transition: color .16s; }
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }
.nav-toggle span + span { margin-top: 5px; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--grad-hero); overflow: hidden; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(10,15,30,.05) 1px, transparent 1px);
  background-size: 22px 22px; opacity: .5; mask-image: linear-gradient(180deg, #000 20%, transparent 75%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; padding-top: 84px; padding-bottom: 84px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 20px; }
.hero h1 .grad { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: 1.18rem; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.hero-meta { display: flex; gap: 26px; flex-wrap: wrap; color: var(--muted); font-size: .9rem; }
.hero-meta strong { color: var(--ink); font-weight: 700; }

/* Hero 视觉卡片 */
.hero-visual { position: relative; }
.dash {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 20px; transform: perspective(1200px) rotateY(-6deg) rotateX(3deg);
}
.dash-top { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.dash-dot { width: 10px; height: 10px; border-radius: 50%; background: #E3E7F0; }
.dash-dot:first-child { background: #FF5F57; }
.dash-dot:nth-child(2) { background: #FEBC2E; }
.dash-dot:nth-child(3) { background: #28C840; }
.dash-title { margin-left: 8px; font-size: .8rem; color: var(--muted-2); font-weight: 600; }
.dash-score { display: flex; align-items: center; gap: 16px; padding: 16px; background: var(--bg-soft); border-radius: var(--radius); margin-bottom: 16px; }
.score-ring {
  width: 76px; height: 76px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: conic-gradient(var(--brand) 0 82%, #E3E7F0 82% 100%);
}
.score-ring i { width: 60px; height: 60px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-style: normal; font-weight: 800; color: var(--ink); font-size: 1.25rem; }
.score-meta small { display: block; color: var(--muted); font-size: .8rem; margin-bottom: 2px; }
.score-meta b { color: var(--ink); }
.dash-rows { display: grid; gap: 10px; }
.dash-row { display: flex; align-items: center; gap: 12px; font-size: .86rem; color: var(--muted); }
.bar { flex: 1; height: 8px; background: var(--line-2); border-radius: 6px; overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 6px; background: var(--grad-brand); }
.dash-row b { color: var(--ink); font-weight: 700; width: 34px; text-align: right; }

/* ---------- 通用网格/卡片 ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #D8DEEB; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .94rem; margin: 0; }
.icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand); margin-bottom: 16px;
}
.icon svg { width: 22px; height: 22px; }
.icon--accent { background: var(--accent-soft); color: var(--accent); }
.icon--ok { background: var(--ok-soft); color: var(--ok); }

.pill {
  display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: .78rem;
  font-weight: 600; background: var(--brand-soft); color: var(--brand);
}
.pill--accent { background: var(--accent-soft); color: var(--accent); }
.pill--ok { background: var(--ok-soft); color: var(--ok); }

/* ---------- 痛点 ---------- */
.pain { display: flex; gap: 14px; }
.pain b { color: var(--ink); display: block; margin-bottom: 4px; }
.pain p { color: var(--muted); margin: 0; font-size: .94rem; }
.pain .num { font-family: var(--font-num); font-weight: 700; color: var(--brand); font-size: .95rem; }

/* ---------- 分层服务 ---------- */
.tiers { align-items: stretch; }
.tier { display: flex; flex-direction: column; position: relative; }
.tier--featured { border-color: var(--brand); box-shadow: 0 20px 50px -22px rgba(224,35,63,.5); }
.tier-tag { position: absolute; top: -12px; left: 26px; background: var(--brand); color: #fff; font-size: .72rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; letter-spacing: .04em; }
.tier .price { font-size: 2.1rem; font-weight: 800; color: var(--ink); letter-spacing: -.03em; margin: 14px 0 2px; }
.tier .price small { font-size: .85rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.tier ul { margin: 20px 0 26px; display: grid; gap: 11px; }
.tier li { list-style: none; padding-left: 26px; position: relative; font-size: .93rem; color: var(--ink-2); }
.tier li::before {
  content: ""; position: absolute; left: 0; top: .45em; width: 16px; height: 16px;
  background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E0233F' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/11px no-repeat;
  border-radius: 50%;
}
.tier .btn { margin-top: auto; }

/* ---------- 流程 ---------- */
.steps { counter-reset: step; }
.step { position: relative; padding-left: 0; }
.step-num {
  width: 40px; height: 40px; border-radius: 12px; background: var(--ink); color: #fff;
  display: grid; place-items: center; font-weight: 800; margin-bottom: 16px; font-size: .95rem;
}
.step h3 { font-size: 1.05rem; }
.step p { color: var(--muted); font-size: .92rem; margin: 0; }

/* ---------- 文章卡片 ---------- */
.post-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
/* 横向文章卡（列表页用）；窄屏由响应式规则改回竖排 —— 不要写内联 flex-direction */
.post-card--row { flex-direction: row; }
.post-card--row .post-thumb { width: 260px; height: auto; align-self: stretch; flex: none; }
.post-thumb { height: 168px; background: var(--grad-brand); position: relative; overflow: hidden; }
.post-thumb.alt-2 { background: linear-gradient(135deg, #7C3AED 0%, #A855F7 100%); }
.post-thumb.alt-3 { background: linear-gradient(135deg, #E0233F 0%, #FF6B6B 100%); }
.post-thumb.alt-4 { background: linear-gradient(135deg, #1B2438 0%, #3A4A6B 100%); }
.post-thumb::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.22) 1.5px, transparent 1.5px);
  background-size: 16px 16px;
}
.post-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.post-meta { display: flex; gap: 10px; align-items: center; font-size: .78rem; color: var(--muted-2); margin-bottom: 10px; }
.post-body h3 { font-size: 1.08rem; line-height: 1.4; margin-bottom: 8px; }
.post-body p { color: var(--muted); font-size: .9rem; margin: 0 0 16px; }
.post-body .btn-link { margin-top: auto; align-self: flex-start; }

/* 整卡可点（stretched link）：标题链接铺满整张卡片，
   封面、标题、正文留白区域点任意位置都能进文章 —— 只保留一个可访问链接，避免重复读屏 */
.post-card { position: relative; }
.post-title-link { color: inherit; }
.post-title-link:hover { color: var(--brand); }
.post-title-link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
/* 封面图自身也是可点链接（盖在铺满层之上，独立触发） */
.post-thumb-link { position: absolute; inset: 0; z-index: 2; display: block; }
.post-thumb-link:focus-visible { outline: 3px solid #fff; outline-offset: -6px; }
/* 「阅读全文」是真链接，压在铺满层之上，自己处理点击 */
.post-card .post-body .btn-link { position: relative; z-index: 2; }
.post-card:hover .btn-link::after { margin-left: 10px; }



/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative;
  font-weight: 600; color: var(--ink); font-size: 1.02rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  font-size: 1.4rem; color: var(--muted-2); font-weight: 400; transition: transform .2s var(--ease);
}
.faq details[open] summary::after { content: "–"; color: var(--brand); }
.faq .faq-body { padding: 0 44px 24px 0; color: var(--muted); font-size: .95rem; }

/* ---------- CTA 条 ---------- */
.cta-band {
  background: var(--bg-ink); color: #fff; border-radius: var(--radius-lg);
  padding: 60px; text-align: center; position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(600px 300px at 50% -20%, rgba(224,35,63,.55), transparent 70%);
}
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.72); max-width: 560px; margin: 0 auto 28px; }
.cta-band .hero-actions { justify-content: center; }
.cta-band .btn-ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.2); }
.cta-band .btn-ghost:hover { background: rgba(255,255,255,.16); }

/* ---------- 表格 ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table.cmp { width: 100%; border-collapse: collapse; min-width: 680px; background: #fff; }
table.cmp th, table.cmp td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line-2); font-size: .92rem; }
table.cmp thead th { background: var(--bg-soft); font-weight: 700; color: var(--ink); }
table.cmp thead th:nth-child(2) { color: var(--brand); }
table.cmp td:first-child { color: var(--ink); font-weight: 500; }
table.cmp tbody tr:last-child td { border-bottom: 0; }
.tick { color: var(--ok); font-weight: 800; }
.cross { color: var(--muted-2); }

/* ---------- 表单 ---------- */
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-size: .88rem; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
  font: inherit; font-size: .94rem; color: var(--ink-2); background: #fff; transition: border-color .16s, box-shadow .16s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(224,35,63,.12);
}
.field textarea { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ---------- 文章正文 ---------- */
.article { max-width: 760px; margin: 0 auto; }
.article-head { padding: 56px 0 34px; border-bottom: 1px solid var(--line); margin-bottom: 40px; }
.breadcrumb { font-size: .84rem; color: var(--muted-2); margin-bottom: 18px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--brand); }
.article-head h1 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.article-body { font-size: 1.06rem; color: var(--ink-2); }
.article-body h2 { font-size: 1.5rem; margin-top: 2em; }
.article-body h3 { font-size: 1.18rem; margin-top: 1.6em; }
.article-body p { color: #2C3648; }
.article-body ul, .article-body ol { margin: 0 0 1.2em; padding-left: 1.3em; display: grid; gap: 8px; color: #2C3648; }
.article-body li { list-style: disc; }
.article-body ol li { list-style: decimal; }
.article-body blockquote {
  margin: 1.6em 0; padding: 4px 22px; border-left: 3px solid var(--brand);
  background: var(--bg-soft); border-radius: 0 10px 10px 0; color: var(--ink-2); font-style: normal;
}
.article-body code { font-family: var(--font-num); background: var(--bg-soft); padding: 2px 6px; border-radius: 6px; font-size: .9em; }
.callout {
  border: 1px solid var(--line); border-left: 3px solid var(--brand); background: #fff;
  border-radius: 12px; padding: 20px 24px; margin: 1.6em 0;
}
.callout b { color: var(--ink); }
.article-foot { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.tag-row { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- 侧栏布局 ---------- */
.layout-side { display: grid; grid-template-columns: 1fr 300px; gap: 48px; align-items: start; }
.side-card { background: var(--bg-soft); border-radius: var(--radius); padding: 22px; }
.side-card h4 { font-size: .95rem; margin-bottom: 12px; }
.side-card ul { display: grid; gap: 10px; }
.side-card li { list-style: none; font-size: .9rem; }
.side-card li a { color: var(--muted); }
.side-card li a:hover { color: var(--brand); }
.sticky { position: sticky; top: 90px; }

/* ---------- 统计条 ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat b { display: block; font-size: 2rem; font-weight: 800; color: var(--ink); letter-spacing: -.03em; font-family: var(--font-num); }
.stat span { color: var(--muted); font-size: .9rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-ink); color: rgba(255,255,255,.62); padding: 64px 0 32px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.site-footer p { font-size: .9rem; max-width: 300px; }
.footer-col h4 { color: #fff; font-size: .86rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col li { list-style: none; font-size: .9rem; }
.footer-col a { color: rgba(255,255,255,.62); transition: color .16s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 48px; padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .84rem; }

/* ==========================================================================
   响应式
   断点：980（平板收栅格）／760（手机）／380（小屏手机）
   ========================================================================== */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .dash { transform: none; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .layout-side { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .sticky { position: static; }
  .post-card--row .post-thumb { width: 190px; }
}

@media (max-width: 760px) {
  /* --- 版面节奏 --- */
  .container { padding: 0 18px; }
  .section { padding: 52px 0; }
  .section--tight { padding: 40px 0; }
  .section-head { margin-bottom: 30px; }
  .lead { font-size: 1.02rem; }

  /* --- 顶部导航 --- */
  .nav { gap: 10px; height: 60px; }
  .brand { font-size: 1rem; gap: 8px; }
  .brand-mark { width: 30px; height: 30px; border-radius: 8px; font-size: .9rem; }
  .nav-links { display: none; }
  .nav-cta { margin-left: auto; gap: 8px; }
  .nav-cta .btn-ghost { display: none; }
  .nav-cta .btn-primary { padding: 9px 14px; font-size: .88rem; }
  .nav-toggle { display: block; margin-left: 0; }

  /* 移动端下拉菜单（JS 切换 .is-open）；点击区域加高，方便手指点 */
  .nav-links.is-open {
    display: flex; position: absolute; top: 60px; left: 0; right: 0;
    flex-direction: column; gap: 0; margin-left: 0;
    background: #fff; padding: 6px 18px 12px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px -18px rgba(10,15,30,.35);
  }
  .nav-links.is-open a {
    font-size: .98rem; font-weight: 600; color: var(--ink);
    padding: 14px 2px; border-bottom: 1px solid var(--line-2);
  }
  .nav-links.is-open a:last-child { border-bottom: 0; }

  /* --- 栅格一律单列 --- */
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .stat b { font-size: 1.7rem; }

  /* --- 卡片内边距收紧 --- */
  .card { padding: 20px; }
  .icon { width: 40px; height: 40px; margin-bottom: 12px; }
  .post-body { padding: 18px; }
  /* 横向卡改竖排：否则 260px 封面图会把正文挤成一条缝 */
  .post-card--row { flex-direction: column; }
  .post-card--row .post-thumb { width: 100%; height: 150px; align-self: auto; }

  /* --- Hero --- */
  .hero .container { padding-top: 44px; padding-bottom: 48px; }
  .hero h1 { font-size: 2rem; }
  .hero .lead { font-size: 1.04rem; }
  .hero-grid { gap: 32px; }
  .hero-actions { gap: 10px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-meta { gap: 12px 20px; font-size: .86rem; }
  .dash { padding: 16px; }
  .dash-score { padding: 14px; gap: 12px; }
  .score-ring { width: 66px; height: 66px; }
  .score-ring i { width: 52px; height: 52px; font-size: 1.1rem; }
  .dash-row { font-size: .82rem; gap: 10px; }
  .dash-row b { width: 30px; }

  /* --- 定价 / CTA --- */
  .tier .price { font-size: 1.85rem; }
  .tier-tag { left: 20px; }
  .cta-band { padding: 36px 20px; }
  /* 对比表横向滚动，且贴边利用整屏宽度 */
  .table-wrap { margin: 0 -18px; border-radius: 0; border-left: 0; border-right: 0; }
  table.cmp th, table.cmp td { padding: 13px 16px; font-size: .88rem; }

  /* --- FAQ --- */
  .faq summary { padding: 18px 34px 18px 0; font-size: .97rem; }
  .faq .faq-body { padding: 0 10px 20px 0; font-size: .93rem; }

  /* --- 文章页 --- */
  .article-head { padding: 32px 0 24px; margin-bottom: 28px; }
  .article-head h1 { font-size: 1.6rem; }
  .breadcrumb { font-size: .8rem; }
  .article-body { font-size: 1.02rem; }
  .article-body h2 { font-size: 1.3rem; margin-top: 1.7em; }
  .article-body h3 { font-size: 1.09rem; margin-top: 1.4em; }
  .article-body ul, .article-body ol { padding-left: 1.1em; }
  .article-body blockquote { padding: 2px 16px; }
  .callout { padding: 16px 18px; }
  .article-foot { margin-top: 34px; gap: 14px; }

  /* --- 侧栏 --- */
  .layout-side { gap: 28px; }
  .side-card { padding: 18px; }

  /* --- 表单：iOS 上字号 <16px 会触发聚焦自动放大 --- */
  .field input, .field select, .field textarea { font-size: 16px; }
  .field textarea { min-height: 104px; }

  /* --- 页脚 --- */
  .site-footer { padding: 44px 0 26px; }
  .site-footer p { max-width: none; }
  .footer-bottom { margin-top: 32px; flex-direction: column; gap: 8px; }

  /* --- 防溢出兜底：长英文/链接不撑破版面 --- */
  .article-body, .card, .post-body, .callout { overflow-wrap: break-word; }
  .article-body code { word-break: break-word; }
}

@media (max-width: 380px) {
  .brand { font-size: .92rem; }
  .nav-cta .btn-primary { padding: 8px 12px; font-size: .84rem; }
  .hero h1 { font-size: 1.82rem; }
  .hero-actions .btn { font-size: .95rem; }
}
