/* Scorecard hero. One number, one next step, room to read. */

.sc-hero {
  display: grid;
  gap: 1rem;
  margin: 0 0 2.75rem;
  max-width: 40rem;
}

.sc-hero-number {
  margin: 0;
  font-size: 4.5rem;
  line-height: 0.95;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--color-heading);
}

.sc-hero-number .number-help,
.sc-hero-number .ask-number {
  font-size: 1rem;
  line-height: 1;
  font-weight: 700;
  letter-spacing: normal;
}

.sc-facts,
.scorecard-builder .number-source,
.scorecard-page .number-source,
.scorecard-page .chart-caption {
  margin: 0 0 2rem;
  max-width: 40rem;
  font-size: 1rem;
  line-height: 1.45;
  color: var(--color-heading);
}

.sc-hero .btn {
  justify-self: start;
}

@media (max-width: 800px) {
  .sc-hero-number { font-size: 3.5rem; }
  body.pgos-app:has(.sc-hero) .page-header { display: none; }
  .scorecard-builder > h2 { display: none; }
  .sc-hero { margin-bottom: 1rem; }
  .sc-hero .btn {
    display: flex;
    width: 100%;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
  }
}
