/* ============================================================================
   pledge
   Additive to style.css — no token is redefined here, every colour and
   spacing value below is one of p3's existing custom properties. This file
   only adds the handful of components the homepage didn't need: running
   prose, a numbered commitments list, opt-in/opt-out cards, a checked
   guarantee list and the closing two-path cards.
   ========================================================================= */

/* ── running prose ─────────────────────────────────────────────────────
   Used for paragraphs of pledge text rather than product copy. Slightly
   narrower measure than .lede so long paragraphs stay easy to track. */
.prose { display: grid; gap: 1.1rem; max-width: 68ch; margin-bottom: 2rem; }
.prose p { font-size: 1.0625rem; color: var(--text-2); }
.prose strong { color: var(--text); font-weight: 600; }
.prose a { color: var(--signal); text-decoration: underline; text-underline-offset: 3px; }
.prose:last-child { margin-bottom: 0; }

.statement { margin-bottom: 2rem; }

/* ── the ten commitments ───────────────────────────────────────────────
   Same grammar as .rack / .step: a mono number doing the work a bullet
   would, set beside the promise it numbers. */
.creed { list-style: none; padding: 0; border-top: 1px solid var(--line); }
.creed-row {
  display: grid; grid-template-columns: 1fr; gap: 0.6rem;
  padding: 1.6rem 0; border-bottom: 1px solid var(--line);
}
@media (min-width: 800px) {
  .creed-row { grid-template-columns: 4.5rem minmax(0, 1fr); gap: 0 1.75rem; padding: 2rem 0; }
  .creed-n { padding-top: 0.15rem; }
}
.creed-n {
  font-family: var(--mono); font-size: 1.375rem; font-weight: 700;
  letter-spacing: 0; line-height: 1; color: var(--signal);
  font-variant-numeric: tabular-nums;
}
.creed-body h3 { font-size: 1.125rem; letter-spacing: -0.02em; margin-bottom: 0.55rem; }
.creed-body p { max-width: 64ch; font-size: 1rem; color: var(--text-2); }
/* Only bites where an item runs to two paragraphs, which no pledge item does. */
.creed-body p + p { margin-top: 0.7rem; }
.creed-body a { color: var(--signal); text-decoration: underline; text-underline-offset: 3px; }

/* ── opt in / opt out ───────────────────────────────────────────────── */
.choice-grid {
  display: grid; gap: 1rem; grid-template-columns: 1fr;
  margin: 0.5rem 0 2.25rem;
}
@media (min-width: 640px) { .choice-grid { grid-template-columns: 1fr 1fr; } }
.choice { padding: 1.4rem 1.3rem; }
.choice-tag { margin-bottom: 0.7rem; }
.choice h3 { font-size: 1.0625rem; margin-bottom: 0.5rem; }
.choice p { font-size: 0.9375rem; color: var(--text-2); margin: 0; }
.choice.is-default { border-color: var(--signal); background: var(--signal-soft); }
.choice.is-default h3 { color: var(--signal); }
.choice.is-default .choice-tag { color: var(--signal); }

/* ── guarantees ─────────────────────────────────────────────────────── */
.guarantees { list-style: none; padding: 0; display: grid; gap: 1rem; max-width: 68ch; margin-bottom: 2rem; }
.guarantee { display: flex; gap: 0.75rem; align-items: flex-start; }
.guarantee svg {
  width: 18px; height: 18px; flex: none; margin-top: 0.2rem;
  color: var(--signal);
}
.guarantee p { margin: 0; font-size: 0.9375rem; color: var(--text-2); }
.guarantee strong { color: var(--text); font-weight: 600; }
.guarantee a { color: var(--signal); text-decoration: underline; text-underline-offset: 3px; }

.brands-cta { font-size: 0.9375rem; color: var(--text-2); }
.brands-cta a { color: var(--signal); text-decoration: underline; text-underline-offset: 3px; }

/* ── supported-by panel ────────────────────────────────────────────── */
.endorse { padding: 1.5rem 1.5rem; max-width: 70ch; }
.endorse p { font-size: 0.9375rem; line-height: 1.65; color: var(--text-2); margin: 0; }

/* ── take part: two closing paths ──────────────────────────────────── */
.paths { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 700px) { .paths { grid-template-columns: repeat(2, 1fr); } }
.path { padding: 1.7rem 1.5rem; display: flex; flex-direction: column; gap: 0.7rem; }
.path h3 { font-size: 1.1875rem; }
.path p { font-size: 0.9375rem; color: var(--text-2); margin: 0; flex: 1; }
.path .btn { align-self: flex-start; }

/* ── footer fine print, unique to this page ────────────────────────── */
.foot-in-pledge { border-bottom: 1px solid var(--line); padding-bottom: 1.5rem; margin-bottom: 1.5rem; }
/* .foot-fine moved to style.css so every page's footer can use it */

@media (max-width: 560px) {
  .choice-grid, .paths { gap: 0.85rem; }
}
