/* ==== tokens.css ==== */
/*
 * psyppt 官网的设计变量：颜色、字、间距、圆角、尺寸。全站唯一能写色值的地方（build.py 会查 base.css、blocks.css）。
 * 和平台同名同值：学术汇报平台/frontend/src/styles/tokens.css（颜色出处是公众号视觉规范「颜色和字」）。
 * 名字照平台（shadcn 命名 + 平台自己加的 --body、--price、--faint、--highlight），
 * 以后下单页搬进平台时，这些变量一一对上 bg-primary、text-body、text-muted-foreground…… 不用改名。
 * 和平台对不上的地方，行尾写「本站加的」或「和平台不同」，并在 设计说明.md 里列了。
 *
 * 三层：
 *   1. 色板：原始色值，只在这一层出现。
 *   2. 语义变量：页面只用这一层。深色模式只重定义这一层（平台注释里写的做法）。
 *   3. 字、间距、圆角、尺寸。
 */

/* ---- 1. 色板 ---- */
:root {
  /* 亮：全部抄平台 */
  --palette-blue: #1f4e9c;        /* 主色：按钮、链接 */
  --palette-blue-dark: #183e7c;   /* 主色悬停 */
  --palette-blue-light: #d8e4f5;  /* 高亮、选中 */
  --palette-ink: #1d2129;         /* 标题 */
  --palette-body: #3c4048;        /* 正文 */
  --palette-muted: #6b7079;       /* 次要字。和平台不同：平台 #80868f 在白底上对比度 3.7，小字不够 4.5，这里深一档到 5.0 */
  --palette-faint: #b3b8c0;       /* 更淡的线和小注 */
  --palette-line: #e3e7ed;        /* 细边、分隔线 */
  --palette-card: #f6f8fa;        /* 平的浅灰块 */
  --palette-hover: #edf0f4;       /* 悬停底 */
  --palette-white: #ffffff;
  --palette-red: #c0392b;         /* 只给价格；另借给站名后面那个句号红点（讲清楚PPT 标志的红点，见设计说明） */
  --palette-shadow: #1d21291f;    /* 图片右下角阴影：标题色 12%（公众号「图片阴影」18% 黑，网页上减一点） */

  /* 暗：平台还没有深色，下面整组是本站加的 */
  --palette-night: #111316;
  --palette-night-card: #181b1f;
  --palette-night-hover: #20242a;
  --palette-night-line: #2b3038;
  --palette-night-ink: #eceef1;
  --palette-night-body: #c6cbd2;
  --palette-night-muted: #969ca6;
  --palette-night-faint: #5f656e;
  --palette-night-blue: #3d6fc2;       /* 深底上的按钮底：白字对比度 4.9 */
  --palette-night-blue-hover: #4a7bcc;
  --palette-night-blue-text: #93b4ea;  /* 深底上的链接字 */
  --palette-night-blue-light: #1e3050;
  --palette-night-red: #e57876;        /* 讲清楚PPT 标志在蓝底上用的浅红 */
  --palette-night-shadow: #00000066;
}

/* ---- 2. 语义变量（亮） ---- */
:root {
  color-scheme: light dark;
  --background: var(--palette-white);
  --foreground: var(--palette-ink);
  --body: var(--palette-body);
  --card: var(--palette-card);
  --card-foreground: var(--palette-ink);
  --primary: var(--palette-blue);
  --primary-hover: var(--palette-blue-dark);
  --primary-foreground: var(--palette-white);
  --link: var(--palette-blue);              /* 本站加的：平台用 text-primary；深色模式下链接字和按钮底要分开 */
  --muted-foreground: var(--palette-muted);
  --faint: var(--palette-faint);
  --accent: var(--palette-hover);           /* 悬停底 */
  --highlight: var(--palette-blue-light);
  --price: var(--palette-red);
  --brand-dot: var(--palette-red);          /* 本站加的：站名后的红点 */
  --border: var(--palette-line);
  --ring: var(--palette-blue);
  --figure-shadow: 4px 5px 12px var(--palette-shadow); /* 本站加的：公众号所有图片同一个右下角阴影 */
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: var(--palette-night);
    --foreground: var(--palette-night-ink);
    --body: var(--palette-night-body);
    --card: var(--palette-night-card);
    --card-foreground: var(--palette-night-ink);
    --primary: var(--palette-night-blue);
    --primary-hover: var(--palette-night-blue-hover);
    --primary-foreground: var(--palette-white);
    --link: var(--palette-night-blue-text);
    --muted-foreground: var(--palette-night-muted);
    --faint: var(--palette-night-faint);
    --accent: var(--palette-night-hover);
    --highlight: var(--palette-night-blue-light);
    --price: var(--palette-night-red);
    --brand-dot: var(--palette-night-red);
    --border: var(--palette-night-line);
    --ring: var(--palette-night-blue-text);
    --figure-shadow: 4px 5px 14px var(--palette-night-shadow);
  }
}

