/* Exhibition leads — booth-to-mailbox cinematic stage */

/* ========== Hero opening ========== */
.el-hero {
  position: relative;
  overflow: hidden;
  padding-bottom: 48px;
}

.el-hero-wash {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(90% 70% at 85% 20%, rgba(66, 79, 209, 0.14), transparent 55%),
    radial-gradient(70% 60% at 10% 90%, rgba(30, 158, 85, 0.08), transparent 50%),
    linear-gradient(180deg, transparent 60%, rgba(66, 79, 209, 0.03));
}

.el-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
  z-index: 1;
}

.el-hero-copy .lead { max-width: 520px; }

.el-hero-in {
  opacity: 0;
  transform: translateY(18px);
  animation: el-hero-in 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(var(--hi, 0) * 0.09s + 0.05s);
}

@keyframes el-hero-in {
  to { opacity: 1; transform: translateY(0); }
}

.el-hero-stage {
  position: relative;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.85), rgba(245, 246, 250, 0.92));
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px 22px 18px;
  box-shadow: var(--shadow-md);
  min-height: 220px;
  overflow: hidden;
}

.el-hero-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(66, 79, 209, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(66, 79, 209, 0.04) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(ellipse at 50% 40%, #000 40%, transparent 80%);
  pointer-events: none;
}

.el-hero-pipeline {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  min-height: 140px;
  z-index: 1;
}

.el-hp-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  width: 72px;
  opacity: 0.4;
  transition: opacity 0.35s, transform 0.35s;
  transform: scale(0.94);
}

.el-hp-node.is-on {
  opacity: 1;
  transform: scale(1);
}

.el-hp-node.is-done {
  opacity: 0.85;
}

.el-hp-node em {
  font-style: normal;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink-mid);
  text-align: center;
  line-height: 1.25;
}

.el-hp-node.is-on em { color: var(--ink); }

.el-hp-wire {
  flex: 1 1 auto;
  height: 2px;
  min-width: 12px;
  margin: 0 2px 28px;
  background: #d8dbe8;
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}

.el-hp-wire.is-lit {
  background: linear-gradient(90deg, #424fd1, #6b7ae8);
}

.el-hp-wire.is-lit::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.75), transparent);
  animation: el-hp-shimmer 0.9s ease;
}

@keyframes el-hp-shimmer {
  from { transform: translateX(-100%); }
  to { transform: translateX(100%); }
}

.el-hp-phone {
  width: 44px;
  height: 68px;
  background: #1a1a22;
  border-radius: 8px;
  position: relative;
  padding: 6px 5px;
  box-shadow: 0 8px 20px rgba(22, 22, 26, 0.2);
}

.el-hp-card {
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(180deg, #eaecfa, #fff);
}

.el-hp-flash {
  position: absolute;
  inset: -30%;
  background: radial-gradient(circle, #fff, transparent 55%);
  opacity: 0;
  pointer-events: none;
}

.el-hp-node--snap.is-on .el-hp-flash {
  animation: el-hp-flash 1.8s ease-out infinite;
}

.el-hp-node--snap.is-on .el-hp-phone {
  animation: el-hp-bob 1.8s ease-in-out infinite;
}

@keyframes el-hp-flash {
  0%, 25%, 100% { opacity: 0; }
  28% { opacity: 0.9; }
  38% { opacity: 0; }
}

@keyframes el-hp-bob {
  0%, 100% { transform: rotate(-4deg); }
  50% { transform: rotate(-2deg) translateY(-2px); }
}

.el-hp-scan {
  width: 52px;
  height: 68px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  position: relative;
  overflow: hidden;
}

.el-hp-scan::before {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  top: 14px;
  height: 4px;
  border-radius: 2px;
  background: #e4e6ef;
  box-shadow: 0 10px 0 #e4e6ef, 0 20px 0 #e4e6ef, 0 30px 0 #e4e6ef;
}

.el-hp-scan i {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: #424fd1;
  box-shadow: 0 0 10px rgba(66, 79, 209, 0.5);
  top: 10%;
  opacity: 0;
}

.el-hp-node--read.is-on .el-hp-scan i {
  opacity: 1;
  animation: el-hp-scan 1.4s ease-in-out infinite;
}

@keyframes el-hp-scan {
  from { top: 10%; }
  to { top: 85%; }
}

.el-hp-vault {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(160deg, #1a1a22, #2a2a38);
  color: #c9cbe0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(22, 22, 26, 0.22);
}

.el-hp-node--db.is-on .el-hp-vault {
  animation: el-hp-vault-pulse 1.2s ease-in-out infinite;
}

@keyframes el-hp-vault-pulse {
  0%, 100% { box-shadow: 0 8px 20px rgba(22, 22, 26, 0.22); }
  50% { box-shadow: 0 8px 20px rgba(66, 79, 209, 0.35), 0 0 0 4px rgba(66, 79, 209, 0.12); }
}

.el-hp-envelope {
  width: 52px;
  height: 40px;
  border-radius: 8px;
  background: #424fd1;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 8px 20px rgba(66, 79, 209, 0.3);
}

.el-hp-node--mail.is-on .el-hp-envelope {
  animation: el-hp-mail 1.2s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

@keyframes el-hp-mail {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  40% { transform: translateY(-6px) rotate(-6deg); }
  70% { transform: translateY(-2px) rotate(3deg); }
}

.el-hp-zero {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid rgba(30, 158, 85, 0.45);
  background: rgba(30, 158, 85, 0.08);
  color: #1e9e55;
  font-family: var(--font-display);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.el-hp-node--fu.is-on .el-hp-zero {
  animation: el-hp-zero 1.6s ease-in-out infinite;
}

@keyframes el-hp-zero {
  0%, 100% { box-shadow: 0 0 0 0 rgba(30, 158, 85, 0.25); }
  50% { box-shadow: 0 0 0 8px rgba(30, 158, 85, 0); }
}

.el-hp-packet {
  position: absolute;
  top: 34px;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #424fd1;
  box-shadow: 0 0 0 4px rgba(66, 79, 209, 0.18);
  opacity: 0;
  pointer-events: none;
  z-index: 3;
  transition: left 0.55s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s;
}

.el-hp-packet.is-on { opacity: 1; }

.el-hero-stage-caption {
  margin-top: 16px;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-light);
  letter-spacing: 0.01em;
  position: relative;
  z-index: 1;
}

.el-how--top {
  padding-top: 40px;
}

.el-how {
  padding: 72px 0 88px;
}

.el-how-head {
  max-width: 640px;
  margin-bottom: 28px;
}

.el-how-head h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.el-how-head p {
  font-size: 1.02rem;
  color: var(--ink-mid);
  line-height: 1.65;
}

.el-progress {
  margin-bottom: 22px;
  max-width: 480px;
}

.el-progress-track {
  height: 3px;
  background: var(--line);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 10px;
}

.el-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #424fd1, #6b7ae8);
  border-radius: 2px;
  transition: width 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.el-progress-dots {
  display: flex;
  justify-content: space-between;
}

.el-progress-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line);
  transition: background 0.3s, transform 0.3s;
}

.el-progress-dots span.is-on {
  background: var(--teal);
  transform: scale(1.25);
  box-shadow: 0 0 0 4px rgba(66, 79, 209, 0.2);
}

.el-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  align-items: start;
}

.el-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  position: sticky;
  top: 88px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.el-step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  text-align: left;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--ink-mid);
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s, color 0.25s, transform 0.25s;
  font: inherit;
}

