.markdown-content {
  font-size: 0.875rem;
  line-height: 1.7;
  color: hsl(var(--muted-foreground));
}

.markdown-content h1 {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: hsl(var(--foreground));
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.markdown-content h2 {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: hsl(var(--foreground));
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid hsl(var(--border) / 0.5);
}

.markdown-content h3 {
  font-size: 0.875rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.markdown-content p {
  margin-top: 0;
  margin-bottom: 1rem;
}

.markdown-content ul {
  list-style: none;
  padding-left: 0;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

.markdown-content ul li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.375rem;
}

.markdown-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: hsl(var(--border));
}

.markdown-content ol {
  padding-left: 1.25rem;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

.markdown-content ol li {
  margin-bottom: 0.375rem;
}

.markdown-content strong {
  color: hsl(var(--foreground));
  font-weight: 600;
}

.markdown-content em {
  font-style: italic;
}

.markdown-content a {
  color: hsl(var(--foreground));
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: hsl(var(--border));
  transition: text-decoration-color 0.15s;
}

.markdown-content a:hover {
  text-decoration-color: hsl(var(--foreground));
}

.markdown-content code {
  font-family: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace;
  font-size: 0.8em;
  color: hsl(var(--foreground));
  background-color: hsl(var(--muted));
  padding: 0.15em 0.4em;
  border-radius: 0.25rem;
}

.markdown-content pre {
  background-color: hsl(var(--muted) / 0.5);
  border: 1px solid hsl(var(--border));
  border-radius: 0.5rem;
  padding: 1rem;
  overflow-x: auto;
  margin-top: 0.75rem;
  margin-bottom: 1rem;
}

.markdown-content pre code {
  background: none;
  padding: 0;
  font-size: 0.8rem;
}

.markdown-content blockquote {
  border-left: 2px solid hsl(var(--border));
  padding-left: 1rem;
  margin-left: 0;
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
  color: hsl(var(--muted-foreground));
}

/* First h1 in the content — hide it since the page already shows the name */
.markdown-content > h1:first-child {
  display: none;
}
