Move variable declaration before its use for Sass

In Sass, variable must be declared before it is used.
This also removes Miscellaneous section, because horizontal line color
and form / list paddings are Typography.
Merge pull request #13916 from glebm/variable-order

Move variable declaration before its use (for Sass)