/* =================================================================
   思辨教练体系 · 七力觉醒系列 — 站点设计系统
   设计方向：医学逻辑的严谨感 × 编辑式克制（Editorial Precision）
   原则：视觉不是"好看"，是让用户在 0.3 秒认出"这是思辨教练体系·七力觉醒系列"
   品牌架构锁死项：总品牌=思辨教练体系 / 系列=七力觉醒（系列1）/ 七力顺序固定
   ================================================================= */

/* ---------- 0. 设计令牌 Design Tokens ---------- */
:root {
  /* 总品牌主色（系列无关，冻结） */
  --brand-primary: #1B3A5B;   /* 思辨蓝：理性、深邃 */
  --brand-primary-700: #15304B;
  --brand-primary-600: #244B72;
  --brand-primary-300: #6E8BAA;
  --brand-accent: #E0A458;    /* 觉醒金：点亮、资产感 */
  --brand-accent-600: #C98C3A;
  --brand-accent-100: #F6E6CC;
  --brand-ink: #2B2B2B;       /* 正文墨色 */
  --brand-ink-soft: #4A4A4A;  /* 次级正文 */
  --brand-paper: #F7F5F0;     /* 暖纸底 */
  --brand-paper-2: #FFFFFF;   /* 卡片暖白 */
  --brand-muted: #8A8A8A;     /* 弱文本 */
  --brand-line: rgba(27,58,91,.12);
  --brand-line-strong: rgba(27,58,91,.22);

  /* 七力固定色谱（七力觉醒系列专属资产 · 全站锁死） */
  --f-decision:  #1B3A5B;  /* 决策力 · 深蓝·定盘 */
  --f-thinking:  #2E6F95;  /* 思辨力 · 蓝·探究 */
  --f-aesthetic: #B56576;  /* 审美力 · 品红·质感 */
  --f-marketing: #F4A261;  /* 营销力 · 橙·活力 */
  --f-question:  #2A9D8F;  /* 提问力 · 青·追问 */
  --f-talent:    #E9C46A;  /* 天赋力 · 金·点亮 */
  --f-rebuild:   #7B6CD9;  /* 重构力 · 紫·蜕变 */

  --f-order: "决策力","思辨力","审美力","营销力","提问力","天赋力","重构力";

  /* 字体（Web 可用等价：Noto Serif/Sans SC；本地回落 PingFang/雅黑） */
  --font-serif: "Noto Serif SC","Source Han Serif SC","Songti SC",serif;
  --font-sans:  "Noto Sans SC","Source Han Sans SC","PingFang SC","Microsoft YaHei",sans-serif;

  /* 流式字号 */
  --fs-eyebrow: .8rem;
  --fs-body: 1rem;
  --fs-lead: clamp(1.05rem, 1.4vw, 1.2rem);
  --fs-h3: clamp(1.25rem, 2vw, 1.6rem);
  --fs-h2: clamp(1.7rem, 3.4vw, 2.6rem);
  --fs-h1: clamp(2.2rem, 5vw, 3.6rem);
  --fs-hero: clamp(2.6rem, 7vw, 5rem);

  /* 间距（4px 基 · 编辑式变化） */
  --sp-1: .25rem; --sp-2: .5rem; --sp-3: .75rem; --sp-4: 1rem;
  --sp-5: 1.5rem; --sp-6: 2rem; --sp-7: 3rem; --sp-8: 4.5rem; --sp-9: 7rem;

  /* 圆角（克制） */
  --r-sm: 6px; --r-md: 12px; --r-lg: 20px;

  /* 阴影（柔和 · 非发光） */
  --sh-1: 0 1px 2px rgba(27,58,91,.06), 0 6px 18px rgba(27,58,91,.05);
  --sh-2: 0 2px 4px rgba(27,58,91,.07), 0 18px 40px rgba(27,58,91,.08);
  --sh-focus: 0 0 0 3px rgba(224,164,88,.45);

  /* 动效（指数缓动，非回弹） */
  --ease: cubic-bezier(.22, 1, .36, 1);
  --dur: .6s;

  --maxw: 1180px;
}

