/* MCP Agent Hub — docs site. Hand-written, no build step. */
:root {
  --bg: #ffffff;
  --bg-soft: #f6f8fa;
  --text: #1f2328;
  --text-soft: #57606a;
  --accent: #0b6bcb;
  --accent-soft: #ddeafd;
  --border: #d0d7de;
  --code-bg: #f6f8fa;
  --warn-bg: #fff8e6;
  --warn-border: #d4a72c;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d1117;
    --bg-soft: #161b22;
    --text: #e6edf3;
    --text-soft: #9198a1;
    --accent: #58a6ff;
    --accent-soft: #12263f;
    --border: #30363d;
    --code-bg: #161b22;
    --warn-bg: #2a2413;
    --warn-border: #9e6a03;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}
header.site {
  border-bottom: 1px solid var(--border);
  background: var(--bg-soft);
}
header.site .inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 0.7rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}
header.site .brand {
  font-weight: 700;
  text-decoration: none;
  color: var(--text);
  white-space: nowrap;
}
header.site nav { display: flex; gap: 1rem; flex-wrap: wrap; }
header.site nav a {
  color: var(--text-soft);
  text-decoration: none;
  font-size: 0.95rem;
}
header.site nav a:hover, header.site nav a.active { color: var(--accent); }
main {
  max-width: 860px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 4rem;
}
h1 { font-size: 1.9rem; line-height: 1.25; margin: 1.2rem 0 0.6rem; }
h2 {
  font-size: 1.35rem;
  margin: 2.2rem 0 0.5rem;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid var(--border);
}
h3 { font-size: 1.08rem; margin: 1.6rem 0 0.4rem; }
p, ul, ol { margin: 0.6rem 0; }
li { margin: 0.25rem 0; }
a { color: var(--accent); }
.lead { font-size: 1.1rem; color: var(--text-soft); }
code {
  font-family: ui-monospace, SFMono-Regular, "Cascadia Mono", Consolas, monospace;
  font-size: 0.9em;
  background: var(--code-bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.08em 0.35em;
}
pre {
  background: var(--code-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.85rem 1rem;
  overflow-x: auto;
}
pre code { background: none; border: none; padding: 0; font-size: 0.88rem; }
table {
  border-collapse: collapse;
  width: 100%;
  margin: 0.8rem 0;
  font-size: 0.95rem;
  display: block;
  overflow-x: auto;
}
th, td {
  border: 1px solid var(--border);
  padding: 0.45rem 0.7rem;
  text-align: left;
  vertical-align: top;
}
th { background: var(--bg-soft); }
.note {
  background: var(--accent-soft);
  border-left: 4px solid var(--accent);
  border-radius: 0 6px 6px 0;
  padding: 0.6rem 0.9rem;
  margin: 0.9rem 0;
}
.warn {
  background: var(--warn-bg);
  border-left: 4px solid var(--warn-border);
  border-radius: 0 6px 6px 0;
  padding: 0.6rem 0.9rem;
  margin: 0.9rem 0;
}
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.9rem;
  margin: 1.2rem 0;
}
.card {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.9rem 1rem;
  background: var(--bg-soft);
}
.card h3 { margin: 0 0 0.35rem; font-size: 1rem; }
.card p { margin: 0; font-size: 0.92rem; color: var(--text-soft); }
footer.site {
  border-top: 1px solid var(--border);
  margin-top: 2rem;
}
footer.site .inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 1rem 1.25rem;
  color: var(--text-soft);
  font-size: 0.88rem;
}