/* ---- 3. 字、间距、圆角、尺寸 ---- */
:root {
  /* 字体。正文和平台同一组系统黑体；大标题用思源宋体（公司字体库里的 NotoSerifSC，讲清楚PPT 标志同一款），
     build.py 只把标题里用到的字切出来放在 assets/，没有这个文件就退回各系统自带的宋体 */
  --font-sans: -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --font-display: "Psy Serif", "Songti SC", "Noto Serif SC", "Source Han Serif SC", "Noto Serif CJK SC", serif;

  /* 字号：名字和 Tailwind 一致（text-sm = 14px……），平台零件用的就是这一套 */
  --text-xs: 0.75rem;    /* 12 */
  --text-sm: 0.875rem;   /* 14 */
  --text-base: 1rem;     /* 16：网页正文（公众号手机正文 15，网页大一号） */
  --text-lg: 1.125rem;   /* 18 */
  --text-xl: 1.25rem;    /* 20 */
  --text-2xl: 1.5rem;    /* 24 */
  --text-3xl: 1.875rem;  /* 30 */
  --text-4xl: 2.25rem;   /* 36 */
  --text-5xl: 3rem;      /* 48 */
  --text-6xl: 3.5rem;    /* 56 */
  --leading-tight: 1.25;
  --leading-snug: 1.45;
  --leading-body: 1.8;   /* 公众号正文 1.85，平台 1.7 */
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;

  /* 间距：Tailwind 的 0.25rem 一格 */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* 圆角：和平台一样从 --radius 推 */
  --radius: 0.5rem;
  --radius-sm: calc(var(--radius) - 4px);
  --radius-md: calc(var(--radius) - 2px);
  --radius-lg: var(--radius);
  --radius-xl: calc(var(--radius) + 4px);

  /* 尺寸 */
  --container: 72rem;    /* 平台页头页脚 max-w-6xl */
  --measure: 42rem;      /* 一行字最宽，max-w-2xl */
  --gutter: 1rem;        /* 手机两边留白 16px；宽屏 24px（平台 px-4 sm:px-6） */
  --header-h: 3.5rem;    /* 平台页头 h-14 */
  --control-h: 2.25rem;  /* 平台按钮 h-9 */
  --control-h-lg: 2.75rem; /* 和平台不同：平台 lg 是 h-10（40px），官网主按钮放到 44px，手机上手指好点 */
}

@media (min-width: 640px) {
  :root { --gutter: 1.5rem; }
}

/* ==== base.css ==== */
/*
 * 基础零件：排版、链接、按钮、表格、焦点。对应平台 components/ui/（button、separator……）和 index.css 的 base 层。
 * 这里不许写色值，只用 tokens.css 的语义变量（build.py 会查）。
 */

