/*
 * Reading aids for numbered moving-site components.
 * Ordered lists keep their semantic order; decorative numbers are replaced
 * by concise outline icons, while non-sequential card indices are hidden.
 */

:root {
  --ra-icon-check: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M20 6 9 17l-5-5%27/%3E%3C/svg%3E");
  --ra-icon-file: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M14.5 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7.5z%27/%3E%3Cpolyline points=%2714 2 14 8 20 8%27/%3E%3Cpath d=%27m9 15 2 2 4-4%27/%3E%3C/svg%3E");
  --ra-icon-box: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27m7.5 4.27 9 5.15%27/%3E%3Cpath d=%27M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z%27/%3E%3Cpath d=%27m3.3 7 8.7 5 8.7-5%27/%3E%3Cpath d=%27M12 22V12%27/%3E%3C/svg%3E");
  --ra-icon-users: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2%27/%3E%3Ccircle cx=%279%27 cy=%277%27 r=%274%27/%3E%3Cpath d=%27M22 21v-2a4 4 0 0 0-3-3.87%27/%3E%3Cpath d=%27M16 3.13a4 4 0 0 1 0 7.75%27/%3E%3C/svg%3E");
  --ra-icon-calendar: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M8 2v4%27/%3E%3Cpath d=%27M16 2v4%27/%3E%3Crect width=%2718%27 height=%2718%27 x=%273%27 y=%274%27 rx=%272%27/%3E%3Cpath d=%27M3 10h18%27/%3E%3Cpath d=%27m9 16 2 2 4-4%27/%3E%3C/svg%3E");
  --ra-icon-message: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M21 15a4 4 0 0 1-4 4H8l-5 3V7a4 4 0 0 1 4-4h10a4 4 0 0 1 4 4z%27/%3E%3Cpath d=%27M8 9h8%27/%3E%3Cpath d=%27M8 13h5%27/%3E%3C/svg%3E");
  --ra-icon-clipboard: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Crect width=%2718%27 height=%2718%27 x=%273%27 y=%274%27 rx=%272%27/%3E%3Cpath d=%27M9 2h6v4H9z%27/%3E%3Cpath d=%27m9 14 2 2 4-4%27/%3E%3C/svg%3E");
  --ra-icon-truck: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M10 17h4V5H2v12h3%27/%3E%3Cpath d=%27M14 9h4l4 4v4h-3%27/%3E%3Ccircle cx=%277.5%27 cy=%2717.5%27 r=%272.5%27/%3E%3Ccircle cx=%2716.5%27 cy=%2717.5%27 r=%272.5%27/%3E%3C/svg%3E");
  --ra-icon-shield: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M20 13c0 5-3.5 7.5-8 9-4.5-1.5-8-4-8-9V5l8-3 8 3z%27/%3E%3Cpath d=%27m9 12 2 2 4-4%27/%3E%3C/svg%3E");
  --ra-icon-pin: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M20 10c0 5-8 12-8 12S4 15 4 10a8 8 0 1 1 16 0Z%27/%3E%3Ccircle cx=%2712%27 cy=%2710%27 r=%273%27/%3E%3C/svg%3E");
  --ra-icon-clock: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Ccircle cx=%2712%27 cy=%2712%27 r=%2710%27/%3E%3Cpolyline points=%2712 6 12 12 16 14%27/%3E%3C/svg%3E");
}

.value-sequence b,
.steps li::before,
.detail-card-index,
.checklist-list li > span,
.service-copy .service-includes-grid li::before {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: var(--primary);
  font-size: 0 !important;
  line-height: 1;
  opacity: 1;
}

.value-sequence b::before,
.steps li::before,
.detail-card-index::before,
.checklist-list li > span::before,
.service-copy .service-includes-grid li::before {
  content: "";
  width: 22px;
  height: 22px;
  background: currentColor;
  -webkit-mask: var(--ra-icon, var(--ra-icon-check)) center / contain no-repeat;
  mask: var(--ra-icon, var(--ra-icon-check)) center / contain no-repeat;
}

.value-sequence li:nth-child(1) { --ra-icon: var(--ra-icon-file); }
.value-sequence li:nth-child(2) { --ra-icon: var(--ra-icon-box); }
.value-sequence li:nth-child(3) { --ra-icon: var(--ra-icon-users); }
.value-sequence li:nth-child(4) { --ra-icon: var(--ra-icon-calendar); }
.value-sequence b { color: #fff; }

.steps li {
  padding-left: 78px;
}
.steps li::before {
  --ra-icon: var(--ra-icon-message);
  position: absolute;
  left: 20px;
  top: 31px;
  box-sizing: border-box;
}
.steps li:nth-child(2)::before { --ra-icon: var(--ra-icon-clipboard); }
.steps li:nth-child(3)::before { --ra-icon: var(--ra-icon-truck); }

.detail-card:nth-child(1) { --ra-icon: var(--ra-icon-box); }
.detail-card:nth-child(2) { --ra-icon: var(--ra-icon-shield); }
.detail-card:nth-child(3) { --ra-icon: var(--ra-icon-pin); }
.detail-card:nth-child(4) { --ra-icon: var(--ra-icon-clock); }
.detail-card-index {
  color: #fff;
}

.checklist-list li > span {
  --ra-icon: var(--ra-icon-check);
  color: var(--secondary);
  border-color: rgba(255,255,255,.2);
  background: rgba(255,255,255,.06);
}

.service-copy .service-includes-grid li::before {
  --ra-icon: var(--ra-icon-check);
  margin-bottom: 14px;
  box-sizing: border-box;
}

/* These indices do not communicate a sequence, so remove them. */
.service-card > div:last-child > span,
.related-service > span {
  display: none;
}

@media (max-width: 700px) {
  .value-sequence li {
    grid-template-columns: 48px 1fr;
  }
  .steps li {
    padding-left: 72px;
  }
  .steps li::before {
    left: 16px;
  }
  .checklist-list li {
    grid-template-columns: 42px 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .value-sequence b,
  .steps li::before,
  .detail-card-index,
  .checklist-list li > span {
    transition: none;
  }
}
