/* Only the three data cards on the homepage; their layout uses the existing feature-card styles. */
.index2 #graphs .feature-art .graph-motion {
  width: min(182px, calc(100% - 16px));
  height: auto;
  flex-shrink: 0;
  overflow: visible;
}
.index2 #graphs .graph-motion__bar {
  transform-origin: 0 96px;
  animation: sejitaro-data-bar 5.2s ease-in-out infinite;
}
.index2 #graphs .graph-motion__bar-mid { animation-delay: .18s; }
.index2 #graphs .graph-motion__bar-high { animation-delay: .36s; }
.index2 #graphs .graph-motion__trend {
  stroke-dasharray: 1;
  animation: sejitaro-data-line 5.4s ease-in-out infinite;
}
.index2 #graphs .graph-motion__trend-tip {
  transform-box: fill-box;
  transform-origin: center;
  animation: sejitaro-data-tip 5.4s ease-in-out infinite;
}
.index2 #graphs .graph-motion__actual {
  stroke-dasharray: 1;
  animation: sejitaro-data-line 5.8s ease-in-out infinite;
}
.index2 #graphs .graph-motion__adjusted {
  animation: sejitaro-data-adjusted 5.8s ease-in-out infinite;
}
.index2 #graphs .graph-motion__actual-tip,
.index2 #graphs .graph-motion__adjusted-tip {
  transform-box: fill-box;
  transform-origin: center;
  animation: sejitaro-data-tip 5.8s ease-in-out infinite;
}
.index2 #graphs .graph-motion__adjusted-tip { animation-delay: .4s; }
@keyframes sejitaro-data-bar {
  0%, 8%, 100% { transform: scaleY(.3); }
  38%, 76% { transform: scaleY(1); }
}
@keyframes sejitaro-data-line {
  0%, 8% { stroke-dashoffset: 1; opacity: .3; }
  43%, 85% { stroke-dashoffset: 0; opacity: 1; }
  100% { stroke-dashoffset: -1; opacity: .3; }
}
@keyframes sejitaro-data-tip {
  0%, 38%, 100% { opacity: 0; transform: scale(.7); }
  48%, 84% { opacity: 1; transform: scale(1); }
  62% { opacity: .6; transform: scale(1.45); }
}
@keyframes sejitaro-data-adjusted {
  0%, 14%, 100% { opacity: .2; transform: translateY(4px); }
  47%, 85% { opacity: .8; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .index2 #graphs .graph-motion,
  .index2 #graphs .graph-motion * {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    stroke-dashoffset: 0 !important;
  }
  .index2 #graphs .graph-motion [class] { opacity: 1; }
}

/* Tighten only the gap between the homepage reports and data sections. */
.index2 #features { padding-bottom: 32px; }
.index2 #features + #graphs { padding-top: 40px; }
@media (max-width: 760px) {
  .index2 #features { padding-bottom: 24px; }
  .index2 #features + #graphs { padding-top: 28px; }
}
