Orally bioavailable amine-linked macrocyclic inhibitors of factor XIa.