.el-step:hover { background: var(--slate-light); color: var(--ink); }
.el-step:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }

.el-step.is-active {
  background: var(--white);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
  color: var(--ink);
  transform: translateX(4px);
}

.el-step-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--teal);
  padding-top: 3px;
  flex-shrink: 0;
}

.el-step-body strong { display: block; font-size: 0.92rem; margin-bottom: 2px; }
.el-step-body span { font-size: 0.8rem; color: var(--ink-light); line-height: 1.4; }
.el-step.is-active .el-step-body span { color: var(--ink-mid); }

.el-stage {
  position: relative;
  background:
    radial-gradient(120% 80% at 10% 0%, rgba(66, 79, 209, 0.08), transparent 45%),
    radial-gradient(90% 70% at 100% 100%, rgba(30, 158, 85, 0.06), transparent 40%),
    linear-gradient(165deg, #eef0f7 0%, #f7f8fc 55%, #f3f4f9 100%);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  min-height: 480px;
}

.el-stage-atmosphere {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(66, 79, 209, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(66, 79, 209, 0.035) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 75%);
  opacity: 0.7;
}

.el-stage-inner {
  position: relative;
  padding: 22px;
  min-height: 440px;
  z-index: 1;
}

.el-panel {
  position: absolute;
  inset: 22px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px) scale(0.985);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.el-panel.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  position: relative;
  inset: auto;
}

.el-caption {
  margin-top: 16px;
  font-size: 0.95rem;
  color: var(--ink-mid);
  line-height: 1.55;
  min-height: 2.8em;
  transition: opacity 0.28s;
}

.el-caption.is-swap { opacity: 0; }

/* ========== CAPTURE ========== */
.el-capture-board--v2 {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 18px;
  height: 100%;
}

.el-intake {
  position: relative;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 16px;
  min-height: 340px;
  overflow: hidden;
  backdrop-filter: blur(6px);
}

.el-phone {
  position: absolute;
  left: 16px;
  top: 28px;
  width: 92px;
  height: 168px;
  background: #1a1a22;
  border-radius: 16px;
  padding: 8px 6px;
  box-shadow: 0 16px 40px rgba(22, 22, 26, 0.28);
  z-index: 4;
  transform: rotate(-6deg);
}

.el-panel[data-phase="capture"].is-playing .el-phone {
  animation: el-phone-bob 3.2s ease-in-out infinite;
}

@keyframes el-phone-bob {
  0%, 100% { transform: rotate(-6deg) translateY(0); }
  50% { transform: rotate(-4deg) translateY(-4px); }
}

.el-phone-notch {
  width: 36px;
  height: 5px;
  background: #0e0e14;
  border-radius: 3px;
  margin: 0 auto 6px;
}

