A call to reinvent the toilet for underserved markets led to breakthrough innovation—and hurdles to adoption.