/* EVOLVED PILOT — print suppression.

   The books, courses, trainers and articles are the product. This stops the
   obvious route to a free copy: Cmd-P, save as PDF, done.

   Be clear-eyed about what this is. CSS is a DETERRENT, not protection — the
   content is still in the page, and anyone who disables styles, uses reader
   mode, or opens dev tools can get it. It stops the casual copy, which is the
   overwhelming majority of it. Real protection would mean server-rendered,
   watermarked, per-member delivery, and that is a different build.

   Deliberately NOT loaded on /habits/ — that checklist is meant to be printed
   and handed out. It is the lead magnet; making it printable is the point.
*/
@media print {
  html, body {
    background: #fff !important;
    height: auto !important;
  }
  /* hide the content itself rather than the whole page, so the notice below
     still has somewhere to render */
  body > *,
  body::after { visibility: hidden !important; }
  body::before {
    visibility: visible !important;
    content: "EVOLVED PILOT\A\A This material is licensed for reading on screen and is not available in print.\A Every book, course and trainer stays live in your account for as long as you hold it.\A\A evolvedpilot.com";
    white-space: pre-wrap;
    position: fixed;
    inset: 0;
    display: block;
    padding: 28mm 24mm;
    font: 400 11pt/1.85 "IBM Plex Mono", ui-monospace, monospace;
    color: #111;
    background: #fff;
    z-index: 2147483647;
  }
  /* nothing should force a second sheet out of the printer */
  * { page-break-inside: avoid !important; page-break-after: avoid !important; }
}