.el-phone-screen {
  background: #2a2a38;
  border-radius: 8px;
  height: calc(100% - 14px);
  position: relative;
  overflow: hidden;
}

.el-phone-viewfinder {
  position: absolute;
  inset: 14px 10px 28px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 4px;
}

.el-vf-card {
  position: absolute;
  inset: 18% 12%;
  background: linear-gradient(180deg, #eaecfa, #f7f8ff);
  border-radius: 3px;
}

.el-vf-corner {
  position: absolute;
  width: 10px;
  height: 10px;
  border: 2px solid #7dd3a0;
}
.el-vf-corner--tl { top: 4px; left: 4px; border-right: 0; border-bottom: 0; }
.el-vf-corner--tr { top: 4px; right: 4px; border-left: 0; border-bottom: 0; }
.el-vf-corner--bl { bottom: 4px; left: 4px; border-right: 0; border-top: 0; }
.el-vf-corner--br { bottom: 4px; right: 4px; border-left: 0; border-top: 0; }

.el-shutter {
  position: absolute;
  bottom: 8px;
  left: 50%;
  width: 18px;
  height: 18px;
  margin-left: -9px;
  border-radius: 50%;
  border: 2px solid #fff;
}

.el-flash {
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.9), transparent 55%);
  opacity: 0;
  pointer-events: none;
}

.el-panel[data-phase="capture"].is-playing .el-flash {
  animation: el-flash-snap 3.2s ease-out infinite;
}

@keyframes el-flash-snap {
  0%, 18%, 100% { opacity: 0; }
  20% { opacity: 1; }
  28% { opacity: 0; }
}

.el-rain {
  position: absolute;
  inset: 0 0 88px 110px;
  pointer-events: none;
}

.el-media {
  position: absolute;
  width: 88px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 10px 28px rgba(22, 22, 26, 0.12);
  padding: 6px;
  opacity: 0;
  left: calc(8% + var(--i) * 12%);
  top: -20%;
}

.el-media > span {
  display: block;
  text-align: center;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink-light);
  padding: 4px 0 0;
}

.el-panel[data-phase="capture"].is-playing .el-media {
  animation: el-rain-fall 2.8s cubic-bezier(0.33, 0.8, 0.3, 1) both;
  animation-delay: calc(var(--i) * 0.22s + 0.35s);
}

@keyframes el-rain-fall {
  0% { opacity: 0; transform: translateY(-30px) rotate(-8deg) scale(0.9); }
  15% { opacity: 1; }
  70% { opacity: 1; transform: translateY(180px) rotate(var(--rot, 4deg)) scale(1); }
  100% { opacity: 0.35; transform: translateY(210px) rotate(var(--rot, 4deg)) scale(0.85); }
}

@media (max-width: 900px) {
  @keyframes el-rain-fall {
    0% { opacity: 0; transform: translateY(-16px) rotate(-6deg) scale(0.92); }
    20% { opacity: 1; }
    75% { opacity: 1; transform: translateY(100px) rotate(var(--rot, 4deg)) scale(1); }
    100% { opacity: 0.4; transform: translateY(120px) rotate(var(--rot, 4deg)) scale(0.9); }
  }
}

.el-media--1 { --rot: -8deg; }
.el-media--2 { --rot: 5deg; }
.el-media--3 { --rot: -3deg; }
.el-media--4 { --rot: 7deg; }
.el-media--5 { --rot: -5deg; }
.el-media--6 { --rot: 3deg; }

.el-card-face {
  height: 52px;
  border-radius: 5px;
  background: linear-gradient(180deg, #eaecfa 0%, #f7f8ff 100%);
  position: relative;
  overflow: hidden;
}

.el-card-face::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 10px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(66, 79, 209, 0.22);
}

.el-card-face::after {
  content: "";
  position: absolute;
  left: 38px;
  top: 14px;
  width: 36px;
  height: 5px;
  border-radius: 3px;
  background: rgba(22, 22, 26, 0.18);
  box-shadow: 0 8px 0 rgba(22, 22, 26, 0.1), 0 16px 0 rgba(22, 22, 26, 0.08);
}

