.tec-results {
  --tec-highlight: #f0047f;
  --tec-text: #020202;
  --tec-muted: rgba(0, 0, 0, 0.5);
  --tec-border: #ededed;
  --tec-tint: #f0d3e2;
  --tec-radius: 8px;
  --tec-gap: 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--tec-text);
  font-family: inherit;
}

.tec-results__section {
  background: #fff;
  border: 1px solid var(--tec-border);
  border-radius: var(--tec-radius);
  padding: 24px;
}

.tec-results__section--hero {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: var(--tec-gap);
  align-items: stretch;
}

.tec-results__row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: var(--tec-gap);
}

.tec-results__col {
  min-width: 0;
}

.tec-results__divider {
  width: 1px;
  background: var(--tec-border);
}

.tec-results__rule {
  height: 1px;
  background: var(--tec-border);
  margin: var(--tec-gap) 0;
}

.tec-results__eyebrow,
.tec-results__heading {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.1;
}

.tec-results__multiplier {
  margin: 12px 0 0;
  color: var(--tec-highlight);
  font-size: clamp(3rem, 10vw, 6rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
}

.tec-results__metric {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: 12px 0 0;
}

.tec-results__metric-value {
  color: var(--tec-highlight);
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
}

.tec-results__metric-unit {
  font-size: 16px;
  font-weight: 700;
}

.tec-results__footnote {
  margin: 24px 0 0;
  color: var(--tec-muted);
  font-size: 14px;
  line-height: 1.3;
}

.tec-results__chart-header {
  display: flex;
  flex-wrap: nowrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 16px;
  white-space: nowrap;
}

.tec-results__chart-label {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  color: var(--tec-muted);
  font-size: 14px;
  line-height: 1;
  text-align: right;
  white-space: nowrap;
}

.tec-results__chart-total {
  margin: 0;
  flex: 0 0 auto;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.tec-results__chart {
  --tec-chart-plot-height: 220px;
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: 24px;
  min-height: var(--tec-chart-plot-height);
  padding-bottom: 40px;
}

.tec-results__chart::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: var(--tec-chart-plot-height);
  pointer-events: none;
  z-index: 0;
  background: repeating-linear-gradient(
    to bottom,
    var(--tec-border) 0,
    var(--tec-border) 1px,
    transparent 1px,
    transparent 25%
  );
  border-bottom: 1px solid var(--tec-border);
}

.tec-results__chart-item {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: flex-end;
  min-width: 0;
  height: var(--tec-chart-plot-height);
}

.tec-results__chart-bar {
  width: 100%;
  border-radius: 2px 2px 0 0;
}

.tec-results__chart-bar--current {
  height: 2px;
  background: var(--tec-text);
}

.tec-results__chart-bar-stack {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 100%;
  min-height: 0;
}

.tec-results__chart-bar-stack .tec-results__chart-value {
  position: absolute;
  right: 0;
  left: 0;
  bottom: 100%;
  margin: 0 0 8px;
}

.tec-results__chart-bar-stack .tec-results__chart-bar--new {
  height: 2px;
  min-height: 2px;
}

.tec-results__chart-bar--new {
  background: var(--tec-highlight);
}

.tec-results__chart-value {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
}

.tec-results__chart-caption {
  position: absolute;
  right: 0;
  bottom: -36px;
  left: 0;
  margin: 0;
  color: var(--tec-muted);
  font-size: 14px;
  line-height: 1.2;
}

.tec-results__comparison-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.tec-results__comparison-item {
  display: flex;
  gap: 8px;
  align-items: center;
}

.tec-results__comparison-icon {
  display: flex;
  flex: 0 0 36px;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 100px;
  background: var(--tec-border);
  overflow: hidden;
}

.tec-results__comparison-icon img {
  display: block;
  width: 20px;
  height: 20px;
}

.tec-results__comparison-text {
  margin: 0;
  font-size: 16px;
  line-height: 1.1;
}

.tec-results__comparison-text strong {
  font-weight: 700;
}

.tec-results__comparison-value {
  white-space: nowrap;
}

.tec-results--empty .tec-results__section--empty {
  text-align: center;
}

.tec-results__empty-action {
  margin: 24px 0 0;
}

.tec-results__empty-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: var(--tec-radius);
  background: var(--tec-highlight);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.1;
  text-decoration: none;
}

.tec-results__empty-link:hover,
.tec-results__empty-link:focus {
  color: #fff;
  text-decoration: none;
}

@keyframes tiiviUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes tiiviFade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.anim-up {
  animation: tiiviUp 1100ms cubic-bezier(.83, 0, .17, 1) both;
}

.anim-fade {
  animation: tiiviFade 1000ms cubic-bezier(.83, 0, .17, 1) 2000ms both;
}

@media (max-width: 768px) {
  .tec-results__section--hero,
  .tec-results__row {
    grid-template-columns: 1fr;
  }

  .tec-results__divider {
    display: none;
  }

  .tec-results__chart {
    --tec-chart-plot-height: 180px;
    min-height: var(--tec-chart-plot-height);
  }
}
