Feats
While wearing medium armor, you add your Constitution modifier (minimum 0) to the maximum Dexterity bonus allowed by your armor.