/* ==========================================================================
   PiPO HRIS — LAYER 14 · SECURITY, TRUST & CREDIBILITY (Homepage Phase 11)
   Deep midnight. Security is told through access + governance + product
   controls — never a giant padlock. No certification claims anywhere.
   ========================================================================== */

.tsec { background: #fff; }
.tsec__head { max-width: 800px; }
.tsec__head h2 { margin-top: 1.1rem; }
.tsec__head .lede { margin-top: 1.1rem; }

/* ── Access & roles product surface ─────────────────────────────────────── */
.tgrid {
  margin-top: clamp(34px, 4vw, 56px);
  display: grid; grid-template-columns: 1.1fr .9fr;
  gap: clamp(26px, 3.4vw, 60px); align-items: center;
}
@media (max-width: 980px) { .tgrid { grid-template-columns: 1fr; } }

.acc {
  background: #0B1A16; border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-shot); overflow: hidden; font-size: 12px;
  box-shadow: 0 30px 80px rgba(0,0,0,.4);
}
.acc__bar { display: flex; align-items: center; gap: .5rem; padding: 10px 14px; background: rgba(255,255,255,.04); border-bottom: 1px solid rgba(255,255,255,.08); }
.acc__bar .dots { display: flex; gap: 5px; }
.acc__bar .dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.16); display: block; }
.acc__bar .url { font-family: var(--font-mono); font-size: 10px; color: rgba(255,255,255,.58); margin-inline: auto; }
.acc__body { padding: 16px 18px 18px; }
.acc__h h3 { font-size: 14px; font-weight: 700; letter-spacing: -.022em; color: #fff; }
.acc__h p  { font-size: 10.5px; color: rgba(255,255,255,.58); margin-top: 2px; }

.acc__tbl { margin-top: 12px; border: 1px solid rgba(255,255,255,.09); border-radius: 10px; overflow: hidden; }
.acc__hd, .acc__r { display: grid; grid-template-columns: 1.05fr 1.25fr auto; gap: 10px; align-items: center; padding: 9px 12px; }
.acc__hd {
  background: rgba(255,255,255,.04); font-family: var(--font-mono);
  font-size: 8.5px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.58);
}
.acc__r { border-top: 1px solid rgba(255,255,255,.07); }
.acc__r b { font-size: 11.5px; font-weight: 600; color: #fff; }
.acc__r > span { font-size: 10.5px; color: rgba(255,255,255,.58); line-height: 1.4; }
.acc__lv {
  display: inline-flex; align-items: center; gap: 4px; justify-self: end;
  font-size: 9px; font-weight: 600; padding: 3px 8px; border-radius: 100px; white-space: nowrap;
  border: 1px solid transparent;
}
.acc__lv svg { width: 8px; height: 8px; }
.acc__lv--full { background: rgba(19,185,129,.14);  color: #5FD6AC; border-color: rgba(19,185,129,.28); }
.acc__lv--scope{ background: rgba(63,50,141,.16);  color: #B0A3F5; border-color: rgba(63,50,141,.3); }
.acc__lv--self { background: rgba(255,255,255,.07); color: rgba(255,255,255,.6); border-color: rgba(255,255,255,.58); }
.acc__note {
  margin-top: 11px; font-size: 10px; color: rgba(255,255,255,.58); line-height: 1.5;
  display: grid; grid-template-columns: 12px 1fr; gap: 7px; align-items: start;
}
.acc__note svg { width: 11px; height: 11px; color: var(--emerald-400); margin-top: 1px; }

.tgrid h3 { font-size: clamp(1.35rem, 2.1vw, 1.85rem); letter-spacing: -.032em; line-height: 1.18; }
.tgrid > div > p { margin-top: 1rem; font-size: 1rem; line-height: 1.68; color: var(--muted); max-width: 46ch; }
.tgrid .say {
  margin-top: 1.5rem; padding-left: 1.1rem; border-left: 2px solid var(--emerald);
  font-size: 1.02rem; line-height: 1.55; color: var(--ink); font-weight: 600; letter-spacing: -.018em;
}

/* ── Five security pillars ──────────────────────────────────────────────── */
.tpil {
  margin-top: clamp(36px, 4.2vw, 60px);
  display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(14px, 1.8vw, 26px);
  border-top: 1px solid var(--line); padding-top: clamp(24px, 2.8vw, 36px);
}
@media (max-width: 1080px) { .tpil { grid-template-columns: repeat(3, 1fr); row-gap: 30px; } }
@media (max-width: 640px)  { .tpil { grid-template-columns: 1fr; row-gap: 24px; } }
.tpil__i + .tpil__i { border-left: 1px solid var(--line-soft); padding-left: clamp(14px, 1.8vw, 26px); }
@media (max-width: 1080px) { .tpil__i:nth-child(3n+1) { border-left: 0; padding-left: 0; } }
@media (max-width: 640px) {
  .tpil__i + .tpil__i { border-left: 0; padding-left: 0; border-top: 1px solid var(--line-soft); padding-top: 22px; }
}
.tpil__ic {
  width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center;
  background: var(--emerald-tint); color: var(--emerald-700); margin-bottom: .85rem;
}
.tpil__ic svg { width: 15px; height: 15px; }
.tpil__i h3 {
  font-family: var(--font-mono); font-size: .66rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink); font-weight: 500;
}
.tpil__i p { font-size: .94rem; line-height: 1.55; color: var(--muted); margin-top: .55rem; }

/* ── Client logo strip ──────────────────────────────────────────────────── */
.proof {
  margin-top: clamp(38px, 4.4vw, 64px);
  border-top: 1px solid var(--line); padding-top: clamp(26px, 3vw, 40px);
}
.proof__k {
  font-family: var(--font-mono); font-size: .66rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted-2); text-align: center;
}
.logos {
  list-style: none; margin: clamp(20px, 2.4vw, 32px) auto 0; padding: 0;
  max-width: 920px;
  /* flex, not grid: nine logos never divide evenly into a column count, and a
     wrapped flex row stays centred instead of leaving a ragged last row */
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: clamp(20px, 2.6vw, 38px) clamp(24px, 3.4vw, 58px);
  align-items: center;
}
/* one consistent optical box per cell, so a wide wordmark and a square mark
   carry the same weight on the wall */
.logos li { display: grid; place-items: center; flex: 0 0 auto; max-width: 172px; min-height: 54px; }
/* These are real client marks and the page asks the reader to believe them,
   so they have to be legible. The previous treatment — 46% opacity over
   brightness(.35) — rendered them as faint smudges on white: present in the
   DOM, invisible on the page. Grayscale keeps the wall calm; the opacity and
   brightness crush did nothing but hide it. */
.logos img {
  max-width: 100%; max-height: 54px; width: auto; height: auto;
  opacity: .82; filter: grayscale(1) contrast(1.04);
  transition: opacity var(--t-std) var(--e-out), filter var(--t-std) var(--e-out);
}
.logos li:hover img { opacity: 1; filter: grayscale(0) contrast(1); }
@media (max-width: 520px) { .logos { gap: 22px 26px; } .logos li { min-height: 40px; max-width: 128px; } .logos img { max-height: 42px; } }

.proof__ind {
  margin-top: clamp(22px, 2.6vw, 34px); display: flex; flex-wrap: wrap;
  justify-content: center; gap: 7px;
}
.proof__ind span {
  font-size: .8rem; color: var(--muted);
  border: 1px solid var(--line); border-radius: 100px; padding: .34em .85em;
}

/* ── Testimonial (component built, awaiting verified content) ───────────── */
.tquote {
  margin-top: clamp(34px, 4vw, 56px);
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r-xl); padding: clamp(24px, 3vw, 44px);
  display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(22px, 3vw, 48px); align-items: center;
}
@media (max-width: 860px) { .tquote { grid-template-columns: 1fr; } }
.tquote blockquote { margin: 0; }
.tquote blockquote p {
  font-family: var(--font-display); font-size: clamp(1.15rem, 1.9vw, 1.5rem);
  line-height: 1.38; letter-spacing: -.026em; color: var(--ink); font-weight: 500;
}
.tquote cite {
  display: block; margin-top: 1.3rem; font-style: normal; font-size: .88rem;
  color: var(--muted); line-height: 1.5;
}
.tquote cite b { display: block; color: var(--ink); font-weight: 600; }
.tqmeta { display: grid; gap: 10px; }
.tqmeta > div {
  border: 1px solid var(--line); border-radius: var(--r); padding: 13px 15px;
}
.tqmeta b { display: block; font-family: var(--font-mono); font-size: .58rem; letter-spacing: .13em; text-transform: uppercase; color: var(--muted-2); }
.tqmeta span { display: block; font-size: .88rem; color: var(--ink-3); margin-top: .35rem; line-height: 1.45; }

