How soon can I file for divorce, Scotland

We separated a month ago. I’ve tried reading up online but keep seeing
contradictory info, some say 2 years, some 1 year after separation. This is a mutual separation, two kids currently both under 16.

You can begin proceedings once you have resolved the financial matters and
arrangements for the children in a legally-binding separation agreement. As fault ­base­d divorces
(adultery and behaviour) carry a heavy burden of proof, most couples in
Scotland divorce on either 1 year separation (with consent from the
defender), or 2 years separation (no consent required). The separation
period is usually spent sorting out the finances and child matters.

As you have children under the age of 16, you will have to use the
ORdinary procedure for divorce, which requires a solicitor to draw up a
Writ to be submitted to the Sheriff court. If finances and/or child matters
can't be resolved, it's possible to include in the divorce Writ a request
for the Sheriff to deal with the outstanding issues at the same time -
although this will require a number of hearings (usually open to the
public) before an Opinion can be reached.