Cystic fibrosis (CF) is inherited in which pattern?