/* AEGIS section + PREVIEW presentation. Loaded after style.css. CSP-safe: no inline styles anywhere. */

:root {
  --danger: #ff7d5c;
  --danger-soft: rgba(255, 125, 92, 0.13);
  --c-forge: #52e3a0;
  --c-rule: #a9b4c4;
  --c-human: #f2c66d;
  --c-wall: #62c9ff;
  --spring: cubic-bezier(0.2, 0.9, 0.25, 1.25);
}

/* =========================================================
   1. The AEGIS project card
   ========================================================= */

.aegis {
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  align-items: center;
}

/* The card now has two actions, so the whole-card link overlay is turned off. */
.aegis .project-cta::after { content: none; }
.aegis:hover { transform: translateY(-4px); }

.aegis-title {
  background: linear-gradient(180deg, #f4f4f4 30%, #9c9c9c);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.aegis-lede {
  max-width: 30ch;
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  font-weight: 560;
  letter-spacing: -0.015em;
}

.aegis-sub {
  margin-top: 10px;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.1rem);
}

.aegis-sub em {
  font-style: normal;
  color: var(--accent);
  font-weight: 600;
}

.aegis-parts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.aegis-part {
  display: flex;
  gap: 14px;
  padding: 16px 16px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(5, 5, 5, 0.6);
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}

.aegis-part:hover {
  border-color: rgba(82, 227, 160, 0.3);
  background: rgba(82, 227, 160, 0.03);
}

.aegis-part-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  background: #0b0b0b;
  color: var(--accent);
}

.aegis-part-text { display: grid; gap: 3px; min-width: 0; }

.aegis-part-step {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--dim);
}

.aegis-part-name {
  font-family: var(--mono);
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--fg);
}

.aegis-part-desc {
  margin-top: 2px;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--muted);
}

.aegis-points {
  display: grid;
  gap: 10px;
  margin-top: 22px;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--muted);
}

.aegis-points li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.aegis-check {
  position: relative;
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--accent-soft);
  box-shadow: inset 0 0 0 1px rgba(82, 227, 160, 0.35);
}

.aegis-check::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 4px;
  width: 4px;
  height: 7.5px;
  border: solid var(--accent);
  border-width: 0 1.6px 1.6px 0;
  transform: rotate(42deg);
}

.aegis-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
}

.aegis-actions .project-cta { margin-top: 0; }

.aegis-cta { transition: transform 0.25s var(--ease); }
.aegis-cta:hover { transform: translateY(-2px); }

/* The small PREVIEW button */
.aegis-preview-btn {
  position: relative;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 46px;
  padding: 0 18px 0 7px;
  border: 1px solid rgba(82, 227, 160, 0.4);
  border-radius: 999px;
  background: rgba(82, 227, 160, 0.07);
  color: var(--fg);
  font: inherit;
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), background-color 0.25s var(--ease), box-shadow 0.3s var(--ease);
}

.aegis-preview-btn[hidden] { display: none; }

.aegis-preview-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, transparent 30%, rgba(82, 227, 160, 0.22) 50%, transparent 70%);
  transform: translateX(-120%);
  animation: aegis-sheen 4.8s var(--ease) 1.5s infinite;
}

@keyframes aegis-sheen {
  0%, 62% { transform: translateX(-120%); }
  100% { transform: translateX(120%); }
}

.aegis-preview-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(82, 227, 160, 0.75);
  background: rgba(82, 227, 160, 0.12);
  box-shadow: 0 10px 34px -12px rgba(82, 227, 160, 0.45);
}

.aegis-preview-btn:active { transform: translateY(0); }
.aegis-preview-btn:focus-visible { border-radius: 999px; outline-offset: 4px; }

.aegis-preview-play {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: #03140c;
}

.aegis-preview-play svg { margin-left: 2px; }

.aegis-preview-play::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid var(--accent);
  animation: aegis-ping 2.4s var(--ease) infinite;
}

@keyframes aegis-ping {
  0% { transform: scale(1); opacity: 0.8; }
  70%, 100% { transform: scale(1.7); opacity: 0; }
}

/* Right column: "same request, two answers" */
.aegis-demo {
  position: relative;
  display: grid;
  gap: 12px;
  padding: 20px;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.92), rgba(6, 6, 6, 0.92));
  box-shadow: 0 30px 80px -40px rgba(0, 0, 0, 0.9);
}

.aegis-demo-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.aegis-demo-label {
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dim);
}

.aegis-demo-shield { flex: none; }
.aegis-demo-shield .shield-outline { stroke-width: 7; }
.aegis-demo-shield .shield-check { stroke-width: 12; }

.aegis-req {
  position: relative;
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border: 1px dashed var(--line-strong);
  border-radius: 12px;
  background: #080808;
  overflow: hidden;
}

.aegis-req-kicker {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.aegis-req-row {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 0.92rem;
  color: var(--muted);
}

.aegis-req-row strong { color: var(--fg); font-weight: 600; }

.aegis-req-scan {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 40%;
  background: linear-gradient(180deg, transparent, rgba(82, 227, 160, 0.14), transparent);
  opacity: 0;
  pointer-events: none;
}

@keyframes aegis-scan {
  0% { transform: translateY(-100%); opacity: 0; }
  2% { opacity: 1; }
  12% { transform: translateY(260%); opacity: 1; }
  14%, 100% { transform: translateY(260%); opacity: 0; }
}

.aegis-answer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "who verdict" "how verdict";
  align-items: center;
  column-gap: 14px;
  row-gap: 2px;
  padding: 13px 14px 13px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
}

.aegis-answer--new {
  border-color: rgba(255, 125, 92, 0.3);
  background: linear-gradient(90deg, rgba(255, 125, 92, 0.06), rgba(255, 255, 255, 0.01));
}

.aegis-answer-who { grid-area: who; font-weight: 600; font-size: 0.95rem; }
.aegis-answer-how { grid-area: how; color: var(--muted); font-size: 0.86rem; line-height: 1.45; }

.aegis-verdict {
  grid-area: verdict;
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 11px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.aegis-verdict--allow {
  border: 1px solid var(--line-strong);
  color: var(--muted);
}

.aegis-verdict--block {
  border: 1px solid rgba(255, 125, 92, 0.5);
  background: var(--danger-soft);
  color: var(--danger);
}

/* The loop only starts once the card has scrolled into view, and rests on the final state. */
.is-in .aegis-req-scan { animation: aegis-scan 9s var(--ease) 0.6s infinite; }
.is-in .aegis-answer--old .aegis-verdict { animation: aegis-v1 9s var(--ease) 0.6s infinite both; }
.is-in .aegis-answer--new .aegis-verdict { animation: aegis-v2 9s var(--spring) 0.6s infinite both; }
.is-in .aegis-answer--new { animation: aegis-glow 9s var(--ease) 0.6s infinite; }

@keyframes aegis-v1 {
  0%, 12% { opacity: 0; transform: translateX(8px); }
  17%, 95% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: none; }
}

@keyframes aegis-v2 {
  0%, 22% { opacity: 0; transform: scale(1.6) rotate(-6deg); }
  28%, 95% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: none; }
}

@keyframes aegis-glow {
  0%, 24% { box-shadow: 0 0 0 0 rgba(255, 125, 92, 0); }
  30% { box-shadow: 0 0 0 4px rgba(255, 125, 92, 0.14); }
  50%, 100% { box-shadow: 0 0 0 0 rgba(255, 125, 92, 0); }
}

.aegis-demo-cap {
  font-size: 0.76rem;
  color: var(--dim);
}

