.section.carbon-story {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(71, 209, 140, .18);
  border-bottom: 1px solid rgba(71, 209, 140, .18);
  background: #06152b;
}

.carbon-story h2,
.carbon-story__step strong {
  color: #eef6ff;
}

.carbon-story::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(71, 209, 140, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(71, 209, 140, .035) 1px, transparent 1px);
  background-size: 46px 46px;
  pointer-events: none;
}

.carbon-story .shell {
  position: relative;
  z-index: 1;
}

.carbon-story__heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .62fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 44px;
}

.carbon-story__heading h2 {
  max-width: 760px;
  margin: 14px 0 0;
}

.carbon-story__heading > p {
  margin: 0;
  color: #a9bbca;
  font-size: 17px;
  line-height: 1.7;
}

.carbon-story__layout {
  display: grid;
  grid-template-columns: minmax(360px, .9fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: center;
}

.carbon-telemetry {
  padding: 26px;
  border: 1px solid rgba(71, 209, 140, .32);
  border-radius: 8px;
  background: rgba(3, 14, 34, .72);
  box-shadow: 0 22px 60px rgba(0, 0, 0, .22);
}

.carbon-telemetry__top,
.carbon-story__actions {
  display: flex;
  align-items: center;
}

.carbon-telemetry__top {
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(172, 210, 255, .14);
}

.carbon-telemetry__top > span:first-child {
  color: #7f9cb5;
  font-size: 11px;
  font-weight: 850;
}

.carbon-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #8ce8ae;
  font-size: 10px;
  font-weight: 850;
}

.carbon-live i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #47d18c;
  box-shadow: 0 0 0 5px rgba(71, 209, 140, .11);
  animation: carbon-live-pulse 2.4s ease-in-out infinite;
}

.carbon-live.is-loading {
  color: #8abefc;
}

.carbon-live.is-loading i {
  background: #4aa0ff;
  box-shadow: 0 0 0 5px rgba(74, 160, 255, .11);
}

.carbon-live.is-unavailable {
  color: #ffba85;
}

.carbon-live.is-unavailable i {
  background: #ff9950;
  box-shadow: 0 0 0 5px rgba(255, 153, 80, .11);
  animation: none;
}

.public-carbon-meter {
  position: relative;
  width: min(100%, 360px);
  aspect-ratio: 12 / 7.5;
  margin: 18px auto 4px;
}

.public-carbon-meter__dial {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.public-carbon-meter__track,
.public-carbon-meter__value {
  fill: none;
  stroke-linecap: round;
  stroke-width: 14;
}

.public-carbon-meter__track {
  stroke: rgba(255, 255, 255, .08);
}

.public-carbon-meter__value {
  stroke-dasharray: 0 100;
  transition: stroke-dasharray .8s ease, opacity .25s ease;
}

.public-carbon-meter__reading {
  position: absolute;
  left: 50%;
  bottom: 7%;
  display: grid;
  width: 100%;
  transform: translateX(-50%);
  justify-items: center;
  text-align: center;
}

.public-carbon-meter__reading strong {
  color: #eef6ff;
  font-size: 46px;
  line-height: .98;
}

.public-carbon-meter__reading > span {
  margin-top: 8px;
  color: #75e7a0;
  font-size: 13px;
  font-weight: 800;
}

.public-carbon-meter__reading small {
  margin-top: 5px;
  color: #7891a8;
  font-size: 10px;
}

.public-carbon-meter__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid rgba(172, 210, 255, .14);
  border-bottom: 1px solid rgba(172, 210, 255, .14);
}

.public-carbon-meter__stats > div {
  display: grid;
  gap: 7px;
  min-width: 0;
  padding: 16px 14px;
  border-right: 1px solid rgba(172, 210, 255, .14);
}

.public-carbon-meter__stats > div:first-child {
  padding-left: 0;
}

.public-carbon-meter__stats > div:last-child {
  padding-right: 0;
  border-right: 0;
}

.public-carbon-meter__stats span {
  color: #7f9cb5;
  font-size: 10px;
  font-weight: 750;
}

.public-carbon-meter__stats strong {
  color: #75e7a0;
  font-size: 15px;
}

.carbon-node-strip {
  display: grid;
  gap: 9px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(172, 210, 255, .14);
}

.carbon-node-strip__label {
  color: #7f9cb5;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.carbon-node-strip__items {
  display: grid;
  gap: 5px;
}

