How does pricing work?
Scope comes first, in writing: what gets built, what your team does, what we do, and what is explicitly out of scope. Pricing follows the scope, so you see what each part costs and why. Larger work is phased so you can stop or adjust after each stage.
More on scoping and pricing