nail down

Upper Intermediate (B2) neutral

To make sure something is definite and cannot change, like the details of a plan.

"After weeks of talks, the two companies finally nailed down the terms of the contract."