/* Managed Cloudflare page. Shared tokens and components (plan sheet, comparison, coupon, effort columns)
   live in landing.css. */

.lp section[id] { scroll-margin-top: 80px; }

/* Hero: the traffic to the site. Visitors on the right, Cloudflare in the middle, the server on the left;
   the dots that travel between them only appear with the motion. */

.lp .w-flow-wrap { margin-top: 12px; }
.lp .w-flow { margin: 0; padding: 22px 24px calc(22px + var(--zz)); }

.lp .w-flow figcaption {
  padding-bottom: 12px;
  border-bottom: 2px dashed var(--rule);
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.9rem;
  line-height: 1;
}

.lp .w-flow-track {
  position: relative;
  display: flex;
  justify-content: space-between;
  margin-top: 24px;
}

.lp .w-flow-line {
  position: absolute;
  top: 27px;
  right: 46px;
  left: 46px;
  border-top: 2px dashed var(--rule);
}

.lp .w-flow-node {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 92px;
  font-size: 0.8rem;
  font-weight: 600;
  text-align: center;
}

.lp .w-flow-node i {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  box-shadow: inset 0 0 0 2px var(--line);
  font-size: 1.25rem;
  color: var(--ink);
}

.lp .w-flow-node.is-shield i {
  background: var(--plum);
  box-shadow: 0 0 0 6px rgba(180, 46, 109, 0.16);
  color: var(--rose);
}

.lp .w-flow-dot {
  position: absolute;
  top: 22px;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  opacity: 0;
}

.lp .is-good.w-flow-dot,
.lp .w-flow-legend .is-good::before { background: var(--good); }

.lp .is-bad.w-flow-dot,
.lp .w-flow-legend .is-bad::before { background: var(--bad); }

.lp .is-cache.w-flow-dot,
.lp .w-flow-legend .is-cache::before { background: var(--magenta); }

.lp .w-flow-legend {
  margin-top: 20px;
  padding-top: 12px;
  border-top: 1px dashed var(--rule);
}

.lp .w-flow-legend li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 4px 0;
  font-size: 0.85rem;
  color: var(--mute);
}

.lp .w-flow-legend li::before {
  content: '';
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.lp .w-flow-legend b { color: var(--ink); }

@media (max-width: 560px) {
  .lp .w-flow { padding: 20px 18px calc(20px + var(--zz)); }
}
