/* ============================================================
   /technology/deepfake-detection/ — Key Technologies category page.
   Additions + overrides only; the base layout comes from the shared
   document-verification.css (this page's root carries BOTH
   .p-document-verification and .p-keytech-deepfake-detection).
   Tokens only. All rules scoped to .p-keytech-deepfake-detection.

   Visuals are FAKE MOCKUPS built in-page (SVG/CSS, tokens only) so the
   intent is visible; every one keeps its data-ph and carries a small
   yellow "Mockup" corner chip so it stays identifiable and greppable.
   Replace with final marketing art. (G1/G2, Nacim review 2026-07-31.)
   ============================================================ */

/* ============================================================
   MOCKUP KIT — shared wireframe primitives (delete when final art lands)
   ============================================================ */
.p-keytech-deepfake-detection .dfd-mock { position: relative; }

/* portrait glyph — canonical treatment (RONDA 3 avatar rule): the site
   icon-set user glyph (public/icons/user.svg path, uniform stroke) centered in
   a light circular chip. Replaces the disliked grey silhouette bust; the same
   glyph + chip appear wherever a person shows up (hero, anatomy, capture cards,
   phone). The deepfake/--bad variant reuses it, red-tinted; the glitch/seam/
   scan overlays stay so the real-vs-generated read is preserved. */
.p-keytech-deepfake-detection {
  --dfd-user: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"><path d="M5.94141 19.9996C5.94141 17.891 7.60505 15.2656 12.4002 15.2656C17.1944 15.2656 18.858 17.8719 18.858 19.9815"/><path d="M16.5258 8.12567C16.5258 10.4043 14.6788 12.2513 12.4001 12.2513C10.1224 12.2513 8.27539 10.4043 8.27539 8.12567C8.27539 5.847 10.1224 4 12.4001 4C14.6788 4 16.5258 5.847 16.5258 8.12567Z"/></svg>');
}
.p-keytech-deepfake-detection .dfd-face { position: relative; width: 100%; height: 100%; }
.p-keytech-deepfake-detection .dfd-face::before { /* light circular chip */
  content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 56%; aspect-ratio: 1; border-radius: 50%; background: var(--color-grey-100);
}
.p-keytech-deepfake-detection .dfd-face::after { /* the user glyph, masked from the icon */
  content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 40%; aspect-ratio: 1; background: var(--color-grey-400);
  -webkit-mask: var(--dfd-user) center / contain no-repeat;
  mask: var(--dfd-user) center / contain no-repeat;
}

/* camera / capture area with corner brackets */
.p-keytech-deepfake-detection .dfd-cam {
  position: relative; overflow: hidden; border-radius: 12px;
  background: linear-gradient(160deg, color-mix(in oklab, var(--color-blue-500) 10%, var(--color-grey-50)), var(--color-grey-50) 74%);
}
.p-keytech-deepfake-detection .dfd-cam--bad {
  background: linear-gradient(160deg, color-mix(in oklab, var(--color-red-500) 12%, var(--color-grey-50)), var(--color-grey-50) 74%);
}
.p-keytech-deepfake-detection .dfd-cam--bad .dfd-face::before {
  background: color-mix(in oklab, var(--color-red-500) 14%, var(--color-grey-100));
}
.p-keytech-deepfake-detection .dfd-cam--bad .dfd-face::after {
  background: color-mix(in oklab, var(--color-red-500) 58%, var(--color-grey-400));
}
/* glitch banding for a synthetic face */
.p-keytech-deepfake-detection .dfd-glitch {
  position: absolute; left: 0; right: 0; top: 44%; height: 5px;
  background: color-mix(in oklab, var(--color-red-500) 42%, transparent);
}
.p-keytech-deepfake-detection .dfd-glitch--2 { top: 60%; height: 3px; background: color-mix(in oklab, var(--color-red-400) 34%, transparent); }

.p-keytech-deepfake-detection .dfd-brk { position: absolute; width: 16px; height: 16px; border: 2px solid var(--color-blue-500); }
.p-keytech-deepfake-detection .dfd-brk--bad { border-color: var(--color-red-500); }
.p-keytech-deepfake-detection .dfd-brk--tl { top: 9px; left: 9px; border-right: 0; border-bottom: 0; border-radius: 5px 0 0 0; }
.p-keytech-deepfake-detection .dfd-brk--tr { top: 9px; right: 9px; border-left: 0; border-bottom: 0; border-radius: 0 5px 0 0; }
.p-keytech-deepfake-detection .dfd-brk--bl { bottom: 9px; left: 9px; border-right: 0; border-top: 0; border-radius: 0 0 0 5px; }
.p-keytech-deepfake-detection .dfd-brk--br { bottom: 9px; right: 9px; border-left: 0; border-top: 0; border-radius: 0 0 5px 0; }

/* skeleton rows */
.p-keytech-deepfake-detection .dfd-row { height: 7px; border-radius: 999px; background: var(--color-grey-100); }
.p-keytech-deepfake-detection .dfd-row--accent { background: color-mix(in oklab, var(--color-blue-500) 34%, var(--color-blue-100)); }

/* status verdict chip (green pass / red block) */
.p-keytech-deepfake-detection .dfd-status {
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  padding: 4px 10px 4px 8px; border-radius: 999px; background: var(--color-white);
  font-size: var(--fs-xs); font-weight: 600; color: var(--color-grey-500);
  box-shadow: inset 0 0 0 1px var(--color-border-light);
}
.p-keytech-deepfake-detection .dfd-status::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; flex: 0 0 auto; background: var(--color-grey-300);
}
.p-keytech-deepfake-detection .dfd-status--ok { color: var(--color-green-600); }
.p-keytech-deepfake-detection .dfd-status--ok::before { background: var(--color-green-flow); box-shadow: 0 0 0 3px color-mix(in oklab, var(--color-green-flow) 22%, transparent); }
.p-keytech-deepfake-detection .dfd-status--bad { color: var(--color-red-600); }
.p-keytech-deepfake-detection .dfd-status--bad::before { background: var(--color-red-500); box-shadow: 0 0 0 3px color-mix(in oklab, var(--color-red-500) 20%, transparent); }

