.page-home main {
  font-feature-settings: "liga" 1;
}

.home-head {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.home-head--center {
  align-items: center;
  text-align: center;
}

.home-eyebrow {
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  letter-spacing: 0.48px;
  text-transform: uppercase;
  color: var(--grey);
}

.home-h2 {
  font-size: 48px;
  line-height: 54px;
  font-weight: 600;
  letter-spacing: -0.5px;
}

.home-hero {
  position: relative;
  z-index: 0;
  display: flex;
  flex-direction: column;
  min-height: calc(100vh / var(--z, 1));
  min-height: calc(100svh / var(--z, 1));
  overflow: hidden;
  background: #041a4a;
  color: var(--white);
}

.home-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  filter: brightness(1);
  pointer-events: none;
}

.home-hero__stream {
  position: absolute;
  left: 50%;
  top: 0;
  width: max(1700px, 118.06%);
  max-width: none;
  height: auto;
  min-height: 100%;
  aspect-ratio: 1700 / 956;
  object-fit: cover;
  translate: -47.3% 0;
  transform-origin: 50% 45%;
  will-change: transform;
}

.home-hero__glass {
  --strip: calc(1440px / 33);
  position: absolute;
  top: 0;
  left: 50%;
  display: flex;
  width: calc(var(--strip) * 59);
  height: max(941px, 100%);
  margin-left: calc(var(--strip) * -29.5);
}

.home-hero__glass i {
  position: relative;
  flex: none;
  width: var(--strip);
  height: 100%;
  overflow: hidden;
  background: linear-gradient(270deg, rgba(22, 22, 24, 0.4) 0%, rgba(0, 0, 0, 0.4) 16.67%, rgba(26, 26, 29, 0.004) 100%);
  box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(50px);
  backdrop-filter: blur(50px);
  opacity: 0.5;
}

.home-hero__glass i::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 38%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(190, 236, 255, 0.16) 50%, rgba(255, 255, 255, 0) 100%);
  transform: translateY(-110%);
  opacity: 0;
}

@media (max-width: 1920px) {
  .home-hero__glass i:nth-child(-n + 7),
  .home-hero__glass i:nth-child(n + 53) {
    visibility: hidden;
  }
}

@media (max-width: 1440px) {
  .home-hero__glass i:nth-child(-n + 12),
  .home-hero__glass i:nth-child(n + 48) {
    visibility: hidden;
  }
}

.js .home-hero__glass i:nth-child(-n + 12),
.js .home-hero__glass i:nth-child(n + 48) {
  visibility: hidden;
}

.motion-ok .home-hero__stream {
  animation: home-drift 26s ease-in-out infinite alternate;
}

.motion-ok .home-hero__glass i::after {
  opacity: 1;
  animation: home-sheen 9s cubic-bezier(0.45, 0, 0.25, 1) infinite;
  animation-delay: calc(var(--i, 0) * 0.11s - 4s);
}

.home-hero.is-paused .home-hero__stream,
.home-hero.is-paused .home-hero__glass i::after {
  animation-play-state: paused;
}

@keyframes home-drift {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(-2.5%, 0.8%, 0) scale(1.06);
  }
  100% {
    transform: translate3d(1.5%, -1.2%, 0) scale(1.04);
  }
}

@keyframes home-rise {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
}

@keyframes home-sheen {
  0% {
    transform: translateY(-110%);
  }
  55%,
  100% {
    transform: translateY(290%);
  }
}

.home-hero__content {
  position: relative;
  display: flex;
  flex: 1 0 auto;
  align-items: center;
  justify-content: center;
  padding-top: 72px;
}

.home-hero__copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: min(800px, 100% - 2 * var(--gutter));
  padding: 80px 0;
  text-align: center;
}

.home-hero__title {
  font-size: clamp(48px, 5vw, 72px);
  line-height: 1.08334;
  font-weight: 600;
  letter-spacing: -0.01389em;
}

.home-hero__title .split-line {
  display: block;
  padding-bottom: 0.16em;
  margin-bottom: -0.16em;
}

