Tim, I'm not an expert on modern electrics but is it possible that the car's immobiliser is preventing the engine starting? It's unusual for starter motors to pack in suddenly. If there's power to illuminate the headlights, there should be enough power in the battery to at least operate the starter solenoid if not turn the engine over.