/* Site-wide typography and text-only section layout (Nov 16, 2026).
   text-wrap: balance/pretty everywhere. Center intros only on sections
   marked .text-stack or .intro-center. Do not use these classes on
   two-column wraps, heroes, blog article bodies, or card/table sections
   except to center the intro above a full-width body. */

h1, h2, h3 {
  text-wrap: balance;
}

p, li, .lead, .sub, .pocnote,
.pfaq summary, .pfaq p,
.prose p, .prose li {
  text-wrap: pretty;
}

/* Keep the orange second line of product heroes, but balance it on
   small screens so a single word (e.g. "Phone") is not left alone. */
.phero h1 em,
.hero h1 em {
  text-wrap: balance;
}

/* Centered intro above a full-width body (cards, table, FAQ, steps). */
section.intro-center > .wrap > .sec-h {
  text-align: center;
  max-width: 860px;
  margin-inline: auto;
  width: 100%;
}

section.intro-center > .wrap > .sec-h .lead {
  text-align: left;
  margin-inline: auto;
}

section.intro-center > .wrap > p {
  margin-inline: auto;
  text-align: left;
}

/* Text-only stack: centered intro + left-aligned measure.
   Lists stay left-aligned inside the column. */
section.text-stack > .wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}

section.text-stack > .wrap > .sec-h {
  text-align: center;
  max-width: 860px;
  margin-inline: auto;
  width: 100%;
}

section.text-stack > .wrap > .sec-h .lead {
  text-align: left;
  margin-inline: auto;
}

section.text-stack > .wrap > p,
section.text-stack > .wrap > ul,
section.text-stack > .wrap > ol,
section.text-stack > .wrap > .kfacts {
  margin-inline: auto;
  text-align: left;
  width: 100%;
}

/* FAQ accordion uses the full wrap when the section is a text stack. */
section.text-stack > .wrap > .pfaq {
  margin-inline: auto;
  width: 100%;
  max-width: none;
}

/* Never center long-form blog bodies, even if a class is added by mistake. */
article .prose,
.pbody .prose,
article .pbody {
  text-align: left;
}

article .prose,
.pbody .prose {
  margin-inline: 0;
}