.js .home-hero__title .split-line > span {
  transform: translateY(118%);
}

.js .home-hero__title .split-line.is-in > span {
  transform: none;
}

.home-hero__text {
  max-width: 560px;
}

.home-hero__actions {
  padding-top: 32px;
}

.home-about {
  --chart-h: min(546px, 37.9167vw);
  position: relative;
  padding: 80px 0 max(80px, calc(var(--chart-h) * 334 / 546));
  overflow: hidden;
  background: var(--white);
}

.home-about__chart {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--chart-h);
  pointer-events: none;
}

.home-about__area,
.home-about__curve {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  overflow: visible;
}

.home-about__curve--mobile {
  display: none;
}

.motion-ok .home-about__area {
  clip-path: inset(0 calc(100% - var(--p, 0) * 100%) 0 0);
}

.motion-ok .home-about__curve path {
  stroke-dasharray: 1 1;
  stroke-dashoffset: calc(1 - var(--p, 0));
}

.home-about__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.home-about .home-head {
  width: min(560px, 100%);
}

.home-about__overview {
  align-self: flex-end;
  width: min(616px, 100%);
}

.home-about__lead {
  font-size: 24px;
  line-height: 28px;
  color: var(--grey);
}

.home-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  row-gap: 24px;
  margin-top: 20px;
  padding: 16px 0;
}

.home-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.home-stat__value {
  font-size: 32px;
  line-height: 40px;
  font-weight: 700;
  color: var(--blue);
}

.home-stat__label {
  font-size: 14px;
  line-height: 20px;
  color: var(--grey);
}

.home-products {
  position: relative;
  padding: 100px 0;
  background: var(--white);
}

.home-products__inner {
  container-type: inline-size;
}

.home-products__head {
  width: min(724px, 100%);
  margin-inline: auto;
}

.home-products__grid {
  --u: calc(100cqw / 1200);
  display: flex;
  align-items: flex-start;
  gap: calc(24 * var(--u));
  margin-top: 48px;
}

.home-product {
  flex: 480 1 0;
  min-width: 0;
  transition: flex-grow 0.8s var(--ease);
}

.home-product.is-active {
  flex-grow: 696;
}

.home-product--playnic {
  --ih: 127.5%;
  --it: -18.82%;
}

.home-product--64bit {
  --ih: 118.18%;
  --it: -11.63%;
}

.home-product__link {
  display: flex;
  flex-direction: column;
  gap: 24px;
  border-radius: 2px;
}

.home-product__link:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 6px;
}

.home-product__cover {
  position: relative;
  height: calc(280 * var(--u));
  overflow: hidden;
  background: var(--surface-2);
  transition: height 0.8s var(--ease);
}

.home-product.is-active .home-product__cover {
  height: calc(400 * var(--u));
}

.home-product__cover img {
  position: absolute;
  left: 50%;
  top: var(--it);
  width: auto;
  max-width: none;
  height: var(--ih);
  aspect-ratio: 16 / 9;
  translate: -50% 0;
  transform-origin: 50% 55%;
  transition: transform 1.1s var(--ease);
}

.home-product__link:hover .home-product__cover img,
.home-product__link:focus-visible .home-product__cover img {
  transform: scale(1.045);
}

