The most overlooked variable is preparation. Soaking rajma overnight, sprouting moong, fermenting idli and dosa batter, and slow-cooking dal deactivate lectins, cut phytates, and make legumes far easier to digest. Indian kitchens arrived at these habits long before anyone named a lectin.
