/* =========================================================================
   SlizeLink — QR code feature page stylesheet
   Loaded after base.css. Tokens, bands, buttons, navbar, footer and the
   shared phone-mockup component all come from base.css; this file is only
   what's specific to qr_codes.html.

   The four "feature" sections (branding, dynamic, print, scans) get their
   left/right placement purely from DOM order (copy-first or visual-first
   per section) — no --reverse modifier class, learned from a bug in
   features.css where that mechanism silently cancelled itself out.
   ========================================================================= */

/* -------------------------------------------------------------------------
   1. HERO — three creator profiles, each its own icon, colour and handle
   ------------------------------------------------------------------------- */
.qrf-hero { padding-block: var(--s-9) var(--s-8); }

.qrf-hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-8);
  align-items: center;
}
@media (min-width: 992px) {
  .qrf-hero__grid { grid-template-columns: 1.05fr 1fr; gap: var(--s-9); }
}

.qrf-hero__kicker { color: #fff; margin-bottom: var(--s-5); }
.qrf-hero__kicker::before { background: currentColor; }

.qrf-hero__title {
  font-size: clamp(2rem, 5.5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: var(--s-4);
}

.qrf-hero__sub {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 34rem;
  margin-bottom: var(--s-6);
}

.qrf-hero .btn-on-brand { padding-inline: 2rem; }

.js .qrf-hero__copy .qrf-hero__kicker,
.js .qrf-hero__copy .qrf-hero__title,
.js .qrf-hero__copy .qrf-hero__sub,
.js .qrf-hero__copy .btn {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 620ms var(--ease-soft), transform 620ms var(--ease-soft);
  animation: revealFallback 1ms 2.5s forwards;
}
.js .qrf-hero__copy.is-visible .qrf-hero__kicker { opacity: 1; transform: none; transition-delay: 60ms; }
.js .qrf-hero__copy.is-visible .qrf-hero__title  { opacity: 1; transform: none; transition-delay: 170ms; }
.js .qrf-hero__copy.is-visible .qrf-hero__sub    { opacity: 1; transform: none; transition-delay: 290ms; }
.js .qrf-hero__copy.is-visible .btn              { opacity: 1; transform: none; transition-delay: 410ms; }

/* --- HERO FAN — a compact, static three-card stack with a one-time reveal. --- */
.qrf-hero-fan {
  position: relative;
  height: 230px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qrf-hero-fan__card {
  position: absolute;
  width: 130px;
  height: 172px;
  padding: 14px 10px;
  background: #fff;
  border-radius: var(--r-md);
  box-shadow: 0 20px 40px -18px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.qrf-hero-fan__card:nth-child(1) { --hero-card-r: -9deg; --hero-card-x: -74px; }
.qrf-hero-fan__card:nth-child(2) { --hero-card-r: 4deg; --hero-card-x: 0; }
.qrf-hero-fan__card:nth-child(3) { --hero-card-r: 14deg; --hero-card-x: 74px; }
.qrf-hero-fan__card:hover {
  transform: translateX(var(--hero-card-x)) translateY(-10px) rotate(var(--hero-card-r)) !important;
  box-shadow: 0 28px 52px -18px rgba(0, 0, 0, 0.48);
  z-index: 5;
}

.qrf-hero-fan__avatar {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  overflow: hidden;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--tone, var(--violet));
  box-shadow: 0 4px 10px -4px rgba(0, 0, 0, 0.3);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
}
.qrf-hero-fan__persona {
  margin: 6px 0 8px;
  color: var(--ink);
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.qrf-hero-fan__avatar img { display: block; width: 100%; height: 100%; object-fit: cover; }
.qrf-hero-fan__code-wrap { position: relative; width: 88px; height: 88px; }
.qrf-hero-fan__code { display: block; width: 100%; height: 100%; color: var(--ink); fill: currentColor; }
.qrf-hero-fan__icon {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 34%;
  height: 34%;
  place-items: center;
  transform: translate(-50%, -50%);
  border-radius: 6px;
  background: #fff;
}
.qrf-hero-fan__icon::before {
  width: 68%;
  height: 68%;
  content: "";
  background-color: var(--ink);
  -webkit-mask: url("../../img/logo-Icon.a2b8dcb0126b.svg") center / contain no-repeat;
  mask: url("../../img/logo-Icon.a2b8dcb0126b.svg") center / contain no-repeat;
}
.qrf-hero-fan__handle {
  margin-top: 8px;
  color: var(--ink-soft);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.5625rem;
  font-weight: 600;
}

.js .qrf-hero-fan__card {
  opacity: 0;
  transform: translateX(0) rotate(0deg) scale(0.82);
  transition: opacity 520ms var(--ease-soft), transform 620ms var(--ease-soft);
}
.js .qrf-hero-fan.is-visible .qrf-hero-fan__card {
  opacity: 1;
  transform: translateX(var(--hero-card-x)) rotate(var(--hero-card-r));
}
.js .qrf-hero-fan.is-visible .qrf-hero-fan__card:nth-child(1) { transition-delay: 60ms; }
.js .qrf-hero-fan.is-visible .qrf-hero-fan__card:nth-child(2) { transition-delay: 160ms; }
.js .qrf-hero-fan.is-visible .qrf-hero-fan__card:nth-child(3) { transition-delay: 260ms; }

@media (max-width: 420px) {
  .qrf-hero-fan { transform: scale(0.8); }
}

/* --- BRANDING FAN — five examples that cycle through use cases. --- */
.qrf-fan {
  position: relative;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qrf-fan__card {
  position: absolute;
  width: 270px;
  height: 270px;
  padding: 20px 20px 30px;
  background: #fff;
  border-radius: var(--r-md);
  box-shadow: 0 20px 40px -18px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.qrf-fan__card:nth-child(1) { --fan-x: -56px; --fan-r: -10deg; transform: translateX(var(--fan-x)) rotate(var(--fan-r)); }
.qrf-fan__card:nth-child(2) { --fan-x: -28px; --fan-r: -5deg; transform: translateX(var(--fan-x)) rotate(var(--fan-r)); }
.qrf-fan__card:nth-child(3) { --fan-x: 0; --fan-r: 0deg; transform: translateX(var(--fan-x)) rotate(var(--fan-r)); }
.qrf-fan__card:nth-child(4) { --fan-x: 28px; --fan-r: 5deg; transform: translateX(var(--fan-x)) rotate(var(--fan-r)); }
.qrf-fan__card:nth-child(5) { --fan-x: 56px; --fan-r: 10deg; transform: translateX(var(--fan-x)) rotate(var(--fan-r)); }
.qrf-fan__card[data-tone="ink"] { --tone: #241046; --tone-deep: #130724; --tone-on: #fff; }
.qrf-fan__card[data-tone="violet"] { --tone: var(--violet-deep); --tone-deep: var(--violet-darker); }
.qrf-fan__card[data-tone="bright-violet"] { --tone: var(--violet); --tone-deep: var(--violet-deep); --tone-on: #fff; }
.qrf-fan__card:hover {
  transform: translateX(var(--fan-x)) translateY(-10px) rotate(var(--fan-r)) scale(1.02) !important;
  box-shadow: 0 28px 52px -18px rgba(0, 0, 0, 0.48);
  z-index: 5;
}

.qrf-fan__avatar {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--tone, var(--violet));
  color: var(--tone-on, #fff);
  font-size: 0.875rem;
  font-weight: 700;
  border: 3px solid #fff;
  box-shadow: 0 4px 10px -4px rgba(0, 0, 0, 0.3);
}

.qrf-fan__persona {
  margin: 8px 0 12px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tone, var(--violet));
}

.qrf-fan__code-wrap {
  position: relative;
  width: 150px;
  height: 150px;
}
#branding .qrf-fan__card { border: 1px solid var(--line); }
.qrf-fan__code {
  display: block;
  width: 100%;
  height: 100%;
  color: var(--tone, var(--violet));
  fill: currentColor;
}
.qrf-fan__icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 34%;
  height: 34%;
  z-index: 0;
  border-radius: 8px;
  background: #fff;
}
.qrf-fan__icon::before {
  width: 68%;
  height: 68%;
  content: "";
  background-color: var(--tone, var(--violet));
  -webkit-mask: url("../../img/logo-Icon.a2b8dcb0126b.svg") center / contain no-repeat;
  mask: url("../../img/logo-Icon.a2b8dcb0126b.svg") center / contain no-repeat;
}

.qrf-fan__handle {
  margin: 12px 0 0;
  font-size: 0.625rem;
  font-weight: 600;
  color: var(--ink-soft);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  white-space: nowrap;
}

.js .qrf-fan__card {
  opacity: 0;
  transform: translateY(18px) scale(0.84);
  transition: none;
}
.js .qrf-fan.is-visible .qrf-fan__card {
  transform-origin: 50% 55%;
  animation: qrf-fan-cycle 18s cubic-bezier(0.34, 1.56, 0.64, 1) infinite;
  pointer-events: none;
}
.js .qrf-fan.is-visible .qrf-fan__card:nth-child(1) { animation-delay: 3.6s; }
.js .qrf-fan.is-visible .qrf-fan__card:nth-child(2) { animation-delay: 7.2s; }
.js .qrf-fan.is-visible .qrf-fan__card:nth-child(3) { animation-delay: 0s; }
.js .qrf-fan.is-visible .qrf-fan__card:nth-child(4) { animation-delay: 10.8s; }
.js .qrf-fan.is-visible .qrf-fan__card:nth-child(5) { animation-delay: 14.4s; }

.js .qrf-fan.is-visible .qrf-fan__icon {
  animation: qrf-fan-icon-cycle 18s var(--ease-soft) infinite;
}
.js .qrf-fan.is-visible .qrf-fan__avatar,
.js .qrf-fan.is-visible .qrf-fan__persona,
.js .qrf-fan.is-visible .qrf-fan__code,
.js .qrf-fan.is-visible .qrf-fan__handle {
  animation: qrf-fan-detail-cycle 18s var(--ease-soft) infinite;
}
.js .qrf-fan.is-visible .qrf-fan__card:nth-child(1) .qrf-fan__icon,
.js .qrf-fan.is-visible .qrf-fan__card:nth-child(1) .qrf-fan__avatar,
.js .qrf-fan.is-visible .qrf-fan__card:nth-child(1) .qrf-fan__persona,
.js .qrf-fan.is-visible .qrf-fan__card:nth-child(1) .qrf-fan__code,
.js .qrf-fan.is-visible .qrf-fan__card:nth-child(1) .qrf-fan__handle { animation-delay: 3.6s; }
.js .qrf-fan.is-visible .qrf-fan__card:nth-child(2) .qrf-fan__icon,
.js .qrf-fan.is-visible .qrf-fan__card:nth-child(2) .qrf-fan__avatar,
.js .qrf-fan.is-visible .qrf-fan__card:nth-child(2) .qrf-fan__persona,
.js .qrf-fan.is-visible .qrf-fan__card:nth-child(2) .qrf-fan__code,
.js .qrf-fan.is-visible .qrf-fan__card:nth-child(2) .qrf-fan__handle { animation-delay: 7.2s; }
.js .qrf-fan.is-visible .qrf-fan__card:nth-child(3) .qrf-fan__icon,
.js .qrf-fan.is-visible .qrf-fan__card:nth-child(3) .qrf-fan__avatar,
.js .qrf-fan.is-visible .qrf-fan__card:nth-child(3) .qrf-fan__persona,
.js .qrf-fan.is-visible .qrf-fan__card:nth-child(3) .qrf-fan__code,
.js .qrf-fan.is-visible .qrf-fan__card:nth-child(3) .qrf-fan__handle { animation-delay: 0s; }
.js .qrf-fan.is-visible .qrf-fan__card:nth-child(4) .qrf-fan__icon,
.js .qrf-fan.is-visible .qrf-fan__card:nth-child(4) .qrf-fan__avatar,
.js .qrf-fan.is-visible .qrf-fan__card:nth-child(4) .qrf-fan__persona,
.js .qrf-fan.is-visible .qrf-fan__card:nth-child(4) .qrf-fan__code,
.js .qrf-fan.is-visible .qrf-fan__card:nth-child(4) .qrf-fan__handle { animation-delay: 10.8s; }
.js .qrf-fan.is-visible .qrf-fan__card:nth-child(5) .qrf-fan__icon,
.js .qrf-fan.is-visible .qrf-fan__card:nth-child(5) .qrf-fan__avatar,
.js .qrf-fan.is-visible .qrf-fan__card:nth-child(5) .qrf-fan__persona,
.js .qrf-fan.is-visible .qrf-fan__card:nth-child(5) .qrf-fan__code,
.js .qrf-fan.is-visible .qrf-fan__card:nth-child(5) .qrf-fan__handle { animation-delay: 14.4s; }

@keyframes qrf-fan-cycle {
  0% {
    opacity: 1;
    transform: translateY(0) scale(0.28);
    background: rgba(255, 255, 255, 0);
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  }
  2.4% {
    opacity: 1;
    transform: translateY(0) scale(0.38);
    background: rgba(255, 255, 255, 0.9);
  }
  4.8% {
    opacity: 1;
    transform: translateY(0) scale(1.055);
    background: #fff;
    box-shadow: 0 20px 40px -18px rgba(0, 0, 0, 0.4);
  }
  8%, 20% {
    opacity: 1;
    transform: translateY(0) scale(1);
    background: #fff;
    box-shadow: 0 20px 40px -18px rgba(0, 0, 0, 0.4);
  }
  24%, 100% {
    opacity: 0;
    transform: translateY(-14px) scale(0.94);
    background: rgba(255, 255, 255, 0);
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  }
}

@keyframes qrf-fan-icon-cycle {
  0% { opacity: 1; transform: translate(-50%, -50%) scale(3.58); }
  2.4% { opacity: 1; transform: translate(-50%, -50%) scale(2.6); }
  4.8% { opacity: 1; transform: translate(-50%, -50%) scale(0.95); }
  8%, 20% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  24%, 100% { opacity: 0; transform: translate(-50%, -50%) scale(0.8); }
}

@keyframes qrf-fan-detail-cycle {
  0%, 4% { opacity: 0; }
  7%, 20% { opacity: 1; }
  24%, 100% { opacity: 0; }
}

@media (min-width: 992px) {
  .qrf-fan { height: 350px; }
  .qrf-fan__card {
    width: 290px;
    height: 290px;
    padding: 22px 22px 32px;
  }
  .qrf-fan__avatar {
    top: -21px;
    width: 46px;
    height: 46px;
    font-size: 1rem;
  }
  .qrf-fan__persona {
    margin: 10px 0 12px;
    font-size: 0.75rem;
  }
  .qrf-fan__code-wrap { width: 164px; height: 164px; }
  .qrf-fan__handle { margin-top: 12px; font-size: 0.6875rem; }
}

@media (max-width: 991.98px) {
  .qrf-hero__grid { text-align: center; }
  .qrf-hero__sub { margin-inline: auto; }
  .qrf-hero { padding-block: var(--s-8); }
}

/* -------------------------------------------------------------------------
   2. FEATURE SECTIONS — alternating two-column layout, DOM order only
   ------------------------------------------------------------------------- */
.qrf-feature__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-7);
  align-items: center;
}
@media (min-width: 992px) {
  .qrf-feature__grid { grid-template-columns: 1fr 1fr; gap: var(--s-9); }
}

.qrf-feature .kicker--accent { color: var(--accent); }

.qrf-points { list-style: none; padding: 0; margin: var(--s-5) 0 0; display: grid; gap: var(--s-3); }
.qrf-points li {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  font-size: 0.9375rem;
}
.qrf-points svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--violet-deep);
}
.band--ink .qrf-points svg { color: var(--accent); }

.qrf-feature__visual { display: flex; justify-content: center; }

/* -------------------------------------------------------------------------
   3. BRANDING — one deep-violet code, cycling through five real use cases.
   The centre icon and label change together (separate properties/keyframes,
   for the same reason as the old bio-theme cycle: sharing would bleed
   properties onto elements that shouldn't have them). The swatch row
   reuses the exact corrected sync mechanism from that earlier fix:
   negative animation-delay moves an element's own clock FORWARD, so the
   element that needs to take its turn soonest needs the LARGEST offset,
   not the smallest — nth-child(2) gets -4 rotations, not -1. Every
   keyframe here is also symmetric (same value at 0% and 100%) so the
   loop point itself doesn't jump; asymmetric start/end was the second
   bug from that same fix. Gated behind .is-visible, not page load, since
   an always-running paint-heavy animation is what caused the reveal
   itself to stall last time.
   ------------------------------------------------------------------------- */
.qrf-brand-card {
  --brand-cycle: calc(var(--rotate) * 5);
  width: 100%;
  max-width: 17rem;
  padding: var(--s-5);
  background: var(--white);
  border-radius: var(--r-lg);
  box-shadow: 0 26px 50px -24px rgba(0, 0, 0, 0.5);
  text-align: center;
}

.qrf-brand-card__code {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--r-sm);
}
.qrf-brand-card__pattern {
  display: block;
  width: 100%;
  height: 100%;
  color: var(--violet-deep);
  fill: currentColor;
}
.qrf-brand-card__mark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 30%;
  height: 30%;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 10px;
  background: var(--indigo);
  box-shadow: 0 4px 0 #2a1bb0, 0 10px 18px rgba(36, 16, 70, 0.25);
}
.qrf-brand-card__mark::before {
  content: "";
  position: absolute;
  inset: 2px 3px auto;
  z-index: 0;
  height: 30%;
  border-radius: inherit;
  background: rgba(255, 255, 255, 0.3);
}
.qrf-brand-card__icon {
  position: relative;
  z-index: 1;
  grid-area: 1 / 1;
  width: 60%;
  height: 60%;
  opacity: 0;
  filter: drop-shadow(0 1px 0 rgba(36, 16, 70, 0.24));
}
.qrf-brand-card__icon:first-child { opacity: 1; }