@media (max-width: 880px) {
  .aegis { grid-template-columns: minmax(0, 1fr); }
  .aegis-demo { order: 0; }
}

@media (max-width: 560px) {
  .aegis-parts { grid-template-columns: minmax(0, 1fr); }
  .aegis-part { padding: 14px; }
  .aegis-actions { gap: 8px; flex-wrap: nowrap; }
  .aegis-actions .project-cta { flex: 1 1 auto; justify-content: center; padding: 0 16px; }
  .aegis-preview-btn { flex: 0 0 auto; gap: 8px; padding: 0 14px 0 6px; letter-spacing: 0.1em; }
  .aegis-demo { padding: 16px; }
  .aegis-answer { padding: 12px; }
}

/* =========================================================
   2. The PREVIEW presentation (overlay)
   ========================================================= */

html.pv-lock,
html.pv-lock body { overflow: hidden; }

.pv {
  position: fixed;
  inset: 0;
  z-index: 1000;
  color: var(--fg);
  background: #030303;
  opacity: 0;
  clip-path: circle(0 at var(--ox, 50%) var(--oy, 50%));
  transition: clip-path 0.75s cubic-bezier(0.7, 0, 0.2, 1), opacity 0.35s ease;
  outline: none;
  overscroll-behavior: contain;
}

.pv[hidden] { display: none; }

.pv.is-open {
  opacity: 1;
  clip-path: circle(var(--or, 150vmax) at var(--ox, 50%) var(--oy, 50%));
}

/* Once open, drop the clip so a window resize can never cut the overlay. */
.pv.is-open.is-settled { clip-path: none; }

.pv:not(.is-open) { pointer-events: none; }

/* Background */
.pv-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }

.pv-grid {
  position: absolute;
  inset: -64px 0 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, #000 10%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, #000 10%, transparent 75%);
  animation: grid-drift 18s linear infinite;
}

.pv-glow { position: absolute; border-radius: 50%; }

.pv-glow--a {
  top: -30%;
  left: 50%;
  width: min(1100px, 150vw);
  aspect-ratio: 1;
  margin-left: calc(min(1100px, 150vw) / -2);
  background: radial-gradient(circle, rgba(82, 227, 160, 0.13), rgba(82, 227, 160, 0.03) 40%, transparent 66%);
  animation: glow-a 16s ease-in-out infinite alternate;
}

.pv-glow--b {
  bottom: -45%;
  right: -15%;
  width: min(800px, 120vw);
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(98, 201, 255, 0.06), transparent 62%);
  animation: glow-b 20s ease-in-out infinite alternate;
}

/* Progress bar */
.pv-progress {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 6;
  height: 3px;
  background: rgba(255, 255, 255, 0.06);
}

.pv-progress-bar {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #2bbf7f, var(--accent) 70%, #b8ffdc);
  box-shadow: 0 0 14px rgba(82, 227, 160, 0.6);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.7s var(--ease);
}

/* Top bar */
.pv-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 68px;
  padding: 6px clamp(14px, 3vw, 32px) 0;
}

.pv-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.pv-brand .shield-outline { stroke-width: 8; }
.pv-brand .shield-check { stroke-width: 13; }
.pv-brand-dim { color: var(--dim); font-weight: 500; }

.pv-count {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -38%);
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--dim);
  font-variant-numeric: tabular-nums;
}

.pv-count-now { color: var(--fg); }
.pv-count-sep { margin: 0 6px; opacity: 0.6; }

.pv-top-actions { display: flex; align-items: center; gap: 8px; }

.pv-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.7);
  color: var(--fg);
  font: inherit;
  font-size: 0.84rem;
  font-weight: 550;
  cursor: pointer;
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.pv-icon-btn:hover { border-color: rgba(255, 255, 255, 0.32); background: rgba(24, 24, 24, 0.9); }
.pv-icon-btn:focus-visible { border-radius: 999px; }

.pv-ico-pause { display: none; }
.pv.is-playing .pv-ico-pause { display: block; }
.pv.is-playing .pv-ico-play { display: none; }
.pv.is-playing .pv-play { border-color: rgba(82, 227, 160, 0.5); color: var(--accent); }

.pv-close-key {
  padding: 2px 6px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--dim);
}

/* Stage + slides */
.pv-stage {
  position: absolute;
  inset: 0;
  z-index: 2;
  touch-action: pan-y;
  -webkit-user-select: none;
  user-select: none;
}

.pv-slide {
  position: absolute;
  inset: 0;
  display: flex;
  padding: 84px clamp(18px, 5vw, 72px) 104px;
  overflow-x: hidden;
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  scrollbar-width: none;
}

.pv-slide::-webkit-scrollbar { display: none; }

.pv-slide.is-active {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  animation: pv-in-r 0.85s var(--ease) both;
}

.pv-slide.is-active.from-left { animation-name: pv-in-l; }
.pv-slide.is-active.from-none { animation: pv-in-z 1s var(--ease) 0.25s both; }

.pv-slide.is-leaving {
  visibility: visible;
  animation: pv-out-l 0.6s cubic-bezier(0.6, 0, 0.8, 0.4) both;
}

.pv-slide.is-leaving.to-right { animation-name: pv-out-r; }

@keyframes pv-in-r { from { opacity: 0; transform: translate3d(7%, 0, 0) scale(0.97); } to { opacity: 1; transform: none; } }
@keyframes pv-in-l { from { opacity: 0; transform: translate3d(-7%, 0, 0) scale(0.97); } to { opacity: 1; transform: none; } }
@keyframes pv-in-z { from { opacity: 0; transform: scale(0.94); } to { opacity: 1; transform: none; } }
@keyframes pv-out-l { from { opacity: 1; transform: none; } to { opacity: 0; transform: translate3d(-5%, 0, 0) scale(0.96); } }
@keyframes pv-out-r { from { opacity: 1; transform: none; } to { opacity: 0; transform: translate3d(5%, 0, 0) scale(0.96); } }

.pv-inner {
  width: 100%;
  max-width: 1180px;
  margin: auto;
}

.pv-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.pv-split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(32px, 5vw, 84px);
  align-items: center;
}

.pv-head-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 0 auto clamp(22px, 4.5vh, 48px);
}

/* Staged reveal helpers */
.d1 { --i: 1; } .d2 { --i: 2; } .d3 { --i: 3; } .d4 { --i: 4; } .d5 { --i: 5; } .d6 { --i: 6; }
.d7 { --i: 7; } .d8 { --i: 8; } .d9 { --i: 9; } .d10 { --i: 10; } .d11 { --i: 11; } .d12 { --i: 12; }

.pv-slide.is-active .a-up { animation: pv-up 0.9s var(--ease) both; animation-delay: calc(var(--i, 0) * 120ms + 120ms); }
.pv-slide.is-active .a-pop { animation: pv-pop 1s var(--spring) both; animation-delay: calc(var(--i, 0) * 120ms + 80ms); }
.pv-slide.is-active .a-left { animation: pv-left 1s var(--ease) both; animation-delay: calc(var(--i, 0) * 120ms + 120ms); }
.pv-slide.is-active .a-right { animation: pv-right 1s var(--ease) both; animation-delay: calc(var(--i, 0) * 120ms + 120ms); }

