/* The free time clock page. Everything else comes from problem-solution.css and
   the free takeoff page's sheet.css; this is only what that page doesn't have:
   a hero of phone screens, the setup steps as a list, and the gaps box. */

.fft-hero {
  position: relative;
  padding: 128px 0 72px;
  overflow: hidden;
  background: var(--bg-dark);
}
.fft-hero-inner {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.fft-hero .fts-card {
  position: static;
  transform: none;
  width: auto;
  max-width: 520px;
}
.fft-hero .ps-hero-cta {
  justify-content: center;
  width: 100%;
}
.fts-card .fft-stores {
  margin: 14px 0 0;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text-dim);
}
.fft-stores a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 3px;
}

/* Phone screens: a plain frame, one a little behind the other. */
.fft-phones {
  display: flex;
  justify-content: center;
  gap: 20px;
}
.fft-phone {
  display: block;
  width: 100%;
  max-width: 250px;
  height: auto;
  border: 8px solid #1a1a1a;
  border-radius: 34px;
  background: #1a1a1a;
  box-shadow: 0 30px 70px rgba(13, 13, 12, 0.18);
}
.fft-phones .fft-phone:nth-child(2) { margin-top: 48px; }

/* The setup steps: a numbered list beside the narrative, every step showing. */
.fft-steps {
  counter-reset: step;
  margin: 0;
  padding: 0;
  list-style: none;
}
.fft-steps li {
  counter-increment: step;
  position: relative;
  padding: 0 0 22px 46px;
}
.fft-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 28px;
  text-align: center;
}
.fft-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 13px;
  top: 34px;
  bottom: 6px;
  width: 2px;
  background: #e2ddd5;
}
.fft-steps h3 {
  margin: 2px 0 4px;
  font-size: 1.05rem;
  font-weight: 700;
}
.fft-steps p {
  margin: 0 !important;
  font-size: 0.95rem !important;
  line-height: 1.55;
}
.fft-steps-shots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 8px;
}
.fft-steps-shots figure { margin: 0; }
.fft-steps-shots img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
}
.fft-steps-shots figcaption {
  margin-top: 6px;
  font-size: 0.8rem;
  line-height: 1.4;
  color: var(--text-dim);
}

/* What isn't built, said under the comparison. */
.fft-gaps {
  margin-top: 28px;
  padding: 24px 28px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg-dark);
}
.fft-gaps h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 700;
}
.fft-gaps p {
  margin: 0 0 12px;
  color: var(--text-muted);
  line-height: 1.55;
}
.fft-gaps ul {
  margin: 0;
  padding-left: 20px;
  color: var(--text-muted);
  line-height: 1.6;
}
.fft-checked {
  margin: 16px 0 0;
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* The four modules, rather than the takeoff page's six steps. */
.flow-rail.flow-rail--4 { grid-template-columns: repeat(4, 1fr); }
.flow-rail--4 .flow-step { border-right: 1px solid var(--line); }
.flow-rail--4 .flow-step:last-child { border-right: 0; }

@media (max-width: 1023px) {
  .fft-hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .fft-hero .fts-card { max-width: none; }
}

@media (max-width: 767px) {
  .fft-hero { padding: 92px 0 40px; }
  .fft-hero-inner { padding: 0 16px; }
  .fft-hero .fts-card { padding: 22px; }
  .fft-hero .fts-card h1 { font-size: 1.8rem; }
  .fft-phone { max-width: 46vw; border-width: 6px; border-radius: 24px; }
  .fft-phones { gap: 12px; }
  .fft-phones .fft-phone:nth-child(2) { margin-top: 28px; }
  .fft-steps-shots { gap: 8px; }
  .flow-rail.flow-rail--4 { grid-template-columns: repeat(2, 1fr); }
  .flow-rail--4 .flow-step { border-right: 0; }
}
