/* ==========================================================
   PAGES — styles for page content. Placeholder for now;
   real page layouts go here as we build them.
   Content shares the logo's left edge; line lengths are
   capped on the text itself, not the page.
   ========================================================== */
.page {
  max-width: var(--container);
  padding: clamp(2rem, 6vw, 4.5rem) var(--gutter) 0;
}

.page h1 {
  max-width: 22ch;
  font-size: clamp(1.95rem, 1.34rem + 2.7vw, 3.05rem);   /* +12%: small caps read smaller */
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 1.25rem;
}

.page p {
  max-width: 62ch;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.page a { color: var(--text); }

/* 404: space between the second heading and the Home link */
.page--404 h2 { margin-bottom: 2rem; }

/* ---------- Shared pieces for content pages ---------- */
.page-intro { margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }

.page .lede {
  max-width: 52ch;
  font-size: clamp(1.05rem, 1rem + 0.35vw, 1.25rem);
  line-height: 1.55;
  color: var(--text);
  opacity: 0.88;
}

.section-title {
  font-size: clamp(1.45rem, 1.23rem + 0.9vw, 1.95rem);   /* +12%: small caps read smaller */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.page .section-lede { margin-bottom: 1.75rem; }

/* Closing call to action at the bottom of a page */
.page-cta {
  max-width: 68rem;
  margin-top: clamp(3rem, 8vw, 5.5rem);
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.page-cta h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: 0.5rem; }
.page-cta .btn { margin-top: 0.75rem; }
.page .page-cta a:not(.btn) { color: var(--text); }
