/* 栖点技术手记：独立静态中文网站，不调用外部字体或跟踪脚本。 */
:root {
  color-scheme: light;
  --bg: #f8f6f1; --paper: #fffdf8; --ink: #182b31; --muted: #647377;
  --line: #e1e5df; --accent: #20695f; --accent-dark: #165148;
  --warm: #e9bc8a; --shadow: 0 22px 64px rgba(30,54,54,.08);
}
html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #101e21; --paper: #182b2e; --ink: #f2f1e9; --muted: #b2c2bf;
  --line: #355053; --accent: #83cbb7; --accent-dark: #b7e9d9;
  --warm: #d2a873; --shadow: 0 24px 60px rgba(0,0,0,.2);
}
*,*::before,*::after { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; background:var(--bg); color:var(--ink); font: 16px/1.75 -apple-system,BlinkMacSystemFont,"PingFang SC","Hiragino Sans GB","Microsoft YaHei","Noto Sans CJK SC",sans-serif; -webkit-font-smoothing:antialiased; }
a { color:inherit; text-decoration:none; }
a:hover { color:var(--accent); }
button { font:inherit; }
img { display:block; max-width:100%; }
::selection { background:var(--warm); color:#162c2f; }
:focus-visible { outline:3px solid var(--accent); outline-offset:4px; border-radius:3px; }
.skip-link { position:absolute; left:16px; top:-80px; background:var(--paper); padding:8px 18px; z-index:50; }
.skip-link:focus { top:12px; }
.wrap { width:min(1120px, calc(100% - 48px)); margin:auto; }
.site-header { position:relative; z-index:20; border-bottom:1px solid var(--line); background:var(--paper); }
.header-inner { min-height:84px; display:flex; align-items:center; justify-content:space-between; gap:20px; }
.brand { display:inline-flex; align-items:center; gap:12px; color:var(--ink); }
.brand:hover { color:var(--ink); }
.brand-icon { display:grid; place-items:center; width:39px; height:39px; border-radius:12px; background:#1e665c; color:#f6f4ea; font-family:Georgia,serif; font-size:27px; font-style:italic; line-height:1; }
.brand-text { font-family:"PingFang SC","Noto Serif CJK SC","Songti SC",serif; font-size:20px; font-weight:700; letter-spacing:-.02em; }
.brand-small { display:block; margin-top:-8px; font: 10px/1.2 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; text-transform:uppercase; letter-spacing:.08em; color:var(--muted); }
.nav { display:flex; align-items:center; gap:19px; font-size:14px; font-weight:650; }
.nav a { position:relative; }
.nav a[aria-current="page"] { color:var(--accent); }
.nav a[aria-current="page"]:after { position:absolute; content:""; left:0; right:0; bottom:-8px; height:2px; background:currentColor; }
.header-actions { display:flex; align-items:center; gap:9px; }
.icon-button { width:38px; height:38px; display:grid; place-items:center; background:transparent; border:1px solid var(--line); border-radius:50%; color:var(--ink); cursor:pointer; transition:background .2s,transform .2s; }
.icon-button:hover { background:var(--bg); transform:translateY(-2px); }
.icon-button svg { width:18px; height:18px; stroke:currentColor; fill:none; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.menu-button { display:none; }
.hero { padding:90px 0 76px; }
.hero-grid { display:grid; grid-template-columns:1.05fr .95fr; align-items:center; gap:65px; }
.eyebrow { display:inline-flex; align-items:center; gap:10px; color:var(--accent); text-transform:uppercase; font-size:12px; font-weight:750; letter-spacing:.08em; }
.eyebrow::before { content:""; width:25px; height:1px; background:currentColor; }
h1,h2,h3,p { margin-top:0; }
h1,h2,h3 { letter-spacing:-.025em; }
h1,h2 { font-family:"PingFang SC","Noto Serif CJK SC","Songti SC",serif; font-weight:500; line-height:1.14; }
h1 { font-size:clamp(42px,5vw,72px); margin:23px 0 24px; }
h2 { font-size:clamp(30px,3.6vw,48px); margin:16px 0 13px; }
h3 { font-family:"PingFang SC","Noto Serif CJK SC","Songti SC",serif; font-size:25px; font-weight:500; line-height:1.3; margin:14px 0 12px; }
.lead { color:var(--muted); font-size:18px; line-height:1.9; max-width:510px; }
.hero-copy .lead { margin-bottom:34px; }
.button { display:inline-flex; align-items:center; justify-content:center; min-height:48px; padding:11px 21px; border:1px solid var(--accent); border-radius:6px; background:var(--accent); color:#fffdf8; font-size:13px; font-weight:700; gap:14px; transition:transform .2s,background .2s; }
.button:hover { color:#fffdf8; background:var(--accent-dark); transform:translateY(-2px); }
.button-outline { background:transparent; color:var(--accent); }
.button-outline:hover { color:var(--ink); background:var(--paper); }
.arrow { font-size:17px; line-height:1; }
.hero-art { border-radius:190px 190px 16px 16px; background:#d7e7db; box-shadow:var(--shadow); overflow:hidden; aspect-ratio: .94; border:1px solid var(--line); }
.hero-art img { height:100%; width:100%; object-fit:cover; }
.hero-note { display:flex; gap:12px; align-items:center; margin-top:17px; color:var(--muted); font-size:12px; }
.hero-note::before { content:"✳"; font-size:23px; color:var(--accent); }
.rule { border:0; border-top:1px solid var(--line); margin:0; }
.section { padding:82px 0; }
.section-head { display:flex; align-items:end; justify-content:space-between; gap:28px; margin-bottom:38px; }
.section-head h2 { margin-bottom:0; }
.text-link { display:inline-flex; align-items:center; gap:10px; font-size:13px; font-weight:750; color:var(--accent); white-space:nowrap; }
.text-link:hover { color:var(--ink); }
.card-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
.story-card { background:var(--paper); border:1px solid var(--line); border-radius:10px; overflow:hidden; transition:transform .2s,box-shadow .2s; }
.story-card:hover { transform:translateY(-6px); box-shadow:var(--shadow); }
.story-card .thumb { aspect-ratio:1.55; width:100%; object-fit:cover; background:#d7e8dc; }
.story-body { padding:25px 26px 27px; }
.meta { font-size:11px; letter-spacing:.14em; text-transform:uppercase; color:var(--accent); font-weight:750; }
.story-card p { color:var(--muted); font-size:14px; line-height:1.8; margin-bottom:0; }
.quote-section { padding:70px 0; background:#e5ede5; color:#213e3c; }
html[data-theme="dark"] .quote-section { background:#1e3737; color:#e7eee5; }
.quote-wrap { display:grid; grid-template-columns:1fr 1.25fr; gap:90px; align-items:center; }
.quote-wrap h2 { font-size:clamp(34px,4vw,54px); margin-bottom:0; }
.quote-wrap p { max-width:480px; font-size:17px; line-height:1.9; opacity:.85; margin-bottom:0; }
.bottom-cta { padding:85px 0 95px; text-align:center; }
.bottom-cta h2 { max-width:650px; margin:12px auto 20px; }
.bottom-cta p { max-width:560px; margin:0 auto 25px; color:var(--muted); }
.site-footer { padding:33px 0; border-top:1px solid var(--line); background:var(--paper); }
.footer-grid { display:flex; justify-content:space-between; align-items:center; gap:24px; }
.footer-copy { color:var(--muted); font-size:12px; }
.footer-nav { display:flex; flex-wrap:wrap; gap:24px; font-size:13px; font-weight:650; }
.page-hero { padding:80px 0 50px; text-align:center; }
.page-hero h1 { font-size:clamp(42px,5vw,66px); margin:20px 0; }
.page-hero p { max-width:670px; margin:0 auto; }
.intro-panel { background:var(--paper); padding:48px; border:1px solid var(--line); border-radius:12px; }
.prose { max-width:730px; margin:0 auto; padding:0 0 85px; }
.prose h2 { font-size:34px; margin:52px 0 18px; }
.prose h3 { font-size:25px; margin:28px 0 14px; }
.prose p,.prose li { color:var(--muted); font-size:16px; line-height:1.95; }
.prose ul { padding-left:20px; }
.prose li { margin:9px 0; }
.prose blockquote { border-left:3px solid var(--accent); margin:30px 0; padding:3px 0 3px 24px; font: italic 25px/1.5 Georgia,serif; }
.prose .article-intro { font-size:19px; color:var(--ink); }
.article-header { padding:83px 0 54px; max-width:815px; margin:auto; text-align:center; }
.article-header h1 { font-size:clamp(34px,4.2vw,58px); }
.article-header .lead { margin:0 auto; }
.article-banner { max-width:920px; margin:0 auto 65px; border-radius:12px; width:calc(100% - 48px); }
.backlink { display:inline-flex; gap:9px; align-items:center; color:var(--accent); font-size:13px; font-weight:700; }
.about-columns { display:grid; grid-template-columns: 1fr 1fr; gap:60px; align-items:center; }
.about-columns img { width:100%; border-radius:12px; }
.about-columns p { color:var(--muted); }
.note-list { padding-bottom:90px; }
.callout { margin:35px 0; padding:24px; background:var(--paper); border:1px solid var(--line); border-left:4px solid var(--accent); border-radius:5px; }
.callout p { margin-bottom:0; }
@media(max-width:850px){
  .hero {padding:70px 0;}
  .hero-grid {gap:30px;}
  .hero-art {aspect-ratio:.82;}
  .card-grid {grid-template-columns:repeat(2,minmax(0,1fr));}
  .quote-wrap {gap:35px;}
}
@media(max-width:650px){
  .wrap{width:min(100% - 32px,1120px);}
  .header-inner{min-height:72px;}
  .brand-text{font-size:20px;}
  .menu-button{display:grid;}
  .nav{position:absolute; top:calc(100% - 1px);left:0;right:0;display:none;flex-direction:column;align-items:stretch;gap:0;background:var(--paper);border-bottom:1px solid var(--line);padding:7px 24px 15px;box-shadow:0 16px 25px rgba(0,0,0,.06);}
  .nav[data-open="true"]{display:flex;}
  .nav a{padding:12px 0;}
  .nav a[aria-current="page"]:after{display:none;}
  .hero{padding:50px 0 65px;}
  .hero-grid{grid-template-columns:1fr;gap:40px;}
  .hero h1{font-size:clamp(39px,9.5vw,54px);}
  .hero-art{max-height:450px;aspect-ratio:1.2;border-radius:150px 150px 12px 12px;}
  .section{padding:63px 0;}
  .section-head{align-items:start;flex-direction:column;gap:12px;}
  .card-grid{grid-template-columns:1fr;}
  .story-card .thumb{aspect-ratio:1.8;}
  .quote-wrap,.about-columns{grid-template-columns:1fr;gap:25px;}
  .quote-section{padding:65px 0;}
  .bottom-cta{padding:60px 0;}
  .page-hero{padding:58px 0 43px;}
  .intro-panel{padding:25px;}
  .article-header{padding:55px 16px 35px;}
  .article-banner{width:calc(100% - 32px);margin-bottom:43px;}
  .prose{padding:0 0 60px;}
  .prose h2{font-size:31px;}
  .footer-grid{flex-direction:column;align-items:flex-start;gap:14px;}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important;}}

/* 中文内容与专题卡片 */
.brand-icon { font-family:"PingFang SC","Noto Sans CJK SC",sans-serif; font-size:22px; font-style:normal; font-weight:700; }
.brand-text { font-family:"PingFang SC","Noto Sans CJK SC",sans-serif; font-size:21px; letter-spacing:-.025em; }
.brand-small { font-family:"PingFang SC","Noto Sans CJK SC",sans-serif; letter-spacing:.03em; margin-top:-2px; font-size:10px; }
.nav { white-space:nowrap; }
.hero-stats { display:flex; flex-wrap:wrap; gap:10px 18px; margin-top:27px; color:var(--muted); font-size:12px; }
.hero-stats span:not(:first-child):before { content:"·"; padding-right:14px; color:var(--accent); }
.topic-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
.topic-tile { display:flex; align-items:flex-start; gap:15px; border:1px solid var(--line); border-radius:12px; background:var(--paper); padding:25px; min-height:170px; transition:transform .2s,box-shadow .2s; }
.topic-tile:hover { box-shadow:var(--shadow); transform:translateY(-4px); }
.topic-symbol { display:grid; place-items:center; flex:none; background:#e3efe7; color:#1d6b5f; border-radius:12px; width:48px; height:48px; font-size:25px; font-weight:600; }
html[data-theme="dark"] .topic-symbol { background:#294842; color:#a8dbc8; }
.topic-tile h3 { margin:0 0 8px; font-family:inherit; font-size:20px; font-weight:650; }
.topic-tile p { font-size:13px; color:var(--muted); line-height:1.8; margin:0 0 9px; }
.topic-count { font-size:12px; font-weight:700; color:var(--accent); }
.archive-toolbar { display:flex; align-items:center; gap:16px; justify-content:space-between; margin-bottom:20px; }
.topic-filters { display:flex; flex-wrap:wrap; gap:9px; }
.chip { border:1px solid var(--line); background:var(--paper); padding:7px 13px; border-radius:99px; font-size:12px; font-weight:650; }
.chip.active { background:var(--accent); border-color:var(--accent); color:#fff; }
.search-box { flex:0 1 255px; }
.search-box input { width:100%; border:1px solid var(--line); border-radius:8px; background:var(--paper); padding:10px 12px; color:var(--ink); font:inherit; font-size:13px; }
.search-count { font-size:12px; color:var(--muted); margin-bottom:24px; }
.search-empty { padding:35px 0; color:var(--muted); text-align:center; }
.searchable-list > div[hidden] { display:none; }
.sr-only { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; }
.page-hero-actions { margin-top:24px !important; }
.prose { word-break:normal; overflow-wrap:anywhere; }
.prose h2 { font-family:inherit; font-size:28px; font-weight:700; line-height:1.45; letter-spacing:-.02em; }
.prose h3 { font-family:inherit; font-size:22px; font-weight:650; }
.prose p,.prose li { line-height:2.05; }
.prose pre { border:1px solid var(--line); border-radius:10px; padding:20px; background:var(--paper); overflow:auto; line-height:1.7; font-size:13px; }
.prose code { font-family:ui-monospace,Menlo,Consolas,monospace; font-size:.89em; }
.prose p code,.prose li code { background:var(--paper); padding:2px 5px; border-radius:4px; border:1px solid var(--line); }
.prose strong { color:var(--ink); }
.article-ending { border-left:3px solid var(--accent); background:var(--paper); padding:16px 20px; margin:40px 0 24px; }
.article-ending p { margin:0; font-size:13px; }
.related { padding-top:28px; margin-top:40px; border-top:1px solid var(--line); }
.related h2 { font-size:21px; margin:0 0 15px; }
.related a { display:block; font-size:15px; margin:9px 0; font-weight:600; }
.article-header h1 { font-family:"PingFang SC","Noto Sans CJK SC",sans-serif; letter-spacing:-.025em; font-weight:650; }
.article-header .eyebrow a { text-decoration:underline; text-underline-offset:3px; }
@media(max-width:900px){.topic-grid{grid-template-columns:1fr 1fr;}.nav{gap:13px;font-size:12px;}.brand-small{display:none;}}
@media(max-width:650px){.topic-grid{grid-template-columns:1fr;}.topic-tile{min-height:auto;}.archive-toolbar{align-items:stretch;flex-direction:column;}.search-box{flex:initial;}.brand-small{display:block;}.nav{gap:0;font-size:14px;}.prose h2{font-size:25px;}.prose pre{padding:14px;}.hero-stats span:not(:first-child):before{padding-right:9px;}}