/* browser / desktop / dashboard window */
.p-keytech-deepfake-detection .dfd-win {
  width: min(94%, 220px); border-radius: 11px; overflow: hidden; background: var(--color-white);
  border: 1px solid var(--color-border-light);
  box-shadow: none;
}
.p-keytech-deepfake-detection .dfd-win__bar {
  display: flex; align-items: center; gap: 5px; padding: 7px 10px;
  border-bottom: 1px solid var(--color-border-light); background: var(--color-grey-50);
}
.p-keytech-deepfake-detection .dfd-win__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--color-grey-200); flex: 0 0 auto; }
.p-keytech-deepfake-detection .dfd-win__addr { margin-left: 6px; height: 8px; flex: 1; border-radius: 999px; background: var(--color-grey-100); }
.p-keytech-deepfake-detection .dfd-win__body { position: relative; padding: 12px; }

/* ============================================================
   1 · HERO — the ID fan is dropped for a real-vs-generated comparison:
   a "Real capture" panel and a "Generated face" panel, analyzed by Deepsight
   between them. G10: the card stays viewport-sized (100svh, overflow hidden);
   copy sits at the top and the comparison fills the lower band, clipping
   gracefully at the card foot on short viewports.
   ============================================================ */
/* EXACT document-verification geometry (owner order 2026-08-03): zero
   .dv-hero / .dv-hero__inner overrides, so the copy group (pill · title ·
   sub · actions) sits pixel-identical to /technology/document-verification/.
   The two-panel mock lives ONLY in the shared .dv-hero__foot band (the DV
   ID-row box). */
/* this page's sub runs longer — widen its measure so it holds 2 lines
   (position unchanged; only the wrap width) */
.p-keytech-deepfake-detection .dv-hero__sub { max-width: 640px; }

.p-keytech-deepfake-detection .dfd-hero__mock { width: min(640px, calc(100% - 40px)); }
.p-keytech-deepfake-detection .dfd-hero__panels {
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: stretch; gap: 14px;
}
/* panels stay side-by-side at every width — stacked they'd overrun the foot band */

.p-keytech-deepfake-detection .dfd-vpanel {
  display: flex; flex-direction: column; gap: 12px; text-align: left;
  padding: 14px; border-radius: 18px; background: var(--color-white);
  box-shadow: inset 0 0 0 1px var(--color-border-light);
}
.p-keytech-deepfake-detection .dfd-vpanel__top {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.p-keytech-deepfake-detection .dfd-vpanel__label {
  font-family: var(--font-display); font-weight: 500; font-size: var(--fs-sm); color: var(--color-black);
}
.p-keytech-deepfake-detection .dfd-vpanel .dfd-cam { width: 100%; aspect-ratio: 4 / 3.4; }

/* live scanline on the real capture */
.p-keytech-deepfake-detection .dfd-scanline {
  position: absolute; left: 10%; right: 10%; top: 20%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-blue-500), transparent);
  box-shadow: none;
  animation: dfd-scan 3s var(--ease-out-expo) infinite;
}
@keyframes dfd-scan { 0% { top: 20%; opacity: 0; } 16% { opacity: 1; } 60% { top: 78%; opacity: 1; } 78%, 100% { top: 78%; opacity: 0; } }

/* center Deepsight node with connectors */
.p-keytech-deepfake-detection .dfd-core {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  min-width: 88px; padding: 0 4px; color: var(--color-white);
}
.p-keytech-deepfake-detection .dfd-core::before,
.p-keytech-deepfake-detection .dfd-core::after {
  content: ""; position: absolute; top: 50%; width: 12px; height: 2px;
  background: color-mix(in oklab, var(--color-white) 40%, transparent);
}
.p-keytech-deepfake-detection .dfd-core::before { left: -6px; }
.p-keytech-deepfake-detection .dfd-core::after { right: -6px; }
.p-keytech-deepfake-detection .dfd-core__badge {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px;
  background: color-mix(in oklab, var(--color-blue-500) 30%, transparent);
  border: 1px solid color-mix(in oklab, var(--color-white) 28%, transparent);
  box-shadow: 0 0 0 6px color-mix(in oklab, var(--color-blue-500) 14%, transparent);
}
.p-keytech-deepfake-detection .dfd-core__badge .ds-icon { width: 26px; height: 26px; color: var(--color-white); }
.p-keytech-deepfake-detection .dfd-core__name {
  font-family: var(--font-display); font-weight: 500; font-size: var(--fs-xs); letter-spacing: var(--track-wide);
  color: var(--color-blue-200); text-align: center;
}
@media (max-width: 720px) {
  .p-keytech-deepfake-detection .dfd-core { flex-direction: row; min-width: 0; padding: 4px 0; }
  .p-keytech-deepfake-detection .dfd-core::before,
  .p-keytech-deepfake-detection .dfd-core::after { display: none; }
}

/* ---- hero panels v2 (Mike 2026-08-08): the white cards go GLASS over
   the aurora (liveness-hero treatment) and the skeleton faces become the
   LIVE selfie loop — right side mirrored + re-graded uncanny. Scoped to
   .dfd-hero__mock only; the page's other dfd-cam/dfd-face mockups keep
   their light kit. ---- */
.p-keytech-deepfake-detection .dfd-hero__mock .dfd-vpanel {
  background: color-mix(in oklab, var(--color-white) 8%, transparent);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--color-white) 18%, transparent);
}
.p-keytech-deepfake-detection .dfd-hero__mock .dfd-vpanel__label {
  color: var(--color-white);
  /* r2: 'Generated face' wraps — keep the two lines snug */
  line-height: 1.15;
}
/* the cams are liveness-orb compositions (r3): gradient ring — blue on
   the real side, red on the fake — around the circular footage, with a
   thin halo outside; sized down so the panels sit whole above the fold.
   r4: the mock floats off the card foot, and the footage also fills the
   whole orb as a BLURRED ground reaching the outer halo circle. */