/* ── Product. Implementation. Support. ──────────────────────────────────── */
.tdeliv {
  margin-top: clamp(34px, 4vw, 56px);
  display: flex; flex-wrap: wrap; align-items: baseline; gap: .6rem 1.2rem;
  background: linear-gradient(120deg, rgba(8,127,91,.08), rgba(63,50,141,.06));
  border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(16px, 2vw, 24px) clamp(18px, 2.4vw, 30px);
}
.tdeliv b { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; letter-spacing: -.024em; color: var(--ink); }
.tdeliv span { font-size: .92rem; color: var(--ink-3); }

/* ── Policies + CTA ─────────────────────────────────────────────────────── */
.tclose {
  margin-top: clamp(34px, 4vw, 56px);
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 3vw, 48px); align-items: center;
}
@media (max-width: 860px) { .tclose { grid-template-columns: 1fr; } }
.tclose h3 { font-size: clamp(1.35rem, 2.1vw, 1.85rem); letter-spacing: -.032em; line-height: 1.18; }
.tclose p { margin-top: .9rem; font-size: .96rem; line-height: 1.65; color: var(--muted); }
.tclose .ctas { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.5rem; }
.tpol { display: flex; flex-wrap: wrap; gap: 1.2rem; margin-top: 1.4rem; }
.tpol a {
  font-size: .85rem; color: var(--muted); text-decoration: none;
  border-bottom: 1px solid var(--line); padding-bottom: 1px;
  transition: color var(--t-fast) var(--e-out), border-color var(--t-fast) var(--e-out);
}
.tpol a:hover { color: var(--ink); border-bottom-color: var(--emerald); }

.ttrans {
  margin-top: clamp(34px, 3.8vw, 54px); padding-top: clamp(24px, 2.6vw, 36px);
  border-top: 1px solid var(--line);
  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) {
  .logos img { transition: none !important; }
}

.tclose > *, .tgrid > *, .tquote > * { min-width: 0; }


/* A fine gold rule above the customer proof — a quiet premium marker at the
   point the page asks to be believed. Graphic, so contrast does not bind. */
.proof { position: relative; }
.proof::after {
  content: ''; position: absolute; top: -1px; left: 50%; transform: translateX(-50%);
  width: 132px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
