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

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

.home-hero::before {
  content: '';
  position: absolute;
  left: var(--glow-bleed);
  right: var(--glow-bleed);
  top: 0;
  height: 911px;
  z-index: -1;
  background: url('../../img/glows/home-hero.svg') no-repeat -539px -736px / 3000.43px 2172.42px;
}

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

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

.home-hero-button {
  position: absolute;
  left: 858px;
  top: 477px;
  min-width: 203px;
  height: 37px;
}

.home-hero-shots {
  left: 329px;
  top: 615px;
}

.home-branches {
  position: relative;
  width: 1349px;
  height: 520px;
  margin: 0 auto;
}

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

.home-branches-body {
  position: absolute;
  left: 459px;
  top: 61px;
  width: 890px;
  font-size: 16px;
  line-height: 25px;
  color: var(--color-foreground);
}

.home-branch-list {
  position: absolute;
  left: 0;
  top: 185px;
  display: flex;
  gap: 28px;
  width: 1349px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-branch {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  height: 280px;
  padding: 83px 24px 35px;
  background: var(--color-primary-tint);
  border-radius: var(--radius-md);
}

.home-branch-icon {
  position: absolute;
  left: 24px;
}

.home-icon-retail {
  top: 40px;
  width: 28px;
  height: 28px;
}

.home-icon-webshop {
  top: 40px;
  width: 29px;
  height: 29px;
}

.home-branch-title {
  position: absolute;
  left: 72px;
  top: 34px;
  font-size: 30px;
  font-weight: 700;
  line-height: 38px;
  color: var(--color-primary);
}

.home-branch-lead {
  width: 390px;
  font-size: 16px;
  font-weight: 700;
  line-height: 25px;
  color: var(--color-foreground);
}

.home-branch-body {
  width: 395px;
  margin-top: 8px;
  font-size: 16px;
  line-height: 25px;
  color: var(--color-foreground);
}

.home-branch-button {
  margin-top: auto;
}

.home-branches + .trust {
  margin-top: 36px;
}

.home-band {
  margin-top: 104px;
}

.home-band + .bene {
  margin-top: 79px;
}

.bene + .hw {
  margin-top: 35px;
}

.home-partners {
  position: relative;
  height: 230px;
  text-align: center;
}

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

.home-partners-body {
  position: absolute;
  left: 0;
  right: 0;
  top: 64px;
  font-size: 16px;
  line-height: 25px;
  color: var(--color-foreground);
}

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

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

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

.home-partner-link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 44px;
  transform: translateY(-50%);
}

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

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

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

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

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

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

  .home-hero::before {
    height: auto;
    bottom: -120px;
    -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 120px), transparent 100%);
    mask-image: linear-gradient(to bottom, #000 calc(100% - 120px), transparent 100%);
    background:
      radial-gradient(ellipse 46% 92% at 81% 19%, #cfe7f7 0%, rgba(207, 231, 247, 0) 70%),
      radial-gradient(ellipse 31% 54% at 73% 79%, #dcedf9 0%, rgba(220, 237, 249, 0) 70%),
      radial-gradient(ellipse 32% 64% at 3% 62%, #dcedf9 0%, rgba(220, 237, 249, 0) 70%),
      #f6fafd;
  }

  .home-hero-title,
  .home-hero-body,
  .home-hero-button {
    position: static;
    left: auto;
    right: auto;
    top: auto;
  }

  .home-hero-button {
    height: 44px;
  }

  .home-hero-title {
    font-size: 48px;
    line-height: 1.2;
  }

  .home-hero-body {
    width: 100%;
    max-width: 939px;
    margin: 24px auto 0;
  }

  .home-hero-button {
    margin: 32px 0 56px;
  }

  .home-hero-shots {
    left: auto;
    top: auto;
  }

  .home-branches {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) 2fr;
    align-items: start;
    column-gap: 48px;
    row-gap: 48px;
    width: 100%;
    max-width: var(--page-max);
    height: auto;
    padding: 96px var(--page-gutter);
  }

  .home-branches-title,
  .home-branches-body,
  .home-branch-list,
  .home-branch-title,
  .home-branch-lead,
  .home-branch-body,
  .home-branch-button {
    position: static;
    left: auto;
    top: auto;
  }

  .home-branches-title {
    font-size: 36px;
    line-height: 1.2;
  }

  .home-branches-body {
    width: 100%;
  }

  .home-branch-list {
    grid-column: 1 / -1;
    flex-wrap: wrap;
    gap: 28px;
    width: 100%;
  }

  .home-branch {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    flex: 1 1 300px;
    width: auto;
    height: auto;
    padding: 28px 24px;
  }

  .home-branch-icon {
    top: 33px;
  }

  .home-branch-title {
    padding-left: 48px;
  }

  .home-branch-lead,
  .home-branch-body {
    width: 100%;
  }

  .home-branch-button {
    margin-top: auto;
  }

  .home-partners {
    height: auto;
    padding: 96px var(--page-gutter);
  }

  .home-partners-title,
  .home-partners-body,
  .home-partner-list {
    position: static;
    left: auto;
    right: auto;
    top: auto;
  }

  .home-partners-body {
    margin-top: 16px;
  }

  .home-partner-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 32px 56px;
    width: 100%;
    max-width: var(--page-max);
    height: auto;
    margin: 40px auto 0;
  }

  .home-partner-list li {
    position: static;
    height: auto;
    max-width: 100%;
    min-width: 0;
  }

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

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

  .home-hero-title {
    font-size: 36px;
  }

  .home-branches {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 32px;
    padding: 72px var(--page-gutter);
  }

  .home-branch {
    flex: 1 1 280px;
  }

  .home-band {
    margin-top: 72px;
  }

  .home-band + .bene {
    margin-top: 56px;
  }

  .bene + .hw {
    margin-top: 32px;
  }

  .home-partners {
    padding: 72px var(--page-gutter);
  }

  .home-partners-title {
    font-size: 36px;
    line-height: 1.2;
  }

  .home-partner-list {
    gap: 28px 44px;
    margin-top: 32px;
  }
}

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

  .home-hero::before {
    bottom: -200px;
    -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%);
  }

  .home-hero-title {
    font-size: 28px;
  }

  .home-hero-button {
    width: 100%;
    min-width: 0;
    height: 44px;
    margin: 28px 0 40px;
  }

  .home-branches {
    padding: 56px var(--page-gutter);
  }

  .home-branches-title {
    font-size: 28px;
  }

  .home-branch {
    flex: 1 1 100%;
  }

  .home-branch-icon {
    top: 32px;
    width: 24px;
    height: 24px;
  }

  .home-branch-title {
    padding-left: 40px;
    font-size: 24px;
    line-height: 32px;
  }

  .home-band {
    margin-top: 56px;
  }

  .home-band + .bene {
    margin-top: 40px;
  }

  .bene + .hw {
    margin-top: 28px;
  }

  .home-partners {
    padding: 56px var(--page-gutter);
  }

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

  .home-partner-list {
    gap: 24px 32px;
    margin-top: 28px;
  }

  .home-partner-ssa {
    width: 90px;
  }

  .home-partner-haas {
    width: 130px;
  }

  .home-partner-sellabees {
    width: 180px;
  }
}
