.site-page {
  max-width: 820px;
  margin: 0 auto;
  padding: 1.5rem 1rem 3rem;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.55;
  color: #1a1a1a;
}

.site-page--wide {
  max-width: 1200px;
}

.site-header {
  margin-bottom: 1.5rem;
}

.site-kicker {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #5c5c5c;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  font-size: 0.95rem;
}

.site-nav a {
  color: #0b5fff;
  text-decoration: none;
  font-weight: 600;
}

.site-nav a:hover {
  text-decoration: underline;
}

.site-nav a[aria-current="page"] {
  color: #1a1a1a;
  text-decoration: underline;
}

.md-content {
  background: #fff;
  border: 1px solid #e4dfd4;
  border-radius: 10px;
  padding: 1.5rem 1.75rem;
}

.md-content h1 {
  font-size: 1.5rem;
  margin-top: 0;
}

.md-content h2 {
  font-size: 1.15rem;
  margin-top: 1.75rem;
  border-top: 1px solid #f0ece4;
  padding-top: 1.25rem;
}

.md-content h2:first-child,
.md-content h1 + h2 {
  border-top: none;
  padding-top: 0;
}

.md-content h3 {
  font-size: 1rem;
  margin-top: 1.25rem;
}

.md-content p,
.md-content ul {
  margin: 0.65rem 0;
}

.md-content ul {
  padding-left: 1.35rem;
}

.md-content code {
  font-family: ui-monospace, monospace;
  font-size: 0.9em;
  background: #f6f4ef;
  padding: 0.1em 0.35em;
  border-radius: 4px;
}

.md-content pre {
  background: #f6f4ef;
  border-radius: 8px;
  padding: 1rem;
  overflow-x: auto;
  font-size: 0.85rem;
}

.md-content pre code {
  background: none;
  padding: 0;
}

.md-content a {
  color: #0b5fff;
}

.md-content .table-wrap {
  overflow-x: auto;
  margin: 0.85rem 0 1rem;
}

.md-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  min-width: 420px;
}

.md-content th,
.md-content td {
  border: 1px solid #e4dfd4;
  padding: 0.55rem 0.65rem;
  text-align: left;
  vertical-align: top;
}

.md-content th {
  background: #f6f4ef;
  font-weight: 600;
}

.md-content tr:nth-child(even) td {
  background: #fcfbfa;
}

.site-categories {
  background: #fff;
  border: 1px solid #e4dfd4;
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  margin-top: 0;
}

.samples-header {
  margin-bottom: 1.25rem;
}

.samples-header h1 {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
}

.samples-header p {
  margin: 0;
  color: #444;
}

.site-categories h2 {
  margin: 0 0 1rem;
  font-size: 1.1rem;
}

.category-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.category-grid li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #f0ece4;
}

.category-grid li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.category-grid a {
  color: #0b5fff;
  text-decoration: none;
}

.category-grid a:hover {
  text-decoration: underline;
}
