:root {
  --ink: #1C1C1C;
  --ink-2: #5C6675;
  --ink-3: #8B95A5;
  --brand: #1F3B63;
  --brand-2: #2E5C8A;
  --brand-soft: #EEF3FA;
  --line: #E2E8F0;
  --bg: #FFFFFF;
  --bg-soft: #F6F8FB;
  --accent: #B4552D;
  --radius: 10px;
  --maxw: 880px;
  --prose-w: 700px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Georgia, "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* 文章页标题区：与正文同宽居中，左右边缘对齐 */
.wrap--narrow { max-width: calc(var(--prose-w) + 48px); }

.site-header { border-bottom: 1px solid var(--line); background: #FFFFFF; }
.site-header .inner {
  max-width: var(--maxw); margin: 0 auto; padding: 18px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: flex; flex-direction: row; align-items: center; gap: 14px; }
.brand-logo { height: 64px; width: auto; display: block; }
.brand-text { display: flex; flex-direction: column; }
.brand .name { font-size: 20px; font-weight: 700; color: var(--brand); letter-spacing: 0.5px; white-space: nowrap; }
.nav { display: flex; gap: 12px; font-size: 14px; white-space: nowrap; }
.nav a { color: var(--ink-2); padding-bottom: 3px; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--brand); text-decoration: none; }
.nav a.active { color: var(--brand); border-bottom-color: var(--brand); }

.hero { padding: 68px 0 56px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.hero h1 { font-size: 30px; line-height: 1.45; margin: 0 0 16px; color: var(--brand); font-weight: 700; }
.hero p { margin: 0; color: var(--ink-2); font-size: 16px; max-width: 620px; text-align: justify; }

.page-head { padding: 48px 0 28px; border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: 27px; margin: 0 0 10px; color: var(--brand); font-weight: 700; }
.page-head p { margin: 0; color: var(--ink-2); font-size: 15px; max-width: 620px; text-align: justify; }
.page-head-flex { display: flex; align-items: center; gap: 30px; }
.page-head-flex > div { flex: 1; }
.page-head-img { width: 160px; height: auto; flex-shrink: 0; }

.section { padding: 52px 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.section-head h2 { font-size: 21px; margin: 0; color: var(--brand); font-weight: 700; }
.section-head .more { font-size: 14px; white-space: nowrap; }
.more-links { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: baseline; justify-content: flex-end; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }

.card {
  display: block; padding: 22px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--bg); color: inherit;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover {
  border-color: var(--brand-2); text-decoration: none;
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(31, 59, 99, 0.10);
}
.card-ico { display: block; width: 42px; height: 42px; margin: 0 0 12px; }
.card h3 { margin: 0 0 8px; font-size: 17px; color: var(--brand); font-weight: 700; }
.card p { margin: 0; font-size: 14px; color: var(--ink-2); line-height: 1.7; text-align: justify; }
.card .meta { margin-top: 14px; font-size: 12px; color: var(--ink-3); }

.post { padding: 26px 0; border-bottom: 1px solid var(--line); }
.post .date { font-size: 13px; color: var(--ink-3); font-style: italic; }
.post h3 { margin: 6px 0 10px; font-size: 19px; font-weight: 700; }
.post h3 a { color: var(--brand); }
.post p { margin: 0 0 10px; color: var(--ink-2); font-size: 15px; text-align: justify; }

.tag {
  display: inline-block; font-size: 12px; padding: 2px 10px; border-radius: 20px;
  background: var(--brand-soft); color: var(--brand-2); margin-right: 8px;
}

/* 「待补」小标：栏目条目已列题、但还没有正文时挂在标题后面 */
.todo {
  display: inline-block; margin-left: 8px; padding: 1px 8px;
  font-size: 11.5px; font-weight: 400; font-style: normal;
  color: var(--ink-3); background: var(--bg-soft);
  border: 1px solid var(--line); border-radius: 20px;
  vertical-align: 2px; white-space: nowrap;
}
.card--todo { cursor: default; }
.card--todo:hover { border-color: var(--line); }

.prose { max-width: var(--prose-w); margin: 0 auto; text-align: justify; }
.prose h2 { font-size: 21px; color: var(--brand); margin: 44px 0 14px; }
.prose h3 { font-size: 17px; margin: 30px 0 10px; }
.prose p { margin: 0 0 18px; }
.prose blockquote {
  margin: 24px 0; padding: 14px 20px; border-left: 3px solid var(--brand-2);
  background: var(--bg-soft); color: var(--ink-2);
}
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 18px; }
.prose li { margin-bottom: 8px; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 18px; font-size: 14.5px; }
.prose th { background: var(--brand-soft); border: 1px solid var(--line); padding: 8px 10px; text-align: left; color: var(--brand); }
.prose td { border: 1px solid var(--line); padding: 8px 10px; vertical-align: top; }
.prose tr:nth-child(even) td { background: var(--bg-soft); }
.prose h4 { font-size: 15.5px; color: var(--brand-2); margin: 26px 0 8px; }
/* 行内代码/地址/参数：URL、路径、参数名等用 .prose code */
.prose code {
  font-family: Menlo, Consolas, "Courier New", monospace;
  font-size: 0.88em; background: var(--bg-soft); color: var(--brand);
  padding: 1px 5px; border-radius: 4px; word-break: break-all;
}
.prose .kicker { font-size: 14.5px; color: var(--ink-2); font-style: italic; margin: -4px 0 26px; }
/* 结语重点句：结语收束的关键句用 .quote-line（左侧蓝竖线斜体，与首页金句同款）
   或 .prose .highlight（赭红放大，备用），一篇最多一两处 */
.prose .blank {
  background: var(--brand-soft); color: var(--brand); font-weight: 600;
  padding: 1px 6px; border-radius: 4px; white-space: nowrap;
}

/* 七选五互动练习（theory-qixuanwu.html） */
.prose .quiz-tip {
  font-size: 14px; line-height: 1.75; color: var(--ink-2);
  background: var(--bg-soft); border-left: 3px solid var(--brand-2);
  padding: 10px 14px; border-radius: 0 8px 8px 0; margin: 16px 0 20px;
}
.quiz-slot {
  display: inline-block; min-width: 74px; text-align: center;
  padding: 1px 8px; margin: 0 3px; font-size: .92em; font-weight: 600;
  background: var(--brand-soft); color: var(--brand);
  border-radius: 5px; border-bottom: 2px solid #C7D6EA; cursor: pointer;
  transition: transform .22s ease, background .25s, color .25s, border-color .25s;
}
.quiz-slot:hover { background: #E2ECF9; }
.quiz-slot.filled { background: #DCE9F8; color: var(--brand-2); border-bottom-color: var(--brand-2); }
.quiz-slot.pop { transform: scale(1.22); }
.quiz-slot.ok { background: #E6F4EC; color: #1E7A46; border-bottom-color: #7FC0A2; }
.quiz-slot.bad { background: #FBEDEC; color: #A93B31; border-bottom-color: #E3A49D; }

.quiz-bank { margin: 16px 0 4px; }
.prose .quiz-chip {
  display: block; width: 100%; text-align: left; box-sizing: border-box;
  font-family: inherit; font-size: 15px; line-height: 1.7; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
  padding: 9px 13px; margin: 7px 0; cursor: pointer;
  transition: border-color .2s, background .2s, opacity .25s, color .2s;
}
.prose .quiz-chip:hover { border-color: var(--brand-2); background: var(--brand-soft); }
.prose .quiz-chip.used { opacity: .38; cursor: default; background: var(--bg-soft); }
.prose .quiz-chip.used:hover { border-color: var(--line); background: var(--bg-soft); }
.prose .quiz-chip.ok { border-color: #7FC0A2; background: #F1F9F4; color: #1E7A46; opacity: 1; }
.prose .quiz-chip.bad { border-color: #E3A49D; background: #FDF3F2; color: #A93B31; opacity: 1; }

.quiz-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 18px 0 8px; }
.prose .quiz-btn {
  font-family: inherit; font-size: 15px; line-height: 1.4;
  padding: 8px 20px; border-radius: 8px;
  border: 1px solid var(--brand); background: var(--brand); color: #fff;
  cursor: pointer; transition: background .2s, border-color .2s;
}
.prose .quiz-btn:hover { background: var(--brand-2); border-color: var(--brand-2); }
.prose .quiz-btn.ghost { background: #fff; color: var(--brand-2); border-color: var(--brand-2); }
.prose .quiz-btn.ghost:hover { background: var(--brand-soft); }
.quiz-score { font-size: 14px; color: var(--ink-2); }

/* 习惯回路自动动画（theory-habit.html） */
#habit-loop { margin: 20px 0 24px; }
.loop-row { display: flex; flex-wrap: wrap; align-items: stretch; justify-content: center; gap: 6px; margin: 0 0 12px; }
/* 讲解框：四条文案同格叠放（容器高度=最高一条），CSS 动画轮流显隐 —— 不依赖 JS，手机上也能转 */
.loop-caps { display: grid; margin: 0 0 12px; }
.loop-caps .loop-cap {
  grid-area: 1 / 1; margin: 0;
  font-size: 14.5px; line-height: 1.75; color: var(--ink-2);
  background: var(--bg-soft); border-left: 3px solid var(--brand-2);
  padding: 10px 14px; border-radius: 0 8px 8px 0;
  opacity: 0;
  animation: loopCap 6.8s linear infinite both;
}
.prose .loop-node {
  flex: 1 1 130px; min-width: 118px; font-family: inherit; text-align: center;
  border: 1px solid var(--line); border-radius: 10px;
  padding: 12px 8px 10px; cursor: pointer; opacity: .45; box-sizing: border-box;
  background: #fff;
  animation: loopNode 6.8s linear infinite both;
}
.prose .loop-node b { display: block; font-size: 16px; font-weight: 600; }
.prose .loop-node span { display: block; font-size: 12px; color: var(--ink-3); margin-top: 2px; letter-spacing: .04em; }
.prose .loop-node.on { opacity: 1; border-color: var(--brand-2); background: var(--brand-soft); transform: translateY(-3px); }
.prose .loop-node.on b { color: var(--brand-2); }
.loop-arr { align-self: center; color: var(--ink-3); font-size: 16px; }
/* JS 增强：暂停（冻结在当前帧）/ 手动跳站（停掉动画，由 .on 和 .show 接管） */
#habit-loop.paused .loop-node, #habit-loop.paused .loop-cap { animation-play-state: paused; }
#habit-loop.manual .loop-node, #habit-loop.manual .loop-cap { animation: none; }
#habit-loop.manual .loop-cap.show { opacity: 1; }
@keyframes loopCap {
  0% { opacity: 0; }
  3% { opacity: 1; }
  22% { opacity: 1; }
  25% { opacity: 0; }
  100% { opacity: 0; }
}
@keyframes loopNode {
  0% { opacity: .45; border-color: var(--line); background: #fff; transform: none; color: var(--ink); }
  4% { opacity: 1; border-color: var(--brand-2); background: var(--brand-soft); transform: translateY(-3px); color: var(--brand-2); }
  21% { opacity: 1; border-color: var(--brand-2); background: var(--brand-soft); transform: translateY(-3px); color: var(--brand-2); }
  25% { opacity: .45; border-color: var(--line); background: #fff; transform: none; color: var(--ink); }
  100% { opacity: .45; border-color: var(--line); background: #fff; transform: none; color: var(--ink); }
}
.loop-ctl { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 13px; color: var(--ink-3); }
.prose .loop-btn {
  font-family: inherit; font-size: 13.5px; line-height: 1.4; padding: 5px 16px;
  border-radius: 7px; border: 1px solid var(--brand-2); background: #fff;
  color: var(--brand-2); cursor: pointer; transition: background .2s;
}
.prose .loop-btn:hover { background: var(--brand-soft); }
/* 提示词对照块：模糊版（✗）/ 备课版（✓） */
.prose .cmp { font-weight: 700; font-size: 15.5px; margin: 26px 0 8px; letter-spacing: 0.3px; }
.prose .cmp-bad { color: var(--accent); }
.prose .cmp-good { color: #2F6B4F; }
.prose blockquote.q-bad { border-left-color: #DDBBAA; }
.prose blockquote.q-good { border-left-color: #7FAF96; }

/* 长文章 · 阅读时长与本文目录 */
.read-meta { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.read-chip {
  font-size: 12px; font-weight: 700; letter-spacing: .02em;
  color: var(--brand-2); background: var(--brand-soft);
  border-radius: 20px; padding: 3px 11px;
}
.read-words { font-size: 12px; color: var(--ink-3); }

.toc {
  margin: 6px 0 32px; padding: 18px 22px;
  background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: var(--radius);
}
.toc-title {
  margin: 0 0 12px; font-size: 13px; font-weight: 700;
  color: var(--brand); letter-spacing: .06em;
}
.toc ul { list-style: none; margin: 0; padding: 0; }
.toc li {
  position: relative; padding-left: 16px; margin-bottom: 7px;
  font-size: 14.5px; line-height: 1.65;
}
.toc li::before {
  content: ""; position: absolute; left: 2px; top: .62em;
  width: 5px; height: 5px; border-radius: 50%; background: #AFC7E6;
}
.toc-sub { padding-left: 30px; font-size: 14px; }
.toc-sub::before { left: 16px; width: 4px; height: 4px; background: #D3DCE8; }
.toc a { color: var(--brand-2); }
.toc a:hover { color: var(--brand); }
.prose h2, .prose h3, .prose h4 { scroll-margin-top: 24px; }
@media (min-width: 721px) {
  .toc--2col ul { columns: 2; column-gap: 30px; }
  .toc--2col li { break-inside: avoid; }
}
@media (max-width: 720px) {
  .toc { padding: 15px 16px; }
  .toc li { font-size: 14px; }
}

.dl-btn {
  display: inline-block; padding: 4px 12px; font-size: 13.5px;
  border: 1px solid var(--brand-2); border-radius: 999px; color: var(--brand-2);
}
.dl-btn:hover { background: var(--brand-soft); text-decoration: none; color: var(--brand); }

.file-list { list-style: none; padding: 0; margin: 0; }
.file-list li {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 0; border-bottom: 1px solid var(--line);
}
.file-list .fname { font-size: 15px; color: var(--brand); }
.file-list .fdesc { font-size: 13px; color: var(--ink-3); margin-top: 3px; }
.file-list .fmeta { font-size: 13px; color: var(--ink-3); white-space: nowrap; }
.file-list .fbtns { display: flex; gap: 10px; white-space: nowrap; }
.file-list .dl-btn { min-width: 66px; text-align: center; }
.dl-btn--solid { background: var(--brand); border-color: var(--brand); color: #fff; }
.dl-btn--solid:hover { background: var(--brand-2); border-color: var(--brand-2); color: #fff; }

.notice {
  padding: 16px 20px; border-radius: var(--radius);
  background: var(--brand-soft); color: var(--brand-2); font-size: 14px;
  border: 1px solid #D8E4F3; text-align: justify;
}

.quote-line {
  font-size: 19px; line-height: 1.75; color: var(--brand);
  font-style: italic; margin: 0; padding-left: 20px; border-left: 3px solid var(--brand-2);
}

.site-footer { border-top: 1px solid var(--line); background: var(--bg-soft); padding: 34px 0; margin-top: 48px; }
.site-footer .inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 24px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 13px; color: var(--ink-3);
}

/* ---------- 页脚备案信息 ---------- */
.site-footer a { color: inherit; }
.site-footer a:hover { color: var(--brand); }
.site-footer .icp { white-space: nowrap; }

/* ---------- 艺术字字体 ---------- */

@font-face {
  font-family: "Playfair Display";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/playfair-italic-500.woff2") format("woff2");
}

/* ---------- 配图 ---------- */

.hero-flex {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 44px;
  align-items: center;
}
.hero-figure { margin: 0; }
.hero-figure img {
  display: block; width: 100%; height: auto;
  border-radius: 14px; border: 1px solid var(--line);
}

/* 星空大海配图 + 叠加艺术字 */
.hero-figure--stars { position: relative; overflow: hidden; border-radius: 14px; }
.hero-figure--stars img { border: 0; }
.stars-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  margin: 0;
  padding: 56px 24px 20px;
  background: linear-gradient(180deg, rgba(7, 14, 34, 0) 0%, rgba(7, 14, 34, 0.55) 45%, rgba(7, 14, 34, 0.85) 100%);
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 500;
  font-size: 18px;
  line-height: 1.55;
  letter-spacing: 0.5px;
  text-align: center;
}
.stars-caption .stars-line { color: #eef2ff; }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .stars-caption .stars-line {
    background: linear-gradient(100deg, #dbe7ff 0%, #fdf3d3 50%, #dbe7ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}

/* 亮色云海版本：白色柔光衬底 + 深藏蓝艺术字 */
.stars-caption--light {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.18) 45%, rgba(255, 255, 255, 0.55) 100%);
}
.stars-caption--light .stars-line { color: #16304F; }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .stars-caption--light .stars-line {
    background: linear-gradient(100deg, #16304F 0%, #2C5285 55%, #16304F 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}

figure { margin: 30px 0; }
figure img {
  display: block; width: 100%; height: auto;
  border-radius: var(--radius); border: 1px solid var(--line);
}
figcaption { margin-top: 10px; font-size: 13px; color: var(--ink-3); text-align: center; }

/* 浮动配图：让正文环绕。窄屏自动落回整幅图，避免手机上被挤成一条。
   对齐：图顶 +5px 与环绕文字首行齐平（无头浏览器实测校准）。
   下边距必须为 0：若图底（含边距）落进两行之间，下一行会被整体推下去，
   行节奏出现空洞（实测：27.8px vs 正常 9.8px）。
   ⚠️ 图块总高必须正好等于正文行高的整数倍，图底才会落在行线上、下方文字才不跳行：
   5(上边距) + 259.2(图) + 3.8(图注上边距) + 20(图注一行) = 288 = 10 × 28.8。
   所以图片高度写死为 9 行（259.2px = 9×28.8），宽度由图片比例自适应
   → 3:2 的插图约 388.8px 宽，约占 700px 正文栏的 55%
   （2026-10-15 应 rainny「适当放大」从 8 行/345.6px 上调一档）。
   图注必须控制在**一行**：折成两行会把这 20px 撑成 40px，对齐随即失效。 */
.fig-float-right {
  float: right;
  width: auto;
  margin: 5px 0 0 28px;
}
.fig-float-left {
  float: left;
  width: auto;
  margin: 5px 28px 0 0;
}
.fig-float-right img,
.fig-float-left img { margin: 0; height: 259.2px; width: auto; max-width: 100%; }
.fig-float-right figcaption,
.fig-float-left figcaption {
  margin-top: 3.8px; font-size: 12.5px; line-height: 1.6; text-align: left;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
@media (max-width: 720px) {
  .fig-float-right, .fig-float-left { float: none; width: 100%; margin: 26px 0; }
  .fig-float-right img, .fig-float-left img { height: auto; width: 100%; }
  .fig-float-right figcaption, .fig-float-left figcaption {
    text-align: center; white-space: normal; overflow: visible; margin-top: 10px;
  }
}

.portrait {
  display: grid; grid-template-columns: 200px 1fr; gap: 28px; align-items: center;
  margin: 0 0 34px; padding: 20px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-soft);
}
.portrait img { display: block; width: 100%; height: auto; border-radius: 10px; }
.portrait .p-name { font-size: 19px; font-weight: 700; color: var(--brand); margin: 0 0 8px; }
.portrait .p-meta { font-size: 14px; color: var(--ink-2); margin: 0; line-height: 1.9; text-align: justify; }

.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.gallery figure { margin: 0; }

@media (max-width: 720px) {
  .site-header .inner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .brand-logo { height: 64px; }
  .nav { gap: 11px; font-size: 13.5px; flex-wrap: wrap; }
  .hero { padding: 44px 0 38px; }
  .hero h1 { font-size: 24px; }
  .page-head { padding: 34px 0 22px; }
  .page-head h1 { font-size: 23px; }
  .page-head-img { display: none; }
  .section { padding: 38px 0; }
  .grid { grid-template-columns: 1fr; }
  .file-list li { flex-direction: column; align-items: flex-start; gap: 6px; }
  .hero-flex { grid-template-columns: 1fr; gap: 26px; }
  .stars-caption { padding: 44px 16px 14px; font-size: 15.5px; }
  .portrait { grid-template-columns: 140px 1fr; gap: 18px; padding: 16px; }
}

@media (max-width: 1000px) {
  .nav { gap: 10px; font-size: 13px; }
  .brand .name { font-size: 18px; }
  .brand-logo { height: 56px; }
}

/* ---------- 留言板 ---------- */

.comment-board { margin-top: 30px; }

.comment-form {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--bg-soft); padding: 22px; margin-bottom: 34px;
}
.cf-row { margin-bottom: 14px; }
.cf-row label { display: block; font-size: 13px; color: var(--ink-2); margin-bottom: 6px; }
.cf-row input, .cf-row textarea {
  width: 100%; font: inherit; font-size: 15px; color: var(--ink);
  padding: 10px 12px; border: 1px solid #D6DEE8; border-radius: 8px;
  background: #FFFFFF; resize: vertical;
}
.cf-row input:focus, .cf-row textarea:focus {
  outline: none; border-color: var(--brand-2); box-shadow: 0 0 0 3px var(--brand-soft);
}
.cf-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 4px; }
.cf-actions button {
  font: inherit; font-size: 15px; padding: 9px 24px; border: 0; border-radius: 8px;
  background: var(--brand); color: #FFFFFF; cursor: pointer;
}
.cf-actions button:hover { background: var(--brand-2); }
.cf-actions button:disabled { background: var(--ink-3); cursor: default; }
.cf-counter { font-size: 12px; color: var(--ink-3); }

.comment-msg { font-size: 13px; color: var(--ink-2); }
.comment-msg.good { color: #2F6B4F; }
.comment-msg.bad { color: var(--accent); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.comment-title { font-size: 17px; color: var(--brand); margin: 0 0 14px; font-weight: 700; }
.comment-title span { color: var(--brand-2); }

.comment-list { list-style: none; padding: 0; margin: 0; }
.comment-item {
  padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--bg); margin-bottom: 12px;
}
.comment-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 6px; }
.comment-head .c-name { font-size: 14px; font-weight: 700; color: var(--brand); }
.comment-head .c-time { font-size: 12px; color: var(--ink-3); }
.comment-body { font-size: 15px; color: var(--ink); line-height: 1.8; white-space: pre-wrap; word-break: break-word; text-align: justify; }
.comment-empty { color: var(--ink-3); font-size: 14px; padding: 18px 0; list-style: none; }

/* 老师回复 */
.c-done {
  font-size: 12px; color: #2F6B4F; background: #E8F3EC;
  border-radius: 20px; padding: 1px 10px;
}
.reply-list { margin: 12px 0 0 4px; }
.reply-item { border-left: 2px solid #C9DCF0; padding: 2px 0 2px 14px; margin-bottom: 10px; }
.reply-item:last-child { margin-bottom: 0; }
.reply-head { display: flex; align-items: baseline; gap: 10px; }
.reply-head .reply-who { font-size: 13.5px; font-weight: 700; color: var(--brand-2); }
.reply-head .c-time { font-size: 12px; color: var(--ink-3); }
.reply-body {
  margin-top: 3px; font-size: 14.5px; color: var(--ink-2);
  line-height: 1.8; white-space: pre-wrap; word-break: break-word;
}
.reply-form {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line);
}
.reply-form input {
  flex: 1; min-width: 180px; font: inherit; font-size: 14px;
  border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px;
  background: var(--bg); color: var(--ink);
}
.reply-form input:focus { outline: none; border-color: var(--brand-2); }
.reply-form button {
  font: inherit; font-size: 13.5px; padding: 8px 20px; border-radius: 8px;
  border: 1px solid var(--brand); background: var(--brand); color: #fff; cursor: pointer;
}
.reply-form button:hover { background: var(--brand-2); border-color: var(--brand-2); }
.reply-form button:disabled { background: var(--ink-3); border-color: var(--ink-3); cursor: default; }
.reply-msg { font-size: 12.5px; color: var(--ink-3); }
.reply-msg.good { color: #2F6B4F; }
.reply-msg.bad { color: var(--accent); }
.admin-tip {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  background: #EEF3FA; border: 1px solid #D8E4F3; border-radius: var(--radius);
  padding: 10px 16px; margin-bottom: 16px; font-size: 13px; color: var(--brand-2);
}
.admin-tip button {
  margin-left: auto; font: inherit; font-size: 12.5px; padding: 4px 14px;
  border: 1px solid #C9DCF0; background: #fff; color: var(--brand-2);
  border-radius: 6px; cursor: pointer;
}
.admin-tip button:hover { background: #E2ECF8; }
@media (max-width: 720px) {
  .reply-form input { min-width: 100%; }
  .reply-form button { width: 100%; }
}

@media (max-width: 720px) {
  .comment-form { padding: 18px 16px; }
  .cf-actions button { width: 100%; }
}

/* 关于我 · 题诗（放在人像卡右侧） */
.verse {
  margin: 14px 0 0; padding-left: 14px;
  border-left: 3px solid var(--brand);
  color: var(--ink-2);
  font-size: 15px; line-height: 1.95; letter-spacing: .06em;
}
@media (max-width: 720px) {
  .verse { font-size: 14.5px; letter-spacing: .04em; }
}

/* 联系方式卡片 */
.contact {
  display: grid; grid-template-columns: 1fr 160px; gap: 26px; align-items: center;
  margin: 20px 0 0; padding: 20px 22px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-soft);
}
.contact .c-line { margin: 0 0 12px; font-size: 15px; line-height: 1.9; color: var(--ink-2); }
.contact .c-line:last-child { margin-bottom: 0; }
.contact .c-line strong { display: inline-block; margin-right: 6px; color: var(--brand); letter-spacing: .06em; }
.contact .c-line a { color: var(--brand); }
.contact .qr { margin: 0; text-align: center; }
.contact .qr img { display: block; width: 100%; border-radius: 10px; border: 1px solid var(--line); background: #fff; }
@media (max-width: 720px) {
  .contact { grid-template-columns: 1fr; gap: 16px; }
  .contact .qr { width: 170px; margin: 4px auto 0; }
}

/* 资源下载 · 详情与预览页 */
.res-detail { max-width: 100%; }
.res-desc { margin: 0 0 22px; color: var(--ink-2); font-size: 15px; text-align: justify; }
.res-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin: 0 0 20px; }
.btn-primary {
  display: inline-block; padding: 10px 24px; font-size: 15px;
  background: var(--brand); color: #fff; border: 1px solid var(--brand); border-radius: 999px;
}
.btn-primary:hover { background: var(--brand-2); border-color: var(--brand-2); color: #fff; text-decoration: none; }
.res-back { font-size: 14px; color: var(--ink-3); }
.res-h2 { font-size: 18px; color: var(--brand); margin: 32px 0 12px; }
.preview-box {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; overflow: hidden;
}
.preview-frame { display: block; width: 100%; height: 780px; border: 0; }
.preview-text {
  max-height: 620px; overflow: auto; padding: 24px 26px;
  font-size: 14.5px; line-height: 1.9; color: var(--ink);
  white-space: pre-wrap; word-break: break-word; text-align: justify;
}
.preview-img { display: block; max-width: 100%; height: auto; margin: 0 auto; }
.preview-media { display: block; width: 100%; padding: 18px; }
.preview-media audio { width: 100%; }
.preview-note { padding: 24px 26px; font-size: 14.5px; color: var(--ink-2); line-height: 1.9; }
.preview-cap { margin: 10px 0 0; font-size: 13px; color: var(--ink-3); }
/* Word 文档的块级预览：段落、表格按原件层次还原 */
.preview-doc {
  max-height: 640px; overflow: auto; padding: 26px 30px;
  font-size: 15px; line-height: 1.9; color: var(--ink); text-align: justify;
}
.preview-doc p { margin: 0 0 12px; }
.preview-doc table { border-collapse: collapse; width: 100%; margin: 14px 0; font-size: 14px; }
.preview-doc th, .preview-doc td { border: 1px solid var(--line); padding: 8px 12px; text-align: left; vertical-align: top; }
.preview-doc th { background: var(--brand-soft); color: var(--brand-2); font-weight: 600; white-space: nowrap; }

@media (max-width: 720px) {
  .preview-frame { height: 460px; }
  .preview-text { max-height: 460px; padding: 18px 16px; }
  .preview-doc { max-height: 480px; padding: 18px 16px; }
  .res-actions .btn-primary { width: 100%; text-align: center; }
}

/* ==========================================================
   首页视觉升级（2026-10-17）
   全部样式限定在 body[data-page="index"]，不影响其他页面。
   ========================================================== */

/* —— 顶部：一条藏蓝渐到赭红的细线，替代平淡的单色边框 —— */
body[data-page="index"] .site-header { border-bottom: 0; }
body[data-page="index"] .site-header::after {
  content: ""; display: block; height: 2px;
  background: linear-gradient(90deg, #1F3B63 0%, #3A6EA5 42%, #B4552D 100%);
}

/* —— Hero：从「文档开头」升级为「门面」 —— */
body[data-page="index"] .hero {
  padding: 88px 0 76px;
  background:
    radial-gradient(760px 380px at 6% -8%, rgba(180, 85, 45, 0.10), transparent 62%),
    radial-gradient(700px 360px at 98% 6%, rgba(46, 92, 138, 0.14), transparent 66%),
    linear-gradient(180deg, #FBFCFE 0%, #E9F0F8 100%);
  border-bottom: 1px solid var(--line);
}
body[data-page="index"] .hero-flex {
  grid-template-columns: 1fr 1.06fr; /* 图列放宽：图能舒展成长条，不再是右边一个小方块 */
  gap: 42px;
  align-items: center;
}
body[data-page="index"] .hero .hero-kicker { /* .hero 提一级优先级：否则被下方 .hero p 的灰蓝盖住 */
  margin: 0 0 18px;
  text-align: left; /* 覆盖 .hero p 的 justify：眉题折行时不能两端撑开 */
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-size: 16px;
  font-weight: 600;         /* 细笔画斜体在浅底上红色显不出来，加粗让红立住 */
  letter-spacing: 0.15em;
  white-space: nowrap;
  color: #C0392B;
}
body[data-page="index"] .hero h1 {
  font-size: clamp(26px, 2.9vw, 34px);
  line-height: 1.36;
  letter-spacing: 0.005em;
  margin: 0 0 18px;
  color: #12294A; /* 压到最深的藏蓝：和淡底拉开对比，字才「立」得住 */
}
body[data-page="index"] .hero p { font-size: 17.5px; line-height: 1.85; color: #5B6B82; }
/* 点「最新更新」时平滑滚到下方区块，而不是直接跳页 */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body[data-page="index"] #latest { scroll-margin-top: 28px; }
body[data-page="index"] .hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }
body[data-page="index"] .hero-btn {
  display: inline-block; padding: 11px 28px;
  font-size: 15.5px; border-radius: 999px;
  background: linear-gradient(135deg, #1F3B63 0%, #2E5C8A 100%);
  color: #fff; border: 1px solid transparent;
  transition: box-shadow .2s, transform .18s ease, background .2s;
}
body[data-page="index"] .hero-btn:hover {
  background: linear-gradient(135deg, #2E5C8A 0%, #3A6EA5 100%);
  color: #fff; text-decoration: none; transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(31, 59, 99, 0.22);
}
body[data-page="index"] .hero-btn--ghost {
  background: rgba(255, 255, 255, 0.7);
  color: var(--brand-2); border-color: #B9C9DD;
}
body[data-page="index"] .hero-btn--ghost:hover {
  background: #fff; color: var(--brand); border-color: var(--accent);
  box-shadow: 0 8px 18px rgba(180, 85, 45, 0.14);
}
body[data-page="index"] .hero-figure--quiet img {
  border: 0;
  border-radius: 0;
  box-shadow: none; /* 不再做「贴在纸上的照片」，改为让图像自己化进背景 */
  filter: saturate(0.97) brightness(1.01);
  width: 100%;
  height: 208px;          /* 定高裁切：图变宽幅长条，与左侧文字块高度更配 */
  object-fit: cover;
  object-position: 50% 62%; /* 稍往下取，留住远山和雾带 */
  -webkit-mask-image: radial-gradient(ellipse 84% 86% at 50% 50%, #000 56%, rgba(0, 0, 0, 0.72) 76%, transparent 100%);
  mask-image: radial-gradient(ellipse 84% 86% at 50% 50%, #000 56%, rgba(0, 0, 0, 0.72) 76%, transparent 100%);
}
body[data-page="index"] .quiet-caption {
  margin-top: 10px;
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.6;
  color: #2B4668; /* 图注压深：与图上远山的藏蓝同源，比灰字明显 */
  text-align: left;
  padding-left: 14px;
  border-left: 2px solid #A7BBD4; /* 图注短竖线：出版物图注的做法 */
}
body[data-page="index"] .quiet-caption::before { content: none; }

/* —— 栏目卡：编辑风（去图标，衬线编号 + 顶部色签 + 大留白）—— */
body[data-page="index"] .grid { counter-reset: home-card; gap: 16px; }
body[data-page="index"] .card {
  counter-increment: home-card; position: relative;
  padding: 24px 22px;
  border-color: var(--c-line, #E9EEF5);          /* 常驻本栏目色边框 */
  background: linear-gradient(165deg, #FFFFFF 42%, var(--c-soft) 152%); /* 底部透一点本色，极淡 */
  --c: #1F3B63; --c-soft: #E8F0F9; --c-ring: rgba(31, 59, 99, 0.14);
}
body[data-page="index"] .card:nth-child(1) { --c: #1F3B63; --c-soft: #E8F0F9; --c-ring: rgba(31, 59, 99, .15); --c-line: rgba(31, 59, 99, .26); }
body[data-page="index"] .card:nth-child(2) { --c: #B4552D; --c-soft: #FBEDE5; --c-ring: rgba(180, 85, 45, .16); --c-line: rgba(180, 85, 45, .26); }
body[data-page="index"] .card:nth-child(3) { --c: #2F6B4F; --c-soft: #E7F3EC; --c-ring: rgba(47, 107, 79, .16); --c-line: rgba(47, 107, 79, .26); }
body[data-page="index"] .card:nth-child(4) { --c: #5B4B8A; --c-soft: #EEEBF8; --c-ring: rgba(91, 75, 138, .16); --c-line: rgba(91, 75, 138, .26); }
body[data-page="index"] .card:nth-child(5) { --c: #1F6F7A; --c-soft: #E4F2F4; --c-ring: rgba(31, 111, 122, .16); --c-line: rgba(31, 111, 122, .26); }
body[data-page="index"] .card:nth-child(6) { --c: #8A5A2B; --c-soft: #F9F0E3; --c-ring: rgba(138, 90, 43, .16); --c-line: rgba(138, 90, 43, .26); }
body[data-page="index"] .card:nth-child(7) { --c: #3A4E8C; --c-soft: #EAEDF8; --c-ring: rgba(58, 78, 140, .16); --c-line: rgba(58, 78, 140, .26); }
body[data-page="index"] .card:nth-child(8) { --c: #5C6B2F; --c-soft: #F1F4E4; --c-ring: rgba(92, 107, 47, .16); --c-line: rgba(92, 107, 47, .26); }
body[data-page="index"] .card:hover {
  border-color: var(--c);
  background: #fff;
  box-shadow: 0 14px 28px var(--c-ring);
}
body[data-page="index"] .card::after {
  content: counter(home-card, decimal-leading-zero);
  position: absolute; top: 22px; right: 24px;
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic; font-size: 19px; letter-spacing: 0.06em;
  color: var(--c); opacity: 0.38;
}
body[data-page="index"] .card h3 { font-size: 18.5px; letter-spacing: 0.01em; margin-bottom: 10px; }
body[data-page="index"] .card-ico {
  width: 54px; height: 54px; box-sizing: border-box;
  padding: 0; background: none; /* 立体图标自带白底卡片和阴影，不再叠色块底座 */
  border-radius: 0; margin-bottom: 12px;
}
body[data-page="index"] .card p { font-size: 14.5px; }
body[data-page="index"] .card .meta { font-size: 12.5px; display: flex; align-items: center; gap: 7px; }
body[data-page="index"] .card .meta::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--c); opacity: 0.55; flex-shrink: 0;
}
/* 「最新更新」右上栏目快捷链接：安静小字 + 悬停细线滑入 + 箭头轻移 */
body[data-page="index"] .more-links { gap: 6px 24px; }
body[data-page="index"] .more-links .more {
  font-size: 13.5px; letter-spacing: 0.05em; color: var(--ink-3);
  padding-bottom: 3px;
  background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0% 1px;
  transition: color .25s ease, background-size .25s ease;
}
body[data-page="index"] .more-links .more::after {
  content: "\2192"; display: inline-block; margin-left: 5px;
  font-size: 12px; opacity: .7;
  transition: transform .25s ease, opacity .25s ease;
}
body[data-page="index"] .more-links .more:hover {
  color: var(--brand); background-size: 100% 1px;
}
body[data-page="index"] .more-links .more:hover::after {
  transform: translateX(3px); opacity: 1;
}

/* —— 栏目标题：英文眉题（eyebrow）+ 加大主标题 —— */
body[data-page="index"] .sec-eyebrow {
  display: block; margin-bottom: 3px;
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic; font-size: 13px; letter-spacing: 0.22em;
  color: #C0764F;
}
body[data-page="index"] .section-head { align-items: flex-end; }
body[data-page="index"] .section-head h2 { font-size: 25px; letter-spacing: 0.01em; }

/* —— 最新更新：日期前赭红短线、第一条「最新」徽章、暖色标签 —— */
body[data-page="index"] .post { padding: 28px 0; }
body[data-page="index"] .post .date {
  display: flex; align-items: center; gap: 9px; font-size: 13px;
  font-style: normal; letter-spacing: 0.02em; /* 中文日期不斜体：伪斜发虚 */
}
body[data-page="index"] .post .date::before {
  content: ""; width: 18px; height: 2px; background: var(--accent); flex-shrink: 0;
}
body[data-page="index"] .badge-new {
  display: inline-block; margin-left: 8px; padding: 0 7px;
  font-size: 10.5px; font-weight: 700; line-height: 1.8;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: #fff; background: #C43D2F; border-radius: 3px;
  vertical-align: 1px;
}
body[data-page="index"] .post h3 { font-size: 21px; line-height: 1.5; }
body[data-page="index"] .post h3 a { transition: color .18s ease; } /* 平时藏蓝，悬停变赭红 */
body[data-page="index"] .post p { font-size: 15.5px; }
body[data-page="index"] .post .tag {
  background: #FBF0E9; color: #9A4A26;
}

/* —— 更新条目：悬停 / 点按的「动一下」，手感跟栏目卡一致 —— */
body[data-page="index"] #site-updates .post {
  margin: 0 -16px;
  padding: 28px 16px;
  border-radius: 10px;
  transition: background-color .2s ease, box-shadow .2s ease, transform .14s ease;
}
body[data-page="index"] #site-updates .post:hover {
  background: #F2F7FC;
  box-shadow: inset 2px 0 0 0 var(--accent); /* 左侧一线赭红，像是被抽出来 */
}
body[data-page="index"] #site-updates .post:active {
  background: #E3EDF8;
  box-shadow: inset 2px 0 0 0 var(--accent);
  transform: scale(.995);
}
body[data-page="index"] #site-updates .post .date::before { transition: width .24s ease; }
body[data-page="index"] #site-updates .post:hover .date::before { width: 34px; }
body[data-page="index"] #site-updates .post:hover h3 a { color: #B4552D; }
body[data-page="index"] #site-updates .post.is-tapped {
  background: #E3EDF8;              /* 触屏点按：与 :active 同款的深一档反馈 */
  box-shadow: inset 2px 0 0 0 var(--accent);
}
body[data-page="index"] #site-updates .post.is-tapped .date::before { width: 34px; }
body[data-page="index"] #site-updates .post.is-tapped h3 a { color: #B4552D; }

/* —— 文章列表（随笔 / 理论 / 课件 / AI 教学 / 读书）：统一的悬停与点按反馈 —— */
body[data-page="notes"] .post,
body[data-page="theory"] .post,
body[data-page="lessons"] .post,
body[data-page="ai"] .post,
body[data-page="reading"] .post {
  margin: 0 -16px;
  padding: 30px 16px;
  border-radius: 10px;
  transition: background-color .2s ease, box-shadow .2s ease, transform .18s ease;
}
body[data-page="notes"] .post .date,
body[data-page="theory"] .post .date,
body[data-page="lessons"] .post .date,
body[data-page="ai"] .post .date,
body[data-page="reading"] .post .date { display: flex; align-items: center; gap: 9px; }
body[data-page="notes"] .post .date::before,
body[data-page="theory"] .post .date::before,
body[data-page="lessons"] .post .date::before,
body[data-page="ai"] .post .date::before,
body[data-page="reading"] .post .date::before {
  content: ""; width: 18px; height: 2px; background: var(--accent); flex-shrink: 0;
  transition: width .24s ease;
}
body[data-page="notes"] .post:hover,
body[data-page="theory"] .post:hover,
body[data-page="lessons"] .post:hover,
body[data-page="ai"] .post:hover,
body[data-page="reading"] .post:hover,
body[data-page="notes"] .post.is-tapped,
body[data-page="theory"] .post.is-tapped,
body[data-page="lessons"] .post.is-tapped,
body[data-page="ai"] .post.is-tapped,
body[data-page="reading"] .post.is-tapped {
  background: #F2F7FC;
  box-shadow: inset 2px 0 0 0 var(--accent);
  transform: translateX(4px); /* 轻轻向右迎一下，比单纯变色更有「活」感 */
}
body[data-page="notes"] .post:hover .date::before,
body[data-page="notes"] .post.is-tapped .date::before,
body[data-page="theory"] .post:hover .date::before,
body[data-page="theory"] .post.is-tapped .date::before,
body[data-page="lessons"] .post:hover .date::before,
body[data-page="lessons"] .post.is-tapped .date::before,
body[data-page="ai"] .post:hover .date::before,
body[data-page="ai"] .post.is-tapped .date::before,
body[data-page="reading"] .post:hover .date::before,
body[data-page="reading"] .post.is-tapped .date::before { width: 34px; }
body[data-page="notes"] .post:hover h3 a,
body[data-page="notes"] .post.is-tapped h3 a,
body[data-page="theory"] .post:hover h3 a,
body[data-page="theory"] .post.is-tapped h3 a,
body[data-page="lessons"] .post:hover h3 a,
body[data-page="lessons"] .post.is-tapped h3 a,
body[data-page="ai"] .post:hover h3 a,
body[data-page="ai"] .post.is-tapped h3 a,
body[data-page="reading"] .post:hover h3 a,
body[data-page="reading"] .post.is-tapped h3 a { color: #B4552D; }
body[data-page="notes"] .post h3 a,
body[data-page="theory"] .post h3 a,
body[data-page="lessons"] .post h3 a,
body[data-page="ai"] .post h3 a,
body[data-page="reading"] .post h3 a { transition: color .18s ease; }

/* —— 资源下载列表：同一套手感 —— */
.file-list li {
  transition: background-color .2s ease, box-shadow .2s ease, transform .18s ease;
  border-radius: 8px; padding-left: 14px; padding-right: 14px;
}
.file-list li:hover,
.file-list li.is-tapped {
  background: #F2F7FC;
  box-shadow: inset 2px 0 0 0 var(--accent);
  transform: translateX(4px);
}
.file-list li:hover a,
.file-list li.is-tapped a { color: #B4552D; }
.file-list li a { transition: color .18s ease; }


/* —— 金句：深蓝底 pull-quote + 右下角赭红余晖 —— */
body[data-page="index"] .quote-band {
  background:
    radial-gradient(560px 300px at 88% 118%, rgba(180, 85, 45, 0.45), transparent 72%),
    linear-gradient(135deg, #182F52 0%, #27507E 58%, #3A5C86 100%);
  border-top: 0;
  padding: 64px 0;
}
body[data-page="index"] .quote-band .quote-line {
  max-width: 660px; margin: 0 auto;
  color: #F5F8FC; font-size: 23px; line-height: 1.9;
  font-style: normal; /* 中文金句不斜体：伪斜笔画发虚，直立更大气 */
  letter-spacing: 0.03em;
  border-left: 3px solid rgba(230, 160, 120, 0.8);
}

@media (max-width: 720px) {
  body[data-page="index"] .hero { padding: 50px 0 44px; }
  body[data-page="index"] .hero-flex { grid-template-columns: 1fr; gap: 24px; } /* 恢复单列：v13 的桌面覆盖压掉了老规则 */
  body[data-page="index"] .hero-figure--quiet img { height: auto; object-position: 50% 55%; }
  body[data-page="index"] .hero .hero-kicker { font-size: 13.5px; letter-spacing: 0.08em; white-space: normal; }
  body[data-page="index"] .hero-cta .hero-btn { width: 100%; text-align: center; }
  body[data-page="index"] .section-head h2 { font-size: 22px; }
  body[data-page="index"] .post h3 { font-size: 19px; }
  body[data-page="index"] .quote-band { padding: 44px 0; }
  body[data-page="index"] .quote-band .quote-line { font-size: 18.5px; }
}

