/* =====================================================================
   SafeToOpen website: UX laws, applied where they fit (29 Nov 2026, his "apply the laws where applicable and
   keep my old colours"). Colours are the site's own, from the "From verdict to containment" flow on Business
   (line #c9d6f3, ring #003ea4). House rules kept: no one-sided borders (lines are drawn shapes), no grids, no
   icon tiles or numbers.
   1. Connectedness: the steps of one flow are joined by a thin line through ring dots.
   2. Closure + Fitts (phones): section menus that scroll sideways fade at the edge so the cut item shows there
      is more, and their links are 44px tall to tap.
   ===================================================================== */

/* 1a. Stacked steps, the text beside the line: home "Scan as it loads → …", demo "We start with you → …" */
.hw__steps>li,.dmx__steps>li{position:relative;padding-inline-start:34px}
.hw__steps>li::before,.dmx__steps>li::before{content:"";position:absolute;inset-inline-start:0;top:4px;width:16px;height:16px;border-radius:50%;background:#fff;box-shadow:inset 0 0 0 3px #003ea4}
.hw__steps>li:not(:last-child)::after,.dmx__steps>li:not(:last-child)::after{content:"";position:absolute;inset-inline-start:7px;top:22px;width:2px;border-radius:1px;background:#c9d6f3}
.hw__steps>li:not(:last-child)::after{bottom:-22px}      /* list gap 20px: reaches the next ring */
.dmx__steps>li:not(:last-child)::after{bottom:-20px}     /* list gap 18px */

/* the demo page's steps had purple dots: they stay purple */
.dmx__steps>li::before{box-shadow:inset 0 0 0 3px #4537b5}
.dmx__steps>li:not(:last-child)::after{background:rgba(201,195,250,.75)}

/* 1b. Stacked steps that are cards: MSP "Forward the referrals → …", small-business rollout. The line runs in a
   gutter beside the cards. */
#more-products .bpx__flow>li,#rollout .rlo__steps>li{position:relative;margin-inline-start:34px}
#more-products .bpx__flow>li::before,#rollout .rlo__steps>li::before{content:"";position:absolute;inset-inline-start:-34px;top:14px;width:16px;height:16px;border-radius:50%;background:#fff;box-shadow:inset 0 0 0 3px #003ea4}
#more-products .bpx__flow>li:not(:last-child)::after,#rollout .rlo__steps>li:not(:last-child)::after{content:"";position:absolute;inset-inline-start:-27px;top:32px;bottom:-16px;width:2px;border-radius:1px;background:#c9d6f3}

/* 1c. MSP white label, three cards side by side: rings on a line above them (the "Beyond phishing" track); on
   phones the cards stack, so the line runs down the side instead. */
@media (min-width:901px){
  #white-label .wl__steps{position:relative;padding-top:30px}
  #white-label .wl__steps::before{content:"";position:absolute;top:7px;height:2px;inset-inline-start:calc((100% - 28px) / 6);inset-inline-end:calc((100% - 28px) / 6);border-radius:1px;background:#c9d6f3}
  #white-label .wl__steps>li{position:relative}
  #white-label .wl__steps>li::before{content:"";position:absolute;top:-30px;inset-inline-start:calc(50% - 8px);width:16px;height:16px;border-radius:50%;background:#fff;box-shadow:inset 0 0 0 3px #003ea4}
}
@media (max-width:900px){
  #white-label .wl__steps>li{position:relative;margin-inline-start:34px}
  #white-label .wl__steps>li::before{content:"";position:absolute;inset-inline-start:-34px;top:24px;width:16px;height:16px;border-radius:50%;background:#fff;box-shadow:inset 0 0 0 3px #003ea4}
  #white-label .wl__steps>li:not(:last-child)::after{content:"";position:absolute;inset-inline-start:-27px;top:42px;bottom:-20px;width:2px;border-radius:1px;background:#c9d6f3}
}

/* 2. Phones: the product bar (pbar) and section menu (pmenu) scroll sideways with no scrollbar. Fade the end so the
   item cut there reads as "more", leave room so the last item is clear when scrolled, and make links 44px tall. */
@media (max-width:900px){
  .pbar__links a,.pmenu__links a{min-height:44px;display:inline-flex;align-items:center}
  .pbar__links,.pmenu__links{padding-inline-end:36px;-webkit-mask-image:linear-gradient(to right,#000 calc(100% - 36px),transparent);mask-image:linear-gradient(to right,#000 calc(100% - 36px),transparent)}
  [dir="rtl"] .pbar__links,[dir="rtl"] .pmenu__links{-webkit-mask-image:linear-gradient(to left,#000 calc(100% - 36px),transparent);mask-image:linear-gradient(to left,#000 calc(100% - 36px),transparent)}
}
@media print{.hw__steps>li::before,.hw__steps>li::after,.dmx__steps>li::after,#more-products .bpx__flow>li::after,#rollout .rlo__steps>li::after,#white-label .wl__steps::before,#white-label .wl__steps>li::after{display:none}}
