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

.wp-hero {
  position: relative;
  height: 1262px;
  margin-top: -103px;
  padding-top: 103px;
  text-align: center;
}

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

.wp-hero-title {
  position: absolute;
  left: 493px;
  top: 205px;
  width: 933px;
  font-size: 48px;
  font-weight: 600;
  line-height: 65px;
  color: var(--color-foreground);
}

.wp-hero-body {
  position: absolute;
  left: 541px;
  top: 343px;
  width: 837px;
  font-size: 16px;
  line-height: 25px;
  color: var(--color-foreground);
}

.wp-form-title {
  position: absolute;
  left: 512px;
  top: 459px;
  width: 743px;
  text-align: left;
  font-size: 24px;
  font-weight: 600;
  line-height: 30px;
  color: var(--color-foreground);
}

.wp-light {
  font-weight: 500;
}

.wp-form {
  position: absolute;
  left: 512px;
  top: 509px;
  text-align: left;
}

.wp-consent-field {
  display: block;
}

.wp-consent {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 20px;
  font-size: 12px;
  font-weight: 600;
  line-height: 15px;
  color: var(--color-foreground);
  cursor: pointer;
}

.wp-checkbox {
  position: absolute;
  width: 22px;
  height: 22px;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.wp-box {
  position: relative;
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border: 1px solid var(--color-primary-dark);
  border-radius: 5px;
  background: var(--color-background);
  transition: border-color 0.2s var(--ease-soft), background 0.2s var(--ease-soft),
    transform 0.25s var(--ease-calm);
}

.wp-checkbox:active + .wp-box {
  transform: scale(0.95);
}

.wp-checkbox:checked + .wp-box {
  border-color: var(--color-primary-dark);
  background: var(--color-primary-dark);
  animation: wp-box-pop 0.4s var(--ease-calm);
}

.wp-box-invalid {
  border-color: var(--color-accent-red);
}

.wp-checkbox:focus-visible + .wp-box {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.wp-tick {
  font-size: 14px;
  color: var(--color-background);
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.15s var(--ease-soft), transform 0.3s var(--ease-calm);
}

.wp-checkbox:checked + .wp-box .wp-tick {
  opacity: 1;
  transform: scale(1);
}

@keyframes wp-box-pop {
  from {
    transform: scale(0.92);
  }

  to {
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .wp-box,
  .wp-tick {
    transition: none;
    animation: none;
  }
}

.wp-submit {
  grid-column: 1 / -1;
  justify-self: center;
  min-width: 0;
  height: 37px;
  padding: 0 25px;
  margin-top: 20px;
  font-size: 15px;
}

.wp-partners {
  position: relative;
  height: 280px;
  margin-top: -53px;
  text-align: center;
}

.wp-partners-title {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  font-size: 43px;
  font-weight: 600;
  line-height: 54px;
  color: var(--color-foreground);
}

.wp-partner-list {
  position: absolute;
  left: 612px;
  top: 107px;
  width: 696px;
  height: 95px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.wp-partner-list li {
  position: absolute;
}

.wp-partner-link {
  display: block;
  width: 100%;
  height: 100%;
  transition: opacity 0.2s var(--ease-soft);
}

.wp-partner-link:hover {
  opacity: 0.7;
}

.wp-partner-logo {
  width: 100%;
  height: 100%;
  background: transparent;
  color: var(--color-muted);
}

.wp-partner-ssa {
  left: 0;
  top: 13px;
  width: 110px;
  height: 75px;
}

.wp-partner-haas {
  left: 210px;
  top: 0;
  width: 161px;
  height: 95px;
}

.wp-partner-sellabees {
  left: 471px;
  top: 25px;
  width: 225px;
  height: 61px;
}

@media (max-width: 1439px) {
  .wp-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    height: auto;
    padding-right: var(--page-gutter);
    padding-bottom: 72px;
    padding-left: var(--page-gutter);
  }

  .wp-hero::before {
    height: 100%;
    background:
      radial-gradient(ellipse 60% 55% at 85% 12%, #cfe7f7 0%, rgba(207, 231, 247, 0) 70%),
      radial-gradient(ellipse 45% 35% at 78% 58%, #dcedf9 0%, rgba(220, 237, 249, 0) 70%),
      radial-gradient(ellipse 45% 40% at 4% 45%, #dcedf9 0%, rgba(220, 237, 249, 0) 70%),
      #f6fafd;
  }

  .wp-hero-title {
    position: static;
    width: 100%;
    max-width: 933px;
    margin-top: 96px;
  }

  .wp-hero-body {
    position: static;
    width: 100%;
    max-width: 837px;
  }

  .wp-form-title {
    position: static;
    width: 100%;
    max-width: 896px;
    margin-top: 16px;
  }

  .wp-form {
    position: static;
    width: 100%;
    max-width: 896px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wp-partners {
    height: auto;
    margin-top: 0;
    padding: 0 var(--page-gutter) 96px;
  }

  .wp-partners-title {
    position: static;
    margin-bottom: 40px;
  }

  .wp-partner-list {
    position: static;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    align-items: center;
    justify-items: center;
    gap: 40px;
    width: 100%;
    max-width: var(--page-max);
    height: auto;
    margin: 0 auto;
  }

  .wp-partner-list li {
    position: static;
    width: 100%;
    height: auto;
  }

  .wp-partner-logo {
    width: 100%;
    height: auto;
  }

  .wp-partner-ssa {
    max-width: 110px;
  }

  .wp-partner-haas {
    max-width: 161px;
  }

  .wp-partner-sellabees {
    max-width: 225px;
  }
}

@media (max-width: 1023px) {
  .wp-hero {
    margin-top: 0;
    padding-top: 0;
    padding-bottom: 56px;
  }

  .wp-hero-title {
    margin-top: 72px;
    font-size: 36px;
    line-height: 1.25;
  }

  .wp-form-title {
    font-size: 20px;
    line-height: 1.3;
  }

  .wp-partners {
    padding-bottom: 72px;
  }

  .wp-partners-title {
    margin-bottom: 32px;
    font-size: 36px;
    line-height: 1.25;
  }

  .wp-partner-list {
    gap: 32px;
  }
}

@media (max-width: 640px) {
  .wp-hero {
    padding-bottom: 40px;
  }

  .wp-hero-title {
    margin-top: 56px;
    font-size: 28px;
  }

  .wp-hero-body {
    font-size: 15px;
    line-height: 1.6;
  }

  .wp-form-title {
    font-size: 18px;
  }

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

  .wp-consent {
    align-items: flex-start;
    padding-left: 0;
    font-size: 15px;
    line-height: 1.4;
  }

  .wp-submit {
    justify-self: stretch;
    width: 100%;
    height: 44px;
  }

  .wp-partners {
    padding-bottom: 56px;
  }

  .wp-partners-title {
    font-size: 28px;
  }

  .wp-partner-list {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 28px;
  }
}
