:root {
  color-scheme: light;
  --ink: #392e2c;
  --muted: #665752;
  --rose: #803a4b;
  --line: #dfcfc4;
  background: #fffaf3;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", sans-serif;
  line-height: 1.65;
}
* { box-sizing: border-box; }
body { margin: 0; }
body > header, body > main, body > footer { width: min(100% - 2rem, 48rem); margin-inline: auto; }
header, footer { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
header { border-bottom: 1px solid var(--line); padding: 1rem 0; }
footer { border-top: 1px solid var(--line); padding: 1.4rem 0 2.5rem; color: var(--muted); font-size: .9rem; }
a { color: var(--rose); text-underline-offset: .22em; }
a:hover { text-decoration-thickness: .13em; }
a:focus-visible { outline: 2px solid var(--rose); outline-offset: .25rem; }
.brand, h1, h2 { font-family: Georgia, "Songti SC", serif; }
.brand { font-weight: 600; color: var(--ink); text-decoration: none; font-size: 1.4rem; }
nav { display: flex; gap: 1.1rem; flex-wrap: wrap; }
nav a { font-size: .95rem; }
main { padding: clamp(2rem, 7vw, 4.5rem) 0 4rem; }
h1 { font-weight: 500; font-size: clamp(2.4rem, 8vw, 4.4rem); line-height: 1.1; margin: 0 0 1rem; }
h2 { font-size: clamp(1.6rem, 5vw, 2.2rem); font-weight: 500; line-height: 1.2; }
h3 { margin: 1.75rem 0 .25rem; font-size: 1.08rem; line-height: 1.4; }
p { margin: .4rem 0 .9rem; }
section { padding: 1rem 0 1.5rem; scroll-margin-top: 1rem; }
section + section { border-top: 1px solid var(--line); }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 42rem; }
.home { display: grid; gap: .8rem; margin-top: 2rem; }
.home a { padding: 1rem 1.3rem; border: 1px solid var(--line); border-radius: 1rem; font-size: 1.1rem; background: #fbefe6; }
:lang(zh-Hans) { line-break: strict; }
