/* Analytics & Tracking illustration: measurement overview (.an). Built on the shared .vz system. */
.an__kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
  margin-bottom: 0.8rem;
}
.an__kpis > div {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  border: 1px solid #e9eef3;
  border-radius: 0.85rem;
  background-color: #f7f9fb;
  padding: 0.55rem 0.7rem;
}
.an__kpis strong {
  font-family: var(--headerFont);
  font-size: clamp(1.05rem, 3vw, 1.3rem);
  line-height: 1.1em;
  font-weight: 700;
  color: var(--headerColor);
}
.an__chart {
  position: relative;
  border: 1px solid var(--vz-line);
  border-radius: 0.9rem;
  padding: 0.75rem 0.75rem 0.6rem;
}
.an__chart svg {
  display: block;
  height: 4.6rem;
  width: 100%;
}
.an__s1 {
  stop-color: #43b7ff;
  stop-opacity: 0.38;
}
.an__s2 {
  stop-color: #43b7ff;
  stop-opacity: 0;
}
.an__line {
  fill: none;
  stroke: var(--primary);
  stroke-width: 2.2;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.an__prev {
  fill: none;
  stroke: #9aa8b8;
  stroke-width: 1.6;
  stroke-dasharray: 4 4;
  vector-effect: non-scaling-stroke;
}
.an__key {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.45rem;
  font-size: 0.625rem;
  line-height: 1.2em;
  color: #5b6b7d;
}
.an__key i {
  display: block;
  border-radius: 1rem;
  background-color: var(--primary);
  height: 0.2rem;
  width: 0.9rem;
}
.an__key .an__key--prev {
  margin-left: 0.5rem;
  background: none;
  border-top: 2px dashed #9aa8b8;
  border-radius: 0;
  height: 0;
}
.an__split {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 0.8rem;
  margin-top: 0.8rem;
}
.an__channels ul {
  display: grid;
  gap: 0.4rem;
  margin: 0.5rem 0 0;
  padding: 0;
  list-style: none;
}
.an__channels li {
  display: grid;
  grid-template-columns: 5.1rem minmax(0, 1fr);
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  font-size: 0.6875rem;
  line-height: 1.2em;
  font-weight: 600;
  color: #34465a;
}
.an__channels i {
  display: block;
  border-radius: 1rem;
  background: linear-gradient(90deg, var(--secondary), rgba(67, 183, 255, 0.5));
  height: 0.5rem;
}
.an__c42 {
  width: 84%;
}
.an__c27 {
  width: 54%;
}
.an__c18 {
  width: 36%;
}
.an__c13 {
  width: 26%;
}

/* Connected tracking events: website to tag manager to analytics. */
.an__chain ol {
  display: grid;
  gap: 0.55rem;
  margin: 0.55rem 0 0;
  padding: 0;
  list-style: none;
}
.an__chain li {
  position: relative;
  margin: 0;
  border: 1px solid var(--vz-line);
  border-radius: 0.55rem;
  background-color: #f7f9fb;
  padding: 0.3rem 0.5rem;
  text-align: center;
  font-size: 0.6875rem;
  line-height: 1.2em;
  font-weight: 700;
  color: var(--headerColor);
}
.an__chain li:not(:last-child):after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  border-left: 2px dotted var(--secondary);
  height: 0.55rem;
  transform: translateX(-50%);
}
.an__chain li:last-child {
  border-color: transparent;
  background-color: var(--primary);
  color: #fff;
}