/* ---- 标题字体：思源宋体 700，只含标题里用到的字（build.py 切），缺的字自动退回系统宋体 ---- */
@font-face {
  font-family: "Psy Serif";
  src: url("assets/serif-700.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---- 底 ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--background);
  color: var(--body);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: var(--leading-body);
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }
h1, h2, h3 { color: var(--foreground); }
strong { color: var(--foreground); font-weight: var(--weight-semibold); }

/* ---- 链接和焦点 ---- */
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 0.25em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--ring); outline-offset: 3px; }
a:not(.btn):focus-visible { border-radius: var(--radius-sm); }
.skip {
  position: absolute; left: var(--gutter); top: -100px; z-index: 10;
  padding: var(--space-2) var(--space-4); border-radius: var(--radius-md);
  background: var(--primary); color: var(--primary-foreground); text-decoration: none;
}
.skip:focus { top: var(--space-2); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---- 版心 ---- */
.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: max(var(--gutter), env(safe-area-inset-left, 0px)) max(var(--gutter), env(safe-area-inset-right, 0px));
}
.measure { max-width: var(--measure); }

/* ---- 字 ---- */
.display { font-family: var(--font-display); font-weight: var(--weight-bold); letter-spacing: 0.01em; }
.lead { font-size: var(--text-lg); line-height: var(--leading-snug); color: var(--foreground); }
.note { font-size: var(--text-sm); line-height: 1.7; color: var(--muted-foreground); }
.num { font-variant-numeric: tabular-nums; }
.keep { display: inline-block; }   /* 一小段字尽量不拆开（build.py keep()） */
.note a { white-space: nowrap; }

/* ---- 按钮（= 平台 Button：default 实心主色 / outline 细边） ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  height: var(--control-h); padding: 0 var(--space-4);
  border: 1px solid transparent; border-radius: var(--radius-md);
  font-size: var(--text-sm); font-weight: var(--weight-medium); line-height: 1;
  white-space: nowrap; text-decoration: none;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn-lg { height: var(--control-h-lg); padding: 0 var(--space-6); font-size: var(--text-base); }
.btn-primary { background: var(--primary); color: var(--primary-foreground); }
.btn-primary:hover { background: var(--primary-hover); }
.btn-outline { border-color: var(--border); background: var(--background); color: var(--foreground); }
.btn-outline:hover { background: var(--accent); }
.actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }

/* 「看完整价目」这类往下一页走的文字链接，后面跟 lucide arrow-right */
.more {
  display: inline-flex; align-items: center; gap: var(--space-1);
  font-size: var(--text-sm); font-weight: var(--weight-medium); text-decoration: none;
}
.more svg { width: 1em; height: 1em; transition: transform .15s; }
.more:hover { text-decoration: underline; }
.more:hover svg { transform: translateX(2px); }

/* ---- 表格底子 ---- */
table { border-collapse: collapse; width: 100%; }
th, td { text-align: left; vertical-align: top; font-weight: inherit; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}

/* ==== blocks.css ==== */
/*
 * 区块：一块一节，名字和 build.py 里的区块函数一一对应（site_header() ↔ .site-header……）。
 * 对应平台 frontend/src/blocks/。这里不许写色值，只用 tokens.css 的语义变量（build.py 会查）。
 * 断点只有两个：640px（手机 / 宽屏）、960px（段落标题放左栏）。
 */

/* ---- site_header：站名 + 导航（照平台 blocks/site-header：h-14、底边细线、右边一排灰字） ---- */
.site-header { border-bottom: 1px solid var(--border); background: var(--background); }
.site-header__inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  column-gap: var(--space-8); min-height: var(--header-h);
}
.wordmark {
  font-family: var(--font-display); font-weight: var(--weight-bold); font-size: var(--text-lg);
  letter-spacing: 0.02em; color: var(--foreground); text-decoration: none; white-space: nowrap;
}
.wordmark:hover { color: var(--foreground); }
.wordmark__dot {   /* 讲清楚PPT 标志里的红色句号：讲完了、讲清楚了 */
  display: inline-block; width: 0.3em; height: 0.3em; margin-left: 0.14em;
  border-radius: 50%; background: var(--brand-dot);
}
.site-nav { display: flex; flex-wrap: wrap; column-gap: var(--space-6); font-size: var(--text-sm); }
.site-nav a {
  display: flex; align-items: center; min-height: var(--header-h);
  color: var(--muted-foreground); text-decoration: none;
}
.site-nav a:hover { color: var(--foreground); }
.site-nav a[aria-current="page"] { color: var(--foreground); font-weight: var(--weight-medium); box-shadow: inset 0 -2px 0 var(--foreground); }
@media (max-width: 639px) {
  .site-header__inner { padding-top: var(--space-3); }
  .site-nav { width: 100%; column-gap: var(--space-5); }
  .site-nav a { min-height: 2.75rem; }
}

