/* Hero stats ledger - scoped so site-wide resets stay untouched */

.ledger {
  --ink: #12131a;
  --ink-soft: #1b1d28;
  --line: rgba(245, 244, 240, 0.14);
  --line-strong: rgba(245, 244, 240, 0.28);
  --paper: #f5f4f0;
  --paper-dim: #b9bac2;
  --purple: #8a5a80;
  --purple-bright: #c98fbc;
  --radius: 3px;

  box-sizing: border-box;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  display: flex;
  flex-wrap: wrap;
  color: var(--paper);
  -webkit-font-smoothing: antialiased;
}

.ledger *,
.ledger *::before,
.ledger *::after {
  box-sizing: border-box;
}

.ledger .cell {
  flex: 1 1 0;
  min-width: 0;
  min-height: 9.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1.5rem;
  border-right: 1px solid var(--line);
}

.ledger .cell:first-child {
  margin-left: 25px;
}

.ledger .cell:last-child {
  margin-right: 25px;
  border-right: none;
}

.ledger .num {
  display: block;
  font-size: clamp(2rem, 3vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--paper);
  font-variant-numeric: tabular-nums;
}

.ledger .label {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--paper-dim);
}

@media (min-width: 1024px) {
  .ledger .cell {
    min-height: 10.5rem;
    padding: 2.25rem 2rem;
  }
}

@media (max-width: 639px) {
  .ledger .cell {
    flex-basis: 100%;
    border-right: none;
    border-bottom: 1px solid var(--line);
    margin-left: 0;
    margin-right: 0;
  }

  .ledger .cell:first-child {
    margin-left: 0;
  }

  .ledger .cell:last-child {
    margin-right: 0;
    border-bottom: none;
  }
}
