/* how-section.css - storyboard 'Simple. Tout de suite.' extracted from pricing
   CSS, un-scoped from .pricing-page so it works on MagicContract too. */

/* ---- keyframes ---- */
@keyframes prc-flow-pulse {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}
@keyframes prc-icon-arrive {
  0%   { transform: scale(0.7) rotate(-12deg); opacity: 0; }
  60%  { transform: scale(1.15) rotate(3deg); opacity: 1; }
  100% { transform: scale(1) rotate(0); opacity: 1; }
}
@keyframes prc-icon-pulse {
  0%   { box-shadow: 0 6px 20px rgba(0,122,255,0.20); }
  50%  { box-shadow: 0 6px 32px rgba(0,122,255,0.45); }
  100% { box-shadow: 0 6px 20px rgba(0,122,255,0.20); }
}
@keyframes prc-pen-fade {
  to { opacity: 1; }
}
@keyframes prc-pen-write {
  from { offset-distance: 0%; }
  to   { offset-distance: 100%; }
}
@keyframes prc-plane-fly {
  0%, 100% { transform: translate(0, 0) rotate(0); }
  50%      { transform: translate(3px, -3px) rotate(-3deg); }
}
@keyframes prc-scan-down {
  0%   { transform: translateY(-100%); opacity: 0; }
  10%  { opacity: 0.9; }
  90%  { opacity: 0.9; }
  100% { transform: translateY(120%); opacity: 0; }
}
@keyframes prc-sepa-amount-pulse {
  0% { filter: drop-shadow(0 0 0 rgba(140,245,208,0)); }
  50% { filter: drop-shadow(0 0 12px rgba(140,245,208,0.7)); }
  100% { filter: drop-shadow(0 0 0 rgba(140,245,208,0)); }
}
@keyframes prc-sepa-amount-pulse-light {
  0%   { filter: drop-shadow(0 0 0 rgba(10,139,78,0)); }
  50%  { filter: drop-shadow(0 0 12px rgba(10,139,78,0.55)); }
  100% { filter: drop-shadow(0 0 0 rgba(10,139,78,0)); }
}
@keyframes prc-sig-draw {
  to { stroke-dashoffset: 0; }
}
@keyframes prc-stage-fallback-show {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes prc-step1-fill {
  to { opacity: 1; transform: scaleX(1); }
}
@keyframes prc-step1-scan {
  0%   { transform: translateY(-110%); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { transform: translateY(110%); opacity: 0; }
}
@keyframes prc-step2-glide {
  0%, 100% { transform: translate(0, 0) rotate(0); }
  25%      { transform: translate(4px, -2px) rotate(-3deg); }
  50%      { transform: translate(6px, -5px) rotate(-5deg); }
  75%      { transform: translate(2px, -2px) rotate(-2deg); }
}
@keyframes prc-step2-launch {
  0%   { transform: translate(-30px, 18px) rotate(-25deg) scale(0.6); opacity: 0; }
  60%  { transform: translate(6px, -6px) rotate(8deg) scale(1.12); opacity: 1; }
  100% { transform: translate(0, 0) rotate(0) scale(1); opacity: 1; }
}
@keyframes prc-step2-trail {
  0%   { width: 0; opacity: 0; }
  30%  { opacity: 1; }
  100% { width: 60%; opacity: 0; }
}
@keyframes prc-step3-check {
  to { opacity: 1; transform: scale(1); }
}
@keyframes prc-step3-sign {
  0%   { transform: scaleX(0); }
  100% { transform: scaleX(1); }
}
@keyframes prc-step4-approved {
  to { transform: scale(1) rotate(0); opacity: 1; }
}
@keyframes prc-step4-ring {
  0%   { transform: scale(0.6); opacity: 0.9; }
  100% { transform: scale(2.4); opacity: 0; }
}
@keyframes prc-step4-swipe {
  0%   { transform: translateX(-22px) rotate(-6deg); opacity: 0.4; }
  35%  { transform: translateX(8px) rotate(2deg); opacity: 1; }
  70%  { transform: translateX(-3px) rotate(-1deg); }
  100% { transform: translateX(0) rotate(0); }
}

/* ---- rules ---- */
.prc-section--light .prc-how-title { color: #1d1d1f !important; }

.prc-section--light .prc-how-desc { color: rgba(29,29,31,0.55) !important; }

.prc-section--light .prc-how-num { color: rgba(0,122,255,0.7) !important; }

.prc-section--light .prc-how-step,
.prc-section--light-purple .prc-plan-card,
.prc-section--light .prc-always-card {
  background: #ffffff;
  border-color: rgba(0,0,0,0.07);
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}

.prc-section--light .prc-how-step:hover,
.prc-section--light-purple .prc-plan-card:hover,
.prc-section--light .prc-always-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  border-color: rgba(0,0,0,0.12);
}

.prc-section--light .prc-how-arrow {
  color: rgba(29,29,31,0.2);
}

.prc-how-flow {
  display: flex;
  align-items: flex-start;
  gap: 0;
  justify-content: space-between;
  width: 100%;
}

.prc-how-step {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 28px 20px;
  flex: 1;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s;
}

.prc-how-step:hover {
  border-color: rgba(0,122,255,0.2);
  transform: translateY(-4px);
}

.prc-how-num {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: rgba(0,122,255,0.5);
  margin-bottom: 16px;
}

.prc-how-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0,122,255,0.08);
  border: 1px solid rgba(0,122,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: #5ac8fa;
}

.prc-how-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.prc-how-desc {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
  margin: 0;
}

.prc-how-arrow {
  color: rgba(255,255,255,0.15);
  font-size: 1.4rem;
  padding: 60px 12px 0;
  flex-shrink: 0;
  align-self: flex-start;
}

@media (max-width: 900px) {
  .prc-how-flow {
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
  }
  .prc-how-arrow {
    display: none;
  }
  .prc-how-step {
    flex: 0 0 auto;
    width: calc(50% - 8px);
  }
}

@media (max-width: 600px) {
  .prc-how-step {
    width: 100%;
  }
}

.prc-how-section {
  border-top: 1px solid rgba(255,255,255,0.04);
}

.prc-how-flow {
  display: flex;
  align-items: flex-start;
  gap: 0;
  justify-content: center;
}

.prc-how-step {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 28px 20px;
  flex: 1;
  max-width: 220px;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s;
}

.prc-how-step:hover {
  border-color: rgba(0,122,255,0.2);
  transform: translateY(-4px);
}

.prc-how-num {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: rgba(0,122,255,0.5);
  margin-bottom: 16px;
}

.prc-how-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0,122,255,0.08);
  border: 1px solid rgba(0,122,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: #5ac8fa;
}

