/* v0.4.1 presentation correction: compact type and spacing hierarchy. */
body {
  line-height: 1.48;
}

.hero {
  padding: 1.45rem clamp(1rem, 4vw, 3rem) 1.15rem;
}

.eyebrow {
  font-size: 0.72rem;
}

.hero h1 {
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 1.08;
  max-width: 1100px;
  margin: 0.3rem 0 0.8rem;
}

.lede {
  font-size: 1.02rem;
}

.disclosure {
  font-size: 0.84rem;
  padding: 0.5rem 0.75rem;
}

.nav-grid {
  padding-top: 0.3rem;
  padding-bottom: 0.3rem;
}

.nav-grid button {
  padding: 0.45rem 0.4rem;
  font-size: 0.78rem;
  min-height: 2.25rem;
}

.page {
  padding-top: 1.6rem;
  padding-bottom: 3.5rem;
}

h2 {
  font-size: clamp(1.45rem, 2.1vw, 2rem);
  line-height: 1.15;
}

h3 {
  font-size: 1.08rem;
}

h4 {
  font-size: 0.96rem;
}

.answer,
.warning,
.boundary {
  padding: 0.85rem 1rem;
  margin: 0.85rem 0;
}

.stat,
.card,
.phase,
.step-card,
.slice,
.role-card,
.source-card {
  padding: 0.85rem;
}

.stat strong {
  font-size: 1.5rem;
}

@media (max-width: 620px) {
  .hero {
    padding-top: 1rem;
  }

  .hero h1 {
    font-size: 1.7rem;
  }

  .lede {
    font-size: 0.96rem;
  }

  h2 {
    font-size: 1.4rem;
  }

  .page {
    padding-top: 1.2rem;
  }
}

@media print {
  body {
    font-size: 10.5pt;
  }

  .hero h1 {
    font-size: 24pt;
  }

  .lede {
    font-size: 10.5pt;
  }

  h2 {
    font-size: 17pt;
  }

  h3 {
    font-size: 12pt;
  }
}
