/* ==========================================================================
   PiPO HRIS — LAYER 13 · IMPLEMENTATION & ADOPTION (Homepage Phase 10)
   Mist-green section. Human, structured, calm. ACCUREX is a credibility
   layer in type — never a second logo, never ACCUREX red in the palette.
   ========================================================================== */

.impl { background: var(--mist); }
.impl__head { max-width: 800px; }
.impl__head h2 { margin-top: 1.1rem; }
.impl__head .lede { margin-top: 1.1rem; }

/* ── Eight-stage journey ────────────────────────────────────────────────── */
.jr { margin-top: clamp(34px, 4vw, 56px); }
.jr__track {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(8, 1fr);
  gap: 0; counter-reset: none;
}
.jr__s { position: relative; padding: 26px 14px 0 0; }
.jr__s:last-child { padding-right: 0; }

/* the rail */
.jr__s::before {
  content: ''; position: absolute; top: 9px; left: 0; right: 0; height: 2px;
  background: var(--line);
}
.jr__s:first-child::before { border-radius: 2px 0 0 2px; }
.jr__s:last-child::before  { border-radius: 0 2px 2px 0; }
/* the node */
.jr__s::after {
  content: ''; position: absolute; top: 5px; left: 0;
  width: 10px; height: 10px; border-radius: 50%;
  background: #fff; border: 2px solid var(--line);
  transition: background var(--t-std) var(--e-out), border-color var(--t-std) var(--e-out);
}
.jr__s.in::before { background: linear-gradient(90deg, var(--emerald-300), var(--emerald-300)); }
.jr__s.in::after  { background: var(--emerald); border-color: var(--emerald); }
/* the configuration moment carries the violet accent */
.jr__s--cfg.in::after { background: var(--violet); border-color: var(--violet); }

.jr__n {
  font-family: var(--font-mono); font-size: .64rem; letter-spacing: .12em;
  color: var(--emerald-700); display: block;
}
.jr__s--cfg .jr__n { color: var(--st-info); }
.jr__s h3 { font-size: .98rem; font-weight: 700; letter-spacing: -.02em; color: var(--ink); margin-top: .35rem; }
.jr__s p  { font-size: .96rem; line-height: 1.5; color: var(--muted); margin-top: .4rem; padding-right: .6rem; }

@media (max-width: 1120px) {
  .jr__track { grid-template-columns: repeat(4, 1fr); row-gap: 30px; }
  .jr__s:nth-child(4n)::before { border-radius: 0 2px 2px 0; }
  .jr__s:nth-child(4n+1)::before { border-radius: 2px 0 0 2px; }
}
/* vertical below tablet — thin emerald rail down the left */
@media (max-width: 720px) {
  .jr__track { grid-template-columns: 1fr; row-gap: 0; }
  .jr__s { padding: 0 0 22px 28px; }
  .jr__s:last-child { padding-bottom: 0; }
  .jr__s::before { top: 6px; bottom: -6px; left: 4px; right: auto; width: 2px; height: auto; border-radius: 2px !important; }
  .jr__s:last-child::before { display: none; }
  .jr__s::after { top: 3px; left: 0; }
  .jr__s p { padding-right: 0; }
}

/* ── Editorial statement ────────────────────────────────────────────────── */
.impl__say {
  margin-top: clamp(36px, 4.2vw, 60px);
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 3vw, 52px);
  align-items: start;
  border-top: 1px solid rgba(11,26,22,.1); padding-top: clamp(26px, 3vw, 40px);
}
@media (max-width: 860px) { .impl__say { grid-template-columns: 1fr; } }
.impl__say h3 { font-size: clamp(1.3rem, 2vw, 1.75rem); letter-spacing: -.03em; line-height: 1.2; }
.impl__say p { font-size: .98rem; line-height: 1.65; color: var(--ink-3); }
.impl__say p + p { margin-top: .9rem; }

