/* "What happens after you book the audit?" steps block for the Search Evidence Audit page.
   Ported from the homepage rules (.vd-steps, .st-list, .st-prog in home.css) and
   restyled to the audit page palette. Colours are literal values so this file
   does not depend on home.css variables. Only transform is animated. */

.audit-steps{
  background: #fff;
  border-top: 1px solid #dbe4f2;
  border-bottom: 1px solid #dbe4f2;
}

.st-list{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.st-list li{
  position: relative;
  margin: 0;
  padding: 22px;
  border: 1px solid #dbe4f2;
  border-radius: 12px;
  background: #f7f9fd;
}

.st-list .day{
  display: inline-block;
  margin-bottom: 14px;
  padding: 4px 11px;
  border-radius: 99px;
  background: #e3ecff;
  color: #0d47c9;
  font-weight: 700;
  font-size: 13px;
  line-height: 1.4;
}

.st-list h3{
  margin: 0 0 8px;
  font-size: clamp(19px, 1.8vw, 21px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #0a1838;
}

.st-list p{
  margin: 0;
  color: #424b58;
  line-height: 1.55;
  font-size: 15px;
}

/* Connector line between cards on desktop */
.st-list li::after{
  content: "";
  position: absolute;
  top: 40px;
  right: -14px;
  width: 14px;
  height: 2px;
  background: #0d47c9;
  opacity: .35;
}
.st-list li:last-child::after{ display: none; }

/* Progress bar: animates transform only, filled once the block scrolls into view */
.st-prog{
  height: 4px;
  margin-top: 26px;
  border-radius: 9px;
  background: #dbe4f2;
  overflow: hidden;
}

.st-prog u{
  display: block;
  height: 100%;
  width: 100%;
  background: #0d47c9;
  transform-origin: 0 50%;
  transform: scaleX(0);
  transition: transform 2.2s cubic-bezier(.2, .7, .2, 1);
}

.audit-steps.in .st-prog u{ transform: scaleX(1); }

@media (max-width: 960px){
  .st-list{ grid-template-columns: 1fr 1fr; }
  .st-list li::after{ display: none; }
}

@media (max-width: 560px){
  .st-list{ grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce){
  .st-prog u{ transform: scaleX(1); transition: none; }
}