.p-keytech-deepfake-detection .dfd-hero__mock { margin-bottom: 36px; }
.p-keytech-deepfake-detection .dfd-orb {
  position: relative;
  width: min(78%, 220px);
  aspect-ratio: 1;
  margin-inline: auto;
}
.p-keytech-deepfake-detection .dfd-orb::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 1px solid color-mix(in oklab, var(--color-white) 22%, transparent);
  /* the ::before is first in DOM — lift it over the blurred ground */
  z-index: 1;
}
.p-keytech-deepfake-detection .dfd-orb--bad::before {
  border-color: color-mix(in oklab, var(--color-red-500) 30%, transparent);
}
/* the blurred footage ground, out to the halo circle */
.p-keytech-deepfake-detection .dfd-orb__bg {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  overflow: hidden;
  display: block;
  /* blur applies after the circular clip — the edge melts into the hero
     (r5: just a whisper — Mike wants the ground readable) */
  filter: blur(3px);
}
/* r5 (Mike): the ground shows the COMPLETE frame — no zoom, no burst
   (the burst keyframes carry the cam zoom); the fake ground keeps only
   its mirror + grade */
.p-keytech-deepfake-detection .dfd-orb__bg .dfd-cam__vid {
  transform: none;
  animation: none;
}
.p-keytech-deepfake-detection .dfd-orb__ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.p-keytech-deepfake-detection .dfd-orb__cam {
  position: absolute;
  /* r5: the capture mask reaches almost to the ring */
  inset: 5.5%;
  border-radius: 50%;
  overflow: hidden;
  background: color-mix(in oklab, var(--color-black) 55%, transparent);
  z-index: 1;
}
/* r4: the Deepsight connectors meet the shield BADGE's own center — the
   core column also holds the name below, so its 50% sits too low */
.p-keytech-deepfake-detection .dfd-core::before,
.p-keytech-deepfake-detection .dfd-core::after { top: calc(50% - 12px); }
.p-keytech-deepfake-detection .dfd-cam__vid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* the footage carries its own baked-in capture ring near the edges —
     zoom past it so the cam shows only the face */
  transform: scale(1.3);
}
/* the deepfake read (r18): the LEFT footage VERBATIM as a mask over the
   real fraudster's feed. One 7s cycle tells the story — distortion tic at
   ~3s (42-45%), mask cut-out at 4s→6s (57-86%) showing the man, snap back.
   steps(1) = hard cuts, the failure reads digital. */
.p-keytech-deepfake-detection .dfd-cam__vid--under { transform: scale(1.05); }
.p-keytech-deepfake-detection .dfd-cam__vid--mask {
  /* r20: linear (not steps) — the hand-off is a soft alpha flutter */
  animation: dfd-df-cycle 7s linear infinite;
}
/* r19-r22 (Mike): FAST geometry glitches (~100ms, no color) at ~3s and
   ~6.4s; the hand-off stays a subtle alpha flutter — soft dips, the real
   caller holds ~0.75s, a soft return */
@keyframes dfd-df-cycle {
  0%, 100% { opacity: 1; transform: scale(1.3); }
  42% { opacity: 1; transform: scale(1.3); }
  42.3% { opacity: 1; transform: scale(1.33) translate(-2%, 0.8%); }
  42.7% { opacity: 1; transform: scale(1.31) translate(1.6%, -0.6%); }
  43.1% { opacity: 1; transform: scale(1.3); }
  56% { opacity: 1; }
  57.2% { opacity: 0.3; }
  58.2% { opacity: 0.7; }
  60% { opacity: 0; }
  63% { opacity: 0; }
  64.3% { opacity: 0.6; }
  65.3% { opacity: 0.25; }
  66.7% { opacity: 1; transform: scale(1.3); }
  91.4% { opacity: 1; transform: scale(1.3); }
  91.7% { opacity: 1; transform: scale(1.32) translate(1.4%, -0.5%); }
  92.1% { opacity: 1; transform: scale(1.3) translate(-1%, 0.4%); }
  92.5% { opacity: 1; transform: scale(1.3); }
}
@media (prefers-reduced-motion: reduce) {
  .p-keytech-deepfake-detection .dfd-cam__vid--mask { animation: none; }
}
/* the fake side scans too — same sweep as the blue one, in red */
.p-keytech-deepfake-detection .dfd-scanline--red {
  background: linear-gradient(90deg, transparent, var(--color-red-500), transparent);
  box-shadow: none;
}

/* ---- anatomy solo figure (Mike 2026-08-08): the two-card skeleton
   compare gives way to ONE centered aframe carrying the hero's circular
   AI-generated footage on the light ground ---- */
/* the .dfd-anatomy scope out-specifies the base compare rule below —
   its display:grid (1fr auto 1fr) would park the lone figure in the
   left column on file order otherwise */
.p-keytech-deepfake-detection .dfd-anatomy .dfd-anatomy__compare--solo {
  display: flex;
  justify-content: center;
}
.p-keytech-deepfake-detection .dfd-anatomy__compare--solo .dfd-aframe {
  width: min(320px, 100%);
}
/* the anatomy orb sits on the light ground: white cam base so the
   footage edges read clean inside the red ring */
.p-keytech-deepfake-detection .dfd-anatomy__compare--solo .dfd-orb { margin-block: 8px; }
.p-keytech-deepfake-detection .dfd-anatomy__compare--solo .dfd-orb__cam { background: var(--color-grey-50); }
/* r6 (Mike): plain white card — the analysis dot-grid retires here —
   and the Synthetic note rides a bit lower */
