:root {
  --ink: #1a1612; --paper: #f5f0e8; --muted: #7a6e62;
  --accent: #8b1a1a; --rule: #c8bfb0; --max-width: 680px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 18px; }
body { background: var(--paper); color: var(--ink);
  font-family: Georgia, serif; line-height: 1.75; padding: 0 1.5rem; }
.page { max-width: var(--max-width); margin: 0 auto; padding: 4rem 0 6rem; }
.book-title { font-family: 'Lexend Deca', sans-serif; font-size: 3.5rem;
  font-weight: 600; line-height: 1.1; margin-bottom: 0.5rem; }
.book-author { font-family: 'Cormorant SC', serif; font-size: 0.85rem;
  letter-spacing: 0.15em; color: var(--muted); margin-bottom: 0.5rem; }
.book-subtitle { font-family: 'Cormorant Garamond', serif; font-style: italic;
  font-size: 1.1rem; color: var(--muted); margin-bottom: 0.25rem; }
.title-rule { width: 3rem; height: 1px; background: var(--accent);
  margin: 1.5rem 0 2.5rem; }
.toc-list { list-style: none; margin-top: 2rem; }
.toc-list li { display: flex; align-items: baseline;
  padding: 0.6rem 0; border-bottom: 1px solid var(--rule); }
.toc-list li:first-child { border-top: 1px solid var(--rule); }
.toc-num { font-family: 'Cormorant SC', serif; font-size: 0.7rem;
  letter-spacing: 0.1em; color: var(--muted); min-width: 2.5rem; }
.toc-list a { font-family: 'Cormorant Garamond', serif; font-size: 1.15rem;
  color: var(--ink); text-decoration: none; flex: 1; }
.toc-list a:hover { color: var(--accent); }
.toc-part { display: block; border-bottom: none; margin-top: 1.5rem;
  padding: 0.4rem 0; font-family: 'Cormorant SC', serif; font-size: 1.7rem;
  letter-spacing: 0.15em; color: var(--accent); }
.toc-list li.toc-part:first-child { border-top: none; }
.copyright { margin-top: 5rem; font-size: 0.78rem; color: var(--muted);
  font-family: 'Cormorant SC', serif; letter-spacing: 0.05em; }
.copyright a { color: var(--muted); text-decoration: none; }
.copyright a:hover { color: var(--accent); }
.repo-link { margin-top: 1.5rem; }
.repo-link a { font-family: 'Cormorant Garamond', serif; font-size: 1.05rem;
  color: var(--ink); text-decoration: none; }
.repo-link a:hover { color: var(--accent); }
