/* SF 官网 — 自源性情感闭环 · 营销页共享样式
   视觉基调:Editorial Fashion OS(与工作台同源,调性向"宣言/杂志"扩一档)
   零外部依赖:纯系统字体栈,国内首屏不被 Google Fonts 拖住 */
:root {
  --bg: #F4F1EC;
  --surface: #FFFCF7;
  --surface-2: #FFFFFF;
  --ink: #1A1714;
  --muted: #8A8178;
  --line: #E7E0D6;
  --accent: #C2410C;
  --accent-soft: #FED7AA;
  --keep: #0F766E;
  --flag: #BE123C;
  --warn: #B45309;
  --serif: "Noto Serif SC", "Songti SC", "SimSun", Georgia, serif;
  --sans: "Inter", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---- 顶栏 ---- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 24px;
  padding: 14px 28px;
  background: rgba(244, 241, 236, .88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-brand { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-weight: 700; font-size: 18px; color: var(--ink); }
.nav-brand:hover { text-decoration: none; }
.nav-mark {
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--accent); color: #fff;
  display: grid; place-items: center;
  font-family: var(--serif); font-size: 15px; letter-spacing: .5px;
}
.nav-links { display: flex; gap: 20px; margin-left: auto; align-items: center; }
.nav-links a { color: var(--ink); font-size: 14px; font-weight: 500; }
.nav-links a.cta {
  padding: 8px 18px; border-radius: 999px;
  background: var(--accent); color: #fff;
}
.nav-links a.cta:hover { filter: brightness(1.08); text-decoration: none; }

/* ---- 通用版式 ---- */
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 28px; }
.section { padding: 88px 0; }
.section + .section { border-top: 1px solid var(--line); }
.kicker {
  display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: 2px;
  color: var(--accent); text-transform: uppercase; margin-bottom: 14px;
}
h1 { font-family: var(--serif); font-size: clamp(34px, 5.2vw, 56px); line-height: 1.22; font-weight: 700; }
h2 { font-family: var(--serif); font-size: clamp(26px, 3.4vw, 38px); line-height: 1.3; font-weight: 700; margin-bottom: 18px; }
h3 { font-family: var(--serif); font-size: 21px; font-weight: 600; margin-bottom: 10px; }
.lead { font-size: 18px; color: var(--muted); max-width: 720px; }
.prose p { margin-bottom: 14px; max-width: 780px; }
.prose strong { color: var(--ink); }

/* ---- 首屏 ---- */
.hero { padding: 96px 0 72px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -40% -20% auto;
  height: 130%;
  background:
    radial-gradient(680px 380px at 78% 12%, rgba(194, 65, 12, .10), transparent 68%),
    radial-gradient(560px 360px at 12% 82%, rgba(15, 118, 110, .08), transparent 66%);
  pointer-events: none;
}
.hero .wrap { position: relative; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-sub { margin: 22px 0 34px; font-size: 18px; color: var(--muted); max-width: 760px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px; font-size: 15px; font-weight: 600;
  border: 1px solid transparent; cursor: pointer;
}
.btn.primary { background: var(--accent); color: #fff; }
.btn.primary:hover { filter: brightness(1.08); text-decoration: none; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }

/* ---- 判断标准横幅 ---- */
.criterion {
  margin: 40px 0 0; padding: 26px 30px;
  background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--accent);
  border-radius: 14px; max-width: 780px;
}
.criterion .label { font-size: 12px; letter-spacing: 2px; color: var(--accent); font-weight: 700; }
.criterion .text { font-family: var(--serif); font-size: 21px; margin-top: 6px; }

/* ---- 双环图 ---- */
.diagram-box {
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px;
  padding: 30px 20px; overflow-x: auto;
}
.diagram-box svg { display: block; margin: 0 auto; max-width: 100%; height: auto; }
.diagram-caption { text-align: center; color: var(--muted); font-size: 14px; margin-top: 14px; }

/* ---- 卡片网格 ---- */
.grid { display: grid; gap: 18px; }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  padding: 26px; transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(26, 23, 20, .08); }
.card .num {
  display: inline-grid; place-items: center; width: 34px; height: 34px;
  border-radius: 10px; background: var(--accent-soft); color: var(--accent);
  font-weight: 700; margin-bottom: 14px;
}
.card p { color: var(--muted); font-size: 15px; }
.card ul { margin: 10px 0 0 18px; color: var(--muted); font-size: 14px; }
.card li { margin-bottom: 6px; }
.card li strong { color: var(--ink); }

