.stat {
  display: flex;
  flex-direction: column;
  gap: var(--s-2-5);
  min-width: 0;
  color: var(--md-sys-color-on-surface);
}

.stat__label {
  font-family: var(--xm-typescale-mono-font);
  font-size: var(--md-sys-typescale-label-small-size);
  font-weight: 500;
  line-height: var(--md-sys-typescale-label-small-line-height);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--md-sys-color-on-surface-variant);
  white-space: nowrap;
}

.stat__figure {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: var(--s-2-5);
  min-width: 0;
}

.stat__value {
  font-family: var(--md-sys-typescale-headline-medium-font);
  font-size: var(--md-sys-typescale-headline-medium-size);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: var(--md-sys-color-on-surface);
}

.stat__delta {
  font-family: var(--md-sys-typescale-label-large-font);
  font-size: var(--md-sys-typescale-label-large-size);
  font-weight: 500;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--md-sys-color-primary);
  white-space: nowrap;
}

.stat__note {
  font-family: var(--md-sys-typescale-label-medium-font);
  font-size: var(--md-sys-typescale-label-medium-size);
  line-height: 1;
  color: var(--md-sys-color-on-surface-variant);
  white-space: nowrap;
}

.stat--sm {
  gap: var(--s-1-5);
}
.stat--sm .stat__value {
  font-size: var(--md-sys-typescale-title-large-size);
  letter-spacing: -0.01em;
}

.stat--hero .stat__value {
  font-size: var(--md-sys-typescale-display-small-size);
}
.stat--hero .stat__label {
  letter-spacing: 0.18em;
}