/* ---- site_footer：公司主体 + 备案 + 导航（照平台 blocks/site-footer：左边站名和小字，右边一排链接） ---- */
.site-footer { border-top: 1px solid var(--border); }
.site-footer__inner {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-6) var(--space-12);
  padding-block: var(--space-10) var(--space-12); font-size: var(--text-sm);
}
.company { display: flex; align-items: center; gap: var(--space-2); color: var(--foreground); font-weight: var(--weight-medium); }
.company__mark {   /* 竹涧云标志（公司 logo 定稿 标志_墨.svg），跟着字色走 */
  width: 1.25rem; height: 1.25rem; flex: none; background: currentColor;
  -webkit-mask: url("assets/zhujianyun.svg") center / contain no-repeat;
  mask: url("assets/zhujianyun.svg") center / contain no-repeat;
}
.site-footer__lines { margin-top: var(--space-3); font-size: var(--text-xs); line-height: 2; color: var(--muted-foreground); }
.site-footer__lines a { color: inherit; }
.footer-nav { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); align-content: flex-start; }
.footer-nav a { color: var(--muted-foreground); text-decoration: none; }
.footer-nav a:hover { color: var(--foreground); }

/* ---- hero：首页第一屏，一句主张 + 一句价格 + 两个按钮 ---- */
.hero { padding-block: var(--space-20) var(--space-12); }
.hero__title { font-size: clamp(2.5rem, 1.4rem + 3.6vw, var(--text-6xl)); line-height: 1.22; }
.hero__lead { margin-top: var(--space-5); font-size: clamp(var(--text-xl), 1rem + 1vw, var(--text-2xl)); line-height: var(--leading-snug); color: var(--foreground); }
.hero__text { margin-top: var(--space-4); max-width: var(--measure); }
@media (min-width: 640px) { .hero__text { max-width: none; } .hero__text .sentence { display: block; } }
.hero .actions { margin-top: var(--space-8); }
.hero__meta { margin-top: var(--space-4); font-size: var(--text-sm); color: var(--muted-foreground); }
.hero__price { font-size: var(--text-base); font-weight: var(--weight-semibold); color: var(--price); }
@media (max-width: 639px) {
  .hero { padding-block: var(--space-12) var(--space-8); }
  .hero .actions .btn { flex: 1 1 0; }
}

/* ---- stage：一张真东西的大图，垫一块平的浅灰底（十家 AI 官网「首屏放产品本身，垫纯色块」） ---- */
.stage { padding-bottom: var(--space-16); }
.stage__plate { background: var(--card); border-radius: var(--radius-xl); padding: clamp(var(--space-3), 4.5vw, var(--space-16)); }
.stage__frame { max-width: 60rem; margin-inline: auto; }
.stage__img { width: 100%; border-radius: var(--radius-sm); box-shadow: var(--figure-shadow); outline: 1px solid var(--border); outline-offset: -1px; }
.stage__caption { margin-top: var(--space-4); max-width: var(--measure); font-size: var(--text-sm); line-height: 1.7; color: var(--muted-foreground); }
.stage__title { color: var(--foreground); font-weight: var(--weight-medium); margin-right: var(--space-2); }
.stage__caption a { white-space: nowrap; }
@media (prefers-color-scheme: dark) { .stage__img { filter: brightness(0.94); } }   /* 白底的页放在深底上压一点亮度，不刺眼 */

