/* Patient and partner colours (v1.128.0, 1 Dec 2026). Kate: it must be obvious
   at a glance what is for patients and what is for healthcare partners, and
   consistent everywhere. Patients: turquoise buttons with navy text. Partners
   and CPD (body.par, body.cpdp): purple buttons with white text, unchanged.
   Navy #004096 on turquoise #68E9E8 is about 6.9:1 contrast. */
html body:not(.par):not(.cpdp) .btn.primary,
html body:not(.par):not(.cpdp) .cta,
html body:not(.par):not(.cpdp) .sticky-cta,
html body:not(.par):not(.cpdp) .hgc-menu .hgc-cta {
  background: #68E9E8 !important; color: #004096 !important;
}
html body:not(.par):not(.cpdp) .btn.primary:hover,
html body:not(.par):not(.cpdp) .cta:hover,
html body:not(.par):not(.cpdp) .sticky-cta:hover,
html body:not(.par):not(.cpdp) .hgc-menu .hgc-cta:hover {
  background: #45D6D5 !important; color: #003377 !important;
}

/* Background glow in each side's colour (v1.128.1, James 1 Dec: with the same
   shape on every page the two sides still looked alike). Patient
   pages add a soft turquoise glow; partner and CPD
   pages lean it purple with a purple glow. v1.128.5 (James): the left-hand
   glow is bigger and a little stronger on both sides. */
html body.flow .flow-layer::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(85vw 85vh at 0% 100%, rgba(104,233,232,.4), transparent 70%),
              radial-gradient(45vw 45vh at 100% 0%, rgba(104,233,232,.22), transparent 70%);
}
html body.flow:not(.par):not(.cpdp) .flow-layer .f1 { filter: saturate(1.1); }
html body.flow.par .flow-layer::before, html body.flow.cpdp .flow-layer::before {
  background: radial-gradient(85vw 85vh at 0% 100%, rgba(130,110,255,.36), transparent 70%),
              radial-gradient(45vw 45vh at 100% 0%, rgba(130,110,255,.2), transparent 70%);
}
/* v1.128.3 (James): partners went blue to pink with the hue shift, which is
   off brand. Instead the partner pages draw Zoe's same shape filled with the
   brand colours in reverse order to the patient side: purple into blue into
   turquoise (patients run turquoise into blue into purple). The shape's own soft edges come from its alpha. */
html body.flow.par .flow-layer .f1, html body.flow.cpdp .flow-layer .f1 { visibility: hidden; }
html body.flow.par .flow-layer::after, html body.flow.cpdp .flow-layer::after {
  content: ""; position: absolute; height: 95vh; width: 95vh; top: -4vh; right: -30vh;
  transform: rotate(10deg); opacity: .85;
  background: linear-gradient(180deg, #5249CE 0%, #887DFD 22%, #006BFB 52%, #68E9E8 80%);
  -webkit-mask: url(/images/brand/zoe-fluid-4.webp) center / contain no-repeat;
  mask: url(/images/brand/zoe-fluid-4.webp) center / contain no-repeat;
}
@media (max-width: 700px) {
  html body.flow.par .flow-layer::after, html body.flow.cpdp .flow-layer::after { height: 70vh; width: 70vh; opacity: .55; }
}
