All of this will mean nothing when the railgun technology is perfected. Distances will be immaterial and accuracy will be measured in inches and centimeters.
Honestly? A rail gun? What was your degree in, anyway?
If - and only if - we come up with a miniature nuclear power plant to power that thing and can live with a CEP the size of Montana, it’s a dandy idea.