:root {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Inter, sans-serif;
  color: #181818;
  font-size: 1.6rem;
  -webkit-tap-highlight-color: transparent;
}

body {
  padding-top: 11rem;
}

::selection {
  background-color: #d1d4d4;
}

a {
  text-decoration: none;
  padding: 1.3rem 2.4rem;
  background-color: transparent;
  border-radius: 0.8rem;
  transition: background-color 200ms ease;
  font-weight: 500;
  -webkit-user-select: none;
  user-select: none;
}

img {
  -webkit-user-select: none;
  user-select: none;
}

:focus {
  outline: 0;
}

@media (hover: hover) {
  a:hover {
    background-color: #f0f1f1;
  }
}
@media (max-width: 800px) {
  :root {
    font-size: 56%;
  }
}
nav {
  width: 100%;
  display: flex;
  padding: 4rem 10vw;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  z-index: 4;
  background-color: #ffffff;
}
nav.small {
  display: none;
}
nav > div {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}
nav img {
  height: 2.4rem;
}
nav * {
  font-weight: 500;
}
nav .login {
  background-color: #50adae;
  color: #ffffff;
  border-radius: 0.8rem;
}
nav .menu {
  display: none;
  gap: unset;
}
nav .menu:active {
  background-color: #f0f1f1;
}

.logo {
  padding: 0;
}

@media (hover: hover) {
  .logo:hover {
    background-color: transparent;
  }
  .login:hover {
    background-color: #4a9899;
  }
  .menu:hover {
    background-color: #f0f1f1;
  }
}
@media (max-width: 1550px) {
  nav.big {
    padding: 2.4rem;
  }
}
@media (max-width: 1250px) {
  nav.big {
    display: none;
  }
  nav {
    flex-direction: column;
  }
  nav.small {
    display: flex;
    clip-path: polygon(0 0, 100% 0, 100% 11rem, 0 11rem);
    transition: clip-path 200ms ease;
    border-bottom: 2px solid #f0f1f1;
  }
  nav.small .links {
    display: flex;
    flex-direction: column;
    gap: 2.9rem;
    padding-top: 2.9rem;
    align-items: flex-start;
    transition: transform 400ms ease;
  }
  nav.small .menu {
    display: flex;
    width: 4rem;
    height: 4rem;
    padding: 1.3rem;
    border-radius: 0.8rem;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
  }
  nav.small .menu div {
    width: 100%;
    height: 2px;
    border-radius: 0.8rem;
    background-color: #181818;
  }
  nav.small > div {
    width: 100%;
    justify-content: space-between;
  }
  nav.small > div > div:not(.menu) {
    display: flex;
    gap: 1.6rem;
  }
  body.nav-open nav.small {
    clip-path: polygon(0 0, 100% 0, 100% 120%, 0 120%);
  }
  body.nav-open nav.small > a:not(.login) {
    padding: 0;
  }
}
x-select {
  box-shadow: 0 0 0 2px #f0f1f1;
  border-radius: 0.8rem;
  position: relative;
  height: max-content;
  -webkit-user-select: none;
  user-select: none;
}

x-select button {
  padding: 1.3rem 2.4rem;
  cursor: pointer;
  background-color: transparent;
  transition: background-color 200ms ease;
  border: 0;
}

x-select div[hidden] {
  opacity: 0;
  pointer-events: none;
}

x-select div {
  opacity: 1;
  position: absolute;
  margin-top: 2rem;
  box-shadow: 0 0 0 2px #f0f1f1;
  overflow: hidden;
  display: grid;
  transition: all 200ms ease;
  background-color: #ffffff;
  border-radius: 0.8rem;
}

x-select div * {
  display: grid;
  place-items: center;
  padding: 1.3rem 2.4rem;
  border-radius: 0;
}

x-select button:hover,
x-select button:focus {
  background-color: #f0f1f1;
}

section {
  padding: 1.3rem 15vw 5.2rem 15vw;
  display: flex;
  justify-content: space-between;
  gap: 5.2rem;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  scroll-margin-top: 12rem;
  max-width: 100%;
}
section h2 {
  font-size: 2.9rem;
  font-weight: 700;
  margin-bottom: 2.4rem;
}
section > div {
  max-width: 60ch;
}
section p {
  max-width: 50ch;
  line-height: 1.7em;
}
section p strong {
  font-weight: 700;
  font-style: italic;
}
section > img {
  width: 65%;
  max-width: 65rem;
  border-radius: 0.8rem;
}

