/* ============================================================
   Claudify Stats — 4-card metric grid
   Large number + label + description on beige background
   ============================================================ */

.claudify-stats {
  background-color: var(--bera-color-soft-neutral);
  padding: var(--sp-pt, 80px) var(--sp-pr, 96px) var(--sp-pb, 80px) var(--sp-pl, 96px);
}

.claudify-stats__container {
  max-width: 1400px;
  margin: 0 auto;
}

/* ---- 4-column card grid ---- */
.claudify-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

/* ---- Card ---- */
.claudify-stats__card {
  background: rgb(255, 255, 255);
  border-radius: 16px;
  padding: 40px 28px 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Large stat number — Cormorant Garamond Italic */
.claudify-stats__number {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: 56px;
  line-height: 1;
  letter-spacing: 0;
  color: rgb(26, 28, 24);
  margin: 0;
}

/* Reserve the final width; right-anchored digits keep the suffix steady. */
.claudify-stats__number-anim {
  position: relative;
  display: inline-block;
}

.claudify-stats__number-ghost {
  visibility: hidden;
}

.claudify-stats__number-live {
  position: absolute;
  inset: 0;
  text-align: right;
  white-space: nowrap;
}

/* Label — Cormorant Garamond Medium */
.claudify-stats__label {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 22px;
  font-weight: 600;
  font-style: normal;
  line-height: 1.4;
  letter-spacing: 0;
  color: rgb(26, 28, 24);
  margin: 20px 0 0;
}

/* Description — Jost Regular, muted — matches features card body */
.claudify-stats__desc {
  font-family: 'Jost', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  color: rgba(26, 28, 24, 0.55);
  margin: 8px 0 0;
}

/* ============================================================
   Tablet (750px – 989px) — 2 columns
   ============================================================ */
@media screen and (min-width: 750px) and (max-width: 989px) {
  .claudify-stats {
    padding: 96px 64px 0;
  }

  .claudify-stats__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
}

/* ============================================================
   Mobile (< 750px) — 2 columns, compact
   ============================================================ */
@media screen and (max-width: 749px) {
  .claudify-stats {
    padding: 64px 20px 0;
  }

  .claudify-stats__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .claudify-stats__card {
    padding: 28px 20px 24px;
  }

  .claudify-stats__number {
    font-size: 44px;
  }

  .claudify-stats__label {
    font-size: 18px;
    margin-top: 14px;
  }

  .claudify-stats__desc {
    font-size: 14px;
    margin-top: 6px;
  }
}

@media screen and (max-width: 374px) {
  .claudify-stats__grid {
    gap: 12px;
  }

  .claudify-stats__card {
    padding-inline: 12px;
  }
}