/* Floating cards */
.an__health,
.an__funnel {
  padding: 0.85rem 0.95rem 0.95rem;
}
.an__health ul {
  display: grid;
  gap: 0.45rem;
  margin: 0.6rem 0 0;
  padding: 0;
  list-style: none;
}
.an__health li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin: 0;
}
.an__health code {
  font-family: var(--bodyFont);
  font-size: 0.75rem;
  line-height: 1.2em;
  font-weight: 700;
  color: var(--headerColor);
}
.an__health .vz__pill {
  font-style: normal;
}
.an__consent {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0.65rem 0 0;
  border-top: 1px solid var(--vz-line);
  padding-top: 0.55rem;
  font-size: 0.6875rem;
  line-height: 1.2em;
  font-weight: 600;
  color: #5b6b7d;
}
.an__consent i {
  display: block;
  border-radius: 50%;
  background-color: var(--secondary);
  height: 0.5rem;
  width: 0.5rem;
  box-shadow: 0 0 0 3px rgba(67, 183, 255, 0.25);
}
.an__steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: end;
  gap: 0.4rem;
  margin-top: 0.7rem;
}
.an__step {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.15rem;
  min-width: 0;
}
.an__step i {
  display: block;
  border-radius: 0.35rem 0.35rem 0.15rem 0.15rem;
  background: linear-gradient(180deg, var(--secondary), rgba(67, 183, 255, 0.45));
  width: 100%;
}
.an__step b {
  font-family: var(--headerFont);
  font-size: 0.8125rem;
  line-height: 1.1em;
  font-weight: 700;
  color: var(--headerColor);
}
.an__step small {
  font-size: 0.5625rem;
  line-height: 1.2em;
  font-weight: 600;
  color: #5b6b7d;
}
.an__h100 {
  height: 3.6rem;
}
.an__h62 {
  height: 2.3rem;
}
.an__h30 {
  height: 1.2rem;
}
.an__h14 {
  height: 0.55rem;
}
@media only screen and (min-width: 64rem) {
  .an .vz__body {
    padding-bottom: 4.6rem;
  }
  .an .vz__stage {
    padding-bottom: 8.5rem;
  }
  .an__health {
    bottom: 0;
    left: -1.5rem;
    width: 14rem;
  }
  .an__funnel {
    right: -1.5rem;
    bottom: 1.25rem;
    width: 15rem;
  }
}

/* Phones and tablets: the two cards sit side by side over the lower edge of the overview. */
@media only screen and (max-width: 63.999rem) {
  .an .vz__stage {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
    gap: 0 0.65rem;
    padding: 0 0.25rem;
  }
  .an .vz__card {
    grid-column: 1 / -1;
  }
  .an .vz__body {
    padding-bottom: 1.5rem;
  }
  .an__health,
  .an__funnel {
    position: relative;
    z-index: 2;
    margin-top: -0.9rem;
    padding: 0.7rem 0.7rem 0.8rem;
  }
  .an__health {
    margin-left: 0.4rem;
  }
  .an__funnel {
    margin-right: 0.4rem;
  }
  .an__health code {
    font-size: 0.6875rem;
  }
  .an__health .vz__pill {
    padding: 0.15rem 0.4rem;
    font-size: 0.5625rem;
    letter-spacing: 0.03em;
  }
}
@media only screen and (max-width: 30rem) {
  .an__kpis {
    gap: 0.4rem;
    margin-bottom: 0.6rem;
  }
  .an__kpis > div {
    padding: 0.45rem 0.55rem;
  }
  .an__chart svg {
    height: 3.4rem;
  }
  .an__split {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: 0.6rem;
    margin-top: 0.6rem;
  }
  .an__channels li {
    grid-template-columns: 3.9rem minmax(0, 1fr);
    gap: 0.35rem;
    font-size: 0.625rem;
  }
  .an__chain ol {
    gap: 0.5rem;
  }
  .an__h100 {
    height: 3rem;
  }
  .an__h62 {
    height: 1.9rem;
  }
  .an__step b {
    font-size: 0.6875rem;
  }
}

/* Dark mode */
html.dark-mode .an__kpis > div {
  border-color: rgba(255, 255, 255, 0.08);
  background-color: rgba(255, 255, 255, 0.04);
}
html.dark-mode .an__kpis strong,
html.dark-mode .an__health code,
html.dark-mode .an__step b,
html.dark-mode .an__chain li {
  color: #fff;
}
html.dark-mode .an__line {
  stroke: #fff;
}
html.dark-mode .an__prev {
  stroke: rgba(255, 255, 255, 0.4);
}
html.dark-mode .an__key,
html.dark-mode .an__consent,
html.dark-mode .an__step small {
  color: rgba(255, 255, 255, 0.68);
}
html.dark-mode .an__key i {
  background-color: #fff;
}
html.dark-mode .an__key .an__key--prev {
  background: none;
  border-top-color: rgba(255, 255, 255, 0.4);
}
html.dark-mode .an__channels li {
  color: rgba(255, 255, 255, 0.85);
}
html.dark-mode .an__chain li {
  border-color: rgba(255, 255, 255, 0.12);
  background-color: rgba(255, 255, 255, 0.05);
}
html.dark-mode .an__chain li:last-child {
  border-color: transparent;
  background-color: var(--secondary);
  color: var(--primary);
}
