.mcp-page {
  position: relative;
  z-index: 1;
  padding: 120px 24px 24px;
}

.mcp-page-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.mcp-hero {
  margin-bottom: 36px;
}

.mcp-kicker {
  display: inline-flex;
  align-items: center;
  font-family: 'Space Grotesk', 'DM Sans', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-size: clamp(24px, 4.2vw, 40px);
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.15;
  padding: 10px 20px 12px;
  border-radius: 12px;
  color: #1a1208;
  background: linear-gradient(135deg, #fde68a 0%, #f59e0b 52%, #fb923c 100%);
  box-shadow: 0 0 40px rgba(245, 158, 11, 0.55), 0 8px 24px rgba(251, 146, 60, 0.28);
}

.mcp-hero h1 {
  margin: 14px 0 12px;
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: -0.02em;
}

.mcp-hero p {
  margin: 0;
  max-width: 720px;
  color: var(--text-dim);
  line-height: 1.8;
  font-size: 16px;
}

.mcp-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 28px 0 20px;
}

.mcp-shots {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 40px;
}

.mcp-shot {
  margin: 0;
  padding: 0;
  min-width: 0;
}

.mcp-shot-main {
  grid-column: 1 / -1;
}

.mcp-shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  background: rgba(255, 255, 255, 0.03);
}

.mcp-shots-caption {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.55;
  text-align: center;
}

.mcp-step {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 18px 16px;
}

.mcp-step-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #22d3ee;
  margin-bottom: 8px;
}

.mcp-step h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.mcp-step p {
  margin: 0;
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.7;
}

.mcp-step a {
  color: #7dd3fc;
}

.mcp-section {
  margin-bottom: 48px;
}

.mcp-section h2 {
  margin: 0 0 8px;
  font-size: 24px;
}

.mcp-lead {
  margin: 0 0 20px;
  color: var(--text-dim);
  line-height: 1.7;
}

.mcp-agent-accordion {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
}

.mcp-agent {
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mcp-agent:last-child {
  border-bottom: 0;
}

.mcp-agent-summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 18px;
  cursor: pointer;
  user-select: none;
  transition: background 0.18s ease;
}

.mcp-agent-summary::-webkit-details-marker {
  display: none;
}

.mcp-agent-summary:hover {
  background: rgba(14, 165, 233, 0.06);
}

.mcp-agent[open] > .mcp-agent-summary {
  background: rgba(14, 165, 233, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mcp-agent-summary-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.mcp-agent-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.mcp-agent-meta {
  margin: 0;
  color: var(--text-muted);
  font-size: 12.5px;
  line-height: 1.45;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mcp-agent-meta code {
  font-size: 11.5px;
  color: #7dd3fc;
}

.mcp-agent-chevron {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  position: relative;
  transition: transform 0.22s ease, border-color 0.18s ease, background 0.18s ease;
}

.mcp-agent-chevron::before {
  content: '';
  position: absolute;
  top: 45%;
  left: 50%;
  width: 7px;
  height: 7px;
  border-right: 2px solid #94a3b8;
  border-bottom: 2px solid #94a3b8;
  transform: translate(-50%, -60%) rotate(45deg);
}

.mcp-agent[open] > .mcp-agent-summary .mcp-agent-chevron {
  transform: rotate(180deg);
  border-color: rgba(14, 165, 233, 0.35);
  background: rgba(14, 165, 233, 0.12);
}

.mcp-agent[open] > .mcp-agent-summary .mcp-agent-chevron::before {
  border-color: #7dd3fc;
}

.mcp-agent-panel {
  padding: 4px 18px 18px;
  animation: mcp-agent-panel-in 0.22s ease;
}

@keyframes mcp-agent-panel-in {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mcp-agent ol,
.mcp-agent ul {
  margin: 0 0 14px;
  padding-left: 18px;
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.75;
}

.mcp-code-wrap {
  position: relative;
  background: #070b14;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
}

.mcp-code-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  font-size: 12px;
}

.copy-btn {
  border: 1px solid rgba(14, 165, 233, 0.35);
  background: rgba(14, 165, 233, 0.12);
  color: #e0f2fe;
  border-radius: 8px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Space Grotesk', sans-serif;
}

.copy-btn:hover {
  background: rgba(14, 165, 233, 0.22);
}

.copy-btn.is-copied {
  border-color: rgba(52, 211, 153, 0.45);
  background: rgba(16, 185, 129, 0.16);
  color: #d1fae5;
}

.mcp-code-wrap pre {
  margin: 0;
  padding: 14px 16px 16px;
  overflow-x: auto;
  font-size: 12.5px;
  line-height: 1.55;
  color: #e2e8f0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  white-space: pre;
}

.mcp-note {
  margin: 12px 0 0;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.6;
}

.mcp-examples {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.mcp-ex {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mcp-ex h3 {
  margin: 0;
  font-size: 15px;
}

.mcp-ex p {
  margin: 0;
  color: var(--text-muted);
  font-size: 12px;
}

.mcp-quote {
  margin: 0;
  padding: 10px 12px;
  background: rgba(7, 11, 20, 0.8);
  border-radius: 10px;
  color: #cbd5e1;
  font-size: 13px;
  line-height: 1.65;
}

.mcp-tools {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.mcp-tools th,
.mcp-tools td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  vertical-align: top;
}

.mcp-tools th {
  color: var(--text-dim);
  font-weight: 600;
}

.mcp-tools td {
  color: var(--text-primary);
  line-height: 1.6;
}

.mcp-tools code {
  font-size: 12px;
  color: #7dd3fc;
}

.mcp-warn {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.22);
  border-radius: 14px;
  padding: 16px 18px;
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.75;
}

.mcp-warn strong {
  color: #fde68a;
}

.nav-mcp-link.is-active {
  filter: brightness(1.06);
  color: #1a1208 !important;
}

@media (max-width: 860px) {
  .mcp-steps,
  .mcp-examples,
  .mcp-shots {
    grid-template-columns: 1fr;
  }

  .mcp-shot-main {
    grid-column: auto;
  }

  .mcp-agent-meta {
    white-space: normal;
  }

  .mcp-agent-summary {
    padding: 12px 14px;
  }

  .mcp-agent-panel {
    padding: 2px 14px 14px;
  }
}
