.cont-hero {
  position: relative;
  height: 1109px;
  margin-top: -103px;
  padding-top: 103px;
}

.cont-hero::before {
  content: '';
  position: absolute;
  left: var(--glow-bleed);
  right: var(--glow-bleed);
  top: 0;
  height: 1262px;
  z-index: -1;
  background: url('../../img/glows/contact-hero.svg') no-repeat center top / 1920px 1262px;
}

.cont-title {
  position: absolute;
  left: 0;
  right: 0;
  top: 226px;
  text-align: center;
  font-size: 48px;
  font-weight: 600;
  line-height: 65px;
  color: var(--color-foreground);
}

.cont-blue {
  color: var(--color-primary);
  font-weight: 900;
}

.cont-body {
  position: absolute;
  left: 488px;
  top: 382px;
  width: 939px;
  text-align: center;
  font-size: 16px;
  line-height: 25px;
  color: var(--color-foreground);
}

.cont-form {
  position: absolute;
  left: 513px;
  top: 544px;
  grid-template-columns: repeat(2, 435px);
  column-gap: 24px;
}

.cont-message {
  height: 206px;
}

.cont-submit {
  grid-column: 1 / -1;
  justify-self: start;
  margin-left: 742px;
  width: 125px;
  min-width: 0;
}

@media (max-width: 1439px) {
  .cont-hero {
    height: auto;
    padding: 155px var(--page-gutter) 96px;
  }

  .cont-hero::before {
    height: auto;
    bottom: -200px;
    background:
      radial-gradient(ellipse 60% 55% at 84% 14%, #cfe7f7 0%, rgba(207, 231, 247, 0) 70%),
      radial-gradient(ellipse 42% 34% at 76% 66%, #dcedf9 0%, rgba(220, 237, 249, 0) 70%),
      radial-gradient(ellipse 44% 40% at 4% 50%, #dcedf9 0%, rgba(220, 237, 249, 0) 70%),
      #f6fafd;
    -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 200px), transparent 100%);
    mask-image: linear-gradient(to bottom, #000 calc(100% - 200px), transparent 100%);
  }

  .cont-title {
    position: static;
    width: 100%;
    max-width: var(--page-max);
    margin: 0 auto;
    font-size: 44px;
    line-height: 1.28;
  }

  .cont-body {
    position: static;
    width: 100%;
    max-width: 940px;
    margin: 24px auto 0;
  }

  .cont-form {
    position: static;
    max-width: 896px;
    margin: 48px auto 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cont-submit {
    justify-self: end;
    margin-left: 0;
  }
}

@media (max-width: 1023px) {
  .cont-hero {
    margin-top: 0;
    padding: 72px var(--page-gutter);
  }

  .cont-title {
    font-size: 36px;
  }

  .cont-form {
    max-width: 100%;
    margin-top: 40px;
  }

  .cont-message {
    height: 168px;
  }
}

@media (max-width: 640px) {
  .cont-hero {
    padding: 56px var(--page-gutter);
  }

  .cont-form {
    grid-template-columns: minmax(0, 1fr);
  }

  .cont-title {
    font-size: 28px;
    line-height: 1.25;
  }

  .cont-body {
    text-align: left;
  }

  .cont-message {
    height: 148px;
  }

  .cont-submit {
    width: 100%;
    justify-self: stretch;
  }
}
