@font-face {
  font-family: "Figtree";
  font-weight: 300 900;
  font-style: normal;
  src: url("/assets/fonts/Figtree.woff2") format("woff2-variations"),
    url("/assets/fonts/figtree.woff") format("woff-variations");
}

:root {
  --black-pure: #000000;
  --white-pure: #ffffff;

  --text: #667093;
  --text-light: #999fb7;

  --primary: #0077ff;
  --primary-darker: #006be6;

  --dark: #00104b;
  --dark-20: #cccfdb;
  --dark-10: #e6e7ed;

  --danger: #ff5252;
  --success: #0dbd83;
  --warning: #ffa600;

  --border-light: #e6e7ed;

  --padding-horizontal: 1rem;
  --max-width: 1500px;

  --h1-size: 1.5em;
  --logo-height: 1.25rem;
  --max-width-radar: 1000px;

  --text-line-height: 1.3;
}

html,
body {
  box-sizing: border-box;
  font-size: 1rem;
}

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

body {
  margin: 0;
  padding: 0 var(--padding-horizontal);
  font-family: "Figtree", Avenir, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  background-color: var(--white-pure);
}

header {
  margin: 0 auto;
  padding: var(--padding-horizontal) 0;
  max-width: var(--max-width);
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

main {
  margin: 0 auto;
  max-width: var(--max-width);
  line-height: 1.2;
}

footer {
  margin: 4rem auto 0 auto;
  max-width: var(--max-width);
  font-feature-settings: "tnum" 1;
}

footer > section {
  padding: 3rem 0;
  border-top: 1px solid var(--border-light);
}

h1 {
  font-size: var(--h1-size);
  font-weight: 750;
}

h3 {
  margin-top: 2em;
  font-weight: 650;
}

p {
  line-height: var(--text-line-height);
}

ul {
  padding-left: 1.5em;
  line-height: var(--text-line-height);
}

li {
  margin-bottom: 1em;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  color: var(--primary-darker);
}

#radar-wrapper {
  margin: 0 calc(var(--padding-horizontal) * -1);
  padding: 0 var(--padding-horizontal);
  overflow-x: scroll;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

#radar-wrapper::-webkit-scrollbar {
  display: none;
}

#radar {
  max-width: var(--max-width-radar);
  height: auto;
  font-feature-settings: "tnum" 1;
}

#radar #rink {
  font-feature-settings: "tnum" 0;
}

.logo {
  height: var(--logo-height);
}

.link-forwards {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-right: 1.5em;
}

.link-forwards svg {
  position: relative;
  transition: all 0.2s ease-in-out;
}

.link-forwards:hover svg {
  transform: translateX(0.25rem);
}

.link-forwards:hover:after {
  right: 0;
}

.footer-navigation {
  border-bottom: 1px solid var(--border-light);
}

.footer-navigation ul {
  padding: 0;
  list-style: none;
}

.footer-navigation a {
  color: var(--text-light);
  transition: all 0.2s ease-in-out;
}

.footer-navigation a:hover {
  color: var(--text);
}

.social {
  margin: 0;
  padding: 3rem 0;
  list-style: none;
  display: flex;
  justify-content: center;
}

.social li {
  margin-right: 0.5em;
  margin-bottom: 0;
}

.social li:last-child {
  margin-right: 0;
}

.social a {
  padding: 0.5em;
  height: 24px;
  color: var(--text-light);
  display: block;
  box-sizing: content-box;
  transition: color 0.2s ease-in-out;
}

.social a:hover {
  color: var(--text);
}

.social svg {
  width: 24px;
  height: 24px;
}

@media (min-width: 992px) {
  :root {
    --h1-size: 2em;
    --logo-height: 4rem;
    --max-width-radar: 100%;

    --padding-horizontal: 2rem;
  }

  .grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--padding-horizontal);
  }

  .footer-navigation {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0 40px;
  }
}