.el-pdf-face {
  height: 52px;
  border-radius: 5px;
  background: linear-gradient(160deg, #fff7ed, #fff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: #c4551a;
}

.el-hopper {
  position: absolute;
  left: 110px;
  right: 16px;
  bottom: 14px;
  height: 72px;
  background: linear-gradient(180deg, #fafbfe, #eef0f7);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  z-index: 2;
}

.el-hopper-lid {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-light);
  padding: 8px 12px 0;
}

.el-belt {
  position: relative;
  height: 40px;
  margin-top: 6px;
  overflow: hidden;
}

.el-belt-track {
  position: absolute;
  left: 0;
  right: 0;
  top: 18px;
  height: 6px;
  background: repeating-linear-gradient(90deg, #c5c9d8 0 10px, #d8dbe8 10px 20px);
  border-radius: 3px;
}

.el-panel[data-phase="capture"].is-playing .el-belt-track {
  animation: el-belt-move 1s linear infinite;
}

@keyframes el-belt-move {
  from { background-position: 0 0; }
  to { background-position: 20px 0; }
}

.el-belt-item {
  position: absolute;
  top: 8px;
  width: 28px;
  height: 18px;
  border-radius: 3px;
  background: #424fd1;
  opacity: 0;
}

.el-belt-item--2 { background: #c4551a; height: 16px; }
.el-belt-item--3 { background: #3340b8; }

.el-panel[data-phase="capture"].is-playing .el-belt-item {
  animation: el-belt-item 2.4s linear infinite;
}

.el-belt-item--1 { animation-delay: 0s !important; }
.el-belt-item--2 { animation-delay: 0.8s !important; }
.el-belt-item--3 { animation-delay: 1.6s !important; }

@keyframes el-belt-item {
  0% { left: -10%; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { left: 105%; opacity: 0; }
}

.el-bulk-meter {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  align-items: center;
  text-align: center;
}

.el-meter-ring {
  position: relative;
  width: 100px;
  height: 100px;
}

.el-meter-ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.el-ring-bg {
  fill: none;
  stroke: #e4e6ef;
  stroke-width: 6;
}

.el-ring-fg {
  fill: none;
  stroke: #424fd1;
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 213.6;
  stroke-dashoffset: 213.6;
  transition: stroke-dashoffset 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.el-panel[data-phase="capture"].is-playing .el-ring-fg,
.el-panel[data-phase="capture"].is-active .el-ring-fg.is-full {
  stroke-dashoffset: 0;
}

.el-meter-ring .big {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 1.85rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.03em;
}

.el-bulk-meter .sub {
  font-size: 0.82rem;
  color: var(--ink-mid);
  line-height: 1.45;
}

.el-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}

.el-chip {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--teal-soft);
  color: var(--teal-dark);
  opacity: 0;
  transform: translateY(6px);
}

.el-panel[data-phase="capture"].is-playing .el-chip {
  animation: el-chip-in 0.4s ease both;
}

.el-chip:nth-child(1) { animation-delay: 0.6s; }
.el-chip:nth-child(2) { animation-delay: 0.75s; }
.el-chip:nth-child(3) { animation-delay: 0.9s; }

@keyframes el-chip-in {
  to { opacity: 1; transform: translateY(0); }
}

.el-chip--pdf { background: #fff0e6; color: #c4551a; }

/* ========== READ ========== */
.el-read-board--v2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.el-ocr {
  position: relative;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  min-height: 300px;
  overflow: hidden;
}

.el-ocr-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-light);
  margin-bottom: 16px;
}

.el-ocr-stack {
  position: relative;
  height: 200px;
  max-width: 220px;
  margin: 0 auto;
}

.el-ocr-card {
  position: absolute;
  inset: 0;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 10px 28px rgba(22, 22, 26, 0.1);
}

.el-ocr-card--back {
  transform: translate(14px, -10px) rotate(4deg) scale(0.94);
  opacity: 0.45;
  background: #f0f1f7;
}

.el-ocr-card--mid {
  transform: translate(7px, -5px) rotate(2deg) scale(0.97);
  opacity: 0.7;
  background: #f5f6fb;
}

.el-ocr-card--front {
  padding: 22px 18px;
  overflow: hidden;
  background:
    linear-gradient(180deg, #fafbfe, #fff);
}

.el-ocr-text {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.72rem;
  color: rgba(22, 22, 26, 0.35);
  font-family: var(--font-mono);
}

.el-panel[data-phase="read"].is-playing .el-ocr-text span {
  animation: el-ocr-reveal 0.5s ease both;
}

.el-ocr-text span:nth-child(1) { animation-delay: 0.3s; font-weight: 700; font-size: 0.85rem; color: var(--ink); }
.el-ocr-text span:nth-child(2) { animation-delay: 0.55s; }
.el-ocr-text span:nth-child(3) { animation-delay: 0.8s; }
.el-ocr-text span:nth-child(4) { animation-delay: 1.05s; }

@keyframes el-ocr-reveal {
  from { opacity: 0.2; letter-spacing: 0.12em; filter: blur(2px); }
  to { opacity: 1; letter-spacing: 0; filter: blur(0); color: var(--ink); }
}

.el-ocr-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(66, 79, 209, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(66, 79, 209, 0.06) 1px, transparent 1px);
  background-size: 12px 12px;
  opacity: 0;
  pointer-events: none;
}

.el-panel[data-phase="read"].is-playing .el-ocr-grid {
  animation: el-grid-fade 2.4s ease both;
}

@keyframes el-grid-fade {
  0%, 100% { opacity: 0; }
  30%, 70% { opacity: 1; }
}

.el-scan-beam {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #424fd1, transparent);
  box-shadow: 0 0 18px rgba(66, 79, 209, 0.45);
  opacity: 0;
  top: 0;
}

.el-panel[data-phase="read"].is-playing .el-scan-beam {
  animation: el-scan 2.4s ease-in-out infinite;
}

@keyframes el-scan {
  0% { top: 8%; opacity: 0; }
  12% { opacity: 1; }
  88% { opacity: 1; }
  100% { top: 90%; opacity: 0; }
}

.el-ocr-particles {
  position: absolute;
  inset: 40px 10px 20px;
  pointer-events: none;
}

.el-ocr-particles i {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #424fd1;
  opacity: 0;
}

.el-panel[data-phase="read"].is-playing .el-ocr-particles i {
  animation: el-particle-fly 1.6s ease-in both;
  animation-delay: var(--d);
}

@keyframes el-particle-fly {
  0% { opacity: 0; transform: scale(0.4); }
  30% { opacity: 1; }
  100% { opacity: 0; transform: translate(80px, -20px) scale(0.2); }
}

.el-fields {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.el-field {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  opacity: 0;
  transform: translateX(16px);
}

.el-field.is-in {
  animation: el-field-slide 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.el-field.is-lit {
  border-color: rgba(66, 79, 209, 0.45);
  box-shadow: 0 0 0 3px rgba(66, 79, 209, 0.1);
}

@keyframes el-field-slide {
  to { opacity: 1; transform: translateX(0); }
}

.el-field .k {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-light);
  margin-bottom: 4px;
}

.el-field .v {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink);
  min-height: 1.2em;
}

.el-field .v::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: 0.9em;
  background: #424fd1;
  margin-left: 2px;
  vertical-align: -1px;
  opacity: 0;
}

.el-field.is-typing .v::after {
  opacity: 1;
  animation: el-caret-blink 0.7s steps(1) infinite;
}

@keyframes el-caret-blink {
  50% { opacity: 0; }
}

/* ========== DATABASE ========== */
.el-db-board {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 16px;
}

.el-funnel {
  position: relative;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--line);
  border-radius: 16px;
  min-height: 340px;
  overflow: hidden;
}

.el-node {
  position: absolute;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #424fd1;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  z-index: 2;
  box-shadow: 0 6px 16px rgba(66, 79, 209, 0.3);
}

.el-node--1 { left: 12%; top: 12%; background: #424fd1; }
.el-node--2 { left: 32%; top: 8%; background: #c4551a; }
.el-node--3 { left: 48%; top: 6%; background: #3340b8; }
.el-node--4 { left: 62%; top: 10%; background: #1e9e55; }
.el-node--5 { left: 78%; top: 14%; background: #7a5a2a; }

.el-panel[data-phase="database"].is-playing .el-node {
  animation: el-node-sink 1.8s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.el-node--1 { animation-delay: 0.1s !important; }
.el-node--2 { animation-delay: 0.28s !important; }
.el-node--3 { animation-delay: 0.46s !important; }
.el-node--4 { animation-delay: 0.64s !important; }
.el-node--5 { animation-delay: 0.82s !important; }

@keyframes el-node-sink {
  0% { opacity: 0; transform: translateY(-10px) scale(0.6); }
  20% { opacity: 1; transform: translateY(0) scale(1); }
  100% { opacity: 0; transform: translateY(180px) scale(0.4); }
}

.el-funnel-paths {
  position: absolute;
  inset: 10% 8% 22%;
  width: 84%;
  height: 68%;
  opacity: 0;
}

.el-funnel-paths path {
  fill: none;
  stroke: rgba(66, 79, 209, 0.25);
  stroke-width: 1.5;
  stroke-dasharray: 4 4;
}

.el-panel[data-phase="database"].is-playing .el-funnel-paths {
  animation: el-paths-in 0.6s ease both;
}

@keyframes el-paths-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.el-vault {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  width: 88px;
  text-align: center;
  z-index: 3;
}

.el-vault-lid {
  height: 10px;
  background: #2a2a38;
  border-radius: 6px 6px 0 0;
  margin: 0 8px;
}

.el-vault-body {
  position: relative;
  background: linear-gradient(160deg, #1a1a22, #2a2a38);
  color: #c9cbe0;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 18px 10px;
  border-radius: 0 0 12px 12px;
  overflow: hidden;
}

.el-vault-pulse {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(110, 231, 183, 0.35), transparent 60%);
  opacity: 0;
}

.el-panel[data-phase="database"].is-playing .el-vault-pulse {
  animation: el-vault-hit 1.8s ease-out 0.9s both;
}

@keyframes el-vault-hit {
  0% { opacity: 0; transform: scale(0.6); }
  40% { opacity: 1; }
  100% { opacity: 0; transform: scale(1.4); }
}

.el-seconds-badge {
  position: absolute;
  right: 14px;
  top: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px 12px;
  font-family: var(--font-mono);
  display: flex;
  align-items: baseline;
  gap: 4px;
  box-shadow: var(--shadow-sm);
}

.el-seconds-badge span {
  font-size: 1.6rem;
  font-weight: 500;
  color: #1e9e55;
}

.el-seconds-badge small {
  font-size: 0.7rem;
  color: var(--ink-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.el-db {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.el-db-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  background: #fafbfe;
}

.el-db-head strong { font-size: 0.9rem; }
.el-db-head .tick {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #1e9e55;
  font-weight: 500;
}

.el-db table {
  width: 100%;
  border-collapse: collapse;
}

.el-db th {
  text-align: left;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-light);
  padding: 8px 12px;
  font-weight: 700;
}

.el-db td {
  padding: 10px 12px;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
}

.el-db tr {
  opacity: 0;
}

.el-db tr.is-enter {
  animation: el-row-in 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes el-row-in {
  from { opacity: 0; transform: translateX(-12px); background: #eaecfa; }
  to { opacity: 1; transform: translateX(0); background: transparent; }
}

.el-pill {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
}

.el-pill--ok { background: #e4f5eb; color: #1e9e55; }
.el-pill--new { background: #eaecfa; color: #3340b8; }

.el-db-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: auto;
  border-top: 1px solid var(--line);
}

.el-stat {
  padding: 10px 12px;
  border-right: 1px solid var(--line);
}

.el-stat:last-child { border-right: 0; }

.el-stat .lab {
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--ink-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.el-stat .val {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 500;
  margin-top: 2px;
  color: var(--ink);
}

.el-stat .val.is-green { color: #1e9e55; }

/* ========== MAIL ========== */
.el-mail-board--v2 {
  position: relative;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.el-industry-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.el-ind {
  font: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink-mid);
  cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s;
}

.el-ind.is-on {
  background: #424fd1;
  border-color: #424fd1;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(66, 79, 209, 0.28);
}

.el-mail-compose {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  max-width: 480px;
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s, border-color 0.3s;
}

.el-mail-compose.is-sending {
  border-color: rgba(66, 79, 209, 0.45);
  box-shadow: 0 0 0 4px rgba(66, 79, 209, 0.12);
}

.el-mail-compose .from {
  font-size: 0.72rem;
  color: var(--ink-light);
  margin-bottom: 8px;
}

.el-mail-compose .to {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 6px;
  transition: opacity 0.25s;
}

.el-mail-compose .subject {
  font-size: 0.88rem;
  color: var(--ink-mid);
  margin-bottom: 12px;
  transition: opacity 0.25s;
}

.el-mail-compose .body {
  font-size: 0.84rem;
  color: var(--ink-mid);
  line-height: 1.55;
  min-height: 64px;
  transition: opacity 0.25s;
}

.el-mail-compose.is-morph .to,
.el-mail-compose.is-morph .subject,
.el-mail-compose.is-morph .body {
  opacity: 0;
}

.el-caret {
  display: inline-block;
  width: 2px;
  height: 0.9em;
  background: #424fd1;
  margin-left: 2px;
  vertical-align: -1px;
  animation: el-caret-blink 0.7s steps(1) infinite;
}

.el-send-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
}

.el-send-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #424fd1;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 10px;
  min-width: 72px;
}

.el-send-btn.is-fire {
  animation: el-send-pop 0.5s ease;
}

@keyframes el-send-pop {
  0% { transform: scale(1); }
  40% { transform: scale(0.92); background: #2f3ab0; }
  100% { transform: scale(1); }
}

.el-sent-count {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--ink-light);
}

.el-flyouts {
  position: absolute;
  inset: 60px 0 0;
  pointer-events: none;
  overflow: hidden;
}

.el-fly {
  position: absolute;
  left: 42%;
  top: 40%;
  padding: 6px 10px;
  border-radius: 8px;
  background: #424fd1;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  box-shadow: 0 8px 24px rgba(66, 79, 209, 0.3);
}

.el-fly.is-go {
  animation: el-fly-out 1.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes el-fly-out {
  0% { opacity: 0; transform: translate(0, 0) scale(0.7); }
  15% { opacity: 1; }
  100% { opacity: 0; transform: translate(var(--dx, 140px), var(--dy, -90px)) scale(0.55) rotate(8deg); }
}

/* ========== FOLLOW ========== */
.el-fu--v2 {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 16px;
}

.el-timeline {
  position: relative;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 18px 18px 20px;
  overflow: hidden;
}

.el-tl-track {
  position: absolute;
  left: 32px;
  top: 40px;
  bottom: 40px;
  width: 3px;
  background: #e4e6ef;
  border-radius: 2px;
}

.el-tl-fill {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 0%;
  background: linear-gradient(180deg, #424fd1, #1e9e55);
  border-radius: 2px;
  transition: height 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.el-tl-pulse {
  position: absolute;
  left: -5px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #424fd1;
  top: 0%;
  box-shadow: 0 0 0 4px rgba(66, 79, 209, 0.2);
  transition: top 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  opacity: 0;
}

.el-tl-pulse.is-on { opacity: 1; }

.el-ladder {
  position: relative;
  z-index: 1;
}

.el-ladder-step {
  display: grid;
  grid-template-columns: 24px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  position: relative;
  opacity: 0.4;
  transition: opacity 0.35s;
}

.el-ladder-step .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--line);
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px var(--line);
  z-index: 1;
  justify-self: center;
  transition: background 0.3s, box-shadow 0.3s;
}

.el-ladder-step.is-live {
  opacity: 1;
}

.el-ladder-step.is-live .dot {
  background: #424fd1;
  box-shadow: 0 0 0 1px #424fd1, 0 0 0 5px rgba(66, 79, 209, 0.18);
  animation: el-pulse-dot 1.4s ease-in-out infinite;
}

.el-ladder-step.is-done {
  opacity: 1;
}

.el-ladder-step.is-done .dot {
  background: #1e9e55;
  box-shadow: 0 0 0 1px #1e9e55;
  animation: none;
}

.el-ladder-step.is-done .st { color: #1e9e55; }
.el-ladder-step.is-live .st { color: #424fd1; }

@keyframes el-pulse-dot {
  0%, 100% { box-shadow: 0 0 0 1px #424fd1, 0 0 0 5px rgba(66, 79, 209, 0.18); }
  50% { box-shadow: 0 0 0 1px #424fd1, 0 0 0 8px rgba(66, 79, 209, 0.06); }
}

.el-ladder-step strong { font-size: 0.88rem; display: block; }
.el-ladder-step em {
  font-style: normal;
  font-size: 0.76rem;
  color: var(--ink-light);
  font-weight: 600;
}

.el-orbit {
  position: absolute;
  right: -20px;
  bottom: -20px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 1px dashed rgba(66, 79, 209, 0.25);
  opacity: 0.7;
  pointer-events: none;
}

.el-orbit-lead {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 22px;
  height: 22px;
  margin: -11px;
  border-radius: 50%;
  background: #424fd1;
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(var(--a)) translate(48px) rotate(calc(-1 * var(--a)));
}

.el-panel[data-phase="follow"].is-playing .el-orbit {
  animation: el-orbit-spin 12s linear infinite;
}

@keyframes el-orbit-spin {
  to { transform: rotate(360deg); }
}

.el-panel[data-phase="follow"].is-playing .el-orbit-lead {
  animation: el-orbit-counter 12s linear infinite;
}

@keyframes el-orbit-counter {
  to { transform: rotate(var(--a)) translate(48px) rotate(calc(-1 * var(--a) - 360deg)); }
}

.el-safe {
  background: linear-gradient(160deg, #111119, #1a1a28);
  color: #f6f6f9;
  border-radius: 16px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.el-safe::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: conic-gradient(from 0deg, transparent, rgba(110, 231, 183, 0.12), transparent 40%);
  animation: el-safe-sweep 4s linear infinite;
  opacity: 0;
}

.el-panel[data-phase="follow"].is-playing .el-safe::before {
  opacity: 1;
}

@keyframes el-safe-sweep {
  to { transform: rotate(360deg); }
}

.el-shield {
  position: relative;
  width: 56px;
  height: 64px;
  margin: 0 auto 6px;
  z-index: 1;
}

.el-shield svg {
  width: 100%;
  height: 100%;
}

.el-shield-shape {
  fill: rgba(110, 231, 183, 0.12);
  stroke: #6ee7b7;
  stroke-width: 2;
  stroke-dasharray: 180;
  stroke-dashoffset: 180;
}

.el-panel[data-phase="follow"].is-playing .el-shield-shape {
  animation: el-shield-draw 1.2s ease both;
}

@keyframes el-shield-draw {
  to { stroke-dashoffset: 0; }
}

.el-shield-check {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6ee7b7;
  font-size: 1.3rem;
  font-weight: 700;
  opacity: 0;
  transform: scale(0.6);
}

.el-panel[data-phase="follow"].is-playing .el-shield-check {
  animation: el-check-pop 0.45s cubic-bezier(0.22, 1, 0.36, 1) 0.9s both;
}

@keyframes el-check-pop {
  to { opacity: 1; transform: scale(1); }
}

.el-safe .zero {
  font-family: var(--font-display);
  font-size: 3.2rem;
  line-height: 1;
  color: #6ee7b7;
  position: relative;
  z-index: 1;
}

.el-safe .zero.is-slam {
  animation: el-zero-slam 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes el-zero-slam {
  0% { transform: scale(1.4); opacity: 0.4; }
  100% { transform: scale(1); opacity: 1; }
}

.el-safe .label {
  font-size: 0.95rem;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.el-safe .hint {
  font-size: 0.8rem;
  color: rgba(246, 246, 249, 0.6);
  line-height: 1.5;
  position: relative;
  z-index: 1;
}

/* Dark */
[data-theme="dark"] .el-hero-stage {
  background: linear-gradient(160deg, #18181f, #14141c);
  border-color: var(--line);
}
[data-theme="dark"] .el-hp-scan { background: #1c1c26; }
[data-theme="dark"] .el-stage {
  background:
    radial-gradient(120% 80% at 10% 0%, rgba(66, 79, 209, 0.14), transparent 45%),
    radial-gradient(90% 70% at 100% 100%, rgba(30, 158, 85, 0.08), transparent 40%),
    linear-gradient(165deg, #12121a, #16161f);
}
[data-theme="dark"] .el-intake,
[data-theme="dark"] .el-bulk-meter,
[data-theme="dark"] .el-ocr,
[data-theme="dark"] .el-field,
[data-theme="dark"] .el-db,
[data-theme="dark"] .el-funnel,
[data-theme="dark"] .el-mail-compose,
[data-theme="dark"] .el-timeline,
[data-theme="dark"] .el-step.is-active,
[data-theme="dark"] .el-ind,
[data-theme="dark"] .el-seconds-badge {
  background: var(--surface-raised, #18181f);
  border-color: var(--line);
}
[data-theme="dark"] .el-db-head { background: #16161f; }
[data-theme="dark"] .el-ocr-card,
[data-theme="dark"] .el-ocr-card--front { background: #1c1c26; }
[data-theme="dark"] .el-hopper { background: #1a1a24; }

@media (max-width: 900px) {
  .el-hero {
    padding-bottom: 36px;
  }
  .el-hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .el-hero-stage {
    padding: 20px 16px 14px;
    overflow: visible;
  }
  .el-hero-pipeline {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    min-height: 0;
  }
  .el-hp-node {
    flex-direction: row;
    width: 100%;
    justify-content: flex-start;
    gap: 14px;
    padding: 8px 2px;
    transform: none;
  }
  .el-hp-node.is-on,
  .el-hp-node.is-done {
    transform: none;
  }
  .el-hp-node em {
    font-size: 0.78rem;
    text-align: left;
  }
  .el-hp-wire {
    width: 2px;
    height: 14px;
    min-width: 0;
    margin: 0 0 0 25px;
    flex: 0 0 auto;
    align-self: flex-start;
  }
  .el-hp-wire.is-lit {
    background: linear-gradient(180deg, #424fd1, #6b7ae8);
  }
  .el-hp-packet {
    display: none;
  }
  .el-hero-stage-caption {
    margin-top: 12px;
    font-size: 0.72rem;
    line-height: 1.4;
  }

  .el-layout { grid-template-columns: 1fr; }
  .el-steps {
    position: static;
    flex-direction: row;
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 4px;
    padding-right: 24px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    mask-image: linear-gradient(90deg, #000 85%, transparent);
  }
  .el-step {
    flex: 0 0 auto;
    min-width: 128px;
    scroll-snap-align: start;
  }
  .el-step.is-active { transform: none; }
  .el-step-body span { display: none; }

  .el-stage {
    min-height: 0;
    overflow: hidden;
  }
  .el-stage-inner {
    padding: 14px;
    min-height: 0;
  }
  .el-panel {
    inset: 14px;
  }
  .el-panel.is-active {
    inset: auto;
  }

  .el-capture-board--v2,
  .el-read-board--v2,
  .el-db-board,
  .el-fu--v2 { grid-template-columns: 1fr; }

  .el-phone { display: none; }
  .el-intake {
    min-height: 220px;
  }
  .el-rain { inset: 8px 8px 80px; }
  .el-media {
    width: 64px;
  }
  .el-media--5,
  .el-media--6 {
    display: none;
  }
  .el-hopper { left: 12px; right: 12px; }
  .el-orbit { display: none; }

  .el-db {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .el-db table {
    min-width: 420px;
  }
  .el-db-stats {
    grid-template-columns: 1fr;
  }
  .el-stat {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .el-stat:last-child { border-bottom: 0; }

  .el-funnel {
    min-height: 220px;
  }
  .el-mail-board--v2 {
    min-height: 0;
    overflow: hidden;
  }
  .el-flyouts { display: none; }
  .el-industry-rail {
    gap: 6px;
  }
  .el-ind {
    padding: 6px 10px;
    font-size: 0.68rem;
  }
  .el-caption {
    font-size: 0.88rem;
    min-height: 0;
  }
}

@media (max-width: 480px) {
  .el-hero-copy .lead {
    font-size: 0.98rem;
  }
  .el-hp-phone {
    width: 36px;
    height: 56px;
  }
  .el-hp-scan,
  .el-hp-vault,
  .el-hp-zero {
    width: 44px;
    height: 44px;
  }
  .el-hp-envelope {
    width: 44px;
    height: 34px;
  }
  .el-hp-wire {
    margin-left: 21px;
  }
  .el-how-head h2 {
    font-size: 1.55rem;
  }
  .el-bulk-meter .sub {
    font-size: 0.78rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .el-hero-in,
  .el-hp-flash,
  .el-hp-phone,
  .el-hp-scan i,
  .el-hp-vault,
  .el-hp-envelope,
  .el-hp-zero,
  .el-hp-wire.is-lit::after,
  .el-hp-packet {
    animation: none !important;
    transition: none !important;
  }
  .el-hero-in { opacity: 1; transform: none; }
  .el-media,
  .el-flash,
  .el-phone,
  .el-belt-track,
  .el-belt-item,
  .el-chip,
  .el-scan-beam,
  .el-ocr-grid,
  .el-ocr-text span,
  .el-ocr-particles i,
  .el-field,
  .el-node,
  .el-funnel-paths,
  .el-vault-pulse,
  .el-db tr.is-enter,
  .el-fly,
  .el-send-btn,
  .el-ladder-step.is-live .dot,
  .el-orbit,
  .el-orbit-lead,
  .el-shield-shape,
  .el-shield-check,
  .el-safe::before,
  .el-zero,
  .el-panel {
    animation: none !important;
    transition: none !important;
  }
  .el-panel { opacity: 1; transform: none; }
  .el-panel:not(.is-active) { display: none; }
  .el-ring-fg { stroke-dashoffset: 0; }
  .el-media,
  .el-chip,
  .el-field,
  .el-db tr { opacity: 1; transform: none; }
}
