.statistics {
  --donut-background-color: var(--color-primary);
  --donut-active-background-color: var(--color-secondary);
  --donut-size: 6.25em;
  --donut-thickness: 0.75em;
  --donut-percentage: 0;
  display: flex;
  align-items: flex-start;
  gap: clamp(20px, 4cqw, 40px);
  width: 100%;
}
.statistics__donut-chart {
  width: var(--donut-size);
  aspect-ratio: 1/1;
  border-radius: 50%;
  background: conic-gradient(var(--donut-active-background-color) 0% calc(var(--donut-percentage) * 1%), var(--donut-background-color) calc(var(--donut-percentage) * 1%) 100%);
  position: relative;
  transition: --donut-percentage 1.5s ease-out;
  flex-shrink: 0;
}
.statistics__donut-chart::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - var(--donut-thickness) * 2);
  aspect-ratio: 1/1;
  border-radius: 50%;
  background-color: var(--color-background);
}
.statistics__content {
  flex-grow: 1;
  width: 100%;
}
.statistics__number {
  font-family: var(--font-heading);
  font-weight: var(--font-weight-medium);
  font-optical-sizing: auto;
  letter-spacing: var(--letter-spacing);
  font-size: var(--font-size-90);
  line-height: 1;
  margin-top: -0.1em;
}
.statistics__number span {
  display: inline-block;
  line-height: 1;
}
.statistics__text {
  font-size: var(--font-size-18);
  margin-top: 0.5em;
}

@property --donut-percentage {
  syntax: "<number>";
  inherits: false;
  initial-value: 0;
}