/* ---- 方法论分层 ---- */
.layer {
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px;
  padding: 32px; margin-bottom: 22px;
}
.layer-head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.layer-tag {
  font-size: 12px; font-weight: 700; letter-spacing: 1.5px;
  padding: 5px 12px; border-radius: 999px;
}
.layer-tag.l0 { background: #FEE2E2; color: var(--flag); }
.layer-tag.l1 { background: var(--accent-soft); color: var(--accent); }
.layer-tag.l2 { background: #CCFBF1; color: var(--keep); }
.layer-note {
  margin-top: 16px; padding: 14px 18px; border-radius: 12px;
  background: #FFF7ED; border: 1px dashed var(--warn); color: var(--warn); font-size: 14px;
}
.check-list { list-style: none; margin-top: 14px; }
.check-list li {
  position: relative; padding: 9px 0 9px 34px;
  border-bottom: 1px dashed var(--line); font-size: 15px;
}
.check-list li:last-child { border-bottom: 0; }
.check-list li::before {
  content: "✓"; position: absolute; left: 4px; top: 9px;
  width: 20px; height: 20px; border-radius: 6px;
  background: var(--accent-soft); color: var(--accent);
  font-size: 12px; font-weight: 700; display: grid; place-items: center;
}

/* ---- 自检维度 chips ---- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.chip {
  padding: 8px 16px; border-radius: 999px; font-size: 14px; font-weight: 500;
  background: var(--surface-2); border: 1px solid var(--line); color: var(--ink);
}

/* ---- 时间线(案例) ---- */
.timeline { position: relative; margin-top: 30px; padding-left: 28px; }
.timeline::before {
  content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px;
  width: 2px; background: var(--line);
}
.tl-item { position: relative; padding-bottom: 36px; }
.tl-item::before {
  content: ""; position: absolute; left: -26px; top: 8px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--accent); border: 3px solid var(--bg);
}
.tl-year { font-family: var(--serif); font-size: 15px; font-weight: 700; color: var(--accent); letter-spacing: 1px; }
.tl-item h3 { margin: 4px 0 8px; }
.tl-item p { color: var(--muted); max-width: 720px; }
.tl-takeaway {
  margin-top: 12px; padding: 14px 18px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--line); font-size: 14px;
}
.tl-takeaway strong { color: var(--accent); }

/* ---- links 页 ---- */
.link-list { max-width: 520px; margin: 30px auto 0; display: grid; gap: 14px; }
.link-item {
  display: flex; align-items: center; gap: 16px;
  padding: 20px 24px; background: var(--surface); border: 1px solid var(--line);
  border-radius: 16px; color: var(--ink); transition: border-color .15s ease;
}
.link-item:hover { border-color: var(--accent); text-decoration: none; }
.link-icon {
  width: 44px; height: 44px; border-radius: 12px; flex: none;
  display: grid; place-items: center; font-size: 19px;
  background: var(--accent-soft); color: var(--accent);
}
.link-item .name { font-weight: 600; }
.link-item .desc { font-size: 13px; color: var(--muted); }
.link-item .arrow { margin-left: auto; color: var(--muted); }

/* ---- CTA / 页脚 ---- */
.cta-band { background: var(--ink); color: #F4F1EC; border-radius: 22px; padding: 56px 48px; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(244, 241, 236, .72); max-width: 620px; margin: 0 auto 26px; }
footer { border-top: 1px solid var(--line); padding: 34px 0 48px; color: var(--muted); font-size: 13px; }
.footer-row { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
.footer-row .spacer { flex: 1; }

/* ---- 响应式 ---- */
@media (max-width: 860px) {
  .grid.cols-3, .grid.cols-2 { grid-template-columns: 1fr; }
  .nav-links { gap: 12px; }
  .nav-links a:not(.cta) { display: none; }
  .section { padding: 60px 0; }
  .cta-band { padding: 40px 24px; }
}

/* ---- 指南页(可编辑区块) ---- */
.guide-body { max-width: 820px; }
.guide-body h2 { margin-bottom: 12px; }
.guide-p { margin-bottom: 16px; }
.guide-ul { margin: 12px 0 20px 22px; }
.guide-ul li { margin-bottom: 8px; }
.guide-figure { margin: 24px 0; }
.guide-figure img {
  width: 100%; border-radius: 14px; border: 1px solid var(--line); display: block;
}
.guide-figure figcaption {
  margin-top: 8px; font-size: 13px; color: var(--muted); text-align: center;
}
.hero-visual { margin: 26px 0 8px; }
.hero-visual img {
  width: 100%; max-height: 380px; object-fit: cover;
  border-radius: 18px; border: 1px solid var(--line);
}
