A continuous plate-tectonic model using geophysical data to estimate plate-margin widths, with a seismicity-based example