/* Keep the continuing glass mark visible between solid content panels. */
#choose:has(.story-intro),
#platform:has(.story-build-heading),
#contact:has(.rai-intro) {
  background: linear-gradient(100deg, rgba(248,248,241,.88), rgba(248,248,241,.64));
}
#intelligence {
  background: linear-gradient(100deg, rgba(248,250,244,.67), rgba(248,250,244,.88));
}
/* Chapter surfaces share the same translucent scrim as the continuing mark.
   Match the current wrappers so later chapter styles cannot cover the glass. */
#main #protocol.sovereign-section.commerce-chapter,
#main #aisco.aisco,
#main #ownership.ownership,
#main #contact.contact.closing-conversation {
  background: linear-gradient(100deg, rgba(248,248,241,.88), rgba(248,248,241,.64));
}
/* A deeper brand teal preserves contrast where the glass passes behind type. */
:is(#choose,#platform,#intelligence,#protocol,#ownership,#contact) h2 em {
  color: #007f73;
}
#protocol :is(.protocol-v2-intro,.protocol-v2-product) > p,
#intelligence .split-heading > p {
  color: #3d554d;
}
@media (max-width: 700px) {
  #choose:has(.story-intro),
  #platform:has(.story-build-heading),
  #contact:has(.rai-intro),
  #intelligence,
  #main #protocol.sovereign-section.commerce-chapter,
  #main #aisco.aisco,
  #main #ownership.ownership,
  #main #contact.contact.closing-conversation {
    background: linear-gradient(100deg, rgba(248,248,241,.88), rgba(248,248,241,.62));
  }
}