/* ---------- 1. Reset & Base ---------- */
*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.75;
  color: var(--brand-ink);
  background: var(--brand-paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1,h2,h3,h4 { font-family: var(--font-serif); font-weight: 700; line-height: 1.2; color: var(--brand-primary); letter-spacing: -.01em; margin: 0; }
p { margin: 0 0 var(--sp-4); }
a { color: inherit; text-decoration: none; }
img,svg { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: none; box-shadow: var(--sh-focus); border-radius: var(--r-sm); }

/* ---------- 2. Layout primitives ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--sp-5); }
.section { padding-block: var(--sp-8); }
.section--tight { padding-block: var(--sp-7); }
.grid { display: grid; gap: var(--sp-5); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px){ .cols-2,.cols-3,.cols-4 { grid-template-columns: 1fr; } }

/* 视频号尺寸的视频位（9:16 竖屏）—— 按需求缩小 20% */
.video-grid {
  grid-template-columns: repeat(2, 1fr); gap: var(--sp-5);
  max-width: 784px; margin-inline: auto;   /* 980px → 784px（缩小 20%） */
}
.video-slot {
  position: relative; aspect-ratio: 9 / 16; max-width: 100%; width: 100%; min-height: 448px;  /* 560px → 448px（缩小 20%） */
  background: var(--brand-paper-2); border: 1px solid var(--brand-line); border-radius: var(--r-md);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .8em;
  overflow: hidden;
}
.video-slot .vs-no { position: absolute; top: 12px; left: 14px; font-family: var(--font-serif); font-weight: 700; color: var(--brand-muted); font-size: .9rem; }
.video-slot .vs-play { width: 64px; height: 64px; border-radius: 50%; background: var(--brand-primary); color: #fff; display: grid; place-items: center; font-size: 1.3rem; }
.video-slot .vs-name { font-size: 1.05rem; color: var(--brand-primary); font-weight: 600; }
.video-slot .vs-tag { font-size: .85rem; color: var(--brand-muted); }
.video-slot iframe, .video-slot .video-embed {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: var(--r-md);
}
@media (max-width: 900px){ .video-grid { grid-template-columns: repeat(2, 1fr); } .video-slot { min-height: 336px; } }  /* 420px → 336px */
@media (max-width: 560px){ .video-slot { min-height: 288px; } }  /* 360px → 288px */

/* 关闭某页 hero 装饰光斑（如 FAQ 顶部避免留白色块） */
.no-hero-deco::before { display: none !important; }

/* 编辑式栏目标签 01 / 系列 */
.eyebrow {
  font-family: var(--font-sans); font-size: var(--fs-eyebrow); font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase; color: var(--brand-accent-600);
  display: inline-flex; align-items: center; gap: .6em;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--brand-accent); display: inline-block; }
.rule { height: 1px; background: var(--brand-line); border: 0; margin: 0; }
.lead { font-size: var(--fs-lead); color: var(--brand-ink-soft); max-width: 60ch; }
.muted { color: var(--brand-muted); }
.accent { color: var(--brand-accent-600); }

/* ---------- 3. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--font-sans); font-weight: 600; font-size: .98rem;
  padding: .85em 1.5em; border-radius: var(--r-sm); cursor: pointer;
  border: 1.5px solid transparent; transition: transform var(--dur) var(--ease), background var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--brand-primary); color: #fff; box-shadow: var(--sh-1); }
.btn-primary:hover { background: var(--brand-primary-700); box-shadow: var(--sh-2); }
.btn-primary .arrow { color: var(--brand-accent); }
.btn-accent { background: var(--brand-accent); color: var(--brand-primary); }
.btn-accent:hover { background: var(--brand-accent-600); }
.btn-ghost { background: transparent; color: var(--brand-primary); border-color: var(--brand-line-strong); }
.btn-ghost:hover { border-color: var(--brand-primary); background: rgba(27,58,91,.04); }
.btn-sm { padding: .6em 1.1em; font-size: .9rem; }
.btn-block { width: 100%; }

/* ---------- 4. Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--brand-paper) 86%, transparent);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--brand-line);
}
.nav { display: flex; align-items: center; gap: var(--sp-5); height: 72px; }
.brand { display: inline-flex; align-items: center; line-height: 1; text-decoration: none; }
.brand img { height: 64px; width: auto; display: block; border-radius: 6px; }
.brand-mark { font-family: var(--font-serif); font-weight: 700; font-size: 1.18rem; color: var(--brand-primary); letter-spacing: -.01em; }
.brand-series {
  font-size: .68rem; letter-spacing: .14em; color: var(--brand-accent-600);
  font-weight: 600; margin-top: 2px;
}
.brand-series::before { content: "系列 "; opacity: .6; }
.nav-links { display: flex; gap: var(--sp-5); margin-left: auto; font-size: .95rem; }
.nav-links a { color: var(--brand-ink-soft); font-weight: 500; position: relative; padding-block: .3em; transition: color var(--dur) var(--ease); }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--brand-accent); transition: width var(--dur) var(--ease); }
.nav-links a:hover, .nav-links a.is-active { color: var(--brand-primary); }
.nav-links a:hover::after, .nav-links a.is-active::after { width: 100%; }
.nav-cta { margin-left: var(--sp-2); }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.6rem; color: var(--brand-primary); cursor: pointer; }

@media (max-width: 980px){
  .nav-toggle { display: block; margin-left: auto; }
  .nav-links {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; gap: 0;
    background: var(--brand-paper-2); border-bottom: 1px solid var(--brand-line);
    padding: var(--sp-4) var(--sp-5); transform: translateY(-120%); transition: transform var(--dur) var(--ease);
    box-shadow: var(--sh-2);
  }
  .nav-links.is-open { transform: translateY(0); }
  .nav-links a { padding: .8em 0; border-bottom: 1px solid var(--brand-line); }
  .nav-cta { display: none; }
}

/* ---------- 5. Hero (editorial asymmetric) ---------- */
.hero { position: relative; overflow: hidden; }
/* 需求①：移除各页右上角的装饰方块（FAQ 已用 .no-hero-deco 关闭，这里全局关闭确保一致） */
.hero::before { display: none; }
.hero-grid {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: var(--sp-7); align-items: center;
  padding-block: var(--sp-9) var(--sp-8);
}
.hero h1 { font-size: var(--fs-hero); margin-bottom: var(--sp-4); }
.hero h1 .underline { position: relative; white-space: nowrap; }
.hero h1 .underline::after { content: ""; position: absolute; left: 0; right: 0; bottom: .08em; height: .09em; background: var(--brand-accent); border-radius: 2px; }
.hero .lead { margin-bottom: var(--sp-5); max-width: 46ch; }
.hero-cta { display: flex; gap: var(--sp-3); flex-wrap: wrap; }
.hero-visual { position: relative; }
.hero-eyebrow-row { display: flex; align-items: center; gap: var(--sp-3); margin-bottom: var(--sp-4); }
.trust-strip { display: flex; gap: var(--sp-5); margin-top: var(--sp-6); flex-wrap: wrap; }
.trust-strip .t { display: flex; flex-direction: column; }
.trust-strip .t b { font-family: var(--font-serif); font-size: 1.5rem; color: var(--brand-primary); }
.trust-strip .t span { font-size: .82rem; color: var(--brand-muted); }
@media (max-width: 900px){ .hero-grid { grid-template-columns: 1fr; gap: var(--sp-6); } }

/* ---------- 6. Force spectrum (品牌签名色带) ---------- */
.force-band { display: flex; height: 8px; border-radius: 4px; overflow: hidden; }
.force-band i { flex: 1; }
.force-band i:nth-child(1){ background: var(--f-decision); }
.force-band i:nth-child(2){ background: var(--f-thinking); }
.force-band i:nth-child(3){ background: var(--f-aesthetic); }
.force-band i:nth-child(4){ background: var(--f-marketing); }
.force-band i:nth-child(5){ background: var(--f-question); }
.force-band i:nth-child(6){ background: var(--f-talent); }
.force-band i:nth-child(7){ background: var(--f-rebuild); }

/* 七力模型区块 */
.forces { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--sp-4); }
.force-card {
  background: var(--brand-paper-2); border: 1px solid var(--brand-line); border-radius: var(--r-md);
  padding: var(--sp-5); position: relative; overflow: hidden; transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.force-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--fc, var(--brand-primary)); }
