/* Typography — system fonts, no external dependency */
:root {
  --md-text-font: Georgia, 'Times New Roman', serif;
  --md-code-font: 'Fira Code', 'Cascadia Code', 'Menlo', 'Courier New', monospace;
}

/* Content width */
.md-grid {
  max-width: 1440px;
}

/* Body text */
.md-typeset {
  font-size: 1rem;
  line-height: 1.75;
  color: #1a1a1a;
}

/* Headings */
.md-typeset h1 {
  font-weight: 700;
  font-size: 1.8rem;
  letter-spacing: -0.01em;
  margin-bottom: 0.25rem;
}

.md-typeset h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 2.5rem;
  border-bottom: 1px solid #e8e8e8;
  padding-bottom: 0.3rem;
}

.md-typeset h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-top: 1.5rem;
}

/* Horizontal rule — separator, not decoration */
.md-typeset hr {
  border: none;
  border-top: 1px solid #e8e8e8;
  margin: 2rem 0;
}

/* Links */
.md-typeset a {
  color: #1a1a1a;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.md-typeset a:hover {
  color: #555;
}

/* Button link (used on homepage) */
.md-typeset .md-button {
  border: 1px solid #1a1a1a;
  color: #1a1a1a;
  background: transparent;
  border-radius: 0;
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
  text-decoration: none;
  display: inline-block;
  margin-top: 0.5rem;
}

.md-typeset .md-button:hover {
  background: #1a1a1a;
  color: #fff;
}

/* Code inline */
.md-typeset code {
  font-size: 0.875em;
  background: #f4f4f4;
  padding: 0.1em 0.35em;
  border-radius: 2px;
  color: #333;
}

/* Code blocks */
.md-typeset pre {
  font-size: 0.875em;
  border-radius: 2px;
}

/* Blockquote */
.md-typeset blockquote {
  border-left: 2px solid #ccc;
  color: #555;
  padding-left: 1rem;
  font-style: italic;
}

/* Tables — clean, no zebra */
.md-typeset table:not([class]) {
  border: none;
  box-shadow: none;
}

.md-typeset table:not([class]) td,
.md-typeset table:not([class]) th {
  border: none;
  border-bottom: 1px solid #e8e8e8;
  padding: 0.5rem 0.75rem;
}

.md-typeset table:not([class]) tr:hover {
  background: transparent;
}

/* Navigation — minimal */
.md-nav__title {
  font-weight: 700;
}

/* Footer social icons */
.md-footer-meta {
  background: #111;
}
