MWE:
\documentclass{article}
\usepackage[a4paper]{geometry}
\geometry{verbose,tmargin=2cm,bmargin=3cm,lmargin=2cm,rmargin=2cm}
\usepackage[utf8]{inputenc}
\usepackage{fontspec}
\usepackage[english]{babel}
\usepackage{fancyhdr}
\usepackage{lastpage}
\fancypagestyle{firststyle}
{
\fancyhf{}% Clear header/footer
\renewcommand{\headrulewidth}{0pt}
\fancyhead[L]{\begin{minipage}{.45\textwidth}Accepted by CEO company 1 Accepted by CEO company 1 Accepted by CEO company 1 Accepted by CEO company 1 Accepted by CEO company 1 Accepted by CEO company 1
\\\\
\makebox[\textwidth]{\hrulefill}
\end{minipage}
}
\fancyhead[R]{\begin{minipage}{.45\textwidth}Accepted by CEO company 2 Accepted by CEO company 2 Accepted by CEO company 2 Accepted by CEO company 2 Accepted by CEO company 2 Accepted by CEO company 2
\\\\
\makebox[\textwidth]{\hrulefill}
\end{minipage}
}
\fancyfoot[R]{Page \thepage\ of \pageref{LastPage}}
}
\fancypagestyle{plain}
{
\fancyhf{}% Clear header/footer
\renewcommand{\headrulewidth}{0pt}
\fancyhead[L]{}
\fancyhead[R]{}
\fancyfoot[R]{Page \thepage\ of \pageref{LastPage}}
}
\pagestyle{plain}
\pagenumbering{arabic}
\usepackage{lipsum}
\begin{document}
\thispagestyle{firststyle}
\lipsum[1-18]
\end{document}
How can I set the vertical size of the top margin on the first page?
And on the second page there is empty vertical space at the top:
It also shifts bottom footer pagination to the edge of the page:



