/* Tokens, fonts, reset and typography */

@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("../assets/fonts/figtree-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("../assets/fonts/figtree-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Figtree';
  font-style: italic;
  font-weight: 300 900;
  font-display: swap;
  src: url("../assets/fonts/figtree-latin-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --color-brand-blue: #4251DB;
  --color-navy: #1E2D3B;
  --color-steel: #3D5975;
  --color-dark: #3B3A3A;
  --color-yellow: #EDCD1F;
  --color-gray-500: #757575;
  --color-gray-300: #C6C6C6;
  --color-gray-100: #F7F7F7;
  --color-white: #FFFFFF;
  --color-caption: #C0D2E5;
  --color-error: #FF4040;
  --color-error-text: #D32F2F;
  --color-focus: var(--color-navy);

  --font-display: 'Figtree', 'Avenir Next', 'Avenir', 'Nunito Sans', Arial, sans-serif;
  --font-mono: 'Lucida Console', 'Lucida Sans Typewriter', 'DejaVu Sans Mono', Menlo, Consolas, monospace;
  --font-sans: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-serif: Georgia, 'Palatino Linotype', 'Book Antiqua', Palatino, serif;

  --weight-heavy: 800;
  --weight-light: 300;

  --content-width: 980px;
  --header-height: 72px;
  --title-bar-width: 120px;
  --transition: 0.4s ease;
  --slide-transition: 1s ease;
}

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

html {
  font-size: 100%;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font: 15px/1.4 var(--font-sans);
  color: var(--color-dark);
  background: #000;
}

h1,
h2,
h3,
p,
ul,
figure,
address {
  margin: 0;
}

ul {
  padding: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: var(--weight-heavy);
  color: var(--color-navy);
}

img,
iframe {
  display: block;
  max-width: 100%;
}

address {
  font-style: normal;
}

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

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

[id] {
  scroll-margin-top: calc(var(--header-height) + 8px);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --transition: 0.01ms linear;
    --slide-transition: 0.01ms linear;
  }

  html {
    scroll-behavior: auto;
  }
}