.home-product__tags {
  position: absolute;
  left: 12px;
  bottom: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.home-product__tags li {
  padding: 6px 8px;
  border-radius: 6px;
  background: var(--surface-2);
  font-size: 14px;
  line-height: 20px;
  color: var(--grey);
  white-space: nowrap;
}

.home-product__label {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: min(480px, 100%);
}

.home-product__title {
  font-size: clamp(28px, calc(40 * var(--u)), 40px);
  line-height: 1.2;
  font-weight: 600;
  color: var(--black);
}

.home-product__text {
  color: var(--grey);
}

.home-product__explore {
  display: none;
}

.home-services {
  position: relative;
  z-index: 1;
  padding: 100px 0;
  background: var(--white);
}

.home-services__head {
  width: min(724px, 100%);
}

.home-accordion {
  margin-top: 48px;
}

.home-acc {
  position: relative;
  padding-bottom: 1px;
  background: linear-gradient(rgba(0, 0, 0, 0.1) 0 0) left bottom / 100% 1px no-repeat;
}

.home-acc:not(.is-open) {
  cursor: pointer;
}

.home-acc__inner {
  display: grid;
  grid-template-columns: minmax(64px, 1fr) minmax(0, 618px);
  width: min(var(--container), 100% - 2 * var(--gutter));
  margin-inline: auto;
  padding: 32px 0;
}

.home-acc__heading {
  grid-column: 1 / -1;
  font: inherit;
}

.home-acc__btn {
  display: grid;
  grid-template-columns: minmax(64px, 1fr) minmax(0, 618px);
  align-items: start;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
  border-radius: 4px;
}

.home-acc__btn:focus {
  outline: none;
}

.home-acc__btn:focus-visible .home-acc__title {
  outline: 2px solid var(--sky);
  outline-offset: 4px;
  border-radius: 4px;
}

.home-acc__num {
  width: 40px;
  font-size: 32px;
  line-height: 40px;
  font-weight: 700;
  color: var(--grey-300);
  white-space: nowrap;
  transition: color 0.4s, transform 0.5s var(--ease);
}

.home-acc__title {
  font-size: 24px;
  line-height: 32px;
  font-weight: 700;
  color: var(--grey);
  transition: color 0.4s, transform 0.5s var(--ease);
}

.home-acc.is-open .home-acc__title {
  color: var(--blue);
}

.home-acc:not(.is-open):hover .home-acc__title {
  transform: translateX(6px);
}

.home-acc:not(.is-open):hover .home-acc__num {
  color: var(--grey);
}

.home-acc__panel {
  grid-column: 2;
  display: grid;
  grid-template-rows: 0fr;
  visibility: hidden;
  transition: grid-template-rows 0.6s var(--ease), visibility 0s linear 0.6s;
}

.home-acc.is-open .home-acc__panel {
  grid-template-rows: 1fr;
  visibility: visible;
  transition: grid-template-rows 0.6s var(--ease), visibility 0s;
}

.home-acc__body {
  min-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.35s, transform 0.6s var(--ease);
}

.home-acc.is-open .home-acc__body {
  opacity: 1;
  transform: none;
  transition: opacity 0.5s 0.12s, transform 0.6s var(--ease) 0.08s;
}

.home-acc__text {
  padding-top: 8px;
  color: var(--grey);
}

.home-acc__link {
  margin-top: 20px;
  color: var(--blue);
  vertical-align: top;
}

.home-acc__link:hover {
  color: var(--blue-600);
}

.home-acc__link:active {
  color: var(--blue);
}

.home-partners {
  padding: 100px 0 120px;
  background: var(--blue);
  color: var(--white);
}

.home-partners__inner {
  container-type: inline-size;
}

.home-partners__intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.home-partners__text {
  max-width: 480px;
  color: rgba(255, 255, 255, 0.6);
}

.home-logos {
  --u: calc(100cqw / 1200);
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-rows: calc(100 * var(--u));
  gap: calc(12 * var(--u));
  margin-top: 56px;
}

.home-logo--disney { grid-area: 1 / 3; }
.home-logo--kwalee { grid-area: 2 / 1; }
.home-logo--poki { grid-area: 2 / 2; }
.home-logo--snowflake { grid-area: 2 / 4; }
.home-logo--blacknut { grid-area: 2 / 5; }
.home-logo--amplitude { grid-area: 2 / 6; }
.home-logo--fingersoft { grid-area: 3 / 3; }
.home-logo--nickelodeon { grid-area: 3 / 5; }

.home-logo__tile {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.2);
  transition: transform 0.55s var(--ease-spring), background-color 0.4s, box-shadow 0.5s var(--ease);
}

