:root {
  --purple: #704bdb;
  --step-0: 0px;
  --blue: #1b2760;
  --measure: 80ch;
  --step-3: 0px;
  --step-1: 0px;
  --step-2: 0px;
  --white: white;
  --max-width: 120ch;
  --black: black;
}

body {
  background-color: var(--purple);
  color: #fff;
  font-family: Space Grotesk, sans-serif;
  font-size: var(--step-0);
  font-style: normal;
  font-weight: 300;
  line-height: 1.5em;
}

p {
  margin-bottom: 0;
}

.header {
  z-index: 0;
  background-color: var(--purple);
  padding: 2em 5vw;
}

.section {
  grid-column-gap: 5em;
  grid-row-gap: 5em;
  background-color: var(--blue);
  background-image: radial-gradient(circle at 50% 0, rgba(0, 0, 0, .1), rgba(0, 0, 0, 0));
  flex-direction: column;
  align-items: stretch;
  padding: 5em 5vw;
  display: flex;
  position: relative;
}

.max-width {
  width: 100%;
  max-width: var(--measure);
  margin-left: auto;
  margin-right: auto;
}

.hero-heading {
  font-size: var(--step-3);
  font-style: normal;
  font-weight: 400;
  line-height: 1.2em;
}

.lead {
  max-width: var(--measure);
  font-size: var(--step-1);
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  font-style: normal;
}

.rich-text-block {
  grid-column-gap: 1em;
  grid-row-gap: 1em;
  text-align: center;
  flex-direction: column;
  margin-left: auto;
  margin-right: auto;
  font-style: normal;
  display: flex;
}

.stack {
  max-width: var(--measure);
  grid-column-gap: 5em;
  grid-row-gap: 5em;
  flex-direction: column;
  align-items: stretch;
  margin-left: auto;
  margin-right: auto;
  display: flex;
}

.footer {
  background-color: var(--purple);
  padding: 10em 5vw 5em;
}

.text-block {
  color: #fff;
  font-size: var(--step-2);
  font-style: normal;
  font-weight: 400;
  line-height: 1em;
}

.link-block {
  grid-column-gap: 1em;
  grid-row-gap: 1em;
  border-bottom: 3px solid rgba(0, 0, 0, 0);
  flex-direction: column;
  align-self: center;
  align-items: center;
  padding-bottom: 3px;
  text-decoration: none;
  transition: border .2s ease-in-out;
  display: flex;
}

.link-block:hover {
  color: var(--white);
  border-bottom: 3px solid #fff;
  text-decoration: none;
}

.social-links {
  grid-column-gap: 1em;
  grid-row-gap: 1em;
  display: flex;
}

.social-link {
  width: 34px;
  height: 34px;
  transition: transform .2s ease-in-out;
}

.social-link:hover {
  transform: scale(1.1);
}

.social-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.legals {
  margin-top: 1em;
}

.image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  display: block;
}

.top-right {
  z-index: 2;
  height: 150%;
  max-width: 40vw;
  object-fit: cover;
  object-position: 0% 100%;
  position: absolute;
  top: auto;
  bottom: -2.5em;
  left: auto;
  right: -1px;
}

.bottom-right {
  z-index: 1;
  max-width: 33.333vw;
  position: absolute;
  top: auto;
  bottom: -1px;
  left: 0%;
  right: auto;
}

.logo {
  display: block;
}

.image-wrap {
  aspect-ratio: 16 / 9;
  background-color: #161f4d;
  position: relative;
  overflow: hidden;
}

.bold-text {
  font-weight: 500;
}

.top-left-angle {
  width: 3em;
  height: 3em;
  background-image: linear-gradient(135deg, var(--blue), var(--blue) 50%, transparent 50%, transparent);
  position: absolute;
  top: 0%;
  bottom: auto;
  left: 0%;
  right: auto;
}

.bottom-right-angle {
  width: 3em;
  height: 3em;
  background-image: linear-gradient(315deg, var(--blue), var(--blue) 50%, transparent 50%, transparent);
  position: absolute;
  top: auto;
  bottom: 0%;
  left: auto;
  right: 0%;
}

.arrow-icon {
  width: 4.5em;
}

@media screen and (max-width: 991px) {
  .bottom-right {
    max-width: 33.333vw;
    object-fit: cover;
  }
}

@media screen and (max-width: 767px) {
  .section {
    grid-column-gap: 0em;
    grid-row-gap: 0em;
    padding-top: 3em;
    padding-bottom: 3em;
    overflow: hidden;
  }

  .hero-heading {
    z-index: 1;
    position: relative;
  }

  .stack {
    grid-column-gap: 3em;
    grid-row-gap: 3em;
  }

  .footer {
    padding-top: 6em;
    padding-bottom: 3em;
  }

  .top-right {
    z-index: 0;
    max-width: 100vw;
    margin-top: -12em;
    position: static;
    transform: translate(32%);
  }

  .bottom-right {
    max-width: 25vw;
    object-fit: none;
    object-position: 0% 0%;
  }
}

@media screen and (max-width: 479px) {
  .section {
    padding-top: 2em;
    padding-bottom: 2em;
  }

  .footer {
    padding-top: 4em;
    padding-bottom: 2em;
  }

  .top-right {
    margin-top: -5em;
  }
}


