@font-face {
  font-family: "Charter";
  src: url("fonts/charter_regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "SourceCodePro";
  src: url("fonts/SourceCodePro-Regular.ttf");
  font-weight: 400;
}

/* Base body style */
body {
  font-family: "Charter", serif;
  line-height: 1.25;
  font-size: 1.1em;
  padding: 2em;
  max-width: 800px;
  margin: auto;
  color: #333;
  background: #fff;
}

/* Headings */
h1, h2, h3 {
  font-family: "Charter", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  margin-top: 1.2em;
  margin-bottom: 0.5em;
  font-weight:normal;
  color: #222;
}

h1 {
  font-size: 1.25em;
  border-bottom: 3px solid #444;
  padding-bottom: 0.2em;
}

h2 {
  font-size: 1.15em;
  border-bottom: 2px solid #666;
  padding-bottom: 0.2em;
}

h3 {
  font-size: 1.0em;
  border-bottom: 1px solid #888;
  padding-bottom: 0.15em;
}

/* Paragraph spacing */
p {
  margin: 1em 0;
}

/* Links */
a {
  color: #0066cc;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* Blockquotes */
blockquote {
  border-left: 4px solid #ccc;
  margin: 1.5em 0;
  padding-left: 1em;
  color: #555;
  font-style: italic;
}

code, pre {
  font-family: "SourceCodePro", monospace;
  font-size: 0.9em;
}

/* Code blocks */
pre {
  background: #f4f4f4;
  padding: 1em;
  border-radius: 4px;
  overflow-x: auto;
  margin-left: 0;
  padding-left: 1em; /* optional, consistent spacing *
}
code {
  background: #f4f4f4;
  padding: 0.2em 0.4em;
  border-radius: 3px;
  margin-left: 0;
}

/* Lists */
ul, ol {
  margin: 1em 0;
  padding-left: 2em;
}

/* Tables */
table {
  border-collapse: collapse;
  margin: 1em 0;
  width: 100%;
}
th, td {
  border: 1px solid #ccc;
  padding: 0.5em;
}
th {
  background: #eee;
  text-align: left;
}



