/* ==========================================================================
   Plan de 3 semanas para apps: tarjetas tipo notificación cuyo tilde se dibuja
   al entrar en pantalla (data-trazo, lo activa core.js).
   ========================================================================== */

.apl {
  background: var(--sunk);
}
.apl__head {
  max-width: 680px;
}
.apl__weeks {
  list-style: none;
  margin: 44px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.apl__card {
  position: relative;
  padding: 26px 24px 28px;
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow);
  transform: translateY(14px);
  opacity: 0;
  transition:
    transform 600ms var(--ease-out),
    opacity 500ms ease;
}
.apl__card:nth-child(2) {
  transition-delay: 120ms;
}
.apl__card:nth-child(3) {
  transition-delay: 240ms;
}
.apl__card.on {
  transform: none;
  opacity: 1;
}
.apl__card small {
  color: var(--ink-2);
  font: 600 0.8125rem/1 var(--f-display);
}
.apl__card h3 {
  margin-top: 10px;
  font-size: 1.375rem;
}
.apl__card p {
  margin-top: 8px;
  color: var(--ink-2);
}
.apl__check {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--brand-lime);
}
.apl__check svg {
  width: 18px;
  height: 18px;
}
.apl__check path {
  fill: none;
  stroke: #1b1e3b;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 420ms var(--ease-out) 500ms;
}
.apl__card:nth-child(2) path {
  transition-delay: 620ms;
}
.apl__card:nth-child(3) path {
  transition-delay: 740ms;
}
.apl__card.on path {
  stroke-dashoffset: 0;
}
@media (scripting: none) {
  .apl__card {
    transform: none;
    opacity: 1;
  }
  .apl__check path {
    stroke-dashoffset: 0;
  }
}
@media (max-width: 860px) {
  .apl__weeks {
    grid-template-columns: minmax(0, 1fr);
  }
}
