/* ================ MCP SECTION ================ */
.mcp-section {
  position: relative;
  background-color: #ffffff;
  padding: 120px 32px;
}
.mcp-inner {
  max-width: 1180px;
  margin: 0 auto;
}
/* ---------- heading ---------- */
.mcp-header {
  text-align: center;
  margin-bottom: 96px;
}
.mcp-heading {
  font-size: 48px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.5px;
  color: #16161a;
  margin: 0 0 20px;
}
.mcp-accent {
  color: #0050FF;
  font-weight: 600;
}
.mcp-subtitle {
  font-size: clamp(15px, 1.7vw, 20px);
  line-height: 1.55;
  color: #858585;
  max-width: 1100px;
  margin: 0 auto;
  font-weight: 200;
}
/* ---------- cards grid ---------- */
.mcp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: stretch;
}
.mcp-card {
  display: flex;
  flex-direction: column;
  background: #F5F5F5;
  border: 1px solid #E2E2E2;
  border-radius: 24px;
  padding: 28px;
  box-sizing: border-box;
  transition: border-color .3s ease, box-shadow .3s ease;
}
.mcp-card:hover {
  border-color: #cfcfcf;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.06);
}
.mcp-card-head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 26px;
}
.mcp-card-icon {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  color: #16161a;
  display: block;
}
.mcp-card-title {
  font-size: 22px;
  font-weight: 600;
  color: #16161a;
  line-height: 1.25;
}
.mcp-card-text {
  font-size: 15px;
  line-height: 1.6;
  color: #16161a;
  margin: 0 0 26px;
}
/* steps box */
.mcp-steps {
  background: #ffffff;
  border: 1px solid #E2E2E2;
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 13px;
  line-height: 1.5;
  color: #515151;
  margin-bottom: 24px;
}
/* url blocks */
.mcp-url-group + .mcp-url-group {
  margin-top: 16px;
}
.mcp-url-label {
  display: block;
  font-size: 14px;
  color: #858585;
  margin-bottom: 8px;
}
.mcp-url-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #ffffff;
  border: 1px solid #E2E2E2;
  border-radius: 12px;
  padding: 14px 16px;
}
.mcp-url {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
  color: #515151;
  word-break: break-all;
}
.mcp-key {
  color: #0050FF;
}
/* copy button */
.mcp-copy-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  border: none;
  background: transparent;
  border-radius: 6px;
  color: #515151;
  cursor: pointer;
  transition: color .2s ease, transform .2s ease;
}
.mcp-copy-btn:hover {
  color: #0050FF;
  transform: scale(1.08);
}
.mcp-copy-btn svg {
  width: 16px;
  height: 16px;
  display: block;
}
.mcp-copy-btn .icon-check {
  display: none;
}
.mcp-copy-btn.copied .icon-copy {
  display: none;
}
.mcp-copy-btn.copied .icon-check {
  display: block;
  color: #0050FF;
}
/* notes (card 3) */
.mcp-notes {
  margin: 20px 0 0;
  padding-left: 18px;
  list-style: decimal;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  line-height: 1.55;
  color: #858585;
}
.mcp-notes li::marker {
  color: #858585;
}
.mcp-notes a {
  color: inherit;
  text-decoration: underline;
  transition: color .2s ease;
}
.mcp-notes a:hover {
  color: #0050FF;
}
.mcp-notes code {
  font-family: inherit;
  color: inherit;
}
/* ================= MEDIA QUERIES ================= */
@media (max-width: 980px) {
  .mcp-section {
    padding: 80px 20px 96px;
  }
  .mcp-header {
    margin-bottom: 56px;
  }
  .mcp-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 560px;
    margin: 0 auto;
  }
}
@media (max-width: 560px) {
  .mcp-card {
    padding: 24px 20px;
  }
  .mcp-card-head {
    gap: 14px;
    margin-bottom: 20px;
  }
  .mcp-card-icon {
    width: 52px;
    height: 52px;
  }
  .mcp-card-title {
    font-size: 20px;
  }
  .mcp-url-row {
    padding: 12px 14px;
  }
  .mcp-url {
    font-size: 14px;
  }
}
