/* =================================================
   Wyre brand layer: loader + "How it works"
   ================================================= */

/* ---------- Loader ---------- */
.loader__wrapper {
  background:
    radial-gradient(120% 80% at 50% 0%, #0b4f96 0%, transparent 60%),
    linear-gradient(180deg, #003366 0%, #001f3f 100%);
  color: #fff;
}
.wl {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: var(--_font-default);
  color: #fff;
}
.wl__stage {
  position: relative;
  width: 220px;
  height: 180px;
}
.wl__phone {
  position: absolute;
  left: 46px;
  top: 8px;
  width: 88px;
  height: 164px;
  border-radius: 20px;
  background: #0a1628;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.22), 0 24px 40px -20px rgba(0, 0, 0, 0.8);
}
.wl__notch {
  position: absolute;
  top: 7px;
  left: 50%;
  width: 26px;
  height: 5px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.2);
  transform: translateX(-50%);
}
.wl__screen {
  position: absolute;
  inset: 16px 7px 8px;
  overflow: hidden;
  border-radius: 12px;
  background: linear-gradient(180deg, #10233d, #0b1a2e);
  animation: wl-flash 2.2s ease-out infinite;
}
.wl__ring {
  position: absolute;
  top: 18px;
  right: 10px;
  width: 30px;
  height: 30px;
  border: 2px solid rgba(143, 196, 255, 0.9);
  border-radius: 50%;
  opacity: 0;
  animation: wl-ring 2.2s ease-out infinite;
}
.wl__ring--2 {
  animation-delay: 0.18s;
}
.wl__contact {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 10px 6px 8px;
  border-radius: 10px;
  background: #fff;
  opacity: 0;
  animation: wl-contact 2.2s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}
.wl__avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #60a5fa, #003366);
}
.wl__line {
  width: 70%;
  height: 4px;
  border-radius: 4px;
  background: #0f2a47;
}
.wl__line--short {
  width: 45%;
  background: #94a3b8;
}
.wl__saved {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-top: 2px;
  padding: 3px 7px;
  border-radius: 99px;
  background: #22c55e;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  transform: scale(0);
  animation: wl-pop 2.2s cubic-bezier(0.34, 1.56, 0.64, 1) infinite;
}
.wl__saved svg {
  width: 9px;
  height: 9px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.wl__card {
  position: absolute;
  left: 100px;
  top: 14px;
  width: 106px;
  height: 67px;
  border-radius: 10px;
  background: linear-gradient(135deg, #1a6fc4 0%, #0b4f96 45%, #003366 100%);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.45), 0 16px 30px -14px rgba(0, 0, 0, 0.8);
  animation: wl-card 2.2s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}
.wl__card img {
  position: absolute;
  top: 10px;
  left: 11px;
  width: 30px;
}
.wl__chip {
  position: absolute;
  left: 11px;
  bottom: 12px;
  width: 18px;
  height: 13px;
  border-radius: 3px;
  background: linear-gradient(135deg, #f4dd98, #c9a24d 50%, #f0d68c);
}
.wl__logo {
  width: 136px;
  height: auto;
  margin-top: 26px;
  opacity: 0;
  animation: wl-rise 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.15s forwards;
}
.wl__tagline {
  margin: 12px 0 0;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.75);
}
.wl__tagline span {
  display: inline-block;
  opacity: 0;
  animation: wl-rise 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.wl__tagline span:nth-child(1) { animation-delay: 0.35s; }
.wl__tagline span:nth-child(2) { animation-delay: 0.55s; }
.wl__tagline span:nth-child(3) { animation-delay: 0.75s; color: #8fc4ff; }
.wl__bar {
  width: 140px;
  height: 3px;
  margin-top: 22px;
  overflow: hidden;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.15);
}
.wl__bar-fill {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #8fc4ff, #fff);
  transition: width 1.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.wl__bar-fill.is-loading { width: 85%; }
.wl__bar-fill.is-done { width: 100%; transition-duration: 0.3s; }

@keyframes wl-card {
  0% { transform: translate(70px, -26px) rotate(20deg); opacity: 0; }
  26% { transform: translate(0, 0) rotate(-8deg); opacity: 1; }
  31% { transform: translate(-5px, 5px) rotate(-8deg) scale(0.97); }
  38% { transform: translate(0, 0) rotate(-8deg); }
  84% { transform: translate(0, 0) rotate(-8deg); opacity: 1; }
  100% { transform: translate(70px, -26px) rotate(20deg); opacity: 0; }
}
@keyframes wl-ring {
  0%, 30% { transform: scale(0.3); opacity: 0; }
  32% { opacity: 1; }
  62% { transform: scale(2.6); opacity: 0; }
  100% { opacity: 0; }
}
@keyframes wl-flash {
  0%, 30% { box-shadow: inset 0 0 0 0 rgba(96, 165, 250, 0); }
  36% { box-shadow: inset 0 0 26px 2px rgba(96, 165, 250, 0.55); }
  70%, 100% { box-shadow: inset 0 0 0 0 rgba(96, 165, 250, 0); }
}
@keyframes wl-contact {
  0%, 38% { transform: translateY(24px); opacity: 0; }
  50% { transform: translateY(0); opacity: 1; }
  88% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(12px); opacity: 0; }
}
@keyframes wl-pop {
  0%, 54% { transform: scale(0); }
  64% { transform: scale(1); }
  88% { transform: scale(1); }
  100% { transform: scale(0); }
}
@keyframes wl-rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

/* ---------- How it works ---------- */
.hiw {
  --dur: 5.2s;
  display: grid;
  width: 100%;
  box-sizing: border-box;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
  margin-top: 1rem;
  font-family: var(--_font-default);
}
.hiw__screen {
  position: relative;
  container-type: inline-size;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 2.8rem;
  background:
    radial-gradient(90% 70% at 20% 0%, rgba(96, 165, 250, 0.35), transparent 60%),
    linear-gradient(160deg, #0b4f96 0%, #003366 55%, #00213f 100%);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.25), 0 30px 60px -30px rgba(0, 0, 0, 0.7);
  color: #fff;
}
.hiw__screen::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 3.2cqw 3.2cqw;
  pointer-events: none;
}
.hiw-scene {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s ease, visibility 0s linear 0.45s;
}
.hiw-scene.is-active {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.45s ease;
}
.hiw-scene > * {
  position: absolute;
}
.hiw-scene svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hiw.is-paused .hiw-scene *,
.hiw.is-paused .hiw__progress i {
  animation-play-state: paused !important;
}

/* Finger / cursor */
.hiw-finger {
  left: 88%;
  top: 96%;
  width: 5cqw;
  height: 5cqw;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  box-shadow: 0 0 0 0.35cqw rgba(255, 255, 255, 0.9), 0 0.8cqw 2cqw rgba(0, 0, 0, 0.35);
  transform: translate(-50%, -50%);
  opacity: 0;
  z-index: 3;
}
.s1.is-active .hiw-finger { animation: s1-finger var(--dur) cubic-bezier(0.45, 0, 0.2, 1) both; }

/* Scene 1: choose */
.s1__panel {
  left: 8%;
  top: 7%;
  width: 84%;
  height: 86%;
  border-radius: 2.4cqw;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}
.s1__heading {
  left: 14%;
  top: 12%;
  margin: 0;
  font-size: max(11px, 2.6cqw);
  font-weight: 700;
  color: #fff;
}
.s1__tile {
  top: 26%;
  width: 16%;
  height: 28%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1cqw;
  border-radius: 1.8cqw;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
  font-size: max(9px, 1.7cqw);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}
.s1__tile svg { width: 5cqw; height: 5cqw; }
.s1__tile--1 { left: 14%; }
.s1__tile--2 { left: 32.67%; }
.s1__tile--3 { left: 51.33%; }
.s1__tile--4 { left: 70%; }
.s1.is-active .s1__tile--1 { animation: s1-pick var(--dur) ease both; }
.s1__plan {
  top: 59%;
  width: 35%;
  height: 10%;
  display: grid;
  place-items: center;
  border-radius: 99px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3);
  font-size: max(9px, 1.8cqw);
  font-weight: 600;
}
.s1__plan--1 { left: 14%; }
.s1__plan--2 { left: 51%; }
.s1.is-active .s1__plan--2 { animation: s1-plan var(--dur) ease both; }
.s1__order {
  left: 14%;
  top: 74%;
  width: 72%;
  height: 11%;
  border-radius: 99px;
  background: #fff;
  color: #003366;
  font-size: max(10px, 1.9cqw);
  font-weight: 700;
}
.s1__order span {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6cqw;
}
.s1__order svg { width: 2.2cqw; height: 2.2cqw; stroke-width: 3; }
.s1__order-b { opacity: 0; color: #fff; }
.s1.is-active .s1__order { animation: s1-order var(--dur) ease both; }
.s1.is-active .s1__order-a { animation: s1-fade-out var(--dur) ease both; }
.s1.is-active .s1__order-b { animation: s1-fade-in var(--dur) ease both; }

@keyframes s1-finger {
  0% { left: 88%; top: 96%; opacity: 0; transform: translate(-50%, -50%) scale(1); }
  8% { opacity: 1; }
  22% { left: 22%; top: 41%; transform: translate(-50%, -50%) scale(1); }
  26% { left: 22%; top: 41%; transform: translate(-50%, -50%) scale(0.7); }
  30% { left: 22%; top: 41%; transform: translate(-50%, -50%) scale(1); }
  48% { left: 68.5%; top: 64%; transform: translate(-50%, -50%) scale(1); }
  52% { left: 68.5%; top: 64%; transform: translate(-50%, -50%) scale(0.7); }
  56% { left: 68.5%; top: 64%; transform: translate(-50%, -50%) scale(1); }
  72% { left: 50%; top: 80%; transform: translate(-50%, -50%) scale(1); }
  76% { left: 50%; top: 80%; transform: translate(-50%, -50%) scale(0.7); }
  80% { left: 50%; top: 80%; transform: translate(-50%, -50%) scale(1); opacity: 1; }
  94%, 100% { left: 50%; top: 80%; transform: translate(-50%, -50%) scale(1); opacity: 0; }
}
@keyframes s1-pick {
  0%, 25% { background: rgba(255, 255, 255, 0.06); color: rgba(255, 255, 255, 0.85); transform: scale(1); }
  28%, 100% { background: #fff; color: #003366; transform: scale(1.06); }
}
@keyframes s1-plan {
  0%, 51% { background: transparent; color: #fff; }
  54%, 100% { background: #8fc4ff; color: #00264d; }
}
@keyframes s1-order {
  0%, 75% { background: #fff; transform: scale(1); }
  78% { background: #22c55e; transform: scale(1.04); }
  82%, 100% { background: #22c55e; transform: scale(1); }
}
@keyframes s1-fade-out {
  0%, 75% { opacity: 1; }
  78%, 100% { opacity: 0; }
}
@keyframes s1-fade-in {
  0%, 76% { opacity: 0; transform: translateY(40%); }
  82%, 100% { opacity: 1; transform: none; }
}

/* Scene 2: delivery */
.s2__sun {
  left: 10%;
  top: 12%;
  width: 9cqw;
  height: 9cqw;
  border-radius: 50%;
  background: radial-gradient(circle, #ffe7a3 0%, #fbbf24 55%, rgba(251, 191, 36, 0) 72%);
  opacity: 0.85;
}
.s2__cloud {
  width: 14cqw;
  height: 4cqw;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.18);
}
.s2__cloud::before {
  content: "";
  position: absolute;
  left: 22%;
  bottom: 40%;
  width: 50%;
  height: 150%;
  border-radius: 50%;
  background: inherit;
}
.s2__cloud--1 { left: 30%; top: 14%; }
.s2__cloud--2 { left: 55%; top: 24%; transform: scale(0.7); }
.s2.is-active .s2__cloud--1 { animation: s2-drift var(--dur) linear both; }
.s2.is-active .s2__cloud--2 { animation: s2-drift var(--dur) linear both reverse; }
.s2__road {
  left: 0;
  right: 0;
  top: 78%;
  height: 22%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04));
  border-top: 0.3cqw solid rgba(255, 255, 255, 0.35);
}
.s2__road::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 45%;
  height: 0.5cqw;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.45) 0 5cqw, transparent 5cqw 9cqw);
}
.s2__house {
  left: 68%;
  top: 30%;
  width: 22%;
  height: 48%;
}
.s2__roof {
  position: absolute;
  left: -8%;
  right: -8%;
  top: 0;
  height: 36%;
  background: linear-gradient(180deg, #1a6fc4, #0b4f96);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}
.s2__body {
  position: absolute;
  left: 0;
  right: 0;
  top: 35%;
  bottom: 0;
  background: #e8eef7;
  border-radius: 0 0 0.6cqw 0.6cqw;
}
.s2__window {
  position: absolute;
  left: 12%;
  top: 16%;
  width: 26%;
  height: 28%;
  border-radius: 0.4cqw;
  background: #9cc8ff;
}
.s2__door {
  position: absolute;
  left: 52%;
  bottom: 0;
  width: 26%;
  height: 58%;
  border-radius: 0.6cqw 0.6cqw 0 0;
  background: #0b4580;
}
.s2__van > * {
  position: absolute;
}
.s2__van {
  left: 34%;
  top: 58%;
  width: 30%;
  height: 20%;
}
.s2.is-active .s2__van { animation: s2-van var(--dur) cubic-bezier(0.3, 0.7, 0.3, 1) both; }
.s2__van-body {
  position: absolute;
  left: 0;
  top: 0;
  width: 68%;
  height: 86%;
  display: grid;
  place-items: center;
  border-radius: 1cqw 0.4cqw 0.4cqw 1cqw;
  background: linear-gradient(180deg, #ffffff, #dbe5f2);
  box-shadow: inset 0 -0.6cqw 0 rgba(0, 51, 102, 0.15);
}
.s2__van-body img {
  width: 62%;
  filter: brightness(0) saturate(100%) invert(15%) sepia(56%) saturate(2300%) hue-rotate(196deg);
}
.s2__van-cab {
  position: absolute;
  left: 66%;
  top: 22%;
  width: 34%;
  height: 64%;
  border-radius: 0.4cqw 2.4cqw 0.4cqw 0.4cqw;
  background: #0b4f96;
}
.s2__van-glass {
  position: absolute;
  left: 18%;
  top: 14%;
  width: 60%;
  height: 40%;
  border-radius: 0.3cqw 1.6cqw 0.3cqw 0.3cqw;
  background: #9cc8ff;
}
.s2__wheel {
  top: 70%;
  width: 5.4cqw;
  height: 5.4cqw;
  border-radius: 50%;
  background: #0a1628;
  box-shadow: inset 0 0 0 1.2cqw #0a1628, inset 0 0 0 1.6cqw #cbd5e1;
}
.s2__wheel::after {
  content: "";
  position: absolute;
  left: 46%;
  top: 8%;
  width: 8%;
  height: 84%;
  background: #cbd5e1;
}
.s2__wheel--1 { left: 10%; }
.s2__wheel--2 { left: 72%; }
.s2.is-active .s2__wheel { animation: s2-wheel var(--dur) cubic-bezier(0.3, 0.7, 0.3, 1) both; }
.s2__speed {
  left: -26%;
  top: 25%;
  width: 22%;
  height: 40%;
  background: repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.5) 0 0.4cqw, transparent 0.4cqw 1.8cqw);
  opacity: 0;
}
.s2.is-active .s2__speed { animation: s2-speed var(--dur) ease both; }
.s2__box {
  left: 56%;
  top: 62%;
  width: 6cqw;
  height: 6cqw;
  display: grid;
  place-items: center;
  border-radius: 0.8cqw;
  background: linear-gradient(135deg, #d9a25f, #b97a3a);
  box-shadow: inset 0 0.4cqw 0 rgba(255, 255, 255, 0.35), 0 1cqw 1.6cqw -0.6cqw rgba(0, 0, 0, 0.6);
  opacity: 0;
}
.s2__box img { width: 60%; }
.s2.is-active .s2__box { animation: s2-box var(--dur) cubic-bezier(0.3, 0.7, 0.3, 1) both; }
.s2__chip {
  left: 79%;
  top: 14%;
  display: inline-flex;
  align-items: center;
  gap: 0.6cqw;
  padding: 0.9cqw 1.6cqw;
  border-radius: 99px;
  background: #22c55e;
  color: #fff;
  font-size: max(10px, 1.9cqw);
  font-weight: 700;
  white-space: nowrap;
  transform: translateX(-50%) scale(0);
  box-shadow: 0 1cqw 2cqw -1cqw rgba(0, 0, 0, 0.6);
}
.s2__chip svg { width: 2.2cqw; height: 2.2cqw; stroke-width: 3; }
.s2.is-active .s2__chip { animation: s2-chip var(--dur) cubic-bezier(0.34, 1.56, 0.64, 1) both; }

@keyframes s2-van {
  0% { left: -36%; }
  44% { left: 34%; }
  48% { left: 33%; }
  100% { left: 34%; }
}
@keyframes s2-wheel {
  0% { transform: rotate(0); }
  44%, 100% { transform: rotate(1080deg); }
}
@keyframes s2-speed {
  0%, 5% { opacity: 0; }
  12%, 36% { opacity: 1; }
  44%, 100% { opacity: 0; }
}
@keyframes s2-box {
  0%, 48% { left: 56%; top: 62%; opacity: 0; transform: scale(0.6); }
  52% { left: 56%; top: 62%; opacity: 1; transform: scale(1); }
  60% { left: 66%; top: 44%; transform: scale(1) rotate(-12deg); }
  68% { left: 76%; top: 68.5%; transform: rotate(0); }
  72% { top: 66%; }
  76%, 100% { left: 76%; top: 68.5%; opacity: 1; transform: scale(1); }
}
@keyframes s2-chip {
  0%, 74% { transform: translateX(-50%) scale(0); }
  82%, 100% { transform: translateX(-50%) scale(1); }
}
@keyframes s2-drift {
  from { transform: translateX(0); }
  to { transform: translateX(8cqw); }
}

/* Scene 3: set up */
.s3__phone {
  left: 39%;
  top: 6%;
  width: 22%;
  height: 88%;
  overflow: hidden;
  border-radius: 3cqw;
  background: #f5f8fd;
  box-shadow: 0 0 0 0.6cqw #0a1628, 0 2cqw 4cqw -1.5cqw rgba(0, 0, 0, 0.7);
}
.s3__phone > span {
  position: absolute;
}
.s3__cover {
  left: 0;
  right: 0;
  top: 0;
  height: 26%;
  background: linear-gradient(135deg, #60a5fa, #0b4f96);
  transform-origin: top;
}
.s3__avatar {
  left: 33%;
  top: 15%;
  width: 34%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 38%, #fde2c8 0 22%, transparent 23%),
    radial-gradient(circle at 50% 100%, #1e3a5f 0 42%, transparent 43%),
    linear-gradient(135deg, #bfdbfe, #93c5fd);
  box-shadow: 0 0 0 0.5cqw #f5f8fd;
}
.s3__name {
  left: 20%;
  top: 40%;
  width: 60%;
  height: 3.6%;
  border-radius: 99px;
  background: #0f2a47;
  transform-origin: left;
}
.s3__title {
  left: 30%;
  top: 46%;
  width: 40%;
  height: 2.6%;
  border-radius: 99px;
  background: #94a3b8;
  transform-origin: left;
}
.s3__links {
  left: 10%;
  right: 10%;
  top: 54%;
  display: flex;
  justify-content: space-between;
}
.s3__links i {
  width: 3.6cqw;
  height: 3.6cqw;
  border-radius: 1cqw;
}
.s3__links i:nth-child(1) { background: #25d366; }
.s3__links i:nth-child(2) { background: linear-gradient(45deg, #f59e0b, #ec4899, #8b5cf6); }
.s3__links i:nth-child(3) { background: #0a66c2; }
.s3__links i:nth-child(4) { background: #003366; }
.s3__save {
  left: 10%;
  right: 10%;
  top: 72%;
  height: 9%;
  display: grid;
  place-items: center;
  border-radius: 99px;
  background: #0a1628;
  color: #fff;
  font-size: max(8px, 1.3cqw);
  font-weight: 700;
  white-space: nowrap;
}
.s3__tag {
  display: inline-flex;
  align-items: center;
  padding: 0.8cqw 1.6cqw;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
  font-size: max(10px, 1.8cqw);
  font-weight: 600;
  white-space: nowrap;
}
.s3__tag--1 { left: 14%; top: 20%; }
.s3__tag--2 { left: 10%; top: 42%; }
.s3__tag--3 { left: 67%; top: 55%; }
.s3__live {
  left: 66%;
  top: 22%;
  display: inline-flex;
  align-items: center;
  gap: 0.8cqw;
  padding: 0.9cqw 1.6cqw;
  border-radius: 99px;
  background: #fff;
  color: #003366;
  font-size: max(10px, 1.8cqw);
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 1cqw 2cqw -1cqw rgba(0, 0, 0, 0.6);
}
.s3__dot {
  width: 1.2cqw;
  height: 1.2cqw;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0.5cqw rgba(34, 197, 94, 0.25);
}
.s3.is-active .s3__cover { animation: s3-grow var(--dur) cubic-bezier(0.22, 1, 0.36, 1) both; }
.s3.is-active .s3__avatar { animation: s3-pop var(--dur) cubic-bezier(0.34, 1.56, 0.64, 1) both; --at: 14%; }
.s3.is-active .s3__name { animation: s3-bar1 var(--dur) cubic-bezier(0.22, 1, 0.36, 1) both; }
.s3.is-active .s3__title { animation: s3-bar2 var(--dur) cubic-bezier(0.22, 1, 0.36, 1) both; }
.s3.is-active .s3__links i:nth-child(1) { animation: s3-link1 var(--dur) cubic-bezier(0.34, 1.56, 0.64, 1) both; }
.s3.is-active .s3__links i:nth-child(2) { animation: s3-link2 var(--dur) cubic-bezier(0.34, 1.56, 0.64, 1) both; }
.s3.is-active .s3__links i:nth-child(3) { animation: s3-link3 var(--dur) cubic-bezier(0.34, 1.56, 0.64, 1) both; }
.s3.is-active .s3__links i:nth-child(4) { animation: s3-link4 var(--dur) cubic-bezier(0.34, 1.56, 0.64, 1) both; }
.s3.is-active .s3__save { animation: s3-save var(--dur) cubic-bezier(0.22, 1, 0.36, 1) both; }
.s3.is-active .s3__tag--1 { animation: s3-tag1 var(--dur) cubic-bezier(0.34, 1.56, 0.64, 1) both; }
.s3.is-active .s3__tag--2 { animation: s3-tag2 var(--dur) cubic-bezier(0.34, 1.56, 0.64, 1) both; }
.s3.is-active .s3__tag--3 { animation: s3-tag3 var(--dur) cubic-bezier(0.34, 1.56, 0.64, 1) both; }
.s3.is-active .s3__live { animation: s3-live var(--dur) cubic-bezier(0.34, 1.56, 0.64, 1) both; }

@keyframes s3-grow { 0%, 4% { transform: scaleY(0); } 14%, 100% { transform: scaleY(1); } }
@keyframes s3-pop { 0%, 14% { transform: scale(0); } 22%, 100% { transform: scale(1); } }
@keyframes s3-bar1 { 0%, 24% { transform: scaleX(0); } 34%, 100% { transform: scaleX(1); } }
@keyframes s3-bar2 { 0%, 30% { transform: scaleX(0); } 40%, 100% { transform: scaleX(1); } }
@keyframes s3-link1 { 0%, 42% { transform: scale(0); } 48%, 100% { transform: scale(1); } }
@keyframes s3-link2 { 0%, 46% { transform: scale(0); } 52%, 100% { transform: scale(1); } }
@keyframes s3-link3 { 0%, 50% { transform: scale(0); } 56%, 100% { transform: scale(1); } }
@keyframes s3-link4 { 0%, 54% { transform: scale(0); } 60%, 100% { transform: scale(1); } }
@keyframes s3-save { 0%, 60% { transform: translateY(60%); opacity: 0; } 68%, 100% { transform: none; opacity: 1; } }
@keyframes s3-tag1 { 0%, 14% { transform: scale(0); opacity: 0; } 20%, 100% { transform: scale(1); opacity: 1; } }
@keyframes s3-tag2 { 0%, 26% { transform: scale(0); opacity: 0; } 32%, 100% { transform: scale(1); opacity: 1; } }
@keyframes s3-tag3 { 0%, 46% { transform: scale(0); opacity: 0; } 52%, 100% { transform: scale(1); opacity: 1; } }
@keyframes s3-live { 0%, 74% { transform: scale(0); } 82%, 100% { transform: scale(1); } }

/* Scene 4: tap and connect */
.s4__phone {
  left: 50%;
  top: 7%;
  width: 23%;
  height: 86%;
  overflow: hidden;
  border-radius: 3cqw;
  background: linear-gradient(180deg, #13263f, #0a1628);
  box-shadow: 0 0 0 0.6cqw #334155, 0 2cqw 4cqw -1.5cqw rgba(0, 0, 0, 0.7);
}
.s4__phone > * {
  position: absolute;
}
.s4__glow {
  left: -40%;
  top: -30%;
  width: 180%;
  height: 90%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.85) 0%, rgba(96, 165, 250, 0.25) 35%, transparent 65%);
  opacity: 0;
}
.s4__ring {
  left: 30%;
  top: 8%;
  width: 40%;
  aspect-ratio: 1;
  border: 0.35cqw solid rgba(191, 219, 254, 0.95);
  border-radius: 50%;
  opacity: 0;
}
.s4.is-active .s4__glow { animation: s4-glow var(--dur) ease-out both; }
.s4.is-active .s4__ring { animation: s4-ring var(--dur) ease-out both; }
.s4.is-active .s4__ring--2 { animation-name: s4-ring2; }
.s4.is-active .s4__ring--3 { animation-name: s4-ring3; }
.s4__pop {
  left: 6%;
  right: 6%;
  bottom: 4%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7cqw;
  padding: 1.6cqw 1cqw 1.2cqw;
  border-radius: 1.8cqw;
  background: #fff;
  color: #0f2a47;
  text-align: center;
  transform: translateY(130%);
  box-shadow: 0 -1cqw 3cqw -1cqw rgba(96, 165, 250, 0.8);
}
.s4.is-active .s4__pop { animation: s4-pop var(--dur) cubic-bezier(0.22, 1, 0.36, 1) both; }
.s4__avatar {
  width: 5cqw;
  height: 5cqw;
  border-radius: 50%;
  background: linear-gradient(135deg, #60a5fa, #003366);
  box-shadow: 0 0 0 0.4cqw #dbeafe;
}
.s4__who {
  display: flex;
  flex-direction: column;
  max-width: 100%;
  line-height: 1.2;
}
.s4__who b {
  font-size: max(9px, 1.55cqw);
  font-weight: 700;
}
.s4__who small {
  overflow: hidden;
  font-size: max(7px, 1.1cqw);
  color: #64748b;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.s4__btn {
  position: relative;
  width: 100%;
  height: 3.4cqw;
  min-height: 16px;
  border-radius: 99px;
  background: #0a1628;
  color: #fff;
  font-size: max(8px, 1.2cqw);
  font-weight: 700;
}
.s4__btn > span {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4cqw;
  white-space: nowrap;
}
.s4__btn svg { width: 1.4cqw; height: 1.4cqw; stroke-width: 3.2; }
.s4__btn-b { opacity: 0; }
.s4.is-active .s4__btn { animation: s4-btn var(--dur) ease both; }
.s4.is-active .s4__btn-a { animation: s4-btn-a var(--dur) ease both; }
.s4.is-active .s4__btn-b { animation: s4-btn-b var(--dur) ease both; }
.s4__card {
  left: 4%;
  top: 58%;
  width: 26%;
  aspect-ratio: 1.586;
  border-radius: 1.6cqw;
  background: linear-gradient(135deg, #1a6fc4 0%, #0b4f96 45%, #003366 100%);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.45), 0 2cqw 3cqw -1.5cqw rgba(0, 0, 0, 0.8);
  z-index: 2;
}
.s4__card img {
  position: absolute;
  left: 10%;
  top: 14%;
  width: 28%;
}
.s4__nfc {
  position: absolute;
  right: 9%;
  top: 12%;
  width: 3cqw;
  height: 3cqw;
  color: rgba(255, 255, 255, 0.8);
}
.s4__nfc svg { width: 100%; height: 100%; }
.s4.is-active .s4__card { animation: s4-card var(--dur) cubic-bezier(0.22, 1, 0.36, 1) both; }
.s4__plus {
  left: 77%;
  top: 26%;
  padding: 0.9cqw 1.6cqw;
  border-radius: 99px;
  background: #fff;
  color: #003366;
  font-size: max(10px, 1.7cqw);
  font-weight: 700;
  white-space: nowrap;
  transform: scale(0);
  box-shadow: 0 1cqw 2cqw -1cqw rgba(0, 0, 0, 0.6);
}
.s4.is-active .s4__plus { animation: s4-plus var(--dur) cubic-bezier(0.34, 1.56, 0.64, 1) both; }

@keyframes s4-card {
  0% { left: 4%; top: 58%; transform: rotate(-14deg); }
  26% { left: 38%; top: 12%; transform: rotate(-6deg); }
  30% { left: 39%; top: 14%; transform: rotate(-6deg) scale(0.97); }
  34%, 86% { left: 38%; top: 12%; transform: rotate(-6deg); }
  100% { left: 20%; top: 30%; transform: rotate(-10deg); }
}
@keyframes s4-glow {
  0%, 29% { opacity: 0; transform: scale(0.6); }
  36% { opacity: 1; transform: scale(1); }
  60% { opacity: 0.55; }
  90%, 100% { opacity: 0.2; }
}
@keyframes s4-ring {
  0%, 30% { opacity: 0; transform: scale(0.3); }
  32% { opacity: 1; }
  52%, 100% { opacity: 0; transform: scale(2.4); }
}
@keyframes s4-ring2 {
  0%, 36% { opacity: 0; transform: scale(0.3); }
  38% { opacity: 1; }
  58%, 100% { opacity: 0; transform: scale(2.4); }
}
@keyframes s4-ring3 {
  0%, 42% { opacity: 0; transform: scale(0.3); }
  44% { opacity: 1; }
  64%, 100% { opacity: 0; transform: scale(2.4); }
}
@keyframes s4-pop {
  0%, 38% { transform: translateY(130%); }
  50%, 100% { transform: translateY(0); }
}
@keyframes s4-btn {
  0%, 67% { background: #0a1628; transform: scale(1); }
  70% { transform: scale(0.94); }
  74%, 100% { background: #22c55e; transform: scale(1); }
}
@keyframes s4-btn-a { 0%, 69% { opacity: 1; } 72%, 100% { opacity: 0; } }
@keyframes s4-btn-b { 0%, 70% { opacity: 0; transform: translateY(40%); } 76%, 100% { opacity: 1; transform: none; } }
@keyframes s4-plus {
  0%, 76% { transform: scale(0); }
  84%, 100% { transform: scale(1); }
}

/* Steps */
.hiw__steps {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.hiw__step {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.4rem;
  width: 100%;
  padding: 1.6rem 1.8rem 1.8rem;
  overflow: hidden;
  border: 1px solid var(--stroke-elements);
  border-radius: 1.8rem;
  background: transparent;
  color: var(--t-medium);
  font-family: var(--_font-default);
  text-align: left;
  cursor: pointer;
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.hiw__step:hover {
  color: var(--t-bright);
}
.hiw__step:active {
  transform: scale(0.98);
}
.hiw__step.is-active {
  border-color: var(--t-bright);
  background: rgba(255, 255, 255, 0.07);
  color: var(--t-bright);
}
.hiw__num {
  display: grid;
  place-items: center;
  width: 3.4rem;
  height: 3.4rem;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: 700;
  transition: background 0.3s ease, color 0.3s ease;
}
.hiw__step.is-active .hiw__num {
  border-color: var(--t-bright);
  background: var(--t-bright);
  color: var(--base);
}
.hiw__text strong {
  display: block;
  padding-top: 0.5rem;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.2;
}
.hiw__text > span {
  display: block;
  max-height: 0;
  overflow: hidden;
  font-size: 1.5rem;
  line-height: 1.55;
  color: var(--t-medium);
  opacity: 0;
  transition: max-height 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease, margin 0.3s ease;
}
.hiw__step.is-active .hiw__text > span {
  max-height: 12rem;
  margin-top: 0.6rem;
  opacity: 1;
}
.hiw__progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
}
.hiw__progress i {
  display: block;
  width: 0;
  height: 100%;
  background: var(--t-bright);
}
.hiw__step.is-active .hiw__progress i {
  animation: hiw-progress var(--dur) linear forwards;
}
@keyframes hiw-progress {
  from { width: 0; }
  to { width: 100%; }
}
.hiw__cta {
  grid-column: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  justify-self: start;
  padding: 1.4rem 2.4rem;
  border-radius: 99px;
  background: var(--t-bright);
  color: var(--base) !important;
  font: 700 1.6rem var(--_font-default);
  text-decoration: none;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.hiw__cta:hover {
  transform: translateY(-2px);
}
.hiw__cta i {
  transition: transform 0.3s ease;
}
.hiw__cta:hover i {
  transform: translateX(3px);
}

@media (max-width: 991px) {
  .hiw {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }
  .hiw__screen {
    border-radius: 2.2rem;
  }
  .hiw__cta {
    grid-column: 1;
    justify-self: stretch;
  }
}
@media (max-width: 480px) {
  .hiw__step {
    padding: 1.4rem 1.4rem 1.6rem;
    gap: 1.2rem;
  }
  .hiw__text strong {
    font-size: 1.7rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wl__card,
  .wl__ring,
  .wl__contact,
  .wl__saved,
  .wl__screen {
    animation-duration: 0.01s !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
  }
  .wl__contact { opacity: 1; transform: none; }
  .wl__saved { transform: scale(1); }
  .hiw-scene * {
    animation-duration: 0.01s !important;
  }
}

/* Same side padding as the template's content blocks */
.studio,
.hiw {
  width: 100%;
  box-sizing: border-box;
  padding-left: 2rem;
  padding-right: 2rem;
}
@media only screen and (min-width: 768px) {
  .studio,
  .hiw {
    padding-left: 5rem;
    padding-right: 5rem;
  }
}

/* Narrow animation box (phones): keep every badge inside the frame */
@container (max-width: 520px) {
  .s4__plus {
    left: 4%;
    top: 8%;
  }
}
