In the heavy-quark limit, the hadronic matrix elements entering nonleptonic$B$-meson decays into two light mesons can be calculated from first principlesincluding ``nonfactorizable'' strong-interaction corrections. The $B\to\piK,\pi\pi$ decay amplitudes are computed including electroweak penguincontributions, SU(3) violation in the light-cone distribution amplitudes, andan estimate of power corrections from chirally-enhanced terms and annihilationgraphs. The results are then used to reduce the theoretical uncertainties indeterminations of the weak phases $\gamma$ and $\alpha$. In that way, newconstraints in the $(\bar\rho,\bar\eta)$ plane are derived. Predictions for the$B\to\pi K, \pi\pi$ branching ratios and CP asymmetries are also presented. Agood global fit to the (in part preliminary) experimental data on the branchingfractions is obtained without taking recourse to phenomenological models.