.home-logo__tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(160px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0) 70%);
  opacity: 0;
  transition: opacity 0.4s;
}

.home-logo__tile img {
  position: absolute;
  max-width: none;
  height: auto;
  transition: transform 0.55s var(--ease-spring);
}

.home-logo--disney img { left: calc(15 * var(--u)); top: calc(16 * var(--u)); width: calc(160 * var(--u)); }
.home-logo--kwalee img { left: calc(20 * var(--u)); top: calc(30 * var(--u)); width: calc(150 * var(--u)); }
.home-logo--poki img { left: calc(35 * var(--u)); top: calc(22 * var(--u)); width: calc(118.34 * var(--u)); }
.home-logo--snowflake img { left: calc(20 * var(--u)); top: calc(32 * var(--u)); width: calc(150 * var(--u)); }
.home-logo--blacknut img { left: calc(15 * var(--u)); top: calc(34 * var(--u)); width: calc(160 * var(--u)); }
.home-logo--amplitude img { left: calc(10 * var(--u)); top: calc(33 * var(--u)); width: calc(170 * var(--u)); }
.home-logo--fingersoft img { left: calc(50 * var(--u)); top: calc(5 * var(--u)); width: calc(90 * var(--u)); }
.home-logo--nickelodeon img { left: calc(15 * var(--u)); top: calc(37 * var(--u)); width: calc(160 * var(--u)); }