@keyframes pv-up { from { opacity: 0; transform: translate3d(0, 26px, 0); } to { opacity: 1; transform: none; } }
@keyframes pv-pop { from { opacity: 0; transform: scale(0.7); } to { opacity: 1; transform: none; } }
@keyframes pv-left { from { opacity: 0; transform: translate3d(-40px, 0, 0); } to { opacity: 1; transform: none; } }
@keyframes pv-right { from { opacity: 0; transform: translate3d(40px, 0, 0); } to { opacity: 1; transform: none; } }

/* Word-by-word headline reveal (words are wrapped by JS) */
.pv-split .w {
  display: inline-block;
  overflow: hidden;
  padding-bottom: 0.1em;
  margin-bottom: -0.1em;
  vertical-align: bottom;
}

.pv-split .wi { display: inline-block; }

.pv-slide.is-active .pv-split .wi {
  animation: pv-word 0.95s var(--ease) both;
  animation-delay: calc(var(--wi, 0) * 75ms + 260ms);
}

@keyframes pv-word {
  from { opacity: 0; transform: translate3d(0, 105%, 0) rotate(5deg); }
  to { opacity: 1; transform: none; }
}

/* Type */
.pv-kicker {
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.pv-h {
  margin-top: 14px;
  max-width: 17ch;
  font-size: clamp(2rem, 4.4vw, 3.9rem);
  font-weight: 650;
  line-height: 1.04;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.pv-head-center .pv-h { max-width: 22ch; }
.pv-h--xl { max-width: 20ch; font-size: clamp(2.2rem, 5.6vw, 4.8rem); }

.pv-mega {
  margin-top: 10px;
  font-size: clamp(4.2rem, 15vw, 10.5rem);
  font-weight: 720;
  line-height: 0.9;
  letter-spacing: -0.065em;
  text-shadow: 0 0 60px rgba(82, 227, 160, 0.18);
}

.pv-lead {
  margin-top: 22px;
  max-width: 32ch;
  font-size: clamp(1.15rem, 2.1vw, 1.6rem);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.pv-lead--dim { color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.15rem); }

.pv-p {
  margin-top: 18px;
  max-width: 44ch;
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  line-height: 1.6;
  color: var(--muted);
}

.pv-p em { font-style: normal; color: var(--fg); }
.pv-p strong { color: var(--fg); font-weight: 600; }
.pv-p--strong { color: var(--fg); font-weight: 550; }
.pv-p--center { margin-inline: auto; text-align: center; max-width: 56ch; }

.pv-mark {
  padding: 0 0.15em;
  background: linear-gradient(transparent 58%, rgba(82, 227, 160, 0.3) 58%);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  color: var(--fg);
}

.pv-slide.is-active .pv-mark { animation: pv-mark 0.9s var(--ease) 1.5s both; }
@keyframes pv-mark { from { background-size: 0% 100%; } to { background-size: 100% 100%; } }

.pv-foot {
  margin-top: 18px;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--dim);
}

.pv-foot--center { text-align: center; }

.pv-hint {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: clamp(26px, 5vh, 48px);
  font-size: 0.88rem;
  color: var(--dim);
}

.pv-hint-key {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 24px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  font-family: var(--mono);
  color: var(--fg);
  animation: pv-nudge 1.8s var(--ease) 2.4s infinite;
}

@keyframes pv-nudge { 0%, 100% { transform: none; } 40% { transform: translateX(5px); } }

/* ---------- Slide 1 + 9: shield ---------- */
.pv-hero-shield {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(150px, 26vh, 230px);
  aspect-ratio: 1;
  margin-bottom: 8px;
}

.pv-hero-shield--sm { width: clamp(110px, 18vh, 160px); }

.pv-hero-shield svg {
  position: relative;
  z-index: 1;
  width: 46%;
  height: auto;
  overflow: visible;
  filter: drop-shadow(0 0 24px rgba(82, 227, 160, 0.35));
}

.pv-ring {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(82, 227, 160, 0.35);
  border-radius: 50%;
  opacity: 0;
}

.pv-slide.is-active .pv-ring { animation: pv-ring 4.2s var(--ease) infinite; }
.pv-slide.is-active .pv-ring--1 { animation-delay: 1.2s; }
.pv-slide.is-active .pv-ring--2 { animation-delay: 2.6s; }
.pv-slide.is-active .pv-ring--3 { animation-delay: 4s; }

@keyframes pv-ring { 0% { transform: scale(0.45); opacity: 0; } 18% { opacity: 0.9; } 100% { transform: scale(1.15); opacity: 0; } }

.pvs-outline { fill: rgba(5, 5, 5, 0.85); stroke: var(--fg); stroke-width: 3.2; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.pvs-half { fill: rgba(82, 227, 160, 0.16); }
.pvs-check { fill: none; stroke: var(--accent); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }

.pv-slide.is-active .pvs-outline { animation: pv-draw 1.4s var(--ease) 0.3s both; }
.pv-slide.is-active .pvs-half { animation: pv-fade 0.9s var(--ease) 1.2s both; }
.pv-slide.is-active .pvs-check { animation: pv-draw 0.7s var(--ease) 1.5s both; }

@keyframes pv-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes pv-fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Slide 2: the gate ---------- */
.gate {
  --wall: 56%;
  --pw: 13em;
  position: relative;
  display: grid;
  gap: 18px;
  padding: 52px 18px 26px;
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(14, 14, 14, 0.9), rgba(7, 7, 7, 0.9));
  font-size: 1rem;
  overflow: hidden;
}

.pv-slide.is-active .gate { animation: pv-up 0.9s var(--ease) 0.5s both; }

.gate-label {
  position: absolute;
  top: 16px;
  left: var(--wall);
  transform: translateX(-50%);
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dim);
  white-space: nowrap;
}

.gate-wall {
  position: absolute;
  top: 40px;
  bottom: 14px;
  left: var(--wall);
  width: 8px;
  margin-left: -4px;
  border-radius: 4px;
  background: repeating-linear-gradient(180deg, #3a3a3a 0 10px, #232323 10px 20px);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.pv-slide.is-active .gate-wall { animation: gate-flash 0.6s var(--ease) 1.95s both; }

@keyframes gate-flash {
  0% { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.05); }
  40% { box-shadow: 0 0 0 1px rgba(255, 125, 92, 0.9), 0 0 26px 4px rgba(255, 125, 92, 0.45); }
  100% { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.05); }
}

.gate-lane { position: relative; height: 72px; }

.gate-lane::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
}

.gate-mover {
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
}

.gate-lane--1 .gate-mover { transform: translate3d(calc(var(--wall) - var(--pw) - 12px), -50%, 0); }
.gate-lane--2 .gate-mover { transform: translate3d(calc(100% - var(--pw)), -50%, 0); }

.pv-slide.is-active .gate-lane--1 .gate-mover { animation: gate-hit 1.6s cubic-bezier(0.5, 0, 0.3, 1) 0.6s both; }
.pv-slide.is-active .gate-lane--2 .gate-mover { animation: gate-pass 2.2s cubic-bezier(0.45, 0, 0.25, 1) 1.5s both; }

@keyframes gate-hit {
  0% { transform: translate3d(calc(-1 * var(--pw)), -50%, 0); opacity: 0; }
  20% { opacity: 1; }
  80% { transform: translate3d(calc(var(--wall) - var(--pw) - 2px), -50%, 0); }
  90% { transform: translate3d(calc(var(--wall) - var(--pw) - 20px), -50%, 0); }
  100% { transform: translate3d(calc(var(--wall) - var(--pw) - 12px), -50%, 0); opacity: 1; }
}