/* ---- page_head：内页的大标题 + 一句话 ---- */
.page-head { padding-block: var(--space-16) var(--space-10); }
.page-head__title { font-size: var(--text-5xl); line-height: var(--leading-tight); }
.page-head__lead { margin-top: var(--space-4); max-width: var(--measure); }
@media (max-width: 639px) {
  .page-head { padding-block: var(--space-10) var(--space-6); }
  .page-head__title { font-size: var(--text-4xl); }
}

/* ---- section：一节 = 细线 + （编号）+ 小标题 + 内容；宽屏标题放左栏（公众号 c_chapter「01 + 细线 + 标题」） ---- */
.section { border-top: 1px solid var(--border); padding-block: var(--space-12); }
.section__head { display: flex; align-items: baseline; gap: var(--space-3); margin-bottom: var(--space-6); }
.section__no { font-size: var(--text-sm); color: var(--muted-foreground); font-variant-numeric: tabular-nums; }
.section__title { font-size: var(--text-2xl); line-height: var(--leading-snug); font-weight: var(--weight-semibold); }
.section__body > * + * { margin-top: var(--space-6); }
.section__body > p + p { margin-top: var(--space-3); }
@media (min-width: 960px) {
  .section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); column-gap: var(--space-12); padding-block: var(--space-16); }
  .section__head { flex-direction: column; gap: var(--space-2); margin-bottom: 0; }
}
.section__body { min-width: 0; }
.section__body .measure, .section__body > p { max-width: var(--measure); }

/* ---- points：几样东西并排，每样一个粗短语 + 一句话（首页「你会拿到」） ---- */
.points { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: var(--space-8) var(--space-10); list-style: none; padding: 0; }
.point__title { color: var(--foreground); font-weight: var(--weight-semibold); }
.point__text { margin-top: var(--space-1); font-size: var(--text-sm); line-height: 1.7; }

/* ---- tiers：四档价格一排（首页「价目」） ---- */
.tiers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-6); list-style: none; padding: 0; }
.tier__name { color: var(--foreground); font-weight: var(--weight-semibold); }
.tier__dur { font-size: var(--text-sm); color: var(--muted-foreground); }
.tier__price { margin-top: var(--space-3); font-size: var(--text-3xl); line-height: 1; font-weight: var(--weight-semibold); color: var(--foreground); font-variant-numeric: tabular-nums; }
.tier__unit { margin-left: 0.15em; font-size: var(--text-sm); font-weight: 400; color: var(--muted-foreground); }
@media (max-width: 639px) { .tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--space-8); } }

/* ---- steps：一步一步（首页「怎么交付」、交付说明「怎么交」）；宽屏横排，手机竖排 ---- */
.steps--3 { --steps: 3; }
.steps--4 { --steps: 4; }
.steps { display: grid; grid-template-columns: repeat(var(--steps, 4), minmax(0, 1fr)); gap: var(--space-6); list-style: none; padding: 0; counter-reset: step; }
.step { counter-increment: step; padding-top: var(--space-4); border-top: 1px solid var(--border); }
.step::before { content: counter(step); display: block; font-size: var(--text-sm); color: var(--muted-foreground); font-variant-numeric: tabular-nums; }
.step__title { margin-top: var(--space-2); color: var(--foreground); font-weight: var(--weight-semibold); }
.step__text { margin-top: var(--space-1); font-size: var(--text-sm); line-height: 1.7; }
@media (max-width: 767px) {
  .steps { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .step { display: grid; grid-template-columns: 2rem minmax(0, 1fr); padding-block: var(--space-4); }
  .step::before { grid-row: span 2; padding-top: 0.2em; }
  .step__title { margin-top: 0; }
}

/* ---- rows：左边一个词、右边一段（首页退款、加购、主体信息） ---- */
.rows { margin: 0; }
.row { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); column-gap: var(--space-8); padding-block: var(--space-4); border-top: 1px solid var(--border); }
.row:first-child { border-top: 0; padding-top: 0; }
.row > dt { color: var(--foreground); font-weight: var(--weight-semibold); }
.row > dd { margin: 0; }
.row__meta { display: block; font-weight: 400; color: var(--body); font-variant-numeric: tabular-nums; }
@media (max-width: 639px) {
  .row { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-1); }
  .row__meta { display: inline; margin-left: var(--space-2); }
}

