body {
  font-family: var(--font-ui);
  margin: 0;
  color: var(--color-dark-gray);
  line-height: 1.75;
}

html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
}

/* Layout for sticky footer */
.layout-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.main-content {
  flex: 1;
  padding-top: 3.5rem; /* Adjust based on actual header height */
}

.page-content {
  max-width: 60rem;
  margin: 0 auto;
  padding: 3rem 1rem 3rem;
  font-size: 1.1rem;
  line-height: var(--line-height-relaxed);
  color: var(--color-black);
}

/* On mobile the fixed header collapses to a single short row, so the
   3.5rem reservation above over-shoots and opens a gap between the black
   header and the first page element. Reserve only what the shorter header
   actually needs. */
@media (max-width: 54rem) {
  .main-content {
    padding-top: 2.25rem;
  }
}