.p-keytech-deepfake-detection .dfd-anatomy__compare--solo .dfd-aframe { background-image: none; }
.p-keytech-deepfake-detection .dfd-anatomy__compare--solo .dfd-aframe__note { margin-top: 18px; }
/* r7 (Mike): the blurred ground returns here too — exactly the hero's
   composition (it also leads the dfdanat sync group; hiding it left a
   display:none leader yanking the visible copy every resync) */

/* ============================================================
   ANATOMY (light) — a real face vs an AI-generated face, side by side, then
   the tell-tale signals a human misses. White ground · dot-grid analysis
   frames · clean grey portrait · one blue accent (G13). Centered, didactic.
   ============================================================ */
.p-keytech-deepfake-detection .dfd-anatomy { background: var(--color-white); border-top: 1px solid var(--color-border-light); }
.p-keytech-deepfake-detection .dfd-anatomy__head { max-width: 660px; margin-inline: auto; text-align: center; }
.p-keytech-deepfake-detection .dfd-anatomy__head .dv-intro { margin-inline: auto; }

/* the side-by-side comparison */
.p-keytech-deepfake-detection .dfd-anatomy__compare {
  margin: clamp(32px, 4.5vw, 52px) auto 0; max-width: 660px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  gap: clamp(16px, 2.6vw, 30px);
}
@media (max-width: 560px) {
  .p-keytech-deepfake-detection .dfd-anatomy__compare { grid-template-columns: 1fr; gap: 16px; max-width: 320px; }
}
.p-keytech-deepfake-detection .dfd-aframe {
  margin: 0; padding: 14px; border-radius: 20px;
  background: var(--color-white); border: 1px solid var(--color-border-light);
  box-shadow: none;
  background-image: radial-gradient(color-mix(in oklab, var(--color-grey-200) 45%, transparent) 1.1px, transparent 1.3px);
  background-size: 15px 15px;
}
.p-keytech-deepfake-detection .dfd-aframe__label {
  display: flex; align-items: center; gap: 7px; margin-bottom: 10px;
  font-family: var(--font-display); font-weight: 500; font-size: var(--fs-sm); color: var(--color-black);
}
.p-keytech-deepfake-detection .dfd-aframe__dot { width: 8px; height: 8px; border-radius: 50%; flex: 0 0 auto; }
.p-keytech-deepfake-detection .dfd-aframe__dot--ok { background: var(--color-green-flow); box-shadow: 0 0 0 3px color-mix(in oklab, var(--color-green-flow) 20%, transparent); }
.p-keytech-deepfake-detection .dfd-aframe__dot--bad { background: var(--color-red-500); box-shadow: 0 0 0 3px color-mix(in oklab, var(--color-red-500) 18%, transparent); }
.p-keytech-deepfake-detection .dfd-aframe .dfd-cam { width: 100%; aspect-ratio: 4 / 4.2; }
.p-keytech-deepfake-detection .dfd-aframe__note {
  margin: 10px 0 0; font-size: var(--fs-xs); line-height: 1.45; color: var(--color-grey-on-white); text-align: center;
}
.p-keytech-deepfake-detection .dfd-aframe__note--bad { color: var(--color-red-600); }
.p-keytech-deepfake-detection .dfd-anatomy__vs {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--color-white); border: 1px solid var(--color-border-light);
  font-size: var(--fs-xs); color: var(--color-grey-400);
  box-shadow: none;
}
@media (max-width: 560px) { .p-keytech-deepfake-detection .dfd-anatomy__vs { justify-self: center; } }

/* the swap seam + scan over the generated face */
.p-keytech-deepfake-detection .dfd-seam--v {
  position: absolute; z-index: 2; left: 33%; top: 10%; bottom: 10%; width: 2px;
  background: linear-gradient(180deg, transparent, color-mix(in oklab, var(--color-red-500) 45%, transparent), transparent);
}
.p-keytech-deepfake-detection .dfd-anatomy__scan {
  position: absolute; left: 8%; right: 8%; top: 16%; height: 2px; z-index: 3;
  background: linear-gradient(90deg, transparent, var(--color-red-400), transparent);
  animation: dfd-scan 3.4s var(--ease-out-expo) infinite;
}

/* the tell-tale signal legend — one aligned row of four */
.p-keytech-deepfake-detection .dfd-signals {
  margin: clamp(30px, 4vw, 46px) auto 0; max-width: 960px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
  list-style: none; padding: 0;
}
@media (max-width: 860px) { .p-keytech-deepfake-detection .dfd-signals { grid-template-columns: repeat(2, 1fr); gap: 24px 22px; } }
@media (max-width: 460px) { .p-keytech-deepfake-detection .dfd-signals { grid-template-columns: 1fr; gap: 18px; } }
.p-keytech-deepfake-detection .dfd-signal { padding-top: 14px; border-top: 1px solid var(--color-border-light); }
.p-keytech-deepfake-detection .dfd-signal__name {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 500; font-size: var(--fs-sm); color: var(--color-black);
}
.p-keytech-deepfake-detection .dfd-signal__name::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--color-blue-500); flex: 0 0 auto;
}
.p-keytech-deepfake-detection .dfd-signal__line {
  display: block; margin-top: 6px; font-size: var(--fs-xs); line-height: 1.5; color: var(--color-grey-on-white);
}
.p-keytech-deepfake-detection .dfd-anatomy__caption {
  margin-top: clamp(26px, 3.5vw, 40px); text-align: center; font-size: var(--fs-sm); color: var(--color-grey-on-white);
}

/* ============================================================
   3 · THREAT — the vector cards keep their source line; the fraud chart is
   replaced by the injection-vs-real diagram (built mockup, white nodes on the
   dark ground). Both paths pass Deepsight; only the real one gets through.
   ============================================================ */
.p-keytech-deepfake-detection .dfd-threat__src {
  display: block; margin-top: 12px; font-size: var(--fs-xs); font-style: normal;
  letter-spacing: var(--track-wide); color: color-mix(in oklab, var(--color-white) 50%, transparent);
}