.force-card:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }
.force-card .idx { font-family: var(--font-serif); font-size: .8rem; color: var(--brand-muted); font-weight: 600; }
.force-card h3 { font-size: 1.25rem; margin: .3em 0 .4em; }
.force-card .dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--fc); margin-right: .5em; vertical-align: middle; }
.force-card p { font-size: .92rem; color: var(--brand-ink-soft); margin: 0; }

/* ---------- 7. Radar (SVG 签名视觉) ---------- */
.radar-wrap { display: grid; grid-template-columns: 1fr; gap: var(--sp-4); align-items: center; }
.radar-card {
  background: var(--brand-paper-2); border: 1px solid var(--brand-line); border-radius: var(--r-lg);
  padding: var(--sp-5); box-shadow: var(--sh-1);
}
.radar-svg { width: 100%; height: auto; }
.radar-axis { stroke: var(--brand-line); stroke-width: 1; }
.radar-ring { fill: none; stroke: var(--brand-line); stroke-width: 1; }
.radar-poly { fill: rgba(224,164,88,.18); stroke: var(--brand-accent); stroke-width: 2; stroke-linejoin: round; }
.radar-dot { fill: var(--brand-accent); }
.radar-label { font-family: var(--font-sans); font-size: 12px; fill: var(--brand-ink-soft); font-weight: 600; }
.radar-poly.draw { stroke-dasharray: 1200; stroke-dashoffset: 1200; animation: draw var(--dur) var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce){ .radar-poly.draw { animation: none; stroke-dashoffset: 0; } *{ scroll-behavior: auto !important; } }

