/* Manuscript — a warm, classic serif. Book-like, centred title block. */
.typeset {
  font: 11.5pt/1.7 "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  color: #241f18; -webkit-font-smoothing: antialiased; hyphens: auto;
}
.typeset p { margin: 0 0 .55em; text-align: justify; }
.typeset > p:first-of-type, .typeset h1 + p, .typeset h2 + p, .typeset h3 + p { text-indent: 0; }
.typeset p + p { text-indent: 1.3em; }   /* indented paragraphs, book style */

h1, h2, h3, h4 { font-weight: 600; line-height: 1.2; margin: 1.5em 0 .5em; }
h1 { font-size: 2em; } h2 { font-size: 1.5em; } h3 { font-size: 1.22em; } h4 { font-size: 1.05em; }

a { color: #6b3410; text-decoration: none; border-bottom: .5px solid rgba(107,52,16,.4); }
strong { font-weight: 700; }
em { font-style: italic; }
blockquote { margin: 1em 0; padding-left: 1.1em; border-left: 2px solid #cbb79a; color: #5a4f3f; font-style: italic; }
ul, ol { padding-left: 1.5em; } li { margin: .2em 0; }
hr { border: 0; border-top: 1px solid #d8cdb6; margin: 1.8em auto; width: 40%; }

code { font-family: "SF Mono", ui-monospace, Menlo, monospace; font-size: .86em;
  background: #f3ede1; padding: .1em .35em; border-radius: 4px; }
pre { background: #f5efe4; border: 1px solid #e5dcc9; border-radius: 6px; padding: 12px 14px; margin: 1em 0; }
pre code { background: none; padding: 0; font-size: .82em; line-height: 1.5; }

th, td { border: 1px solid #d8cdb6; padding: 5px 10px; text-align: left; }
th { background: #f3ede1; font-weight: 600; }

.frontmatter { text-align: center; margin: 0 0 2.4em; padding-bottom: 1.2em; border-bottom: 1px solid #d8cdb6; }
.frontmatter .fm-title { font-size: 2.4em; margin: 0 0 .1em; }
.frontmatter .fm-date { color: #7a6f5c; font-style: italic; font-size: 1em; margin: 0; }

/* syntax highlighting — warm, print-safe */
.hljs-comment, .hljs-quote { color: #8a7f6c; font-style: italic; }
.hljs-keyword, .hljs-selector-tag, .hljs-literal, .hljs-name, .hljs-tag, .hljs-built_in { color: #9c4a26; }
.hljs-string, .hljs-attr, .hljs-addition { color: #55701f; }
.hljs-number, .hljs-type, .hljs-title.class_ { color: #2f6f8f; }
.hljs-title, .hljs-title.function_, .hljs-section { color: #7a4fa0; }
