/* Bonflow 品牌层 —— 只覆盖主题变量，不改主题源码
   2026-10 定稿：深墨绿 / 灰绿 / 米白 / 纯白 / 陶土橘 */
:root{
  --bf-leaf:#1F3D2B;
  --bf-sage:#6E8B74;
  --bf-cream:#F7F4EC;
  --bf-bone:#FFFFFF;
  --bf-clay:#C4703F;

  /* book 主题变量覆盖 */
  --body-background:var(--bf-cream);
  --body-background-tint:none;
  --body-font-color:var(--bf-leaf);
  --body-font-weight:400;
  --color-link:var(--bf-clay);
  --color-visited-link:var(--bf-sage);
  --border-radius:2px;
  --border-color:#DCD6C8;
}
body{font-family:"Noto Serif SC","Songti SC","Source Han Serif SC",Georgia,serif;-webkit-font-smoothing:antialiased}
h1,h2,h3,h4{font-family:"Fraunces","Noto Serif SC","Songti SC",Georgia,serif;font-weight:600;letter-spacing:-.01em;color:var(--bf-leaf)}
h1{font-size:clamp(28px,3.6vw,40px);line-height:1.2}
h2{font-size:clamp(22px,2.6vw,28px);line-height:1.3;margin-top:2.2em}
p,li{line-height:1.85;max-width:68ch}
a{text-decoration:none;border-bottom:1px solid rgba(196,112,63,.35)}
a:hover{border-bottom-color:var(--bf-clay)}
.book-menu{background:var(--bf-cream);border-right:1px solid #DCD6C8}
.book-menu a{color:var(--bf-leaf);border-bottom:0}
.book-menu a:hover,.book-menu a.active{color:var(--bf-clay)}
.book-page{background:var(--bf-cream)}
.book-header{background:var(--bf-cream);border-bottom:1px solid #DCD6C8}
.markdown hr{border-color:#DCD6C8}
.book-hero img.logo-svg{max-width:96px}
blockquote{border-left:2px solid var(--bf-sage);color:var(--bf-sage);margin:1.6em 0;padding-left:1em;font-style:normal}

/* 自托管字体（零外链） */
@font-face{font-family:"Fraunces";src:url("/fonts/fraunces.woff2") format("woff2");font-weight:100 900;font-display:swap}
@font-face{font-family:"Noto Serif SC";src:url("/fonts/noto-sc-400.woff2") format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:"Noto Serif SC";src:url("/fonts/noto-sc-700.woff2") format("woff2");font-weight:700;font-display:swap}