/* ---------- 8. Cards: testimonial / pricing / generic ---------- */
.card { background: var(--brand-paper-2); border: 1px solid var(--brand-line); border-radius: var(--r-md); padding: var(--sp-5); box-shadow: var(--sh-1); }
.testimonial { position: relative; }
.testimonial blockquote { font-family: var(--font-serif); font-size: 1.15rem; line-height: 1.7; color: var(--brand-primary); margin: 0 0 var(--sp-4); }
.testimonial .who { font-size: .9rem; color: var(--brand-muted); }
.testimonial .who b { color: var(--brand-ink); font-weight: 600; }
.testimonial .mark { font-family: var(--font-serif); font-size: 3rem; color: var(--brand-accent-100); line-height: 0; position: absolute; top: 12px; right: 16px; }

.price-card { background: var(--brand-paper-2); border: 1px solid var(--brand-line); border-radius: var(--r-lg); padding: var(--sp-6); display: flex; flex-direction: column; gap: var(--sp-4); position: relative; }
.price-card.is-feature { border-color: var(--brand-primary); box-shadow: var(--sh-2); }
.price-card .tier { font-size: .85rem; letter-spacing: .14em; color: var(--brand-accent-600); font-weight: 600; }
.price-card .name { font-family: var(--font-serif); font-size: 1.5rem; color: var(--brand-primary); }
.price-card .price { font-family: var(--font-serif); font-size: 2.4rem; color: var(--brand-primary); }
.price-card .price small { font-size: .9rem; color: var(--brand-muted); font-family: var(--font-sans); }
.price-card ul { display: grid; gap: .6em; font-size: .95rem; color: var(--brand-ink-soft); }
.price-card li { display: flex; gap: .6em; }
.price-card li::before { content: "✓"; color: var(--f-question); font-weight: 700; }

/* 双品牌标（作品卡/结果卡） */
.brandlock { display: inline-flex; align-items: center; gap: .5em; font-size: .8rem; color: var(--brand-primary); font-weight: 600; }
.brandlock .b1 { font-family: var(--font-serif); }
.brandlock .b2 { color: var(--brand-accent-600); }
.brandlock .b2::before { content: "·"; color: var(--brand-muted); margin-right: .4em; }

