/* ==========================================================
   PUBLIC COMPANY PLATFORM -- base body reset. Nothing else belongs
   here -- page-shell/typography primitives are 03_shell.css.
========================================================== */

body.cp-body {
    margin: 0;
    background: var(--cp-bg);
    color: var(--cp-text);
    font-family: var(--cp-font-sans);
    line-height: 1.6;
    /* .cp-home-section--full-width (07_homepage.css) uses the 100vw
       negative-margin full-bleed trick, which overflows past the
       vertical scrollbar's own width in most browsers -- this is what
       keeps that from adding a site-wide horizontal scrollbar. */
    overflow-x: hidden;
}

/* Set by company_public/site.js while the post-comments modal
   (08_content.css's .cp-post-modal-*) is open -- locks page scroll
   behind the modal, same convention Personal Stream's own feed.js uses
   (.pw-body--modal-open) for its post-detail modal. */
body.cp-body--modal-open {
    overflow: hidden;
}