/* ── People / Process / Technology ──────────────────────────────────────── */
.ppt {
  margin-top: clamp(34px, 4vw, 56px);
  display: grid; grid-template-columns: repeat(3, 1fr) ; gap: 1px;
  background: rgba(11,26,22,.1); border: 1px solid rgba(11,26,22,.1);
  border-radius: var(--r-lg); overflow: hidden;
}
@media (max-width: 760px) { .ppt { grid-template-columns: 1fr; } }
.ppt__c { background: #fff; padding: clamp(18px, 2.2vw, 28px); }
.ppt__c h3 {
  font-family: var(--font-mono); font-size: .66rem; letter-spacing: .15em;
  text-transform: uppercase; color: var(--emerald-700); font-weight: 500;
}
.ppt__c ul { list-style: none; margin: .9rem 0 0; padding: 0; display: grid; gap: .45rem; }
.ppt__c li { font-size: .96rem; color: var(--ink-3); display: grid; grid-template-columns: 14px 1fr; gap: .55rem; align-items: start; }
.ppt__c li svg { width: 12px; height: 12px; margin-top: .3rem; color: var(--emerald); }
.ppt__foot {
  grid-column: 1 / -1; background: var(--ink); color: #fff;
  padding: 16px clamp(18px, 2.2vw, 28px); display: flex; flex-wrap: wrap;
  align-items: baseline; gap: .6rem 1.1rem;
}
.ppt__foot b { font-family: var(--font-display); font-size: 1rem; font-weight: 700; letter-spacing: -.022em; }
.ppt__foot span { font-size: .88rem; color: rgba(255,255,255,.66); }

/* ── ACCUREX credibility block ──────────────────────────────────────────── */
.ax {
  margin-top: clamp(34px, 4vw, 56px);
  display: grid; grid-template-columns: 1.08fr .92fr;
  gap: clamp(24px, 3.2vw, 56px); align-items: center;
}
@media (max-width: 900px) { .ax { grid-template-columns: 1fr; } }
.ax h3 { font-size: clamp(1.35rem, 2.1vw, 1.8rem); letter-spacing: -.032em; line-height: 1.18; }
.ax p { margin-top: .9rem; font-size: .98rem; line-height: 1.65; color: var(--ink-3); }

.axcard {
  background: #fff; border: 1px solid rgba(11,26,22,.1); border-radius: var(--r-xl);
  padding: clamp(20px, 2.6vw, 32px);
}
.axcard__k {
  font-family: var(--font-mono); font-size: .6rem; letter-spacing: .15em;
  text-transform: uppercase; color: var(--muted-2);
}
/* typographic wordmark — deliberately smaller than the PiPO HRIS identity */
.axmark {
  display: inline-block; margin-top: .6rem;
  font-family: var(--font-display); font-size: 1.24rem; font-weight: 800;
  letter-spacing: .11em; color: var(--ink);
}
.axcard > p { font-size: .98rem; line-height: 1.6; color: var(--muted); margin-top: .8rem; }
.axcard ul { list-style: none; margin: 1.1rem 0 0; padding: 1.1rem 0 0; border-top: 1px solid var(--line-soft); display: flex; flex-wrap: wrap; gap: .45rem; }
.axcard li {
  font-size: .82rem; color: var(--ink-3); background: var(--paper);
  border: 1px solid var(--line-soft); border-radius: 100px; padding: .3em .8em;
}

/* ── Migration + adoption reassurance ───────────────────────────────────── */
.implre { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.2vw, 30px); margin-top: clamp(30px, 3.4vw, 46px); }
@media (max-width: 760px) { .implre { grid-template-columns: 1fr; } }
.implre > div { background: #fff; border: 1px solid rgba(11,26,22,.1); border-radius: var(--r-lg); padding: clamp(18px, 2.2vw, 28px); }
.implre h3 { font-size: 1.05rem; font-weight: 700; letter-spacing: -.022em; color: var(--ink); }
.implre p { font-size: .98rem; line-height: 1.6; color: var(--muted); margin-top: .6rem; }
.implre .mini {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 1rem;
  padding-top: 1rem; border-top: 1px solid var(--line-soft);
}
.implre .mini span {
  font-family: var(--font-mono); font-size: .6rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-3); background: var(--paper); border: 1px solid var(--line-soft);
  border-radius: 5px; padding: .35em .6em;
}
.implre .mini svg { width: 10px; height: 10px; color: var(--muted-2); }

/* ── Outcomes ───────────────────────────────────────────────────────────── */
.implout { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 30px); margin-top: clamp(30px, 3.4vw, 46px); }
@media (max-width: 900px) { .implout { grid-template-columns: repeat(2, 1fr); row-gap: 24px; } }
@media (max-width: 480px) { .implout { grid-template-columns: 1fr; } }
.implout > div { border-top: 2px solid rgba(11,26,22,.12); padding-top: .9rem; }
.implout > div:first-child { border-top-color: var(--emerald); }
.implout b { display: block; font-size: .95rem; font-weight: 700; color: var(--ink); letter-spacing: -.018em; }
.implout span { display: block; font-size: .94rem; line-height: 1.55; color: var(--muted); margin-top: .35rem; }

/* ── Close + CTA ────────────────────────────────────────────────────────── */
.implclose {
  margin-top: clamp(36px, 4.2vw, 60px);
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 3vw, 48px); align-items: center;
}
@media (max-width: 860px) { .implclose { grid-template-columns: 1fr; } }
.implclose h3 { font-size: clamp(1.4rem, 2.2vw, 1.95rem); letter-spacing: -.032em; line-height: 1.16; }
.implclose p { margin-top: .9rem; font-size: .98rem; line-height: 1.65; color: var(--muted); }
.implclose .ctas { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.5rem; }
.implclose .demo { display: block; margin-top: 1.1rem; font-size: .9rem; color: var(--muted); }
.implclose .demo a { color: var(--emerald-700); font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(6,100,74,.28); }
.implclose .demo a:hover { border-bottom-color: var(--emerald); }
.implclose .fine { margin-top: 1.4rem; font-size: .8rem; line-height: 1.55; color: var(--muted-2); }

.impltrans {
  margin-top: clamp(34px, 3.8vw, 54px); padding-top: clamp(24px, 2.6vw, 36px);
  border-top: 1px solid rgba(11,26,22,.1);
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted-2); text-align: center;
}

@media (prefers-reduced-motion: reduce) {
  .jr__s::before, .jr__s::after { transition: none !important; }
}

.implclose > *, .ax > *, .impl__say > *, .implre > * { min-width: 0; }


/* Go-live is the moment the implementation is judged on. One gold node on an
   otherwise emerald timeline marks it, without colouring the timeline gold. */
.jr__s--live.in::after { background: var(--gold); border-color: var(--gold); }
.jr__s--live .jr__n { color: var(--st-warning-ink); }
