/* "How It Works" timeline — three steps in a row, each marked by a teal
   dot on a 2px ink connecting line, with the step copy below. Sits full-
   width under the "What's a Case?" row. Token-driven; the horizontal line
   is drawn per-step (dot to next dot) so it stays continuous. On narrow
   screens the steps stack and the connectors drop away. */

.tl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.tl-step {
  position: relative;
  padding-top: 2.75rem; /* room for the dot + line above the title */
}

/* The dot: teal fill, ink ring, sitting on the connecting line. */
.tl-dot {
  position: absolute;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  box-sizing: border-box;
  background: var(--color-primary);
  border: 2px solid var(--color-ink);
  z-index: 1;
}

/* Connector: from this dot's centre to the next dot's centre (column
   width + gap). The last step draws none, so the line ends at dot three. */
.tl-line {
  position: absolute;
  top: 9px;
  left: 10px;
  width: calc(100% + 2.5rem);
  height: 2px;
  background: var(--color-ink);
  z-index: 0;
}
.tl-step:last-child .tl-line {
  display: none;
}

.tl-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--color-foreground);
}
.tl-desc {
  margin-top: 1rem;
  color: var(--color-secondary);
  font-size: 1rem;
  line-height: 1.7;
}

/* Stack on small screens: single column, drop the horizontal connectors. */
@media (max-width: 767px) {
  .tl {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .tl-line {
    display: none;
  }
}