.prc-how-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.prc-how-desc {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
  margin: 0;
}

.prc-how-arrow {
  color: rgba(255,255,255,0.15);
  font-size: 1.4rem;
  padding: 60px 8px 0;
  flex-shrink: 0;
  align-self: flex-start;
}

@media (max-width: 900px) {
  .prc-how-flow {
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
  }
  .prc-how-arrow {
    display: none;
  }
  .prc-how-step {
    max-width: 200px;
    flex: 0 0 auto;
  }
}

.prc-section--light .prc-how-arrow,
.prc-how-arrow {
  opacity: 0.55 !important;
  color: rgba(0, 122, 255, 0.65) !important;
}

.prc-hero,
.prc-how-section,
.prc-section--dark,
.prc-section--light,
.prc-section--light-purple,
.prc-trust-section,
.rd-cta-section {
  min-height: 100vh !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  padding-top: 90px !important;       /* leaves room under fixed navbar */
  padding-bottom: 40px !important;
  box-sizing: border-box;
}

.prc-hero-content,
.rd-section-inner,
.prc-how-inner,
.prc-trust-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.prc-hero,
.prc-how-section,
.prc-section--dark,
.prc-section--light,
.prc-section--light-purple,
.prc-trust-section,
.rd-cta-section {
  /* PASS 15: was height/max-height:100vh which clipped tall sections (pricing
     cards, 3% card) at the bottom. Let sections fill the viewport when content
     is short and GROW when it is taller, so nothing is ever cut. overflow:hidden
     stays only to contain the decorative orbs (content never overflows now). */
  height: auto !important;
  min-height: 100vh !important;
  max-height: none !important;
  overflow: hidden !important;
  padding-top: clamp(92px, 11vh, 120px) !important;
  padding-bottom: clamp(56px, 8vh, 88px) !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  box-sizing: border-box !important;
}

.prc-how-flow {
  gap: 12px !important;
}

.prc-how-step {
  padding: 18px 14px !important;
  min-height: 0 !important;
}

.prc-how-step-title {
  font-size: 0.95rem !important;
  margin: 8px 0 4px !important;
}

.prc-how-step-desc {
  font-size: 0.78rem !important;
  line-height: 1.4 !important;
}

@media (max-width: 560px) {
  .prc-hero,
  .prc-section--dark,
  .prc-section--light,
  .prc-section--light-purple,
  .prc-how-section,
  .prc-trust-section,
  .rd-cta-section {
    height: auto !important;
    min-height: 100vh !important;
    max-height: none !important;
    overflow: visible !important;
  }
}

.prc-how-flow {
  display:flex; align-items:stretch; justify-content:center; gap:clamp(8px,1vw,16px); flex-wrap:nowrap;
}

.prc-how-step {
  flex:1; max-width:260px;
  background: linear-gradient(170deg, rgba(255,255,255,0.98), rgba(247,249,253,0.94));
  border:1px solid rgba(0,122,255,0.12); border-radius:20px;
  padding: clamp(20px,2.2vw,30px) clamp(16px,1.6vw,22px);
  box-shadow: 0 12px 30px rgba(20,30,60,0.08);
  transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s;
  display:flex; flex-direction:column; align-items:center; text-align:center;
}

.prc-how-step:hover { transform:translateY(-6px); box-shadow:0 22px 44px rgba(20,30,60,0.14); }

.prc-how-num { font-size:0.78rem; font-weight:800; color:#0a66c8; letter-spacing:0.1em; margin-bottom:12px; }

.prc-how-icon {
  width:52px; height:52px; border-radius:15px; display:flex; align-items:center; justify-content:center;
  background:linear-gradient(135deg,rgba(0,122,255,0.12),rgba(90,200,250,0.16)); color:#0a66c8; margin-bottom:14px;
}

.prc-how-title { font-size:1rem; font-weight:750; color:#11151f; margin:0 0 8px; }

.prc-how-desc { font-size:0.82rem; line-height:1.5; color:rgba(40,50,70,0.7); margin:0; }

.prc-how-arrow { display:flex; align-items:center; font-size:1.4rem; color:rgba(0,122,255,0.5); flex-shrink:0; }

@media (max-width: 1024px) {
  .prc-how-flow { flex-wrap:wrap; }
  .prc-how-arrow { display:none; }
}

.prc-how-section {
  position: relative;
  overflow: hidden;
}

.prc-how-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 122, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 122, 255, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 30%, transparent 80%);
  pointer-events: none;
  z-index: 0;
}

.prc-how-section .rd-container {
  position: relative;
  z-index: 1;
  max-width: 1400px;
}

.prc-how-section .rd-h2 {
  font-size: clamp(3rem, 7vw, 6.5rem) !important;
  margin-bottom: 80px !important;
  line-height: 0.96 !important;
}

.prc-how-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  margin-top: 60px;
  padding: 60px 0 40px;
}

.prc-how-flow::before {
  content: '';
  position: absolute;
  top: 116px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(
    90deg,
    rgba(0, 122, 255, 0) 0%,
    rgba(0, 122, 255, 0.4) 8%,
    rgba(90, 200, 250, 0.5) 33%,
    rgba(140, 245, 208, 0.5) 66%,
    rgba(140, 245, 208, 0.4) 92%,
    rgba(140, 245, 208, 0) 100%
  );
  z-index: 0;
  filter: blur(0.5px);
  animation: prc-flow-pulse 3s ease-in-out infinite;
}

