/* Ongoing Growth & Optimisation illustration: improvement loop and site health (.og). Built on the shared .vz system. */
.og__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 0.75rem;
  align-items: center;
}
.og__loop svg {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
}
.og__arc {
  fill: none;
  stroke-width: 7;
  stroke-linecap: round;
}
.og__arc--0 {
  stroke: var(--secondary);
}
.og__arc--1 {
  stroke: var(--primary);
}
.og__head--0 {
  fill: var(--secondary);
}
.og__head--1 {
  fill: var(--primary);
}
.og__stage {
  font-family: var(--bodyFont);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  fill: var(--headerColor);
}
.og__centre {
  font-family: var(--headerFont);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  fill: var(--primary);
}
.og__health {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.og__health li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin: 0;
  border: 1px solid #e9eef3;
  border-radius: 0.85rem;
  background-color: #f7f9fb;
  padding: 0.55rem 0.7rem;
}
.og__health .vz__pill {
  gap: 0.25rem;
}
.og__test {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.75rem;
  border-top: 1px solid var(--vz-line);
  padding-top: 0.85rem;
}
.og__row {
  display: grid;
  grid-template-columns: 0.9rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.6rem;
}
.og__row > span:first-child {
  font-size: 0.75rem;
  line-height: 1em;
  font-weight: 700;
  color: #5b6b7d;
}
.og__meter {
  display: block;
  overflow: hidden;
  border-radius: 1rem;
  background-color: var(--vz-bar);
  height: 0.55rem;
}
.og__fill {
  display: block;
  border-radius: 1rem;
  height: 100%;
}
.og__fill--a {
  background-color: #9aa8b8;
  width: 52%;
}
.og__fill--b {
  background-color: var(--secondary);
  width: 74%;
}

/* Floating card */
.og__recent {
  padding: 0.9rem 1rem;
}
.og__recent ul {
  display: grid;
  gap: 0.5rem;
  margin: 0.55rem 0 0;
  padding: 0;
  list-style: none;
}
.og__recent li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.25em;
  font-weight: 600;
  color: var(--headerColor);
}
.og__recent li svg {
  flex: none;
  border-radius: 50%;
  background-color: rgba(67, 183, 255, 0.2);
  padding: 2px;
  height: 1.15rem;
  width: 1.15rem;
  color: var(--vz-text-blue);
}
@media only screen and (min-width: 64rem) {
  .og .vz__stage {
    padding-bottom: 7rem;
  }
  .og__recent {
    right: -1.5rem;
    bottom: 0;
    width: 15rem;
  }
}
@media only screen and (max-width: 30rem) {
  .og__grid {
    grid-template-columns: 1fr;
  }
  .og__loop {
    margin: 0 auto;
    max-width: 15rem;
  }
}

/* Dark mode */
html.dark-mode .og__stage {
  fill: #fff;
}
html.dark-mode .og__centre {
  fill: #fff;
}
html.dark-mode .og__arc--1 {
  stroke: #fff;
}
html.dark-mode .og__head--1 {
  fill: #fff;
}
html.dark-mode .og__health li {
  border-color: rgba(255, 255, 255, 0.08);
  background-color: rgba(255, 255, 255, 0.04);
}
html.dark-mode .og__recent li {
  color: #fff;
}
html.dark-mode .og__row > span:first-child {
  color: rgba(255, 255, 255, 0.7);
}
