/* ══════════════════════════════════════════════════════════════════
   Scent & State — 设计系统
   ══════════════════════════════════════════════════════════════════
   取向：**编辑型科学刊**。枢纽站是知识站，视觉上要「可信、克制、有辨识度」，
   不要促销感。所以：
     · 暖白纸底 + 铜色强调 + 深墨字，不用高饱和品牌色
     · 标题用衬线（编辑可信度），正文用系统无衬线（可读性）
     · 每个词群一个色相（--h），从磁贴、卡片、文章主视觉一路贯穿
     · 主视觉全部是内联几何 SVG，零外部请求（不依赖图床 / 不引 web font）
   ══════════════════════════════════════════════════════════════════ */

:root {
  --ink:      #14171c;
  --ink-2:    #3c434d;
  --ink-3:    #737c88;
  --ink-inv:  #f4f1ea;

  --paper:    #fdfcf9;
  --paper-2:  #f6f3ed;
  --paper-3:  #ece7dd;
  --deep:     #0f141a;

  --line:     #e4ded2;
  --line-2:   #efeae1;

  --accent:   #a4591c;
  --accent-d: #7d400f;
  --accent-s: #f7efe4;

  --h: 210;                                   /* 词群色相；由内联 style 覆盖 */
  --c-hue:      hsl(var(--h), 68%, 44%);
  --c-hue-soft: hsl(var(--h), 62%, 95%);
  --c-hue-deep: hsl(var(--h), 34%, 13%);

  --serif: ui-serif, "Iowan Old Style", "Palatino Linotype", Palatino, Georgia,
           "Times New Roman", serif;
  --sans:  -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
           "Hiragino Sans GB", "Microsoft YaHei", sans-serif;

  --measure: 41rem;
  --wide:    74rem;
  --r:       12px;
  --r-lg:    18px;
  --shadow:  0 1px 2px rgba(20, 23, 28, .04), 0 10px 28px -14px rgba(20, 23, 28, .22);
  --shadow-lg: 0 2px 4px rgba(20, 23, 28, .05), 0 24px 48px -20px rgba(20, 23, 28, .3);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

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

.wrap   { max-width: var(--measure); margin: 0 auto; padding: 0 22px; }
.wide   { max-width: var(--wide);    margin: 0 auto; padding: 0 22px; }

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

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* ── 页头 ───────────────────────────────────────────────────────── */
.site-head {
  position: sticky; top: 0; z-index: 40;
  background: rgba(253, 252, 249, .86);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line-2);
}
.head-in {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; min-height: 62px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--ink); font-weight: 700; letter-spacing: -.015em;
}
.brand:hover { color: var(--ink); }
.mark { width: 26px; height: 26px; color: var(--accent); flex: none; }
.wordmark { font-size: 17.5px; white-space: nowrap; }

.site-nav { display: flex; gap: 4px; flex-wrap: wrap; }
.site-nav a {
  color: var(--ink-3); font-size: 14px; padding: 7px 11px; border-radius: 8px;
  transition: color .15s, background .15s;
}
.site-nav a:hover { color: var(--ink); background: var(--paper-2); }
.site-nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }

/* 窄屏页头：品牌独占一行，导航改成可横向滑动的条。
   ⚠️ 这里不能只靠 flex-wrap —— 那正是原来的问题：品牌名被挤成两行
      （"Scent &" / "State"），导航也折成两行，两块互相错位，
      截图里整个页头看起来是坏的。改成一上一下两行才稳。
   ⚠️ 品牌名任何时候都不许折行，所以 white-space: nowrap 写在基础样式里。 */
