/* ══════════════════════════════════════════════════════════════════════
   commitpk.com — about, privacy, terms, contact.
   Linked after commit-tokens.css and commit-base.css. These pages are a
   column of reading matter, so this file is mostly the page head, the
   prose rhythm, and the two card shapes contact uses.
   ══════════════════════════════════════════════════════════════════════ */

.page { padding: 80px 32px 120px; }
.page__inner { max-width: 820px; margin: 0 auto; }

.page__head {
  display: flex; flex-direction: column; gap: 16px;
  padding-bottom: 40px;
}
.page__title {
  font-size: clamp(40px, 5.5vw, 76px);
  line-height: 0.95;
  font-weight: var(--fw-extrabold);
  letter-spacing: -0.05em;
  color: var(--commit-ink);
}
.page__lede {
  max-width: 600px;
  font-size: 20px; line-height: 1.5;
  color: var(--text-body);
  text-wrap: pretty;
}
.page__meta { font-size: 13px; color: var(--text-muted); }

/* ── Reading matter ─────────────────────────────────────────────────── */
.prose { font-size: 17px; line-height: 1.7; color: var(--text-body); }
.prose > * + * { margin-top: 20px; }
.prose h2 {
  margin-top: 56px;
  font-size: 28px; line-height: 1.15;
  font-weight: var(--fw-extrabold);
  letter-spacing: var(--tracking-tight);
  color: var(--commit-ink);
}
.prose h3 {
  margin-top: 32px;
  font-size: 17px;
  font-weight: var(--fw-semibold);
  letter-spacing: -0.01em;
  color: var(--commit-ink);
}
.prose h2 + *, .prose h3 + * { margin-top: 12px; }
.prose strong { font-weight: var(--fw-semibold); color: var(--commit-ink); }
.prose ul { margin: 0; padding-left: 22px; }
.prose li { margin-top: 8px; }
.prose li::marker { color: var(--commit-purple); }
.prose a { text-decoration: underline; text-underline-offset: 2px; }

/* A rule between the long policy sections, so they scan as blocks. */
.prose--sectioned h2 {
  padding-top: 32px;
  border-top: 1px solid rgba(41, 31, 30, 0.12);
}
.prose--sectioned > h2:first-child { padding-top: 0; border-top: 0; margin-top: 0; }

/* ── Cards (contact) ────────────────────────────────────────────────── */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 16px;
}
.card {
  display: flex; flex-direction: column; gap: 10px;
  padding: 24px;
  border-radius: var(--radius-3xl);
  background: var(--surface-card);
  border: 1px solid var(--border-soft);
  box-shadow: 0 1px 2px rgba(41, 31, 30, 0.05), 0 24px 48px -36px rgba(41, 31, 30, 0.35);
}
.card__icon {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: var(--radius-lg);
  background: var(--commit-cream);
  color: var(--commit-purple);
}
.card__title { font-size: 17px; font-weight: var(--fw-bold); letter-spacing: var(--tracking-tight); color: var(--commit-ink); }
.card__value { font-size: 16px; color: var(--text-strong); }
.card__note { font-size: 14px; line-height: 1.5; color: var(--text-muted); }

/* ── Callout ────────────────────────────────────────────────────────── */
.callout {
  display: flex; flex-direction: column; gap: 10px;
  margin-top: 24px;
  padding: 24px 24px 24px 28px;
  border-radius: var(--radius-3xl);
  background: var(--surface-card);
  border: 1px solid var(--border-soft);
  border-left: 4px solid var(--commit-purple);
}
.callout__title { font-size: 17px; font-weight: var(--fw-bold); letter-spacing: var(--tracking-tight); color: var(--commit-ink); }
.callout p { font-size: 15px; line-height: 1.6; color: var(--text-body); }

/* ── A last nudge to the pilot, at the end of every page ────────────── */
.pagecta {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  margin-top: 72px; padding-top: 40px;
  border-top: 1px solid rgba(41, 31, 30, 0.12);
}
.pagecta__text { font-size: 18px; font-weight: var(--fw-semibold); letter-spacing: var(--tracking-tight); color: var(--commit-ink); }

/* ── Compact footer — the long CTA footer belongs to the home page ──── */
.foot--slim .foot__inner {
  padding: 40px 32px;
  gap: 0;
}
.foot--slim .foot__bottom { padding-top: 0; border-top: 0; }

@media (max-width: 620px) {
  .page { padding: 40px 20px 72px; }
  .prose { font-size: 16px; }
  .prose h2 { margin-top: 44px; font-size: 24px; }
  .prose a { display: inline-block; padding: 6px 0; margin: -6px 0; }
  .card { padding: 20px; }
  .card__value { display: inline-block; padding: 11px 0; margin: -11px 0; }
  .pagecta { margin-top: 48px; padding-top: 32px; }
  .foot--slim .foot__inner { padding: 28px 20px; }
}
