/* Reset, colours and base styles */

:root {
  /* brand colours */
  --blue: #03a1fe;
  --blue-dark: #006ab3;
  --navy: #112250;
  --gold: #b8945b;
  --slate: #112250;
  --sand: #d8cebe;
  --sand-light: #f4f1ed;

  --text: #1b2740;
  --text-muted: #5b6b82;

  --radius: 6px;
  --shadow: 0 4px 14px rgba(17, 34, 80, 0.06);
  --shadow-hover: 0 24px 60px rgba(17, 34, 80, 0.18);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --speed: 0.45s;

  --font: "Noto Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-size: 20px;
  --line-height: 28px;
  --container: 1370px;
  --header-height: 98px;
  --header-height-scrolled: 82px;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font);
  font-size: var(--font-size);
  color: var(--text);
  background: #ffffff;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: 600;
}

p {
  font-size: var(--font-size);
  line-height: var(--line-height);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.4s ease;
}

ul,
ol {
  list-style: none;
}

img,
video,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

input,
select,
button,
textarea {
  font: inherit;
  line-height: inherit;
}

button {
  border: none;
  cursor: pointer;
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

::placeholder {
  color: #999999;
}

::selection {
  background: var(--blue);
  color: #ffffff;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--sand-light);
}

::-webkit-scrollbar-thumb {
  background: var(--blue);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--navy);
}

.container {
  max-width: var(--container);
  margin: 0 auto;
}

@media (max-width: 1600px) {
  :root {
    --container: 1220px;
    --font-size: 16px;
  }
}

@media (max-width: 1400px) {
  .container {
    padding: 0 15px;
  }
}

@media (max-width: 767px) {
  :root {
    --font-size: 14px;
    --header-height: 63px;
    --header-height-scrolled: 63px;
  }
}