@media (max-width: 720px) {
  .head-in {
    flex-wrap: wrap;
    gap: 0; min-height: 0;
    padding-top: 9px; padding-bottom: 0;
  }
  .brand { width: 100%; }
  .site-nav {
    width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 2px;
    /* 让滑动区贴到屏幕边（抵消 .wide 的 22px 内边距），
       滑到尽头时首尾文字不会贴着屏幕边缘。 */
    margin: 0 -10px;
    padding: 3px 10px 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .site-nav::-webkit-scrollbar { display: none; }
  .site-nav a { white-space: nowrap; font-size: 13.5px; padding: 6px 9px; }
}

/* ── 首页主视觉 ─────────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(120% 90% at 88% -10%, hsl(26, 46%, 22%) 0%, transparent 58%),
    radial-gradient(90% 70% at 4% 0%, hsl(210, 40%, 20%) 0%, transparent 55%),
    var(--deep);
  color: var(--ink-inv);
  border-bottom: 1px solid var(--line);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(to bottom, #000, transparent 78%);
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 78%);
}
.hero-in { position: relative; z-index: 1; padding: 84px 22px 68px; }
.eyebrow {
  margin: 0 0 18px; font-size: 12.5px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: hsl(26, 62%, 70%);
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.3rem, 5.6vw, 3.75rem);
  line-height: 1.1; letter-spacing: -.022em;
  margin: 0 0 20px; max-width: 20ch; font-weight: 600;
}
.hero-sub {
  margin: 0 0 30px; max-width: 46ch;
  font-size: 1.075rem; color: rgba(244, 241, 234, .74);
}
.hero-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 9px; }
.hero-chips a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .05);
  color: rgba(244, 241, 234, .9); font-size: 14px;
  transition: background .15s, border-color .15s;
}
.hero-chips a:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .3); color: #fff; }
.hero-chips .n {
  font-size: 11.5px; font-weight: 700; color: hsl(var(--h, 210), 70%, 72%);
  background: rgba(255, 255, 255, .1); padding: 1px 7px; border-radius: 999px;
}

/* ── 通用区块 ───────────────────────────────────────────────────── */
.band { padding: 62px 0; }
.band-alt { background: var(--paper-2); border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }

.sec-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 20px; flex-wrap: wrap; margin-bottom: 26px;
}
.sec-head h2 {
  font-family: var(--serif); font-size: 1.6rem; letter-spacing: -.018em;
  margin: 0; font-weight: 600;
}
.sec-note { margin: 0; font-size: 13.5px; color: var(--ink-3); }

/* ── 文章卡片 ───────────────────────────────────────────────────── */
.cards {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 22px;
  grid-template-columns: repeat(auto-fill, minmax(272px, 1fr));
}
.cards-2 { grid-template-columns: repeat(auto-fill, minmax(248px, 1fr)); }

.card { min-width: 0; }
.card-link {
  display: flex; flex-direction: column; height: 100%;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; color: inherit;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card-link:hover {
  transform: translateY(-3px); box-shadow: var(--shadow-lg);
  border-color: var(--paper-3); color: inherit;
}
.card-art { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--deep); }
.card-art .art, .card-art img { width: 100%; height: 100%; display: block; object-fit: cover; }
.card-link:hover .card-art .art, .card-link:hover .card-art img { transform: scale(1.04); }
.card-art .art, .card-art img { transition: transform .4s ease; }

.card-body { display: flex; flex-direction: column; gap: 9px; padding: 18px 19px 20px; flex: 1; }
.card-t {
  font-family: var(--serif); font-size: 1.135rem; line-height: 1.32;
  letter-spacing: -.012em; font-weight: 600; color: var(--ink);
}
.card-d { font-size: 14.3px; line-height: 1.55; color: var(--ink-2); margin: 0; }
.card-m {
  margin-top: auto; padding-top: 6px;
  font-size: 12.5px; color: var(--ink-3); letter-spacing: .02em;
}

.card-featured { grid-column: span 2; }
.card-featured .card-link { flex-direction: row; }
.card-featured .card-art { flex: 1 1 52%; aspect-ratio: auto; }
.card-featured .card-body { flex: 1 1 48%; justify-content: center; padding: 28px 30px; }
.card-featured .card-t { font-size: 1.6rem; line-height: 1.22; }
.card-featured .card-d { font-size: 15px; }

@media (max-width: 720px) {
  .card-featured { grid-column: span 1; }
  .card-featured .card-link { flex-direction: column; }
  .card-featured .card-art { aspect-ratio: 16 / 10; }
  .card-featured .card-body { padding: 18px 19px 20px; }
  .card-featured .card-t { font-size: 1.25rem; }
}

/* ── 词群磁贴 ───────────────────────────────────────────────────── */
.tiles {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fill, minmax(258px, 1fr));
}
.tile a {
  display: flex; flex-direction: column; height: 100%; color: inherit;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease;
}
.tile a:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: inherit; }
.tile-art { display: block; aspect-ratio: 2 / 1; background: var(--deep); }
.tile-art .art { width: 100%; height: 100%; display: block; }
.tile-body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 20px; flex: 1; }
.tile-t { font-family: var(--serif); font-size: 1.16rem; font-weight: 600; letter-spacing: -.012em; }
.tile-n {
  font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: hsl(var(--h), 60%, 38%);
}
.tile-d { font-size: 13.8px; line-height: 1.5; color: var(--ink-3); margin: 2px 0 0; }