.prc-how-arrow { display: none !important; }

.prc-how-step {
  position: relative;
  padding: 0 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: transparent !important;
  border: none !important;
  z-index: 1;
}

.prc-how-num {
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  font-size: clamp(7rem, 11vw, 11rem) !important;
  font-weight: 900 !important;
  letter-spacing: -0.06em !important;
  line-height: 1 !important;
  background: linear-gradient(135deg, rgba(0, 122, 255, 0.06) 0%, rgba(140, 245, 208, 0.04) 100%) !important;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
  pointer-events: none;
  z-index: 0;
  font-family: 'SF Pro Display', -apple-system, system-ui, sans-serif;
}

.prc-how-step:nth-child(1) .prc-how-icon { --grad-1: #007AFF; --grad-2: #5ac8fa; }

.prc-how-step:nth-child(3) .prc-how-icon { --grad-1: #5ac8fa; --grad-2: #8cf5d0; }

.prc-how-step:nth-child(5) .prc-how-icon { --grad-1: #8cf5d0; --grad-2: #34d399; }

.prc-how-step:nth-child(7) .prc-how-icon { --grad-1: #34d399; --grad-2: #06b6d4; }

.prc-how-icon {
  position: relative;
  z-index: 2;
  width: 96px !important;
  height: 96px !important;
  border-radius: 28px !important;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.04) 100%),
    linear-gradient(135deg, var(--grad-1, #007AFF) 0%, var(--grad-2, #5ac8fa) 100%) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #fff !important;
  margin: 0 auto 24px !important;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.18) inset,
    0 0 24px rgba(0, 122, 255, 0.35),
    0 16px 40px rgba(0, 0, 0, 0.4) !important;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease;
}

.prc-how-icon svg {
  width: 36px !important;
  height: 36px !important;
  stroke-width: 1.7 !important;
}

.prc-how-step:hover .prc-how-icon {
  transform: scale(1.08) translateY(-4px);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.25) inset,
    0 0 40px rgba(140, 245, 208, 0.5),
    0 24px 60px rgba(0, 0, 0, 0.5) !important;
}

.prc-how-step .prc-how-title,
.prc-how-step .prc-how-desc {
  position: relative;
  z-index: 2;
}

.prc-how-title {
  font-size: clamp(1.1rem, 1.5vw, 1.4rem) !important;
  font-weight: 700 !important;
  color: #f0f4ff !important;
  margin: 0 0 12px 0 !important;
  letter-spacing: -0.01em !important;
}

.prc-how-desc {
  font-size: 0.92rem !important;
  line-height: 1.55 !important;
  color: rgba(240, 244, 255, 0.65) !important;
  margin: 0 !important;
  max-width: 220px;
}

.prc-section--light .prc-how-num {
  background: linear-gradient(135deg, rgba(0, 122, 255, 0.08) 0%, rgba(0, 122, 255, 0.04) 100%) !important;
  -webkit-background-clip: text;
  background-clip: text;
}

.prc-section--light .prc-how-title { color: #0a1424 !important; }

.prc-section--light .prc-how-desc { color: #424b6a !important; }

.prc-section--light .prc-how-flow::before {
  background: linear-gradient(
    90deg,
    rgba(0, 122, 255, 0) 0%,
    rgba(0, 122, 255, 0.5) 8%,
    rgba(56, 178, 230, 0.6) 33%,
    rgba(45, 122, 31, 0.5) 66%,
    rgba(45, 122, 31, 0.4) 92%,
    rgba(45, 122, 31, 0) 100%
  );
}

@media (max-width: 900px) {
  .prc-how-flow {
    grid-template-columns: 1fr;
    gap: 56px;
    padding: 40px 0;
  }
  .prc-how-flow::before {
    top: 60px;
    left: 50%;
    right: auto;
    bottom: 60px;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg,
      rgba(0, 122, 255, 0) 0%,
      rgba(0, 122, 255, 0.4) 8%,
      rgba(140, 245, 208, 0.4) 92%,
      rgba(140, 245, 208, 0) 100%);
  }
  .prc-how-num { top: -36px; font-size: 7rem !important; }
}

.prc-how-step {
  opacity: 0;
  transform: translateY(40px) scale(0.96);
  transition:
    opacity .65s cubic-bezier(.2,.7,.2,1),
    transform .65s cubic-bezier(.2,.7,.2,1);
}

.prc-how-step.is-revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.prc-how-step:nth-of-type(1).is-revealed { transition-delay: 0.05s; }

.prc-how-step:nth-of-type(3).is-revealed { transition-delay: 0.18s; }

.prc-how-step:nth-of-type(5).is-revealed { transition-delay: 0.31s; }

.prc-how-step:nth-of-type(7).is-revealed { transition-delay: 0.44s; }

.prc-how-flow {
  position: relative;
}

.prc-how-flow::before {
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 1.4s cubic-bezier(.6,.05,.3,1) 0.5s;
}

.prc-how-flow.is-revealed::before {
  transform: scaleX(1);
}

.prc-how-num {
  opacity: 0;
  transform: translateX(-50%) translateY(20px);
  transition: opacity 0.8s ease 0.3s, transform 0.8s cubic-bezier(.2,.7,.2,1) 0.3s;
}

.prc-how-step.is-revealed .prc-how-num {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.prc-how-step:nth-of-type(1).is-revealed .prc-how-num { transition-delay: 0.35s, 0.35s; }

.prc-how-step:nth-of-type(3).is-revealed .prc-how-num { transition-delay: 0.48s, 0.48s; }

.prc-how-step:nth-of-type(5).is-revealed .prc-how-num { transition-delay: 0.61s, 0.61s; }

.prc-how-step:nth-of-type(7).is-revealed .prc-how-num { transition-delay: 0.74s, 0.74s; }

.prc-how-icon {
  opacity: 0;
  transform: scale(0.7) rotate(-8deg);
  transition: opacity 0.55s ease, transform 0.7s cubic-bezier(.34,1.56,.64,1);
}

.prc-how-step.is-revealed .prc-how-icon {
  opacity: 1;
  transform: scale(1) rotate(0);
}

.prc-how-step:nth-of-type(1).is-revealed .prc-how-icon { transition-delay: 0.15s, 0.15s; }

.prc-how-step:nth-of-type(3).is-revealed .prc-how-icon { transition-delay: 0.28s, 0.28s; }

.prc-how-step:nth-of-type(5).is-revealed .prc-how-icon { transition-delay: 0.41s, 0.41s; }

.prc-how-step:nth-of-type(7).is-revealed .prc-how-icon { transition-delay: 0.54s, 0.54s; }

@media (prefers-reduced-motion: reduce) {
  .prc-how-step,
  .prc-how-flow::before,
  .prc-how-num,
  .prc-how-icon {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

.prc-how-showcase {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin: clamp(40px, 6vh, 72px) auto clamp(48px, 7vh, 88px);
  width: 100%;
  max-width: 720px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1);
}

.prc-how-showcase.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.prc-howcase-card {
  position: relative;
  width: 100%;
  aspect-ratio: 520 / 240;
  background:
    radial-gradient(circle at 20% 30%, rgba(0,122,255,0.10), transparent 55%),
    radial-gradient(circle at 80% 70%, rgba(140,245,208,0.12), transparent 55%),
    linear-gradient(160deg, rgba(255,255,255,0.98), rgba(245,248,253,0.94));
  border: 1px solid rgba(0, 30, 80, 0.10);
  border-radius: 24px;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.8) inset,
    0 18px 48px rgba(0, 30, 80, 0.10);
  overflow: hidden;
  padding: 36px 44px;
}

.prc-howcase-doc {
  position: absolute;
  top: 32px; left: 44px; right: 44px;
  display: flex; flex-direction: column; gap: 11px;
  opacity: 0.45;
}

.prc-howcase-doc-line {
  height: 6px;
  background: linear-gradient(90deg, rgba(10,20,36,0.18), rgba(10,20,36,0.05));
  border-radius: 4px;
  width: 100%;
}

.prc-howcase-doc-line--short { width: 62%; }

.prc-howcase-doc-line--medium { width: 86%; }

.prc-howcase-doc-sigline {
  margin-top: 28px;
  height: 1px;
  background: rgba(10,20,36,0.18);
  width: 88%;
}

.prc-howcase-sig {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, 8%);
  width: 80%;
  height: auto;
  z-index: 2;
  pointer-events: none;
}

.prc-howcase-sig-path {
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
  filter: drop-shadow(0 2px 4px rgba(0, 122, 255, 0.18));
}

.prc-how-showcase.is-visible .prc-howcase-sig-path {
  animation: prc-sig-draw 3.4s cubic-bezier(.6,.05,.3,1) 0.4s forwards;
}

.prc-howcase-pen {
  position: absolute;
  left: 0; top: 0;
  width: 32px;
  height: 32px;
  z-index: 3;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15));
  opacity: 0;
  /* Path is in viewBox coords (520x160); offset-path uses CSS path() */
  offset-path: path("M 30,90 C 50,30 80,30 95,80 C 105,115 75,130 60,110 C 50,95 70,75 95,80 C 130,86 145,40 165,80 C 175,100 155,118 145,100 C 140,90 155,80 175,85 C 210,92 220,55 240,90 Q 255,115 270,90 C 290,55 305,95 315,90 Q 330,85 340,100 C 355,125 380,90 395,80 C 415,67 440,75 460,90");
  offset-rotate: auto;
  /* Scale and position match the SVG's actual size on screen.
     Since the SVG is responsive (width:80%, aspect-ratio set), we
     overlay the pen in an absolutely-sized container layer below. */
}

.prc-howcase-card::before {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, 8%);
  width: 80%;
  /* same aspect as sig SVG (520:160) */
  aspect-ratio: 520 / 160;
  pointer-events: none;
  z-index: 3;
}

