/* ============================================================
   GUARDIAN PAGE — hero, pipeline, threat library, signals
   (extends styles.css)
   ============================================================ */

/* ---------- Hero ---------- */
.ghero { background: var(--purple); color: var(--white); border-bottom: var(--bd); position: relative; overflow: clip; }
.ghero__deco {
  position: absolute; font-family: var(--display); font-weight: 800; font-size: 21vw;
  color: rgba(255,255,255,.05); top: -0.18em; left: -0.04em; white-space: nowrap;
  text-transform: uppercase; pointer-events: none; letter-spacing: -.03em;
}
.ghero__grid {
  display: grid; grid-template-columns: 1.12fr 1fr; gap: clamp(36px, 5vw, 70px);
  align-items: center; padding-block: clamp(54px, 7vw, 104px);
  position: relative; z-index: 1;
}
.ghero .kicker { color: var(--lime); }
.ghero .kicker::before { border-color: rgba(255,255,255,.85); }
.ghero h1 {
  font-family: var(--display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(38px, 4.9vw, 76px); line-height: .97; letter-spacing: -.028em;
  padding-bottom: .05em;
}
.ghero h1 em { font-style: normal; color: var(--lime); }
.ghero .lead { opacity: .94; }
.ghero__copy { display: flex; flex-direction: column; gap: 24px; }
.ghero__stats { display: flex; gap: 30px; flex-wrap: wrap; padding-top: 4px; }
.ghero__stats .stat strong { font-family: var(--display); font-weight: 800; font-size: 31px; display: block; line-height: 1; letter-spacing: -.02em; }
.ghero__stats .stat span { font-size: 13px; font-weight: 600; opacity: .75; letter-spacing: .02em; }
.ghero__art { position: relative; }
.ghero__art > img {
  width: 100%; border: var(--bd); border-radius: var(--r);
  box-shadow: 10px 10px 0 var(--ink);
}
.ghero__art .sticker { position: absolute; left: 18px; bottom: 18px; }
.btn--paper { background: var(--paper); color: var(--ink); }

/* ---------- Pipeline: from click to verdict ---------- */
.pipe { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; counter-reset: pstep; }
.pstep {
  position: relative;
  border: var(--bd); border-radius: var(--r); background: var(--white);
  padding: 26px 24px 24px; box-shadow: var(--shadow-hard-sm);
  display: flex; flex-direction: column; gap: 12px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.pstep:hover { transform: translate(-3px,-3px); box-shadow: var(--shadow-hard); }
.pstep__time {
  align-self: flex-start;
  font-family: var(--display); font-weight: 800; font-size: 13px; letter-spacing: .03em;
  background: var(--lime); border: 2px solid var(--ink); border-radius: 999px;
  padding: 5px 12px; text-transform: uppercase;
}
.pstep__n { font-family: var(--display); font-weight: 800; font-size: 46px; line-height: 1; color: var(--lavender); -webkit-text-stroke: 1.6px var(--ink); paint-order: stroke fill; }
.pstep h3 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 21px; letter-spacing: -.01em; line-height: 1; }
.pstep p { font-size: 14px; opacity: .76; line-height: 1.5; }
.pstep::after {
  content: "→"; position: absolute; right: -19px; top: 50%; transform: translateY(-50%);
  font-family: var(--display); font-weight: 800; font-size: 22px; color: var(--ink); z-index: 2;
}
.pstep:last-child::after { display: none; }
.pstep--verdict { background: var(--ink); color: var(--paper); }
.pstep--verdict .pstep__n { color: var(--lime); -webkit-text-stroke: 0; }
.pstep--verdict p { opacity: .8; }

/* ---------- Threat library (on ink) ---------- */
.tlib { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.tcard {
  border: 1.5px solid rgba(255,255,255,.12); border-radius: 16px;
  background: rgba(255,255,255,.03); color: var(--paper);
  padding: 22px 20px 20px;
  display: flex; flex-direction: column; gap: 10px;
  transition: transform .16s ease, border-color .16s ease, background .16s ease;
}
.tcard:hover { transform: translateY(-4px); border-color: rgba(195,242,60,.55); background: rgba(195,242,60,.07); }
.tcard__n { font-family: var(--display); font-weight: 800; font-size: 13px; color: var(--lime); letter-spacing: .05em; }
.tcard h3 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 18.5px; letter-spacing: -.01em; line-height: 1.05; }
.tcard p { font-size: 13.5px; opacity: .68; line-height: 1.45; }
.tcard__tag {
  margin-top: auto; align-self: flex-start;
  font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em;
  border: 1.5px solid currentColor; border-radius: 999px; padding: 4px 11px;
}
.tcard__tag--block { color: #FF7B7B; }
.tcard__tag--hide { color: var(--lavender); }
.tcard__tag--warn { color: var(--lime); }

/* ---------- Demo heading tweaks ---------- */
.gdemo .section__head { margin-bottom: 40px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .ghero__grid { grid-template-columns: 1fr; }
  .ghero__art { max-width: 560px; }
  .pipe { grid-template-columns: 1fr 1fr; }
  .pstep::after { display: none; }
  .tlib { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .pipe { grid-template-columns: 1fr; }
  .tlib { grid-template-columns: 1fr; }
}