@keyframes gate-pass {
  0% { transform: translate3d(calc(-1 * var(--pw)), -50%, 0); opacity: 0; }
  15% { opacity: 1; }
  100% { transform: translate3d(calc(100% - var(--pw)), -50%, 0); opacity: 1; }
}

.gate-obj {
  position: relative;
  display: block;
  width: var(--pw);
}

.gate-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: #101010;
  font-size: 0.86rem;
  font-weight: 550;
  white-space: nowrap;
}

.gate-pill--bad {
  border-color: rgba(255, 125, 92, 0.45);
  background: repeating-linear-gradient(135deg, rgba(255, 125, 92, 0.12) 0 6px, rgba(255, 125, 92, 0.04) 6px 12px), #120a08;
  color: #ffc2b2;
}

.gate-glitch { color: var(--danger); font-weight: 700; }

.gate-stamp {
  position: absolute;
  top: -12px;
  right: -10px;
  z-index: 1;
  padding: 3px 9px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.gate-stamp--block { background: var(--danger); color: #1a0702; }
.gate-stamp--allow { background: #e8e8e8; color: #0a0a0a; }

.pv-slide.is-active .gate-stamp--block { animation: pv-pop 0.6s var(--spring) 2.2s both; }
.pv-slide.is-active .gate-stamp--allow { animation: pv-pop 0.6s var(--spring) 3.7s both; }

.gate-warn {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  padding: 3px 10px;
  border: 1px solid rgba(255, 125, 92, 0.5);
  border-radius: 8px;
  background: #1a0d09;
  color: var(--danger);
  font-size: 0.74rem;
  font-weight: 600;
  white-space: nowrap;
}

.pv-slide.is-active .gate-warn { animation: pv-up 0.7s var(--ease) 4.2s both, gate-throb 2s ease-in-out 5s infinite; }

@keyframes gate-throb { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 125, 92, 0); } 50% { box-shadow: 0 0 0 5px rgba(255, 125, 92, 0.14); } }

.gate-lane--2 { margin-bottom: 18px; }

.pv-examples { display: grid; gap: 10px; margin-top: 18px; }

.pv-example {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  font-size: 0.98rem;
  line-height: 1.45;
}

.pv-example-tag {
  flex: none;
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--danger);
}

.pv-slide.pv-s-problem.is-active .pv-example.d9 { animation-delay: 4.5s; }
.pv-slide.pv-s-problem.is-active .pv-example.d10 { animation-delay: 4.75s; }

/* ---------- Slide 3: meaning vs looks ---------- */
.vs { max-width: 960px; margin: 0 auto; }

.vs-req {
  display: grid;
  gap: 6px;
  width: min(340px, 100%);
  margin: 0 auto;
  padding: 16px 20px;
  border: 1px dashed rgba(255, 255, 255, 0.28);
  border-radius: 14px;
  background: #0b0b0b;
}

.vs-req-kicker { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); text-align: center; }
.vs-req-row { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 1rem; color: var(--muted); }
.vs-req-row strong { color: var(--fg); }

.vs-lines { display: block; width: 100%; height: 52px; overflow: visible; }

.vs-line {
  fill: none;
  stroke: rgba(255, 255, 255, 0.22);
  stroke-width: 1.5;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}

.vs-line--r { stroke: rgba(82, 227, 160, 0.55); }
.pv-slide.is-active .vs-line { animation: pv-draw 0.8s var(--ease) 0.75s both; }

.vs-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 3vw, 32px); }

.vs-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: clamp(16px, 2.4vw, 26px);
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.02);
}

.vs-col--new {
  border-color: rgba(82, 227, 160, 0.35);
  background: linear-gradient(180deg, rgba(82, 227, 160, 0.06), rgba(255, 255, 255, 0.01));
}

.vs-who { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); }
.vs-col--new .vs-who { color: var(--accent); }
.vs-q { font-size: clamp(1.05rem, 1.9vw, 1.45rem); font-weight: 600; line-height: 1.25; letter-spacing: -0.02em; }

.vs-scan {
  position: relative;
  width: 100%;
  height: 34px;
  border-radius: 8px;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.07) 0 22px, transparent 22px 30px);
  overflow: hidden;
}

.vs-scan span {
  position: absolute;
  inset: 0;
  width: 40%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transform: translateX(260%);
  opacity: 0;
}

.pv-slide.is-active .vs-scan span { animation: vs-scan 1.1s ease-in-out 1.4s 2 both; }
@keyframes vs-scan { 0% { transform: translateX(-100%); opacity: 1; } 100% { transform: translateX(260%); opacity: 1; } }

.vs-compare {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 34px;
  font-family: var(--mono);
  font-size: 1.15rem;
}

.vs-compare b { font-weight: 600; }
.vs-compare i { font-style: normal; color: var(--danger); font-weight: 700; font-size: 1.4rem; display: inline-block; }

.pv-slide.is-active .vs-compare b:first-child { animation: pv-left 0.6s var(--ease) 1.6s both; }
.pv-slide.is-active .vs-compare b:last-child { animation: pv-right 0.6s var(--ease) 1.6s both; }
.pv-slide.is-active .vs-compare i { animation: pv-pop 0.6s var(--spring) 2.2s both; }

.vs-verdict {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 13px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 700;
}

.vs-verdict--allow { border: 1px solid var(--line-strong); color: var(--fg); background: rgba(255, 255, 255, 0.05); }
.vs-verdict--block { background: var(--danger); color: #1a0702; letter-spacing: 0.06em; text-transform: uppercase; box-shadow: 0 0 30px -4px rgba(255, 125, 92, 0.55); }

.pv-slide.is-active .vs-verdict--allow { animation: pv-up 0.6s var(--ease) 3.6s both; }
.pv-slide.is-active .vs-verdict--block { animation: vs-stamp 0.7s var(--spring) 2.7s both; }
@keyframes vs-stamp { 0% { opacity: 0; transform: scale(2.2) rotate(-10deg); } 60% { opacity: 1; } 100% { opacity: 1; transform: rotate(-2deg); } }

.vs-after { font-size: 0.95rem; line-height: 1.5; color: var(--muted); }
.vs-col--new .vs-after { color: var(--fg); }
.pv-slide.is-active .vs-col--old .vs-after { animation: pv-fade 0.6s var(--ease) 3.9s both; }
.pv-slide.is-active .vs-col--new .vs-after { animation: pv-fade 0.6s var(--ease) 3.1s both; }
.pv-s-idea .pv-foot { text-align: center; }
.pv-slide.pv-s-idea.is-active .pv-foot { animation-delay: 4.1s; }

/* ---------- Slide 4: two parts ---------- */
.duo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(120px, 16vw, 220px) minmax(0, 1fr);
  align-items: center;
  max-width: 1040px;
  margin: 0 auto;
}

.duo-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
}

.duo-card--forge { box-shadow: inset 0 1px 0 rgba(82, 227, 160, 0.25); }
.duo-card--wall { box-shadow: inset 0 1px 0 rgba(98, 201, 255, 0.3); }

.duo-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  margin-bottom: 8px;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: #0a0a0a;
}