.prc-how-showcase.is-visible .prc-howcase-pen {
  animation:
    prc-pen-fade 0.3s ease 0.35s forwards,
    prc-pen-write 3.4s cubic-bezier(.6,.05,.3,1) 0.4s forwards;
}

.prc-howcase-pen {
  /* Scale to match SVG visual size */
  position: absolute;
  left: calc(50% - 40%);
  top:  calc(50% - (40% * 160 / 520) + 8%);
  width: 80%;
  height: calc(80% * 160 / 520);
}

.prc-howcase-pen svg {
  /* The pen icon is sized to match the SVG's coord system */
  width: calc(32 / 520 * 100%);
  height: auto;
}

.prc-howcase-badge {
  position: absolute;
  bottom: 18px; right: 18px;
  display: inline-flex; align-items: center; gap: 6px;
  background: linear-gradient(135deg, rgba(140,245,208,0.18), rgba(52,199,89,0.14));
  color: #0a7a44;
  border: 1px solid rgba(52, 199, 89, 0.28);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .5s ease, transform .5s cubic-bezier(.2,.7,.2,1);
  z-index: 4;
}

.prc-how-showcase.is-visible .prc-howcase-badge {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 3.8s;
}

.prc-howcase-caption {
  font-size: 0.95rem;
  color: #424b6a;
  font-weight: 500;
  text-align: center;
  margin: 0;
  max-width: 480px;
}

.prc-how-step.is-revealed .prc-how-icon {
  animation: prc-icon-pulse 1.2s ease 0.5s 1;
}

.prc-how-step:nth-of-type(5) .prc-how-icon {
  position: relative;
}

.prc-how-step:nth-of-type(5) .prc-how-icon::after {
  content: "";
  position: absolute;
  left: 12%; right: 12%;
  bottom: -10px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #34d399 30%, #06b6d4 70%, transparent);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1.2s cubic-bezier(.6,.05,.3,1);
}

.prc-how-step:nth-of-type(5).is-revealed .prc-how-icon::after {
  transform: scaleX(1);
  transition-delay: 0.8s;
}

