More than half of the US has legalised cannabis in some form, though it remains illegal under federal law.