.duo-lens, .duo-handle, .duo-shield { fill: none; stroke: var(--fg); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.duo-shield { fill: rgba(98, 201, 255, 0.08); }
.duo-tick { fill: none; stroke: var(--accent); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.duo-card--wall .duo-tick { stroke: var(--c-wall); }
.pv-slide.is-active .duo-card--forge .duo-tick { animation: pv-draw 0.6s var(--ease) 1.3s both; }
.pv-slide.is-active .duo-card--wall .duo-tick { animation: pv-draw 0.6s var(--ease) 2.9s both; }
.pv-slide.is-active .duo-lens { transform-origin: 21px 21px; animation: duo-search 2.6s ease-in-out 0.8s 1 both; }
@keyframes duo-search { 0%, 100% { transform: none; } 30% { transform: translate(-2px, -2px); } 60% { transform: translate(2px, 1px); } }

.duo-step { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.duo-card--wall .duo-step { color: var(--c-wall); }
.duo-name { font-family: var(--mono); font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 650; letter-spacing: -0.02em; }
.duo-desc { font-size: clamp(0.98rem, 1.3vw, 1.12rem); line-height: 1.55; color: var(--muted); }

.duo-link { position: relative; height: 80px; }

.duo-link-line {
  position: absolute;
  left: 10px;
  right: 10px;
  top: 50%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--c-wall));
  transform-origin: left center;
  opacity: 0.7;
}

.duo-link-line::after {
  content: "";
  position: absolute;
  right: -2px;
  top: -5px;
  width: 10px;
  height: 10px;
  border: solid var(--c-wall);
  border-width: 2px 2px 0 0;
  transform: rotate(45deg);
}

.pv-slide.is-active .duo-link-line { animation: duo-grow 0.8s var(--ease) 1.7s both; }
@keyframes duo-grow { from { transform: scaleX(0); } to { transform: none; } }

.duo-packet {
  position: absolute;
  left: 10px;
  right: 10px;
  top: 50%;
  height: 0;
}

.duo-packet::before {
  content: "";
  position: absolute;
  left: 0;
  top: -6px;
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: var(--accent);
  box-shadow: 0 0 16px 2px rgba(82, 227, 160, 0.7);
  opacity: 0;
}

.pv-slide.is-active .duo-packet { animation: duo-travel 2.2s cubic-bezier(0.6, 0, 0.3, 1) 2.4s infinite; }
.pv-slide.is-active .duo-packet::before { animation: duo-blink 2.2s linear 2.4s infinite; }
@keyframes duo-travel { from { transform: translateX(0); } to { transform: translateX(100%); } }
@keyframes duo-blink { 0% { opacity: 0; } 10%, 85% { opacity: 1; } 100% { opacity: 0; } }

.duo-link-label {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(50% + 14px);
  text-align: center;
  font-family: var(--mono);
  font-size: 0.7rem;
  line-height: 1.35;
  color: var(--dim);
}

.pv-slide.is-active .duo-link-label { animation: pv-fade 0.6s var(--ease) 2.2s both; }

/* ---------- Slide 5: sealed proof ---------- */
.seal { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 2vw, 22px); }

.seal-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: clamp(16px, 2.4vw, 26px);
  border: 1px solid rgba(82, 227, 160, 0.3);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(82, 227, 160, 0.05), rgba(255, 255, 255, 0.01));
}

.seal-card--broken { border-color: rgba(255, 125, 92, 0.4); background: linear-gradient(180deg, rgba(255, 125, 92, 0.06), rgba(255, 255, 255, 0.01)); }
.pv-slide.is-active .seal-card--broken { animation: pv-up 0.9s var(--ease) 0.84s both, seal-shake 0.5s ease 3.3s both; }
@keyframes seal-shake { 0%, 100% { transform: none; } 20% { transform: translateX(-6px); } 40% { transform: translateX(5px); } 60% { transform: translateX(-3px); } 80% { transform: translateX(2px); } }

.seal-title { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); text-align: center; }

.seal-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
  width: 100%;
  max-width: 220px;
}

.seal-grid i {
  display: block;
  aspect-ratio: 1;
  border-radius: 4px;
  background: rgba(82, 227, 160, 0.55);
  box-shadow: inset 0 0 0 1px rgba(82, 227, 160, 0.8);
}

.seal-grid i.seal-bad { background: var(--danger); box-shadow: 0 0 14px rgba(255, 125, 92, 0.8); }

.pv-slide.is-active .seal-grid i { animation: seal-in 0.45s var(--spring) both; animation-delay: calc(var(--k, 0) * 35ms + 1s); }
.pv-slide.is-active .seal-card--broken .seal-grid i { animation-delay: calc(var(--k, 0) * 35ms + 1.15s); }
.pv-slide.is-active .seal-grid i.seal-bad { animation: seal-in 0.45s var(--spring) calc(var(--k, 0) * 35ms + 1.15s) both, seal-flip 0.7s var(--ease) 2.9s both; }

@keyframes seal-in { from { opacity: 0; transform: scale(0.2); } to { opacity: 1; transform: none; } }
@keyframes seal-flip {
  0% { background: rgba(82, 227, 160, 0.55); box-shadow: inset 0 0 0 1px rgba(82, 227, 160, 0.8); transform: none; }
  50% { transform: scale(1.6) rotate(45deg); }
  100% { background: var(--danger); box-shadow: 0 0 14px rgba(255, 125, 92, 0.8); transform: none; }
}

.seal-result {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.seal-result--ok { background: var(--accent); color: #03140c; box-shadow: 0 0 30px -6px rgba(82, 227, 160, 0.7); }
.seal-result--bad { background: var(--danger); color: #1a0702; box-shadow: 0 0 30px -6px rgba(255, 125, 92, 0.7); }
.pv-slide.is-active .seal-result--ok { animation: vs-stamp 0.7s var(--spring) 2.1s both; }
.pv-slide.is-active .seal-result--bad { animation: vs-stamp 0.7s var(--spring) 3.3s both; }
.pv-slide.pv-s-forge.is-active .pv-visual .pv-foot { animation-delay: 3.8s; }

.pv-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }

.pv-chips li {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 14px;
  border: 1px solid rgba(82, 227, 160, 0.35);
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.82rem;
}

/* ---------- Slide 6: AegisWall flow ---------- */
.flow {
  --wallpos: 62%;
  max-width: 1040px;
  margin: 0 auto;
}

.flow-heads,
.flow-row {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.15fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(12px, 2.4vw, 32px);
}

.flow-heads {
  padding: 0 18px 10px;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dim);
}

.flow-head-lane { position: relative; height: 1.2em; }
.flow-head-wall { position: absolute; left: var(--wallpos); transform: translateX(-50%); color: var(--c-wall); white-space: nowrap; }
.flow-head-site { position: absolute; right: 0; }

.pv-slide.is-active .flow-heads { animation: pv-fade 0.6s var(--ease) 0.7s both; }

.flow-rows { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }

.flow-row {
  --r: 0;
  position: relative;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
}

.fr1 { --r: 0; } .fr2 { --r: 1; } .fr3 { --r: 2; } .fr4 { --r: 3; }

.pv-slide.is-active .flow-row { animation: pv-up 0.7s var(--ease) both; animation-delay: calc(var(--r) * 0.95s + 0.8s); }

.flow-label { font-size: clamp(0.92rem, 1.2vw, 1.05rem); line-height: 1.35; }

.flow-lane { position: relative; height: 34px; }

.flow-lane::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  border-top: 1px dashed rgba(255, 255, 255, 0.16);
}

/* website marker */
.flow-lane::after {
  content: "";
  position: absolute;
  right: -2px;
  top: 50%;
  width: 14px;
  height: 14px;
  margin-top: -7px;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  border-radius: 4px;
  background: #0a0a0a;
}

.flow-seg {
  position: absolute;
  left: var(--wallpos);
  top: 0;
  bottom: 0;
  width: 6px;
  margin-left: -3px;
  border-radius: 3px;
  background: var(--c-wall);
  opacity: 0.85;
  box-shadow: 0 0 12px rgba(98, 201, 255, 0.4);
}