.prc-how-step:nth-of-type(3).is-revealed .prc-how-icon svg {
  animation: prc-plane-fly 2.4s ease-in-out 0.6s infinite;
}

.prc-how-step:nth-of-type(1) .prc-how-icon {
  overflow: hidden;
}

.prc-how-step:nth-of-type(1) .prc-how-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(140, 245, 208, 0.55) 50%, transparent 100%);
  transform: translateY(-100%);
  pointer-events: none;
}

.prc-how-step:nth-of-type(1).is-revealed .prc-how-icon::before {
  animation: prc-scan-down 2.2s cubic-bezier(.6,.05,.3,1) 0.6s 2;
}

.prc-how-step:nth-of-type(7) .prc-how-icon {
  position: relative;
}

.prc-how-step:nth-of-type(7) .prc-how-icon::after {
  content: "";
  position: absolute;
  right: -4px; top: -4px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #34d399, #06b6d4);
  box-shadow: 0 4px 10px rgba(6, 182, 212, 0.4);
  /* checkmark drawn via mask */
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><circle cx='12' cy='12' r='12' fill='black'/><polyline points='6 12 10 16 18 8' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><circle cx='12' cy='12' r='12' fill='black'/><polyline points='6 12 10 16 18 8' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  mask-size: cover;
  transform: scale(0);
  transition: transform 0.45s cubic-bezier(.34,1.56,.64,1);
}

.prc-how-step:nth-of-type(7).is-revealed .prc-how-icon::after {
  transform: scale(1);
  transition-delay: 1.0s;
}

@media (prefers-reduced-motion: reduce) {
  .prc-howcase-sig-path { stroke-dashoffset: 0 !important; animation: none !important; }
  .prc-howcase-pen { opacity: 1 !important; animation: none !important; offset-distance: 100% !important; }
  .prc-howcase-badge { opacity: 1 !important; transform: none !important; }
  .prc-how-step .prc-how-icon::before,
  .prc-how-step .prc-how-icon svg { animation: none !important; }
}

@media (max-width: 720px) {
  .prc-how-showcase { max-width: 92%; }
  .prc-howcase-doc { top: 22px; left: 28px; right: 28px; }
  .prc-howcase-card { padding: 28px; }
  .prc-howcase-badge { bottom: 10px; right: 10px; font-size: 0.65rem; }
}

.prc-how-step .prc-how-icon {
  position: relative !important;
  overflow: visible !important;
  z-index: 2;
}

.prc-how-step.is-revealed .prc-how-icon {
  animation: prc-icon-arrive 0.9s cubic-bezier(.34,1.56,.64,1) both;
}

.prc-how-step .prc-how-icon {
  width: clamp(68px, 6vw, 92px) !important;
  height: clamp(68px, 6vw, 92px) !important;
}

.prc-how-step:nth-of-type(1) .prc-how-icon {
  background: linear-gradient(160deg, rgba(0,122,255,0.18), rgba(90,200,250,0.10)) !important;
}

.prc-how-step:nth-of-type(1) .prc-how-icon::before,
.prc-how-step:nth-of-type(1) .prc-how-icon::after {
  content: "";
  position: absolute;
  background: rgba(140, 245, 208, 0.85);
  border-radius: 2px;
  opacity: 0;
}

.prc-how-step:nth-of-type(1) .prc-how-icon::before {
  inset: 8% 12%;
  background: linear-gradient(180deg, transparent 0%, rgba(140,245,208,0.7) 50%, transparent 100%);
  border-radius: 6px;
  transform: translateY(-110%);
  opacity: 0;
  z-index: 3;
}

.prc-how-step:nth-of-type(1).is-revealed .prc-how-icon::before {
  animation: prc-step1-scan 2.2s cubic-bezier(.6,.05,.3,1) 0.4s 2;
}

.prc-how-step:nth-of-type(1) .prc-how-icon::after {
  inset: auto 22% 26% 22%;
  height: 3px;
  background: linear-gradient(90deg, #8cf5d0 0%, transparent 100%);
  border-radius: 2px;
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left;
}

.prc-how-step:nth-of-type(1).is-revealed .prc-how-icon::after {
  animation: prc-step1-fill 1.0s cubic-bezier(.2,.7,.2,1) 1.1s forwards;
}

.prc-how-step:nth-of-type(3) .prc-how-icon {
  background: linear-gradient(160deg, rgba(90,200,250,0.20), rgba(140,245,208,0.14)) !important;
}

.prc-how-step:nth-of-type(3).is-revealed .prc-how-icon svg {
  animation:
    prc-step2-launch 1.4s cubic-bezier(.34,1.56,.64,1) 0.6s both,
    prc-step2-glide 3.6s ease-in-out 2s infinite;
  transform-origin: 50% 60%;
}

.prc-how-step:nth-of-type(3) .prc-how-icon::after {
  content: "";
  position: absolute;
  left: 12%;
  top: 58%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(140,245,208,0.6) 30%, rgba(90,200,250,0.5) 70%, transparent);
  border-radius: 1px;
  filter: blur(0.4px);
  opacity: 0;
}

.prc-how-step:nth-of-type(3).is-revealed .prc-how-icon::after {
  animation: prc-step2-trail 1.6s ease-out 0.8s forwards;
}

.prc-how-step:nth-of-type(5) .prc-how-icon {
  background: linear-gradient(160deg, rgba(140,245,208,0.22), rgba(52,199,89,0.14)) !important;
}