/* ── 标签 ───────────────────────────────────────────────────────── */
.chip {
  display: inline-block; align-self: flex-start;
  font-size: 11px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  color: hsl(var(--h), 58%, 36%);
  background: hsl(var(--h), 62%, 95%);
  border: 1px solid hsl(var(--h), 50%, 88%);
  padding: 3px 9px; border-radius: 999px;
}
.chip-inv {
  color: hsl(var(--h), 70%, 78%);
  background: rgba(255, 255, 255, .09);
  border-color: rgba(255, 255, 255, .2);
}
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 9px; }
.chips a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line);
  color: var(--ink-2); font-size: 14px;
  transition: border-color .15s, color .15s, background .15s;
}
.chips a:hover {
  color: var(--ink); border-color: hsl(var(--h), 45%, 78%);
  background: hsl(var(--h), 62%, 97%);
}
.chips .n {
  font-size: 11.5px; font-weight: 700;
  color: hsl(var(--h), 55%, 40%); background: hsl(var(--h), 55%, 94%);
  padding: 1px 7px; border-radius: 999px;
}
.chips-lg a { font-size: 15px; padding: 10px 17px; }

/* ── 编辑标准 ───────────────────────────────────────────────────── */
.std {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 26px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.std h3 {
  font-family: var(--serif); font-size: 1.16rem; font-weight: 600;
  margin: 0 0 8px; letter-spacing: -.012em;
}
.std h3::before {
  content: ""; display: block; width: 30px; height: 3px; border-radius: 2px;
  background: var(--accent); margin-bottom: 12px;
}
.std p { margin: 0; font-size: 14.8px; line-height: 1.62; color: var(--ink-2); }

/* ── 文章页 ─────────────────────────────────────────────────────── */
.post-head { padding: 46px 0 30px; }
.post-head .wide { max-width: 52rem; }
.crumb {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-size: 12.8px; color: var(--ink-3); margin-bottom: 18px;
}
.crumb a { color: var(--ink-3); }
.crumb a:hover { color: var(--accent); }
.crumb span[aria-hidden], .crumb span:not(:last-child) { opacity: .55; }
.crumb > span:last-child { color: var(--ink-2); }

.post-head h1 {
  font-family: var(--serif);
  font-size: clamp(1.85rem, 4.2vw, 2.9rem);
  line-height: 1.14; letter-spacing: -.024em; font-weight: 600;
  margin: 16px 0 18px;
}
.standfirst { font-size: 1.09rem; line-height: 1.6; color: var(--ink-2); margin: 0 0 24px; max-width: 44rem; }

.byline { display: flex; align-items: center; gap: 11px; font-size: 13.5px; color: var(--ink-3); flex-wrap: wrap; }
.byline strong { color: var(--ink-2); font-weight: 600; }
.byline time { color: var(--ink-3); }
.avatar {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%; flex: none;
  background: var(--accent-s); color: var(--accent-d);
  font-size: 12px; font-weight: 700; letter-spacing: .02em;
}
.avatar-lg { width: 46px; height: 46px; font-size: 15px; }

.post-hero { background: var(--deep); overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.post-hero .art { width: 100%; height: clamp(190px, 34vw, 380px); object-fit: cover; display: block; }
/* ⚠️ 真实照片要单独给高度。几何 SVG 是抽象图形，3.68:1 的窄条没问题；
   但真实静物照按那个比例裁会丢掉纵向 46%（只剩中间一条，上下全没了）。
   生成端最宽只能拿到 2:1（见 tools/gen-article-images.py 的比例说明），
   所以这里放宽到 2.5:1 —— 保留原图纵向 80%。 */
.post-hero-img { width: 100%; height: clamp(220px, 40vw, 560px); object-fit: cover; display: block; }

.post-grid { display: grid; grid-template-columns: 1fr; gap: 0; padding-top: 40px; padding-bottom: 10px; }
.post-body { max-width: var(--measure); min-width: 0; }

.post-aside { display: none; }

@media (min-width: 1080px) {
  .post-grid { grid-template-columns: 15rem minmax(0, 1fr); gap: 46px; align-items: start; }
  .post-aside { display: block; position: sticky; top: 84px; }
  .post-body { max-width: 42rem; }

  /* 文章头与**正文栏**左对齐，目录留在左侧留白里 —— 杂志式排版。
     ⚠️ 不能只写 max-width：.post-head .wide 默认是 52rem 居中，
        而 .post-grid 是 74rem，两者左边缘天然差 (74-52)rem/2 ≈ 176px，
        截图里就是「标题比目录栏缩进一大截」，读起来像没对齐而不是刻意设计。
        这里把头部容器放宽到与栅格同宽，再用 padding-left 补上
        「页边距 + 目录栏 + 栏间距」，左右边缘才真正咬合。 */
  .post-head .wide {
    max-width: var(--wide);
    padding-left: calc(22px + 15rem + 46px);
  }
  .post-head h1 { max-width: 34ch; }
  .post-head .standfirst { max-width: 42rem; }

  /* ⚠️ 没有目录时（H2 少于 3 个，toc_html 为空），.post-body 会成为栅格的
     **第一个**子元素 —— 于是被塞进 15rem 那一列，正文被压成 240px 宽、
     右边留一大片空白。构建、校验、部署**全都不报错**，只有截图看得出来。
     实测 2026-09-20：做产品卡验收时用了短正文，一眼看到正文挤在左边一条。
     现有 87 篇 H2 都 ≥3 个，所以线上没踩到；这是给**以后**的新文章兜底。
     正文留在原位（与文章头左对齐），左侧留白就是目录位。 */
  .post-grid-solo { grid-template-columns: minmax(0, 1fr); }
  .post-grid-solo .post-body { margin-left: calc(15rem + 46px); }
}

.toc { border-left: 2px solid var(--line); padding-left: 16px; }
.toc h2 {
  font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-3); margin: 0 0 10px;
}
.toc ul { list-style: none; margin: 0; padding: 0; }
.toc li { margin-bottom: 7px; }
.toc a { font-size: 13.6px; line-height: 1.45; color: var(--ink-3); display: block; }
.toc a:hover { color: var(--accent); }

/* 正文 */
.post-body > h2, article h2 {
  font-family: var(--serif); font-size: 1.5rem; line-height: 1.3;
  letter-spacing: -.016em; font-weight: 600; margin: 2.1em 0 .55em;
  scroll-margin-top: 84px;
}
.post-body > h3, article h3 {
  font-family: var(--serif); font-size: 1.16rem; font-weight: 600;
  margin: 1.7em 0 .45em; scroll-margin-top: 84px;
}
article p { margin: 0 0 1.15em; }
article ul, article ol { margin: 0 0 1.2em; padding-left: 1.3em; }
article li { margin-bottom: .45em; }
article strong { color: var(--ink); }
article blockquote {
  margin: 1.7em 0; padding: 4px 0 4px 22px;
  border-left: 3px solid var(--accent);
  font-family: var(--serif); font-size: 1.1rem; line-height: 1.55; color: var(--ink-2);
}
article table {
  width: 100%; border-collapse: collapse; margin: 1.7em 0; font-size: 14.6px;
  border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
}
article th, article td { text-align: left; padding: 10px 13px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
article th { font-weight: 600; background: var(--paper-2); font-size: 13.2px; letter-spacing: .01em; }
article tr:last-child td { border-bottom: none; }
article code {
  background: var(--paper-2); padding: 2px 5px; border-radius: 5px;
  font-size: .89em; font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
article hr { border: none; border-top: 1px solid var(--line); margin: 2.6em 0; }

/* 提示块 */
.tldr {
  background: linear-gradient(180deg, #fff, var(--paper-2));
  border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 20px 24px; margin: 0 0 30px; position: relative; overflow: hidden;
}
.tldr::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: var(--accent);
}
.tldr .label {
  font-size: 11px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase;
  color: var(--accent-d); margin-bottom: 9px;
}
.tldr p { margin: 0; font-size: 15.8px; line-height: 1.6; color: var(--ink-2); }

.disclosure {
  font-size: 13.2px; line-height: 1.55; color: var(--ink-3);
  background: var(--paper-2); border-radius: var(--r);
  padding: 12px 16px; margin: 0 0 28px;
}

.disagreement {
  border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 20px 24px; margin: 2.2em 0; background: #fff;
  box-shadow: var(--shadow);
}
.disagreement .label {
  font-size: 11px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase;
  color: var(--accent-d); margin-bottom: 9px;
}
.disagreement p { margin: 0; font-size: 15.8px; line-height: 1.6; color: var(--ink-2); }

/* 相关阅读 / 来源 / 作者 */
.related { margin-top: 3.2em; padding-top: 26px; border-top: 1px solid var(--line); }
.related h2, .sources h2 {
  font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-3); margin: 0 0 16px; font-family: var(--sans);
}
.related .cards { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.related .card-t { font-size: 1.02rem; }
.related .card-d { font-size: 13.4px; }

.sources {
  margin-top: 3.2em; padding-top: 26px; border-top: 1px solid var(--line);
  font-size: 13.8px; color: var(--ink-3);
}
.sources ul { padding-left: 18px; margin: 0; }
.sources li { margin-bottom: 8px; line-height: 1.55; }
.sources strong { color: var(--ink-2); font-weight: 600; }
.sources .fh { margin: 16px 0 0; padding-top: 14px; border-top: 1px dashed var(--line); }

.author-box {
  display: flex; gap: 16px; align-items: flex-start;
  margin: 34px 0 60px; padding: 20px 22px;
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r-lg);
}
.author-name { margin: 0 0 5px; font-weight: 700; font-size: 15px; }
.author-bio { margin: 0 0 8px; font-size: 14.2px; line-height: 1.6; color: var(--ink-2); }
.author-links { margin: 0; font-size: 13.2px; }

/* ── 词群落地页 ─────────────────────────────────────────────────── */
.topic-hero { position: relative; overflow: hidden; background: var(--c-hue-deep); color: var(--ink-inv); }
.topic-art { position: absolute; inset: 0; display: block; }
.topic-art .art { width: 100%; height: 100%; display: block; }
.topic-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15, 20, 26, .30), rgba(15, 20, 26, .82));
}
.topic-hero-in { position: relative; z-index: 1; padding: 60px 22px 52px; }
.topic-hero .crumb, .topic-hero .crumb a { color: rgba(244, 241, 234, .62); }
.topic-hero .crumb > span:last-child { color: rgba(244, 241, 234, .9); }
.topic-hero h1 {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(2rem, 4.6vw, 3.1rem); line-height: 1.12; letter-spacing: -.022em;
  margin: 16px 0 16px; max-width: 22ch;
}
.topic-hero .standfirst { color: rgba(244, 241, 234, .78); max-width: 52ch; margin-bottom: 20px; }
.topic-count {
  margin: 0; font-size: 12.5px; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: hsl(var(--h), 62%, 74%);
}