.flow-dot { position: absolute; inset: 0; transform: translateX(var(--end, 100%)); }
.flow-row--block .flow-dot { --end: calc(var(--wallpos) - 14px); }
.flow-row--allow .flow-dot { --end: calc(100% - 22px); }

.flow-dot::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 12px;
  height: 12px;
  margin-top: -6px;
  border-radius: 50%;
  background: var(--fg);
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.6);
}

.flow-row--allow .flow-dot::before { background: var(--accent); box-shadow: 0 0 14px rgba(82, 227, 160, 0.8); }
.flow-row--block .flow-dot::before { background: var(--danger); box-shadow: 0 0 14px rgba(255, 125, 92, 0.8); }

.pv-slide.is-active .flow-dot { animation: flow-go 0.9s cubic-bezier(0.5, 0, 0.3, 1) both; animation-delay: calc(var(--r) * 0.95s + 1.05s); }
@keyframes flow-go { from { transform: translateX(0); } to { transform: translateX(var(--end)); } }

.pv-slide.is-active .flow-row--block .flow-seg { animation: flow-hit 0.6s var(--ease) both; animation-delay: calc(var(--r) * 0.95s + 1.85s); }
@keyframes flow-hit {
  0% { background: var(--c-wall); transform: none; }
  40% { background: var(--danger); transform: scaleY(1.35); box-shadow: 0 0 22px rgba(255, 125, 92, 0.8); }
  100% { background: var(--danger); transform: none; box-shadow: 0 0 12px rgba(255, 125, 92, 0.5); }
}

.flow-row--block .flow-seg { background: var(--danger); box-shadow: 0 0 12px rgba(255, 125, 92, 0.5); }

.flow-verdict {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.flow-row--allow .flow-verdict { color: var(--accent); }
.flow-row--block .flow-verdict { color: var(--danger); }

.flow-why {
  font-family: var(--sans);
  font-size: 0.86rem;
  font-weight: 450;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.4;
  color: var(--fg);
}

.flow-row--block { border-color: rgba(255, 125, 92, 0.22); }

.pv-slide.is-active .flow-verdict { animation: pv-left 0.5s var(--ease) both; animation-delay: calc(var(--r) * 0.95s + 1.9s); }
.pv-slide.pv-s-wall.is-active .flow .pv-foot { animation-delay: 4.9s; }
.pv-s-wall .flow .pv-foot { text-align: center; }

/* ---------- Slide 7: step by step ---------- */
.pv-split-layout--how { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); }

.how-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 24px; font-size: 0.86rem; color: var(--muted); }
.how-legend li { display: inline-flex; align-items: center; gap: 8px; }
.how-sw { width: 10px; height: 10px; border-radius: 50%; }
.how-sw--forge { background: var(--c-forge); }
.how-sw--rule { background: var(--c-rule); }
.how-sw--human { background: var(--c-human); }
.how-sw--wall { background: var(--c-wall); }

.how-wrap { position: relative; }
.how { position: relative; display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }

.how-rail {
  position: absolute;
  left: 19px;
  top: 22px;
  bottom: 22px;
  width: 2px;
  background: rgba(255, 255, 255, 0.08);
}

.how-rail-fill {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--c-forge), var(--c-rule) 40%, var(--c-human) 62%, var(--c-wall) 80%);
  transform-origin: top center;
}

.pv-slide.is-active .how-rail-fill { animation: how-fill 3.6s cubic-bezier(0.45, 0, 0.4, 1) 0.9s both; }
@keyframes how-fill { from { transform: scaleY(0); } to { transform: none; } }

.how-step {
  --c: var(--c-forge);
  --s: 0;
  position: relative;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  column-gap: 16px;
  align-items: center;
  padding: 8px 14px 8px 0;
}

.how--rule { --c: var(--c-rule); }
.how--human { --c: var(--c-human); }
.how--wall { --c: var(--c-wall); }

.hs1 { --s: 0; } .hs2 { --s: 1; } .hs3 { --s: 2; } .hs4 { --s: 3; } .hs5 { --s: 4; } .hs6 { --s: 5; } .hs7 { --s: 6; }

.how-n {
  grid-row: span 2;
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1.5px solid var(--c);
  border-radius: 50%;
  background: #070707;
  color: var(--c);
  font-family: var(--mono);
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: 0 0 0 5px #030303, 0 0 18px -2px var(--c);
}

.how-t { font-size: clamp(1rem, 1.3vw, 1.12rem); font-weight: 620; letter-spacing: -0.01em; }
.how-d { font-size: clamp(0.86rem, 1.05vw, 0.95rem); line-height: 1.45; color: var(--muted); }

.pv-slide.is-active .how-step { animation: pv-left 0.6s var(--ease) both; animation-delay: calc(var(--s) * 0.52s + 0.9s); }
.pv-slide.is-active .how-n { animation: how-light 0.7s var(--spring) both; animation-delay: calc(var(--s) * 0.52s + 1s); }
@keyframes how-light { 0% { transform: scale(0.5); box-shadow: 0 0 0 5px #030303, 0 0 0 0 var(--c); } 60% { transform: scale(1.15); } 100% { transform: none; box-shadow: 0 0 0 5px #030303, 0 0 18px -2px var(--c); } }

/* ---------- Slide 8: why it matters ---------- */
.why { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1.6vw, 18px); max-width: 1120px; margin: 0 auto; }

.why-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: clamp(16px, 2vw, 24px);
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
}

.why-t { font-size: clamp(1rem, 1.35vw, 1.15rem); font-weight: 620; line-height: 1.3; letter-spacing: -0.01em; }
.why-d { font-size: clamp(0.86rem, 1.05vw, 0.95rem); line-height: 1.5; color: var(--muted); }

.why-art {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  margin-bottom: 6px;
}

