/* v36-bg: shared surfaces. The header strip and the footer link strip are opaque white bars; art never sits behind text. */
.site-header { background-color: #fff; background-image: none; }
.site-summary { background: #fff; border-top: 1px solid #d5dde2; }

/* ---------- Target heart rate zones: warm cream canvas, navy ECG trace in the gutters and as a short rule above three headings ---------- */
body {
  background-color: #faf8f4;
  background-image: none;
  background-attachment: scroll;
}
/* hrz.css paints .page white; let the canvas show through (main below carries the opaque white shell) */
.page { background: transparent; }
main { background-color: #fff; }
@media (min-width: 1000px) {
  main { box-shadow: -24px 0 0 #fff, 24px 0 0 #fff, -25px 0 0 #d5dde2, 25px 0 0 #d5dde2; }
}
@media (min-width: 1160px) {
  body {
    background-image: url("/assets/bg/hrz-ecg-gutter.svg");
    background-repeat: repeat-y;
    background-position: center top;
    background-size: 1280px 560px;
  }
}
@media (min-width: 721px) {
  #why-heading::before,
  #examples-heading::before,
  #sources-heading::before {
    content: "";
    display: block;
    height: 36px;
    margin: 0 0 12px;
    background: url("/assets/bg/hrz-ecg-rule.svg") no-repeat center / 100% 36px;
  }
}

/* ---------- print: plain white everywhere, no art ---------- */
@media print {
  body, .page, main, section, header, footer,
  .site-header, .site-summary, .text-shell,
  .five-home, .story, .media-hero {
    background: #fff !important;
    background-image: none !important;
    box-shadow: none !important;
  }
  .step::before, h2::before { content: none !important; display: none !important; background: none !important; }
}

/* ---------- reduced motion: the art is static; this is a guard only ---------- */
@media (prefers-reduced-motion: reduce) {
  body, .page, main, .media-hero, .five-home, .story {
    animation: none !important;
    transition: none !important;
    background-attachment: scroll !important;
  }
}

/* ---------- forced colors: drop the images ---------- */
@media (forced-colors: active) {
  body, .page, main, .media-hero, .five-home, .story, .step::before, h2::before {
    background-image: none !important;
  }
  .step::before { content: none !important; }
}
