/** Typography. */
body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  color: var(--color-text);
  background-color: var(--color-bg);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: var(--lh-tight);
  color: var(--color-dark);
}

h1 {
  font-size: var(--fs-3xl);
}
h2 {
  font-size: var(--fs-2xl);
}
h3 {
  font-size: var(--fs-xl);
}
h4 {
  font-size: var(--fs-lg);
}
h5,
h6 {
  font-family: var(--font-body);
  font-weight: 600;
  line-height: var(--lh-snug);
}

p {
  line-height: var(--lh-base);
}

a {
  color: var(--color-primary);
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-primary-hover);
}

strong,
b {
  font-weight: 700;
}

blockquote {
  font-family: var(--font-heading);
  font-size: var(--fs-md);
  font-style: italic;
  line-height: var(--lh-snug);
  color: var(--color-text);
}

small {
  font-size: var(--fs-sm);
}

code,
pre {
  font-family: ui-monospace, 'SFMono-Regular', 'Menlo', monospace;
  font-size: 0.9em;
}

pre {
  overflow-x: auto;
  padding: var(--space-4);
  background: var(--color-section);
  border-radius: var(--radius);
}

/* Long-form content spacing. */
.entry-content > * + * {
  margin-top: var(--space-4);
}

.entry-content h2,
.entry-content h3 {
  margin-top: var(--space-6);
}

.entry-content ul,
.entry-content ol {
  padding-left: 1.4em;
}

.entry-content ul {
  list-style: disc;
}
.entry-content ol {
  list-style: decimal;
}

.entry-content li + li {
  margin-top: var(--space-2);
}

.entry-content img {
  border-radius: var(--radius);
}

.entry-content blockquote {
  padding-left: var(--space-5);
  border-left: 3px solid var(--color-primary);
}

.entry-content a {
  text-decoration: underline;
  text-underline-offset: 2px;
}