/* switch + person */
.why-switch { position: relative; width: 52px; height: 28px; border-radius: 999px; background: #2a2a2a; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); }
.why-switch span { position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #e8e8e8; transform: translateX(24px); }
.why-art--switch .why-switch { background: rgba(82, 227, 160, 0.85); }
.why-person { position: relative; width: 26px; height: 30px; }
.why-person::before { content: ""; position: absolute; left: 7px; top: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--c-human); }
.why-person::after { content: ""; position: absolute; left: 1px; bottom: 0; width: 24px; height: 14px; border-radius: 12px 12px 4px 4px; background: var(--c-human); }

.pv-slide.is-active .why-person { animation: pv-pop 0.6s var(--spring) 1.4s both; }
.pv-slide.is-active .why-art--switch .why-switch { animation: why-on 0.5s var(--ease) 2s both; }
.pv-slide.is-active .why-switch span { animation: why-knob 0.5s var(--ease) 2s both; }
@keyframes why-on { from { background: #2a2a2a; } to { background: rgba(82, 227, 160, 0.85); } }
@keyframes why-knob { from { transform: none; } to { transform: translateX(24px); } }

/* reason bubble */
.why-bubble { position: relative; display: grid; gap: 5px; width: 92px; padding: 9px 10px; border: 1px solid rgba(255, 125, 92, 0.5); border-radius: 10px 10px 10px 2px; background: rgba(255, 125, 92, 0.08); }
.why-bubble i { display: block; height: 4px; border-radius: 2px; background: var(--danger); transform-origin: left center; }
.why-bubble i:nth-child(2) { width: 80%; opacity: 0.7; }
.why-bubble i:nth-child(3) { width: 55%; opacity: 0.5; }
.pv-slide.is-active .why-bubble i { animation: duo-grow 0.5s var(--ease) both; }
.pv-slide.is-active .why-bubble i:nth-child(1) { animation-delay: 1.5s; }
.pv-slide.is-active .why-bubble i:nth-child(2) { animation-delay: 1.75s; }
.pv-slide.is-active .why-bubble i:nth-child(3) { animation-delay: 2s; }

/* chain */
.why-art--chain { gap: 0; }
.why-art--chain i { position: relative; display: block; width: 22px; height: 22px; border-radius: 6px; border: 1.5px solid var(--accent); background: rgba(82, 227, 160, 0.12); }
.why-art--chain i + i { margin-left: 12px; }
.why-art--chain i + i::before { content: ""; position: absolute; right: 100%; top: 50%; width: 13px; margin-top: -1px; border-top: 1.5px solid var(--accent); }
.pv-slide.is-active .why-art--chain i { animation: seal-in 0.45s var(--spring) both; animation-delay: calc(var(--k, 0) * 0.18s + 1.5s); }

/* ghost */
.why-bot { position: relative; width: 30px; height: 26px; border-radius: 8px; border: 1.5px solid var(--muted); }
.why-bot::before, .why-bot::after { content: ""; position: absolute; top: 9px; width: 5px; height: 5px; border-radius: 50%; background: var(--muted); }
.why-bot::before { left: 6px; }
.why-bot::after { right: 6px; }
.why-fake { padding: 4px 10px; border: 1px dashed rgba(255, 255, 255, 0.35); border-radius: 8px; font-family: var(--mono); font-size: 0.74rem; color: var(--muted); }
.pv-slide.is-active .why-fake { animation: why-ghost 3s ease-in-out 1.6s infinite; }
@keyframes why-ghost { 0%, 100% { opacity: 1; transform: none; } 50% { opacity: 0.35; transform: translateY(-3px); } }
.pv-slide.pv-s-why.is-active .pv-foot { animation-delay: 2.4s; }

/* ---------- Slide 9: closing ---------- */
.pv-end-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 30px; }

.pv-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 22px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.7);
  color: var(--fg);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), background-color 0.25s var(--ease);
}

.pv-btn:hover { transform: translateY(-2px); border-color: rgba(255, 255, 255, 0.32); }
.pv-btn:focus-visible { border-radius: 999px; }
.pv-btn--primary { border-color: transparent; background: var(--fg); color: #000; }
.pv-btn--primary:hover { background: #fff; }
.pv-btn--ghost { background: transparent; color: var(--muted); }

/* ---------- Bottom navigation ---------- */
.pv-nav {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 2vw, 22px);
  padding: 0 16px max(22px, env(safe-area-inset-bottom));
  pointer-events: none;
}

.pv-nav > * { pointer-events: auto; }

.pv-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 48px;
  height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(12, 12, 12, 0.8);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--fg);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), background-color 0.25s var(--ease), opacity 0.25s var(--ease);
}

.pv-arrow:hover:not(:disabled) { border-color: rgba(255, 255, 255, 0.35); }
.pv-prev:hover:not(:disabled) { transform: translateX(-2px); }
.pv-next:hover:not(:disabled) { transform: translateX(2px); }
.pv-arrow:disabled { opacity: 0.3; cursor: default; }
.pv-arrow:focus-visible { border-radius: 999px; }