/* ---- list_num：带编号的条目，条目开头的短语加粗（交付说明） ---- */
.list-num { list-style: none; padding: 0; counter-reset: n; max-width: var(--measure); }
.list-num > li { counter-increment: n; display: grid; grid-template-columns: 2.25rem minmax(0, 1fr); padding-block: var(--space-4); border-top: 1px solid var(--border); }
.list-num > li:first-child { border-top: 0; padding-top: 0; }
.list-num > li::before { content: counter(n, decimal-leading-zero); padding-top: 0.2em; font-size: var(--text-sm); color: var(--muted-foreground); font-variant-numeric: tabular-nums; }

/* ---- price_table：价目表；手机上一档变成一块 ---- */
.price-table { margin-top: var(--space-2); }
.price-table th, .price-table td { padding: var(--space-4) var(--space-4) var(--space-4) 0; border-bottom: 1px solid var(--border); }
.price-table thead th { padding-block: var(--space-2); font-size: var(--text-xs); font-weight: var(--weight-medium); color: var(--muted-foreground); white-space: nowrap; vertical-align: bottom; }
.price-table thead tr:first-child th[colspan] { border-bottom-color: var(--faint); }
.price-table tbody th { color: var(--foreground); }
.price-table td { font-variant-numeric: tabular-nums; white-space: nowrap; }
.price-table .tier { display: block; font-weight: var(--weight-semibold); }
.price-table .dur { display: block; font-size: var(--text-sm); color: var(--muted-foreground); }
.price-table .p { font-size: var(--text-lg); font-weight: var(--weight-semibold); color: var(--foreground); }
.price-table .na { color: var(--muted-foreground); font-size: var(--text-sm); }
@media (max-width: 639px) {
  .price-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
  .price-table table, .price-table tbody { display: block; }
  .price-table tr { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); column-gap: var(--space-3); row-gap: var(--space-3); padding-block: var(--space-5); border-bottom: 1px solid var(--border); }
  .price-table th, .price-table td { padding: 0; border: 0; }
  .price-table tbody th { grid-column: 1 / -1; display: flex; align-items: baseline; gap: var(--space-3); }
  .price-table td::before { content: attr(data-label); display: block; font-size: var(--text-xs); color: var(--muted-foreground); }
  .price-table td.c-pages { grid-column: 1 / -1; display: flex; gap: var(--space-2); align-items: baseline; font-size: var(--text-sm); }
  .price-table td.c-pages::before { display: inline; }
  .price-table td.c-price { grid-column: span 2; }
  .price-table td.c-time { grid-column: span 3; font-size: var(--text-sm); }
}

/* ---- plain：页头下面直接放的内容（价目表、退款页的小注），和下一节之间留一段空 ---- */
.plain { padding-bottom: var(--space-12); }
.plain > .note { margin-top: var(--space-4); }
.rows-page { max-width: 52rem; }

/* ---- next：页末「还想知道什么 → 去哪一页」 ---- */
.next { display: flex; flex-wrap: wrap; gap: var(--space-4) var(--space-12); padding: var(--space-10) 0 var(--space-16); border-top: 1px solid var(--border); list-style: none; margin: 0; }
.next__item { display: block; text-decoration: none; }
.next__q { display: block; font-size: var(--text-sm); color: var(--muted-foreground); }
.next__to { display: inline-flex; align-items: center; gap: var(--space-1); color: var(--link); font-weight: var(--weight-medium); }
.next__to svg { width: 1em; height: 1em; transition: transform .15s; }
.next__item:hover .next__to { text-decoration: underline; }
.next__item:hover svg { transform: translateX(2px); }

/* ---- contact：联系方式（没填时出站会被 build.py 拦下） ---- */
.contact { font-size: var(--text-lg); color: var(--foreground); }
