.hero:after {
  display: none;
}

.expertise-cta {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

.expertise-cta .button {
  min-width: 230px;
  box-shadow: 0 16px 42px rgba(0, 0, 0, .24);
}

.boundaries-form {
  grid-column: 2;
  padding: 30px;
  border: 1px solid rgba(185, 243, 74, .22);
  border-radius: 22px;
  background: #f7faf8;
  box-shadow: 0 30px 85px rgba(0, 0, 0, .34);
  color: #102218;
}

.boundaries-form form {
  max-width: none !important;
  margin: 0 !important;
}

.boundaries-form form input:not([type="submit"]) {
  border-color: #d5dfd9 !important;
  background: #fff !important;
  color: #102218 !important;
}

.boundaries-form form input::placeholder {
  color: #829087 !important;
}

.boundaries-form form input[type="submit"] {
  border-radius: 24px !important;
  background: var(--lime) !important;
  color: #102218 !important;
  font-weight: 800 !important;
}

.home-hero-form .form-note,
.boundaries-form .form-note {
  margin: 16px 0 0;
  color: #66766e;
  font-size: 9px;
  line-height: 1.6;
}

.hero-content {
  padding-right: min(520px, 42vw);
}

.hero h1 {
  max-width: 690px;
  margin-bottom: 22px;
  font-size: clamp(58px, 5.4vw, 78px);
  line-height: .94;
}

.hero-copy {
  margin-bottom: 0;
}

.hero-resource-cards {
  display: grid;
  width: var(--page);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: none;
  margin: 26px auto 0;
  padding-right: min(520px, 42vw);
}

.hero-resource-card {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 17px;
  min-height: 166px;
  padding: 23px 22px;
  border: 1px solid rgba(185, 243, 74, .14);
  border-radius: 19px;
  background: linear-gradient(145deg, rgba(15, 45, 33, .86), rgba(8, 29, 21, .9));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .025);
  transition: border-color .22s, background .22s, transform .22s;
}

.hero-resource-card:hover {
  border-color: rgba(185, 243, 74, .34);
  background: linear-gradient(145deg, rgba(18, 55, 39, .94), rgba(9, 33, 23, .96));
  transform: translateY(-3px);
}

.hero-resource-icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
}

.hero-resource-icon svg {
  width: 52px;
  height: 52px;
  fill: none;
  stroke: #829a8e;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.hero-resource-icon svg .accent {
  stroke: var(--lime);
}

.hero-resource-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.hero-resource-copy h2 {
  margin: 0 0 9px;
  color: #f1f7f3;
  font: 600 16px/1.22 var(--serif);
  letter-spacing: -.025em;
}

.hero-resource-copy p {
  margin: 0;
  color: #93a79c;
  font-size: 10px;
  line-height: 1.6;
}

.hero-resource-copy a {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 10px;
  margin-top: auto;
  padding-top: 16px;
  color: var(--lime);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .04em;
  transition: gap .2s, color .2s;
}

.hero-resource-copy a:hover {
  gap: 14px;
  color: #d5ff80;
}

.hero-footer {
  position: relative;
  right: auto;
  bottom: auto;
  left: auto;
  margin: 60px auto 0;
}

.home-hero-form {
  position: absolute;
  z-index: 4;
  top: 190px;
  right: max(40px, calc((100vw - 1240px) / 2));
  width: min(500px, 39vw);
  padding: 30px;
  border: 1px solid rgba(185, 243, 74, .22);
  border-radius: 22px;
  background: #f7faf8;
  box-shadow: 0 30px 85px rgba(0, 0, 0, .42);
  color: #102218;
}

.home-hero-form form {
  max-width: none !important;
  margin: 0 !important;
}

.home-hero-form form input:not([type="submit"]) {
  border-color: #d5dfd9 !important;
  background: #fff !important;
  color: #102218 !important;
}

.home-hero-form form input::placeholder {
  color: #829087 !important;
}

.home-hero-form form input[type="submit"] {
  border-radius: 24px !important;
  background: var(--lime) !important;
  color: #102218 !important;
  font-weight: 800 !important;
}

@media (min-width: 901px) and (max-width: 1100px) {
  .hero {
    min-height: 980px;
  }

  .hero-content {
    padding-right: 44vw;
  }

  .hero h1 {
    font-size: clamp(55px, 6.3vw, 68px);
  }

  .hero-resource-cards {
    grid-template-columns: 1fr;
    max-width: none;
    padding-right: 44vw;
  }

  .hero-resource-card {
    min-height: 142px;
  }

  .home-hero-form {
    right: 24px;
    width: min(430px, 42vw);
  }
}

@media (max-width: 900px) {
  .hero {
    display: flex;
    min-height: 0;
    flex-direction: column;
    padding-bottom: 0;
  }

  .hero-content {
    order: 1;
    padding-right: 0;
  }

  .hero-resource-cards {
    order: 3;
    width: var(--page);
    max-width: none;
    margin: 0 auto 32px;
    padding-right: 0;
  }

  .home-hero-form {
    position: relative;
    top: auto;
    right: auto;
    order: 2;
    width: var(--page);
    margin: 46px auto 32px;
  }

  .hero-footer {
    order: 4;
    flex: 0 0 63px;
    width: var(--page);
    margin: 0 auto;
  }
}

@media (max-width: 760px) {
  .boundaries-form {
    grid-column: auto;
    padding: 22px;
  }
}

@media (max-width: 760px) {
  .hero h1 {
    font-size: clamp(43px, 12.5vw, 56px);
    line-height: .95;
  }

  .hero-copy {
    margin-bottom: 24px;
  }

  .hero-resource-cards {
    grid-template-columns: 1fr;
  }

  .hero-resource-card {
    min-height: 150px;
    padding: 21px 20px;
  }

  .hero-resource-copy h2 {
    font-size: 16px;
  }

  .home-hero-form {
    width: calc(100% - 34px);
    margin-top: 40px;
    padding: 22px;
  }
}

@media (max-width: 390px) {
  .hero-resource-card {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 14px;
    padding: 19px 17px;
  }

  .hero-resource-icon,
  .hero-resource-icon svg {
    width: 46px;
    height: 46px;
  }
}
