/* Editorial headings reflow naturally; product previews keep their own typography. */
[data-adaptive-heading]{
  font-size:var(--heading-fit-size)!important;
  line-height:1.16!important;
  white-space:normal!important;
  word-break:normal;
  overflow-wrap:normal;
  hyphens:manual;
  text-wrap:balance;
  min-inline-size:0;
  height:auto!important;
  max-height:none!important;
  overflow:visible!important;
}
[data-adaptive-heading] :is(span,strong,em){font-size:inherit!important;line-height:inherit!important;white-space:normal!important}
[data-adaptive-heading] > :is(span,em,strong){display:inline!important}
[data-adaptive-heading] > span + span::before{content:' '}
[data-adaptive-heading] br{display:contents}
[data-adaptive-heading] br::after{content:' '}
[data-adaptive-heading][data-heading-wrap]{overflow-wrap:anywhere;hyphens:auto}
[data-adaptive-heading] + p{margin-block-start:clamp(16px,2vw,24px)}
/* Long translated compounds must not widen grid tracks or escape prose columns. */
main :is(p,li){overflow-wrap:anywhere}
.move-close > .move-wrap > p br,
.plus-proof-grid > div > p br{display:contents}
.move-close > .move-wrap > p br::after,
.plus-proof-grid > div > p br::after{content:' '}

:is(.fh-split,.plus-migration-grid,.plus-closing-panel,.auto-faq,.mcp-heading,.rv-split,.wg-tool) > *{min-inline-size:0}
[data-heading-container]{min-inline-size:0}
.sms-page .fs-hero .sms-trial-phrase{white-space:normal;min-inline-size:0;max-inline-size:100%}
.lang-popup-example.lang-popup-editorial{left:auto;right:auto}

[data-adaptive-heading][data-heading-wide]{max-inline-size:100%!important}

.automation-heading .automation-heading-secondary{font-size:clamp(18px,2vw,24px);line-height:1.4;margin-block:12px 20px;color:inherit}
.auto-faq > .auto-heading{inline-size:100%}
:is(.auto-steps,.auto-grid,.auto-usecases,.sf-strategy-builder) > *{min-inline-size:0}
main :is(h3,h4){overflow-wrap:anywhere}

/* Home hero: two natural lines, with more breathing room at smaller sizes. */
.reference-hero #hero-title[data-heading-lines="2"]{
  line-height:calc(1.08em + 3px)!important;
  max-inline-size:100%;
  margin-block:0 clamp(24px,2.2vw,32px);
}

/* Trial benefits stay inline only while both fit; otherwise use a hanging bullet list. */
.reference-hero ul.hero-trial-notes{
  display:flex;gap:12px;list-style:none;padding:0;
  inline-size:100%;min-inline-size:0;max-inline-size:100%;
  line-height:1.5;text-align:start;
}
.reference-hero .hero-trial-notes > li{
  display:flex;align-items:baseline;gap:12px;flex:0 0 auto;
  margin:0;padding:0;white-space:nowrap;
}
.reference-hero .hero-trial-notes > li + li::before{content:'•';flex:none}
.reference-hero .hero-trial-notes[data-stacked]{display:grid;gap:4px}
.reference-hero .hero-trial-notes[data-stacked] > li{
  display:grid;grid-template-columns:.5em minmax(0,1fr);gap:8px;white-space:normal;
}
.reference-hero .hero-trial-notes[data-stacked] > li::before{content:'•'}
