body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  margin: 0;
  padding: 0;
  background: #0f172a;
  color: #e2e8f0;
}
a {
  color: #38bdf8;
}
header {
  padding: 24px 32px;
  background: linear-gradient(135deg, #1e293b, #0f172a 60%);
  border-bottom: 1px solid #1f2937;
}
h1,
h2,
h3 {
  color: #f8fafc;
}
main {
  padding: 24px 32px 48px;
  display: grid;
  gap: 16px;
  max-width: 1200px;
}
.card {
  background: #111827;
  border: 1px solid #1f2937;
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}
.meta {
  color: #cbd5e1;
  font-size: 14px;
}
.grid {
  display: grid;
  gap: 12px;
}
.two-col {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
pre {
  background: #0b1220;
  padding: 12px;
  border-radius: 10px;
  overflow-x: auto;
  border: 1px solid #1f2937;
}
code {
  font-family: "SFMono-Regular", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  color: #cbd5e1;
}
.diagram {
  background: #0b1220;
  border: 1px solid #1f2937;
  border-radius: 12px;
  padding: 12px;
}
.badge {
  display: inline-block;
  background: #38bdf8;
  color: #0f172a;
  padding: 4px 8px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 12px;
}
ul {
  padding-left: 18px;
}

.diagram-img {
  width: 100%;
  max-width: 960px;
  margin-top: 10px;
  border: 1px solid #1f2937;
  border-radius: 10px;
  background: #0b1220;
}

.mermaid {
  background: #0b1220;
  border: 1px solid #1f2937;
  border-radius: 12px;
  padding: 12px;
}

.callout {
  background: #0b1220;
  border: 1px dashed #1f2937;
  border-radius: 12px;
  padding: 12px;
  color: #cbd5e1;
}