.qrf-brand-card__use {
  position: relative;
  margin-top: var(--s-4);
  display: grid;
  place-items: center;
  min-height: 1.3em;
}
.qrf-brand-card__use-label {
  grid-area: 1 / 1;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--ink);
  opacity: 0;
}
.qrf-brand-card__use-label:first-child { opacity: 1; }

.qrf-brand-card__divider { margin: var(--s-4) 0; border-top: 1px solid var(--line); }
.qrf-brand-card__palette-label {
  margin-bottom: var(--s-3);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.qrf-brand-card__swatches { display: flex; justify-content: center; gap: 0.55rem; }
.qrf-brand-card__swatch {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--tone, var(--violet));
  border: 2px solid var(--white);
  box-shadow: 0 0 0 1px var(--line);
}
.qrf-brand-card__swatch.is-active { box-shadow: 0 0 0 1px var(--white), 0 0 0 3px var(--ink-soft); }

@keyframes qrfBrandBgCycle {
  0%, 16%  { background-color: var(--indigo); }
  20%, 36% { background-color: var(--violet); }
  40%, 56% { background-color: var(--mint); }
  60%, 76% { background-color: #c01a6b; }
  80%, 96% { background-color: #b31eb0; }
  100%     { background-color: var(--indigo); }
}
@keyframes qrfBrandDepthCycle {
  0%, 16%  { box-shadow: 0 4px 0 #2a1bb0, 0 10px 18px rgba(36, 16, 70, 0.25); }
  20%, 36% { box-shadow: 0 4px 0 #6a11b8, 0 10px 18px rgba(36, 16, 70, 0.25); }
  40%, 56% { box-shadow: 0 4px 0 #0e7a4b, 0 10px 18px rgba(36, 16, 70, 0.25); }
  60%, 76% { box-shadow: 0 4px 0 #92104f, 0 10px 18px rgba(36, 16, 70, 0.25); }
  80%, 96% { box-shadow: 0 4px 0 #8a1489, 0 10px 18px rgba(36, 16, 70, 0.25); }
  100%     { box-shadow: 0 4px 0 #2a1bb0, 0 10px 18px rgba(36, 16, 70, 0.25); }
}
@keyframes qrfBrandSwap {
  0%, 16%  { opacity: 1; }
  20%      { opacity: 0; }
  96%      { opacity: 0; }
  100%     { opacity: 1; }
}
@keyframes qrfBrandActive {
  0%, 16%  { box-shadow: 0 0 0 1px var(--white), 0 0 0 3px var(--ink-soft); transform: scale(1.1); }
  20%      { box-shadow: 0 0 0 1px var(--white), 0 0 0 0 var(--ink-soft); transform: scale(1); }
  96%      { box-shadow: 0 0 0 1px var(--white), 0 0 0 0 var(--ink-soft); transform: scale(1); }
  100%     { box-shadow: 0 0 0 1px var(--white), 0 0 0 3px var(--ink-soft); transform: scale(1.1); }
}

.qrf-feature__visual.is-visible .qrf-brand-card__mark {
  animation: qrfBrandBgCycle var(--brand-cycle) linear infinite,
             qrfBrandDepthCycle var(--brand-cycle) linear infinite;
}

.qrf-feature__visual.is-visible .qrf-brand-card__icon,
.qrf-feature__visual.is-visible .qrf-brand-card__use-label,
.qrf-feature__visual.is-visible .qrf-brand-card__swatch {
  animation-duration: var(--brand-cycle);
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}
.qrf-feature__visual.is-visible .qrf-brand-card__icon      { animation-name: qrfBrandSwap; }
.qrf-feature__visual.is-visible .qrf-brand-card__use-label { animation-name: qrfBrandSwap; }
.qrf-feature__visual.is-visible .qrf-brand-card__swatch    { animation-name: qrfBrandActive; }

.qrf-feature__visual.is-visible .qrf-brand-card__icon:nth-child(2),
.qrf-feature__visual.is-visible .qrf-brand-card__use-label:nth-child(2),
.qrf-feature__visual.is-visible .qrf-brand-card__swatch:nth-child(2) { animation-delay: calc(var(--rotate) * -4); }
.qrf-feature__visual.is-visible .qrf-brand-card__icon:nth-child(3),
.qrf-feature__visual.is-visible .qrf-brand-card__use-label:nth-child(3),
.qrf-feature__visual.is-visible .qrf-brand-card__swatch:nth-child(3) { animation-delay: calc(var(--rotate) * -3); }
.qrf-feature__visual.is-visible .qrf-brand-card__icon:nth-child(4),
.qrf-feature__visual.is-visible .qrf-brand-card__use-label:nth-child(4),
.qrf-feature__visual.is-visible .qrf-brand-card__swatch:nth-child(4) { animation-delay: calc(var(--rotate) * -2); }
.qrf-feature__visual.is-visible .qrf-brand-card__icon:nth-child(5),
.qrf-feature__visual.is-visible .qrf-brand-card__use-label:nth-child(5),
.qrf-feature__visual.is-visible .qrf-brand-card__swatch:nth-child(5) { animation-delay: calc(var(--rotate) * -1); }

/* -------------------------------------------------------------------------
   4. DYNAMIC DESTINATION — the bridge card
   ------------------------------------------------------------------------- */
.qrf-bridge {
  width: 100%;
  max-width: 27rem;
  padding: var(--s-6);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--r-lg);
  text-align: center;
}
.qrf-bridge__label {
  margin-bottom: var(--s-5);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

.qrf-bridge__flow { display: flex; align-items: center; gap: var(--s-4); }

.qrf-bridge__code {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  padding: 8px;
  background: var(--white);
  border-radius: var(--r-sm);
}
.qrf-bridge__pattern { display: block; width: 100%; height: 100%; color: var(--ink); }

.qrf-bridge__arrow { flex-shrink: 0; display: grid; place-items: center; width: 22px; height: 22px; color: var(--accent); }
.qrf-bridge__arrow svg { width: 100%; height: 100%; }

.qrf-bridge__dest {
  position: relative;
  flex: 1;
  min-width: 0;
  padding: var(--s-3) var(--s-4) var(--s-3) 1.4rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--r-md);
  text-align: left;
  overflow: hidden;
}
.qrf-bridge__dest-bar { position: absolute; top: 0; left: 0; bottom: 0; width: 4px; background: var(--accent); }
.qrf-bridge__dest-old,
.qrf-bridge__dest-new {
  display: block;
  font-size: 0.9375rem;
  font-weight: 700;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.qrf-bridge__dest-old { color: var(--body-on-dark); text-decoration: line-through; opacity: 0.5; }
.qrf-bridge__dest-new { color: #fff; margin-top: 2px; }

.qrf-bridge__link {
  margin-top: var(--s-5);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.qrf-bridge__note { margin-top: var(--s-2); font-size: 0.8125rem; color: var(--body-on-dark); }

.js .qrf-bridge__arrow,
.js .qrf-bridge__dest-new {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 460ms var(--ease-soft), transform 460ms var(--ease-soft);
}
.js .reveal.is-visible .qrf-bridge__arrow    { opacity: 1; transform: none; transition-delay: 260ms; }
.js .reveal.is-visible .qrf-bridge__dest-new { opacity: 1; transform: none; transition-delay: 380ms; }

/* -------------------------------------------------------------------------
   5. PRINT-READY — three real sizes, each with a real dimension, format
   and use case, not the same thumbnail with a one-word caption.
   ------------------------------------------------------------------------- */
.qrf-scale { width: 100%; max-width: 26rem; display: grid; gap: var(--s-5); }

.qrf-scale__item-row { display: flex; align-items: center; gap: var(--s-4); }

.qrf-scale__thumb {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  padding: 8px;
  background: var(--white);
  border-radius: var(--r-sm);
  box-shadow: 0 20px 40px -20px rgba(36, 16, 70, 0.3);
}
.qrf-scale__pattern { display: block; color: var(--tone, var(--violet)); }
.qrf-scale__thumb--sm { width: 52px; height: 52px; }
.qrf-scale__thumb--sm .qrf-scale__pattern { width: 38px; height: 38px; }
.qrf-scale__thumb--md { width: 72px; height: 72px; }
.qrf-scale__thumb--md .qrf-scale__pattern { width: 58px; height: 58px; }
.qrf-scale__thumb--lg { width: 96px; height: 96px; }
.qrf-scale__thumb--lg .qrf-scale__pattern { width: 82px; height: 82px; }

.qrf-scale__info { min-width: 0; text-align: left; }
.qrf-scale__title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.2rem;
}
.qrf-scale__size { font-size: 0.75rem; font-weight: 600; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.qrf-scale__use { font-size: 0.8125rem; color: var(--ink-soft); }

.qrf-scale__formats {
  margin-top: var(--s-2);
  padding-top: var(--s-4);
  border-top: 1px solid var(--line);
  font-size: 0.8125rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

.js .qrf-scale__item-row {
  opacity: 0;
  transform: translateX(-14px);
  transition: opacity 480ms var(--ease-soft), transform 480ms var(--ease-soft);
}
.js .reveal.is-visible .qrf-scale__item-row { opacity: 1; transform: none; }
.js .reveal.is-visible .qrf-scale__item-row:nth-child(1) { transition-delay: 80ms; }
.js .reveal.is-visible .qrf-scale__item-row:nth-child(2) { transition-delay: 200ms; }
.js .reveal.is-visible .qrf-scale__item-row:nth-child(3) { transition-delay: 320ms; }

/* -------------------------------------------------------------------------
   7. SCAN ANALYTICS — dashboard card
   ------------------------------------------------------------------------- */
.qrf-scan-dash {
  width: 100%;
  max-width: 26rem;
  padding: var(--s-6);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--r-lg);
  transition: var(--transition);
}
.qrf-feature__visual.is-visible .qrf-scan-dash {
  animation: qrfScanDashIn 520ms var(--ease) both;
}
.qrf-scan-dash:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-8px);
  box-shadow: var(--lift-dark);
}
.qrf-scan-dash__label {
  margin-bottom: var(--s-4);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}
.qrf-scan-dash__value { font-size: clamp(2.25rem, 6vw, 2.75rem); font-weight: 700; color: #fff; line-height: 1; font-variant-numeric: tabular-nums; }
.qrf-scan-dash__meta { margin-top: var(--s-2); font-size: 0.8125rem; color: var(--body-on-dark); }
.qrf-scan-dash__delta { color: var(--accent); font-weight: 700; }

.qrf-scan-dash__chart {
  display: grid;
  gap: 0.55rem;
  margin: var(--s-6) 0 var(--s-4);
  padding: 0 0 var(--s-4) 5.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.qrf-scan-dash__col {
  position: relative;
  height: 7px;
  overflow: visible;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.14);
  --chart-delay: 40ms;
}
.qrf-scan-dash__col::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--h, 40%);
  border-radius: inherit;
  background: rgba(255, 255, 255, 0.3);
  transition: width 560ms var(--ease) var(--chart-delay), background-color var(--dur) var(--ease);
}
.qrf-scan-dash__col--peak::before { background: var(--accent); }
.qrf-scan-dash:hover .qrf-scan-dash__col::before { background: rgba(255, 255, 255, 0.42); }
.qrf-scan-dash:hover .qrf-scan-dash__col--peak::before { background: var(--accent); }
.js .reveal:not(.is-visible) .qrf-scan-dash__col::before { width: 0; }
.qrf-scan-dash__col:nth-child(2) { --chart-delay: 90ms; }
.qrf-scan-dash__col:nth-child(3) { --chart-delay: 140ms; }
.qrf-scan-dash__col:nth-child(4) { --chart-delay: 190ms; }
.qrf-scan-dash__col:nth-child(5) { --chart-delay: 240ms; }
.qrf-scan-dash__col:nth-child(6) { --chart-delay: 290ms; }
.qrf-scan-dash__col:nth-child(7) { --chart-delay: 340ms; }
.qrf-scan-dash__col span {
  position: absolute;
  right: calc(100% + 0.75rem);
  width: 4.5rem;
  top: 50%;
  transform: translateY(-50%);
  text-align: left;
  font-size: 0.625rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.4);
}

.qrf-scan-dash__places { list-style: none; padding: 0; margin: var(--s-5) 0 0; display: grid; gap: var(--s-3); }
.qrf-scan-dash__places li {
  display: grid;
  grid-template-columns: 6.5rem 1fr 2.25rem;
  align-items: center;
  gap: var(--s-3);
  font-size: 0.75rem;
}
.qrf-scan-dash__places li > span:first-child { font-weight: 600; color: #fff; text-align: left; }
.qrf-scan-dash__places li > span:last-child { font-weight: 700; text-align: right; color: var(--body-on-dark); font-variant-numeric: tabular-nums; }
.qrf-scan-dash__place { display: inline-flex; align-items: center; gap: 0.35rem; }
.qrf-scan-dash__place svg { width: 13px; height: 13px; flex-shrink: 0; opacity: 0.75; }
.qrf-scan-dash__track { height: 5px; border-radius: 3px; background: rgba(255, 255, 255, 0.14); overflow: hidden; }
.qrf-scan-dash__fill {
  display: block;
  width: var(--w, 0%);
  height: 100%;
  border-radius: 3px;
  background: var(--violet);
  transition: width 700ms var(--ease-soft);
}
.js .reveal:not(.is-visible) .qrf-scan-dash__fill { width: 0; }

@keyframes qrfScanDashIn {
  from { opacity: 0; transform: translateY(12px) scale(0.985); }
  to { opacity: 1; transform: none; }
}

/* -------------------------------------------------------------------------
   8. HOW IT WORKS — an animated four-stage QR workflow
   ------------------------------------------------------------------------- */
.qrf-steps-band { overflow: hidden; }
.qrf-steps-head { max-width: 42rem; }
.qrf-workflow { --workflow-progress: 0%; }

.qrf-steps {
  position: relative;
  z-index: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--s-2);
  max-width: 54rem;
  padding: 0;
  margin: 0 auto var(--s-7);
  list-style: none;
}
.qrf-steps::before,
.qrf-steps::after {
  content: "";
  position: absolute;
  top: 21px;
  left: 12.5%;
  height: 3px;
  border-radius: var(--r-pill);
  pointer-events: none;
}
.qrf-steps::before { right: 12.5%; background: rgba(255, 255, 255, 0.36); }
.qrf-steps::after {
  width: calc(75% * var(--workflow-progress));
  background: #fff;
  transition: width 560ms var(--ease);
}
.qrf-steps__item { position: relative; z-index: 1; min-width: 0; text-align: center; }
.qrf-steps__button {
  display: grid;
  justify-items: center;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.66);
  font: inherit;
  cursor: pointer;
}
.qrf-steps__badge {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: var(--s-3);
  border: 2px solid rgba(255, 255, 255, 0.58);
  border-radius: 50%;
  background: var(--violet);
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.125rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  transition: transform var(--dur) var(--ease), background-color var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), color var(--dur) var(--ease);
}
.qrf-steps__check { display: none; width: 20px; height: 20px; }
.qrf-steps__label { font-size: 0.75rem; font-weight: 700; line-height: 1.1; transition: color var(--dur) var(--ease); }
.qrf-steps__item.is-active .qrf-steps__button { color: #fff; }
.qrf-steps__item.is-active .qrf-steps__badge {
  border-color: #fff;
  background: #fff;
  color: var(--violet);
  transform: scale(1.12);
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.22), 0 10px 20px rgba(36, 16, 70, 0.28);
}
.qrf-steps__item.is-complete .qrf-steps__button { color: #fff; }
.qrf-steps__item.is-complete .qrf-steps__badge { border-color: #fff; background: #fff; color: var(--violet-deep); }
.qrf-steps__item.is-complete .qrf-steps__badge-number { display: none; }
.qrf-steps__item.is-complete .qrf-steps__check { display: block; }
.qrf-steps__button:hover .qrf-steps__badge { border-color: #fff; transform: translateY(-3px); }
.qrf-steps__item.is-active .qrf-steps__button:hover .qrf-steps__badge { transform: scale(1.12) translateY(-2px); }
.qrf-steps__button:focus-visible { outline: none; }
.qrf-steps__button:focus-visible .qrf-steps__badge { outline: 3px solid var(--ink); outline-offset: 4px; }

.qrf-workflow-card {
  width: min(100%, 36rem);
  min-height: 18rem;
  margin: 0 auto;
  padding: clamp(1.35rem, 4vw, 2.2rem);
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: var(--r-lg);
  background: #fff;
  color: var(--ink);
  box-shadow: 0 30px 55px -32px rgba(36, 16, 70, 0.66);
}
.qrf-workflow-card__stage { text-align: left; }
.qrf-workflow-card__stage:not([hidden]) { animation: qrfWorkflowStageIn 440ms var(--ease) both; }
.qrf-workflow-card__eyebrow { margin-bottom: var(--s-2); color: var(--violet); font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.qrf-workflow-card h3 { margin-bottom: var(--s-2); font-size: clamp(1.35rem, 4vw, 1.7rem); font-weight: 700; letter-spacing: -0.025em; }
.qrf-workflow-card__stage > p:not(.qrf-workflow-card__eyebrow) { max-width: 31rem; color: var(--ink-soft); font-size: 0.9375rem; }
.qrf-steps-head .band-title { margin-bottom: var(--s-8); }

.qrf-workflow-card__design { --design-tone: var(--violet); display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: var(--s-5); margin-top: var(--s-5); }
.qrf-workflow-card__design[data-qrf-palette="indigo"] { --design-tone: var(--indigo); }
.qrf-workflow-card__design[data-qrf-palette="mint"] { --design-tone: var(--mint); }
.qrf-workflow-card__design[data-qrf-palette="pink"] { --design-tone: #c01a6b; }
.qrf-workflow-card__design[data-qrf-palette="magenta"] { --design-tone: #b31eb0; }
.qrf-workflow-card__palette { display: flex; flex-wrap: wrap; gap: 0.55rem; align-items: center; }
.qrf-workflow-card__swatch { width: 2rem; height: 2rem; border-radius: 50%; border: 3px solid #fff; opacity: 0.42; box-shadow: 0 0 0 1px var(--line); transform: scale(0.9); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.qrf-workflow-card__swatch.is-active { opacity: 1; transform: scale(1.1); box-shadow: 0 0 0 1px var(--ink), 0 0 0 4px rgba(138, 43, 226, 0.2); }
.qrf-workflow-card__swatch--violet { background: var(--violet); }
.qrf-workflow-card__swatch--indigo { background: var(--indigo); }
.qrf-workflow-card__swatch--mint { background: var(--mint); }
.qrf-workflow-card__swatch--pink { background: #c01a6b; }
.qrf-workflow-card__swatch--magenta { background: #b31eb0; }
.qrf-workflow-card__palette-label { flex-basis: 100%; margin-top: var(--s-2); color: var(--ink-soft); font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.qrf-workflow-card__code { position: relative; flex-shrink: 0; width: 7.5rem; height: 7.5rem; padding: 0.55rem; border: 1px solid var(--line-strong); border-radius: var(--r-md); background: #fff; color: var(--design-tone); transition: color var(--dur) var(--ease); }
.qrf-workflow-card__code svg { display: block; width: 100%; height: 100%; fill: currentColor; }
.qrf-workflow-card__code i { position: absolute; inset: 34%; display: grid; place-items: center; border: 2px solid #fff; border-radius: 7px; background: #fff; }
.qrf-workflow-card__code i::before { width: 76%; height: 76%; content: ""; background-color: var(--design-tone); -webkit-mask: url("../../img/logo-Icon.a2b8dcb0126b.svg") center / contain no-repeat; mask: url("../../img/logo-Icon.a2b8dcb0126b.svg") center / contain no-repeat; transition: background-color var(--dur) var(--ease); }
.qrf-workflow-card__code i svg { width: 64%; height: 64%; fill: none; }

.qrf-workflow-card__destination-flow { display: grid; grid-template-columns: auto minmax(3.25rem, .4fr) minmax(0, 1fr); gap: var(--s-3); align-items: center; margin-top: var(--s-5); }
.qrf-workflow-card__destination-code { position: relative; display: grid; flex-shrink: 0; width: 5.45rem; height: 5.45rem; padding: 0.38rem; border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: #fff; color: var(--violet); }
.qrf-workflow-card__destination-code svg { width: 100%; height: 100%; fill: currentColor; }
.qrf-workflow-card__destination-code > i { position: absolute; inset: 35%; display: grid; border: 1px solid #fff; border-radius: 5px; background: #fff; }
.qrf-workflow-card__destination-code > i::before { width: 72%; height: 72%; margin: auto; content: ""; background-color: var(--violet); -webkit-mask: url("../../img/logo-Icon.a2b8dcb0126b.svg") center / contain no-repeat; mask: url("../../img/logo-Icon.a2b8dcb0126b.svg") center / contain no-repeat; }
.qrf-workflow-card__destination-transfer { position: relative; display: grid; min-height: 2.6rem; color: var(--violet); overflow: hidden; }
.qrf-workflow-card__destination-transfer::before { position: absolute; top: 50%; right: 0.1rem; left: 0.1rem; height: 1px; content: ""; background: var(--line-strong); transform: translateY(-50%); }
.qrf-workflow-card__destination-transfer i { position: absolute; z-index: 1; top: calc(50% - 0.25rem); left: -0.5rem; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--violet); box-shadow: 0 0 0 4px #fff, 0 0 0 5px rgba(138, 43, 226, 0.18); animation: qrfDestinationTransfer 1800ms var(--ease) infinite; }
.qrf-workflow-card__destination-transfer i:nth-of-type(2) { animation-delay: 600ms; }
.qrf-workflow-card__destination-transfer i:nth-of-type(3) { animation-delay: 1200ms; }
.qrf-workflow-card__destination-transfer svg { position: absolute; z-index: 2; top: 50%; right: 0; width: 1.25rem; height: 1.25rem; padding-left: 0.14rem; background: #fff; transform: translateY(-50%); }
.qrf-workflow-card__destination { position: relative; display: grid; min-width: 0; gap: var(--s-2); padding: var(--s-4); border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; }
.qrf-workflow-card__destination-label { color: var(--ink-soft); font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; }
.qrf-workflow-card__destination-url { color: var(--ink); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: clamp(0.8rem, 3vw, 0.9375rem); font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.qrf-workflow-card__exports { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-2); margin-top: var(--s-5); }
.qrf-workflow-card__exports span { display: grid; min-height: 4.5rem; place-content: center; gap: 0.15rem; border: 1px solid var(--line); border-radius: var(--r-sm); color: var(--ink-soft); font-size: 0.9375rem; font-weight: 700; text-align: center; }
.qrf-workflow-card__exports .is-selected { border-color: var(--violet); background: var(--violet); color: #fff; box-shadow: 0 10px 18px -12px rgba(106, 17, 184, 0.8); }
.qrf-workflow-card__exports small { font-size: 0.625rem; font-weight: 600; opacity: 0.72; }

.qrf-workflow-card__analytics { margin-top: var(--s-5); padding: var(--s-4); border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; }
.qrf-workflow-card__analytics-head { display: grid; grid-template-columns: 1fr auto; gap: 0.15rem var(--s-3); align-items: end; }
.qrf-workflow-card__analytics-head span { color: var(--ink-soft); font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.qrf-workflow-card__analytics-head strong { color: var(--ink); font-size: 1.85rem; font-variant-numeric: tabular-nums; line-height: 1; }
.qrf-workflow-card__analytics-head em { color: var(--violet-deep); font-size: 0.8125rem; font-style: normal; font-weight: 700; text-align: right; }
.qrf-workflow-card__analytics-chart { display: flex; align-items: end; gap: 0.35rem; height: 4.5rem; margin: var(--s-4) 0 var(--s-3); padding-bottom: var(--s-2); border-bottom: 1px solid var(--line); }
.qrf-workflow-card__analytics-chart i { flex: 1; height: var(--bar); border-radius: 3px 3px 0 0; background: var(--violet); transform-origin: bottom; }
.qrf-workflow-card__analytics-chart i:nth-child(3), .qrf-workflow-card__analytics-chart i:nth-child(6) { background: var(--ink); }
.qrf-workflow-card__stage:not([hidden]) .qrf-workflow-card__analytics-chart i { animation: qrfWorkflowBarIn 520ms var(--ease) both; }
.qrf-workflow-card__stage:not([hidden]) .qrf-workflow-card__analytics-chart i:nth-child(2) { animation-delay: 55ms; }
.qrf-workflow-card__stage:not([hidden]) .qrf-workflow-card__analytics-chart i:nth-child(3) { animation-delay: 110ms; }
.qrf-workflow-card__stage:not([hidden]) .qrf-workflow-card__analytics-chart i:nth-child(4) { animation-delay: 165ms; }
.qrf-workflow-card__stage:not([hidden]) .qrf-workflow-card__analytics-chart i:nth-child(5) { animation-delay: 220ms; }
.qrf-workflow-card__stage:not([hidden]) .qrf-workflow-card__analytics-chart i:nth-child(6) { animation-delay: 275ms; }
.qrf-workflow-card__stage:not([hidden]) .qrf-workflow-card__analytics-chart i:nth-child(7) { animation-delay: 330ms; }
.qrf-workflow-card__analytics-foot { display: grid; grid-template-columns: 1fr auto auto; gap: var(--s-2); color: var(--ink-soft); font-size: 0.75rem; }
.qrf-workflow-card__analytics-foot strong { color: var(--ink); font-weight: 700; }
.qrf-workflow-card__analytics-foot span:last-child { color: var(--violet-deep); font-weight: 700; }

@keyframes qrfWorkflowStageIn {
  from { opacity: 0; transform: translateY(10px) scale(0.985); }
  to { opacity: 1; transform: none; }
}
@keyframes qrfWorkflowBarIn {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}
@keyframes qrfDestinationTransfer {
  0% { left: -0.5rem; opacity: 0; transform: scale(0.7); }
  14% { opacity: 1; }
  82% { left: calc(100% - 0.7rem); opacity: 1; transform: scale(1); }
  100% { left: calc(100% - 0.45rem); opacity: 0; transform: scale(0.7); }
}

@media (min-width: 768px) {
  .qrf-steps { gap: var(--s-5); margin-bottom: var(--s-8); }
  .qrf-steps::before, .qrf-steps::after { top: 32px; }
  .qrf-steps__badge { width: 66px; height: 66px; font-size: 1.4rem; }
  .qrf-steps__label { font-size: 0.9375rem; }
  .qrf-workflow-card { min-height: 19rem; }
}

@media (max-width: 480px) {
  .qrf-workflow-card__destination-flow { grid-template-columns: 1fr; gap: 0.5rem; justify-items: center; }
  .qrf-workflow-card__destination-transfer { width: 2.6rem; min-height: 3rem; }
  .qrf-workflow-card__destination-transfer::before { top: 0.1rem; right: auto; bottom: 0.1rem; left: 50%; width: 1px; height: auto; transform: translateX(-50%); }
  .qrf-workflow-card__destination-transfer i { top: -0.5rem; left: calc(50% - 0.25rem); animation-name: qrfDestinationTransferVertical; }
  .qrf-workflow-card__destination-transfer svg { top: auto; right: auto; bottom: -0.05rem; left: 50%; padding: 0.14rem 0 0; transform: translateX(-50%) rotate(90deg); }
  .qrf-workflow-card__destination { width: 100%; }
}

@keyframes qrfDestinationTransferVertical {
  0% { top: -0.5rem; opacity: 0; transform: scale(0.7); }
  14% { opacity: 1; }
  82% { top: calc(100% - 0.7rem); opacity: 1; transform: scale(1); }
  100% { top: calc(100% - 0.45rem); opacity: 0; transform: scale(0.7); }
}

/* -------------------------------------------------------------------------
   9. FAQ — same editorial layout and native details treatment as home
   ------------------------------------------------------------------------- */
.qrf-faq-layout { display: grid; grid-template-columns: 1fr; gap: var(--s-7); }
@media (min-width: 992px) {
  .qrf-faq-layout { grid-template-columns: 20rem 1fr; gap: var(--s-8); align-items: start; }
  .qrf-faq-intro { position: sticky; top: 6rem; }
}

.qrf-faq-intro .band-sub { margin-bottom: var(--s-5); }

.qrf-faq-help {
  padding: var(--s-5);
  background: var(--ink);
  border-radius: var(--r-lg);
  color: #fff;
}
.qrf-faq-help__title { font-size: 1rem; font-weight: 700; margin-bottom: 0.15rem; }
.qrf-faq-help__text { font-size: 0.875rem; color: var(--body-on-dark); margin-bottom: var(--s-4); }
.qrf-faq-help__link {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  min-height: 44px;
  padding: 0.5rem 1.1rem;
  background: var(--violet);
  border-radius: var(--r-md);
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}
.qrf-faq-help__link:hover,
.qrf-faq-help__link:focus-visible { background: #fff; color: var(--ink); transform: translateY(-2px); }
.qrf-faq-help :focus-visible { outline-color: #fff; }

.qrf-faq-list { border-top: 2px solid var(--line); }
.qrf-faq__item { border-bottom: 2px solid var(--line); transition: var(--transition); }
.qrf-faq__item[open] { border-bottom-color: var(--violet); }

.qrf-faq-q__text { font-size: inherit; font-weight: inherit; letter-spacing: inherit; color: inherit; }
.qrf-faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  padding: var(--s-5) 0;
  list-style: none;
  cursor: pointer;
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  transition: var(--transition);
}
.qrf-faq-q::-webkit-details-marker { display: none; }
.qrf-faq-q:hover { color: var(--violet-deep); }
.qrf-faq-q:focus-visible { outline-offset: -3px; }
.qrf-faq__item[open] .qrf-faq-q { color: var(--violet-deep); padding-bottom: var(--s-3); }

.qrf-faq-mark {
  position: relative;
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border: 2px solid var(--line-strong);
  border-radius: 50%;
  transition: var(--transition);
}
.qrf-faq-mark::before,
.qrf-faq-mark::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform 300ms var(--ease-soft), opacity 200ms var(--ease);
}
.qrf-faq-mark::after { transform: translate(-50%, -50%) rotate(90deg); }
.qrf-faq-q:hover .qrf-faq-mark { border-color: var(--violet); }
.qrf-faq__item[open] .qrf-faq-mark { background: var(--violet); border-color: var(--violet); color: #fff; }
.qrf-faq__item[open] .qrf-faq-mark::after { transform: translate(-50%, -50%) rotate(0deg); }

.qrf-faq-a { max-width: 44rem; padding-bottom: var(--s-5); }
.qrf-faq-a p { color: var(--ink-soft); text-wrap: pretty; }
.qrf-faq__item[open] .qrf-faq-a { animation: qrfFaqIn 340ms var(--ease-soft); }

@keyframes qrfFaqIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

/* -------------------------------------------------------------------------
   10. REDUCED MOTION / PRINT
   ------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .js .qrf-hero__copy .qrf-hero__kicker,
  .js .qrf-hero__copy .qrf-hero__title,
  .js .qrf-hero__copy .qrf-hero__sub,
  .js .qrf-hero__copy .btn,
  .js .qrf-hero-fan__card,
  .js .qrf-fan__card,
  .js .qrf-bridge__arrow, .js .qrf-bridge__dest-new,
  .js .qrf-scan-dash__col::before, .js .qrf-scan-dash__fill,
  .qrf-steps::after, .qrf-steps__badge, .qrf-steps__label,
  .qrf-workflow-card__code, .qrf-workflow-card__swatch, .qrf-workflow-card__destination-transfer i {
    transition: none !important;
    animation: none !important;
  }
  .js .qrf-hero__copy:not(.is-visible) .qrf-hero__kicker,
  .js .qrf-hero__copy:not(.is-visible) .qrf-hero__title,
  .js .qrf-hero__copy:not(.is-visible) .qrf-hero__sub,
  .js .qrf-hero__copy:not(.is-visible) .btn { opacity: 1; transform: none; }
  .js .qrf-fan.is-visible .qrf-fan__card,
  .js .qrf-fan.is-visible .qrf-fan__icon,
  .js .qrf-fan.is-visible .qrf-fan__avatar,
  .js .qrf-fan.is-visible .qrf-fan__persona,
  .js .qrf-fan.is-visible .qrf-fan__code,
  .js .qrf-fan.is-visible .qrf-fan__handle { animation: none !important; opacity: 1; }
  .js .qrf-fan.is-visible .qrf-fan__card:nth-child(1) { transform: translateX(-74px) rotate(-9deg); }
  .js .qrf-fan.is-visible .qrf-fan__card:nth-child(2) { transform: rotate(4deg); }
  .js .qrf-fan.is-visible .qrf-fan__card:nth-child(3) { transform: translateX(74px) rotate(14deg); }
  .js .qrf-fan.is-visible .qrf-fan__card:nth-child(1),
  .js .qrf-fan.is-visible .qrf-fan__card:nth-child(2),
  .js .qrf-fan.is-visible .qrf-fan__card:nth-child(3),
  .js .qrf-fan.is-visible .qrf-fan__card:nth-child(4),
  .js .qrf-fan.is-visible .qrf-fan__card:nth-child(5) {
    transform: translateX(var(--fan-x)) rotate(var(--fan-r));
  }
  .js .qrf-scale__item-row { transition: none !important; opacity: 1; transform: none; }
  .js .reveal:not(.is-visible) .qrf-scan-dash__col::before { width: var(--h, 0%); }
  .js .reveal:not(.is-visible) .qrf-scan-dash__fill { width: var(--w, 0%); }

  /* infinite loops, not one-shot transitions: the site-wide rule crushing
     animation-duration to 0.01ms would turn these into a rapid flicker
     instead of stopping them, so they need an explicit off-switch. Falls
     back to each element's static default — indigo pattern/mark, first
     icon and label, first swatch active — which is a complete, coherent
     "event poster" composition on its own. */
  .qrf-brand-card__pattern,
  .qrf-brand-card__mark,
  .qrf-brand-card__icon,
  .qrf-brand-card__use-label,
  .qrf-brand-card__swatch {
    animation: none !important;
  }
  .qrf-workflow-card__stage:not([hidden]) { animation: none; }
  .qrf-workflow-card__analytics-chart i { animation: none !important; }
}

@media print {
  .qrf-hero-fan, .qrf-fan { display: none !important; }
  .js .reveal { opacity: 1 !important; transform: none !important; }
  .js .qrf-hero__copy .qrf-hero__kicker,
  .js .qrf-hero__copy .qrf-hero__title,
  .js .qrf-hero__copy .qrf-hero__sub,
  .js .qrf-hero__copy .btn { opacity: 1 !important; transform: none !important; }
  .qrf-faq__item { border: 1px solid #ccc !important; }
}