.p-keytech-deepfake-detection .dfd-inject {
  margin: 44px auto 0; max-width: 940px; padding: 22px;
  border-radius: var(--radius-lg); border: 1px solid color-mix(in oklab, var(--color-white) 14%, transparent);
  background: color-mix(in oklab, var(--color-white) 4%, transparent);
}
.p-keytech-deepfake-detection .dfd-inject__title {
  font-family: var(--font-display); font-weight: 500; font-size: var(--fs-sm);
  letter-spacing: var(--track-wide); color: color-mix(in oklab, var(--color-white) 72%, transparent);
}
.p-keytech-deepfake-detection .dfd-ilane { position: relative; margin-top: 18px; }
.p-keytech-deepfake-detection .dfd-ilane + .dfd-ilane { margin-top: 14px; }
.p-keytech-deepfake-detection .dfd-ilane__tag {
  display: block; margin-bottom: 8px; font-size: var(--fs-xs); letter-spacing: var(--track-wide);
  color: color-mix(in oklab, var(--color-white) 56%, transparent);
}
.p-keytech-deepfake-detection .dfd-ilane--bad .dfd-ilane__tag { color: color-mix(in oklab, var(--color-red-400) 84%, white); }
.p-keytech-deepfake-detection .dfd-ilane--ok .dfd-ilane__tag { color: color-mix(in oklab, var(--color-green-flow) 78%, white); }
/* connecting rail behind the nodes */
.p-keytech-deepfake-detection .dfd-ilane__rail {
  position: absolute; left: 8px; right: 8px; top: calc(50% + 12px); height: 2px; z-index: 0;
  background: color-mix(in oklab, var(--color-white) 16%, transparent);
}
.p-keytech-deepfake-detection .dfd-ilane--bad .dfd-ilane__rail { background: color-mix(in oklab, var(--color-red-500) 40%, transparent); }
.p-keytech-deepfake-detection .dfd-ilane--ok .dfd-ilane__rail { background: color-mix(in oklab, var(--color-green-flow) 40%, transparent); }
.p-keytech-deepfake-detection .dfd-ilane__row {
  position: relative; z-index: 1; display: grid; grid-template-columns: repeat(5, 1fr);
  align-items: center; gap: 8px;
}
@media (max-width: 640px) {
  .p-keytech-deepfake-detection .dfd-ilane__row { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .p-keytech-deepfake-detection .dfd-ilane__rail { display: none; }
}
.p-keytech-deepfake-detection .dfd-inode {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px;
  padding: 8px 10px; border-radius: 10px; text-align: center;
  background: var(--color-white); border: 1px solid var(--color-border-light);
  font-size: var(--fs-xs); font-weight: 500; color: var(--color-grey-500);
  box-shadow: none;
}
.p-keytech-deepfake-detection .dfd-inode__ico {
  width: 12px; height: 12px; border-radius: 3px; flex: 0 0 auto;
  background: var(--color-green-flow);
}
.p-keytech-deepfake-detection .dfd-inode__ico--fake { border-radius: 50%; background: var(--color-red-500); }
.p-keytech-deepfake-detection .dfd-inode--warn {
  color: var(--color-red-600);
  border-color: color-mix(in oklab, var(--color-red-500) 40%, transparent);
  background: color-mix(in oklab, var(--color-red-500) 12%, var(--color-white));
}
.p-keytech-deepfake-detection .dfd-inode--ghost {
  color: color-mix(in oklab, var(--color-green-flow) 60%, var(--color-grey-400));
  border-style: dashed; background: color-mix(in oklab, var(--color-white) 82%, transparent);
  box-shadow: none;
}
.p-keytech-deepfake-detection .dfd-inode--gate {
  color: var(--color-blue-500); font-weight: 600;
  border-color: color-mix(in oklab, var(--color-blue-500) 45%, transparent);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--color-blue-500) 16%, transparent);
}
.p-keytech-deepfake-detection .dfd-inode--gate .ds-icon { width: 14px; height: 14px; }
@media (prefers-reduced-motion: reduce) {
  .p-keytech-deepfake-detection .dfd-scanline,
  .p-keytech-deepfake-detection .dfd-anatomy__scan { animation: none; opacity: 0.85; }
}

/* ============================================================
   4 · WHERE DEEPFAKES BREAK TRUST — each card's viz holds a built mockup that
   fills the panel; the card already provides the border/radius + blue field.
   ============================================================ */
.p-keytech-deepfake-detection .dfd-cap__mock {
  position: absolute; inset: 0; display: grid; place-items: center; padding: 16px 10px 44px;
}
.p-keytech-deepfake-detection .dfd-cap__badge {
  position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); z-index: 4;
}
.p-keytech-deepfake-detection .dfd-cap__mock .dfd-cam { width: 100%; aspect-ratio: 1 / 1; }

/* --- per-surface vignettes (Mike 2026-08-08 · r2: uniform browsers,
   live video, no chips) --- */
/* every vignette window matches #3's footprint so the row reads even */
.p-keytech-deepfake-detection .dfd-cap__mock .dfd-win {
  width: 100%;
  height: 132px;
  position: relative; top: -5px;
  display: flex;
  flex-direction: column;
}
.p-keytech-deepfake-detection .dfd-cap__mock .dfd-win__body {
  flex: 1; min-height: 0;
  display: grid; align-content: center;
}
/* media bodies: block layout so height: 100% chains resolve (a grid with
   align-content: center gives auto tracks — 100% heights collapse to 0) */
.p-keytech-deepfake-detection .dfd-cap__mock .dfd-win__body:has(.dfc-shot) { padding: 0; display: block; }
.p-keytech-deepfake-detection .dfd-cap__mock .dfd-win__body:has(.dfc-call) { padding: 8px; display: block; }
.p-keytech-deepfake-detection .dfd-cap__mock .dfd-win__body:has(.dfc-match) { padding: 8px 8px 12px; display: block; }
/* the selfie footage carries the capture ring at its edges — zoom the
   small fraud tiles past it */
