/* ========== Proof bar (mobile-first) ========== */

.proof-bar {
  width: 100vw;
  margin-inline: calc(50% - 50vw);
  background-color: var(--color-proof-bar);
}

.proof-bar__inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-block: var(--section-pad-y-mid);
}

.proof-bar__header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.proof-bar__accent {
  flex-shrink: 0;
  width: 4px;
  height: 24px;
  border-radius: 2px;
  background-color: var(--color-primary);
}

.proof-bar__title {
  margin: 0;
  flex: 1;
  min-width: 0;
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: var(--font-weight-bold);
  line-height: 25.2px;
  color: var(--color-text);
}

.proof-bar__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.proof-bar__divider {
  display: none;
}

.proof-bar__stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  min-width: 0;
}

.proof-bar__value {
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: var(--font-weight-bold);
  line-height: 36px;
  color: var(--color-text);
}

.proof-bar__label {
  margin: 0;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: var(--font-weight-regular);
  line-height: 18.2px;
  color: var(--color-text);
  opacity: 0.7;
}

@media (min-width: 1025px) {
  .proof-bar {
    position: relative;
    isolation: isolate;
    width: auto;
    margin-inline: 0;
    background-color: transparent;
  }

  .proof-bar::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    right: 0;
    bottom: 0;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    background-color: var(--color-proof-bar);
  }

  .proof-bar__inner {
    gap: 48px;
    padding-block: var(--section-pad-y-mid);
  }

  .proof-bar__header {
    position: relative;
    align-items: flex-start;
    gap: 0;
    padding-left: 20px;
  }

  .proof-bar__accent {
    position: absolute;
    left: 0;
    top: 0;
    height: 41px;
  }

  .proof-bar__title {
    flex: none;
    font-size: 32px;
    line-height: 28.8px;
  }

  .proof-bar__stats {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
  }

  .proof-bar__divider {
    display: block;
    flex-shrink: 0;
    width: 1px;
    height: 160px;
    margin-top: 0;
    border: none;
    background-color: var(--color-bg);
    opacity: 0.25;
  }

  .proof-bar__stat {
    flex: 1 1 0;
    align-items: center;
    gap: 12px;
  }

  .proof-bar__value {
    font-size: 112px;
    line-height: 1;
  }

  .proof-bar__label {
    font-size: 18px;
    line-height: 23.4px;
    opacity: 0.6;
    text-align: center;
  }
}
