
/* V12 layout safety patch: preserve the design while preventing half-width sections,
   compressed headings and overlapping feature cards. */
html, body {
  width: 100%;
  min-width: 320px;
  max-width: 100%;
  box-sizing: border-box;
}
body { overflow-x: clip; }
main { display: block; width: 100%; max-width: 100%; min-width: 0; }
main > section { box-sizing: border-box; min-width: 0; }
.hero.reference-hero { width: 100%; max-width: none; }
.feature-band.reference-features {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  clear: both;
}
.reference-features .feature-intro {
  display: block;
  width: 100%;
  max-width: 1000px;
  min-width: 0;
  margin: 0 auto 18px;
  text-align: center;
}
.reference-features .feature-intro h2 {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin-inline: auto;
  white-space: normal;
  overflow-wrap: normal;
  word-break: normal;
}
.reference-features .feature-grid {
  display: grid !important;
  width: 100%;
  max-width: 1000px;
  min-width: 0;
  margin: 0 auto !important;
  box-sizing: border-box;
}
.reference-features .feature-card {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}
.reference-features .feature-card > div { min-width: 0; }
.reference-features .feature-card b,
.reference-features .feature-card p {
  max-width: 100%;
  overflow-wrap: anywhere;
}
.reference-pricing {
  display: block;
  width: 100%;
  max-width: 1050px !important;
  min-width: 0;
  margin-inline: auto !important;
  box-sizing: border-box;
}
.reference-pricing .section-head,
.reference-pricing .products {
  width: 100%;
  min-width: 0;
}
.products { min-width: 0; }
.product { min-width: 0; }
.product-content { min-width: 0; }
@media (max-width: 1050px) {
  .reference-features { padding-left: 24px !important; padding-right: 24px !important; }
  .reference-features .feature-grid { grid-template-columns: repeat(2, minmax(0,1fr)) !important; }
  .reference-pricing { padding-left: 24px !important; padding-right: 24px !important; }
}
@media (max-width: 620px) {
  .reference-features .feature-grid { grid-template-columns: minmax(0,1fr) !important; }
  .reference-pricing .products { grid-template-columns: minmax(0,1fr) !important; }
}
