/* Keep the original floating navigation over the new platform artwork. */
html body.ribbon-home #hero > .site-nav {
  top: 17px;
  left: 50%;
  right: auto;
  width: calc(100% - 48px);
  max-width: 1180px;
  min-height: 72px;
  height: 72px;
  padding: 0 19px 0 27px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #f8f9fb;
  box-shadow: 0 14px 36px rgba(19, 53, 105, .2);
  gap: 20px;
}
html body.ribbon-home #hero .site-nav .logo-text {
  color: #2859d8;
  font-size: 21px;
  letter-spacing: normal;
}
html body.ribbon-home #hero .site-nav .nav-link {
  color: #16263e;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: normal;
  padding: 0;
}
html body.ribbon-home #hero .site-nav .nav-link:hover {
  color: #2753cb;
}
html body.ribbon-home #hero .site-nav .nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
  width: 96px;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 999px;
  background: #2853cf;
  box-shadow: 0 7px 16px rgba(40, 83, 207, .2);
  font-size: 14px;
  font-weight: 600;
}
@media (min-width: 1000px) {
  html body.ribbon-home #hero > .site-nav {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
  }
  #hero .site-nav .nav-links { gap: 24px; }
}
@media (min-width: 481px) {
  #hero .site-nav .nav-cases { display: none; }
}

html body.ribbon-home #page-scroll > #hero { background: #d8e8f7; }
#hero .hero-bg { background: #d8e8f7; }
#hero .hero-bg img { object-position: 68% center; }
#hero .hero-bg::after {
  background: linear-gradient(0deg, rgba(220, 234, 248, .8), transparent 23%);
}
#hero .hero-scene-note {
  right: max(44px, calc((100vw - 1520px) / 2 + 8px));
  padding: 2px 8px;
  border-radius: 5px;
  background: #f0f6fc;
  color: #284763;
  font-size: 12px;
}
#hero .partner-ribbon {
  border-color: #edf4fc;
  box-shadow: 0 14px 36px rgba(25, 59, 105, .16);
}
@media (min-width: 1000px) and (max-width: 1279px) {
  #hero .hero-bg {
    background: linear-gradient(180deg, #3265a6, #daeafa 29%, #dcebf8 92%);
  }
  #hero .hero-bg img {
    inset: 90px 0 auto auto;
    height: auto;
    mask-image: linear-gradient(180deg, transparent, #000 27%, #000 79%, transparent);
  }
}
@media (max-width: 999px) {
  html body.ribbon-home #hero > .site-nav {
    top: 16px;
    width: calc(100% - 40px);
    min-height: 70px;
    height: auto;
    padding: 12px 20px;
    justify-content: space-between;
    border-radius: 26px;
    gap: 6px 16px;
  }
  html body.ribbon-home #hero > .site-nav .nav-links {
    justify-content: center;
    gap: 0 20px;
    padding: 0;
    flex-wrap: wrap;
  }
  html body.ribbon-home #hero > .site-nav .nav-link {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    font-size: 13px;
  }
  html body.ribbon-home #hero .site-nav .nav-cases { display: none; }
  #hero .hero-bg {
    background: linear-gradient(180deg, #3265a6, #daeafa 20%, #dcebf9 68%, #dcebf8);
  }
  #hero .hero-bg img {
    inset: 214px 0 auto auto;
    width: 119%;
    height: auto;
    max-width: none;
    mask-image: linear-gradient(180deg, transparent, #000 26%, #000 80%, transparent);
  }
  #hero .hero-bg::after {
    background: linear-gradient(180deg, transparent 17%, #dbeafa 23%, rgba(221, 236, 250, .6) 33%, transparent 51%, transparent 61%, #dcebf8 79%);
  }
}
@media (min-width: 768px) and (max-width: 999px) {
  html body.ribbon-home #hero .hero-content { top: 174px; }
}
@media (max-width: 767px) {
  #hero .hero-bg img {
    top: 270px;
    right: -1%;
    width: 156%;
  }
  #hero .hero-bg::after {
    background: linear-gradient(180deg, transparent 22%, #dcebf9 30%, rgba(218, 235, 250, .2) 42%, transparent 56%, #dcebf8 66%);
  }
  #hero .partner-ribbon { margin-top: 180px; }
  #hero .hero-scene-note { top: auto; right: 22px; bottom: 351px; }
}
@media (min-width: 481px) and (max-width: 767px) {
  html body.ribbon-home #hero > .site-nav .nav-links { column-gap: 12px; }
  html body.ribbon-home #hero .hero-content { padding-top: 146px; }
  #hero .hero-bg img { top: 281px; width: 134%; }
}
@media (max-width: 480px) {
  html body.ribbon-home #hero > .site-nav {
    top: 14px;
    width: calc(100% - 28px);
    min-height: 60px;
    padding: 7px 12px 7px 16px;
    border-radius: 999px;
    gap: 8px;
    flex-wrap: nowrap;
  }
  html body.ribbon-home #hero .site-nav .logo-text { font-size: 18px; }
  html body.ribbon-home #hero .site-nav .nav-cta {
    width: auto;
    min-height: 44px;
    font-size: 12px;
    padding-inline: 12px;
  }
  html body.ribbon-home #hero > .site-nav .phase1-menu-trigger { min-width: 56px; }
  html body.ribbon-home #hero > .site-nav.phase1-menu-open .phase1-primary-nav {
    padding: 12px;
    gap: 2px 12px;
  }
  html body.ribbon-home #hero .site-nav .nav-link {
    display: flex;
    min-height: 44px;
    padding-inline: 10px;
  }
  html body.ribbon-home #hero .hero-content { padding-top: 113px; }
}