.prc-how-step:nth-of-type(5) .prc-how-icon::before {
  content: "";
  position: absolute;
  left: 12%; right: 12%;
  bottom: -12px;
  height: 3px;
  background: linear-gradient(90deg, transparent, #34d399 30%, #06b6d4 70%, transparent);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left center;
  box-shadow: 0 0 12px rgba(52, 211, 153, 0.5);
}

.prc-how-step:nth-of-type(5).is-revealed .prc-how-icon::before {
  animation: prc-step3-sign 1.6s cubic-bezier(.6,.05,.3,1) 0.7s forwards;
}

.prc-how-step:nth-of-type(5) .prc-how-icon::after {
  content: "✓";
  position: absolute;
  right: 6%;
  bottom: -22px;
  font-size: 0.85rem;
  font-weight: 900;
  color: #06b6d4;
  text-shadow: 0 0 8px rgba(6, 182, 212, 0.6);
  opacity: 0;
  transform: scale(0);
}

.prc-how-step:nth-of-type(5).is-revealed .prc-how-icon::after {
  animation: prc-step3-check 0.5s cubic-bezier(.34,1.56,.64,1) 2.3s forwards;
}

.prc-how-step:nth-of-type(7) .prc-how-icon {
  background: linear-gradient(160deg, rgba(52,211,153,0.20), rgba(6,182,212,0.14)) !important;
}

.prc-how-step:nth-of-type(7).is-revealed .prc-how-icon svg {
  animation: prc-step4-swipe 1.8s cubic-bezier(.6,.05,.3,1) 0.6s both;
}

.prc-how-step:nth-of-type(7) .prc-how-icon::after {
  content: "";
  position: absolute;
  right: -8px; top: -8px;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, #34d399, #06b6d4);
  box-shadow: 0 6px 14px rgba(6, 182, 212, 0.5), 0 0 0 3px rgba(255,255,255,0.06);
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><circle cx='12' cy='12' r='12' fill='black'/><polyline points='6 12 10 16 18 8' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><circle cx='12' cy='12' r='12' fill='black'/><polyline points='6 12 10 16 18 8' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  mask-size: cover;
  transform: scale(0) rotate(-30deg);
  opacity: 0;
}

.prc-how-step:nth-of-type(7).is-revealed .prc-how-icon::after {
  animation: prc-step4-approved 0.7s cubic-bezier(.34,1.56,.64,1) 1.8s forwards;
}

.prc-how-step:nth-of-type(7) .prc-how-icon::before {
  content: "";
  position: absolute;
  right: -8px; top: -8px;
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 2px solid rgba(52, 211, 153, 0.7);
  pointer-events: none;
  opacity: 0;
}

.prc-how-step:nth-of-type(7).is-revealed .prc-how-icon::before {
  animation: prc-step4-ring 1.4s ease-out 2.0s 2 forwards;
}

@media (prefers-reduced-motion: reduce) {
  .prc-how-step .prc-how-icon,
  .prc-how-step .prc-how-icon::before,
  .prc-how-step .prc-how-icon::after,
  .prc-how-step .prc-how-icon svg {
    animation: none !important;
  }
}

.prc-how-section {
  padding: clamp(80px, 12vh, 140px) 0 !important;
}

.prc-how-section .prc-section-lead {
  max-width: 640px;
  margin: 18px auto 0;
  font-size: clamp(1rem, 1.15vw, 1.18rem);
  line-height: 1.55;
  color: rgba(220, 230, 245, 0.78);
}

.prc-how-flow,
.prc-how-showcase {
  display: none !important;
}

.prc-how-storyboard {
  margin-top: clamp(48px, 8vh, 88px);
  display: flex;
  flex-direction: column;
  gap: clamp(48px, 8vh, 120px);
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
}

.prc-how-stage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity .8s cubic-bezier(.2, .7, .2, 1),
    transform .8s cubic-bezier(.2, .7, .2, 1);
}

.prc-how-stage.is-active {
  opacity: 1;
  transform: translateY(0);
}

.prc-how-stage-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.prc-how-stage-num {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.20em;
  color: #5ac8fa;
  background: linear-gradient(135deg, rgba(0,122,255,0.12), rgba(140,245,208,0.10));
  border: 1px solid rgba(0,122,255,0.32);
  width: fit-content;
  padding: 6px 14px;
  border-radius: 999px;
  text-transform: uppercase;
}

