:root {
  color-scheme: light dark;
  --bg: #f8f5ee;
  --ink: #26241f;
  --dim: #655e53;
  --rule: #d7d0c2;
  --accent: #315b49;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #201f1b;
    --ink: #f0eadc;
    --dim: #c3bbab;
    --rule: #4c4a41;
    --accent: #a1cfb5;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: system-ui, sans-serif;
}
a { color: inherit; }
.shell { width: min(100% - 2.5rem, 52rem); margin-inline: auto; }
header {
  min-height: 4.25rem;
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--rule);
}
.wordmark { font: 700 1rem ui-monospace, monospace; text-decoration: none; }
.subscribe { color: var(--accent); text-underline-offset: .25em; }
.intro { padding: clamp(3.75rem, 10vw, 7.5rem) 0 clamp(2.5rem, 6vw, 4.25rem); }
h1, h2 { font-family: "Songti SC", "Noto Serif CJK SC", Georgia, serif; margin: 0; }
h1 { font-size: clamp(3rem, 9vw, 6.5rem); line-height: 1.05; letter-spacing: -.035em; }
.intro p { color: var(--dim); font-size: 1rem; line-height: 1.8; margin: 1.3rem 0 0; }
.post {
  display: grid;
  grid-template-columns: 9rem minmax(0, 1fr);
  gap: 1.2rem;
  padding: 1.65rem 0 1.85rem;
  border-top: 1px solid var(--rule);
}
.post:last-child { border-bottom: 1px solid var(--rule); }
.post time, .topic { display: block; color: var(--dim); font-size: .85rem; line-height: 1.7; }
.topic { color: var(--accent); }
.post h2 { font-size: clamp(1.3rem, 3.1vw, 1.8rem); line-height: 1.4; overflow-wrap: anywhere; }
.post h2 a { text-decoration: none; }
.post h2 a:hover, .post h2 a:focus-visible { color: var(--accent); text-decoration: underline; }
.post p { margin: .45rem 0 0; color: var(--dim); line-height: 1.65; }
footer { padding: 2rem 0 3rem; color: var(--dim); font-size: .88rem; }
@media (max-width: 36rem) {
  .post { grid-template-columns: 1fr; gap: .35rem; }
  .post time, .topic { display: inline; margin-right: .75rem; }
}