/* ── 页脚 ───────────────────────────────────────────────────────── */
.site-foot { background: var(--deep); color: rgba(244, 241, 234, .72); margin-top: 0; padding: 54px 0 40px; }
.foot-grid {
  display: grid; gap: 34px;
  grid-template-columns: 1.5fr 1fr 1fr;
}
@media (max-width: 720px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: span 2; } }
.site-foot .brand { color: var(--ink-inv); }
.site-foot .mark { color: hsl(26, 62%, 62%); }
.foot-tag { margin: 12px 0 0; font-size: 14px; color: rgba(244, 241, 234, .6); max-width: 30ch; }
.foot-h {
  font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(244, 241, 234, .55); margin: 0 0 13px;
}
.foot-list { list-style: none; margin: 0; padding: 0; }
.foot-list li { margin-bottom: 8px; }
.foot-list a { color: rgba(244, 241, 234, .8); font-size: 14px; }
.foot-list a:hover { color: #fff; }
.foot-legal {
  margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: 12.6px; line-height: 1.6; color: rgba(244, 241, 234, .48);
}
.foot-legal p { margin: 0 0 8px; max-width: 70ch; }

.empty { padding: 60px 0; color: var(--ink-3); }

/* ── 法务页 ─────────────────────────────────────────────────────── */
.wrap > article h2:first-of-type { margin-top: 1.4em; }

/* ── SAZA 主站产品卡（正文短码 {{saza:<handle>}}）────────────────────
   正文里介绍到自家产品时，用**真实产品图** + 回主站产品页的链接
   （品牌方 2026-09-20 的要求）。渲染见 build.py 的 _saza_figure()。

   刻意做成「编辑插图」的样子（白底、细边框、衬线产品名、无价格角标），
   不是促销 banner —— 这个站的立站前提是独立编辑立场，促销感会毁掉它。 */
.saza-product {
  margin: 2.2em 0; padding: 16px 18px;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--shadow);
}
.saza-product-link {
  display: flex; align-items: center; gap: 18px;
  text-decoration: none; color: inherit;
}
.saza-product-link img {
  width: 132px; height: 132px; flex: none;
  object-fit: contain; border-radius: var(--r);
  background: var(--paper-2);
}
.saza-product-body { display: flex; flex-direction: column; gap: 6px; }
.saza-product-name {
  font-family: var(--serif); font-size: 1.16rem; line-height: 1.3; color: var(--ink);
}
.saza-product-cta {
  font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--accent-d);
}
.saza-product-link:hover .saza-product-cta { text-decoration: underline; }
.saza-product figcaption {
  margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line-2);
  font-size: 12.6px; line-height: 1.5; color: var(--ink-3);
}
@media (max-width: 520px) {
  .saza-product-link { flex-direction: column; align-items: flex-start; gap: 12px; }
  .saza-product-link img { width: 104px; height: 104px; }
}

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