.p-keytech-deepfake-detection .dfc-call__tile--fraud video,
.p-keytech-deepfake-detection .dfc-match__ph--fake video { transform: scale(1.28); }

/* 01 · onboarding — the capture card with its grey ground padded INSIDE
   the clip (r11): the browser paints ground and card through the same
   video pipeline, so they match on every display. The CSS color is just
   the pre-load fallback (footage grey ≈ rgb(182,182,182), token-derived). */
.p-keytech-deepfake-detection .dfc-shot {
  position: relative; width: 100%; height: 100%; overflow: hidden;
  background: color-mix(in srgb, var(--color-black) 28.4%, var(--color-white));
}
.p-keytech-deepfake-detection .dfc-shot video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.p-keytech-deepfake-detection .dfc-shot .dfd-brk { width: 10px; height: 10px; }
.p-keytech-deepfake-detection .dfc-shot .dfd-brk--tl,
.p-keytech-deepfake-detection .dfc-shot .dfd-brk--tr { top: 6px; }
.p-keytech-deepfake-detection .dfc-shot .dfd-brk--bl,
.p-keytech-deepfake-detection .dfc-shot .dfd-brk--br { bottom: 6px; }
.p-keytech-deepfake-detection .dfc-shot .dfd-brk--tl,
.p-keytech-deepfake-detection .dfc-shot .dfd-brk--bl { left: 6px; }
.p-keytech-deepfake-detection .dfc-shot .dfd-brk--tr,
.p-keytech-deepfake-detection .dfc-shot .dfd-brk--br { right: 6px; }
.p-keytech-deepfake-detection .dfc-shot .dfd-scanline { left: 6%; right: 6%; }

/* 02 · step-up screening lanes — mini console rows (dfw language, tile scale) */
.p-keytech-deepfake-detection .dfc-lanes { display: grid; gap: 5px; }
.p-keytech-deepfake-detection .dfc-lane {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 4px 8px; border-radius: 8px;
  border: 1px solid var(--color-border-light); background: var(--color-grey-50);
}
.p-keytech-deepfake-detection .dfc-lane__lbl { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 10px; font-weight: 500; color: var(--color-grey-500); }
.p-keytech-deepfake-detection .dfc-pill {
  flex: 0 0 auto; white-space: nowrap;
  font-size: 9px; font-weight: 600; line-height: 1.5; padding: 2px 7px; border-radius: 999px;
}
.p-keytech-deepfake-detection .dfc-pill--good { background: var(--color-green-100); color: var(--color-green-600); }
.p-keytech-deepfake-detection .dfc-pill--bad { background: var(--color-red-100); color: var(--color-red-600); }

/* 03 · helpdesk video call — two live tiles; the right feed is the fraud
   (red overlay + red scan running) */
.p-keytech-deepfake-detection .dfc-call {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  height: 100%; min-height: 0;
}
.p-keytech-deepfake-detection .dfc-call__tile {
  position: relative; overflow: hidden; border-radius: 10px;
  border: 1px solid var(--color-border-light); background: var(--color-grey-50);
}
.p-keytech-deepfake-detection .dfc-call__tile video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.p-keytech-deepfake-detection .dfc-call__tile--fraud {
  border-color: color-mix(in oklab, var(--color-red-500) 45%, transparent);
}
.p-keytech-deepfake-detection .dfc-call__tile--fraud::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: color-mix(in oklab, var(--color-red-500) 22%, transparent);
}
.p-keytech-deepfake-detection .dfc-scan-red {
  position: absolute; left: 6%; right: 6%; top: 20%; height: 2px; z-index: 1;
  background: linear-gradient(90deg, transparent, var(--color-red-500), transparent);
  box-shadow: none;
  animation: dfc-scanred 2.6s linear infinite;
}
@keyframes dfc-scanred {
  0% { top: 8%; opacity: 0; }
  12% { opacity: 1; }
  88% { top: 88%; opacity: 1; }
  100% { top: 92%; opacity: 0; }
}

/* 04 · fraud-ops session queue — flagged rows dripping in */
.p-keytech-deepfake-detection .dfc-queue { display: grid; gap: 5px; }
.p-keytech-deepfake-detection .dfc-qrow {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 8px;
  padding: 4px 8px; border-radius: 8px;
  border: 1px solid var(--color-border-light); background: var(--color-grey-50);
}
.p-keytech-deepfake-detection .dfc-qrow .dfd-row { height: 6px; }
.p-keytech-deepfake-detection .dfc-qdot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--color-red-500); box-shadow: 0 0 0 3px var(--color-red-100);
}
.p-keytech-deepfake-detection .dfc-qdot--ok { background: var(--color-green-flow); box-shadow: 0 0 0 3px var(--color-green-100); }

/* 05 · workforce match pair — enrolled ID (caller B) vs the stand-in on video */
.p-keytech-deepfake-detection .dfc-match {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  height: 100%; min-height: 0;
}
.p-keytech-deepfake-detection .dfc-match__side {
  margin: 0; min-height: 0;
  display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 4px;
}
.p-keytech-deepfake-detection .dfc-match__ph {
  position: relative; display: block; overflow: hidden; border-radius: 8px; min-height: 0;
  border: 1px solid var(--color-border-light); background: var(--color-grey-50);
}
.p-keytech-deepfake-detection .dfc-match__ph img,
.p-keytech-deepfake-detection .dfc-match__ph video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.p-keytech-deepfake-detection .dfc-match__ph--fake {
  border-color: color-mix(in oklab, var(--color-red-500) 45%, transparent);
  box-shadow: 0 0 0 3px var(--color-red-100);
}
.p-keytech-deepfake-detection .dfc-match__ph--fake::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: color-mix(in oklab, var(--color-red-500) 22%, transparent);
}
.p-keytech-deepfake-detection .dfc-match__lbl { font-size: 9px; font-weight: 500; line-height: 1.2; text-align: center; color: var(--color-grey-400); }
.p-keytech-deepfake-detection .dfc-match__lbl--bad { color: var(--color-red-600); }