.pv-next { padding: 0 16px 0 20px; background: var(--fg); border-color: transparent; color: #000; }
.pv-next:hover:not(:disabled) { background: #fff; }

.pv-dots { display: flex; align-items: center; }

.pv-dot {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: 22px;
  height: 36px;
  padding: 0 4px;
  border: 0;
  background: none;
  cursor: pointer;
  transition: width 0.45s var(--ease);
}

.pv-dot::before {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  top: 50%;
  height: 4px;
  margin-top: -2px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.18);
  transition: background-color 0.3s var(--ease);
}

.pv-dot.is-done::before { background: rgba(255, 255, 255, 0.45); }
.pv-dot[aria-current] { width: 44px; }
.pv-dot[aria-current]::before { background: rgba(82, 227, 160, 0.35); }
.pv-dot:hover::before { background: rgba(255, 255, 255, 0.55); }

.pv-dot-fill {
  position: absolute;
  left: 4px;
  right: 4px;
  top: 50%;
  height: 4px;
  margin-top: -2px;
  border-radius: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
}

.pv-dot[aria-current] .pv-dot-fill { transform: none; }
.pv.is-playing .pv-dot.is-timing .pv-dot-fill { animation: duo-grow var(--pv-dur, 8s) linear both; }

.pv-dot:focus-visible { outline-offset: 0; border-radius: 6px; }

/* ---------- Preview responsive ---------- */
@media (hover: none), (pointer: coarse) {
  .pv-close-key { display: none; }
}

@media (max-width: 860px) {
  .pv-split-layout,
  .pv-split-layout--how { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .pv-slide { padding: 74px 18px 96px; }
  .pv-h { font-size: clamp(1.8rem, 7.6vw, 2.6rem); max-width: 20ch; }
  .pv-p { margin-top: 12px; font-size: 0.98rem; }

  .duo { grid-template-columns: minmax(0, 1fr); max-width: 460px; }
  .duo-link { height: 64px; }
  .duo-link-line { left: 50%; right: auto; top: 6px; bottom: 6px; width: 2px; height: auto; margin-left: -1px; background: linear-gradient(180deg, var(--accent), var(--c-wall)); transform-origin: top center; }
  .duo-link-line::after { right: auto; left: -4px; top: auto; bottom: -1px; transform: rotate(135deg); }
  @keyframes duo-grow-y { from { transform: scaleY(0); } to { transform: none; } }
  .pv-slide.is-active .duo-link-line { animation-name: duo-grow-y; }
  .duo-packet { left: 50%; right: auto; top: 6px; bottom: 6px; width: 0; height: auto; }
  .duo-packet::before { left: -6px; top: 0; }
  .pv-slide.is-active .duo-packet { animation-name: duo-travel-y; }
  @keyframes duo-travel-y { from { transform: translateY(0); } to { transform: translateY(calc(100% - 12px)); } }
  .duo-link-label { left: calc(50% + 16px); right: 0; top: 50%; transform: translateY(-50%); text-align: left; }
  .duo-card { padding: 18px; gap: 6px; }
  .duo-icon { width: 52px; height: 52px; margin-bottom: 4px; }
  .duo-icon svg { width: 38px; height: 38px; }

  .why { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .flow-heads { display: none; }
  .flow-row {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "label label" "lane verdict";
    row-gap: 8px;
    padding: 12px 14px;
  }
  .flow-label { grid-area: label; font-size: 0.92rem; }
  .flow-lane { grid-area: lane; height: 26px; }
  .flow-verdict { grid-area: verdict; min-width: 0; font-size: 0.72rem; }
  .flow-why { display: none; }
}

@media (max-width: 560px) {
  .pv-top { height: 60px; }
  .pv-brand-dim { display: none; }
  .pv-play-label { display: none; }
  .pv-icon-btn { padding: 0; width: 42px; }
  .pv-close-key { display: none; }
  .pv-count { transform: translate(-50%, -40%); }

  .pv-slide { padding: 68px 16px 92px; }
  .pv-kicker { font-size: 0.7rem; }
  .pv-s-title .pv-kicker .pv-nowrap { display: block; }
  .pv-s-title .pv-dotsep { display: none; }
  .pv-h { margin-top: 10px; font-size: clamp(1.65rem, 8vw, 2.2rem); }
  .pv-head-center { margin-bottom: 18px; }
  .pv-hint { font-size: 0.82rem; }

  .gate { --pw: 11.6em; padding: 44px 12px 20px; font-size: 0.82rem; gap: 12px; }
  .gate-pill { height: 40px; font-size: 0.8rem; padding: 0 10px; gap: 6px; }
  .gate-lane { height: 54px; }
  .pv-examples { margin-top: 12px; gap: 8px; }
  .pv-example { flex-direction: column; gap: 2px; padding: 10px 12px; font-size: 0.9rem; }

  .vs-req { padding: 12px 16px; }
  .vs-lines { height: 30px; }
  .vs-col { gap: 9px; padding: 14px 12px; border-radius: 14px; }
  .vs-q { font-size: 0.98rem; }
  .vs-after { font-size: 0.82rem; }
  .vs-verdict { height: 28px; padding: 0 10px; font-size: 0.68rem; }
  .vs-compare { font-size: 1rem; gap: 8px; height: 28px; }
  .vs-scan { height: 28px; }

  .seal-card { padding: 14px 10px; gap: 12px; border-radius: 16px; }
  .seal-grid { gap: 4px; }
  .seal-result { height: 30px; padding: 0 12px; font-size: 0.78rem; }
  .seal-title { font-size: 0.64rem; }
  .pv-chips { margin-top: 10px; }
  .pv-chips li { height: 30px; font-size: 0.76rem; }

  .pv-s-how .pv-p, .how-legend { display: none; }
  .how { gap: 2px; }
  .how-step { column-gap: 12px; padding: 5px 0; grid-template-columns: 32px minmax(0, 1fr); }
  .how-n { width: 32px; height: 32px; font-size: 0.8rem; }
  .how-rail { left: 15px; }
  .how-t { font-size: 0.95rem; }
  .how-d { font-size: 0.8rem; line-height: 1.35; }

  .why { gap: 10px; }
  .why-card { padding: 14px; gap: 5px; border-radius: 16px; }
  .why-art { height: 38px; margin-bottom: 2px; transform-origin: left center; }
  .why-t { font-size: 0.92rem; }
  .why-d { font-size: 0.8rem; line-height: 1.4; }

  .pv-end-actions { flex-direction: column; align-items: stretch; width: 100%; max-width: 320px; }
  .pv-btn { justify-content: center; }

  .pv-nav { gap: 8px; padding-bottom: max(18px, env(safe-area-inset-bottom)); }
  .pv-next-label { display: none; }
  .pv-next { padding: 0; width: 48px; }
  .pv-dot { width: 16px; padding: 0 3px; }
  .pv-dot::before, .pv-dot-fill { left: 3px; right: 3px; }
  .pv-dot[aria-current] { width: 32px; }
}

@media (max-height: 760px) and (min-width: 861px) {
  .pv-slide { padding-top: 76px; padding-bottom: 92px; }
  .pv-head-center { margin-bottom: 20px; }
  .how-step { padding: 4px 14px 4px 0; }
}

/* ---------- Reduced motion: everything is shown in its final state ---------- */
@media (prefers-reduced-motion: reduce) {
  .pv { clip-path: none; }
  .pv-slide.is-leaving { visibility: hidden; }
  .pv-ring, .duo-packet, .aegis-req-scan, .vs-scan span, .aegis-preview-btn::before, .aegis-preview-play::after { display: none; }
  .aegis:hover, .aegis-cta:hover, .aegis-preview-btn:hover, .pv-btn:hover, .pv-arrow:hover:not(:disabled) { transform: none; }
}

.pv-nowrap { white-space: nowrap; }

@media (max-width: 340px) {
  .aegis-actions { flex-wrap: wrap; }
}

/* =========================================================
   Arabic page (dir="rtl"): mirror the pure-graphic tracks; the text inside
   is flipped back so it still reads normally. Same rules as the AEGIS site.
   ========================================================= */
:root[dir="rtl"] .gate-lane { transform: scaleX(-1); direction: ltr; }
:root[dir="rtl"] .gate-obj { transform: scaleX(-1); direction: rtl; }
:root[dir="rtl"] .gate-wall { left: auto; right: var(--wall); margin-left: 0; margin-right: -4px; }
:root[dir="rtl"] .gate-label { left: auto; right: var(--wall); transform: translateX(50%); }
:root[dir="rtl"] .gate-stamp { right: auto; left: -10px; }
:root[dir="rtl"] .gate-warn { right: auto; left: 0; }

:root[dir="rtl"] .vs-scan { transform: scaleX(-1); }
:root[dir="rtl"] .vs-lines { transform: scaleX(-1); }

:root[dir="rtl"] .flow-lane { transform: scaleX(-1); }
:root[dir="rtl"] .flow-head-wall { left: auto; right: var(--wallpos); transform: translateX(50%); }
:root[dir="rtl"] .flow-head-site { right: auto; left: 0; }

:root[dir="rtl"] .how-rail { left: auto; right: 19px; }
:root[dir="rtl"] .how-step { padding: 8px 0 8px 14px; }

:root[dir="rtl"] .why-switch span { left: auto; right: 3px; transform: translateX(-24px); }
:root[dir="rtl"] .pv-slide.is-active .why-switch span { animation-name: why-knob-rtl; }
@keyframes why-knob-rtl { from { transform: none; } to { transform: translateX(-24px); } }
:root[dir="rtl"] .why-bubble { border-radius: 10px 10px 2px 10px; }
:root[dir="rtl"] .why-bubble i { transform-origin: right center; }
:root[dir="rtl"] .why-art--chain i + i { margin-left: 0; margin-right: 12px; }
:root[dir="rtl"] .why-art--chain i + i::before { right: auto; left: 100%; }

:root[dir="rtl"] .pv-progress-bar,
:root[dir="rtl"] .pv-dot-fill { transform-origin: right center; }
:root[dir="rtl"] .pv-next { padding: 0 20px 0 16px; }
:root[dir="rtl"] .pv-arrow svg { transform: scaleX(-1); }

@media (min-width: 861px) {
  :root[dir="rtl"] .duo-link-line { transform-origin: right center; background: linear-gradient(-90deg, var(--accent), var(--c-wall)); }
  :root[dir="rtl"] .duo-link-line::after { right: auto; left: -2px; transform: rotate(-135deg); }
  :root[dir="rtl"] .duo-packet::before { left: auto; right: 0; }
  :root[dir="rtl"] .pv-slide.is-active .duo-packet { animation-name: duo-travel-rtl; }
  @keyframes duo-travel-rtl { from { transform: translateX(0); } to { transform: translateX(-100%); } }
}
@media (max-width: 860px) {
  :root[dir="rtl"] .duo-link-label { left: 0; right: calc(50% + 16px); }
}
@media (max-width: 560px) {
  :root[dir="rtl"] .how-rail { left: auto; right: 15px; }
  :root[dir="rtl"] .how-step { padding: 5px 0; }
  :root[dir="rtl"] .why-art { transform-origin: right center; }
}
@media (max-height: 760px) and (min-width: 861px) {
  :root[dir="rtl"] .how-step { padding: 4px 0 4px 14px; }
}

:root[lang="ar"] .pv-h,
:root[lang="ar"] .pv-mega { line-height: 1.3; }
:root[lang="ar"] .pv-p,
:root[lang="ar"] .pv-lead { line-height: 1.7; }
