.figures {
  position: relative;
  margin-inline: calc(var(--space-page-x) * -1);
  background: #111111;
  color: #ffffff;
}

.figures__scene {
  position: relative;
  height: clamp(640px, 72vw, 1000px);
  overflow: hidden;
}

.figures__wall {
  position: absolute;
  left: -0.3%;
  top: -12%;
  width: 134%;
  max-width: none;
  height: 128%;
  object-fit: cover;
  object-position: 62% 18%;
}

.figures__screen {
  position: absolute;
  top: 20%;
  left: 62.2%;
  width: 18.2%;
  height: 48%;
  border: 2px solid rgb(109 110 105 / 30%);
  object-fit: cover;
}

.figures__copy {
  position: absolute;
  z-index: 2;
  top: 140px;
  left: var(--space-page-x);
  width: min(609px, calc(100% - var(--space-page-x) * 2));
}

.figures__title {
  color: var(--color-muted-70);
  font-size: 48px;
  line-height: 56px;
  letter-spacing: 0;
}

.figures__title span {
  color: #ffffff;
}

.figures__lead {
  margin-top: 32px;
  color: #ffffff;
  font-weight: 500;
  font-size: 18px;
  line-height: 28px;
}

.figures__panel {
  position: relative;
  z-index: 1;
  margin-top: -180px;
  padding: 150px var(--space-page-x) 72px;
  background: linear-gradient(180deg, rgb(17 17 17 / 0%) 0%, #111111 48%);
}

.figures__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: center;
}

.figures__value {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  color: #ffffff;
}

.figures__value span {
  font-family: var(--font-display);
  font-size: 60px;
  font-weight: 400;
  line-height: 54px;
  letter-spacing: -0.035em;
}

.figures__value small {
  padding-top: 2px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  line-height: 20px;
  letter-spacing: 0;
}

.figures__stats li > p:last-child {
  margin-top: 15px;
  color: var(--color-muted-70);
  font-weight: 500;
  font-size: 18px;
  line-height: 28px;
}

@media (max-width: 1100px) {
  .figures__value span {
    font-size: 44px;
    line-height: 42px;
  }

  .figures__stats li > p:last-child {
    font-size: 16px;
    line-height: 22px;
  }
}

@media (max-width: 900px) {
  .figures__scene {
    height: 320px;
  }

  .figures__wall {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-position: 78% 40%;
  }

  .figures__screen {
    top: 14%;
    left: 54%;
    width: 30%;
    height: 62%;
  }

  .figures__copy {
    position: relative;
    top: auto;
    left: auto;
    width: auto;
    padding: 24px 24px 0;
  }

  .figures__title {
    font-size: 32px;
    line-height: 38px;
  }

  .figures__lead {
    margin-top: 16px;
    font-size: 16px;
    line-height: 24px;
  }

  .figures__panel {
    margin-top: 0;
    padding: 28px 16px 48px;
    background: #111111;
  }

  .figures__stats {
    grid-template-columns: 1fr 1fr;
    gap: 28px 12px;
  }

  .figures__value span {
    font-size: 36px;
    line-height: 34px;
  }

  .figures__stats li > p:last-child {
    font-size: 14px;
    line-height: 20px;
  }
}
