:root {
  --ink: #1c1917;
  --muted: #57534e;
  --faint: #78716c;
  --line: #e7e5e4;
  --paper: #fafaf9;
  --accent: #9f1239;
  --accent-soft: #f5e0e6;
}

html {
  background: var(--paper);
}

body {
  font-family: Georgia, 'Times New Roman', serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.75;
  font-size: 1.05rem;
}

main,
main.content {
  max-width: 42rem;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}

h1, h2, h3, h4 {
  font-family: Georgia, 'Times New Roman', serif;
  color: var(--ink);
  line-height: 1.25;
}

h1 {
  font-size: 2rem;
  margin-top: 2.5rem;
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

h2 {
  font-size: 1.35rem;
  margin-top: 2.25rem;
  margin-bottom: 0.75rem;
}

h3 {
  font-size: 1.1rem;
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1.1rem;
}

a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: #e5b8c4;
  text-underline-offset: 3px;
}

a:hover {
  text-decoration-color: var(--accent);
}

blockquote {
  margin: 1.5rem 0;
  padding: 0.75rem 1.25rem;
  border-left: 3px solid var(--accent);
  background: #fdf6f7;
  color: var(--muted);
  font-style: italic;
}

blockquote p {
  margin-bottom: 0.4rem;
}

code {
  font-family: Consolas, 'Courier New', monospace;
  font-size: 0.88em;
  background: #f0efee;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0.08em 0.35em;
}

pre {
  background: #f0efee;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  overflow-x: auto;
}

pre code {
  background: none;
  border: none;
  padding: 0;
  font-size: 0.85rem;
  line-height: 1.6;
}

ul, ol {
  padding-left: 1.6rem;
  margin-bottom: 1.1rem;
}

li {
  margin-bottom: 0.4rem;
}

hr {
  border: none;
  border-top: 1px solid var(--line);
  margin: 2.5rem 0;
}

strong {
  color: var(--ink);
}

em {
  color: var(--muted);
}

/* ---- static reading-site chrome (build-static.mjs) ---- */

.tl-topbar {
  max-width: 42rem;
  margin: 0 auto;
  padding: 1.1rem 1.5rem 0;
  font-family: Georgia, serif;
  font-size: 0.9rem;
}

.tl-topbar a {
  color: var(--faint);
  text-decoration: none;
}

.tl-topbar a:hover {
  color: var(--ink);
}

.tl-topbar .tl-crumb {
  color: var(--faint);
  letter-spacing: 0.02em;
}

.tl-topbar a.tl-lang {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.tl-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  font-family: Verdana, sans-serif;
  color: var(--faint);
  margin-top: 2.5rem;
}

.tl-part {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-family: Verdana, sans-serif;
  color: var(--accent);
  margin-top: 2.5rem;
  margin-bottom: 0.4rem;
}

.tl-nav {
  max-width: 42rem;
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.92rem;
}

.tl-footer {
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 0.85rem;
  font-family: Verdana, sans-serif;
}

.tl-cover-home {
  display: block;
  margin: 2.5rem auto 1rem;
  width: 180px;
  border-radius: 4px;
  box-shadow: 0 18px 44px rgba(41, 37, 36, 0.18);
}