/* ---------- 9. Feature blocks / steps ---------- */
.feature { display: flex; gap: var(--sp-4); align-items: flex-start; }
.feature .num { font-family: var(--font-serif); font-size: 1.6rem; color: var(--brand-accent); font-weight: 700; line-height: 1; min-width: 2ch; }
.feature h3 { font-size: 1.2rem; }
.steps { counter-reset: step; display: grid; gap: var(--sp-5); }
.step { display: grid; grid-template-columns: auto 1fr; gap: var(--sp-4); align-items: start; }
.step .badge { counter-increment: step; width: 44px; height: 44px; border-radius: 50%; background: var(--brand-primary); color: #fff; display: grid; place-items: center; font-family: var(--font-serif); font-weight: 700; }
.step .badge::before { content: counter(step); }
.step h3 { font-size: 1.15rem; margin-bottom: .3em; }

/* 长方形卡片（替代步骤圆点，用于首页四段/四大支柱、21天三阶段）—— 参考图：纯色实心+白底交替，右下角大艺术数字水印 */
.bar-cards { display: grid !important; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin-top: var(--sp-6); }
.bar-card { position: relative !important; overflow: hidden !important; display: block !important; background: #fff; border: 1px solid var(--brand-line); border-radius: 16px !important; padding: 1.5rem 1.4rem 1.6rem !important; min-height: 160px !important; transition: box-shadow .2s, transform .2s; }
.bar-card:hover { box-shadow: 0 10px 28px rgba(15,23,42,.14) !important; transform: translateY(-4px) !important; }
.bar-card .bar-num { position: absolute !important; right: .5rem !important; bottom: -.2rem !important; font-family: Georgia, 'Noto Serif SC', serif !important; font-weight: 900 !important; font-size: clamp(80px, 11vw, 140px) !important; line-height: .85 !important; z-index: 0 !important; pointer-events: none !important; user-select: none !important; letter-spacing: -.02em; }
.bar-card .bar-body { position: relative !important; z-index: 1 !important; }
.bar-card .bar-body h3 { font-size: 1.12rem !important; margin: 0 0 .45em !important; line-height: 1.35 !important; }
.bar-card .bar-body p { margin: 0 !important; font-size: .9rem !important; line-height: 1.65 !important; }

/* 四框配色（参考图八力卡前四色）：暖橙 / 白 / 玫红 / 白 */
.bar-card:nth-child(1) { background: #fb923c !important; border-color: #fb923c !important; }
.bar-card:nth-child(1) .bar-body h3 { color: #fff !important; }
.bar-card:nth-child(1) .bar-body p { color: rgba(255,255,255,.88) !important; }
.bar-card:nth-child(1) .bar-num { color: rgba(255,255,255,.18) !important; }

.bar-card:nth-child(2) { background: #fff !important; border-color: #e5e7eb !important; }
.bar-card:nth-child(2) .bar-num { color: rgba(15,23,42,.07) !important; }

.bar-card:nth-child(3) { background: #f472b6 !important; border-color: #f472b6 !important; }
.bar-card:nth-child(3) .bar-body h3 { color: #fff !important; }
.bar-card:nth-child(3) .bar-body p { color: rgba(255,255,255,.88) !important; }
.bar-card:nth-child(3) .bar-num { color: rgba(255,255,255,.18) !important; }

.bar-card:nth-child(4) { background: #fff !important; border-color: #e5e7eb !important; }
.bar-card:nth-child(4) .bar-num { color: rgba(15,23,42,.07) !important; }

/* 四大支柱专属配色（参考图：白 / 青绿 / 白 / 紫蓝） */
.bar-cards--pillars .bar-card:nth-child(1) { background: #fff !important; border-color: #e5e7eb !important; }
.bar-cards--pillars .bar-card:nth-child(1) .bar-body h3 { color: var(--brand-primary) !important; }
.bar-cards--pillars .bar-card:nth-child(1) .bar-body p { color: var(--brand-ink-soft) !important; }
.bar-cards--pillars .bar-card:nth-child(1) .bar-num { color: rgba(15,23,42,.07) !important; }
.bar-cards--pillars .bar-card:nth-child(2) { background: #06b6d4 !important; border-color: #06b6d4 !important; }
.bar-cards--pillars .bar-card:nth-child(2) .bar-body h3 { color: #fff !important; }
.bar-cards--pillars .bar-card:nth-child(2) .bar-body p { color: rgba(255,255,255,.88) !important; }
.bar-cards--pillars .bar-card:nth-child(2) .bar-num { color: rgba(255,255,255,.18) !important; }
.bar-cards--pillars .bar-card:nth-child(3) { background: #fff !important; border-color: #e5e7eb !important; }
.bar-cards--pillars .bar-card:nth-child(3) .bar-body h3 { color: var(--brand-primary) !important; }
.bar-cards--pillars .bar-card:nth-child(3) .bar-body p { color: var(--brand-ink-soft) !important; }
.bar-cards--pillars .bar-card:nth-child(3) .bar-num { color: rgba(15,23,42,.07) !important; }
.bar-cards--pillars .bar-card:nth-child(4) { background: #6366f1 !important; border-color: #6366f1 !important; }
.bar-cards--pillars .bar-card:nth-child(4) .bar-body h3 { color: #fff !important; }
.bar-cards--pillars .bar-card:nth-child(4) .bar-body p { color: rgba(255,255,255,.88) !important; }
.bar-cards--pillars .bar-card:nth-child(4) .bar-num { color: rgba(255,255,255,.18) !important; }

@media (max-width: 900px) { .bar-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .bar-cards { grid-template-columns: 1fr; } }

/* ---------- 10. Forms ---------- */
.field { display: flex; flex-direction: column; gap: .4em; margin-bottom: var(--sp-4); }
.field label { font-size: .9rem; font-weight: 600; color: var(--brand-primary); }
.field input, .field textarea, .field select {
  font-family: var(--font-sans); font-size: 1rem; padding: .8em 1em;
  border: 1.5px solid var(--brand-line-strong); border-radius: var(--r-sm); background: #fff; color: var(--brand-ink);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--brand-primary); box-shadow: var(--sh-focus); outline: none; }
.field .hint { font-size: .8rem; color: var(--brand-muted); }

/* ---------- 11. Test quiz ---------- */
.quiz-progress { height: 6px; background: var(--brand-line); border-radius: 3px; overflow: hidden; margin-bottom: var(--sp-5); }
.quiz-progress i { display: block; height: 100%; width: 0; background: var(--brand-accent); transition: width var(--dur) var(--ease); }
.quiz-q { font-family: var(--font-serif); font-size: 1.35rem; color: var(--brand-primary); margin-bottom: var(--sp-5); }
.opt { display: block; width: 100%; text-align: left; padding: .9em 1.1em; margin-bottom: .6em; border: 1.5px solid var(--brand-line-strong); border-radius: var(--r-sm); background: #fff; cursor: pointer; font-size: 1rem; font-family: var(--font-sans); transition: all var(--dur) var(--ease); }
.opt:hover { border-color: var(--brand-primary); transform: translateX(3px); }
.opt.is-picked { border-color: var(--brand-accent); background: var(--brand-accent-100); }
.quiz-stage { display: none; }
.quiz-stage.is-active { display: block; animation: fade .4s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- 12. Footer ---------- */
/* 左侧品牌列 + 右侧行式菜单（左侧标签 + 右侧横排项目） */
.site-footer { background: var(--brand-primary); color: #cfe0ee; margin-top: var(--sp-9); padding-block: var(--sp-8) var(--sp-6); }
.site-footer a { color: #cfe0ee; }
.site-footer .container {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr);
  gap: var(--sp-7);
  align-items: stretch;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
}
.footer-menus {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--sp-5);
  min-width: 0;
}
.footer-row {
  display: grid;
  grid-template-columns: 7em 1fr;
  gap: var(--sp-5);
  align-items: baseline;
}
.footer-row-label {
  color: #fff;
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .02em;
  white-space: nowrap;
  line-height: 1.4;
}
.footer-row-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2) var(--sp-5);
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: .92rem;
}
.footer-row-links li { margin: 0; padding: 0; line-height: 1.4; }
.footer-row-links a { color: #cfe0ee; transition: color .2s var(--ease); }
.footer-row-links a:hover { color: var(--brand-accent); }
.site-footer .brand-mark { color: #fff; font-size: 1.3rem; }
.site-footer .brand-series { color: var(--brand-accent); }
.footer-qr { display: flex; gap: var(--sp-4); margin-top: var(--sp-5); flex-wrap: wrap; }
.footer-qr > div { display: flex; flex-direction: column; align-items: center; gap: .5em; }
.footer-qr img { width: 88px; height: 88px; border-radius: var(--r-sm); background: #fff; padding: 4px; object-fit: contain; }
.footer-qr span { font-size: .75rem; color: #9fb6c9; text-align: center; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.15); margin-top: var(--sp-6); padding-top: var(--sp-5); grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: var(--sp-4); font-size: .82rem; color: #9fb6c9; }
.footer-bottom a { color: #9fb6c9; }
.footer-bottom a:hover { color: var(--brand-accent); }
@media (max-width: 900px){
  .site-footer .container { grid-template-columns: 1fr; gap: var(--sp-6); }
  .footer-row { grid-template-columns: 6.5em 1fr; gap: var(--sp-4); }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px){
  .footer-row { grid-template-columns: 1fr; gap: var(--sp-2); }
  .footer-row-label { margin-bottom: .25em; }
  .footer-qr img { width: 76px; height: 76px; }
}

/* ---------- 13. Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce){ .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- 14. Utility ---------- */
.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }
.mt-4 { margin-top: var(--sp-4); } .mt-6 { margin-top: var(--sp-6); } .mt-8 { margin-top: var(--sp-8); }
.mb-2 { margin-bottom: var(--sp-2); } .mb-4 { margin-bottom: var(--sp-4); } .mb-6 { margin-bottom: var(--sp-6); }
.sec-head { max-width: 64ch; margin-bottom: var(--sp-7); }
.sec-head h2 { font-size: var(--fs-h2); margin: var(--sp-3) 0; }
/* 需求②：首页"用可验证的改变，建立信任资产"单行显示（极窄屏回退为可换行，避免横向溢出） */
.single-line { white-space: nowrap; }
@media (max-width: 420px){ .single-line { white-space: normal; } }
.tag { display: inline-block; font-size: .78rem; padding: .25em .8em; border-radius: 999px; background: var(--brand-accent-100); color: var(--brand-primary); font-weight: 600; margin: .2em; }
.callout { background: var(--brand-paper-2); border-left: 4px solid var(--brand-accent); border-radius: var(--r-sm); padding: var(--sp-5); }
.callout.compliance { border-left-color: var(--f-question); }

/* ---------- 15. 文章汇总页 ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: var(--sp-6); border-bottom: 1px solid var(--brand-line); padding-bottom: var(--sp-5); }
.filter-btn { font: inherit; font-size: .9rem; padding: .45em 1.1em; border: 1px solid var(--brand-line); background: #fff; color: var(--brand-muted); border-radius: 999px; cursor: pointer; transition: all .2s var(--ease); }
.filter-btn:hover { border-color: var(--brand-primary); color: var(--brand-primary); }
.filter-btn.is-active { background: var(--brand-primary); border-color: var(--brand-primary); color: #fff; }

.article-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-5); }
@media (max-width: 760px){ .article-list { grid-template-columns: 1fr; } }
.article-card { display: block; background: #fff; border: 1px solid var(--brand-line); border-left: 4px solid var(--ac, var(--brand-primary)); border-radius: var(--r-md); padding: var(--sp-5); text-decoration: none; color: inherit; transition: box-shadow .25s var(--ease), transform .25s var(--ease); }
.article-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-bottom: .6em; }
.article-date { font-size: .82rem; color: var(--brand-muted); font-variant-numeric: tabular-nums; }
.article-card .chip { font-size: .76rem; padding: .2em .75em; border-radius: 999px; background: color-mix(in srgb, var(--ac, var(--brand-primary)) 14%, #fff); color: var(--ac, var(--brand-primary)); font-weight: 600; }
.article-card h3 { font-size: 1.18rem; line-height: 1.4; margin: .1em 0 .4em; }
.article-card .read-more { display: inline-block; margin-top: .8em; color: var(--brand-primary); font-weight: 600; font-size: .92rem; }
.article-note { font-size: .85rem; margin-top: var(--sp-6); padding-top: var(--sp-4); border-top: 1px dashed var(--brand-line); }
.article-note code { background: var(--brand-paper-2); padding: .1em .4em; border-radius: 4px; font-size: .82em; }
.cta-row { display: flex; flex-wrap: wrap; gap: var(--sp-4); }

/* 文章汇总页分页 */
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin: var(--sp-7) 0 var(--sp-5); }
.page-btn { font: inherit; font-size: .92rem; min-width: 2.4em; padding: .5em .9em; border: 1px solid var(--brand-line); background: #fff; color: var(--brand-muted); border-radius: var(--r-md); cursor: pointer; transition: all .2s var(--ease); }
.page-btn:hover:not(:disabled) { border-color: var(--brand-primary); color: var(--brand-primary); }
.page-btn.is-active { background: var(--brand-primary); border-color: var(--brand-primary); color: #fff; }
.page-btn:disabled { opacity: .45; cursor: not-allowed; }