section:nth-of-type(1) {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
section:nth-of-type(1) h1 {
  font-size: 4rem;
  font-weight: 900;
  margin-bottom: 2.4rem;
}
section:nth-of-type(1) > img {
  width: 100%;
}
section:nth-of-type(1) a {
  background-color: #181818;
  padding: 0.8rem 2.4rem;
  width: max-content;
  display: grid;
  gap: 0.25em 1.6rem;
  grid-template-columns: auto auto;
  place-items: center left;
  white-space: pre-line;
}
section:nth-of-type(1) a div {
  color: #ffffff;
  line-height: 1.3em;
}
section:nth-of-type(1) a img {
  width: 1.6rem;
  grid-row: 1/3;
}
section:nth-of-type(1) a span {
  font-size: 1.3rem;
  color: #999b9b;
  font-weight: 400;
}
section:nth-of-type(1) div > div {
  display: flex;
  padding: 2.9rem 0;
  gap: 2.9rem;
}

section:nth-of-type(5) {
  grid-template-columns: 1fr;
  flex-direction: column;
  align-items: start;
  padding-bottom: 6.8rem;
}
section:nth-of-type(5) > div {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 4rem;
  width: 100%;
  max-width: unset;
}
section:nth-of-type(5) > div > h2 {
  margin: 0;
}
section:nth-of-type(5) > div p {
  width: 100%;
  max-width: unset;
}
section:nth-of-type(5) > div > a {
  height: max-content;
  border: 2px solid #f0f1f1;
}
section:nth-of-type(5) .card {
  width: 33.3333333333%;
  max-width: 45ch;
  padding: 2.9rem;
  border-radius: 0.8rem;
  border: 2px solid #f0f1f1;
}
section:nth-of-type(5) .card a,
section:nth-of-type(5) .card a:hover {
  background-color: transparent;
  padding: 0;
  display: block;
  margin-top: 2rem;
  color: #50adae;
}
section:nth-of-type(5) .card a:hover {
  color: #4a9899;
}

section:nth-of-type(6) {
  padding: 6.8rem 15vw;
  background-color: #181818;
  display: block;
}
section:nth-of-type(6) * {
  color: #ffffff;
  font-weight: 500;
  width: max-content;
}
section:nth-of-type(6) footer {
  display: grid;
  grid-template-columns: 1fr 5fr;
  place-items: center;
  width: 100%;
  margin: auto;
  gap: 5.2rem;
}
section:nth-of-type(6) footer p {
  max-width: unset;
  width: 100%;
}
section:nth-of-type(6) footer > div {
  width: 100%;
  display: grid;
  gap: 2rem 5.2rem;
  grid-template-columns: auto auto;
  align-items: center;
}
section:nth-of-type(6) footer > div div {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  gap: 2.4rem;
}
section:nth-of-type(6) footer > div div a img {
  display: block;
}
section:nth-of-type(6) footer img {
  width: 2rem;
  border-radius: 0;
  transition: opacity 200ms ease;
}
section:nth-of-type(6) footer img.icon {
  width: 5.2rem;
}
section:nth-of-type(6) footer img:not(.icon):hover {
  opacity: 0.5;
}
section:nth-of-type(6) footer span {
  color: #999b9b;
}
section:nth-of-type(6) footer a {
  padding: 0;
  -webkit-user-select: unset;
  user-select: unset;
  width: 100%;
}
section:nth-of-type(6) footer a:hover {
  background-color: transparent;
  text-decoration: underline;
}
section:nth-of-type(6) footer ::selection {
  color: #181818;
}

@media (hover: hover) {
  section:nth-of-type(1) a:hover {
    background-color: #2b2c2c;
  }
}
@media (max-width: 1400px) {
  section {
    padding: 2.4rem 10vw 5.2rem 10vw;
  }
  section:nth-of-type(5) {
    flex-direction: column;
  }
  section:nth-of-type(5) div:nth-of-type(2) {
    flex-direction: column;
  }
  section:nth-of-type(5) > div {
    max-width: 55rem;
    margin: auto;
  }
  section:nth-of-type(5) .card {
    width: 100%;
    max-width: 100%;
  }
}
@media (max-width: 1200px) {
  section {
    padding: 2.4rem 5vw 5.2rem 5vw;
  }
  section:nth-of-type(6) {
    padding: 6.8rem 5vw;
  }
}
@media (max-width: 900px) {
  section {
    display: flex !important;
    flex-direction: column;
    gap: 2.4rem;
    align-items: center;
    grid-template-columns: 1fr;
  }
  section > div, section > img {
    max-width: 55rem;
    width: 100%;
  }
  section:nth-of-type(odd):not(:nth-of-type(5)) {
    flex-direction: column-reverse;
  }
  section:nth-of-type(1) div:first-child {
    width: 100%;
  }
  section:nth-of-type(1) div > div {
    gap: 1.3rem;
  }
  section:nth-of-type(6) footer {
    gap: 2.9rem;
    align-items: flex-start;
  }
  section:nth-of-type(6) footer > img.icon {
    width: 4rem;
  }
  section:nth-of-type(6) footer > div {
    grid-template-columns: 1fr;
  }
  section:nth-of-type(6) footer > div * {
    font-size: 1.3rem;
  }
}