/* Product: Zoho People Plus - page-specific design.
   Accent sampled from the icon (#e22728, the shared Zoho red). The mechanic is a horizontal
   employee-journey stepper: clicking a numbered stage updates a detail panel showing which
   bundled app owns it - distinct from every other mechanic on the site: a wizard-style
   progress stepper, not a diagram, feed, urgency-timeline, tabs-on-one-card, cascade,
   grid-fill, pipeline, toggle or matcher.

   All classes scoped to .ppl-page, prefixed ppl-. */

.ppl-page { --ppl: #e22728; --ppl-d: #a01315; --ppl-l: #fdecec; }

.ppl-page .ph-tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px; font-weight: 700; font-size: .9rem; color: #fff;
  margin-block-end: 18px;
}
.ppl-page .ph-acts { display: flex; flex-wrap: wrap; gap: 12px; margin-block-start: 24px; }

/* ---------------------------------------------------------------------- journey -- */
.ppl-journey { padding: clamp(48px, 7vw, 84px) 0; }
.ppl-journey h2 { font-size: clamp(1.4rem, 3vw, 2.1rem); margin: 0 0 12px; }
.ppl-journey .lede { max-width: 82ch; }

.ppl-stepper {
  margin-block-start: 30px;
  display: flex; align-items: flex-start; position: relative;
}
.ppl-stepper::before {
  content: ""; position: absolute; top: 19px; inset-inline: 40px;
  height: 2px; background: var(--line); z-index: 0;
}
.ppl-step {
  position: relative; z-index: 1; flex: 1;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font: inherit; cursor: pointer; background: none; border: none; padding: 0 4px;
  color: var(--muted);
}
.ppl-step-n {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 800; font-size: .95rem;
  background: var(--white); border: 2px solid var(--line); color: var(--muted);
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}
.ppl-step span:last-child { font-weight: 700; font-size: .85rem; text-align: center; }
.ppl-step[aria-pressed="true"] .ppl-step-n {
  background: var(--ppl-d); border-color: var(--ppl-d); color: #fff; transform: scale(1.12);
}
.ppl-step[aria-pressed="true"] span:last-child { color: var(--ppl-d); }

.ppl-detail {
  margin-block-start: 28px; padding: clamp(18px, 3vw, 26px);
  background: var(--ppl-l); border-radius: 14px; min-height: 110px;
}
.ppl-detail-tag { margin: 0 0 8px; display: inline-block; font-weight: 800; font-size: .78rem; letter-spacing: .03em; color: #fff; background: var(--ppl-d); padding: 4px 12px; border-radius: 999px; }
.ppl-detail-text { margin: 0; color: var(--ink); font-size: 1rem; line-height: 1.65; max-width: 70ch; }

/* ------------------------------------------------------------------------ need -- */
.ppl-need {
  padding: clamp(40px, 6vw, 64px) 0;
  background: var(--ppl-l);
  border-block: 1px solid color-mix(in srgb, var(--ppl) 18%, var(--line));
}
.ppl-need h2 { font-size: clamp(1.4rem, 2.8vw, 2rem); margin: 0 0 12px; }
.ppl-need .lede { max-width: 82ch; margin: 0; }

/* ------------------------------------------------------------------------- caps -- */
.ppl-caps { padding: clamp(48px, 7vw, 84px) 0; }
.ppl-caps h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin: 0 0 22px; }
.ppl-cap-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 13px; }
.ppl-cap { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 16px 18px; }
.ppl-cap b { display: block; margin-block-end: 6px; font-size: 1.02rem; color: var(--ppl-d); }
.ppl-cap p { margin: 0; color: var(--muted); font-size: .93rem; }

/* ----------------------------------------------------------------------- move -- */
.ppl-move { padding: clamp(48px, 7vw, 84px) 0; }
.ppl-move h2 { font-size: 1.35rem; margin: 0 0 10px; }
.ppl-move h3 { font-size: 1.08rem; }

@media (max-width: 640px) {
  .ppl-stepper { flex-wrap: wrap; gap: 16px 0; }
  .ppl-stepper::before { display: none; }
  .ppl-step { flex: 0 0 33%; }
}
