IMO, if your within 30', your not really ranged. That's more like "long reach".
Semantics and options I know, but if they can walk up to you and still attack on their turn, your not "ranged"
Hand crossbows with Sharpshooter would quality. Or if you added Slow. Immobilize, or difficult...