.carbon-node-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 30px;
  padding: 5px 8px 5px 20px;
  border: 1px solid rgba(71, 209, 140, .28);
  border-radius: 4px;
  background: rgba(71, 209, 140, .08);
  color: #dff8e8;
  font-size: 11px;
  font-weight: 800;
}

.carbon-node-row::before {
  content: '';
  position: absolute;
  left: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #7f9cb5;
  box-shadow: 0 0 0 3px rgba(127, 156, 181, .09);
}

.carbon-node-row.is-live::before {
  background: #75e7a0;
  box-shadow: 0 0 0 3px rgba(117, 231, 160, .11), 0 0 10px rgba(117, 231, 160, .35);
}

.carbon-node-row > strong {
  display: inline-flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 4px;
  color: #75e7a0;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.carbon-node-row > strong small {
  color: #7f9cb5;
  font-size: 9px;
  font-weight: 700;
}

.public-carbon-meter__freshness {
  margin: 15px 0 0;
  color: #8ce8ae;
  font-size: 11px;
  font-weight: 750;
  text-align: center;
}

.carbon-telemetry.is-unavailable .public-carbon-meter__value {
  opacity: .2;
}

.carbon-telemetry.is-unavailable .public-carbon-meter__freshness {
  color: #ffba85;
}

.carbon-telemetry > small {
  display: block;
  margin-top: 18px;
  color: #71889e;
  font-size: 10px;
  line-height: 1.55;
}

.carbon-story__copy {
  min-width: 0;
}

.carbon-story__metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(172, 210, 255, .16);
  border-bottom: 1px solid rgba(172, 210, 255, .16);
}

.carbon-story__metrics > div {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 21px 18px;
  border-right: 1px solid rgba(172, 210, 255, .16);
}

.carbon-story__metrics > div:first-child {
  padding-left: 0;
}

.carbon-story__metrics > div:last-child {
  border-right: 0;
}

.carbon-story__metrics strong {
  color: #75e7a0;
  font-size: 26px;
}

.carbon-story__metrics span {
  color: #9fb2c8;
  font-size: 12px;
  line-height: 1.45;
}

.carbon-story__steps {
  display: grid;
  gap: 0;
  margin: 28px 0;
  border-top: 1px solid rgba(172, 210, 255, .16);
}

.carbon-story__step {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  padding: 15px 0;
  border-bottom: 1px solid rgba(172, 210, 255, .16);
}

.carbon-story__step div {
  display: grid;
  gap: 4px;
}

.carbon-story__step p {
  margin: 0;
  color: #9fb2c8;
  font-size: 13px;
  line-height: 1.55;
}

.carbon-story__actions {
  justify-content: space-between;
  gap: 20px;
}

.carbon-story__actions > small {
  max-width: 430px;
  color: #71889e;
  font-size: 10px;
  line-height: 1.55;
}

@keyframes carbon-live-pulse {
  0%, 100% { opacity: .72; transform: scale(.9); }
  50% { opacity: 1; transform: scale(1.08); }
}

@media (max-width: 980px) {
  .carbon-story__heading,
  .carbon-story__layout {
    grid-template-columns: 1fr;
  }

  .carbon-story__heading {
    gap: 18px;
  }

  .carbon-story__layout {
    gap: 36px;
  }
}

@media (max-width: 620px) {
  .carbon-telemetry {
    padding: 20px 17px;
  }

  .public-carbon-meter__reading strong {
    font-size: 38px;
  }

  .public-carbon-meter__stats {
    grid-template-columns: 1fr;
  }

  .public-carbon-meter__stats > div,
  .public-carbon-meter__stats > div:first-child,
  .public-carbon-meter__stats > div:last-child {
    padding: 13px 0;
    border-right: 0;
  }

  .public-carbon-meter__stats > div:first-child {
    border-bottom: 1px solid rgba(172, 210, 255, .14);
  }

  .carbon-node-row {
    gap: 8px;
    padding-right: 6px;
  }

  .carbon-node-row > strong small {
    font-size: 8px;
  }

  .carbon-story__metrics {
    grid-template-columns: 1fr;
  }

  .carbon-story__metrics > div,
  .carbon-story__metrics > div:first-child {
    padding: 16px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(172, 210, 255, .16);
  }

  .carbon-story__metrics > div:last-child {
    border-bottom: 0;
  }

  .carbon-story__actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .carbon-story__actions .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .carbon-live i,
  .public-carbon-meter__value {
    animation: none;
    transition: none;
  }
}