@media (prefers-reduced-motion: reduce) {
  .p-keytech-deepfake-detection .dfc-scan-red { animation: none; opacity: 0; }
}

/* ============================================================
   5 · DEEPSIGHT — slim feature banner (copy left, CTA right); the dark
   band + blue glow come from .dv-deepsight (document-verification.css)
   ============================================================ */
.p-keytech-deepfake-detection .dfd-banner {
  position: relative;
  display: grid;
  gap: 28px;
}
@media (min-width: 900px) {
  .p-keytech-deepfake-detection .dfd-banner {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 64px;
  }
}
.p-keytech-deepfake-detection .dfd-banner .dv-intro { max-width: 620px; }

/* ============================================================
   HOW IT WORKS — the five PIPE stages as WHITE dashboard cards
   (Mike 2026-08-08): the deepsight dsw / liveness lvw screening-
   console vocabulary rebuilt page-scoped as dfw-* on the sol-how
   stage's light gradient panel. One card per stage, crossfaded by
   the standalone scroll-walk; bars fill, pills pop, lanes rise
   each time a step activates.
   ============================================================ */
/* r8 (Mike 2026-08-10): ONE console window instead of four floating
   cards — browser chrome, product nav down the left, the session in the
   main column. Wide, not tall (≈1.4:1), so the stage panel gives it more
   width than the shared 80%. */
/* the console needs a wider track than the shared 1.05/0.95 split — the
   copy column gives it up (same move Bryant made on liveness) */
/* NOTE: solution.css loads AFTER this file (pageCss order), so both
   overrides carry .p-solution to outrank its own .p-solution rules. */
@media (min-width: 1024px) {
  .p-keytech-deepfake-detection .p-solution .sol-how__inner {
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    gap: 56px;
  }
}
.p-keytech-deepfake-detection .p-solution .sol-how__stage {
  width: 100%;
  padding: 30px 18px;
}
.p-keytech-deepfake-detection .dfw-win {
  width: min(100%, 580px);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  border-radius: 14px;
  border: 1px solid var(--color-border-light);
  background: var(--color-white);
  overflow: hidden;
  box-shadow: none;
}
/* bespoke chrome retired — the deck now uses the canonical <BrowserChrome /> */
.p-keytech-deepfake-detection .dfw-win__body { display: flex; align-items: stretch; }

/* the product nav */
.p-keytech-deepfake-detection .dfw-side {
  flex: 0 0 118px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px 10px;
  border-right: 1px solid var(--color-border-light);
}
.p-keytech-deepfake-detection .dfw-side__logo { width: 62px; height: auto; margin-left: 6px; }
.p-keytech-deepfake-detection .dfw-side__nav { display: flex; flex-direction: column; gap: 2px; }
.p-keytech-deepfake-detection .dfw-side__item {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 8px;
  border-radius: 7px;
  font-size: 11px;
  line-height: 1.3;
  white-space: nowrap;
  color: var(--color-grey-400);
}
.p-keytech-deepfake-detection .dfw-side__item--on {
  background: var(--color-blue-100);
  color: var(--color-blue);
  font-weight: 500;
}
.p-keytech-deepfake-detection .dfw-side__ico { width: 13px; height: 13px; flex: 0 0 auto; }

/* the main column: session header + the crossfading layers */
.p-keytech-deepfake-detection .dfw-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 14px 16px 16px;
}
.p-keytech-deepfake-detection .dfw-main__head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 12px;
  font-size: 11px;
  font-weight: 600;
  color: var(--color-black);
}
.p-keytech-deepfake-detection .dfw-main__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-green-600);
}
.p-keytech-deepfake-detection .dfw-deck {
  position: relative;
  display: grid;
  flex: 1;
}
.p-keytech-deepfake-detection .dfw-screen {
  grid-area: 1 / 1;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 236px;
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}
.p-keytech-deepfake-detection .dfw-screen.is-active {
  opacity: 1;
  transition: opacity 0.35s ease 0.05s;
}
/* r7 (Mike 2026-08-10, Bryant's card as the reference): each layer opens
   with the real product screen it reads — the live session, the device,
   the camera feed, the biometric match — bleeding to the card edge above
   the table. Real screens, no overlay: the face mesh was ruled out on
   this site ("too ai gen", Sofia 2026-08-06). */
.p-keytech-deepfake-detection .dfw-screen:has(.dfw-media) {
  flex-direction: row;
  align-items: stretch;
  gap: 30px;
  height: 100%;
}
.p-keytech-deepfake-detection .dfw-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  /* the readout starts a touch below the device's top edge */
  padding-top: 14px;
}
/* the device rides at its own aspect and centers in the column, so the
   frame hugs the screen instead of boxing empty space around it */
.p-keytech-deepfake-detection .dfw-media {
  flex: 0 0 108px;
  align-self: center;
  aspect-ratio: 390 / 844;
  border-radius: 10px;
  overflow: hidden;
  background: var(--color-white);
  border: 1px solid var(--color-border-light);
}
/* 04 · the perception layer reads the face itself, so its media is the
   live capture in a round frame (the treatment Bryant used on
   /technology/liveness-detection/) instead of a device screen */