.prc-how-stage-title {
  font-size: clamp(1.6rem, 2.4vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: #f0f4ff;
  margin: 0;
  background: linear-gradient(180deg, #ffffff 0%, #d4e9ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.prc-how-stage-desc {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(220, 230, 245, 0.78);
  max-width: 46ch;
  margin: 0;
}

.prc-how-stage-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.prc-how-stage-visual svg.prc-how-anim {
  width: 100%;
  max-width: 380px;
  height: auto;
  filter: drop-shadow(0 18px 48px rgba(0, 30, 80, 0.45));
  background:
    radial-gradient(circle at 50% 50%, rgba(0,122,255,0.06), transparent 70%);
  border-radius: 24px;
}

.prc-how-stage--reverse .prc-how-stage-content { order: 2; }

.prc-how-stage--reverse .prc-how-stage-visual { order: 1; }

@media (max-width: 760px) {
  .prc-how-stage,
  .prc-how-stage--reverse {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .prc-how-stage--reverse .prc-how-stage-content { order: 2; }
  .prc-how-stage--reverse .prc-how-stage-visual { order: 1; }
  .prc-how-stage-visual svg.prc-how-anim { max-width: 320px; }
  .prc-how-stage-title { font-size: 1.5rem; }
}

.prc-how-anim--scan .prc-anim-doc,
.prc-how-anim--scan .prc-anim-doc-fold {
  opacity: 0;
  transform-origin: 50% 50%;
  transform: scale(0.95);
  transition: opacity .5s ease, transform .6s cubic-bezier(.34,1.56,.64,1);
}

.prc-how-stage.is-active .prc-how-anim--scan .prc-anim-doc,
.prc-how-stage.is-active .prc-how-anim--scan .prc-anim-doc-fold {
  opacity: 1;
  transform: scale(1);
}

.prc-how-anim--scan .prc-anim-line {
  transform-origin: 100px 0;
  transform: scaleX(0);
  transition: transform .55s cubic-bezier(.6,.05,.3,1);
}

.prc-how-stage.is-active .prc-how-anim--scan .prc-anim-line {
  transform: scaleX(1);
}

.prc-how-stage.is-active .prc-how-anim--scan .prc-anim-line--1 { transition-delay: 0.5s; }

.prc-how-stage.is-active .prc-how-anim--scan .prc-anim-line--2 { transition-delay: 0.65s; }

.prc-how-stage.is-active .prc-how-anim--scan .prc-anim-line--3 { transition-delay: 0.80s; }

.prc-how-stage.is-active .prc-how-anim--scan .prc-anim-line--4 { transition-delay: 0.95s; }

.prc-how-stage.is-active .prc-how-anim--scan .prc-anim-line--5 { transition-delay: 1.10s; }

.prc-how-anim--scan .prc-anim-shield {
  opacity: 0;
  transform-origin: 160px 180px;
  transform: scale(0.4) translateY(14px);
  transition: opacity .5s ease, transform .65s cubic-bezier(.34,1.56,.64,1);
}

.prc-how-stage.is-active .prc-how-anim--scan .prc-anim-shield {
  opacity: 1;
  transform: scale(1) translateY(0);
  transition-delay: 1.55s;
}

.prc-how-anim--envelope .prc-anim-envelope-group {
  transform-origin: 160px 120px;
  transform: translateX(-60px) scale(0.92);
  opacity: 0;
  transition: transform .6s cubic-bezier(.2,.7,.2,1), opacity .5s ease;
}

.prc-how-stage.is-active .prc-how-anim--envelope .prc-anim-envelope-group {
  transform: translateX(0) scale(1);
  opacity: 1;
}

.prc-how-anim--envelope .prc-anim-env-flap {
  transform-origin: 160px 80px;
  transform: scaleY(-1);
  transition: transform .6s cubic-bezier(.2,.7,.2,1) 0.6s;
}

.prc-how-stage.is-active .prc-how-anim--envelope .prc-anim-env-flap {
  transform: scaleY(1);
}

.prc-how-anim--envelope .prc-anim-env-stamp {
  transform-origin: 160px 130px;
  transform: scale(0) rotate(-30deg);
  opacity: 0;
  transition: transform .5s cubic-bezier(.34,1.56,.64,1) 1.3s, opacity .3s ease 1.3s;
}

.prc-how-stage.is-active .prc-how-anim--envelope .prc-anim-env-stamp {
  transform: scale(1) rotate(0);
  opacity: 1;
}

.prc-how-anim--envelope .prc-anim-env-trail {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  opacity: 0;
  transition: stroke-dashoffset 1.0s cubic-bezier(.6,.05,.3,1) 1.9s, opacity .3s ease 1.9s;
}

.prc-how-stage.is-active .prc-how-anim--envelope .prc-anim-env-trail {
  stroke-dashoffset: 0;
  opacity: 1;
}

.prc-how-anim--envelope .prc-anim-env-sent {
  opacity: 0;
  transform: translate(258px, 32px) scale(0.7);
  transform-origin: 258px 22px;
  transition: opacity .4s ease 2.6s, transform .5s cubic-bezier(.34,1.56,.64,1) 2.6s;
}

.prc-how-stage.is-active .prc-how-anim--envelope .prc-anim-env-sent {
  opacity: 1;
  transform: translate(258px, 22px) scale(1);
}

.prc-how-anim--tablet .prc-anim-tablet,
.prc-how-anim--tablet .prc-anim-tablet-screen {
  opacity: 0;
  transform-origin: 50% 50%;
  transform: scale(0.9);
  transition: opacity .5s ease, transform .6s cubic-bezier(.34,1.56,.64,1);
}

.prc-how-stage.is-active .prc-how-anim--tablet .prc-anim-tablet,
.prc-how-stage.is-active .prc-how-anim--tablet .prc-anim-tablet-screen {
  opacity: 1;
  transform: scale(1);
}

.prc-how-stage.is-active .prc-how-anim--tablet .prc-anim-tablet-screen {
  transition-delay: 0.2s;
}

.prc-how-anim--tablet .prc-anim-tablet-line {
  opacity: 0;
  transition: opacity .4s ease;
}

.prc-how-stage.is-active .prc-how-anim--tablet .prc-anim-tablet-line {
  opacity: 1;
  transition-delay: 0.5s;
}

.prc-how-anim--tablet .prc-anim-tablet-sig {
  stroke-dasharray: 420;
  stroke-dashoffset: 420;
  filter: drop-shadow(0 2px 4px rgba(0,122,255,0.25));
  transition: stroke-dashoffset 1.8s cubic-bezier(.6,.05,.3,1);
}

.prc-how-stage.is-active .prc-how-anim--tablet .prc-anim-tablet-sig {
  stroke-dashoffset: 0;
  transition-delay: 0.9s;
}

.prc-how-anim--tablet .prc-anim-tablet-badge {
  opacity: 0;
  transform: translate(160px, 178px);
  transition: opacity .45s ease, transform .55s cubic-bezier(.34,1.56,.64,1);
}

.prc-how-stage.is-active .prc-how-anim--tablet .prc-anim-tablet-badge {
  opacity: 1;
  transform: translate(160px, 168px);
  transition-delay: 2.6s;
}

.prc-how-anim--sepa .prc-anim-card {
  transform: translateX(160px) rotate(8deg);
  opacity: 0;
  transition: transform .8s cubic-bezier(.2,.7,.2,1), opacity .5s ease;
}

.prc-how-stage.is-active .prc-how-anim--sepa .prc-anim-card {
  transform: translateX(0) rotate(0);
  opacity: 1;
}

.prc-how-anim--sepa .prc-anim-sepa-amount {
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity .5s ease, transform .6s cubic-bezier(.34,1.56,.64,1);
}

.prc-how-stage.is-active .prc-how-anim--sepa .prc-anim-sepa-amount {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.7s;
}

.prc-how-stage.is-active .prc-how-anim--sepa .prc-anim-amount-text {
  animation: prc-sepa-amount-pulse 1.6s ease-in-out 1.3s 1;
}

.prc-how-anim--sepa .prc-anim-sepa-notif {
  opacity: 0;
  transform: translate(160px, 220px);
  transition: opacity .5s ease, transform .55s cubic-bezier(.34,1.56,.64,1);
}

.prc-how-stage.is-active .prc-how-anim--sepa .prc-anim-sepa-notif {
  opacity: 1;
  transform: translate(160px, 200px);
  transition-delay: 1.5s;
}

@media (prefers-reduced-motion: reduce) {
  .prc-how-stage,
  .prc-how-anim *,
  [class*="prc-anim-"] {
    transition: none !important;
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    stroke-dashoffset: 0 !important;
  }
}

.prc-how-section {
  min-height: auto !important;
  height: auto !important;
  overflow: visible !important;
  padding: clamp(80px, 12vh, 140px) 0 clamp(80px, 10vh, 120px) !important;
}

.prc-how-section .rd-h2 {
  background: linear-gradient(180deg, #0a0e1a 0%, #1e3560 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
}

.prc-how-section .rd-h2 .rd-g-blue {
  background: linear-gradient(135deg, #007AFF 0%, #5ac8fa 50%, #0a8b4e 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

.prc-how-section .prc-section-lead {
  color: #424b6a !important;
}

.prc-how-stage-num {
  color: #0055bb !important;
  background: linear-gradient(135deg, rgba(0,122,255,0.10), rgba(140,245,208,0.10)) !important;
  border: 1px solid rgba(0,122,255,0.28) !important;
}

.prc-how-stage-title {
  background: linear-gradient(180deg, #0a0e1a 0%, #1e3560 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
}

.prc-how-stage-desc {
  color: #424b6a !important;
  font-size: 1.02rem !important;
}

.prc-how-stage-visual svg.prc-how-anim {
  background:
    radial-gradient(circle at 50% 50%, rgba(0,122,255,0.08), transparent 70%),
    linear-gradient(160deg, rgba(255,255,255,0.96), rgba(245,248,253,0.88)) !important;
  border: 1px solid rgba(0, 30, 80, 0.10);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.8) inset,
    0 18px 48px rgba(0, 30, 80, 0.10) !important;
  filter: none !important;
}

.prc-how-anim--scan .prc-anim-doc {
  fill: rgba(0, 122, 255, 0.05) !important;
  stroke: #0055bb !important;
}

.prc-how-anim--scan .prc-anim-doc-fold {
  fill: rgba(0, 122, 255, 0.10) !important;
  stroke: #0055bb !important;
}

.prc-how-anim--scan .prc-anim-line {
  fill: #0a8b4e !important;
}

.prc-how-anim--scan .prc-anim-shield circle {
  fill: rgba(52,211,153,0.18) !important;
  stroke: #0a8b4e !important;
}

.prc-how-anim--scan .prc-anim-shield polyline {
  stroke: #0a8b4e !important;
}

.prc-how-anim--envelope .prc-anim-env-base {
  fill: rgba(0, 122, 255, 0.10) !important;
  stroke: #0055bb !important;
}

.prc-how-anim--envelope .prc-anim-env-flap {
  fill: rgba(90, 200, 250, 0.18) !important;
  stroke: #0055bb !important;
}

.prc-how-anim--envelope .prc-anim-env-trail {
  stroke: #0a8b4e !important;
}

.prc-how-anim--envelope .prc-anim-env-sent rect {
  fill: rgba(52,211,153,0.20) !important;
  stroke: #0a8b4e !important;
}

.prc-how-anim--envelope .prc-anim-env-sent text {
  fill: #0a8b4e !important;
}

.prc-how-anim--tablet .prc-anim-tablet {
  fill: rgba(0, 122, 255, 0.04) !important;
  stroke: rgba(0, 30, 80, 0.30) !important;
}

.prc-how-anim--tablet .prc-anim-tablet-screen {
  fill: #ffffff !important;
}

.prc-how-anim--tablet .prc-anim-tablet-line {
  fill: rgba(10, 20, 36, 0.18) !important;
}

.prc-how-anim--tablet .prc-anim-tablet-badge rect {
  fill: rgba(52,211,153,0.20) !important;
  stroke: #0a8b4e !important;
}

.prc-how-anim--tablet .prc-anim-tablet-badge text {
  fill: #0a8b4e !important;
}

.prc-how-anim--sepa .prc-anim-amount-text {
  fill: #0a8b4e !important;
}

.prc-how-anim--sepa .prc-anim-sepa-amount text:last-child {
  fill: #6b7593 !important;
}

.prc-how-anim--sepa .prc-anim-sepa-notif rect {
  fill: rgba(52,211,153,0.22) !important;
  stroke: #0a8b4e !important;
}

.prc-how-anim--sepa .prc-anim-sepa-notif text {
  fill: #0a8b4e !important;
}

.prc-how-anim--sepa .prc-anim-sepa-amount-pulse {
  animation-name: prc-sepa-amount-pulse-light !important;
}

@media (max-width: 760px) {
  .prc-how-section {
    padding: 64px 0 64px !important;
  }
  .prc-how-storyboard {
    gap: 56px !important;
  }
  .prc-how-stage,
  .prc-how-stage--reverse {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  .prc-how-stage-content {
    text-align: center;
    align-items: center;
  }
  .prc-how-stage-desc {
    max-width: 100%;
    font-size: 0.96rem !important;
  }
  .prc-how-stage-visual svg.prc-how-anim {
    max-width: 100%;
  }
  .prc-how-stage-content { order: 1 !important; }
  .prc-how-stage-visual { order: 2 !important; }
}

.prc-how-stage {
  /* Ensure even non-active stages don't stay totally hidden forever */
  animation: prc-stage-fallback-show 0.1s ease 4s forwards;
}

.prc-how-stage.is-active {
  animation: none !important;
}

.prc-how-section {
  display: block !important;        /* not flex */
  height: auto !important;
  min-height: auto !important;
  max-height: none !important;
  justify-content: initial !important;
  align-items: initial !important;
}

.prc-how-section > .rd-container {
  display: block !important;
  height: auto !important;
  min-height: auto !important;
}

