/* Automated Follow-ups — page styles (tokens from style.css only). */

/* Hero: a month of follow-ups in one WhatsApp thread ------------------------ */
.fu-stage { width: min(100%, 560px); margin-inline: auto; }
.fu-stage .phone { position: relative; z-index: 1; }
.fu-stage .chat { height: 404px; }
.fu-day {
  align-self: center;
  padding: 3px 10px;
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 1px 1px rgba(11, 18, 32, .06);
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
}
.fu-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 6px;
  padding-top: 7px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--info);
}
.fu-link .icon { width: 14px; height: 14px; }

@media (min-width: 640px) {
  .fu-stage .phone { margin-left: 12%; }
  .fu-stage .float-chip--tr { top: 13%; right: 0; }
  .fu-stage .float-chip--br { bottom: 17%; right: 28px; }
}

/* Narrow two-column desktops: centre the phone and tuck the chips onto its corners */
@media (min-width: 1024px) and (max-width: 1199px) {
  .fu-stage { padding: 56px 0 58px; }
  .fu-stage .phone { justify-self: center; margin-left: 0; }
  .fu-stage .float-chip--tr { top: 4px; right: 0; }
  .fu-stage .float-chip--br { right: auto; bottom: 4px; left: 0; }
}

/* A sample 30-day journey ---------------------------------------------------- */
.journey { display: grid; gap: 12px; }
.journey__stop {
  position: relative;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
}
.journey__day {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand-strong);
}
.journey__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--brand-tint);
  color: var(--brand-strong);
}
.journey__icon .icon { width: 20px; height: 20px; }
.journey__stop h3 { font-size: 17px; }
.journey__stop p { font-size: 14.5px; color: var(--muted); }
.journey__stop .journey__msg {
  padding: 10px 12px;
  border-radius: 4px 12px 12px 12px;
  background: var(--bg-alt);
  color: var(--ink-2);
}
.journey__stop--done { border-color: var(--ink); background: var(--ink); }
.journey__stop--done h3 { color: #fff; }
.journey__stop--done p { color: var(--night-text); }
.journey__stop--done .journey__day { color: var(--mint); }
.journey__stop--done .journey__icon { background: rgba(52, 211, 153, .14); color: var(--mint); }

@media (min-width: 640px) and (max-width: 1023px) {
  .journey { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .journey__stop--done { grid-column: 1 / -1; }
}

@media (min-width: 1024px) {
  .journey { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .journey__stop:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 72px;
    right: -13px;
    z-index: 1;
    width: 14px;
    height: 2px;
    background: var(--brand);
  }
}