.p-keytech-deepfake-detection .dfw-media--face {
  flex: 0 0 132px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: var(--color-blue-100);
}
.p-keytech-deepfake-detection .dfw-media__cam {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* contain, not cover: these are phone screens — cropping them sideways
   cuts the copy off both edges */
.p-keytech-deepfake-detection .dfw-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
}
/* the narrower content column: labels and lane copy hold one line */
/* one notch down across the readout so it reads as UI, not as copy */
.p-keytech-deepfake-detection .dfw-body .dfw-head { font-size: 12px; }
.p-keytech-deepfake-detection .dfw-body .dfw-head .ds-icon { width: 15px; height: 15px; }
.p-keytech-deepfake-detection .dfw-body .dfw-trow__lbl { font-size: 10px; }
.p-keytech-deepfake-detection .dfw-body .dfw-lane-label { font-size: 10px; }
.p-keytech-deepfake-detection .dfw-body .dfw-pill { font-size: 8px; padding: 4px 7px; }
.p-keytech-deepfake-detection .dfw-body .dfw-chip { font-size: 9px; padding: 5px 9px; }
.p-keytech-deepfake-detection .dfw-body .dfw-trow { padding: 9px 0; }
/* score table rows (label · fill bar · tone pill) */
.p-keytech-deepfake-detection .dfw-table { display: flex; flex-direction: column; }
.p-keytech-deepfake-detection .dfw-trow {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.7fr) auto;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border-light);
}
.p-keytech-deepfake-detection .dfw-trow:last-child { border-bottom: 0; }
.p-keytech-deepfake-detection .dfw-trow__lbl { font-size: 12px; font-weight: 500; color: var(--color-grey-500); }
.p-keytech-deepfake-detection .dfw-score {
  position: relative;
  height: 5px;
  border-radius: 999px;
  background: var(--color-grey-100);
  overflow: hidden;
}
.p-keytech-deepfake-detection .dfw-score__fill {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: var(--color-blue);
  transform-origin: left center;
  transform: scaleX(var(--v, 0));
}
.p-keytech-deepfake-detection .dfw-score__fill--bad { background: var(--color-red-500); }

/* tone pills */
.p-keytech-deepfake-detection .dfw-pill {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  justify-self: end;
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
  padding: 5px 9px;
  border-radius: 999px;
}
.p-keytech-deepfake-detection .dfw-pill--good { background: var(--color-green-100); color: var(--color-green-600); }
.p-keytech-deepfake-detection .dfw-pill--bad { background: var(--color-red-100); color: var(--color-red-600); }

/* lanes (glyph · label · pill) */
.p-keytech-deepfake-detection .dfw-lane {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 9px;
  border-radius: 8px;
  border: 1px solid var(--color-border-light);
  background: var(--color-grey-50);
}
.p-keytech-deepfake-detection .dfw-lane--flag {
  border-color: color-mix(in oklab, var(--color-blue) 40%, transparent);
  background: var(--color-blue-100);
}
.p-keytech-deepfake-detection .dfw-lane--bad {
  border-color: color-mix(in oklab, var(--color-red-500) 35%, transparent);
  background: var(--color-red-100);
}
.p-keytech-deepfake-detection .dfw-lane-glyph {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 1px solid var(--color-border-light);
  background: var(--color-white);
  color: var(--color-grey-500);
}
.p-keytech-deepfake-detection .dfw-lane--flag .dfw-lane-glyph {
  border-color: color-mix(in oklab, var(--color-blue) 30%, transparent);
  color: var(--color-blue);
}
.p-keytech-deepfake-detection .dfw-lane--bad .dfw-lane-glyph {
  border-color: color-mix(in oklab, var(--color-red-500) 30%, transparent);
  color: var(--color-red-600);
}
.p-keytech-deepfake-detection .dfw-lane-glyph .ds-icon { width: 12px; height: 12px; }
.p-keytech-deepfake-detection .dfw-lane-label {
  flex: 1;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--color-foreground);
}

/* footer chips */
.p-keytech-deepfake-detection .dfw-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: auto;
}
.p-keytech-deepfake-detection .dfw-chip {
  display: inline-flex;
  align-items: center;
  line-height: 1;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--color-grey-100);
  color: var(--color-grey-on-white);
  font-size: var(--fs-xs);
  font-weight: 600;
}
.p-keytech-deepfake-detection .dfw-chip--accent {
  background: color-mix(in oklab, var(--color-blue-500) 14%, transparent);
  color: var(--color-blue);
}


/* mobile: solution-hero.js step-pairing CLONES the whole .dfw-win console per
   step (frozen to that step's panel) and hides the shared stage; site.js
   dashFit scales each clone to fill the column. The clone keeps the normal
   crossfade (only the frozen .dfw-screen.is-active shows), so no per-panel
   revive is needed here — this replaces the old narrow-reflow rules (hide nav,
   shrink device), now retired. */

/* choreography — bars fill, pills pop, lanes rise on each activation */
.p-keytech-deepfake-detection .dfw-screen .dfw-score__fill { transform: scaleX(0); }
.p-keytech-deepfake-detection .dfw-screen.is-active .dfw-score__fill {
  animation: dfw-fill 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: var(--d, 0s);
}
.p-keytech-deepfake-detection .dfw-screen .dfw-pill { opacity: 0; transform: translateY(3px) scale(0.9); }
.p-keytech-deepfake-detection .dfw-screen.is-active .dfw-pill {
  animation: dfw-pop 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: var(--d, 0s);
}
.p-keytech-deepfake-detection .dfw-screen .dfw-lane { opacity: 0; transform: translateY(8px); }
.p-keytech-deepfake-detection .dfw-screen.is-active .dfw-lane {
  animation: dfw-rise 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: var(--d, 0s);
}
@keyframes dfw-fill {
  from { transform: scaleX(0); }
  to { transform: scaleX(var(--v, 0)); }
}
@keyframes dfw-pop {
  from { opacity: 0; transform: translateY(3px) scale(0.9); }
  to { opacity: 1; transform: none; }
}
@keyframes dfw-rise {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .p-keytech-deepfake-detection .dfw-screen { transition: none; }
  .p-keytech-deepfake-detection .dfw-screen .dfw-score__fill,
  .p-keytech-deepfake-detection .dfw-screen .dfw-pill,
  .p-keytech-deepfake-detection .dfw-screen .dfw-lane {
    animation: none !important;
    opacity: 1;
    transform: scaleX(var(--v, 1));
  }
  .p-keytech-deepfake-detection .dfw-screen .dfw-pill,
  .p-keytech-deepfake-detection .dfw-screen .dfw-lane { transform: none; }
}