.home-logo:hover .home-logo__tile {
  transform: translateY(-6px);
  background-color: rgba(255, 255, 255, 0.26);
  box-shadow: 0 22px 40px -18px rgba(1, 10, 40, 0.65), 0 0 36px -4px rgba(50, 144, 251, 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}

.home-logo:hover .home-logo__tile::before {
  opacity: 1;
}

.home-logo:hover .home-logo__tile img {
  transform: scale(1.04);
}

a:focus-visible,
.home-acc__btn:focus-visible {
  outline-color: var(--sky);
}

@media (min-width: 1024px) {
  .home-about__overview {
    width: 51.3334%;
  }

  .home-acc__inner,
  .home-acc__btn {
    grid-template-columns: minmax(64px, 582fr) minmax(0, 618fr);
  }
}

@media (max-width: 1023px) and (min-width: 768px) {
  .home-about__overview {
    width: 100%;
  }
}

@media (max-width: 1023px) {
  .home-product__tags {
    left: 8px;
    bottom: 8px;
  }

  .home-product__tags li {
    padding: 4px 6px;
    font-size: 12px;
    line-height: 15px;
    font-weight: 500;
    letter-spacing: 0.3px;
  }
}

@media (max-width: 767px) {
  .home-h2 {
    font-size: 32px;
    line-height: 36px;
  }

  .home-hero__stream {
    width: 1265px;
    translate: -48.62% 0;
  }

  .home-hero__glass {
    --strip: calc(780px / 33);
    height: max(700px, 100%);
  }

  .home-hero__glass i {
    -webkit-backdrop-filter: blur(30px);
    backdrop-filter: blur(30px);
  }

  .home-hero__content {
    padding: 68px 24px 64px;
  }

  .home-hero__copy {
    width: 100%;
    padding: 0;
  }

  .home-hero__title {
    font-size: 48px;
    line-height: 48px;
    letter-spacing: -0.7px;
  }

  .home-hero__title .split-line,
  .js .home-hero__title .split-line > span {
    display: inline;
    padding: 0;
    margin: 0;
    transform: none;
  }

  .motion-ok .home-hero__title {
    animation: home-rise 1s var(--ease) both;
  }

  .home-hero__actions {
    width: 100%;
    padding-top: 16px;
  }

  .home-hero__cta {
    width: 100%;
    background: linear-gradient(172.7deg, rgba(255, 255, 255, 0.3) 11.1%, rgba(248, 250, 255, 0.8) 39.1%, rgba(245, 248, 255, 0.9) 60.7%, rgba(255, 255, 255, 0.2) 95.9%);
    box-shadow: inset 0 0 0 0.5px rgba(198, 240, 255, 0.5), inset -1px -2px 7px #fff, 0 4px 10px rgba(0, 128, 255, 0.23);
  }

  .home-about {
    padding: 64px 0 0;
  }

  .home-about__chart {
    position: relative;
    height: auto;
    margin-top: 20px;
    aspect-ratio: 390 / 122.958;
  }

  .home-about__curve--desktop {
    display: none;
  }

  .home-about__curve--mobile {
    display: block;
  }

  .home-about__overview {
    width: 100%;
  }

  .home-about__lead {
    font-size: 20px;
    line-height: 26px;
  }

  .home-stats {
    column-gap: 12px;
    margin-top: 32px;
    padding: 0;
  }

  .home-about .home-head {
    width: 100%;
  }

  .home-products {
    padding: 64px 0;
  }

  .home-products__grid {
    flex-direction: column;
    align-items: stretch;
    gap: 48px;
    margin-top: 32px;
  }

  .home-product,
  .home-product.is-active {
    flex: none;
  }

  .home-product--playnic {
    --ih: 121.59%;
    --it: -15.97%;
  }

  .home-product--64bit {
    --ih: 125%;
    --it: -17.19%;
  }

  .home-product__link {
    gap: 20px;
  }

  .home-product__cover,
  .home-product.is-active .home-product__cover {
    height: auto;
    aspect-ratio: 342 / 176;
  }

  .home-product__label {
    width: 100%;
  }

  .home-product__title {
    font-size: 24px;
    line-height: 32px;
  }

  .home-product__explore {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    align-self: flex-start;
    font-size: 16px;
    line-height: 20px;
    font-weight: 600;
    letter-spacing: 0.3px;
    color: var(--blue);
  }

  .home-product__explore::after {
    content: "";
    width: 20px;
    height: 20px;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 20 20%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M5.5 14.5l9-9M7 5.5h7.5V13%27/%3E%3C/svg%3E") center / 20px 20px no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 20 20%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M5.5 14.5l9-9M7 5.5h7.5V13%27/%3E%3C/svg%3E") center / 20px 20px no-repeat;
    transition: transform 0.35s var(--ease-spring);
  }

  .home-product__link:hover .home-product__explore::after {
    transform: translate(2px, -2px);
  }

  .home-services {
    padding: 64px 0;
  }

  .home-accordion {
    margin-top: 32px;
  }

  .home-acc__inner {
    display: flex;
    flex-direction: column;
    padding: 32px 0 31px;
  }

  .home-acc__btn {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .home-acc__num {
    width: auto;
    font-size: 24px;
    line-height: 28px;
  }

  .home-acc__title {
    font-size: 20px;
    line-height: 26px;
  }

  .home-acc:not(.is-open):hover .home-acc__title {
    transform: none;
  }

  .home-acc__text {
    padding-top: 16px;
  }

  .home-acc__link {
    margin-top: 16px;
  }

  .home-partners {
    padding: 64px 0;
  }

  .home-partners__text {
    max-width: none;
  }

  .home-logos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 80px;
    gap: 12px;
    margin-top: 32px;
  }

  .home-logo {
    grid-area: auto !important;
  }

  .home-logo__tile {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .home-logo__tile img {
    position: relative;
    left: auto !important;
    top: auto !important;
  }

  .home-logo--disney img { width: 120px; }
  .home-logo--kwalee img { width: 128px; }
  .home-logo--poki img { width: 104px; }
  .home-logo--snowflake img { width: 132px; }
  .home-logo--blacknut img { width: 135px; }
  .home-logo--amplitude img { width: 140px; }
  .home-logo--fingersoft img { width: 67px; }
  .home-logo--nickelodeon img { width: 130px; }

  .home-logo:hover .home-logo__tile {
    transform: translateY(-3px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .home-hero__stream,
  .home-hero__glass i::after {
    animation: none !important;
  }

  .home-hero__glass i::after {
    display: none;
  }

  .home-product__cover img {
    transform: none !important;
  }
}
