/* Live product pages (/apilox, /atlas): Minpilot-style sections and motions around live HTML copies
   of the Apilox apps. Site look (General Sans, black pill buttons, Apilox greens) comes from
   site.css; app screens use each app's own tokens (from the apps' source) inside .lv-device. */

:root {
  --lv-black: #0c0407;
  --lv-ink: #1d1d1f;
  --lv-gray: #76767c;
  --lv-line: #ececef;
  --lv-soft: #f6f6f6;
  --lv-green: #28b424;
  --lv-forest: #1f4842;
  --lv-mint: #bcf49d;
  --lv-lime: #bfff37;
  --lv-cumulus: #ecf4e9;
  --lv-radius: 1.5rem;
  --lv-container: 83rem;
}

.lv-page {
  background: #fff;
  overflow-x: clip;
}

.lv-page .page-wrapper {
  overflow: visible;
}

.lv-container {
  width: 100%;
  max-width: var(--lv-container);
  margin: 0 auto;
  padding: 0 2.5rem;
  box-sizing: border-box;
}

.lv-section {
  position: relative;
  padding: 7.5rem 0;
}

.lv-section.is-tight {
  padding: 4.5rem 0;
}

.lv-section.is-dark {
  background: var(--lv-ink);
  color: #fff;
}

.lv-center {
  text-align: center;
}

/* ── type (Minpilot scale; sizes come from site.css variables) ───────── */
.lv-h1 {
  font-size: var(--_typography---font-size--h1);
  line-height: 1.2;
  font-weight: 600;
  color: var(--lv-black);
  margin: 0;
  letter-spacing: -.01em;
}

.lv-h2 {
  font-size: var(--_typography---font-size--h2);
  line-height: 1.2;
  font-weight: 600;
  color: var(--lv-black);
  margin: 0;
  letter-spacing: -.01em;
}

.lv-h3 {
  font-size: 1.75rem;
  line-height: 1.2;
  font-weight: 600;
  color: var(--lv-black);
  margin: 0;
}

.lv-h4 {
  font-size: 1.25rem;
  line-height: 1.3;
  font-weight: 600;
  color: var(--lv-black);
  margin: 0;
}

.is-dark .lv-h1,
.is-dark .lv-h2,
.is-dark .lv-h3,
.is-dark .lv-h4,
.lv-dark .lv-h2,
.lv-dark .lv-h3 {
  color: #fff;
}

.lv-p {
  color: var(--lv-gray);
  font-size: 1rem;
  line-height: 1.5;
  margin: 0;
}

.lv-p.is-lg {
  font-size: 1.25rem;
}

.is-dark .lv-p,
.lv-dark .lv-p {
  color: #a3a3ae;
}

.lv-max-35 {
  max-width: 35rem;
}

.lv-max-50 {
  max-width: 50rem;
}

.lv-mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.lv-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
}

.lv-head.is-left {
  align-items: flex-start;
  text-align: left;
}

/* badge: a pill with a round mark and a label */
.lv-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .375rem .875rem .375rem .375rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--lv-line);
  font-size: .875rem;
  font-weight: 500;
  color: var(--lv-black);
}

.lv-badge-mark {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: var(--lv-black);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.lv-badge-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lv-badge-mark .lv-i {
  color: var(--lv-lime);
  font-size: .95rem;
}

.is-dark .lv-badge,
.lv-dark .lv-badge {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.12);
  color: #fff;
}

.lv-eyebrow {
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--lv-forest);
}

/* buttons: Minpilot's black pill with a rolling label and an arrow that slides out and back in */
.lv-btns {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  align-items: center;
}

.lv-head .lv-btns {
  justify-content: center;
}

.lv-head.is-left .lv-btns {
  justify-content: flex-start;
}

.lv-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .875rem 1.5rem;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
  background: var(--lv-black);
  color: #fff;
  border: 2px solid var(--lv-black);
  transition: transform .3s ease, box-shadow .3s ease;
}

.lv-btn.is-light {
  background: #fff;
  color: var(--lv-black);
  border-color: var(--lv-line);
}

.lv-btn.is-lime {
  background: var(--lv-lime);
  color: var(--lv-black);
  border-color: var(--lv-lime);
}

.lv-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(12,4,7,.16);
}

.lv-btn-label {
  position: relative;
  display: inline-block;
  overflow: hidden;
  height: 1.5em;
  white-space: nowrap;
}

.lv-btn-label > span {
  display: block;
  transition: transform .55s cubic-bezier(.7,0,.2,1);
}

.lv-btn-label > span + span {
  position: absolute;
  left: 0;
  top: 100%;
}

.lv-btn:hover .lv-btn-label > span {
  transform: translateY(-100%);
}

.lv-btn-arrow {
  position: relative;
  width: 1rem;
  height: 1rem;
  overflow: hidden;
  flex: none;
}

.lv-btn-arrow img,
.lv-btn-arrow svg {
  position: absolute;
  inset: 0;
  width: 1rem;
  height: 1rem;
  transition: transform .45s cubic-bezier(.7,0,.2,1);
}

.lv-btn-arrow > :last-child {
  transform: translateX(-120%);
}

.lv-btn:hover .lv-btn-arrow > :first-child {
  transform: translateX(120%);
}

.lv-btn:hover .lv-btn-arrow > :last-child {
  transform: translateX(0);
}

.lv-btn .lv-i {
  font-size: 1.15rem;
}

/* soft brand-coloured mesh behind heroes (Minpilot's blurred colour shapes, in Apilox greens) */
.lv-mesh {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.lv-mesh i {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .55;
  animation: lv-drift 18s ease-in-out infinite alternate;
}

.lv-mesh .m1 {
  width: 34rem;
  height: 22rem;
  left: 8%;
  top: 4rem;
  background: var(--lv-lime);
}

.lv-mesh .m2 {
  width: 30rem;
  height: 24rem;
  right: 6%;
  top: 2rem;
  background: #5bffc3;
  animation-delay: -6s;
}

.lv-mesh .m3 {
  width: 26rem;
  height: 18rem;
  left: 34%;
  top: 14rem;
  background: var(--lv-green);
  opacity: .35;
  animation-delay: -12s;
}

.lv-mesh .m4 {
  width: 22rem;
  height: 16rem;
  right: 26%;
  top: 6rem;
  background: #97f05e;
  opacity: .45;
  animation-delay: -3s;
}

@keyframes lv-drift {
  from {
    transform: translate3d(0,0,0) scale(1);
  }

  to {
    transform: translate3d(3rem,1.5rem,0) scale(1.08);
  }
}

.lv-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(12,4,7,.09) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 75%);
  pointer-events: none;
}

/* ═══ motion kit ═══════════════════════════════════════════════════════
   [data-reveal]            fade + rise 60px when it enters (children with [data-reveal-child] stagger)
   [data-words]             heading words rise out of a mask, one after another
   [data-blur]              words come in from a 10px blur
   [data-type]              typed text with a blinking cursor
   [data-count]             number counts up (keeps prefix/suffix/separators)
   [data-float]             gentle endless bob (out of phase via --lv-delay)
   [data-tilt-scroll]       device tilts back in 3D as the page scrolls past
   [data-parallax]          moves at a fraction of the scroll speed
   Everything is still when the visitor prefers reduced motion. */
[data-reveal] {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity .85s cubic-bezier(.45,0,.2,1), transform .85s cubic-bezier(.45,0,.2,1);
  transition-delay: var(--lv-delay, 0s);
}

[data-reveal].lv-in {
  opacity: 1;
  transform: none;
}

[data-reveal="scale"] {
  transform: scale(.94) translateY(40px);
}

[data-reveal="left"] {
  transform: translateX(-10%) rotateY(40deg) scale(.85);
  transform-origin: right center;
}

[data-reveal="right"] {
  transform: translateX(10%) rotateY(-40deg) scale(.85);
  transform-origin: left center;
}

[data-reveal="pop"] {
  transform: scale(.4);
  transition-timing-function: cubic-bezier(.34,1.56,.64,1);
}

.lv-word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: .08em;
  margin-bottom: -.08em;
}

.lv-word > span {
  display: inline-block;
  transform: translateY(105%);
  transition: transform .8s cubic-bezier(.2,.7,.2,1);
  transition-delay: var(--lv-delay, 0s);
}

.lv-in .lv-word > span,
.lv-word.lv-in > span {
  transform: none;
}

.lv-blur > span {
  display: inline-block;
  opacity: 0;
  filter: blur(10px);
  transform: translateY(8px);
  transition: opacity .8s ease, filter .8s ease, transform .8s ease;
  transition-delay: var(--lv-delay, 0s);
}

.lv-in .lv-blur > span,
.lv-blur.lv-in > span {
  opacity: 1;
  filter: none;
  transform: none;
}

.lv-typed::after {
  content: "";
  display: inline-block;
  width: .5em;
  height: 1em;
  margin-left: .15em;
  vertical-align: -.12em;
  background: currentColor;
  animation: lv-caret 1s steps(1) infinite;
}

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

[data-float] {
  animation: lv-float var(--lv-float-dur, 4.4s) ease-in-out infinite;
  animation-delay: var(--lv-delay, 0s);
}

@keyframes lv-float {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 var(--lv-float, -18px);
  }
}

[data-tilt-scroll] {
  transform-origin: 50% 0;
  will-change: transform;
}

.lv-perspective {
  perspective: 1800px;
}

/* marquee (horizontal, endless, faded edges) */
.lv-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.lv-marquee-track {
  display: flex;
  width: max-content;
  gap: 1rem;
  animation: lv-marquee var(--lv-speed, 40s) linear infinite;
}

.lv-marquee.is-reverse .lv-marquee-track {
  animation-direction: reverse;
}

.lv-marquee:hover .lv-marquee-track {
  animation-play-state: paused;
}

@keyframes lv-marquee {
  to {
    transform: translateX(-50%);
  }
}

/* vertical marquee columns (reviews) */
.lv-vmarquee {
  overflow: hidden;
  height: 40rem;
  -webkit-mask-image: linear-gradient(transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(transparent, #000 12%, #000 88%, transparent);
}

.lv-vmarquee-track {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  animation: lv-vmarquee var(--lv-speed, 36s) linear infinite;
}

.lv-vmarquee.is-reverse .lv-vmarquee-track {
  animation-direction: reverse;
}

.lv-vmarquee:hover .lv-vmarquee-track {
  animation-play-state: paused;
}

@keyframes lv-vmarquee {
  to {
    transform: translateY(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal],
  .lv-word > span,
  .lv-blur > span {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }

  [data-float],
  .lv-mesh i,
  .lv-marquee-track,
  .lv-vmarquee-track,
  .lv-orbit {
    animation: none !important;
  }
}

/* ═══ hero ══════════════════════════════════════════════════════════════ */
.lv-hero {
  position: relative;
  padding: 9.5rem 0 0;
  overflow: hidden;
}

.lv-hero .lv-container {
  position: relative;
  z-index: 1;
}

.lv-hero .lv-head {
  gap: 1.5rem;
}

.lv-hero .lv-p.is-lg {
  max-width: 44rem;
}

.lv-stage {
  position: relative;
  margin: 4.5rem auto 0;
  max-width: 72rem;
  padding-bottom: 0;
}

.lv-stage-desktop {
  position: relative;
  z-index: 1;
}

.lv-stage-phone {
  position: absolute;
  z-index: 3;
  right: -2.5rem;
  bottom: 4rem;
  width: 17.5rem;
}

/* sits up beside the laptop, not below it */
.lv-stage-card {
  position: absolute;
  z-index: 4;
}

.lv-stage-card.is-left {
  left: -3.5rem;
  top: 30%;
  width: 17rem;
}

.lv-stage-card.is-top {
  right: -4.5rem;
  top: 3.5rem;
  width: 14.5rem;
}

.lv-hero-fade {
  position: relative;
  height: 7rem;
  margin-top: -7rem;
  z-index: 5;
  background: linear-gradient(transparent, #fff);
  pointer-events: none;
}

/* a floating white card (Minpilot's satellite cards) */
.lv-float-card {
  background: #fff;
  border-radius: 1.25rem;
  padding: 1rem;
  box-shadow: 0 24px 60px -12px rgba(12,4,7,.22), 0 0 0 1px rgba(12,4,7,.05);
  font-size: .875rem;
  color: var(--lv-black);
  text-align: left;
}

.lv-fc-head {
  display: flex;
  align-items: center;
  gap: .625rem;
}

.lv-fc-ico {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: .75rem;
  display: grid;
  place-items: center;
  flex: none;
  background: var(--lv-cumulus);
  color: var(--lv-forest);
  font-size: 1.15rem;
}

.lv-fc-ico.is-red {
  background: #fdeceb;
  color: #f73540;
}

.lv-fc-ico.is-amber {
  background: #fff2df;
  color: #c47a00;
}

.lv-fc-title {
  font-weight: 600;
  font-size: .9375rem;
  line-height: 1.25;
}

.lv-fc-sub {
  color: var(--lv-gray);
  font-size: .8125rem;
  line-height: 1.35;
}

.lv-fc-row {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-top: .875rem;
}

.lv-fc-btn {
  flex: 1;
  text-align: center;
  border-radius: 999px;
  padding: .5rem .75rem;
  font-weight: 600;
  font-size: .8125rem;
  background: var(--lv-soft);
  color: var(--lv-black);
}

.lv-fc-btn.is-go {
  background: var(--lv-forest);
  color: #fff;
}

.lv-fc-meter {
  height: .375rem;
  border-radius: 999px;
  background: var(--lv-soft);
  overflow: hidden;
  margin-top: .75rem;
}

.lv-fc-meter > i {
  display: block;
  height: 100%;
  width: var(--v, 30%);
  background: linear-gradient(90deg, #f5a524, #f73540);
  border-radius: inherit;
}

.lv-fc-big {
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.1;
  margin-top: .625rem;
  font-variant-numeric: tabular-nums;
}

.lv-fc-up {
  display: inline-flex;
  align-items: center;
  gap: .2rem;
  font-size: .75rem;
  font-weight: 600;
  color: #1f9254;
  background: #e7f8ec;
  padding: .15rem .45rem;
  border-radius: 999px;
  margin-left: .35rem;
  vertical-align: middle;
}

/* ═══ device frames ════════════════════════════════════════════════════ */
.lv-device {
  position: relative;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

.lv-screen {
  position: absolute;
  left: 0;
  top: 0;
  transform-origin: 0 0;
  overflow: hidden;
}

.lv-fit {
  position: relative;
  overflow: hidden;
}

/* desktop window: dark rounded bezel like Minpilot's dashboard frame */
.lv-desktop {
  padding: .75rem;
  border-radius: 1.75rem;
  background: var(--lv-ink);
  box-shadow: 0 50px 100px -30px rgba(12,4,7,.45), 0 0 0 1px rgba(255,255,255,.06) inset;
}

.lv-desktop .lv-fit {
  border-radius: 1.1rem;
  background: #fbfbfd;
}

.lv-desktop .lv-screen {
  width: 1280px;
  height: 780px;
}

/* phone: black bezel, island, rounded screen */
.lv-phone {
  padding: .55rem;
  border-radius: 3rem;
  background: #0d0d0e;
  box-shadow: 0 40px 80px -20px rgba(12,4,7,.5), 0 0 0 2px #2a2a2c inset, 0 0 0 1px rgba(255,255,255,.08);
}

.lv-phone .lv-fit {
  border-radius: 2.5rem;
  background: #fbfbfd;
}

.lv-phone .lv-screen {
  width: 390px;
  height: 844px;
}

.lv-phone .lv-island {
  position: absolute;
  z-index: 30;
  top: 11px;
  left: 50%;
  width: 112px;
  height: 32px;
  margin-left: -56px;
  border-radius: 20px;
  background: #000;
}

.lv-phone.is-dark .lv-fit {
  background: #121212;
}

/* status bar inside a phone screen */
.lv-status {
  height: 50px;
  padding: 0 30px 0 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font: 600 15px/1 -apple-system, "SF Pro Text", "Helvetica Neue", sans-serif;
  color: #000;
  position: relative;
  z-index: 20;
}

.lv-status-r {
  display: flex;
  gap: 6px;
  align-items: center;
}

.lv-status-r i {
  display: inline-block;
}

.lv-sig {
  width: 17px;
  height: 11px;
  background: linear-gradient(90deg, currentColor 0 3px, transparent 3px 4.5px, currentColor 4.5px 7.5px, transparent 7.5px 9px, currentColor 9px 12px, transparent 12px 13.5px, currentColor 13.5px);
  -webkit-mask: linear-gradient(transparent 62%, #000 62%) 0 0/3px 100% no-repeat, linear-gradient(transparent 42%, #000 42%) 4.5px 0/3px 100% no-repeat, linear-gradient(transparent 22%, #000 22%) 9px 0/3px 100% no-repeat, linear-gradient(#000,#000) 13.5px 0/3.5px 100% no-repeat;
  mask: linear-gradient(transparent 62%, #000 62%) 0 0/3px 100% no-repeat, linear-gradient(transparent 42%, #000 42%) 4.5px 0/3px 100% no-repeat, linear-gradient(transparent 22%, #000 22%) 9px 0/3px 100% no-repeat, linear-gradient(#000,#000) 13.5px 0/3.5px 100% no-repeat;
}

.lv-batt {
  width: 25px;
  height: 12px;
  border: 1.5px solid currentColor;
  border-radius: 4px;
  opacity: .9;
  position: relative;
  box-sizing: border-box;
}

.lv-batt::before {
  content: "";
  position: absolute;
  inset: 1.5px;
  width: 70%;
  background: currentColor;
  border-radius: 1.5px;
}

.lv-batt::after {
  content: "";
  position: absolute;
  right: -4px;
  top: 3px;
  width: 2px;
  height: 4px;
  background: currentColor;
  border-radius: 0 1px 1px 0;
  opacity: .5;
}

.is-dark .lv-status {
  color: #fff;
}

/* the finger and the tap ripple */
.lv-finger {
  position: absolute;
  left: -22px;
  top: -22px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  z-index: 50;
  pointer-events: none;
  background: radial-gradient(circle, rgba(255,255,255,.55) 0 30%, rgba(255,255,255,.25) 31% 100%);
  border: 2px solid rgba(255,255,255,.9);
  box-shadow: 0 6px 18px rgba(0,0,0,.28);
  opacity: 0;
  transition: transform .5s cubic-bezier(.45,0,.2,1), opacity .3s ease, scale .14s ease;
  backdrop-filter: blur(1px);
}

.lv-finger.lv-on {
  opacity: 1;
}

.lv-finger.lv-press {
  scale: .78;
}

.lv-desktop .lv-finger,
.lv-w .lv-finger,
.lv-laptop .lv-finger {
  width: 22px;
  height: 22px;
  left: -4px;
  top: -2px;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  backdrop-filter: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 3l14 8-6.2 1.6L9.6 19z' fill='%23111' stroke='%23fff' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: contain;
  filter: drop-shadow(0 2px 3px rgba(0,0,0,.3));
}

.lv-desktop .lv-finger.lv-press,
.lv-w .lv-finger.lv-press,
.lv-laptop .lv-finger.lv-press {
  scale: .9;
}

.lv-ripple {
  position: absolute;
  z-index: 49;
  width: 16px;
  height: 16px;
  margin: -8px 0 0 -8px;
  border-radius: 50%;
  pointer-events: none;
  background: rgba(40,180,36,.35);
  border: 2px solid rgba(40,180,36,.6);
  animation: lv-ripple .65s ease-out forwards;
}

@keyframes lv-ripple {
  to {
    transform: scale(4.2);
    opacity: 0;
  }
}

.lv-pressed {
  filter: brightness(.94);
}

/* ═══ Apilox PRO (web/desktop) - tokens from APILOX_PRO/index.html :root ═══ */
.lv-pro {
  --tf: #1f4842;
  --cu: #ecf4e9;
  --mint: #bcf49d;
  --bg: #fbfbfd;
  --line: #e6e6e6;
  --red: #f73540;
  --t1: #1a1a1a;
  --t2: #6b6f6e;
  --t3: #9a9c9b;
  --green: #1f9254;
  --green-bg: #e7f8ec;
  --amber: #f5a524;
  --amber-bg: #fff2df;
  --blue: #1d5fd6;
  --violet: #8b5cf6;
  font-family: "LvSans", -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--t1);
  background: var(--bg);
  display: flex;
  font-size: 14px;
  line-height: 1.35;
}

@font-face {
  font-family: "LvSans";
  src: url("../fonts/live/GoogleSansFlex.ttf") format("truetype");
  font-weight: 100 1000;
  font-display: swap;
}

.lv-pro * {
  box-sizing: border-box;
}

.pro-side {
  width: 232px;
  flex: none;
  background: var(--cu);
  padding: 18px 0 14px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.pro-logo {
  padding: 0 22px 18px;
}

.pro-logo img {
  height: 50px;
  display: block;
}

.pro-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
}

.pro-nav li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 22px;
  color: #2c3e3a;
  font-size: 14px;
  font-weight: 500;
  position: relative;
}

.pro-nav li.is-on {
  background: var(--mint);
  color: var(--tf);
  font-weight: 600;
}

.pro-nav .pro-caret {
  margin-left: auto;
  font-size: 12px;
  opacity: .55;
}

.pro-ico {
  width: 18px;
  height: 18px;
  flex: none;
  background: currentColor;
  -webkit-mask: var(--m) center/contain no-repeat;
  mask: var(--m) center/contain no-repeat;
  opacity: .9;
}

.pro-badge {
  margin-left: auto;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  background: var(--red);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  display: grid;
  place-items: center;
  padding: 0 5px;
}

.pro-switch {
  margin: 0 14px;
  padding: 10px 12px;
  border-radius: 14px;
  background: var(--mint);
  display: flex;
  align-items: center;
  gap: 10px;
}

.pro-switch-logo {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--tf);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 13px;
}

.pro-switch b {
  display: block;
  font-size: 13px;
  color: var(--tf);
}

.pro-switch small {
  font-size: 11px;
  color: #3f6158;
}

.pro-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.pro-top {
  height: 66px;
  flex: none;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 26px;
}

.pro-top h1 {
  font-size: 19px;
  font-weight: 700;
  margin: 0 auto 0 4px;
  color: var(--t1);
}

.pro-iconbtn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgba(0,0,0,.04);
  box-shadow: 0 1px 2px rgba(20,22,31,.06);
  display: grid;
  place-items: center;
  color: #2c2f2e;
  font-size: 17px;
  position: relative;
}

.pro-iconbtn .pro-dot {
  position: absolute;
  top: 6px;
  right: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  border: 1.5px solid #fff;
}

.pro-newsale {
  background: var(--tf);
  color: #fff;
  border-radius: 22px;
  padding: 9px 18px;
  font-size: 13.5px;
  font-weight: 600;
}

.pro-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2a5a52, #1f4842);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 13px;
}

.pro-body {
  flex: 1;
  min-height: 0;
  padding: 4px 26px 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: hidden;
}

.pro-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
}

.pro-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.pro-kpi {
  padding: 18px 20px;
  border-left: 1px solid var(--line);
}

.pro-kpi:first-child {
  border-left: 0;
}

.pro-kpi-label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--t2);
}

.pro-kpi-val {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.pro-kpi-val b {
  font-size: 24px;
  font-weight: 700;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.01em;
}

.pro-delta {
  font-size: 11px;
  font-weight: 800;
  padding: 3px 7px;
  border-radius: 8px;
  background: var(--green-bg);
  color: var(--green);
  display: inline-flex;
  gap: 3px;
  align-items: center;
}

.pro-delta.is-down {
  background: #fdeceb;
  color: var(--red);
}

.pro-kpi-sub {
  font-size: 11.5px;
  color: var(--t3);
  margin-top: 6px;
  font-weight: 500;
}

.pro-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 16px;
  flex: 1;
  min-height: 0;
}

.pro-panel {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.pro-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.pro-panel-title {
  font-size: 15px;
  font-weight: 700;
}

.pro-pill {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--t2);
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

.pro-bars {
  flex: 1;
  display: flex;
  align-items: flex-end;
  gap: 14px;
  padding: 8px 4px 0;
  min-height: 0;
  border-bottom: 1px solid var(--line);
}

.pro-bar {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  height: 100%;
  justify-content: flex-end;
}

.pro-bar i {
  display: block;
  width: 100%;
  max-width: 34px;
  border-radius: 8px 8px 3px 3px;
  background: var(--tf);
  height: var(--h, 10%);
  transition: height 1s cubic-bezier(.2,.7,.2,1);
}

.pro-bar i.is-mint {
  background: var(--mint);
}

.pro-bar span {
  font-size: 11px;
  color: var(--t3);
  font-weight: 600;
}

.pro-donut {
  position: relative;
  width: 168px;
  height: 168px;
  margin: 4px auto 10px;
}

.pro-donut svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.pro-donut circle {
  fill: none;
  stroke-width: 22;
  transition: stroke-dasharray 1.2s cubic-bezier(.2,.7,.2,1);
}

.pro-donut-mid {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
}

.pro-donut-mid b {
  display: block;
  font-size: 17px;
  font-weight: 800;
}

.pro-donut-mid small {
  font-size: 11px;
  color: var(--t3);
}

.pro-legend {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 12.5px;
}

.pro-legend div {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pro-legend i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--c);
}

.pro-legend b {
  margin-left: auto;
  font-weight: 700;
}

.pro-feed {
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow: hidden;
}

.pro-feed-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-top: 1px solid #f0f0f2;
  font-size: 12.5px;
  animation: lv-feed-in .6s cubic-bezier(.2,.7,.2,1);
}

.pro-feed-row:first-child {
  border-top: 0;
}

.pro-feed-row img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  object-fit: cover;
  background: var(--cu);
}

.pro-feed-row b {
  font-weight: 700;
}

.pro-feed-row small {
  display: block;
  color: var(--t3);
  font-size: 11px;
}

.pro-feed-row .pro-amt {
  margin-left: auto;
  font-weight: 800;
  color: var(--tf);
  font-variant-numeric: tabular-nums;
}

@keyframes lv-feed-in {
  from {
    opacity: 0;
    transform: translateY(-14px);
    background: var(--cu);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.pro-toast {
  position: absolute;
  right: 26px;
  top: 76px;
  z-index: 10;
  background: var(--tf);
  color: #fff;
  border-radius: 14px;
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  gap: 10px;
  align-items: center;
  box-shadow: 0 16px 36px rgba(20,22,31,.25);
  transform: translateY(-12px);
  opacity: 0;
  transition: .35s ease;
}

.pro-toast.is-on {
  transform: none;
  opacity: 1;
}

/* ═══ Apilox app (Flutter, light) - tokens from apps/apilox/lib/core/theme/app_colors.dart ═══ */
.lv-ax {
  --tf: #1f4842;
  --cu: #ecf4e9;
  --mint: #bcf49d;
  --bg: #fbfbfd;
  --line: #e6e6e6;
  --sep: #c6c6c8;
  --t1: #1a1a1a;
  --t2: #6b6f6e;
  --t3: #9a9c9b;
  --ios: #8e8e93;
  --red: #f73540;
  --green: #1f9254;
  --green-bg: #e7f8ec;
  font-family: "LvSans", -apple-system, Roboto, sans-serif;
  color: #000;
  background: var(--bg);
  width: 390px;
  height: 844px;
  position: relative;
  font-size: 14px;
  line-height: 1.3;
}

.lv-ax * {
  box-sizing: border-box;
}

.ax-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px 8px;
}

.ax-round {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  font-size: 19px;
  color: #1a1a1a;
  box-shadow: 0 1px 2px rgba(15,20,22,.12);
  border: 1px solid rgba(0,0,0,.04);
  flex: none;
}

.ax-title {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -.01em;
  margin-right: auto;
  margin-left: 4px;
}

.ax-search {
  margin: 4px 24px 6px;
  height: 44px;
  border-radius: 12px;
  background: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  color: var(--ios);
  font-size: 14px;
  box-shadow: 0 0 0 1px rgba(0,0,0,.03);
}

.ax-search .lv-i {
  font-size: 18px;
}

.ax-search-text {
  flex: 1;
  color: #000;
  white-space: nowrap;
  overflow: hidden;
}

.ax-search-text:empty::before {
  content: attr(data-ph);
  color: var(--ios);
}

.ax-search-x {
  font-size: 17px;
  color: #c7c7cc;
  opacity: 0;
  transition: opacity .2s;
}

.ax-search.has-text .ax-search-x {
  opacity: 1;
}

.ax-seg {
  margin: 8px 12px 4px;
  background: #f2f2f7;
  border-radius: 11px;
  padding: 3px;
  display: flex;
}

.ax-seg > div {
  flex: 1;
  text-align: center;
  padding: 8px 0;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ios);
  transition: background .25s, color .25s, box-shadow .25s;
}

.ax-seg > div.is-on {
  background: #fff;
  color: #000;
  box-shadow: 0 1px 3px rgba(0,0,0,.1);
}

.ax-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  height: 48px;
  overflow: hidden;
}

.ax-toggle {
  display: flex;
  padding: 3px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--sep);
  flex: none;
}

.ax-toggle > span {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  font-size: 15px;
  color: var(--ios);
}

.ax-toggle > span.is-on {
  background: var(--mint);
  color: var(--tf);
}

.ax-chip {
  flex: none;
  padding: 0 16px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  border: 1px solid var(--sep);
  background: #fff;
  font-size: 12.5px;
  font-weight: 700;
  color: #000;
  white-space: nowrap;
  transition: background .25s, border-color .25s, color .25s;
}

.ax-chip.is-on {
  background: var(--mint);
  border-color: var(--mint);
  color: var(--tf);
}

.ax-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 4px 12px 8px;
}

.ax-tile {
  background: #fff;
  border: 1px solid var(--sep);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  aspect-ratio: .82;
  transition: opacity .3s, transform .3s;
}

.ax-tile.is-out {
  display: none;
}

.ax-tile-img {
  flex: 1;
  min-height: 0;
  background: #fbfbfd center/cover no-repeat;
}

.ax-tile-body {
  padding: 8px 10px 10px;
}

.ax-tile-name {
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ax-tile-stock {
  font-size: 10px;
  color: var(--ios);
  margin-top: 2px;
}

.ax-tile-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
}

.ax-tile-price {
  font-size: 12.5px;
  font-weight: 800;
}

.ax-plus {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--tf);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 12px;
}

.ax-scroll {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  overflow: hidden;
}

.ax-pane {
  position: absolute;
  left: 0;
  right: 0;
  top: 268px;
  bottom: 0;
  overflow: hidden;
  transition: opacity .3s ease, transform .35s ease;
}

.ax-pane.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateX(18px);
}

.ax-home-ind {
  position: absolute;
  bottom: 8px;
  left: 50%;
  width: 134px;
  height: 5px;
  margin-left: -67px;
  background: #000;
  border-radius: 3px;
  z-index: 40;
}

/* center alert (shared ApiloxCenterAlert): the add-to-cart quantity dialog */
.ax-scrim {
  position: absolute;
  inset: 0;
  z-index: 30;
  background: rgba(0,0,0,.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}

.ax-scrim.is-on {
  opacity: 1;
}

.ax-alert {
  position: absolute;
  z-index: 31;
  left: 28px;
  right: 28px;
  top: 50%;
  background: #fafcfb;
  border-radius: 28px;
  padding: 24px 24px 20px;
  text-align: center;
  transform: translate(0, -46%) scale(.92);
  opacity: 0;
  pointer-events: none;
  transition: transform .3s cubic-bezier(.2,.9,.3,1.2), opacity .2s ease;
}

.ax-alert.is-on {
  transform: translate(0, -50%) scale(1);
  opacity: 1;
}

.ax-alert h4 {
  font-size: 19px;
  font-weight: 800;
  color: #17181c;
  margin: 0;
}

.ax-alert p {
  font-size: 15px;
  font-weight: 500;
  color: var(--t2);
  margin: 4px 0 0;
}

.ax-alert-img {
  width: 92px;
  height: 92px;
  border-radius: 16px;
  margin: 16px auto 0;
  background: #fff center/cover no-repeat;
}

.ax-alert-stock {
  font-size: 12px;
  font-weight: 600;
  color: var(--ios);
  margin-top: 10px;
}

.ax-step {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-top: 14px;
}

.ax-step span {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(31,72,66,.1);
  color: var(--tf);
  display: grid;
  place-items: center;
  font-size: 16px;
}

.ax-step b {
  width: 68px;
  text-align: center;
  font-size: 18px;
  font-weight: 800;
}

.ax-alert-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: .5px solid var(--sep);
  margin-top: 14px;
  padding-top: 12px;
}

.ax-alert-total span {
  font-size: 13px;
  color: var(--ios);
}

.ax-alert-total b {
  font-size: 17px;
  font-weight: 800;
}

.ax-alert-btns {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.ax-alert-btns > div {
  flex: 1;
  border-radius: 24px;
  padding: 13px 0;
  font-size: 15px;
  font-weight: 700;
}

.ax-btn-cancel {
  background: #e9f8ef;
  color: #1c6b2a;
}

.ax-btn-add {
  background: #1c6b2a;
  color: #fff;
}

/* cart */
.ax-cart {
  padding: 10px 16px;
}

.ax-cart-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 800;
}

.ax-count {
  margin-left: auto;
  background: var(--cu);
  color: var(--tf);
  border-radius: 20px;
  padding: 4px 10px;
  font-size: 11.5px;
  font-weight: 700;
}

.ax-line {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  border-bottom: .5px solid var(--sep);
  animation: lv-feed-in .5s ease;
}

.ax-line img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  background: #fff;
}

.ax-line-name {
  font-size: 14px;
  font-weight: 700;
}

.ax-line-sub {
  font-size: 11.5px;
  color: var(--ios);
  margin-top: 2px;
}

.ax-line-amt {
  margin-left: auto;
  font-size: 14px;
  font-weight: 800;
}

.ax-sum {
  margin-top: 14px;
  background: #ebebec;
  border-radius: 14px;
  padding: 14px;
  font-size: 13px;
}

.ax-sum div {
  display: flex;
  justify-content: space-between;
  padding: 3px 0;
  color: #3c3c43;
}

.ax-sum div.is-total {
  border-top: .5px solid var(--sep);
  margin-top: 6px;
  padding-top: 9px;
  font-size: 15px;
  font-weight: 800;
  color: #000;
}

.ax-process {
  margin: 16px 0 0;
  background: var(--tf);
  color: #fff;
  border-radius: 16px;
  padding: 15px;
  text-align: center;
  font-size: 15px;
  font-weight: 800;
  display: flex;
  justify-content: center;
  gap: 6px;
  align-items: center;
}

/* payment sheet */
.ax-sheet {
  position: absolute;
  z-index: 32;
  left: 0;
  right: 0;
  bottom: 0;
  height: 690px;
  background: var(--bg);
  border-radius: 16px 16px 0 0;
  transform: translateY(100%);
  transition: transform .45s cubic-bezier(.2,.8,.2,1);
  padding: 8px 16px 0;
  box-shadow: 0 -10px 30px rgba(0,0,0,.08);
}

.ax-sheet.is-on {
  transform: none;
}

.ax-grab {
  width: 36px;
  height: 4px;
  border-radius: 2px;
  background: #c7c7cc;
  margin: 0 auto 10px;
}

.ax-sheet-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 4px 12px;
}

.ax-sheet-head b {
  font-size: 18px;
  font-weight: 700;
}

.ax-sheet-head .ax-total {
  color: var(--tf);
  font-size: 18px;
  font-weight: 700;
  margin-left: auto;
}

.ax-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .5px;
  color: var(--ios);
  text-transform: uppercase;
  margin: 10px 4px 8px;
}

.ax-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ax-method {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 12px;
  border-radius: 12px;
  background: #fff;
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 0 0 1px rgba(0,0,0,.05);
  transition: background .25s, color .25s;
}

.ax-method img {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  object-fit: cover;
}

.ax-method .lv-i {
  font-size: 16px;
}

.ax-method.is-on {
  background: var(--tf);
  color: #fff;
}

.ax-amount {
  background: #fff;
  border: 1px solid var(--sep);
  border-radius: 14px;
  padding: 16px 20px;
  text-align: center;
}

.ax-amount b {
  display: block;
  font-size: 26px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.ax-amount b.is-ph {
  color: #c7c7cc;
}

.ax-amount small {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--tf);
  margin-top: 4px;
  min-height: 20px;
}

.ax-keys {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 12px;
}

.ax-keys > div {
  background: #fff;
  border-radius: 12px;
  height: 52px;
  display: grid;
  place-items: center;
  font-size: 18px;
  font-weight: 700;
  box-shadow: 0 0 0 1px rgba(0,0,0,.04);
}

.ax-keys .is-c {
  color: #ff3b30;
}

.ax-keys .is-del {
  color: #ff9500;
}

.ax-complete {
  margin-top: 14px;
  background: #000;
  color: #fff;
  border-radius: 14px;
  padding: 16px;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
}

/* sale complete receipt */
.ax-receipt {
  position: absolute;
  z-index: 33;
  left: 18px;
  right: 18px;
  top: 50%;
  background: #fafcfb;
  border-radius: 28px;
  padding: 18px 0 18px;
  transform: translateY(-46%) scale(.92);
  opacity: 0;
  transition: transform .35s cubic-bezier(.2,.9,.3,1.15), opacity .25s;
  pointer-events: none;
}

.ax-receipt.is-on {
  transform: translateY(-50%);
  opacity: 1;
}

.ax-receipt-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 22px 12px;
  font-size: 17px;
  font-weight: 800;
}

.ax-ticket {
  background: #fff;
  margin: 0 18px;
  border-radius: 20px;
  padding: 18px;
  text-align: center;
}

.ax-ticket h5 {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 1.2px;
}

.ax-ticket .ax-done-msg {
  font-size: 14px;
  font-weight: 800;
  margin-top: 8px;
}

.ax-ticket .ax-thanks {
  font-size: 12px;
  color: var(--ios);
  margin-top: 2px;
}

.ax-tlines {
  margin-top: 12px;
  border-top: .5px solid var(--sep);
  padding-top: 8px;
  text-align: left;
}

.ax-tline {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
  font-size: 13px;
}

.ax-tline b {
  font-weight: 700;
}

.ax-tline small {
  display: block;
  color: var(--ios);
  font-size: 11.5px;
  font-weight: 400;
}

.ax-paid {
  margin-top: 10px;
  background: var(--cu);
  border-radius: 10px;
  padding: 9px 12px;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 800;
  color: var(--tf);
}

.ax-acts {
  display: flex;
  gap: 8px;
  padding: 12px 18px 0;
}

.ax-acts > div {
  flex: 1;
  background: #fff;
  border: 1px solid var(--sep);
  border-radius: 14px;
  padding: 8px 0;
  text-align: center;
  font-size: 11.5px;
  font-weight: 700;
}

.ax-acts .lv-i {
  display: block;
  font-size: 18px;
  margin: 0 auto 3px;
}

.ax-done {
  margin: 12px 18px 0;
  background: var(--tf);
  color: #fff;
  border-radius: 16px;
  padding: 14px;
  text-align: center;
  font-size: 15px;
  font-weight: 800;
}

/* ═══ responsive ═══════════════════════════════════════════════════════ */
@media screen and (max-width: 991px) {
  .lv-section {
    padding: 5.5rem 0;
  }

  .lv-stage-phone {
    width: 14rem;
    right: -1rem;
  }

  .lv-stage-card.is-left {
    left: -1rem;
    width: 14.5rem;
  }

  .lv-stage-card.is-top {
    display: none;
  }
}

@media screen and (max-width: 767px) {
  .lv-container {
    padding: 0 1.25rem;
  }

  .lv-hero {
    padding-top: 8rem;
  }

  .lv-stage {
    margin-top: 3rem;
  }

  .lv-stage {
    margin-bottom: 5rem;
  }

  .lv-stage-phone {
    width: 36%;
    right: -.25rem;
    bottom: -5.5rem;
  }

  .lv-stage-card.is-left {
    top: auto;
    bottom: -4.5rem;
    left: -.25rem;
    width: 58%;
  }

  .lv-stage-card.is-left .lv-float-card {
    padding: .75rem;
  }

  .lv-float-card .lv-fc-row,
  .lv-float-card .lv-fc-meter,
  .lv-stage-card .lv-fc-sub {
    display: none;
  }

  .lv-p.is-lg {
    font-size: 1.0625rem;
  }

  .lv-desktop {
    padding: .4rem;
    border-radius: 1rem;
  }

  .lv-desktop .lv-fit {
    border-radius: .7rem;
  }
}

@media screen and (max-width: 479px) {
  .lv-btns {
    width: 100%;
    flex-direction: column;
  }

  .lv-btns .lv-btn {
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
  }
}

/* ═══ section: PRO features bento (Minpilot "bank anytime" grid) ═══════════ */
.lv-bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.25rem;
  margin-top: 4rem;
  position: relative;
}

.lv-bento::before {
  content: "";
  position: absolute;
  left: 4%;
  right: 4%;
  top: 49%;
  height: 4px;
  border-radius: 4px;
  z-index: 0;
  filter: blur(6px);
  background: linear-gradient(90deg, #bfff37, #5bffc3, #28b424, #97f05e);
  opacity: .8;
}

.lv-tile {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: 1.5rem;
  border: 1px solid var(--lv-line);
  padding: 1.75rem 1.75rem 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 27rem;
  grid-column: span 2;
}

.lv-tile.is-wide {
  grid-column: span 3;
}

.lv-tile-ico {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: .875rem;
  background: var(--lv-soft);
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  color: var(--lv-black);
  margin-bottom: 1.25rem;
}

.lv-tile .lv-p {
  margin-top: .625rem;
  max-width: 28rem;
}

.lv-tile-link {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  margin-top: .875rem;
  font-weight: 600;
  font-size: .9375rem;
  color: var(--lv-black);
  text-decoration: none;
}

.lv-tile-link svg {
  width: 1rem;
  height: 1rem;
  transition: transform .3s ease;
}

.lv-tile-link:hover svg {
  transform: translateX(4px);
}

.lv-tile-stage {
  flex: 1;
  position: relative;
  margin: 1.5rem -1.75rem 0;
  padding: 0 1.75rem 1.75rem;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 15rem;
}

.lv-tile-stage.is-tint {
  background: linear-gradient(180deg, transparent, var(--lv-cumulus) 55%);
}

/* the live widgets inside the tiles (PRO look: Google Sans Flex, PRO tokens) */
.lv-w {
  --tf: #1f4842;
  --cu: #ecf4e9;
  --mint: #bcf49d;
  --line: #e6e6e6;
  --t2: #6b6f6e;
  --t3: #9a9c9b;
  --red: #f73540;
  --amber: #f5a524;
  --green: #1f9254;
  font-family: "LvSans", -apple-system, "Segoe UI", sans-serif;
  color: #1a1a1a;
  font-size: 13px;
  line-height: 1.35;
  width: 100%;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 20px 50px -18px rgba(12,4,7,.25), 0 0 0 1px rgba(12,4,7,.06);
  padding: 14px;
  position: relative;
}

.lv-w * {
  box-sizing: border-box;
}

.lv-w-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.lv-w-title {
  font-weight: 700;
  font-size: 14px;
}

.lv-w-tabs {
  position: relative;
  display: flex;
  background: var(--cu);
  border-radius: 999px;
  padding: 3px;
}

.lv-w-tabs span {
  position: relative;
  z-index: 1;
  padding: 5px 11px;
  font-size: 11.5px;
  font-weight: 600;
  color: #3f6158;
  border-radius: 999px;
  transition: color .3s;
  white-space: nowrap;
}

.lv-w-tabs span.is-on {
  color: #1a1a1a;
}

.lv-w-tabs i {
  position: absolute;
  z-index: 0;
  top: 3px;
  bottom: 3px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,.08);
  transition: left .4s cubic-bezier(.4,0,.2,1), width .4s cubic-bezier(.4,0,.2,1);
}

.lv-w-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 2px;
  border-top: 1px solid #f0f0f2;
  transition: opacity .35s, transform .35s;
}

.lv-w-row:first-of-type {
  border-top: 0;
}

.lv-w-row.is-gone {
  opacity: 0;
  transform: translateX(14px);
  height: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
}

.lv-w-row img,
.lv-w-av {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  object-fit: cover;
  background: var(--cu);
  flex: none;
}

.lv-w-av {
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 12px;
  color: var(--tf);
}

.lv-w-name {
  font-weight: 700;
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lv-w-sub {
  color: var(--t3);
  font-size: 11px;
  margin-top: 1px;
  white-space: nowrap;
}

.lv-w-end {
  margin-left: auto;
  text-align: right;
  flex: none;
}

.lv-w-pill {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 8px;
  background: #e7f8ec;
  color: var(--green);
  white-space: nowrap;
  transition: background .3s, color .3s;
}

.lv-w-pill.is-amber {
  background: #fff2df;
  color: #b26b00;
}

.lv-w-pill.is-red {
  background: #fdeceb;
  color: var(--red);
}

.lv-w-pill.is-blue {
  background: #e8f0ff;
  color: #1d5fd6;
}

.lv-w-pill.is-dark {
  background: var(--tf);
  color: #fff;
}

.lv-w-amt {
  font-weight: 800;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.lv-w-note {
  margin-top: 10px;
  background: var(--cu);
  color: var(--tf);
  border-radius: 12px;
  padding: 9px 12px;
  font-weight: 700;
  font-size: 12px;
  display: flex;
  gap: 8px;
  align-items: center;
}

.lv-w-btn {
  display: inline-block;
  background: var(--tf);
  color: #fff;
  border-radius: 999px;
  padding: 6px 12px;
  font-weight: 700;
  font-size: 11.5px;
  transition: background .3s;
}

.lv-w-btn.is-done {
  background: var(--green);
}

.lv-w-toast {
  position: absolute;
  left: 14px;
  right: 14px;
  top: -14px;
  transform: translateY(-8px);
  opacity: 0;
  transition: .35s ease;
  z-index: 3;
  background: #1a1a1a;
  color: #fff;
  border-radius: 12px;
  padding: 9px 12px;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  gap: 8px;
  align-items: center;
}

.lv-w-toast img {
  width: 20px;
  height: 20px;
  border-radius: 5px;
}

.lv-w-toast.is-on {
  transform: none;
  opacity: 1;
}

/* order card (Apilox app order list) */
.lv-w-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: .5px solid #c6c6c8;
  margin-top: 12px;
  padding-top: 10px;
  color: var(--tf);
  font-weight: 600;
  font-size: 13px;
}

/* online orders: Apilox PRO's orders board (APILOX_PRO/css/pd-theme.css .pdo-*), scaled to the tile */
.lv-w.lv-w-board {
  padding: 10px;
  font-family: "Inter", "LvSans", -apple-system, "Segoe UI", sans-serif;
  color: #21232c;
}

.lv-wo-fit {
  position: relative;
  overflow: hidden;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

.lv-wo-board {
  transform-origin: 0 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  align-items: start;
}

.lv-wo-col {
  background: #f2f3f4;
  border-radius: 6px;
  min-height: 196px;
  display: flex;
  flex-direction: column;
}

.lv-wo-head {
  position: relative;
  background: #fff;
  padding: 6px 14px 6px 8px;
  margin: 0 0 5px;
  border-radius: 6px 6px 0 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
  clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 50%, calc(100% - 9px) 100%, 0 100%);
  box-shadow: inset 0 -1px 0 #e6e7e9;
}

.lv-wo-head.last {
  clip-path: none;
  padding-right: 8px;
}

.lv-wo-head b {
  font-size: 12px;
  font-weight: 600;
}

.lv-wo-head span {
  font-size: 9.5px;
  color: #65686f;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lv-wo-cards {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0 5px 6px;
}

.lv-wo-card {
  background: #fff;
  border-radius: 4px;
  padding: 6px 7px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  position: relative;
  box-shadow: 0 1px 3px rgba(0,0,0,.07), 0 1px 2px rgba(0,0,0,.06), 0 0 1px rgba(0,0,0,.05);
  transition: transform .6s cubic-bezier(.2,.8,.2,1), box-shadow .2s, opacity .3s;
}

.lv-wo-col[data-stage="new"] .lv-wo-card {
  background: #fef2f0;
}

.lv-wo-col[data-stage="preparing"] .lv-wo-card {
  background: #fff8db;
}

.lv-wo-col[data-stage="ready"] .lv-wo-card {
  background: #eaf3ff;
}

.lv-wo-col[data-stage="delivered"] .lv-wo-card {
  background: #e9fbe7;
}

.lv-wo-card .t {
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lv-wo-card .s {
  font-size: 9.5px;
  color: #65686f;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lv-wo-card .f {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 2px;
  min-width: 0;
  overflow: hidden;
}

.lv-wo-card .av {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #e9eaec;
  font-size: 7px;
  font-weight: 600;
  font-style: normal;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.lv-wo-card .f b {
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
}

.lv-wo-card .f em {
  margin-left: auto;
  font-size: 9px;
  font-style: normal;
  color: #93949a;
}

.lv-wo-board.is-small .lv-wo-card .f em {
  display: none;
}

.lv-wo-card.is-new {
  animation: lvWoIn .5s cubic-bezier(.2,.8,.2,1);
}

.lv-wo-card.is-dragging {
  z-index: 5;
  box-shadow: 0 0 4px rgba(0,0,0,.12), 0 8px 18px rgba(0,0,0,.16);
}

@keyframes lvWoIn {
  from {
    opacity: 0;
    transform: translateY(-10px) scale(.96);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.lv-wo-bell {
  position: absolute;
  top: -14px;
  right: 12px;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 6px;
  background: #21232c;
  color: #fff;
  font-size: 10.5px;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 999px;
  box-shadow: 0 8px 20px -8px rgba(0,0,0,.4);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .3s, transform .3s;
  pointer-events: none;
}

.lv-wo-bell.is-on {
  opacity: 1;
  transform: none;
}

/* prescription paper */
.lv-w-rx {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 12px;
}

.lv-w-paper {
  background: #fffdf6;
  border: 1px solid #efe7cf;
  border-radius: 10px;
  padding: 10px 9px;
  position: relative;
  overflow: hidden;
}

.lv-w-paper b {
  font: italic 800 22px/1 Georgia, serif;
  color: #2c5a8c;
}

.lv-w-paper i {
  display: block;
  height: 3px;
  border-radius: 2px;
  background: #c9d4e6;
  margin-top: 7px;
}

.lv-w-paper i:nth-child(odd) {
  width: 70%;
}

.lv-w-stamp {
  position: absolute;
  right: 6px;
  bottom: 8px;
  transform: rotate(-12deg) scale(1.6);
  opacity: 0;
  transition: transform .35s cubic-bezier(.34,1.56,.64,1), opacity .2s;
  border: 2px solid var(--green);
  color: var(--green);
  font: 800 10px/1 "LvSans", sans-serif;
  letter-spacing: .08em;
  padding: 3px 5px;
  border-radius: 5px;
  background: rgba(255,255,255,.8);
}

.lv-w-stamp.is-on {
  transform: rotate(-12deg) scale(1);
  opacity: 1;
}

.lv-w-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid #c6c6c8;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 11px;
  flex: none;
  transition: .3s;
}

.lv-w-check.is-on {
  background: var(--green);
  border-color: var(--green);
}

/* ═══ section: dark Apilox app band (Minpilot dark "cards around the phone") ═══ */
.lv-dark {
  position: relative;
  background: #0b0c0c;
  color: #fff;
  overflow: hidden;
  padding: 7.5rem 0 0;
}

.lv-dark-glow {
  position: absolute;
  left: 50%;
  top: 40%;
  width: 64rem;
  height: 64rem;
  margin-left: -32rem;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(40,180,36,.32), rgba(40,180,36,.08) 40%, transparent 68%);
}

.lv-orbit {
  position: absolute;
  left: 50%;
  top: 58%;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.07);
  pointer-events: none;
  animation: lv-spin var(--lv-speed, 60s) linear infinite;
}

.lv-orbit::after {
  content: "";
  position: absolute;
  top: -4px;
  left: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lv-lime);
  box-shadow: 0 0 12px var(--lv-lime);
}

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

.lv-dark-stage {
  position: relative;
  margin-top: 4rem;
  display: grid;
  grid-template-columns: 1fr 19rem 1fr;
  gap: 3rem;
  align-items: center;
}

.lv-dark-col {
  display: flex;
  flex-direction: column;
  gap: 6rem;
}

.lv-dark-col.is-right {
  padding-top: 8rem;
}

.lv-dcard {
  position: relative;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 1.25rem;
  padding: 1.5rem;
  backdrop-filter: blur(10px);
  overflow: hidden;
}

.lv-dcard::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--lv-lime), #5bffc3, #28b424);
}

.lv-dcard.is-b::after {
  background: linear-gradient(90deg, #5bffc3, #235dfe, #a713fd);
}

.lv-dcard.is-c::after {
  background: linear-gradient(90deg, #f36600, #bfff37);
}

.lv-dcard .lv-i {
  font-size: 1.5rem;
  color: var(--lv-lime);
}

.lv-dcard h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 1rem 0 .5rem;
  color: #fff;
}

.lv-dcard p {
  color: #a3a3ae;
  font-size: .9375rem;
  line-height: 1.5;
  margin: 0;
}

.lv-dark-phone {
  position: relative;
  z-index: 2;
}

.lv-bigword {
  margin-top: 5rem;
  font-size: clamp(5rem, 12vw, 11rem);
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,.22);
  letter-spacing: -.02em;
  padding-bottom: 2rem;
}

.lv-bigword .lv-marquee-track {
  gap: 4rem;
}

/* Apilox app dashboard (light) + the offline banner */
.ax-kpis {
  margin: 4px 16px 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
}

.ax-kpi {
  padding: 16px 18px;
  border-top: 1px solid var(--line);
}

.ax-kpi:first-child {
  border-top: 0;
}

.ax-kpi-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--t2);
}

.ax-kpi-val {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.ax-kpi-val b {
  font-size: 26px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.01em;
}

.ax-badge {
  font-size: 12px;
  font-weight: 800;
  padding: 4px 9px;
  border-radius: 9px;
  background: var(--green-bg);
  color: var(--green);
}

.ax-kpi-cap {
  font-size: 13px;
  color: var(--t3);
  margin-top: 6px;
  font-weight: 500;
}

.ax-actions {
  display: flex;
  gap: 10px;
  padding: 4px 16px 10px;
  align-items: center;
}

.ax-pillbtn {
  background: var(--tf);
  color: #fff;
  border-radius: 999px;
  padding: 11px 18px;
  font-size: 14px;
  font-weight: 700;
}

.ax-period {
  font-size: 13px;
  color: var(--t2);
  font-weight: 500;
  padding: 4px 20px 10px;
}

.ax-net {
  margin: 0 16px 10px;
  border-radius: 14px;
  padding: 0 14px;
  height: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  transition: height .35s ease, background .35s, color .35s;
  background: #fff2df;
  color: #8a5300;
}

.ax-net.is-on {
  height: 46px;
}

.ax-net.is-sync {
  background: #e8f0ff;
  color: #1d5fd6;
}

.ax-net.is-ok {
  background: var(--green-bg);
  color: var(--green);
}

.ax-net .lv-i {
  font-size: 18px;
}

.ax-net .ax-spin {
  animation: lv-spin 1s linear infinite;
}

.ax-net small {
  margin-left: auto;
  font-weight: 600;
  opacity: .8;
}

@media screen and (max-width: 991px) {
  .lv-bento {
    grid-template-columns: 1fr 1fr;
  }

  .lv-tile,
  .lv-tile.is-wide {
    grid-column: span 1;
  }

  .lv-tile.is-wide:first-child {
    grid-column: span 2;
  }

  .lv-bento::before {
    display: none;
  }

  .lv-dark-stage {
    grid-template-columns: 1fr 17rem 1fr;
    gap: 1.5rem;
  }
}

@media screen and (max-width: 767px) {
  .lv-bento {
    grid-template-columns: 1fr;
  }

  .lv-tile,
  .lv-tile.is-wide,
  .lv-tile.is-wide:first-child {
    grid-column: span 1;
    min-height: 0;
  }

  .lv-dark-stage {
    grid-template-columns: 1fr;
  }

  .lv-dark-phone {
    order: -1;
    width: 16rem;
    margin: 0 auto;
  }

  .lv-dark-col,
  .lv-dark-col.is-right {
    gap: 1rem;
    padding-top: 0;
  }

  .lv-dark {
    padding-top: 5rem;
  }
}

/* ═══ download cards ═══ */
.lv-dl {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 3.5rem;
}

.lv-dl-card {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  padding: 1.75rem;
  border-radius: 1.5rem;
  border: 1px solid var(--lv-line);
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s, border-color .35s;
}

.lv-dl-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px -24px rgba(12,4,7,.3);
  border-color: transparent;
}

.lv-dl-card img {
  width: 3rem;
  height: 3rem;
  object-fit: contain;
  border-radius: .8rem;
  margin-bottom: 1rem;
}

.lv-dl-card .lv-p {
  flex: 1;
}

.lv-dl-go {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: 1rem;
  font-weight: 600;
  font-size: .9375rem;
  color: var(--lv-black);
}

.lv-dl-card.is-dark {
  background: var(--lv-ink);
  border-color: var(--lv-ink);
}

.lv-dl-card.is-dark .lv-h4,
.lv-dl-card.is-dark .lv-dl-go {
  color: #fff;
}

.lv-dl-card.is-dark .lv-dl-go {
  color: var(--lv-lime);
}

.lv-dl-card.is-dark .lv-p {
  color: #a3a3ae;
}

/* ═══ FAQ (Minpilot accordion, topic tabs with a sliding pill) ═══ */
.lv-faq {
  background: var(--lv-soft);
}

.lv-faq-grid {
  display: grid;
  grid-template-columns: .9fr 1.3fr;
  gap: 4rem;
  align-items: start;
}

.lv-faq-side {
  position: sticky;
  top: 7rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: flex-start;
}

.lv-faq-help {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: #fff;
  border-radius: 1.25rem;
  padding: 1.25rem;
  margin-top: 1rem;
  border: 1px solid var(--lv-line);
}

.lv-faq-help b {
  font-size: 1.0625rem;
}

.lv-faq-help .lv-p {
  margin-top: .25rem;
}

.lv-faq-tabs {
  position: relative;
  display: inline-flex;
  gap: .25rem;
  padding: .3rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--lv-line);
  margin-bottom: 1.5rem;
}

.lv-faq-tabs button {
  position: relative;
  z-index: 1;
  border: 0;
  background: none;
  cursor: pointer;
  padding: .55rem 1.1rem;
  border-radius: 999px;
  font: 600 .9375rem/1.2 var(--apx-font);
  color: var(--lv-gray);
  transition: color .3s;
}

.lv-faq-tabs button.is-on {
  color: #fff;
}

.lv-faq-tabs i {
  position: absolute;
  z-index: 0;
  top: .3rem;
  bottom: .3rem;
  border-radius: 999px;
  background: var(--lv-black);
  transition: left .4s cubic-bezier(.4,0,.2,1), width .4s cubic-bezier(.4,0,.2,1);
}

.lv-faq-list {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.lv-faq-item {
  background: #fff;
  border-radius: 1.25rem;
  border: 1px solid var(--lv-line);
  transition: box-shadow .3s;
}

.lv-faq-item[hidden] {
  display: none;
}

.lv-faq-item.is-open {
  box-shadow: 0 16px 40px -24px rgba(12,4,7,.25);
}

.lv-faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  border: 0;
  background: none;
  cursor: pointer;
  padding: 1.35rem 1.5rem;
  font: 600 1.125rem/1.35 var(--apx-font);
  color: var(--lv-black);
}

.lv-faq-ico {
  position: relative;
  flex: none;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--lv-soft);
  transition: background .3s;
}

.lv-faq-ico::before,
.lv-faq-ico::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: .875rem;
  height: 1.5px;
  margin: -.75px 0 0 -.4375rem;
  background: var(--lv-black);
  border-radius: 2px;
  transition: transform .35s ease, background .3s;
}

.lv-faq-ico::after {
  transform: rotate(90deg);
}

.lv-faq-item.is-open .lv-faq-ico {
  background: var(--lv-lime);
}

.lv-faq-item.is-open .lv-faq-ico::after {
  transform: rotate(0deg);
}

.lv-faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .4s ease;
}

.lv-faq-a > * {
  overflow: hidden;
  padding: 0 1.5rem;
}

.lv-faq-item.is-open .lv-faq-a {
  grid-template-rows: 1fr;
}

.lv-faq-item.is-open .lv-faq-a > * {
  padding-bottom: 1.35rem;
}

.lv-faq-a a {
  color: var(--lv-forest);
  font-weight: 600;
}

@media screen and (max-width: 991px) {
  .lv-dl {
    grid-template-columns: 1fr 1fr;
  }

  .lv-faq-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .lv-faq-side {
    position: static;
  }
}

@media screen and (max-width: 479px) {
  .lv-dl {
    grid-template-columns: 1fr;
  }

  .lv-faq-tabs button {
    padding: .5rem .8rem;
    font-size: .875rem;
  }

  .lv-faq-q {
    font-size: 1rem;
    padding: 1.1rem 1.15rem;
  }
}

/* ═══ WhatsApp chat (dark WhatsApp, as on the customer's phone) ═══════════ */
.lv-wa {
  --wa-bg: #0b141a;
  --wa-bar: #1f2c34;
  --wa-in: #202c33;
  --wa-out: #005c4b;
  --wa-text: #e9edef;
  --wa-sub: #8696a0;
  --wa-link: #21c063;
  --wa-green: #25d366;
  width: 390px;
  height: 844px;
  position: relative;
  background: var(--wa-bg);
  color: var(--wa-text);
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 14.5px;
  line-height: 1.35;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.lv-wa * {
  box-sizing: border-box;
}

.lv-wa .lv-status {
  color: var(--wa-text);
  background: var(--wa-bar);
}

.wa-bar {
  background: var(--wa-bar);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px 10px 8px;
  flex: none;
  position: relative;
  z-index: 3;
}

.wa-bar .lv-i {
  font-size: 22px;
  color: var(--wa-text);
}

.wa-av {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #28b424;
  display: grid;
  place-items: center;
  overflow: hidden;
  flex: none;
}

.wa-av img {
  width: 82%;
}

.wa-who b {
  display: block;
  font-size: 16.5px;
  font-weight: 600;
}

.wa-who small {
  font-size: 12.5px;
  color: var(--wa-sub);
}

.wa-bar-r {
  margin-left: auto;
  display: flex;
  gap: 20px;
}

.wa-feed {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  position: relative;
  background-color: var(--wa-bg);
  background-image: radial-gradient(rgba(255,255,255,.035) 1.2px, transparent 1.3px), radial-gradient(rgba(255,255,255,.025) 1px, transparent 1.1px);
  background-size: 26px 26px, 17px 17px;
  background-position: 0 0, 8px 11px;
}

.wa-scroll {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 10px 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform .45s cubic-bezier(.2,.8,.2,1);
}

.wa-day {
  align-self: center;
  background: #182229;
  color: var(--wa-sub);
  font-size: 12px;
  padding: 5px 12px;
  border-radius: 8px;
  margin: 2px 0 6px;
}

.wa-msg {
  max-width: 84%;
  padding: 6px 8px 6px 9px;
  border-radius: 9px;
  background: var(--wa-in);
  align-self: flex-start;
  position: relative;
  box-shadow: 0 1px .5px rgba(0,0,0,.13);
  animation: wa-in .32s cubic-bezier(.2,.8,.2,1);
}

.wa-msg.is-out {
  background: var(--wa-out);
  align-self: flex-end;
}

.wa-msg.is-tail::before {
  content: "";
  position: absolute;
  top: 0;
  left: -7px;
  border: 8px solid transparent;
  border-top-color: var(--wa-in);
  border-right-color: var(--wa-in);
  border-width: 0 8px 10px 0;
}

.wa-msg.is-out.is-tail::before {
  left: auto;
  right: -7px;
  border-color: transparent;
  border-top-color: var(--wa-out);
  border-left-color: var(--wa-out);
  border-width: 0 0 10px 8px;
}

@keyframes wa-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(.98);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.wa-msg b {
  font-weight: 700;
}

.wa-meta {
  float: right;
  margin: 6px 0 -4px 10px;
  font-size: 11px;
  color: rgba(233,237,239,.6);
  display: inline-flex;
  gap: 3px;
  align-items: center;
}

.wa-ticks {
  color: #53bdeb;
  font-size: 14px;
  letter-spacing: -6px;
  padding-right: 6px;
}

.wa-img {
  display: block;
  width: 236px;
  height: 200px;
  border-radius: 6px;
  background: #fff center/contain no-repeat;
  margin: -2px -4px 6px -5px;
}

.wa-img.is-photo {
  background-size: cover;
}

.wa-acts {
  border-top: 1px solid rgba(255,255,255,.08);
  margin: 6px -8px -6px -9px;
}

.wa-act {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--wa-link);
  font-size: 14.5px;
  font-weight: 500;
  padding: 10px;
}

.wa-act + .wa-act {
  border-top: 1px solid rgba(255,255,255,.08);
}

.wa-act .lv-i {
  font-size: 17px;
}

.wa-quote {
  border-left: 4px solid #06cf9c;
  background: rgba(0,0,0,.18);
  border-radius: 6px;
  padding: 5px 8px;
  margin: -1px -3px 6px -4px;
  font-size: 13px;
  color: rgba(233,237,239,.75);
}

.wa-quote b {
  display: block;
  color: #06cf9c;
  font-size: 12.5px;
}

.wa-card {
  display: flex;
  gap: 10px;
  align-items: center;
  background: rgba(0,0,0,.18);
  border-radius: 7px;
  padding: 6px;
  margin: -2px -4px 6px -5px;
}

.wa-card i.wa-thumb {
  width: 56px;
  height: 56px;
  border-radius: 6px;
  background: #fff center/cover no-repeat;
  flex: none;
  display: block;
}

.wa-card b {
  display: block;
  font-size: 14px;
}

.wa-card small {
  color: var(--wa-sub);
  font-size: 12.5px;
}

.wa-typing {
  align-self: flex-start;
  background: var(--wa-in);
  border-radius: 9px;
  padding: 11px 14px;
  display: flex;
  gap: 4px;
  animation: wa-in .25s ease;
}

.wa-typing i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--wa-sub);
  animation: wa-dot 1.2s infinite;
}

.wa-typing i:nth-child(2) {
  animation-delay: .15s;
}

.wa-typing i:nth-child(3) {
  animation-delay: .3s;
}

@keyframes wa-dot {
  0%,
  60%,
  100% {
    opacity: .35;
    transform: none;
  }

  30% {
    opacity: 1;
    transform: translateY(-3px);
  }
}

.wa-input {
  flex: none;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px 26px;
  background: var(--wa-bg);
  position: relative;
  z-index: 3;
}

.wa-field {
  flex: 1;
  min-height: 46px;
  border-radius: 24px;
  background: var(--wa-in);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  color: var(--wa-sub);
  font-size: 16px;
}

.wa-field .lv-i {
  font-size: 22px;
}

.wa-field-text {
  flex: 1;
  color: var(--wa-text);
  white-space: nowrap;
  overflow: hidden;
}

.wa-field-text:empty::before {
  content: "Message";
  color: var(--wa-sub);
}

.wa-send {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--wa-green);
  display: grid;
  place-items: center;
  color: #0b141a;
  font-size: 21px;
  flex: none;
}

/* list message sheet ("Choose pharmacy", "Menu") */
.wa-sheet {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 6;
  background: #1f2c34;
  border-radius: 16px 16px 0 0;
  padding: 10px 0 30px;
  transform: translateY(105%);
  transition: transform .4s cubic-bezier(.2,.8,.2,1);
}

.wa-sheet.is-on {
  transform: none;
}

.wa-sheet-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 18px 12px;
  font-size: 17px;
  font-weight: 600;
}

.wa-sheet-head .lv-i {
  color: var(--wa-sub);
  font-size: 20px;
}

.wa-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-top: 1px solid rgba(255,255,255,.06);
}

.wa-row b {
  display: block;
  font-size: 15px;
  font-weight: 500;
}

.wa-row small {
  color: var(--wa-sub);
  font-size: 12.5px;
}

.wa-row .wa-radio {
  margin-left: auto;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--wa-sub);
  flex: none;
  transition: .2s;
}

.wa-row.is-on .wa-radio {
  border: 6px solid var(--wa-green);
}

.wa-scrim {
  position: absolute;
  inset: 0;
  z-index: 5;
  background: rgba(0,0,0,.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}

.wa-scrim.is-on {
  opacity: 1;
}

/* ═══ home: hero (Minpilot Home 01 layout, Apilox greens) ═══════════════ */
.lv-home-hero {
  position: relative;
  padding: 9rem 0 0;
  overflow: hidden;
}

.lv-home-hero .lv-container {
  position: relative;
  z-index: 1;
}

.lv-home-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 2rem;
  align-items: center;
  min-height: 40rem;
}

.lv-home-copy {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
  padding-bottom: 3rem;
}

.lv-home-copy .lv-h1 {
  font-size: clamp(2.6rem, 5vw, 4.3rem);
}

.lv-wa-line {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: .9375rem;
  color: var(--lv-gray);
}

.lv-wa-line b {
  color: var(--lv-black);
  font-weight: 600;
}

.lv-btn.is-wa {
  background: #25d366;
  border-color: #25d366;
  color: #06301a;
}

.lv-btn.is-wa .lv-i {
  font-size: 1.3rem;
}

.lv-orbit-stage {
  position: relative;
  height: 46rem;
  display: grid;
  place-items: center;
}

.lv-orbit-stage .lv-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  border: 1px solid rgba(31,72,66,.14);
  animation: lv-spin var(--lv-speed, 40s) linear infinite;
}

.lv-ring > b {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--lv-green);
  box-shadow: 0 0 0 5px rgba(40,180,36,.15);
}

.lv-ring > b.is-lime {
  background: #9be15d;
}

.lv-ring > b.is-dark {
  background: var(--lv-forest);
}

.lv-hero-phone {
  position: relative;
  z-index: 2;
  width: 19rem;
}

.lv-hero-phone:not(.is-3d) .lv-device {
  transform: rotate(-7deg);
}

.lv-orbit-stage .lv-stage-card {
  z-index: 3;
}

.lv-orbit-stage .is-a {
  left: -14%;
  top: 8%;
  width: 15.5rem;
}

.lv-orbit-stage .is-b {
  right: -14%;
  top: 50%;
}

.lv-orbit-stage .is-c {
  left: auto;
  right: calc(50% + 10rem);
  bottom: 16%;
}

.lv-trust {
  position: relative;
  z-index: 1;
  padding: 2.5rem 0 3rem;
}

.lv-trust-label {
  text-align: center;
  font-size: .9375rem;
  color: var(--lv-gray);
  margin-bottom: 1.25rem;
}

.lv-trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2.5rem 4.5rem;
  padding: 0 1.25rem;
}

.lv-trust-row img {
  height: 3.25rem;
  width: auto;
  transition: transform .3s ease;
}

.lv-trust-row img:hover {
  transform: translateY(-3px) scale(1.04);
}

@media screen and (max-width: 479px) {
  .lv-trust-row {
    gap: 1.75rem 2.5rem;
  }

  .lv-trust-row img {
    height: 2.5rem;
  }
}

@media screen and (max-width: 991px) {
  .lv-home-grid {
    grid-template-columns: 1fr;
  }

  .lv-home-copy {
    align-items: center;
    text-align: center;
    padding-bottom: 0;
  }

  .lv-orbit-stage {
    height: 40rem;
  }
}

@media screen and (max-width: 767px) {
  .lv-home-hero {
    padding-top: 8rem;
  }

  .lv-orbit-stage {
    height: 34rem;
  }

  .lv-hero-phone {
    width: 15.5rem;
  }

  .lv-orbit-stage .is-a {
    left: 0;
    top: 4%;
    width: 12.5rem;
  }

  .lv-orbit-stage .is-b {
    right: 0;
    top: auto;
    bottom: 16%;
    width: 12rem;
  }

  .lv-orbit-stage .is-c {
    display: none;
  }
}

/* ═══ Atlas (Flutter, dark Spotify-style) - tokens from apps/atlas/lib/core/spotify/sp_theme.dart ═══ */
@font-face {
  font-family: "LvFigtree";
  src: url("../fonts/live/Figtree-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "LvFigtree";
  src: url("../fonts/live/Figtree-Medium.ttf") format("truetype");
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "LvFigtree";
  src: url("../fonts/live/Figtree-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "LvFigtree";
  src: url("../fonts/live/Figtree-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "LvFigtree";
  src: url("../fonts/live/Figtree-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-display: swap;
}

.lv-at {
  --bg: #121212;
  --el: #1f1f1f;
  --hi: #2a2a2a;
  --sub: #b3b3b3;
  --muted: #939393;
  --green: #1ed760;
  width: 390px;
  height: 844px;
  position: relative;
  background: var(--bg);
  color: #fff;
  font-family: "LvFigtree", -apple-system, sans-serif;
  overflow: hidden;
}

.lv-at * {
  box-sizing: border-box;
}

.lv-at .lv-status {
  color: #fff;
  background: #000;
}

.at-head {
  height: 56px;
  background: #000;
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 14px;
  position: relative;
  z-index: 4;
  transition: background .4s;
}

.at-head img {
  height: 28px;
}

.at-head .lv-i {
  margin-left: auto;
  font-size: 22px;
}

.at-head .at-me {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #e91e8c;
  display: grid;
  place-items: center;
  font-size: 15px;
}

.at-view {
  position: absolute;
  left: 0;
  right: 0;
  top: 106px;
  bottom: 0;
  transition: opacity .35s ease, transform .4s ease;
  overflow: hidden;
}

.at-view.is-hidden {
  opacity: 0;
  transform: translateX(24px);
  pointer-events: none;
}

.at-title {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -.24px;
  padding: 24px 16px 16px;
}

.at-search {
  margin: 0 16px 24px;
  height: 48px;
  background: #fff;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  color: #121212;
}

.at-search .lv-i {
  font-size: 22px;
}

.at-search-text {
  font-size: 16px;
  font-weight: 700;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
}

.at-search-text:empty::before {
  content: "What medicine are you looking for?";
  color: #535353;
}

.at-h {
  font-size: 16px;
  font-weight: 700;
  padding: 0 16px 14px;
}

.at-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 0 16px;
}

.at-tile {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: 6px;
  overflow: hidden;
  padding: 12px;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -.16px;
}

.at-tile span {
  display: block;
  max-width: 58%;
  position: relative;
  z-index: 1;
}

.at-tile i {
  position: absolute;
  width: 48%;
  aspect-ratio: 1;
  right: -14%;
  bottom: -6%;
  transform: rotate(25deg);
  border-radius: 4px;
  background: #fff center/cover no-repeat;
  box-shadow: 0 2px 4px rgba(0,0,0,.2);
}

.at-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px;
  animation: wa-in .3s ease;
}

.at-row img {
  width: 48px;
  height: 48px;
  border-radius: 4px;
  object-fit: cover;
  background: var(--hi);
  flex: none;
}

.at-row.is-ph img {
  border-radius: 50%;
}

.at-row b {
  display: block;
  font-size: 16px;
  font-weight: 500;
  line-height: 22px;
}

.at-row small {
  display: block;
  font-size: 14px;
  color: var(--sub);
  line-height: 20px;
}

.at-row .at-price {
  margin-left: auto;
  font-size: 14px;
  font-weight: 700;
  flex: none;
}

.at-hero {
  padding: 16px 16px 0;
  background: linear-gradient(180deg, var(--tint, #6b5a1e) 0%, rgba(18,18,18,0) 100%);
}

.at-back {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0,0,0,.54);
  display: grid;
  place-items: center;
  font-size: 17px;
  margin-bottom: 8px;
}

.at-cover {
  width: 230px;
  height: 230px;
  margin: 0 auto;
  background: #fff center/cover no-repeat;
  box-shadow: 0 4px 60px rgba(0,0,0,.5);
}

.at-name {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -.24px;
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.at-name img {
  width: 20px;
  height: 20px;
}

.at-meta {
  font-size: 13px;
  color: #fff;
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.at-rx {
  background: rgba(255,255,255,.6);
  color: #000;
  font-size: 10px;
  font-weight: 800;
  border-radius: 2px;
  padding: 1px 4px;
}

.at-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 10px 16px 4px;
  color: var(--sub);
  font-size: 24px;
}

.at-wa {
  margin-left: auto;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--green);
  color: #000;
  display: grid;
  place-items: center;
  font-size: 28px;
}

.at-sec {
  font-size: 20px;
  font-weight: 700;
  padding: 12px 16px 8px;
}

.at-tabbar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 90px;
  z-index: 5;
  display: flex;
  justify-content: space-around;
  padding-top: 12px;
  background: linear-gradient(180deg, rgba(0,0,0,.7) 0%, rgba(0,0,0,.9) 40%, #121212 100%);
}

.at-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: var(--sub);
}

.at-tab .lv-i {
  font-size: 24px;
}

.at-tab.is-on {
  color: #fff;
}

.at-cart {
  position: absolute;
  right: 16px;
  bottom: 106px;
  z-index: 6;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--green);
  color: #000;
  display: grid;
  place-items: center;
  font-size: 26px;
  box-shadow: 0 8px 24px rgba(0,0,0,.5);
  transition: transform .3s cubic-bezier(.34,1.56,.64,1);
}

.at-cart b {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 22px;
  height: 22px;
  border-radius: 11px;
  background: #fff;
  color: #000;
  font-size: 11px;
  font-weight: 800;
  display: grid;
  place-items: center;
  border: 2px solid #121212;
  transform: scale(0);
  transition: transform .3s cubic-bezier(.34,1.56,.64,1);
}

.at-cart.has b {
  transform: scale(1);
}

.at-cart.bump {
  transform: scale(1.15);
}

.lv-at .ax-home-ind {
  background: #fff;
}

.wa-qrs {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-self: flex-start;
  width: 84%;
  animation: wa-in .32s cubic-bezier(.2,.8,.2,1);
}

.wa-qr {
  background: var(--wa-in);
  border-radius: 9px;
  text-align: center;
  padding: 10px;
  color: var(--wa-link);
  font-weight: 500;
  box-shadow: 0 1px .5px rgba(0,0,0,.13);
}

.wa-qrs.is-row {
  flex-direction: row;
}

.wa-qrs.is-row .wa-qr {
  flex: 1;
}

.wa-doc {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(0,0,0,.18);
  border-radius: 7px;
  padding: 10px;
  margin: -2px -4px 4px -5px;
}

.wa-doc i.wa-pdf {
  width: 30px;
  height: 36px;
  border-radius: 3px;
  background: #e5484d;
  color: #fff;
  font: 700 9px/36px sans-serif;
  text-align: center;
  flex: none;
  font-style: normal;
}

.wa-doc b {
  display: block;
  font-size: 13.5px;
}

.wa-doc small {
  color: var(--wa-sub);
  font-size: 12px;
}

.wa-rxphoto {
  width: 220px;
  height: 250px;
  border-radius: 6px;
  margin: -2px -4px 4px -5px;
  background: #f7f2e3;
  position: relative;
  overflow: hidden;
  padding: 18px 16px;
  color: #2c5a8c;
}

.wa-rxphoto::before {
  content: "℞";
  font: italic 800 34px/1 Georgia, serif;
}

.wa-rxphoto i {
  display: block;
  height: 4px;
  border-radius: 2px;
  background: #b9c8de;
  margin-top: 12px;
  transform: rotate(-1deg);
}

.wa-rxphoto i:nth-child(2n) {
  width: 72%;
}

.wa-rxphoto i:nth-child(3n) {
  width: 54%;
}

.wa-rxphoto b {
  position: absolute;
  right: 16px;
  bottom: 18px;
  font: italic 600 15px/1 Georgia, serif;
  color: #1f3f6b;
  transform: rotate(-6deg);
}

/* ═══ home: pharmacies near you (dotted Tanzania map + pins) and the four steps ═══ */
.lv-map {
  position: relative;
  max-width: 46rem;
  margin: 3.5rem auto 0;
}

.lv-map-dots {
  display: block;
  width: 100%;
  height: auto;
}

.lv-map-dots circle {
  fill: var(--lv-forest);
  opacity: .16;
}

.lv-map-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .5;
  pointer-events: none;
}

.lv-pin {
  position: absolute;
  transform: translate(-50%, -100%);
  z-index: 2;
  width: max-content;
}

.lv-pin-card {
  display: flex;
  align-items: center;
  gap: .5rem;
  background: #fff;
  border-radius: .875rem;
  padding: .45rem .75rem .45rem .45rem;
  box-shadow: 0 14px 30px -12px rgba(12,4,7,.3), 0 0 0 1px rgba(12,4,7,.05);
  white-space: nowrap;
  font-size: .8125rem;
  position: relative;
}

.lv-pin-card::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  margin-left: -6px;
  border: 6px solid transparent;
  border-bottom: 0;
  border-top-color: #fff;
}

.lv-pin-card img {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  object-fit: cover;
  background: var(--lv-cumulus);
}

.lv-pin-card b {
  display: block;
  font-weight: 600;
  color: var(--lv-black);
}

.lv-pin-card small {
  color: var(--lv-gray);
  font-size: .75rem;
}

.lv-pin-dot {
  position: absolute;
  left: 50%;
  bottom: -1.1rem;
  width: .75rem;
  height: .75rem;
  margin-left: -.375rem;
  border-radius: 50%;
  background: var(--lv-green);
  box-shadow: 0 0 0 0 rgba(40,180,36,.5);
  animation: lv-ping 2.2s ease-out infinite;
}

@keyframes lv-ping {
  0% {
    box-shadow: 0 0 0 0 rgba(40,180,36,.55);
  }

  100% {
    box-shadow: 0 0 0 16px rgba(40,180,36,0);
  }
}

.lv-steps4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}

.lv-step4 {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.lv-step4-ico {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: .75rem;
  background: var(--lv-forest);
  color: var(--lv-lime);
  display: grid;
  place-items: center;
  font-size: 1.35rem;
}

.lv-step4 .lv-num {
  font-size: .8125rem;
  font-weight: 600;
  color: var(--lv-gray);
}

/* ═══ home: prescription section (sticky phone, steps fill as you scroll) ═══ */
.lv-rx {
  background: var(--lv-ink);
  color: #fff;
  overflow: hidden;
  position: relative;
}

.lv-rx .lv-h2,
.lv-rx .lv-h4 {
  color: #fff;
}

.lv-rx .lv-p {
  color: #a3a3ae;
}

.lv-rx-grid {
  display: grid;
  grid-template-columns: 1fr 22rem;
  gap: 5rem;
  align-items: center;
}

.lv-rx-steps {
  position: relative;
  margin-top: 2.5rem;
  padding-left: 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.lv-rx-line {
  position: absolute;
  left: .7rem;
  top: .5rem;
  bottom: .5rem;
  width: 2px;
  background: rgba(255,255,255,.1);
  border-radius: 2px;
  overflow: hidden;
}

.lv-rx-line i {
  display: block;
  width: 100%;
  height: var(--p, 0%);
  background: linear-gradient(var(--lv-lime), var(--lv-green));
  transition: height .2s linear;
}

.lv-rx-step {
  position: relative;
  opacity: .45;
  transition: opacity .4s;
}

.lv-rx-step.is-on {
  opacity: 1;
}

.lv-rx-step::before {
  content: "";
  position: absolute;
  left: -2.05rem;
  top: .3rem;
  width: .9rem;
  height: .9rem;
  border-radius: 50%;
  background: #2a2b2d;
  border: 2px solid rgba(255,255,255,.2);
  transition: .4s;
}

.lv-rx-step.is-on::before {
  background: var(--lv-lime);
  border-color: var(--lv-lime);
  box-shadow: 0 0 14px rgba(191,255,55,.6);
}

.lv-rx-step .lv-p {
  margin-top: .35rem;
}

.lv-rx-note {
  margin-top: 2.25rem;
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 1rem;
  padding: 1rem 1.15rem;
  font-size: .9375rem;
  color: #d7dbd9;
  line-height: 1.5;
}

.lv-rx-note .lv-i {
  color: var(--lv-lime);
  font-size: 1.3rem;
  flex: none;
  margin-top: .1rem;
}

/* ═══ home: split section (copy + live phone with satellite cards) ═══ */
.lv-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.lv-split.is-flip > :first-child {
  order: 2;
}

.lv-checks {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .875rem 1.5rem;
}

.lv-checks li {
  display: flex;
  gap: .6rem;
  align-items: flex-start;
  font-size: 1rem;
  color: var(--lv-black);
  line-height: 1.4;
}

.lv-checks li::before {
  content: "";
  flex: none;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: .05rem;
  border-radius: 50%;
  background: var(--lv-forest)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.3l2.6 2.5L12 5.5' fill='none' stroke='%23bfff37' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/80% no-repeat;
}

.lv-phone-stage {
  position: relative;
  display: grid;
  place-items: center;
  padding: 2rem 0;
}

.lv-phone-stage .lv-device {
  width: 19rem;
  position: relative;
  z-index: 2;
}

.lv-phone-stage .lv-blob {
  position: absolute;
  width: 30rem;
  height: 30rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(191,255,55,.55), rgba(40,180,36,.18) 50%, transparent 70%);
  filter: blur(10px);
}

.lv-phone-stage .lv-stage-card {
  z-index: 3;
}

.lv-phone-stage .is-a {
  left: 0;
  top: 18%;
  width: 15rem;
}

.lv-phone-stage .is-b {
  right: 0;
  bottom: 16%;
  width: 15rem;
}

/* ═══ home: for pharmacies (Minpilot numbered tabs on our gradient panel) ═══ */
.lv-ops {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 4rem;
  align-items: center;
  margin-top: 3.5rem;
}

.lv-op {
  border-bottom: 1px solid var(--lv-line);
  cursor: pointer;
  padding: 1.1rem 0;
  position: relative;
}

.lv-op-head {
  display: flex;
  gap: 1rem;
  align-items: baseline;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--lv-gray);
  transition: color .3s;
}

.lv-op-head small {
  font-size: .8125rem;
  font-weight: 600;
  color: var(--lv-gray);
}

.lv-op.is-on .lv-op-head {
  color: var(--lv-black);
}

.lv-op-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .45s ease;
}

.lv-op-body > p {
  overflow: hidden;
  margin: 0;
  padding-left: 2.1rem;
}

.lv-op.is-on .lv-op-body {
  grid-template-rows: 1fr;
}

.lv-op.is-on .lv-op-body > p {
  padding-top: .6rem;
}

.lv-op-bar {
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 2px;
  width: 0;
  background: var(--lv-forest);
}

.lv-op.is-on .lv-op-bar {
  animation: lv-opbar var(--lv-op-dur, 7s) linear forwards;
}

@keyframes lv-opbar {
  to {
    width: 100%;
  }
}

.lv-ops-panel {
  position: relative;
  border-radius: 1.75rem;
  padding: 3rem 2.5rem;
  min-height: 32rem;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  background: radial-gradient(60% 70% at 15% 15%, #bfff37 0%, transparent 60%), radial-gradient(55% 60% at 90% 25%, #5bffc3 0%, transparent 60%),
    radial-gradient(60% 70% at 70% 100%, #28b424 0%, transparent 65%), radial-gradient(50% 60% at 10% 95%, #97f05e 0%, transparent 60%), #e9f8e4;
}

.lv-ops-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(rgba(255,255,255,.35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.35) 1px, transparent 1px);
  background-size: 36px 36px;
  -webkit-mask-image: radial-gradient(circle, #000, transparent 75%);
  mask-image: radial-gradient(circle, #000, transparent 75%);
}

.lv-ops-pane {
  width: 100%;
  max-width: 25rem;
  display: none;
  animation: lv-pane .5s cubic-bezier(.2,.7,.2,1);
}

.lv-ops-pane.is-on {
  display: block;
}

@keyframes lv-pane {
  from {
    opacity: 0;
    transform: scale(.94) translateY(12px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

/* ═══ home: video (the card widens to full width as you scroll; plays in the pop-up) ═══ */
.lv-video {
  padding: 3rem 0 7rem;
  overflow: hidden;
}

.lv-video-card {
  position: relative;
  margin: 3rem auto 0;
  width: var(--w, 38%);
  max-width: 100%;
  aspect-ratio: 16 / 8;
  border-radius: var(--r, 2rem);
  overflow: hidden;
  cursor: pointer;
  background: #0b1a14 center/cover no-repeat;
  transition: width .15s linear, border-radius .15s linear;
}

.lv-video-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,.45));
}

.lv-play {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 50%;
  width: 5.5rem;
  height: 5.5rem;
  margin: -2.75rem 0 0 -2.75rem;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 0 rgba(255,255,255,.5);
  animation: lv-ping-w 2.4s ease-out infinite;
  transition: transform .3s;
}

.lv-play svg {
  width: 1.6rem;
  height: 1.6rem;
  margin-left: .25rem;
  fill: var(--lv-black);
}

.lv-video-card:hover .lv-play {
  transform: scale(1.08);
}

@keyframes lv-ping-w {
  0% {
    box-shadow: 0 0 0 0 rgba(255,255,255,.55);
  }

  100% {
    box-shadow: 0 0 0 26px rgba(255,255,255,0);
  }
}

.lv-video-cap {
  position: absolute;
  z-index: 1;
  left: 2rem;
  bottom: 1.75rem;
  color: #fff;
  font-size: 1.125rem;
  font-weight: 500;
}

@media screen and (max-width: 991px) {
  .lv-rx-grid,
  .lv-split,
  .lv-ops {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .lv-split.is-flip > :first-child {
    order: 0;
  }

  .lv-steps4 {
    grid-template-columns: 1fr 1fr;
  }

  .lv-rx-grid .lv-device {
    max-width: 19rem;
    margin: 0 auto;
  }
}

@media screen and (max-width: 767px) {
  .lv-steps4,
  .lv-checks {
    grid-template-columns: 1fr;
  }

  .lv-pin-card small {
    display: none;
  }

  .lv-pin-card {
    font-size: .6875rem;
    padding: .3rem .5rem .3rem .3rem;
  }

  .lv-pin-card img {
    width: 1.4rem;
    height: 1.4rem;
  }

  .lv-video-card {
    --w: 100% !important;
    aspect-ratio: 4 / 3;
  }

  .lv-phone-stage .lv-stage-card {
    display: none;
  }

  .lv-ops-panel {
    padding: 2rem 1rem;
    min-height: 26rem;
  }
}

/* a pin near the right edge: card opens to the left of its dot */
.lv-pin.is-right {
  transform: translate(-88%, -100%);
}

.lv-pin.is-right .lv-pin-dot {
  left: 88%;
}

.lv-pin.is-right .lv-pin-card::after {
  left: 88%;
}

/* a photographed phone (live_assets.device_mockup): the live screen sits in its window, in perspective */
.lv-phone3d .lv-fit {
  position: relative;
  overflow: visible;
}

.lv-phone3d .lv-screen {
  z-index: 1;
  transform-origin: 0 0;
  border-radius: 0;
}

.lv-phone3d .lv-shell {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  pointer-events: none;
  user-select: none;
}

.lv-phone3d .lv-fit::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: 10%;
  right: 8%;
  top: 6%;
  bottom: 2%;
  border-radius: 18%/8%;
  box-shadow: 0 50px 80px -10px rgba(12,40,20,.35), 0 12px 24px rgba(12,40,20,.18);
}

.lv-hero-phone.is-3d {
  width: 19rem;
  margin-left: 1rem;
}

@media screen and (max-width: 767px) {
  .lv-hero-phone.is-3d {
    width: 16rem;
    margin-left: 0;
  }
}

/* WhatsApp light theme (white screen) */
.lv-wa.is-light {
  --wa-bg: #efeae2;
  --wa-bar: #ffffff;
  --wa-in: #ffffff;
  --wa-out: #d9fdd3;
  --wa-text: #111b21;
  --wa-sub: #667781;
  --wa-link: #008069;
  --wa-green: #00a884;
}

.lv-wa.is-light .wa-feed {
  background-image: radial-gradient(rgba(17,27,33,.06) 1.2px, transparent 1.3px), radial-gradient(rgba(17,27,33,.04) 1px, transparent 1.1px);
}

.lv-wa.is-light .wa-bar {
  box-shadow: 0 1px 0 rgba(17,27,33,.08);
}

.lv-wa.is-light .wa-day {
  background: #ffffff;
  color: #54656f;
  box-shadow: 0 1px .5px rgba(11,20,26,.13);
}

.lv-wa.is-light .wa-meta {
  color: #667781;
}

.lv-wa.is-light .wa-acts {
  border-top-color: rgba(17,27,33,.1);
}

.lv-wa.is-light .wa-act + .wa-act {
  border-top-color: rgba(17,27,33,.1);
}

.lv-wa.is-light .wa-card,
.lv-wa.is-light .wa-doc,
.lv-wa.is-light .wa-quote {
  background: rgba(11,20,26,.05);
}

.lv-wa.is-light .wa-doc b {
  color: #111b21;
}

.lv-wa.is-light .wa-input {
  background: var(--wa-bg);
}

.lv-wa.is-light .wa-field {
  background: #ffffff;
  box-shadow: 0 1px .5px rgba(11,20,26,.13);
}

.lv-wa.is-light .wa-send {
  color: #fff;
}

.lv-wa.is-light .wa-sheet {
  background: #ffffff;
  color: #111b21;
  box-shadow: 0 -8px 30px rgba(0,0,0,.12);
}

.lv-wa.is-light .wa-row {
  border-top-color: rgba(17,27,33,.08);
}

.lv-wa.is-light .wa-row .wa-radio {
  border-color: #8696a0;
}

.lv-wa.is-light .wa-scrim.is-on {
  opacity: .6;
}

.lv-wa.is-light .wa-img {
  box-shadow: 0 0 0 1px rgba(11,20,26,.06);
}

.lv-wa.is-light .wa-msg.is-tail::before {
  border-top-color: var(--wa-in);
  border-right-color: var(--wa-in);
}

.lv-wa.is-light .wa-msg.is-out.is-tail::before {
  border-top-color: var(--wa-out);
  border-left-color: var(--wa-out);
  border-right-color: transparent;
}

.lv-wa.is-light .lv-status {
  color: #111b21;
}

.lv-wa.is-light .wa-typing {
  box-shadow: 0 1px .5px rgba(11,20,26,.13);
}

/* a floating card as a pill: round ends, the icon in a black circle, one line of text */
.lv-float-card.is-pill {
  border-radius: 999px;
  padding: .5rem 1.25rem .5rem .5rem;
  display: inline-flex;
}

.lv-float-card.is-pill .lv-fc-head {
  gap: .75rem;
}

.lv-float-card.is-pill .lv-fc-title {
  white-space: nowrap;
  font-size: 1rem;
}

.lv-fc-ico.is-black {
  background: var(--lv-black);
  color: #fff;
  border-radius: 50%;
  width: 2.5rem;
  height: 2.5rem;
}

.lv-orbit-stage .is-a {
  width: auto;
}

/* the pill that peeks out from behind the hero phone (by its volume buttons) and hides again */
.lv-hero-phone .lv-device {
  position: relative;
  z-index: 2;
}

.lv-peek {
  position: absolute;
  z-index: 1;
  left: 0;
  top: 19%;
}

.lv-peek .lv-float-card {
  transform: translateX(-3.35rem);
  background-color: transparent;
  box-shadow: none;
  animation: lv-peek 9s cubic-bezier(.65,0,.35,1) infinite;
  animation-delay: 2s;
}

@keyframes lv-peek {
  /* hidden: only the black icon shows -- the pill's white and shadow fade away */
  0%,
  12% {
    transform: translateX(-3.35rem);
    background-color: rgba(255,255,255,0);
    box-shadow: none;
  }

  20%,
  64% {
    transform: translateX(calc(-100% - 1.25rem));
    background-color: #fff;
    box-shadow: 0 24px 60px -12px rgba(12,4,7,.22), 0 0 0 1px rgba(12,4,7,.05);
  }

  74%,
  100% {
    transform: translateX(-3.35rem);
    background-color: rgba(255,255,255,0);
    box-shadow: none;
  }
}

.lv-peek .lv-fc-ico.is-black {
  box-shadow: 0 6px 16px -4px rgba(12,4,7,.4);
}

@media (prefers-reduced-motion: reduce) {
  .lv-peek .lv-float-card {
    animation: none;
    transform: translateX(calc(-100% - 1.25rem));
  }
}

/* ═══ hero: Atlas's after-delivery rating, as a white square card. The faces "tap" themselves one after
   another (live.js ratings), then Thanks!; a visitor can tap one too. ═══ */
.lv-rate {
  width: 15.5rem;
  aspect-ratio: 1;
  position: relative;
}

.lv-rate-in {
  position: relative;
  width: 100%;
  height: 100%;
}

.lv-rate-front,
.lv-rate-back {
  position: absolute;
  inset: 0;
  border-radius: 1.5rem;
  background: #fff;
  color: var(--lv-black);
  font-family: var(--apx-font);
  box-shadow: 0 30px 60px -20px rgba(12,4,7,.28), 0 0 0 1px rgba(12,4,7,.05);
  transition: opacity .45s ease, transform .55s cubic-bezier(.34,1.3,.64,1);
}

.lv-rate-front {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem .75rem .75rem;
  text-align: center;
}

.lv-rate-back {
  opacity: 0;
  transform: scale(.9);
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  text-align: center;
  padding: 1rem;
}

.lv-rate.is-done .lv-rate-front {
  opacity: 0;
  transform: scale(.94);
}

.lv-rate.is-done .lv-rate-back {
  opacity: 1;
  transform: none;
}

.lv-rate-q {
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.2;
}

.lv-rate-sub {
  font-size: .75rem;
  color: var(--lv-gray);
  margin-top: .2rem;
}

.lv-rate-faces {
  display: flex;
  justify-content: space-around;
  width: 100%;
}

.lv-mood {
  appearance: none;
  border: 0;
  background: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .35rem;
  font: 600 .72rem/1 var(--apx-font);
  color: var(--tint);
  transition: opacity .35s, transform .35s, filter .35s;
}

.lv-face {
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 50%;
  filter: drop-shadow(0 8px 10px rgba(120,70,0,.28)) drop-shadow(0 2px 2px rgba(120,70,0,.25));
  transition: transform .35s cubic-bezier(.34,1.56,.64,1);
  animation: lv-bob 3.2s ease-in-out infinite;
}

.lv-mood:nth-child(2) .lv-face {
  animation-delay: -1.05s;
}

.lv-mood:nth-child(3) .lv-face {
  animation-delay: -2.1s;
}

@keyframes lv-bob {
  0%,
  100% {
    transform: translateY(0) rotate(0);
  }

  50% {
    transform: translateY(-4px) rotate(-6deg);
  }
}

.lv-mood:hover .lv-face,
.lv-mood:focus-visible .lv-face {
  animation: none;
  transform: translateY(-6px) scale(1.12) rotate(-8deg);
}

.lv-mood:focus-visible {
  outline: none;
}

.lv-rate.is-picking .lv-mood:not(.is-on) {
  opacity: .3;
  filter: grayscale(.85);
  transform: scale(.9);
}

.lv-rate.is-picking .lv-mood.is-on .lv-face {
  animation: lv-pick .9s cubic-bezier(.34,1.56,.64,1) forwards;
}

@keyframes lv-pick {
  0% {
    transform: scale(1);
  }

  35% {
    transform: scale(.82);
  }

  70% {
    transform: scale(1.32) translateY(-8px) rotate(-12deg);
  }

  100% {
    transform: scale(1.2) translateY(-6px) rotate(0);
  }
}

.lv-tap-ring {
  position: absolute;
  left: 50%;
  top: 1.8rem;
  width: 3.6rem;
  height: 3.6rem;
  margin-left: -1.8rem;
  border-radius: 50%;
  border: 2px solid var(--tint);
  pointer-events: none;
  animation: lv-ring .7s ease-out forwards;
}

@keyframes lv-ring {
  from {
    transform: scale(.9);
    opacity: .9;
  }

  to {
    transform: scale(1.7);
    opacity: 0;
  }
}

.lv-mood {
  position: relative;
}

.lv-rate-later {
  font-size: .72rem;
  font-weight: 500;
  color: var(--lv-gray);
}

.lv-rate-check {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  background: #e7f8ec;
  display: grid;
  place-items: center;
  color: #1f9254;
  font-size: 2.5rem;
}

.lv-rate.is-done .lv-rate-check {
  animation: lv-check .6s .2s cubic-bezier(.34,1.56,.64,1) both;
}

@keyframes lv-check {
  from {
    transform: scale(.3);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.lv-rate-back b {
  font-size: 1.25rem;
  font-weight: 600;
}

.lv-rate-back small {
  font-size: .78rem;
  color: var(--lv-gray);
  line-height: 1.35;
  max-width: 11rem;
}

.lv-orbit-stage .is-b {
  width: auto;
}

/* ═══ hero: scannable receipt -- a tiny QR by the phone that opens into the full card when clicked ═══ */
.lv-qrcard {
  appearance: none;
  border: 0;
  cursor: pointer;
  font: inherit;
  text-align: center;
  background: #fff;
  border-radius: 1rem;
  padding: .45rem;
  box-shadow: 0 18px 40px -12px rgba(12,4,7,.25), 0 0 0 1px rgba(12,4,7,.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  width: 3.9rem;
  transition: width .55s cubic-bezier(.34,1.3,.64,1), padding .45s ease, border-radius .45s ease, gap .45s ease;
}

.lv-qrcard.is-open {
  width: 12.5rem;
  padding: 1rem 1rem .9rem;
  border-radius: 1.5rem;
  gap: .7rem;
}

.lv-qrbox {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1;
  padding: 0;
  transition: padding .45s ease;
}

.lv-qrcard.is-open .lv-qrbox {
  padding: .7rem;
}

.lv-qrbox img {
  display: block;
  width: 100%;
  height: 100%;
}

.lv-qrbox > i {
  position: absolute;
  width: 1.4rem;
  height: 1.4rem;
  border: 3px solid var(--lv-green);
  opacity: 0;
  transition: opacity .3s .2s;
}

.lv-qrcard.is-open .lv-qrbox > i {
  opacity: 1;
}

.lv-qrbox > i:nth-child(1) {
  left: 0;
  top: 0;
  border-right: 0;
  border-bottom: 0;
  border-radius: .55rem 0 0 0;
}

.lv-qrbox > i:nth-child(2) {
  right: 0;
  top: 0;
  border-left: 0;
  border-bottom: 0;
  border-radius: 0 .55rem 0 0;
}

.lv-qrbox > i:nth-child(3) {
  left: 0;
  bottom: 0;
  border-right: 0;
  border-top: 0;
  border-radius: 0 0 0 .55rem;
}

.lv-qrbox > i:nth-child(4) {
  right: 0;
  bottom: 0;
  border-left: 0;
  border-top: 0;
  border-radius: 0 0 .55rem 0;
}

.lv-qrscan {
  position: absolute;
  left: .4rem;
  right: .4rem;
  height: 2px;
  top: .6rem;
  background: linear-gradient(90deg, transparent, var(--lv-green), transparent);
  box-shadow: 0 0 10px var(--lv-green);
  animation: sx-scan 2.8s ease-in-out infinite;
  opacity: 0;
  transition: opacity .3s;
}

.lv-qrcard.is-open .lv-qrscan {
  opacity: 1;
}

.lv-qrlabel {
  display: block;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  white-space: nowrap;
  font-weight: 600;
  font-size: 1rem;
  color: var(--lv-black);
  transition: max-height .45s ease, opacity .3s ease;
}

.lv-qrcard.is-open .lv-qrlabel {
  max-height: 1.6rem;
  opacity: 1;
  transition-delay: .15s;
}

.lv-qrcard:not(.is-open):hover {
  transform: scale(1.06);
}

.lv-orbit-stage .is-c {
  width: auto;
}

@keyframes sx-scan {
  0%,
  100% {
    top: .6rem;
  }

  50% {
    top: calc(100% - .6rem);
  }
}

@media screen and (max-width: 767px) {
  .lv-rate {
    width: 12.5rem;
  }

  .lv-face {
    width: 2.9rem;
    height: 2.9rem;
  }

  .lv-rate-q {
    font-size: .82rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lv-face,
  .lv-qrscan {
    animation: none;
  }
}

/* the tiny receipt: a sharp little square with a chat-bubble tail pointing at the phone */
.lv-qrcard {
  position: relative;
}

.lv-qrcard:not(.is-open) {
  width: 2.6rem;
  padding: .25rem;
  border-radius: 0;
}

.lv-qrcard::after {
  content: "";
  position: absolute;
  right: -9px;
  top: 0;
  border-left: 10px solid #fff;
  border-bottom: 10px solid transparent;
  filter: drop-shadow(2px 1px 1px rgba(12,4,7,.06));
  transition: opacity .25s;
}

.lv-qrcard.is-open::after {
  opacity: 0;
}

/* the rating card comes out from behind the phone for each tap, and goes back in between */
.lv-orbit-stage .lv-stage-card.is-b {
  z-index: 1;
  transition: z-index 0s .35s;
}

.lv-orbit-stage .lv-stage-card.is-b.is-front {
  z-index: 3;
  transition: z-index 0s .25s;
}

.lv-rate {
  transform: translateX(-62%) scale(.62);
  opacity: 0;
  transition: transform .7s cubic-bezier(.65,0,.35,1), opacity .5s ease;
}

.lv-stage-card.is-front .lv-rate {
  transform: none;
  opacity: 1;
  transition: transform .75s cubic-bezier(.34,1.25,.64,1), opacity .35s ease;
}

@media (prefers-reduced-motion: reduce) {
  .lv-rate {
    transform: none;
    opacity: 1;
  }
}

/* programmes strip: one screen-wide set of four slots, so each logo shows once at a time while it moves */
.lv-trust-flow .lv-marquee-track {
  gap: 0;
}

.lv-trust-flow span {
  width: 25vw;
  display: flex;
  justify-content: center;
  align-items: center;
  flex: none;
}

.lv-trust-flow img {
  height: 3.25rem;
  width: auto;
  max-width: 70%;
  object-fit: contain;
}

@media screen and (max-width: 767px) {
  .lv-trust-flow span {
    width: 50vw;
  }

  .lv-trust-flow img {
    height: 2.6rem;
  }
}

.lv-trust {
  padding: 5.5rem 0 3.5rem;
}

.lv-trust-label {
  margin-bottom: 2rem;
}

.lv-trust-flow {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}

.lv-trust-flow img {
  height: 4.25rem;
  max-width: 80%;
}

@media screen and (max-width: 767px) {
  .lv-trust {
    padding-top: 3.5rem;
  }

  .lv-trust-flow img {
    height: 3rem;
  }
}

/* ═══ home: the zoom map (pinned while the camera flies from the world into Tanzania) ═══ */
.lv-zoom {
  position: relative;
  height: 320vh;
}

.lv-zoom-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.lv-zoom-head {
  padding-top: 6.5rem;
  gap: 1rem;
  flex: none;
}

.lv-zoom-head .lv-h2 {
  font-size: clamp(2rem, 3.6vw, 3rem);
}

.lv-zoom-stage {
  position: relative;
  flex: 1;
  min-height: 0;
  margin: 1rem 0 1.5rem;
}

.lv-zoom-stage canvas {
  position: absolute;
  inset: 0;
  display: block;
}

.lv-zoom-label {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  pointer-events: none;
  background: var(--lv-black);
  color: #fff;
  font-weight: 600;
  font-size: .9375rem;
  padding: .45rem .9rem;
  border-radius: 999px;
  box-shadow: 0 10px 24px -8px rgba(12,4,7,.4);
  white-space: nowrap;
}

.lv-zoom-stage .lv-pin {
  opacity: 0;
  transition: opacity .4s ease;
}

.lv-zoom-stage .lv-pin .lv-pin-card {
  transform: scale(.4) translateY(10px);
  transition: transform .55s cubic-bezier(.34,1.56,.64,1);
  transform-origin: 50% 100%;
}

.lv-zoom-stage .lv-pin.is-on {
  opacity: 1;
}

.lv-zoom-stage .lv-pin.is-on .lv-pin-card {
  transform: none;
}

@media screen and (max-width: 767px) {
  .lv-zoom {
    height: 260vh;
  }

  .lv-zoom-head {
    padding-top: 5.5rem;
  }

  .lv-zoom-head .lv-p {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lv-zoom {
    height: auto;
  }

  .lv-zoom-sticky {
    position: relative;
    height: 90vh;
  }
}

/* a pin whose card opens to the right of its dot */
.lv-pin.is-left {
  transform: translate(-12%, -100%);
}

.lv-pin.is-left .lv-pin-dot {
  left: 12%;
}

.lv-pin.is-left .lv-pin-card::after {
  left: 12%;
}

@media screen and (max-width: 767px) {
  /* no room on the right on phones: Dar es Salaam's card opens to the left */
  .lv-zoom-stage .lv-pin.is-left {
    transform: translate(-88%, -100%);
  }

  .lv-zoom-stage .lv-pin.is-left .lv-pin-dot,
  .lv-zoom-stage .lv-pin.is-left .lv-pin-card::after {
    left: 88%;
  }

  .lv-zoom-stage .lv-pin.is-right {
    transform: translate(-50%, -100%);
  }

  .lv-zoom-stage .lv-pin.is-right .lv-pin-dot,
  .lv-zoom-stage .lv-pin.is-right .lv-pin-card::after {
    left: 50%;
  }
}

.lv-rx-phone {
  width: 19rem;
  margin: 0 auto;
}

.lv-rx-phone .lv-fit::before {
  box-shadow: 0 50px 90px -10px rgba(0,0,0,.6), 0 0 60px rgba(40,180,36,.12);
}

/* ═══ home: prescriptions as a Minpilot grid ═══════════════════════════ */
.lv-rxb {
  background: var(--lv-soft);
}

.lv-rxb .lv-tile {
  min-height: 25rem;
}

/* 1. the camera viewfinder over a prescription: scan, flash, "Photo 1 received" */
.lv-snap {
  position: relative;
  width: 100%;
  max-width: 26rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.lv-snap-view {
  position: relative;
  width: 13rem;
  height: 11rem;
  border-radius: 1rem;
  background: #1a1d1b;
  display: grid;
  place-items: center;
  overflow: hidden;
  box-shadow: 0 20px 40px -18px rgba(12,4,7,.5);
}

.lv-snap-view > i {
  position: absolute;
  width: 1.5rem;
  height: 1.5rem;
  border: 3px solid var(--lv-lime);
  z-index: 2;
}

.lv-snap-view > i:nth-child(1) {
  left: .7rem;
  top: .7rem;
  border-right: 0;
  border-bottom: 0;
  border-radius: .5rem 0 0 0;
}

.lv-snap-view > i:nth-child(2) {
  right: .7rem;
  top: .7rem;
  border-left: 0;
  border-bottom: 0;
  border-radius: 0 .5rem 0 0;
}

.lv-snap-view > i:nth-child(3) {
  left: .7rem;
  bottom: .7rem;
  border-right: 0;
  border-top: 0;
  border-radius: 0 0 0 .5rem;
}

.lv-snap-view > i:nth-child(4) {
  right: .7rem;
  bottom: .7rem;
  border-left: 0;
  border-top: 0;
  border-radius: 0 0 .5rem 0;
}

.lv-rxpaper {
  width: 7.5rem;
  height: 8.5rem;
  background: #f7f2e3;
  border-radius: .25rem;
  padding: .7rem .65rem;
  transform: rotate(-4deg);
  position: relative;
  box-shadow: 0 6px 14px rgba(0,0,0,.35);
  animation: lv-rxsettle 6s ease-in-out infinite;
}

.lv-rxpaper b {
  font: italic 800 1.5rem/1 Georgia, serif;
  color: #2c5a8c;
}

.lv-rxpaper span {
  display: block;
  height: 3px;
  border-radius: 2px;
  background: #b9c8de;
  margin-top: .55rem;
}

.lv-rxpaper span:nth-of-type(2n) {
  width: 70%;
}

.lv-rxpaper span:nth-of-type(3n) {
  width: 52%;
}

.lv-rxpaper em {
  position: absolute;
  right: .55rem;
  bottom: .5rem;
  font: italic 600 .65rem/1 Georgia, serif;
  color: #1f3f6b;
  transform: rotate(-6deg);
}

@keyframes lv-rxsettle {
  0%,
  100% {
    transform: rotate(-6deg) translateY(4px) scale(.96);
  }

  30%,
  70% {
    transform: rotate(-3deg) translateY(0) scale(1);
  }
}

.lv-snap .lv-qrscan {
  opacity: 1;
  z-index: 2;
  left: 1.2rem;
  right: 1.2rem;
  animation: lv-snapscan 6s ease-in-out infinite;
}

@keyframes lv-snapscan {
  0%,
  10% {
    top: 1rem;
    opacity: 0;
  }

  15% {
    opacity: 1;
  }

  40% {
    top: calc(100% - 1rem);
  }

  45%,
  100% {
    opacity: 0;
    top: calc(100% - 1rem);
  }
}

.lv-snap-flash {
  position: absolute;
  inset: 0;
  background: #fff;
  opacity: 0;
  z-index: 3;
  animation: lv-flash 6s ease-out infinite;
}

@keyframes lv-flash {
  0%,
  46% {
    opacity: 0;
  }

  48% {
    opacity: .9;
  }

  60%,
  100% {
    opacity: 0;
  }
}

.lv-snap-chip {
  display: flex;
  align-items: center;
  gap: .7rem;
  background: #fff;
  border-radius: 1rem;
  padding: .6rem .7rem;
  box-shadow: 0 16px 36px -16px rgba(12,4,7,.3);
  animation: lv-snapchip 6s cubic-bezier(.34,1.3,.64,1) infinite;
}

@keyframes lv-snapchip {
  0%,
  50% {
    opacity: 0;
    transform: translateY(12px) scale(.95);
  }

  58%,
  92% {
    opacity: 1;
    transform: none;
  }

  100% {
    opacity: 0;
    transform: translateY(6px);
  }
}

.lv-snap-thumb {
  width: 2.4rem;
  height: 2.8rem;
  border-radius: .3rem;
  background: #f7f2e3 linear-gradient(transparent 30%, #b9c8de 30% 36%, transparent 36% 52%, #b9c8de 52% 58%, transparent 58%);
  flex: none;
}

.lv-snap-chip b {
  display: block;
  font-size: .9375rem;
}

.lv-snap-chip small {
  color: var(--lv-gray);
  font-size: .8125rem;
}

.lv-snap-done {
  margin-left: auto;
  color: #008069;
  font-weight: 600;
  font-size: .875rem;
  padding: .35rem .7rem;
  border-radius: .6rem;
  background: #e7f8ec;
}

/* 3. the approval as WhatsApp bubbles (dark) */
.lv-bubbles {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: .4rem;
  padding: 1rem;
  border-radius: 1rem;
  background: #0b141a;
  background-image: radial-gradient(rgba(255,255,255,.035) 1.2px, transparent 1.3px);
  background-size: 22px 22px;
}

.lv-bubble {
  position: relative;
  max-width: 92%;
  background: #202c33;
  color: #e9edef;
  border-radius: .6rem;
  padding: .55rem .7rem 1.1rem;
  font: .8125rem/1.4 "Segoe UI", Roboto, sans-serif;
}

.lv-bubble b {
  display: block;
  margin-bottom: .25rem;
}

.lv-bubble span {
  position: absolute;
  right: .55rem;
  bottom: .3rem;
  font-size: .65rem;
  color: #8696a0;
}

.lv-tile.lv-in .lv-bubble {
  animation: wa-in .5s .6s both cubic-bezier(.2,.8,.2,1);
}

.lv-tile.lv-in .lv-bubble.is-2 {
  animation-delay: 1.2s;
}

/* 4. pay */
.lv-pay {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.lv-pay-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .6rem;
}

.lv-pay-logos img,
.lv-pay-logos span {
  width: 3.1rem;
  height: 3.1rem;
  border-radius: .8rem;
  object-fit: cover;
  background: #fff;
  box-shadow: 0 8px 18px -10px rgba(12,4,7,.35), 0 0 0 1px rgba(12,4,7,.05);
  animation: lv-bob 3.4s ease-in-out infinite;
}

.lv-pay-logos > :nth-child(2) {
  animation-delay: -.7s;
}

.lv-pay-logos > :nth-child(3) {
  animation-delay: -1.4s;
}

.lv-pay-logos > :nth-child(4) {
  animation-delay: -2.1s;
}

.lv-pay-logos > :nth-child(5) {
  animation-delay: -2.8s;
}

.lv-pay-logos span {
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  color: var(--lv-forest);
  background: var(--lv-cumulus);
}

.lv-pay-btn {
  background: var(--lv-forest);
  color: #fff;
  font-weight: 600;
  border-radius: 999px;
  padding: .7rem 2rem;
  animation: lv-ping-g 2.2s ease-out infinite;
}

@keyframes lv-ping-g {
  0% {
    box-shadow: 0 0 0 0 rgba(31,72,66,.45);
  }

  100% {
    box-shadow: 0 0 0 16px rgba(31,72,66,0);
  }
}

/* 5. pickup */
.lv-pickup {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .9rem;
}

.lv-pickup-note {
  display: flex;
  align-items: center;
  gap: .7rem;
  background: #fff;
  border-radius: 1rem;
  padding: .7rem .9rem;
  width: 100%;
  box-shadow: 0 16px 36px -18px rgba(12,4,7,.3), 0 0 0 1px rgba(12,4,7,.04);
}

.lv-pickup-note b {
  display: block;
  font-size: .9375rem;
}

.lv-pickup-note small {
  color: var(--lv-gray);
  font-size: .8125rem;
}

.lv-pickup-qr {
  display: flex;
  align-items: center;
  gap: .7rem;
  font-size: .8125rem;
  color: var(--lv-gray);
}

.lv-pickup-qr img {
  width: 4.25rem;
  height: 4.25rem;
  padding: .3rem;
  background: #fff;
  border-radius: .5rem;
  box-shadow: 0 0 0 1px rgba(12,4,7,.06);
}

@media (prefers-reduced-motion: reduce) {
  .lv-rxpaper,
  .lv-snap .lv-qrscan,
  .lv-snap-flash,
  .lv-snap-chip,
  .lv-pay-logos > *,
  .lv-pay-btn {
    animation: none;
  }

  .lv-snap-chip {
    opacity: 1;
  }
}

/* Pathways: a full-width tile, copy on the left, the two cards floating on the right */
.lv-tile.is-full {
  grid-column: 1 / -1;
}

.lv-pathways {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  padding: 2.5rem 2.5rem 2.5rem 3rem;
  min-height: 0;
  overflow: hidden;
  background: radial-gradient(70% 90% at 85% 50%, #eaf8e3 0%, #fff 70%);
}

.lv-pathways-copy {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

.lv-pathways .lv-checks {
  margin-top: .5rem;
}

.lv-soon {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .8125rem;
  font-weight: 600;
  color: var(--lv-forest);
  background: var(--lv-cumulus);
  border-radius: 999px;
  padding: .35rem .8rem;
}

.lv-soon i {
  width: .5rem;
  height: .5rem;
  border-radius: 50%;
  background: var(--lv-green);
  animation: lv-ping 2s ease-out infinite;
}

.lv-pathways-art {
  position: relative;
  display: grid;
  place-items: center;
  perspective: 1000px;
}

.lv-pathways-art .lv-blob {
  position: absolute;
  width: 22rem;
  height: 22rem;
  border-radius: 50%;
  filter: blur(30px);
  opacity: .7;
  background: radial-gradient(circle, rgba(191,255,55,.6), rgba(40,180,36,.15) 55%, transparent 70%);
}

.lv-pathways-art img {
  position: relative;
  width: 100%;
  max-width: 30rem;
  height: auto;
  transform-style: preserve-3d;
  animation: lv-cards 7s ease-in-out infinite;
  transition: transform .5s cubic-bezier(.2,.7,.2,1);
}

.lv-pathways:hover .lv-pathways-art img {
  animation-play-state: paused;
  transform: rotateY(-12deg) rotateX(8deg) scale(1.04);
}

@keyframes lv-cards {
  0%,
  100% {
    transform: translateY(0) rotate(0);
  }

  50% {
    transform: translateY(-14px) rotate(-2deg);
  }
}

@media screen and (max-width: 991px) {
  .lv-pathways {
    grid-template-columns: 1fr;
    padding: 2rem;
  }

  .lv-pathways-art {
    order: -1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lv-pathways-art img,
  .lv-soon i {
    animation: none;
  }
}

/* ═══ Apilox PRO prescription review (APILOX_PRO/prescription-review.html "book" panel) ═══ */
.lv-prx {
  --tf: #1f4842;
  --cu: #ecf4e9;
  --line: #e6e6e6;
  --t2: #6b6f6e;
  --t3: #9a9c9b;
  --amber: #c88a2c;
  --green: #1f9254;
  --green-bg: #e7f8ec;
  --red: #f73540;
  --red-bg: #fdeceb;
  position: relative;
  width: 100%;
  background: #fff;
  border: 1px solid var(--line);
  font-family: "LvSans", -apple-system, "Segoe UI", sans-serif;
  color: #1a1a1a;
  font-size: 12px;
  line-height: 1.35;
  box-shadow: 0 24px 50px -24px rgba(12,4,7,.3);
  overflow: hidden;
  text-align: left;
}

.lv-prx * {
  box-sizing: border-box;
}

.prx-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  color: var(--t2);
}

.prx-head b {
  color: #1a1a1a;
}

.prx-x {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-size: 11px;
}

.prx-book {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  min-height: 21.5rem;
  perspective: 900px;
}

.prx-left {
  padding: 11px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-right: 1px solid var(--line);
}

.prx-photo {
  display: block;
  width: 46px;
  height: 60px;
  background: #f7f2e3;
  border: 1px solid var(--line);
  padding: 5px;
  position: relative;
  overflow: hidden;
}

.prx-photo b {
  font: italic 800 13px/1 Georgia, serif;
  color: #2c5a8c;
}

.prx-photo i {
  display: block;
  height: 2px;
  background: #b9c8de;
  margin-top: 4px;
}

.prx-photo i:nth-of-type(2n) {
  width: 70%;
}

.prx-photo em {
  position: absolute;
  right: 3px;
  bottom: 3px;
  font: italic 600 5px/1 Georgia, serif;
  color: #1f3f6b;
}

.prx-sum {
  background: var(--cu);
  border: 1px solid var(--line);
  padding: 8px 9px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
}

.prx-sum b {
  display: block;
  font-size: 12px;
  font-weight: 800;
}

.prx-sum small {
  font-size: 10px;
  color: var(--t2);
}

.prx-pill {
  color: #fff;
  font-size: 9.5px;
  font-weight: 800;
  padding: 5px 9px;
  display: inline-flex;
  gap: 4px;
  align-items: center;
  white-space: nowrap;
  transition: background .4s;
}

.prx-pill.is-pending {
  background: var(--amber);
}

.prx-pill.is-approved {
  background: var(--green);
}

.prx-contact {
  display: flex;
  gap: 8px;
  align-items: center;
}

.prx-av {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--cu);
  color: var(--tf);
  font-weight: 700;
  font-size: 11px;
  display: grid;
  place-items: center;
  flex: none;
}

.prx-contact b {
  display: block;
  font-size: 11.5px;
}

.prx-contact small {
  font-size: 9.5px;
  color: var(--t3);
}

.prx-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  padding: 7px 0;
  border-top: 1px solid rgba(31,72,66,.1);
}

.prx-row b {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
}

.prx-row small {
  font-size: 9.5px;
  color: var(--t2);
}

.prx-reject {
  background: var(--red-bg);
  color: var(--red);
  font-size: 10px;
  font-weight: 700;
  padding: 5px 9px;
}

.prx-lock {
  color: var(--tf);
  background: rgba(31,72,66,.1);
  font-size: 9px;
  font-weight: 800;
  padding: 3px 6px;
  border-radius: 6px;
  display: inline-flex;
  gap: 3px;
  align-items: center;
  margin-left: auto;
}

.prx-approve {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: var(--tf);
  color: #fff;
  border-radius: 6px;
  padding: 9px 0;
  font-size: 12px;
  font-weight: 700;
  margin-top: auto;
}

.prx-right {
  position: relative;
  padding: 11px;
}

.prx-right > [data-page] {
  position: absolute;
  inset: 11px;
  opacity: 0;
  transform: rotateY(18deg);
  transform-origin: left center;
  pointer-events: none;
  transition: opacity .5s cubic-bezier(.22,1,.36,1), transform .5s cubic-bezier(.22,1,.36,1);
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.prx-right > [data-page].is-on {
  opacity: 1;
  transform: none;
}

.prx-title {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--t3);
  display: flex;
  gap: 5px;
  align-items: center;
}

.prx-title.is-green {
  color: var(--green);
}

.prx-placeholder p {
  font-size: 11px;
  color: var(--t2);
  margin: 0;
}

.prx-form label {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--t2);
}

.prx-in {
  display: block;
  min-height: 25px;
  border: 1.5px solid var(--line);
  border-radius: 6px;
  padding: 5px 7px;
  font-size: 11px;
  font-weight: 500;
  color: #1a1a1a;
  text-transform: none;
  letter-spacing: 0;
  transition: border-color .25s;
  white-space: nowrap;
  overflow: hidden;
}

.prx-in.lv-pressed,
.prx-in:not(:empty):not(.is-num) {
  border-color: var(--tf);
}

.prx-line {
  border: 1.5px solid var(--line);
  border-radius: 8px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.prx-line-head {
  font-size: 11px;
  font-weight: 700;
  display: flex;
  gap: 6px;
  align-items: center;
}

.prx-line-head small {
  font-weight: 400;
  color: var(--t2);
}

.prx-check {
  width: 15px;
  height: 15px;
  border-radius: 3px;
  background: var(--tf);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 10px;
  flex: none;
}

.prx-qty {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.prx-done .prx-title {
  font-size: 11px;
}

.prx-done {
  background: var(--green-bg);
  border: 1px solid #bfe8cd;
  padding: 10px;
}

.prx-dl {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 4px 6px;
  font-size: 11px;
}

.prx-dl span {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--t2);
  padding-top: 2px;
}

.prx-small {
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--t2);
  margin-top: 4px;
}

.prx-dline {
  font-size: 11px;
  font-weight: 600;
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}

.prx-by {
  font-size: 10px;
  color: var(--t2);
  margin-top: auto;
}

.prx-toast {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translate(-50%, 20px);
  opacity: 0;
  background: #1a1a1a;
  color: #fff;
  border-radius: 14px;
  padding: 7px 12px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  transition: .35s ease;
  z-index: 5;
}

.prx-toast.is-on {
  transform: translate(-50%, 0);
  opacity: 1;
}

.lv-prx .lv-finger {
  width: 22px;
  height: 22px;
  left: -4px;
  top: -2px;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  backdrop-filter: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 3l14 8-6.2 1.6L9.6 19z' fill='%23111' stroke='%23fff' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: contain;
  filter: drop-shadow(0 2px 3px rgba(0,0,0,.3));
}

.lv-ops-pane.is-wide {
  max-width: 31rem;
}

/* a live demo inside a lifted Minpilot card, in place of its image */
/* the demo fills the card from its top edge down to the bottom, side to side -- no margin, no padding */
.mp-scope .mp-feature-card:has(.mp-live-wrap) {
  overflow: hidden;
}

.mp-scope .mp-live-wrap {
  flex: 1;
  display: flex;
  align-items: stretch;
  padding: 0;
  margin: 0 calc(-1 * var(--_spacing---spacer--spacing-9xl)) calc(-1 * var(--_spacing---spacer--spacing-9xl));
}

.mp-scope .mp-live-wrap .lv-prx {
  flex: 1;
  max-width: none;
  display: flex;
  flex-direction: column;
  border: 0;
  border-top: 1px solid #e6e6e6;
  box-shadow: none;
}

.mp-scope .mp-live-wrap .prx-book {
  flex: 1;
}

img.prx-av,
img.lv-w-av {
  object-fit: cover;
  border-radius: 50%;
}

.mp-scope .lv-soon-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--lv-forest);
  cursor: default;
}

.lv-soon-dot {
  width: .5rem;
  height: .5rem;
  border-radius: 50%;
  background: var(--lv-green);
  animation: lv-ping 2s ease-out infinite;
}

/* lifted Minpilot sections: the badge text in Apilox green instead of Minpilot's blue */
.mp-scope .mp-badge-text {
  color: var(--lv-forest);
}

/* mobile money logos in round badges that flip 180° one after another, left to right (back: a green tick) */
.mp-scope .lv-coins {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 2.5rem 0;
  min-height: 14rem;
  perspective: 700px;
}

.lv-coin {
  width: 4.5rem;
  height: 4.5rem;
  display: block;
}

.lv-coin-in {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  animation: lv-coinflip 6s cubic-bezier(.65,0,.35,1) infinite;
  animation-delay: calc(var(--i) * .45s);
}

@keyframes lv-coinflip {
  0%,
  12% {
    transform: rotateY(0);
  }

  24%,
  55% {
    transform: rotateY(180deg);
  }

  67%,
  100% {
    transform: rotateY(360deg);
  }
}

.lv-coin-face {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  overflow: hidden;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  background: #fff;
  box-shadow: 0 10px 22px -10px rgba(12,4,7,.35), 0 0 0 1px rgba(12,4,7,.06);
  display: grid;
  place-items: center;
}

.lv-coin-face img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lv-coin-face.is-back {
  transform: rotateY(180deg);
  background: var(--lv-forest);
  color: var(--lv-lime);
  font-size: 1.9rem;
}

@media (prefers-reduced-motion: reduce) {
  .lv-coin-in {
    animation: none;
  }
}

/* ═══ Apilox app CareBook (carebook_screen.dart) ═══ */
.lv-ax.cb {
  overflow: hidden;
}

.cb-stage {
  position: absolute;
  left: 0;
  right: 0;
  top: 110px;
  padding: 6px 16px;
  opacity: 0;
  transform: translateX(20px);
  pointer-events: none;
  transition: opacity .35s ease, transform .4s ease;
}

.cb-stage.is-on {
  opacity: 1;
  transform: none;
}

.cb-stage h4 {
  font-size: 18px;
  font-weight: 700;
  margin: 4px 0 0;
  color: #1a1a1a;
}

.cb-stage p {
  font-size: 13.5px;
  color: var(--t2);
  margin: 6px 0 0;
  line-height: 1.4;
}

.cb-muted {
  font-size: 12.5px;
  color: var(--t3);
}

.cb-field {
  margin-top: 18px;
  height: 46px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 13px 14px;
  font-size: 15px;
}

.cb-field:empty::before {
  content: "Phone number, e.g. 0712345678";
  color: #b5b7b6;
}

.cb-btn {
  margin-top: 14px;
  background: var(--tf);
  color: #fff;
  border-radius: 9px;
  text-align: center;
  padding: 13px;
  font-size: 15px;
  font-weight: 600;
  transition: opacity .3s;
}

.cb-btn.is-off {
  opacity: .4;
}

.cb-label {
  font-family: "LvSans", sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .5px;
  color: var(--t2);
  text-transform: uppercase;
  margin: 16px 2px 8px;
}

.cb-reasons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.cb-reasons span {
  border-radius: 10px;
  padding: 12px 10px;
  color: #fff;
  font-size: 12.5px;
  font-weight: 800;
  opacity: .62;
  transition: opacity .3s, box-shadow .3s;
}

.cb-reasons span.is-on {
  opacity: 1;
  box-shadow: 0 3px 10px var(--g);
}

.cb-otp {
  display: flex;
  gap: 8px;
  margin: 18px 0 8px;
}

.cb-otp span {
  flex: 1;
  height: 52px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 20px;
  font-weight: 800;
  background: #fff;
}

.cb-otp span:not(:empty) {
  border-color: var(--tf);
}

.cb-sms {
  position: absolute;
  z-index: 40;
  left: 10px;
  right: 10px;
  top: 60px;
  background: rgba(250,250,250,.96);
  border-radius: 18px;
  padding: 10px 14px;
  font-size: 12.5px;
  line-height: 1.35;
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
  transform: translateY(-140%);
  transition: transform .45s cubic-bezier(.2,.8,.2,1);
  color: #1a1a1a;
}

.cb-sms b {
  display: block;
  font-size: 11px;
  color: #6b6f6e;
  margin-bottom: 2px;
}

.cb-sms.is-on {
  transform: none;
}

.cb-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 3px 10px rgba(0,0,0,.05);
  padding: 13px 14px;
}

.cb-id {
  display: flex;
  gap: 12px;
  align-items: center;
}

.cb-id img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
}

.cb-id b {
  display: block;
  font-size: 16px;
  font-weight: 800;
}

.cb-id small {
  font-size: 12px;
  color: var(--t2);
}

.cb-session {
  margin-top: 10px;
  background: var(--cu);
  border-radius: 14px;
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cb-session span {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .5px;
  color: var(--tf);
}

.cb-session b {
  font-size: 20px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--tf);
}

.cb-k {
  font-size: 10.5px;
  font-weight: 800;
  color: var(--t3);
  margin: 2px 0 6px;
}

.cb-chips {
  display: flex;
  gap: 6px;
  margin-bottom: 8px;
}

.cb-chips span {
  border-radius: 8px;
  padding: 5px 10px;
  font-size: 11.5px;
  font-weight: 700;
}

.cb-chips .is-red {
  color: #f73540;
  background: #fdeceb;
}

.cb-chips .is-amber {
  color: #c88a2c;
  background: #fbf1e0;
}

.cb-med {
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 600;
}

.cb-med-h {
  display: flex;
  justify-content: space-between;
  margin-bottom: 4px;
}

.cb-med-h b {
  font-size: 12.5px;
  font-weight: 700;
}

.cb-med-h small {
  font-size: 10.5px;
  color: var(--t3);
  font-weight: 500;
}

/* the half phone in the integration card */
.lv-phone3d.is-half .lv-fit {
  overflow: hidden;
}

.lv-phone3d.is-half .lv-fit::before {
  display: none;
}

/* "Backed across Africa" (Minpilot testimonials, adapted): Apilox colours, name labels, programme logos */
.mp-scope .mp-section.mp-testimonial {
  background-color: #f3f7f1;
}

/* the stat boxes keep Minpilot's own colours (orange / lilac) */
.mp-scope .mp-testimonial-card-wrap {
  position: relative;
}

.lv-person {
  position: absolute;
  left: .9rem;
  bottom: .9rem;
  z-index: 2;
  background: rgba(12,4,7,.72);
  color: #fff;
  border-radius: .9rem;
  padding: .5rem .8rem;
  backdrop-filter: blur(6px);
  font-size: .8125rem;
  line-height: 1.25;
  max-width: calc(50% - 1.8rem);
}

.lv-person b {
  display: block;
  font-size: .9375rem;
}

.lv-person small {
  opacity: .8;
}

.lv-strip-logo {
  height: 2.6rem;
  width: auto;
  filter: brightness(0);
}

/* the Apilox logo with its tagline, all black */
.lv-prog-logos {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

.lv-prog-logos img {
  height: 2.6rem;
  width: auto;
}

/* Minpilot FAQ (_mp-faq.html): Webflow's open/close interaction, redone in CSS -- the answer
   slides open, the plus turns into a minus */
.mp-scope .mp-faq-tab-link {
  display: block;
  cursor: pointer;
}

.mp-scope .mp-faq-p-wrap {
  max-height: 0;
  opacity: 0;
  transition: max-height .5s cubic-bezier(.22,1,.36,1), opacity .35s ease;
}

.mp-scope .mp-faq-tab-link.mp-w--current .mp-faq-p-wrap {
  max-height: 16rem;
  opacity: 1;
}

.mp-scope .mp-faq-arrow-wrap {
  position: relative;
  flex: none;
}

.mp-scope .mp-faq-arrow.mp-absolute {
  transition: transform .35s ease, opacity .35s ease;
}

.mp-scope .mp-faq-tab-link.mp-w--current .mp-faq-arrow.mp-absolute {
  transform: rotate(90deg);
  opacity: 0;
}

/* Minpilot's tilted laptop (_mp-dashboard.html, live_assets.laptop): the live PRO dashboard in its screen */
.mp-scope .lv-laptop {
  display: block;
  height: auto;
}

.lv-laptop .lv-screen {
  width: 1440px;
  height: 900px;
  background: #fbfbfd;
}

.lv-laptop .lv-fit::before {
  display: none;
}

#faq .mp-section {
  padding-bottom: 8rem;
}

/* Minpilot leaves this space to the next section's top spacer */
@media screen and (max-width: 767px) {
  #faq .mp-section {
    padding-bottom: 4.5rem;
  }
}

/* ═══ Atlas widgets (live/demos/atlas-widgets.js): Atlas's dark look (apps/atlas spotify/ screens) ═══ */
.lv-w.is-at {
  --g: #1ed760;
  background: #121212;
  color: #fff;
  font-family: "LvFigtree", -apple-system, sans-serif;
  box-shadow: 0 24px 60px -20px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.06);
}

.at-w-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.at-w-head.is-flat {
  margin: 0 0 8px;
}

.at-w-head img {
  width: 42px;
  height: 42px;
  border-radius: 6px;
  object-fit: cover;
  background: #2a2a2a;
  flex: none;
}

.at-w-head b,
.at-w-row b,
.at-w-ph b {
  display: block;
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.at-w-head small,
.at-w-row small,
.at-w-ph small,
.at-w-status small,
.at-w-done small {
  display: block;
  color: #b3b3b3;
  font-size: 11.5px;
  margin-top: 2px;
}

.at-w-head .at-w-pill {
  margin-left: auto;
}

.at-w-sec {
  font-weight: 800;
  font-size: 15px;
  letter-spacing: -.2px;
  margin-bottom: 10px;
}

.at-w-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.at-w-bar .at-w-sec {
  margin: 0;
  font-size: 13px;
}

.at-w-tabs {
  display: flex;
  gap: 6px;
}

.at-w-tabs span {
  padding: 5px 11px;
  border-radius: 999px;
  background: #2a2a2a;
  font-size: 11.5px;
  font-weight: 700;
  transition: background .3s, color .3s;
}

.at-w-tabs span.is-on {
  background: var(--g);
  color: #000;
}

.at-w-list {
  position: relative;
}

.at-w-row {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 50px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 6px;
  border-radius: 8px;
  transition: transform .6s cubic-bezier(.22,1,.36,1), background .4s;
}

.at-w-row > div {
  min-width: 0;
}

.at-w-row img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
  flex: none;
}

.at-w-price {
  margin-left: auto;
  font-weight: 800;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.at-w-row.is-best {
  background: rgba(30,215,96,.12);
}

.at-w-row.is-best .at-w-price {
  color: var(--g);
}

.at-w-pill {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(30,215,96,.16);
  color: var(--g);
  white-space: nowrap;
}

.at-w-pill.is-amber {
  background: rgba(245,165,36,.16);
  color: #f5a524;
}

.at-w-status b {
  display: block;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.3px;
}

.at-w-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  margin: 12px 0;
}

.at-w-steps i {
  height: 4px;
  border-radius: 2px;
  background: #2a2a2a;
  transition: background .5s;
}

.at-w-steps i.is-on {
  background: var(--g);
}

.at-w-timeline {
  display: grid;
  gap: 7px;
}

.at-w-tl {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #6a6a6a;
  font-size: 12.5px;
  transition: color .4s;
}

.at-w-tl span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 2px solid #3a3a3a;
  transition: background .4s, border-color .4s;
}

.at-w-tl.is-on {
  color: #fff;
}

.at-w-tl.is-on span {
  background: var(--g);
  border-color: var(--g);
}

.at-w-rx {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 12px;
  align-items: center;
}

.at-w-paper {
  position: relative;
  height: 96px;
  background: #fffdf6;
  border-radius: 8px;
  padding: 9px 8px;
  overflow: hidden;
}

.at-w-paper b {
  font: italic 800 20px/1 Georgia, serif;
  color: #2c5a8c;
}

.at-w-paper i {
  display: block;
  height: 3px;
  border-radius: 2px;
  background: #c9d4e6;
  margin-top: 7px;
}

.at-w-paper span {
  position: absolute;
  right: 4px;
  bottom: 8px;
  transform: rotate(-12deg) scale(1.4);
  opacity: 0;
  border: 2px solid #1f9254;
  color: #1f9254;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .5px;
  padding: 2px 5px;
  border-radius: 4px;
  text-transform: uppercase;
  transition: .4s cubic-bezier(.22,1,.36,1);
}

.at-w-paper.is-ok span {
  opacity: 1;
  transform: rotate(-12deg);
}

.at-w-cta {
  margin-top: 12px;
  text-align: center;
  padding: 11px;
  border-radius: 999px;
  background: #2a2a2a;
  color: #b3b3b3;
  font-weight: 800;
  font-size: 13px;
  transition: background .4s, color .4s;
}

.at-w-cta.is-go {
  background: var(--g);
  color: #000;
}

.at-w-wallets {
  display: grid;
  gap: 8px;
}

.at-w-wallet {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  background: #1f1f1f;
  border: 1.5px solid transparent;
  transition: border-color .3s;
}

.at-w-wallet img {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  object-fit: contain;
  background: #fff;
}

.at-w-wallet b {
  font-size: 13px;
}

.at-w-wallet i {
  margin-left: auto;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid #535353;
  transition: .3s;
}

.at-w-wallet.is-on {
  border-color: var(--g);
}

.at-w-wallet.is-on i {
  border: 5px solid var(--g);
}

.at-w-done {
  position: absolute;
  inset: auto 14px 14px;
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border-radius: 12px;
  background: #1f1f1f;
  opacity: 0;
  transform: translateY(10px);
  transition: .4s cubic-bezier(.22,1,.36,1);
}

.at-w-done.is-on {
  opacity: 1;
  transform: none;
}

.at-w-done .lv-i {
  font-size: 26px;
  color: var(--g);
}

.at-w-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.at-w-ph {
  padding: 10px 8px;
  border-radius: 10px;
  background: #1a1a1a;
  text-align: center;
  transition: background .35s, transform .35s;
  min-width: 0;
}

.at-w-ph img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
  display: block;
  margin: 0 auto 6px;
}

.at-w-ph b {
  font-size: 12px;
}

.at-w-ph small {
  font-size: 10.5px;
}

.at-w-ph.is-on {
  background: #2a2a2a;
  transform: translateY(-3px);
}

.lv-tile-stage.is-night {
  background: linear-gradient(180deg, transparent, #e9f7ee 55%);
}

/* a real web app in the desktop frame (app-frame demo): designed at 1440x900 */
.lv-desktop.is-web .lv-screen {
  width: 1440px;
  height: 900px;
}

.lv-desktop.is-web .lv-fit {
  background: #000;
}

/* the photographed iPhone in a dark band */
.lv-dark-phone.is-3d {
  width: 19rem;
}

@media screen and (max-width: 991px) {
  .lv-dark-phone.is-3d {
    width: 16rem;
  }
}

/* ═══ the company page (live/pages/company.html: Minpilot's company page, adapted) ═══ */
/* programme logos: Webflow's marquee, redone in CSS (each list holds the logos twice) */
.mp-scope .mp-logo-marque-main {
  overflow: hidden;
  display: flex;
  width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.mp-scope .mp-marque-list {
  animation: lv-marquee 30s linear infinite;
  padding-right: var(--_spacing---spacer--spacing-9xl);
}

.mp-scope .co-logo {
  height: 2.5rem;
  width: auto;
  flex: none;
}

/* the wide photo plays our story video */
.mp-scope .mp-image-wrapper[data-apx-video] {
  position: relative;
  cursor: pointer;
}

.mp-scope .mp-image-wrapper[data-apx-video]::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,.35));
}

.mp-scope .mp-image-wrapper:hover .lv-play {
  transform: scale(1.08);
}

@media (prefers-reduced-motion: reduce) {
  .mp-scope .mp-marque-list {
    animation: none;
  }
}

/* the timeline's year cards in Apilox colours (Minpilot: blue / lemon / violet) */
.mp-scope .mp-journey-card-top {
  background-color: #1f4842;
}

.mp-scope .mp-journey-card-top.mp-_02 {
  background-color: #bfff37;
}

.mp-scope .mp-journey-card-top.mp-_03 {
  background-color: #28b424;
}

/* the team: seven people, Minpilot's four columns on a wide screen */
#team .mp-team-grid {
  grid-template-columns: repeat(4, 1fr);
}

@media screen and (max-width: 991px) {
  #team .mp-team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media screen and (max-width: 479px) {
  #team .mp-team-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* a template page's hero with the Apilox gradient behind it (content.py: pricing) */
.apx-mesh-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.apx-mesh-hero > .lv-mesh,
.apx-mesh-hero > .lv-dots {
  z-index: -1;
}

/* ═══ the Atlas page (Minpilot's Solutions + Accounting Automation sections, adapted) ═══ */
/* Minpilot's rainbow cards in Apilox's greens */
.mp-scope .mp-operator-tab-content,
.mp-scope .mp-feateru-right {
  background: radial-gradient(60% 55% at 18% 12%, #bfff37 0, transparent 70%), radial-gradient(55% 50% at 88% 18%, #5bffc3 0, transparent 70%),
    radial-gradient(65% 60% at 75% 92%, #28b424 0, transparent 70%), radial-gradient(55% 55% at 8% 88%, #97f05e 0, transparent 70%), #ecf4e9;
}

/* hero: the Atlas web on the laptop, the Atlas app in front of it */
.at-hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  align-items: center;
}

.at-hero-stage {
  position: relative;
  width: 100%;
  padding-bottom: 3rem;
}

.at-hero-stage .lv-laptop {
  width: 112%;
  margin-left: -4%;
}

.at-hero-phone {
  position: absolute;
  left: -2%;
  bottom: 0;
  width: 26%;
  z-index: 3;
}

.at-hero-phone .lv-phone {
  padding: .35rem;
  border-radius: 2rem;
}

.at-hero-phone .lv-phone .lv-fit {
  border-radius: 1.7rem;
}

/* numbered list: only the picked item shows its text (Webflow did this with an interaction) */
.mp-scope .mp-operator-tab-link {
  cursor: pointer;
}

.mp-scope .mp-operator-p-wrap {
  max-height: 0;
  opacity: 0;
  transition: max-height .5s cubic-bezier(.22,1,.36,1), opacity .35s ease;
}

.mp-scope .mp-operator-tab-link.mp-w--current .mp-operator-p-wrap {
  max-height: 12rem;
  opacity: 1;
}

.mp-scope .mp-operator-tab-content .mp-w-tab-pane {
  padding: 2.5rem 1.5rem;
}

.mp-scope .mp-operator-tab-content .mp-w-tab-pane.mp-w--tab-active {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 28.75rem;
  animation: at-pane-in .5s cubic-bezier(.22,1,.36,1);
}

@keyframes at-pane-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(.98);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.at-op-w {
  max-width: 24rem;
}

/* dark notes: an icon in place of a customer's logo */
.at-note-ico {
  font-size: 1.75rem;
  color: #bfff37;
}

/* the two rows: the real iPhone on the gradient card */
.mp-scope .mp-feateru-right {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  overflow: hidden;
}

.at-row-phone {
  width: 17rem;
  margin-bottom: -6rem;
}

@media screen and (max-width: 991px) {
  .at-hero-stage {
    max-width: 40rem;
    margin: 2rem auto 0;
  }

  .at-row-phone {
    width: 15rem;
  }
}

@media screen and (max-width: 479px) {
  .at-hero-phone {
    width: 30%;
  }

  .at-row-phone {
    width: 12.5rem;
    margin-bottom: -4rem;
  }
}

.mp-scope .mp-transactions-card-bottom.mp-full .mp-counter-text {
  white-space: nowrap;
  font-size: clamp(2rem, 4vw, 3.5rem);
}

/* How it works (_mp-how.html) stacked on a phone: the two columns become one list in step order (01 02 03 04) */
@media screen and (max-width: 479px) {
  .mp-scope .mp-how-it-work-left,
  .mp-scope .mp-how-it-work-right {
    display: contents;
  }

  .mp-scope .mp-how-it-work-line {
    display: none;
  }

  .mp-scope .mp-how-it-work-left .mp-how-it-work-card:nth-child(1) {
    order: 1;
  }

  .mp-scope .mp-how-it-work-right .mp-how-it-work-card:nth-child(1) {
    order: 2;
  }

  .mp-scope .mp-how-it-work-left .mp-how-it-work-card:nth-child(2) {
    order: 3;
  }

  .mp-scope .mp-how-it-work-right .mp-how-it-work-card:nth-child(2) {
    order: 4;
  }
}

/* the company page's dark "future" button: white text on black (Minpilot's variant, which a later section's
   black-text rule would otherwise override) */
#future .mp-_2ndry-button .mp-button-item-main {
  background-color: #000;
}

#future .mp-_2ndry-button .mp-button-text {
  color: #fff;
}

/* ═══ the contact page (Minpilot's contact page, adapted) ═══ */
/* the map: our dotted world (live_assets.contact_map), so the pin sits on the real place */
.mp-scope .mp-map-wrapper.ct-map {
  position: relative;
  display: block;
  height: auto;
  background: none;
}

.ct-map-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 360 / 165.6;
}

.mp-scope .mp-country-card.ct-pin {
  position: absolute;
  inset: auto;
  transform: translate(-50%, calc(-100% - 1.1rem));
  white-space: nowrap;
  max-width: none;
  box-shadow: 0 14px 30px -12px rgba(12,40,20,.35);
}

.mp-scope .ct-pin .mp-cube {
  inset: auto auto -.75rem 50%;
  margin-left: -.75rem;
}

.ct-flag {
  flex: none;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
}

.ct-dot {
  position: absolute;
  width: .7rem;
  height: .7rem;
  margin: -.35rem 0 0 -.35rem;
  border-radius: 50%;
  background: #28b424;
  z-index: 8;
  box-shadow: 0 0 0 0 rgba(40,180,36,.55);
  animation: ct-ping 2s ease-out infinite;
}

@keyframes ct-ping {
  to {
    box-shadow: 0 0 0 1.25rem rgba(40,180,36,0);
  }
}

.mp-scope .ct-map .mp-map-color {
  background-color: #bfff37;
}

.mp-scope .ct-map .mp-map-color.mp-_03 {
  background-color: #5bffc3;
}

/* the round social buttons in the help card */
.mp-scope .mp-social-wrapper .sx-social {
  background: #fff;
  border: 1px solid #e6e8e7;
  color: #0c0407;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.mp-scope .mp-social-wrapper .sx-social:hover {
  color: #0c0407;
}

@media screen and (max-width: 767px) {
  .mp-scope .mp-country-card.ct-pin {
    padding: .5rem .75rem .75rem;
  }

  .ct-flag {
    width: 1.6rem;
    height: 1.6rem;
  }
}

/* home map, far away: Tanzania's flag card (the contact page's map card), pointing at Tanzania */
.lv-zoom-flag {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .55rem 1rem .55rem .55rem;
  border-radius: .9rem;
  background: #fff;
  color: var(--lv-black);
  box-shadow: 0 14px 30px -12px rgba(12,40,20,.35);
  white-space: nowrap;
  font-size: 1rem;
  font-weight: 600;
  opacity: 1;
  z-index: 3;
}

.lv-zoom-flag-ico {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  flex: none;
}

.lv-zoom-flag > i {
  position: absolute;
  left: 50%;
  bottom: -.7rem;
  width: 1.4rem;
  height: .75rem;
  margin-left: -.7rem;
  background: #fff;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}

/* close up: every other Apilox pharmacy as a dot on its town */
.lv-zoom-stage .lv-pin.is-mini {
  transform: translate(-50%, -50%);
  width: .75rem;
  height: .75rem;
}

.lv-zoom-stage .lv-pin.is-mini .lv-pin-dot {
  position: static;
  display: block;
  margin: 0;
}

@media screen and (max-width: 767px) {
  .lv-zoom-flag {
    font-size: .875rem;
  }

  .lv-zoom-flag-ico {
    width: 1.75rem;
    height: 1.75rem;
  }
}

/* on a phone the two northern cards (Mwanza, Arusha) would touch: Arusha's hangs just below its dot */
@media screen and (max-width: 767px) {
  .lv-zoom-stage .lv-pin.is-below {
    transform: translate(-88%, .9rem);
  }

  .lv-zoom-stage .lv-pin.is-below .lv-pin-dot {
    top: -.9rem;
    bottom: auto;
  }

  .lv-zoom-stage .lv-pin.is-below .lv-pin-card::after {
    display: none;
  }
}

/* home map, close up: the other pharmacies as small chips (logo + name) above their dot */
.lv-zoom-stage .lv-pin.is-chip .lv-pin-card {
  padding: .3rem .6rem .3rem .3rem;
  gap: .4rem;
  border-radius: 999px;
}

.lv-zoom-stage .lv-pin.is-chip .lv-pin-card img {
  width: 1.5rem;
  height: 1.5rem;
}

.lv-zoom-stage .lv-pin.is-chip .lv-pin-card b {
  font-size: .75rem;
  white-space: nowrap;
}

.lv-zoom-stage .lv-pin.is-chip .lv-pin-dot {
  width: .6rem;
  height: .6rem;
  margin-left: -.3rem;
  bottom: -.9rem;
}

@media screen and (max-width: 767px) {
  /* a phone: chips show the logo only */
  .lv-zoom-stage .lv-pin.is-chip .lv-pin-card {
    padding: .2rem;
  }

  .lv-zoom-stage .lv-pin.is-chip .lv-pin-card b {
    display: none;
  }

  .lv-zoom-stage .lv-pin.is-chip .lv-pin-card img {
    width: 1.25rem;
    height: 1.25rem;
  }
}

/* a chip that hangs below its dot (Health First, under the Apilox pharma card in Dar es Salaam) */
.lv-zoom-stage .lv-pin.is-chip.is-below {
  transform: translate(-50%, .9rem);
}

.lv-zoom-stage .lv-pin.is-chip.is-below .lv-pin-dot {
  top: -.9rem;
  bottom: auto;
}

.lv-zoom-stage .lv-pin.is-chip.is-below .lv-pin-card::after {
  display: none;
}

/* ═══ the closing banner (Minpilot's, before every footer: site_chrome.apply) ═══ */
/* frame and background: Minpilot's own (its colours are Apilox's too) */
/* the hand holding the phone, where Minpilot's hand with the cards is: out of the card's bottom-right corner */
/* (wholesale.png, its screen cut out: live_assets.hand_phone) it comes up from behind the footer as you scroll */
.mp-scope .mp-cta-absolute-image.cta-hand {
  width: 21rem;
  max-width: none;
  inset: auto -2rem -16rem auto;
  z-index: 2;
  transform: translateY(calc(var(--rise, 0) * 45%));
  will-change: transform;
}

.cta-hand {
  aspect-ratio: 700 / 1073;
}

.sx-banner {
  position: relative;
  z-index: 1;
}

.sx-footer {
  z-index: 3;
}

.cta-hand .cta-hand-dev {
  position: absolute;
  inset: 0;
}

.cta-hand .lv-fit::before {
  display: none;
}

.cta-hand .cta-hand-dev:last-child .lv-screen {
  transition: opacity .9s ease;
}

.cta-hand:not(.is-b) .cta-hand-dev:last-child .lv-screen {
  opacity: 0;
}

.mp-scope .mp-cta-wrapper {
  margin-bottom: 4rem;
}

@media screen and (max-width: 991px) {
  .mp-scope .mp-cta-absolute-image.cta-hand {
    width: 14rem;
    inset: auto -1rem -11rem auto;
  }
}

@media screen and (max-width: 767px) {
  .mp-scope .mp-cta-absolute-image.cta-hand {
    position: relative;
    inset: auto;
    display: block;
    margin: 2rem auto -14rem;
    width: 14rem;
  }

  .mp-scope .mp-cta-wrapper {
    margin-bottom: 0;
  }
}

/* the /apilox bento: real Apilox PRO pages (pro-demo/, app-frame) at phone width in a phone, cut by the tile's edge */
.lv-phone.is-pro-m .lv-screen {
  width: 420px;
  height: 760px;
}

.lv-phone.is-pro-m .lv-fit {
  background: #fbfbfd;
}

.tile-phone {
  width: 15rem;
  height: 19rem;
  overflow: hidden;
  margin-bottom: -1.75rem;
  border-radius: 2.6rem 2.6rem 0 0;
  flex: none;
}

.lv-tile.is-wide .tile-phone {
  width: 17rem;
  height: 21rem;
}

@media screen and (max-width: 479px) {
  .tile-phone,
  .lv-tile.is-wide .tile-phone {
    width: 15rem;
    height: 19rem;
  }
}

/* a real PRO page at desktop width (1180x760) in a desktop frame, rising out of a wide tile */
.lv-desktop.is-pro-d .lv-screen {
  width: 1180px;
  height: 760px;
}

.lv-desktop.is-pro-d .lv-fit {
  background: #fbfbfd;
}

.tile-desk {
  width: 100%;
  max-width: 34rem;
  margin-bottom: -1.75rem;
  flex: none;
}

.tile-desk .lv-desktop {
  border-radius: 1.25rem 1.25rem 0 0;
  padding-bottom: 0;
}

.lv-tile:not(.is-wide) .tile-phone {
  height: 24rem;
}

/* the PRO pages in the /apilox tiles, now in the photographed iPhone: its window is 420x912 at phone width */
.lv-phone3d.is-pro-m .lv-screen {
  width: 420px;
  height: 912px;
  background: #fbfbfd;
}

.tile-phone {
  border-radius: 0;
}

.tile-phone .lv-phone3d .lv-fit::before {
  display: none;
}

/* a PRO page in the iPhone starts below the camera island, like an app under the status bar */
.lv-phone3d.is-pro-m .lv-screen {
  padding-top: 58px;
  box-sizing: border-box;
}

.at-hero-phone .lv-phone3d {
  width: 100%;
}

/* the full-width Prescription review tile: the PRO page on a wide screen, the app's screen in the iPhone on a phone */
.rx-stage .rx-desk {
  max-width: 52rem;
}

.rx-stage .rx-phone {
  display: none;
}

@media screen and (max-width: 767px) {
  .rx-stage .rx-desk {
    display: none;
  }

  .rx-stage .rx-phone {
    display: block;
  }
}

/* data-under (phone-16-pro-max.png): the live screen over the phone's own white glass, the island redrawn on top */
.lv-phone3d[data-under] .lv-shell {
  z-index: 0;
}

.lv-phone3d[data-under] .lv-screen {
  z-index: 1;
  overflow: hidden;
}

.lv-island-ov {
  position: absolute;
  z-index: 3;
  background: #0b0b0c;
  border-radius: 999px;
  pointer-events: none;
}

/* home: the four steps on a phone get a bit more room at the sides */
@media screen and (max-width: 767px) {
  #steps .lv-steps4 {
    padding: 0 .75rem;
    gap: 2.5rem;
  }
}

/* the gradient shape behind the laptop (home, for pharmacies) stays inside the section */
#pharmacies .mp-section {
  overflow-x: clip;
}

/* Atlas "promises" icons: Apilox forest green on the white tile */
.at-note-ico {
  color: #1f4842;
}

/* the company hero's two buttons stay side by side on a phone (Minpilot stacks them) */
@media screen and (max-width: 479px) {
  .mp-scope .mp-home-hero-btn-wrap {
    flex-flow: row;
    flex-wrap: nowrap;
    gap: .625rem;
  }
}

/* the FAQ's +/- buttons stay round at every screen size (Minpilot makes them 2rem x 1.5rem on phones) */
.mp-scope .mp-faq-arrow-wrap {
  width: 1.75rem !important;
  height: 1.75rem !important;
  aspect-ratio: 1;
  flex: none;
  border-radius: 50%;
}

/* home video: square corners at every scroll position */
#video .lv-video-card {
  border-radius: 0 !important;
}

/* the team on a phone: a swipe carousel -- one big card, the next one peeking in, dots under it */
@media screen and (max-width: 767px) {
  #team .mp-team-grid {
    display: flex;
    gap: .875rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    margin: 0 -1.25rem;
    padding: 0 1.25rem .25rem;
    scroll-padding-left: 1.25rem;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  #team .mp-team-grid::-webkit-scrollbar {
    display: none;
  }

  #team .mp-team-card {
    flex: 0 0 72%;
    scroll-snap-align: start;
  }

  #team .mp-team-image {
    aspect-ratio: 618 / 730;
    object-fit: cover;
  }

  .team-dots {
    display: flex;
    justify-content: center;
    gap: .4rem;
    margin-top: 1.25rem;
  }

  .team-dots i {
    width: .5rem;
    height: .5rem;
    border-radius: 999px;
    background: #d9dcd9;
    transition: width .3s, background .3s;
  }

  .team-dots i.is-on {
    width: 1.5rem;
    background: #1f4842;
  }
}

@media screen and (min-width: 768px) {
  .team-dots {
    display: none;
  }
}

/* the team: each person's qualification right after their name, above the role */
#team .team-edu {
  font-size: .875rem;
  line-height: 1.4;
  font-weight: 500;
  color: #1f4842;
}

/* the big APILOX® behind the laptop: sized to the screen so the whole word and its ® always fit */
.mp-scope .mp-cta-main .mp-cta-text {
  font-size: min(17.5rem, 18vw);
}

/* ── ax-cubcart: the Apilox app's CubCart (demos/ax-cubcart.js) ── */
/* sizes from pharmacy_cubcart_screen.dart, pharmacy_cubcart_new_request_screen.dart, core/pro/pro_kit.dart,
   cubcart_received_tab.dart / cubcart_sent_tab.dart and apilox_shared's apilox_center_alert.dart */
.axcc {
  --pr: #1f4842;
  --cu: #ecf4e9;
  --mint: #bcf49d;
  --bd: #e6e6e6;
  --t1: #1a1a1a;
  --t2: #6b6f6e;
  --t3: #9a9c9b;
  --ios: #8e8e93;
  --red: #f73540;
  --blue: #1d5fd6;
  --green: #1f9254;
  --bg: #fbfbfd;
  width: 390px;
  height: 844px;
  position: relative;
  overflow: hidden;
  background: var(--bg);
  color: var(--t1);
  font-family: "LvSans", -apple-system, Roboto, sans-serif;
  font-size: 14px;
  line-height: normal;
  font-optical-sizing: none;
  font-variation-settings: "opsz" 10;
  -webkit-font-smoothing: antialiased;
}

.axcc * {
  box-sizing: border-box;
}

.axcc .lv-status {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 62px;
  padding-top: 4px;
  z-index: 30;
}

.axcc .ax-home-ind {
  z-index: 60;
}

.axcc .lv-pressed {
  opacity: .7;
  filter: none;
}

/* pages + the CupertinoPageRoute slide */
.axcc-pg {
  position: absolute;
  inset: 0;
  padding-top: 62px;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  transition: transform .5s cubic-bezier(.2,.8,.2,1), filter .5s;
}

.axcc-pg.is-out {
  transform: translateX(100%);
}

.axcc-pg.is-under {
  transform: translateX(-30%);
  filter: brightness(.92);
}

.axcc-pg.is-instant {
  transition: none;
}

/* ProHeader: ProIconButton 38, 10 between, 12 to the title (ProText.title 24/800, subtitle 13/500) */
.axcc-hd {
  flex: none;
  display: flex;
  align-items: center;
  padding: 2px 16px 6px;
  min-height: 46px;
}

.axcc-btn {
  position: relative;
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 19px;
  color: var(--t1);
  background: radial-gradient(circle, #f1f1f2 62%, #f6f6f7 100%);
  border: 1px solid rgba(0,0,0,.045);
  box-shadow: 0 1px 2px rgba(20,22,31,.06);
}

.axcc-btn + .axcc-btn {
  margin-left: 10px;
}

.axcc-tt {
  flex: 1;
  min-width: 0;
  margin-left: 12px;
}

.axcc-tt b {
  display: block;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.1;
  font-variation-settings: "opsz" 12;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.axcc-tt small {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  font-weight: 500;
  color: var(--t2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.axcc-pbtn {
  position: relative;
  flex: none;
  margin-left: 12px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--pr);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 18px;
  box-shadow: 0 1px 4px rgba(20,22,31,.12);
  transition: opacity .25s, transform .25s;
}

.axcc-pbtn.is-gone {
  opacity: 0;
  transform: scale(.6);
}

.axcc-badge {
  position: absolute;
  right: -6px;
  top: -6px;
  min-width: 17px;
  height: 17px;
  padding: 0 5px;
  border-radius: 9px;
  background: var(--red);
  border: 1.5px solid var(--bg);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  display: grid;
  place-items: center;
  line-height: 1;
}

.axcc-badge.is-pop {
  animation: axcc-pop .35s cubic-bezier(.3,1.6,.5,1);
}

@keyframes axcc-pop {
  0% {
    transform: scale(.3);
  }

  100% {
    transform: scale(1);
  }
}

/* hub: ProChipTabs + the date filter, the ProStatStack KPI card, the tab's ProCard list */
.axcc-tabs {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  margin-top: 10px;
}

.axcc-chips {
  display: flex;
  padding: 4px;
  border-radius: 30px;
  background: var(--cu);
}

.axcc-chip {
  padding: 9px 16px;
  border-radius: 26px;
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(31,72,66,.75);
  transition: background .18s, box-shadow .18s;
}

.axcc-chip.is-on {
  background: #fff;
  color: var(--pr);
  font-weight: 800;
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
}

.axcc-cal {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--pr);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 18px;
  box-shadow: 0 1px 4px rgba(20,22,31,.12);
}

.axcc-body {
  flex: 1;
  position: relative;
  overflow: hidden;
  margin-top: 6px;
}

.axcc-body > div {
  position: absolute;
  inset: 0;
  transition: opacity .25s;
}

.axcc-hide {
  opacity: 0;
  pointer-events: none;
}

.axcc-load {
  display: grid;
  place-items: center;
  color: var(--ios);
}

.axcc-kpi {
  margin: 10px 16px 4px;
  background: #fff;
  border: 1px solid var(--bd);
  border-radius: 20px;
  overflow: hidden;
}

.axcc-kpi > div {
  padding: 16px 18px;
}

.axcc-kpi > div + div {
  border-top: 1px solid var(--bd);
}

.axcc-kpi span {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--t2);
}

.axcc-kpi b {
  display: block;
  margin-top: 8px;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.1;
  transition: color .4s;
}

.axcc-kpi b.is-tick {
  color: var(--green);
}

.axcc-kpi small {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--t3);
}

.axcc-card {
  margin: 4px 16px 24px;
  background: #fff;
  border: 1px solid var(--bd);
  border-radius: 20px;
  overflow: hidden;
}

.axcc-card[hidden] {
  display: none;
}

.axcc-row {
  display: flex;
  align-items: center;
  padding: 12px 14px;
}

.axcc-row + .axcc-row {
  border-top: 1px solid var(--bd);
}

.axcc-row.is-new {
  animation: axcc-new 1.6s ease;
}

@keyframes axcc-new {
  0% {
    background: var(--cu);
  }

  70% {
    background: var(--cu);
  }

  100% {
    background: #fff;
  }
}

.axcc-av {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--cu);
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
  margin-right: 12px;
}

.axcc-rt {
  flex: 1;
  min-width: 0;
}

.axcc-rt b {
  display: block;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.axcc-rt small {
  display: block;
  margin-top: 3px;
  font-size: 13px;
  font-weight: 500;
  color: var(--t3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.axcc-pill {
  flex: none;
  margin-left: 8px;
  padding: 4px 9px;
  border-radius: 9px;
  font-size: 10.5px;
  font-weight: 800;
  color: var(--blue);
  background: #eaf1fd;
}

.axcc-pill.is-amber {
  color: #c88a2c;
  background: #fff2df;
}

.axcc-pill.is-green {
  color: var(--green);
  background: #e7f8ec;
}

.axcc-pill.is-red {
  color: var(--red);
  background: #fdeceb;
}

.axcc-row > .lv-i-caret-right {
  flex: none;
  margin-left: 6px;
  font-size: 15px;
  color: var(--t3);
}

/* new request, step 0: CupertinoSearchTextField + the list/grid toggle, the catalog in a white 20-radius box */
.axcc-sr {
  flex: none;
  display: flex;
  align-items: center;
  padding: 0 16px;
}

.axcc-sr.is-pharm {
  padding-top: 8px;
}

.axcc-search {
  flex: 1;
  min-width: 0;
  height: 36px;
  border-radius: 10px;
  background: rgba(118,118,128,.12);
  display: flex;
  align-items: center;
  padding: 0 6px 0 7px;
  color: var(--ios);
}

.axcc-search > .lv-i {
  flex: none;
  font-size: 19px;
  margin-right: 5px;
}

.axcc-st {
  flex: 1;
  min-width: 0;
  font-size: 17px;
  color: #000;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.axcc-st:empty::before {
  content: attr(data-ph);
  color: rgba(60,60,67,.6);
}

.axcc-st.is-focus::after,
.axcc-in.is-focus::after,
.axcc-st.is-focus:empty::before,
.axcc-in.is-focus:empty::before {
  content: "";
  display: inline-block;
  width: 2px;
  height: 20px;
  margin: 0 1px;
  vertical-align: -4px;
  background: var(--pr);
  animation: axcc-blink 1s steps(1) infinite;
}

.axcc-st.is-focus:empty::after {
  content: attr(data-ph);
  display: inline;
  width: auto;
  height: auto;
  margin: 0;
  background: none;
  animation: none;
  color: rgba(60,60,67,.6);
}

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

.axcc-sx {
  flex: none;
  display: none;
  width: 18px;
  height: 18px;
  color: rgba(60,60,67,.3);
}

.axcc-search.has-text .axcc-sx {
  display: block;
}

.axcc-vt {
  flex: none;
  margin-left: 8px;
  display: flex;
  padding: 3px;
  background: #fff;
  border: 1px solid var(--bd);
  border-radius: 10px;
}

.axcc-vt span {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  font-size: 16px;
  color: var(--t2);
}

.axcc-vt span.is-on {
  background: var(--cu);
  color: var(--pr);
}

.axcc-scroll {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  position: relative;
}

.axcc-box {
  margin: 0 16px 16px;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
}

.axcc-med {
  display: flex;
  align-items: center;
  padding: 10px 14px;
}

.axcc-med + .axcc-med {
  border-top: 1px solid var(--bd);
}

.axcc-med.is-out {
  display: none;
}

.axcc-med.is-first {
  border-top: 0;
}

.axcc-img {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 9px;
  background: var(--cu) center/cover no-repeat;
  margin-right: 12px;
}

.axcc-med svg {
  flex: none;
  display: block;
}

/* new request, step 1: the pharmacy picker (channel header, 52-wide channel columns, round checkboxes, black Send) */
.axcc-fun {
  flex: none;
  margin-left: 8px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--bd);
  display: grid;
  place-items: center;
  font-size: 17px;
  color: var(--t2);
}

.axcc-ch {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 30px;
  margin-top: 10px;
  height: 22px;
}

.axcc-col {
  flex: none;
  width: 52px;
  display: grid;
  place-items: center;
}

.axcc-proi {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--cu) center/16px no-repeat;
}

.axcc-wai {
  font-size: 21px;
  line-height: 1;
  color: #25d366;
}

.axcc-vs {
  flex: none;
  width: 1px;
  height: 20px;
  background: var(--bd);
}

.axcc-ph {
  display: flex;
  align-items: center;
  padding: 10px 14px;
}

.axcc-ph + .axcc-ph {
  border-top: 1px solid var(--bd);
}

.axcc-ph .axcc-av {
  width: 36px;
  height: 36px;
}

.axcc-ph .axcc-rt b {
  font-size: 12.5px;
}

.axcc-ph .axcc-rt small {
  margin-top: 1px;
  font-size: 11px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.axcc-ph .axcc-vs {
  height: 28px;
}

.axcc-cb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  border: 1.2px solid #bcbebd;
  display: grid;
  place-items: center;
  color: #fff;
  transition: background .15s, border-color .15s;
}

.axcc-cb svg {
  opacity: 0;
  transition: opacity .15s;
}

.axcc-cb.is-on svg {
  opacity: 1;
}

.axcc-cb.is-off {
  background: #f0f0f0;
  border-color: var(--bd);
}

.axcc-cb.is-d.is-on {
  background: var(--blue);
  border-color: var(--blue);
}

.axcc-cb.is-w.is-on {
  background: var(--green);
  border-color: var(--green);
}

.axcc-sendbar {
  flex: none;
  height: 96px;
  padding: 0 16px 46px;
  display: grid;
  place-items: center;
}

.axcc-send {
  width: 72%;
  height: 50px;
  border-radius: 30px;
  background: #000;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 17px;
  font-weight: 700;
}

/* the add-to-cart ApiloxCenterAlert (showCupertinoDialog: 20% barrier, scale-in) */
.axcc-dim {
  position: absolute;
  inset: 0;
  z-index: 40;
  background: rgba(0,0,0,.2);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
}

.axcc-dim.is-on {
  opacity: 1;
}

.axcc-al {
  position: absolute;
  z-index: 42;
  left: 28px;
  right: 28px;
  top: 50%;
  padding: 26px 24px 20px;
  border-radius: 28px;
  background: #fafcfb;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%) scale(1.18);
  transition: opacity .25s, transform .3s cubic-bezier(.2,.8,.2,1);
}

.axcc-al.is-on {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}

.axcc-al h4 {
  margin: 0;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--t1);
}

.axcc-al p {
  margin: 10px 0 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--t2);
}

.axcc-in {
  display: block;
  margin-top: 14px;
  min-height: 36px;
  padding: 7px;
  background: #fff;
  border: .5px solid rgba(0,0,0,.2);
  border-radius: 5px;
  font-size: 17px;
  line-height: 21px;
  color: #000;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
}

.axcc-in:empty::before {
  content: attr(data-ph);
  color: rgba(60,60,67,.3);
}

.axcc-in.is-focus:empty::after {
  content: attr(data-ph);
  display: inline;
  width: auto;
  height: auto;
  margin: 0;
  background: none;
  animation: none;
  color: rgba(60,60,67,.3);
}

.axcc-step {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 14px;
  color: var(--pr);
}

.axcc-step > span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
}

.axcc-step b {
  width: 64px;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.1;
  color: var(--t1);
}

.axcc-acts {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

.axcc-acts span {
  flex: 1;
  padding: 13px 0;
  border-radius: 24px;
  font-size: 15px;
  font-weight: 700;
}

.axcc-acts .is-n {
  background: var(--cu);
  color: var(--pr);
}

.axcc-acts .is-p {
  background: var(--pr);
  color: #fff;
}

/* the cart (_CartScreen): rows with pack + qty, trash, Send quotation (mint) and Clear cart (red outline) */
.axcc-cart {
  padding: 10px 16px 20px;
}

.axcc-cart .axcc-box {
  margin: 0;
}

.axcc-ci {
  display: flex;
  align-items: center;
  padding: 12px 14px;
}

.axcc-ci + .axcc-ci {
  border-top: 1px solid var(--bd);
}

.axcc-ci .axcc-img {
  margin-right: 10px;
}

.axcc-ci .axcc-rt small {
  margin-top: 0;
}

.axcc-ci .axcc-rt em {
  display: block;
  margin-top: 2px;
  font-style: normal;
  font-size: 13px;
  font-weight: 600;
  color: var(--t3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.axcc-ci svg {
  flex: none;
  display: block;
}

.axcc-ci .is-chev {
  margin-right: 10px;
  color: var(--t3);
}

.axcc-sq {
  margin-top: 20px;
  height: 50px;
  border-radius: 14px;
  background: var(--mint);
  color: var(--pr);
  display: grid;
  place-items: center;
  font-size: 17px;
  font-weight: 700;
}

.axcc-clr {
  margin-top: 10px;
  padding: 11px 0;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--red);
  color: var(--red);
  text-align: center;
  font-size: 17px;
  font-weight: 700;
}

/* CupertinoActivityIndicator */
.axcc-act {
  width: 20px;
  height: 20px;
  position: relative;
  display: inline-block;
  color: var(--ios);
}

.axcc-act i {
  position: absolute;
  left: 9px;
  top: 0;
  width: 2px;
  height: 6px;
  border-radius: 1px;
  background: currentColor;
  transform-origin: 1px 10px;
  animation: axcc-act .8s steps(8) infinite;
}

@keyframes axcc-act {
  0% {
    opacity: 1;
  }

  100% {
    opacity: .25;
  }
}

/* ── ax-credit: the Apilox app's customer credit (demos/ax-credit.js) ── */
/* tokens: view_credit.dart / customer_credit_detail_screen.dart (APILOX PRO credit.html :root) */
.axcr {
  --fo: #1F4842;
  --cu: #ECF4E9;
  --t1: #1A1A1A;
  --t2: #6B6F6E;
  --t3: #9A9C9B;
  --bd: #E6E6E6;
  --gr: #1F9254;
  --grl: #E7F8EC;
  --red: #F73540;
  --bg: #FBFBFD;
  width: 390px;
  height: 844px;
  position: relative;
  overflow: hidden;
  background: var(--bg);
  color: var(--t1);
  font-family: "LvSans", -apple-system, Roboto, sans-serif;
  font-size: 14px;
  line-height: normal;
  font-optical-sizing: none;
  font-variation-settings: "opsz" 10;
  -webkit-font-smoothing: antialiased;
}

.axcr * {
  box-sizing: border-box;
}

.axcr svg {
  display: block;
  flex: none;
}

.axcr .lv-status {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 62px;
  padding-top: 4px;
  z-index: 30;
}

.axcr .ax-home-ind {
  z-index: 60;
}

/* pages + the CupertinoPageRoute slide */
.axcr-pg {
  position: absolute;
  inset: 0;
  padding-top: 62px;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  transition: transform .5s cubic-bezier(.2,.8,.2,1), filter .5s;
}

.axcr-pg.is-out {
  transform: translateX(100%);
  box-shadow: none;
}

.axcr-dt {
  box-shadow: -6px 0 18px rgba(0,0,0,.08);
}

.axcr-pg.is-under {
  transform: translateX(-30%);
  filter: brightness(.9);
}

.axcr .is-instant {
  transition: none !important;
}

.axcr-sc {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.axcr-in {
  transition: transform .65s cubic-bezier(.3,.7,.25,1);
  padding: 6px 16px 32px;
}

/* header: ProIconButton (38, white, hairline + 1px shadow) + title */
.axcr-hd {
  flex: none;
  display: flex;
  align-items: center;
  padding: 6px 16px 10px;
}

.axcr-btn {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgba(0,0,0,.04);
  box-shadow: 0 1px 2px rgba(20,22,31,.06);
  display: grid;
  place-items: center;
  color: var(--t1);
  font-size: 19px;
}

.axcr-title {
  flex: 1;
  min-width: 0;
  margin: 0 8px 0 12px;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-variation-settings: "opsz" 12;
}

/* KPI card: 4 stacked rows, hairline dividers */
.axcr-kpis {
  background: #fff;
  border: 1px solid var(--bd);
  border-radius: 16px;
  overflow: hidden;
}

.axcr-kc {
  display: block;
  padding: 16px 18px;
}

.axcr-kc + .axcr-kc {
  border-top: 1px solid var(--bd);
}

.axcr-kl {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--t2);
}

.axcr-kv {
  margin-top: 9px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 8px;
}

.axcr-kv b {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -.3px;
  color: var(--t1);
  transition: color .4s;
}

.axcr-cur {
  font-size: 11px;
  font-weight: 700;
  color: var(--t2);
}

.axcr-chip {
  padding: 3px 9px;
  font-size: 10.5px;
  font-weight: 800;
}

.axcr-kn {
  display: block;
  margin-top: 5px;
  font-size: 11.5px;
  font-weight: 500;
}

.axcr .is-tick {
  color: var(--gr) !important;
}

/* status tabs + search */
.axcr-tabs {
  margin-top: 16px;
  padding: 4px;
  background: var(--cu);
  border-radius: 999px;
  display: flex;
  gap: 2px;
  white-space: nowrap;
  overflow: hidden;
}

.axcr-tabs span {
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--fo);
}

.axcr-tabs span.is-on {
  background: #fff;
  color: var(--t1);
  box-shadow: 0 1px 3px rgba(0,0,0,.1);
}

.axcr-search {
  margin-top: 10px;
  height: 38px;
  background: #fff;
  border: 1px solid var(--bd);
  border-radius: 999px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  color: var(--t3);
}

.axcr-search span {
  margin-left: 8px;
  font-size: 12.5px;
}

/* the customer list */
.axcr-list {
  margin-top: 14px;
  background: #fff;
  border: 1px solid var(--bd);
}

.axcr-row {
  display: flex;
  align-items: flex-start;
  padding: 13px 12px 13px 16px;
  transition: background .6s;
}

.axcr-row + .axcr-row {
  border-top: 1px solid var(--bd);
}

.axcr-row.lv-pressed {
  filter: none;
  opacity: .4;
}

.axcr-row.is-flash {
  animation: axcr-flash 1.6s ease;
}

@keyframes axcr-flash {
  0%,
  40% {
    background: var(--grl);
  }

  100% {
    background: #fff;
  }
}

.axcr-av {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 14.5px;
  font-weight: 700;
}

.axcr-rb {
  flex: 1;
  min-width: 0;
  margin-left: 12px;
}

.axcr-rt {
  display: flex;
  align-items: center;
}

.axcr-rt b {
  flex: 1;
  min-width: 0;
  font-size: 14.5px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.axcr-rt span {
  margin-left: 8px;
}

.axcr-pill {
  display: inline-block;
  padding: 3px 8px;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: .3px;
  text-transform: uppercase;
}

.axcr-rp {
  margin-top: 2px;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--t3);
}

.axcr-bar {
  margin-top: 8px;
  height: 6px;
  border-radius: 5px;
  background: var(--cu);
  overflow: hidden;
}

.axcr-bar i {
  display: block;
  height: 100%;
  transition: width .8s cubic-bezier(.3,.7,.3,1);
}

.axcr-rm {
  margin-top: 4px;
  display: flex;
  font-size: 11px;
}

.axcr-rm span {
  flex: 1;
  font-weight: 500;
  color: var(--t3);
}

.axcr-rm b {
  font-weight: 600;
  color: var(--t1);
}

.axcr-rs {
  margin-top: 1px;
  text-align: right;
  font-size: 10.5px;
  font-weight: 700;
}

.axcr-rc {
  flex: none;
  margin: 10px 0 0 6px;
  color: var(--t3);
}

/* detail screen */
.axcr-dhd {
  padding: 4px 16px 4px;
}

.axcr-dname {
  margin-left: 12px;
  font-size: 16.5px;
  font-weight: 700;
}

.axcr-din {
  padding: 4px 16px 40px;
}

.axcr-prof {
  background: #fff;
  border: 1px solid var(--bd);
  border-radius: 12px;
  padding: 16px;
}

.axcr-pr {
  display: flex;
  align-items: center;
}

.axcr-pr div {
  margin-left: 14px;
}

.axcr-pr b {
  display: block;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
}

.axcr-av52 {
  width: 52px;
  height: 52px;
  font-size: 20.8px;
}

.axcr-prof p {
  margin: 12px 0 0;
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--t2);
}

.axcr-gb {
  margin-top: 14px;
  display: flex;
  gap: 8px;
}

.axcr-gb span {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 0;
  background: var(--t1);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
}

.axcr-gb span.is-red {
  background: var(--red);
}

.axcr-strip {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.axcr-strip div {
  padding: 13px 14px;
  background: #F8F9F8;
  border: 1px solid var(--bd);
}

.axcr-strip span {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--t2);
}

.axcr-strip b {
  display: block;
  margin-top: 6px;
  font-size: 15px;
  font-weight: 700;
  transition: color .4s;
}

.axcr-qas {
  margin-top: 18px;
  padding: 0 16px;
  display: flex;
  gap: 8px;
}

.axcr-qa {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.axcr-qa span {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.axcr-qa small {
  margin-top: 6px;
  font-size: 11px;
  font-weight: 600;
}

.axcr-qa.lv-pressed {
  filter: none;
  opacity: .4;
}

.axcr-sech {
  margin-top: 20px;
  padding: 0 4px 6px;
  display: flex;
  align-items: center;
}

.axcr-sech span {
  flex: 1;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .5px;
  color: var(--t2);
}

.axcr-sech em {
  font-style: normal;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--gr);
}

.axcr-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--bd);
}

.axcr-lg + .axcr-lg,
.axcr-lload + .axcr-lg {
  border-top: 1px solid var(--bd);
}

.axcr-lg {
  max-height: 200px;
  overflow: hidden;
  transition: max-height .5s ease, opacity .5s ease;
}

.axcr-lg.is-new {
  max-height: 0;
  opacity: 0;
}

.axcr-ldh {
  display: flex;
  padding: 14px 16px 6px;
  border-bottom: 1px solid var(--bd);
  font-size: 11px;
  color: var(--t2);
}

.axcr-ldh span {
  flex: 1;
  font-weight: 800;
  letter-spacing: .4px;
}

.axcr-ldh em {
  font-style: normal;
  font-weight: 700;
}

.axcr-lr {
  display: flex;
  align-items: flex-start;
  padding: 10px 16px;
}

.axcr-li {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.axcr-ld {
  flex: 1;
  min-width: 0;
  margin: 0 8px 0 10px;
}

.axcr-ld b {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
}

.axcr-ld small,
.axcr-la small {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  line-height: 1.4;
  color: var(--t2);
}

.axcr-la {
  flex: none;
  text-align: right;
}

.axcr-la b {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
}

.axcr-lload {
  display: none;
  place-items: center;
  padding: 20px;
  color: #8E8E93;
}

.axcr-lload.is-on {
  display: grid;
}

.axcr-inv {
  padding: 12px 16px;
}

.axcr-ivt {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.axcr-ivt b {
  font-size: 15px;
  font-weight: 600;
}

.axcr-sp {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .2px;
}

.axcr-inv > small {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  color: var(--t2);
}

.axcr-ivn {
  margin-top: 6px;
  display: flex;
}

.axcr-ivn div {
  flex: 1;
}

.axcr-ivn small {
  display: block;
  font-size: 12px;
  line-height: 1.4;
  color: var(--t2);
}

.axcr-ivn b {
  font-size: 15px;
  font-weight: 700;
}

.axcr-inv em {
  display: block;
  margin-top: 8px;
  font-style: normal;
  font-size: 15px;
  font-weight: 600;
  color: var(--gr);
}

/* CupertinoActivityIndicator */
.axcr-act {
  width: 20px;
  height: 20px;
  position: relative;
  display: inline-block;
}

.axcr-act i {
  position: absolute;
  left: 9px;
  top: 0;
  width: 2px;
  height: 6px;
  border-radius: 1px;
  background: currentColor;
  transform-origin: 1px 10px;
  animation: axcr-act .8s steps(8) infinite;
}

@keyframes axcr-act {
  0% {
    opacity: 1;
  }

  100% {
    opacity: .25;
  }
}

/* showCupertinoModalPopup: barrier + RecordCreditPaymentSheet */
.axcr-dim {
  position: absolute;
  inset: 0;
  z-index: 40;
  background: rgba(0,0,0,.2);
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s;
}

.axcr-dim.is-on {
  opacity: 1;
}

.axcr-sh {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 42;
  background: #fff;
  border-radius: 20px 20px 0 0;
  padding: 14px 20px 34px;
  transform: translateY(102%);
  transition: transform .42s cubic-bezier(.2,.8,.2,1);
}

.axcr-sh.is-on {
  transform: none;
}

.axcr-grab {
  display: block;
  width: 36px;
  height: 4px;
  margin: 0 auto 16px;
  border-radius: 4px;
  background: var(--bd);
}

.axcr-sht {
  display: flex;
  align-items: center;
}

.axcr-sht b {
  flex: 1;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.4px;
}

.axcr-sht span {
  font-size: 14px;
  font-weight: 600;
  color: var(--red);
}

.axcr-shs {
  margin-top: 2px;
  font-size: 12.5px;
  color: var(--t2);
}

.axcr-mini {
  margin-top: 16px;
  padding: 12px;
  background: var(--bg);
  border-radius: 12px;
  display: flex;
  align-items: center;
}

.axcr-mini div {
  flex: 1;
  text-align: center;
}

.axcr-mini small {
  display: block;
  font-size: 12px;
  line-height: 1.4;
  color: var(--t2);
}

.axcr-mini b {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  font-weight: 700;
}

.axcr-mini i {
  width: 1px;
  height: 32px;
  background: var(--bd);
}

.axcr-f {
  display: flex;
  align-items: center;
  margin-top: 12px;
  padding: 12px;
  background: var(--bg);
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.4;
  min-height: 44px;
}

.axcr-amt {
  margin-top: 16px;
  padding: 12px 4px;
}

.axcr-pre {
  padding-left: 12px;
  font-size: 14px;
  line-height: 1.4;
}

.axcr-amt .axcr-v {
  padding-left: 4px;
  font-size: 16px;
  font-weight: 700;
  color: var(--gr);
}

.axcr-v {
  white-space: nowrap;
}

.axcr-v:empty::before {
  content: attr(data-ph);
  color: rgba(60,60,67,.3);
  font-weight: 400;
  font-size: 14px;
}

.axcr-amt .axcr-v:empty::before {
  font-size: 16px;
}

.axcr-f.is-focus .axcr-v::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: 18px;
  margin-left: 1px;
  vertical-align: -3px;
  background: #007AFF;
  animation: axcr-blink 1s steps(1) infinite;
}

.axcr-f.is-focus .axcr-v:empty::before {
  margin-left: 1px;
}

.axcr-f.is-focus .axcr-v:empty {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
}

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

.axcr-notes {
  align-items: flex-start;
  min-height: 63px;
  margin-top: 10px;
}

.axcr-meth {
  margin-top: 12px;
  background: var(--bg);
  border-radius: 10px;
  overflow: hidden;
}

.axcr-m {
  display: flex;
  align-items: center;
  padding: 10px 14px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--t1);
}

.axcr-mr {
  margin-right: 10px;
  color: var(--t2);
}

.axcr-m.is-on .axcr-mr {
  color: var(--gr);
}

.axcr-apl {
  margin-top: 12px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--t2);
}

.axcr-sel {
  margin-top: 6px;
  padding: 12px 14px;
}

.axcr-sel span {
  flex: 1;
}

.axcr-sel svg {
  color: var(--t2);
}

.axcr-save {
  margin-top: 16px;
  padding: 14px 0;
  border-radius: 12px;
  background: var(--gr);
  color: #fff;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  transition: background .3s;
}

.axcr-save.is-off {
  background: var(--bd);
}

/* /apilox Activities tile: the real PRO Activities page, faded to grey behind a figure at his laptop
   (a live/art cut-out on a transparent background, so the tile's own colour shows through everything) */
.act-stage {
  position: relative;
  flex: none;
  height: 24rem;
  overflow: hidden;
  padding: 0;
  display: block;
  background: #fff;
}

/* fades to white */
/* the page is shown from its list on: the sidebar and top bar sit outside the tile, to the left and above */
.act-board {
  position: absolute;
  left: 6%;
  top: 1.5%;
  width: 94%;
  height: 86%;
  overflow: hidden;
  pointer-events: none;
  border: 1px solid rgba(0, 0, 0, .1);
  border-radius: 1.5rem;
  background: #fff;
  filter: saturate(.85) brightness(1.03);

  /* the real colours (priorities, ticks), just softened */
  -webkit-mask-image: linear-gradient(to bottom, #000 45%, transparent 100%), linear-gradient(to right, #000 75%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to bottom, #000 45%, transparent 100%), linear-gradient(to right, #000 75%, transparent 100%);
  mask-composite: intersect;
}

.act-board .lv-device {
  position: absolute;
  left: -32%;
  top: -15.5%;
  width: 170%;
}

.act-board .lv-desktop {
  padding: 0;
  background: transparent;
  border-radius: 0;
}

.act-board .lv-desktop .lv-fit {
  border-radius: 0;
  background: #fff;
}

.act-figure {
  position: absolute;
  left: 4%;
  bottom: 0;
  width: 54%;
  max-width: 27rem;
  height: auto;
  pointer-events: none;
}

@media screen and (max-width: 767px) {
  .act-stage {
    height: 18rem;
  }

  .act-board {
    top: 2%;
    width: 94%;
  }

  .act-board .lv-device {
    left: -48%;
    top: -12%;
    width: 230%;
  }

  .act-figure {
    width: 72%;
    left: 4%;
  }
}

/* /apilox Prescription refill tile: a laptop (live/art cut-out, its screen see-through) showing the real PRO
   prescription page; after 3 s the printed e-prescription rises out of it, holds, and goes back - every 10 s */
.rxf-stage {
  position: relative;
  flex: none;
  height: auto;
  aspect-ratio: 1 / .8;
  overflow: hidden;
  padding: 0;
  display: block;
}

/* height follows the laptop, so all of it fits */
.rxf-laptop {
  position: absolute;
  left: 50%;
  bottom: -10%;
  width: 112%;
  max-width: none;

  /* the base runs past both sides, clipped by the tile corners */
  aspect-ratio: 736 / 541;
  transform: translateX(-50%);
}

.rxf-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

/* the screen window in the picture: x 100-605, y 26-312 of 736 x 541 */
/* live and usable: visitors can scroll and click the real page (the laptop picture and the paper let clicks through) */
.rxf-screen {
  position: absolute;
  left: 13.4%;
  top: 4.6%;
  width: 69.2%;
  height: 53.4%;
  z-index: 1;
  overflow: hidden;
  background: #fff;
}

.rxf-screen iframe {
  pointer-events: auto !important;
}

/* app-frame.js switches clicks off on every frame; this one is for using */
.rxf-screen .lv-desktop {
  padding: 0;
  border-radius: 0;
  background: #fff;
}

.rxf-screen .lv-desktop .lv-fit {
  border-radius: 0;
}

.rxf-screen .lv-desktop.is-pro-d .lv-screen {
  width: 1180px;
  height: 668px;
}

.rxf-paper {
  position: absolute;
  left: 30%;
  top: 6%;
  width: 40%;
  height: auto;
  z-index: 3;
  pointer-events: none;
  border-radius: .25rem;
  background: #fff;
  box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, .18), 0 .2rem .6rem rgba(0, 0, 0, .08);
  opacity: 0;
}

/* the clock starts when the tile scrolls into view (live.js adds lv-in), so a visitor always sees the 3 s wait */
.lv-in .rxf-paper {
  animation: rxfPrint 10s cubic-bezier(.22, .9, .3, 1) infinite;
}

@keyframes rxfPrint {
  0%,
  30% {
    opacity: 0;
    transform: translateY(35%) scale(.92);
  }

  42% {
    opacity: 1;
    transform: translateY(-14%) scale(1);
  }

  88% {
    opacity: 1;
    transform: translateY(-14%) scale(1);
  }

  100% {
    opacity: 0;
    transform: translateY(-10%) scale(.98);
  }
}

@media (prefers-reduced-motion: reduce) {
  .rxf-paper,
  .lv-in .rxf-paper {
    animation: none;
    opacity: 1;
    transform: translateY(-14%);
  }
}

@media screen and (max-width: 767px) {
  .rxf-laptop {
    width: 116%;
  }
}

/* a real MacBook (live/art/macbook.webp, 736 x 451) around a live PRO page: the picture is transparent around the
   laptop and in its screen, x 64-669 / y 10-400 of the picture, where the page shows through */
.mb-stage {
  align-items: flex-end;
}

.mb-laptop {
  position: relative;
  width: 100%;
  max-width: 36rem;
  aspect-ratio: 736 / 451;
  margin-bottom: -1.75rem;
}

.mb-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.mb-screen {
  position: absolute;
  left: 8.7%;
  top: 2.2%;
  width: 82.3%;
  height: 86.7%;
  z-index: 1;
  overflow: hidden;
  background: #fff;
}

.mb-screen .lv-desktop {
  padding: 0;
  border-radius: 0;
  background: #fff;
}

.mb-screen .lv-desktop .lv-fit {
  border-radius: 0;
}

.mb-screen .lv-desktop.is-pro-d .lv-screen {
  width: 1180px;
  height: 761px;
}

/* the MacBook in the /apilox hero, in place of the drawn desktop frame */
.mb-laptop.is-hero {
  max-width: none;
  margin: 0;
}

/* the Activities tile across the whole width: taller, the list wider, the figure on the left */
.lv-tile.is-full .act-stage {
  height: max(100vh, 34rem);
}

/* at least a full screen tall */
.lv-tile.is-full .act-board {
  left: 4%;
  top: 3%;
  width: 92%;
  height: 94%;
}

.lv-tile.is-full .act-board .lv-device {
  left: -23.5%;
  top: 0;
  width: 122%;
}

/* the top bar shows; the sidebar stays out */
.lv-tile.is-full .act-figure {
  left: 4%;
  width: 40%;
  max-width: 30rem;
}

@media screen and (max-width: 767px) {
  .lv-tile.is-full .act-stage {
    height: 20rem;
  }

  .lv-tile.is-full .act-board .lv-device {
    left: -48%;
    top: -12%;
    width: 230%;
  }

  .lv-tile.is-full .act-figure {
    width: 72%;
  }
}

/* /apilox hero with the photographed MacBook: the phone keeps the same size against the laptop at every width
   (a share of the stage, not a fixed size), its bottom level with the laptop's base */
.lv-stage:has(.mb-laptop.is-hero) .lv-stage-phone {
  width: min(24%, 17.5rem);
  bottom: 6%;
}

@media screen and (max-width: 1199px) {
  /* the floating cards stay on screen */
  .lv-stage:has(.mb-laptop.is-hero) .lv-stage-phone {
    right: -.5rem;
  }

  .lv-stage:has(.mb-laptop.is-hero) .lv-stage-card.is-left {
    left: -.5rem;
  }

  .lv-stage:has(.mb-laptop.is-hero) .lv-stage-card.is-top {
    right: -.5rem;
  }
}

@media screen and (max-width: 991px) {
  .lv-stage:has(.mb-laptop.is-hero) .lv-stage-phone {
    width: 25%;
    right: -.5rem;
    bottom: 6%;
  }

  .lv-stage:has(.mb-laptop.is-hero) .lv-stage-card.is-left {
    top: 24%;
  }
}

@media screen and (max-width: 767px) {
  .lv-stage:has(.mb-laptop.is-hero) {
    margin-bottom: 2rem;
  }

  .lv-stage:has(.mb-laptop.is-hero) .lv-stage-phone {
    width: 31%;
    right: -.25rem;
    bottom: 4%;
  }

  /* the small "Low stock" card sits on the laptop's top-left instead of under the bottom fade */
  .lv-stage:has(.mb-laptop.is-hero) .lv-stage-card.is-left {
    top: -1.25rem;
    bottom: auto;
    left: -.25rem;
    width: 52%;
  }
}

/* tablets: a full screen is much taller than the list, so the tile fits its content instead */
@media screen and (min-width: 768px) and (max-width: 991px) {
  .lv-tile.is-full .act-stage {
    height: 40rem;
  }

  .lv-tile.is-full .act-figure {
    width: 46%;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   Apilox Pathway (/pathway + the home page section). Everything is drawn in
   code: the card is the Atlas app's Pathway card (green gradient, white QR
   box, name, card number), the member page is PRO's passport page.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── the card ─────────────────────────────────────────────────────────── */
.pw-card {
  position: relative;
  overflow: hidden;
  width: 21rem;
  padding: 1.5rem 1.5rem 1.6rem;
  border-radius: 1.6rem;
  background: linear-gradient(135deg, #1c6b2a 0%, #145424 45%, #0f3d18 100%);
  color: #fff;
  text-align: center;
  box-shadow: 0 40px 80px -24px rgba(15, 61, 24, .55), 0 14px 28px -10px rgba(15, 61, 24, .35), inset 0 1px 0 rgba(255,255,255,.12);
}

/* fine security lines and a soft light, very faint */
.pw-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(90% 70% at 85% 0%, rgba(191, 255, 55, .16), transparent 60%),
    repeating-radial-gradient(circle at 20% 110%, rgba(255,255,255,.05) 0 1px, transparent 1px 10px);
}

/* a light that sweeps across the card now and then */
.pw-card-sheen {
  position: absolute;
  inset: -40% -60%;
  background: linear-gradient(105deg, transparent 42%, rgba(255,255,255,.16) 50%, transparent 58%);
  transform: translateX(-60%);
  animation: pw-sheen 6s ease-in-out infinite;
  pointer-events: none;
}

@keyframes pw-sheen {
  0%,
  55% {
    transform: translateX(-60%);
  }

  85%,
  100% {
    transform: translateX(60%);
  }
}

.pw-card-k {
  position: relative;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .2em;
  color: rgba(255,255,255,.72);
}

.pw-card-qr {
  position: relative;
  width: 12.5rem;
  margin: 1.1rem auto 1.1rem;
  padding: .8rem;
  background: #fff;
  border-radius: 1rem;
}

.pw-card-qr img {
  display: block;
  width: 100%;
  height: auto;
}

.pw-card-name {
  position: relative;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -.01em;
}

.pw-card-no {
  position: relative;
  margin-top: .3rem;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: .16em;
  font-variant-numeric: tabular-nums;
}

.pw-card.is-sm {
  width: 17rem;
  padding: 1.2rem 1.2rem 1.3rem;
}

.pw-card.is-sm .pw-card-qr {
  width: 10rem;
  margin: .9rem auto;
}

.pw-card.is-sm .pw-card-name {
  font-size: 1.15rem;
}

.pw-card.is-sm .pw-card-no {
  font-size: .92rem;
}

/* ── shared bits ──────────────────────────────────────────────────────── */
.pw-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .9rem;
}

.pw-list li {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  color: var(--lv-gray);
  font-size: 1rem;
  line-height: 1.5;
}

.pw-list li b {
  color: var(--lv-black);
  font-weight: 600;
}

.pw-list .lv-i {
  flex: none;
  margin-top: .15rem;
  font-size: 1.25rem;
  color: var(--lv-green);
}

.pw-tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .02em;
  white-space: nowrap;
}

.pw-tag.is-green {
  color: #15803d;
}

.pw-tag.is-amber {
  color: #b7791f;
}

.pw-tag.is-red {
  color: #b21019;
}

.lv-fc-ico.is-green {
  background: #e7f8ec;
  color: #15803d;
}

/* ── hero ─────────────────────────────────────────────────────────────── */
.pw-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 2rem;
  align-items: center;
  min-height: 42rem;
}

.pw-hero-copy {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
  padding-bottom: 3rem;
}

.pw-hero-copy .lv-h1 {
  font-size: clamp(2.6rem, 5vw, 4.3rem);
}

.pw-facts {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 0 2.25rem;
  margin-top: .5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--lv-line);
}

.pw-fact b {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--lv-black);
  font-variant-numeric: tabular-nums;
}

.pw-fact span {
  font-size: .875rem;
  color: var(--lv-gray);
}

.pw-hero-stage {
  position: relative;
  height: 46rem;
  display: grid;
  place-items: center;
}

.pw-hero-stage .lv-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  border: 1px solid rgba(31,72,66,.14);
  animation: lv-spin var(--lv-speed, 40s) linear infinite;
}

.pw-hero-phone {
  position: relative;
  z-index: 2;
  width: 19rem;
}

.pw-hero-stage .lv-stage-card {
  z-index: 3;
}

.pw-sc-a {
  left: -8%;
  top: 12%;
  width: 16rem;
}

.pw-sc-b {
  right: -8%;
  bottom: 18%;
  width: 15rem;
}

/* ── how it works ─────────────────────────────────────────────────────── */
.pw-steps .lv-step4 {
  padding: 1.5rem;
  border-radius: 1.25rem;
  background: var(--lv-soft);
}

/* ── the card section ─────────────────────────────────────────────────── */
.pw-card-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 4rem;
  align-items: center;
}

.pw-card-stage {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 1.25rem;
  padding: 3.5rem 1rem 3rem;
  border-radius: 2rem;
  background: radial-gradient(60% 60% at 50% 45%, rgba(40,180,36,.16), transparent 70%),
    var(--lv-cumulus);
  perspective: 1200px;
}

.pw-card-tilt {
  transform-style: preserve-3d;
  transition: transform .25s ease-out;
  animation: pw-bob 6s ease-in-out infinite;
}

@keyframes pw-bob {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -12px;
  }
}

.pw-card-hint {
  max-width: 19rem;
  margin: 0;
  text-align: center;
  font-size: .875rem;
  line-height: 1.4;
  color: var(--lv-gray);
}

.pw-card-copy {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: flex-start;
}

/* ── at the counter (dark band) ───────────────────────────────────────── */
.pw-scan-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 19rem;
  gap: 5rem;
  align-items: center;
  max-width: 62rem;
  margin: 4rem auto 0;
}

.pw-flow {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .5rem;
}

.pw-flow-step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 1.25rem;
  border-radius: 1.1rem;
  border: 1px solid transparent;
  opacity: .45;
  transition: opacity .4s ease, background .4s ease, border-color .4s ease;
}

.pw-flow-step.is-on {
  opacity: 1;
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.1);
}

.pw-flow-step.is-done {
  opacity: .8;
}

.pw-flow-n {
  flex: none;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: .875rem;
  font-weight: 700;
  color: #fff;
  border: 1px solid rgba(255,255,255,.25);
  transition: background .4s ease, color .4s ease, border-color .4s ease;
}

.pw-flow-step.is-on .pw-flow-n,
.pw-flow-step.is-done .pw-flow-n {
  background: var(--lv-lime);
  border-color: var(--lv-lime);
  color: #0b0c0c;
}

.pw-flow h4 {
  margin: .2rem 0 .25rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: #fff;
}

.pw-flow p {
  margin: 0;
  font-size: .9375rem;
  line-height: 1.45;
  color: #a3a3ae;
}

.pw-scan-phone {
  position: relative;
  z-index: 2;
}

/* ── the member page (PRO's passport page) ────────────────────────────── */
.pw-doc-wrap {
  max-width: 62rem;
  margin: 4rem auto 0;
  perspective: 1600px;
}

.pw-doc {
  position: relative;
  overflow: hidden;
  border-radius: 1.25rem;
  border: 1px solid #e3e1d6;
  background: radial-gradient(120% 90% at 85% 10%, rgba(214,236,222,.75), transparent 60%),
    radial-gradient(90% 80% at 10% 95%, rgba(244,232,214,.8), transparent 60%),
    linear-gradient(135deg, #fbfaf4 0%, #f3f6f0 55%, #faf6ee 100%);
  color: #1a1a1a;
  box-shadow: 0 50px 90px -40px rgba(31,72,66,.45), 0 16px 32px -16px rgba(31,72,66,.25);
}

.pw-doc::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-radial-gradient(circle at 62% 46%, rgba(31,72,66,.05) 0 1px, transparent 1px 9px),
    repeating-linear-gradient(115deg, rgba(88,190,47,.04) 0 1px, transparent 1px 7px);
}

/* the Apilox letters as a faint watermark, in type (no picture) */
.pw-doc-letters {
  position: absolute;
  inset: -10% -5%;
  pointer-events: none;
  opacity: .035;
  font-size: 7rem;
  font-weight: 800;
  line-height: .95;
  letter-spacing: -.02em;
  color: #1f4842;
  transform: rotate(-12deg);
  white-space: pre;
}

.pw-doc-letters::before {
  content: "apilox apilox apilox\A  apilox apilox apilox\A apilox apilox apilox\A   apilox apilox apilox";
}

.pw-doc-grid {
  position: relative;
  display: grid;
  grid-template-columns: 11rem minmax(0, 1fr) 10rem;
  gap: 1.25rem 1.75rem;
  padding: 1.5rem 1.75rem 1rem;
}

.pw-doc-left {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pw-doc-emblem img {
  width: 6.5rem;
  height: auto;
  display: block;
}

.pw-doc-photo,
.pw-doc-ghost {
  display: grid;
  place-items: center;
  border-radius: .5rem;
  background: radial-gradient(70% 55% at 50% 38%, rgba(31,72,66,.14), transparent 70%),
    #e7ebe4;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.06);
}

.pw-doc-photo {
  width: 11rem;
  height: 14rem;
}

.pw-doc-photo span,
.pw-doc-ghost span {
  font-size: 3.4rem;
  font-weight: 700;
  color: #5f6f6b;
  letter-spacing: .02em;
}

.pw-doc-title {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: .04em;
  color: #1f4842;
  margin-bottom: .6rem;
}

.pw-doc-title small {
  display: block;
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: 0;
  color: #5d6a67;
}

.pw-doc-row3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 1.1rem;
}

.pw-f {
  padding: .35rem 0;
  min-width: 0;
}

.pw-f.is-w2 {
  grid-column: span 2;
}

.pw-f span {
  display: block;
  font-size: .68rem;
  color: #5d6a67;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pw-f span i {
  font-style: italic;
}

.pw-f b {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: #1a1a1a;
}

.pw-f.is-big b {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: .02em;
}

.pw-f.is-mono b {
  font-family: "SFMono-Regular", Menlo, Consolas, monospace;
  letter-spacing: .04em;
}

.pw-f b.is-red {
  color: #b21019;
}

.pw-doc-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.pw-doc-ghost {
  width: 6.5rem;
  height: 8.2rem;
  opacity: .45;
  filter: grayscale(1);
}

.pw-doc-ghost span {
  font-size: 2rem;
}

.pw-stamp {
  padding: .35rem .9rem;
  border: 3px double #15803d;
  border-radius: .6rem;
  color: #15803d;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: .14em;
  transform: rotate(-9deg) scale(1.6);
  opacity: 0;
  transition: transform .45s cubic-bezier(.2,1.6,.4,1), opacity .25s ease;
}

.pw-stamp.is-in {
  transform: rotate(-9deg) scale(1);
  opacity: .9;
}

.pw-doc-money {
  margin-top: auto;
  text-align: center;
}

.pw-doc-money span {
  display: block;
  font-size: .72rem;
  color: #5d6a67;
}

.pw-doc-money b {
  display: block;
  font-size: 1.15rem;
  font-weight: 700;
  color: #15803d;
  font-variant-numeric: tabular-nums;
}

.pw-doc-money small {
  font-size: .72rem;
  color: #5d6a67;
}

/* holographic strip */
.pw-doc-holo {
  position: relative;
  height: .5rem;
  margin: 0 1.75rem;
  border-radius: .25rem;
  background: linear-gradient(90deg, #bfff37, #5bffc3, #8fd3ff, #c9a7ff, #ffd68a, #bfff37);
  background-size: 200% 100%;
  animation: pw-holo 7s linear infinite;
  opacity: .75;
}

@keyframes pw-holo {
  to {
    background-position: 200% 0;
  }
}

.pw-doc-mrz {
  position: relative;
  padding: .9rem 1.75rem 1.2rem;
  font-family: "OCR B", "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: clamp(.55rem, 1.45vw, 1.02rem);
  letter-spacing: .14em;
  color: #2b2f2e;
  white-space: nowrap;
  overflow: hidden;
}

/* ── bento widgets ────────────────────────────────────────────────────── */
.pw-w {
  width: 100%;
  max-width: 26rem;
  background: #fff;
  border-radius: 1.1rem;
  padding: 1.1rem 1.2rem;
  box-shadow: 0 24px 50px -24px rgba(31,72,66,.35), 0 0 0 1px rgba(12,4,7,.05);
  font-size: .875rem;
  color: var(--lv-black);
}

.pw-w-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.pw-w-head b {
  font-weight: 600;
}

.pw-w-big {
  font-size: 1.35rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.pw-bar {
  height: .5rem;
  margin: .8rem 0 .5rem;
  border-radius: 1rem;
  background: var(--lv-soft);
  overflow: hidden;
}

.pw-bar i {
  display: block;
  height: 100%;
  width: var(--v);
  border-radius: inherit;
  background: linear-gradient(90deg, #28b424, #9be15d);
  transition: width 1.2s cubic-bezier(.2,.8,.2,1);
}

.pw-w-sub {
  display: flex;
  justify-content: space-between;
  font-size: .8rem;
  color: var(--lv-gray);
}

.pw-w-sub b {
  color: var(--lv-black);
  font-weight: 600;
}

.pw-pays {
  margin-top: .9rem;
  border-top: 1px solid var(--lv-line);
}

.pw-pay {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .65rem 0;
  border-bottom: 1px solid var(--lv-line);
}

.pw-pay:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.pw-pay img {
  width: 2.1rem;
  height: 2.1rem;
  object-fit: contain;
  border-radius: .5rem;
  background: var(--lv-soft);
  padding: .2rem;
}

.pw-pay div {
  flex: 1;
  min-width: 0;
}

.pw-pay b {
  display: block;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.pw-pay small {
  color: var(--lv-gray);
  font-size: .78rem;
}

.pw-po-row,
.pw-po-total {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .6rem 0;
  border-bottom: 1px solid var(--lv-line);
}

.pw-po-row span {
  color: var(--lv-gray);
}

.pw-po-row b,
.pw-po-total b {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.pw-w-head + .pw-po-row {
  margin-top: .6rem;
  border-top: 1px solid var(--lv-line);
}

.pw-po-total {
  border-bottom: 0;
  padding-bottom: 0;
  font-weight: 600;
}

.pw-po-total b {
  color: #15803d;
  font-size: 1.1rem;
}

.pw-meds {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .6rem;
}

.pw-med {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0 .5rem;
  align-items: center;
  padding: .65rem .75rem;
  border-radius: .8rem;
  background: var(--lv-soft);
}

.pw-med .lv-i {
  grid-row: span 2;
  font-size: 1.2rem;
  color: #15803d;
}

.pw-med b {
  font-weight: 600;
  font-size: .84rem;
}

.pw-med span {
  font-size: .75rem;
  color: var(--lv-gray);
}

.pw-med.is-no .lv-i {
  color: #b21019;
}

.pw-med.is-no b {
  color: var(--lv-gray);
}

.pw-help-row {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .7rem 0;
  border-bottom: 1px solid var(--lv-line);
}

.pw-help-row div {
  flex: 1;
}

.pw-help-row b {
  display: block;
  font-weight: 600;
}

.pw-help-row small {
  color: var(--lv-gray);
  font-size: .78rem;
}

.pw-help-row > .lv-i {
  color: var(--lv-gray);
}

.pw-help-ico {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: .7rem;
  display: grid;
  place-items: center;
  background: #e7f8ec;
  color: #15803d;
  font-size: 1.1rem;
}

.pw-help-ico.is-grey {
  background: var(--lv-soft);
  color: var(--lv-gray);
}

.pw-help-note {
  display: flex;
  gap: .6rem;
  margin-top: .8rem;
  padding: .75rem .85rem;
  border-radius: .8rem;
  background: #e7f8ec;
  color: #14532d;
  font-size: .82rem;
  line-height: 1.4;
}

.pw-help-note .lv-i {
  color: #15803d;
  font-size: 1.1rem;
  flex: none;
}

/* ── home page section: the card being scanned ────────────────────────── */
/* the home Pathway section sits on the Pathway card's own paper, drawn by
   live/demos/pathway-card.js (paper()) on a canvas behind it */
.pw-home {
  position: relative;
  background: #f3f6f0;
  overflow: hidden;
}

.pw-home > .pw-paper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.pw-home > .lv-container {
  position: relative;
  z-index: 1;
}

.pw-home-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.pw-home-copy {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  align-items: flex-start;
}

.pw-home-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 34rem;
  border-radius: 2rem;
  background: #0b0c0c;
  overflow: hidden;
}

.pw-home-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(45% 45% at 50% 45%, rgba(40,180,36,.35), transparent 70%),
    radial-gradient(30% 30% at 80% 85%, rgba(191,255,55,.14), transparent 70%);
}

.pw-home-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 18px 18px;
  mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent);
  -webkit-mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent);
  pointer-events: none;
}

.pw-scanbox {
  position: relative;
  z-index: 1;
  padding: 1.6rem;
  animation: pw-bob 6s ease-in-out infinite;
}

.pw-corner {
  position: absolute;
  width: 2.2rem;
  height: 2.2rem;
  border: 3px solid var(--lv-lime);
  transition: all .4s ease;
  animation: pw-lock 4.8s ease-in-out infinite;
}

.pw-corner.is-tl {
  left: 0;
  top: 0;
  border-right: 0;
  border-bottom: 0;
  border-top-left-radius: 1rem;
}

.pw-corner.is-tr {
  right: 0;
  top: 0;
  border-left: 0;
  border-bottom: 0;
  border-top-right-radius: 1rem;
}

.pw-corner.is-bl {
  left: 0;
  bottom: 0;
  border-right: 0;
  border-top: 0;
  border-bottom-left-radius: 1rem;
}

.pw-corner.is-br {
  right: 0;
  bottom: 0;
  border-left: 0;
  border-top: 0;
  border-bottom-right-radius: 1rem;
}

/* the corners close in on the card when the code is read */
@keyframes pw-lock {
  0%,
  45% {
    scale: 1.12;
    opacity: .55;
  }

  55%,
  90% {
    scale: 1;
    opacity: 1;
  }

  100% {
    scale: 1.12;
    opacity: .55;
  }
}

.pw-beam {
  position: absolute;
  left: 1rem;
  right: 1rem;
  top: 1.6rem;
  height: 3px;
  border-radius: 3px;
  background: var(--lv-lime);
  box-shadow: 0 0 18px 4px rgba(191,255,55,.55);
  animation: pw-beam 4.8s ease-in-out infinite;
}

@keyframes pw-beam {
  0% {
    top: 1.6rem;
    opacity: 0;
  }

  6% {
    opacity: 1;
  }

  45% {
    top: calc(100% - 1.6rem);
    opacity: 1;
  }

  52%,
  100% {
    top: calc(100% - 1.6rem);
    opacity: 0;
  }
}

.pw-toast {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 1.75rem;
  display: flex;
  align-items: center;
  gap: .7rem;
  width: max-content;
  max-width: calc(100% - 2rem);
  padding: .7rem 1rem .7rem .7rem;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 24px 50px -16px rgba(0,0,0,.5);
  font-size: .85rem;
  translate: -50% 0;
  animation: pw-toast 4.8s ease-in-out infinite;
}

.pw-toast b {
  display: block;
  font-weight: 600;
}

.pw-toast small {
  color: var(--lv-gray);
  font-size: .78rem;
}

.pw-toast-ico {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #15803d;
  color: #fff;
  font-size: 1rem;
  flex: none;
}

@keyframes pw-toast {
  0%,
  48% {
    opacity: 0;
    transform: translateY(14px) scale(.96);
  }

  55%,
  90% {
    opacity: 1;
    transform: none;
  }

  100% {
    opacity: 0;
    transform: translateY(14px) scale(.96);
  }
}

@media (prefers-reduced-motion: reduce) {
  .pw-card-sheen,
  .pw-card-tilt,
  .pw-scanbox,
  .pw-corner,
  .pw-beam,
  .pw-doc-holo {
    animation: none;
  }

  .pw-toast {
    animation: none;
    opacity: 1;
  }

  .pw-stamp {
    opacity: .9;
    transform: rotate(-9deg);
  }
}

/* ── narrower screens ─────────────────────────────────────────────────── */
@media screen and (max-width: 991px) {
  .pw-hero-grid,
  .pw-card-grid,
  .pw-home-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .pw-hero-grid {
    min-height: 0;
    padding-top: 2rem;
  }

  .pw-hero-copy {
    padding-bottom: 0;
  }

  .pw-hero-stage {
    height: 40rem;
  }

  .pw-scan-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    justify-items: center;
  }

  .pw-flow {
    width: 100%;
    max-width: 34rem;
  }

  .pw-scan-phone {
    width: 19rem;
  }

  .pw-doc-grid {
    grid-template-columns: 9rem minmax(0, 1fr);
  }

  .pw-doc-right {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: space-between;
  }

  .pw-doc-photo {
    width: 9rem;
    height: 11.5rem;
  }

  .pw-doc-ghost {
    display: none;
  }

  .pw-doc-money {
    margin-top: 0;
    text-align: right;
  }
}

@media screen and (max-width: 767px) {
  .pw-hero-stage {
    height: 34rem;
  }

  .pw-hero-phone {
    width: 16rem;
  }

  .pw-sc-a {
    left: 0;
    top: 4%;
    width: 13.5rem;
  }

  .pw-sc-b {
    right: 0;
    bottom: 6%;
    width: 13rem;
  }

  .pw-facts {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0 1rem;
  }

  .pw-fact b {
    font-size: 1.15rem;
  }

  .pw-fact span {
    font-size: .78rem;
  }

  .pw-card {
    width: 100%;
    max-width: 19rem;
  }

  .pw-doc-grid {
    grid-template-columns: 1fr;
    padding: 1.25rem;
  }

  .pw-doc-left {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }

  .pw-doc-photo {
    width: 7rem;
    height: 9rem;
  }

  .pw-doc-row3 {
    grid-template-columns: 1fr 1fr;
  }

  .pw-doc-holo {
    margin: 0 1.25rem;
  }

  .pw-doc-mrz {
    padding: .8rem 1.25rem 1rem;
    letter-spacing: .02em;
  }

  .pw-meds {
    grid-template-columns: 1fr;
  }

  .pw-home-stage {
    min-height: 28rem;
  }

  .pw-card.is-sm {
    width: 15rem;
  }

  .pw-card.is-sm .pw-card-qr {
    width: 8.5rem;
  }
}

/* ── at-pathway: the Atlas app's Pathway screen (light meadow, Manrope-like) ── */
.lv-pa {
  --accent: #1c6b2a;
  --sec: #8e8e93;
  --sep: #e5e5ea;
  width: 390px;
  height: 844px;
  position: relative;
  overflow: hidden;
  color: #1c1c1e;
  font-family: "LvSans", -apple-system, sans-serif;
  background: linear-gradient(180deg, #f5fdf7 0%, #f1faf4 45%, #e4f6e9 64%, #a6e2b7 85%, #7fcf98 100%);
}

.lv-pa * {
  box-sizing: border-box;
}

.pa-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 16px 14px;
}

.pa-head b {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -.4px;
}

.pa-back {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  font-size: 18px;
  box-shadow: 0 2px 0 rgba(0,0,0,.08), 0 4px 10px rgba(0,0,0,.08);
}

.pa-body {
  padding: 0 16px;
}

.lv-pa .pw-card.is-app {
  width: 100%;
  padding: 16px 18px 18px;
  border-radius: 18px;
  box-shadow: none;
}

.lv-pa .pw-card.is-app .pw-card-k {
  font-size: 12px;
  letter-spacing: 1.6px;
}

.lv-pa .pw-card.is-app .pw-card-qr {
  width: 196px;
  margin: 14px auto;
  padding: 10px;
  border-radius: 14px;
}

.lv-pa .pw-card.is-app .pw-card-name {
  font-size: 19px;
  font-weight: 800;
}

.lv-pa .pw-card.is-app .pw-card-no {
  font-size: 15px;
  letter-spacing: 2.2px;
  margin-top: 4px;
}

.pa-hint {
  margin: 8px 6px 0;
  text-align: center;
  font-size: 12px;
  line-height: 1.35;
  color: var(--sec);
}

.pa-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}

.pa-stat {
  padding: 14px;
  border-radius: 14px;
  background: #fff;
}

.pa-stat span {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--sec);
}

.pa-stat b {
  display: block;
  margin-top: 4px;
  font-size: 19px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.pa-stat b.is-green {
  color: var(--accent);
}

.pa-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 14px;
}

.pa-btn {
  height: 46px;
  border-radius: 10px;
  border: 1px solid #c6c6c8;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 700;
  color: #1c1c1e;
}

.pa-btn.is-fill {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.pa-sec {
  margin: 20px 4px 8px;
  font-size: 15px;
  font-weight: 800;
}

.pa-card {
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
}

.pa-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-top: 1px solid var(--sep);
}

.pa-row:first-child {
  border-top: 0;
}

.pa-row div {
  flex: 1;
}

.pa-row b {
  display: block;
  font-size: 14px;
  font-weight: 700;
}

.pa-row small {
  font-size: 11.5px;
  color: var(--sec);
}

.pa-row.is-new {
  animation: pa-in .45s ease;
}

@keyframes pa-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
}

.pa-tag {
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 99px;
}

.pa-tag.is-green {
  color: #1c6b2a;
  background: rgba(28,107,42,.14);
}

.pa-tag.is-amber {
  color: #9a6512;
  background: rgba(154,101,18,.14);
}

.pa-dim {
  position: absolute;
  inset: 0;
  z-index: 30;
  background: rgba(0,0,0,.32);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}

.pa-sheet {
  position: absolute;
  z-index: 31;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 18px 40px;
  border-radius: 22px 22px 0 0;
  background: #fff;
  transform: translateY(105%);
  transition: transform .4s cubic-bezier(.2,.8,.2,1);
}

.lv-pa.is-sheet .pa-dim {
  opacity: 1;
}

.lv-pa.is-sheet .pa-sheet {
  transform: none;
}

.pa-grab {
  display: block;
  width: 38px;
  height: 5px;
  margin: 0 auto 14px;
  border-radius: 5px;
  background: #d1d1d6;
}

.pa-sheet-t {
  display: block;
  font-size: 18px;
  font-weight: 800;
}

.pa-sheet-s {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  color: var(--sec);
}

.pa-amts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 14px;
}

.pa-amts span {
  padding: 11px 4px;
  border-radius: 10px;
  border: 1px solid #c6c6c8;
  text-align: center;
  font-size: 13.5px;
  font-weight: 700;
  transition: all .25s ease;
}

.pa-amts span.is-on {
  border-color: var(--accent);
  background: rgba(28,107,42,.1);
  color: var(--accent);
}

.pa-methods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 12px;
}

.pa-methods span {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px 4px;
  border-radius: 12px;
  background: #f2f2f7;
  font-size: 12px;
  font-weight: 700;
  border: 2px solid transparent;
}

.pa-methods span.is-on {
  border-color: var(--accent);
  background: #fff;
}

.pa-methods img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.pa-pay,
.pa-wait {
  margin-top: 16px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
}

.pa-pay {
  background: var(--accent);
  color: #fff;
}

.pa-wait {
  display: none;
  background: #f2f2f7;
  color: #3a3a3c;
}

.lv-pa.is-wait .pa-pay {
  display: none;
}

.lv-pa.is-wait .pa-wait {
  display: flex;
}

.pa-spin {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2.5px solid #c7c7cc;
  border-top-color: var(--accent);
  animation: lv-spin .8s linear infinite;
}

/* ── ax-pathway: the Apilox app's scan > member > cart > code > done ─────── */
.lv-ax.px {
  overflow: hidden;
}

.px .ax-title {
  font-size: 22px;
}

.px-sms {
  position: absolute;
  z-index: 40;
  left: 10px;
  right: 10px;
  top: 60px;
  background: rgba(250,250,250,.97);
  border-radius: 18px;
  padding: 10px 14px;
  font-size: 12.5px;
  line-height: 1.35;
  color: #1a1a1a;
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
  transform: translateY(-220%);
  opacity: 0;
  transition: transform .45s cubic-bezier(.2,.8,.2,1), opacity .3s ease;
}

.px-sms b {
  display: block;
  font-size: 11px;
  color: #6b6f6e;
  margin-bottom: 2px;
}

.px-sms.is-on {
  transform: none;
  opacity: 1;
}

.px-st {
  position: absolute;
  left: 0;
  right: 0;
  top: 110px;
  bottom: 0;
  padding: 6px 16px;
  opacity: 0;
  transform: translateX(20px);
  pointer-events: none;
  transition: opacity .35s ease, transform .4s ease;
}

.px-st.is-on {
  opacity: 1;
  transform: none;
}

/* the camera: a counter top drawn in gradients, the patient's phone held up */
.px-cam {
  position: relative;
  height: 470px;
  border-radius: 18px;
  overflow: hidden;
  background: #101312;
}

.px-counter {
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 40% at 50% 30%, rgba(255,255,255,.08), transparent 70%),
    linear-gradient(180deg, #1c2422 0%, #141a18 55%, #4a3a2a 56%, #3a2c1f 100%);
  filter: blur(1.5px);
}

.px-held {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 230px;
  margin: -170px 0 0 -115px;
  padding: 10px;
  border-radius: 30px;
  background: #0b0b0b;
  box-shadow: 0 0 0 2px #2b2b2b, 0 30px 60px rgba(0,0,0,.6);
  transform: rotate(-6deg) translateY(40px) scale(.92);
  animation: px-held 3.1s ease-out both;
}

/* the patient brings the phone into view and holds it still */
@keyframes px-held {
  0% {
    transform: rotate(-14deg) translate(-60px, 160px) scale(.85);
    opacity: 0;
  }

  50% {
    opacity: 1;
  }

  70%,
  100% {
    transform: rotate(-4deg) translateY(10px) scale(.95);
    opacity: 1;
  }
}

.px-held .pw-card.is-cam {
  width: 100%;
  padding: 14px 12px 16px;
  border-radius: 20px;
  box-shadow: none;
}

.px-held .pw-card.is-cam .pw-card-k {
  font-size: 9px;
}

.px-held .pw-card.is-cam .pw-card-qr {
  width: 140px;
  margin: 10px auto;
  padding: 7px;
  border-radius: 10px;
}

.px-held .pw-card.is-cam .pw-card-name {
  font-size: 14px;
}

.px-held .pw-card.is-cam .pw-card-no {
  font-size: 11px;
}

.px-c {
  position: absolute;
  width: 46px;
  height: 46px;
  border: 4px solid #fff;
  transition: all .35s ease;
}

.px-c.is-tl {
  left: 30px;
  top: 34px;
  border-right: 0;
  border-bottom: 0;
  border-top-left-radius: 16px;
}

.px-c.is-tr {
  right: 30px;
  top: 34px;
  border-left: 0;
  border-bottom: 0;
  border-top-right-radius: 16px;
}

.px-c.is-bl {
  left: 30px;
  bottom: 34px;
  border-right: 0;
  border-top: 0;
  border-bottom-left-radius: 16px;
}

.px-c.is-br {
  right: 30px;
  bottom: 34px;
  border-left: 0;
  border-top: 0;
  border-bottom-right-radius: 16px;
}

.px.is-read .px-c {
  border-color: #4ade80;
}

.px.is-read .px-c.is-tl {
  left: 58px;
  top: 76px;
}

.px.is-read .px-c.is-tr {
  right: 58px;
  top: 76px;
}

.px.is-read .px-c.is-bl {
  left: 58px;
  bottom: 118px;
}

.px.is-read .px-c.is-br {
  right: 58px;
  bottom: 118px;
}

.px-beam {
  position: absolute;
  left: 44px;
  right: 44px;
  top: 44px;
  height: 3px;
  border-radius: 3px;
  background: #4ade80;
  box-shadow: 0 0 14px 3px rgba(74,222,128,.6);
  animation: px-beam 1.6s ease-in-out infinite alternate;
}

@keyframes px-beam {
  to {
    top: calc(100% - 46px);
  }
}

.px.is-read .px-beam {
  opacity: 0;
}

.px-cam::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(74,222,128,.35);
  opacity: 0;
  pointer-events: none;
}

.px.is-read .px-cam::after {
  animation: px-flash .5s ease;
}

@keyframes px-flash {
  30% {
    opacity: 1;
  }
}

.px-note {
  margin: 14px 4px 0;
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--t2);
  text-align: center;
}

.px-type {
  margin-top: 14px;
  height: 46px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--t1);
}

.px-ok {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--green-bg);
  color: #14532d;
}

.px-ok .lv-i {
  font-size: 22px;
  color: var(--green);
}

.px-ok b {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
}

.px-ok small {
  font-size: 12.5px;
}

/* the passport page, phone size */
.px-doc {
  position: relative;
  margin-top: 12px;
  border-radius: 14px;
  border: 1px solid #e3e1d6;
  overflow: hidden;
  background: radial-gradient(120% 90% at 85% 10%, rgba(214,236,222,.75), transparent 60%),
    radial-gradient(90% 80% at 10% 95%, rgba(244,232,214,.8), transparent 60%),
    linear-gradient(135deg, #fbfaf4 0%, #f3f6f0 55%, #faf6ee 100%);
}

.px-doc::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-radial-gradient(circle at 62% 46%, rgba(31,72,66,.05) 0 1px, transparent 1px 9px);
  pointer-events: none;
}

.px-doc-top {
  position: relative;
  display: flex;
  gap: 12px;
  padding: 14px;
}

.px-photo {
  width: 78px;
  height: 98px;
  flex: none;
  border-radius: 6px;
  display: grid;
  place-items: center;
  background: radial-gradient(70% 55% at 50% 38%, rgba(31,72,66,.14), transparent 70%), #e7ebe4;
  font-size: 26px;
  font-weight: 700;
  color: #5f6f6b;
}

.px-doc-data {
  flex: 1;
  min-width: 0;
}

.px-doc-data small {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  color: #1f4842;
  margin-bottom: 4px;
}

.px-doc-data b {
  display: block;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.2;
}

.px-mono {
  display: block;
  margin-top: 6px;
  font-family: Menlo, monospace;
  font-size: 13px;
  letter-spacing: .06em;
}

.px-stamp {
  position: absolute;
  right: 12px;
  bottom: 14px;
  padding: 3px 8px;
  border: 3px double #15803d;
  border-radius: 6px;
  color: #15803d;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .12em;
  transform: rotate(-9deg);
  opacity: .9;
}

.px-doc-f {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  padding: 0 14px 12px;
}

.px-doc-f span {
  display: block;
  font-size: 10.5px;
  color: #5d6a67;
}

.px-doc-f b {
  font-size: 12.5px;
  font-weight: 600;
}

.px-doc-f b.is-red {
  color: #b21019;
}

.px-holo {
  height: 6px;
  background: linear-gradient(90deg, #bfff37, #5bffc3, #8fd3ff, #c9a7ff, #ffd68a, #bfff37);
  opacity: .75;
}

.px-money {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}

.px-money > div {
  padding: 12px 14px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
}

.px-money span {
  display: block;
  font-size: 12px;
  color: var(--t2);
}

.px-money b {
  display: block;
  font-size: 17px;
  font-weight: 700;
  margin-top: 2px;
}

.px-money b.is-green {
  color: var(--green);
}

.px-money small {
  font-size: 11px;
  color: var(--t3);
}

.px-btn {
  margin-top: 14px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--green);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  transition: opacity .3s ease;
}

.px-btn.is-off {
  opacity: .4;
}

.px-btn.is-ghost {
  background: #fff;
  color: var(--t1);
  border: 1px solid var(--line);
}

.px-search {
  height: 44px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  color: #b5b7b6;
  font-size: 14.5px;
}

.px-label {
  margin: 16px 2px 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--t2);
}

.px-card {
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
}

.px-line {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border-top: 1px solid var(--line);
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity .35s ease, transform .35s ease;
}

.px-line:first-child {
  border-top: 0;
}

.px-line.is-in {
  opacity: 1;
  transform: none;
}

.px-line div {
  flex: 1;
}

.px-line b {
  display: block;
  font-size: 14.5px;
  font-weight: 600;
}

.px-line small {
  font-size: 12px;
  color: var(--t2);
}

.px-pill {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--cu);
  color: var(--tf);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
}

.px-q {
  min-width: 30px;
  height: 30px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: #f2f2f2;
  font-size: 14px;
  font-weight: 700;
}

.px-pay > div,
.px-ticket > div {
  display: flex;
  justify-content: space-between;
  padding: 10px 12px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.px-pay > div:first-child,
.px-ticket > div:first-child {
  border-top: 0;
}

.px-pay span,
.px-ticket span {
  color: var(--t2);
}

.px-pay b,
.px-ticket b {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.px-pay .is-pw b,
.px-ticket b.is-green {
  color: var(--green);
}

.px-ticket .is-sep {
  border-top-style: dashed;
}

.px-tell {
  padding: 14px;
  border-radius: 12px;
  background: #fff7e8;
  border: 1px solid #f5dfb3;
}

.px-tell b {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #7a4d0a;
}

.px-tell p {
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.45;
  color: #5c4510;
}

.px-otp {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}

.px-otp span {
  height: 54px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: 700;
}

.px-done {
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 18px 0 16px;
  text-align: center;
}

.px-done-ico {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--green);
  color: #fff;
  font-size: 32px;
  animation: px-pop .5s cubic-bezier(.2,1.6,.4,1);
}

@keyframes px-pop {
  from {
    transform: scale(.4);
    opacity: 0;
  }
}

.px-done b {
  font-size: 19px;
  font-weight: 800;
}

.px-done small {
  font-size: 13px;
  color: var(--t2);
}

/* ═══ /apilox clinical support: Ask a Pharmacist + the treatment guideline ═══ */
.ck-soon {
  display: inline-block;
  vertical-align: middle;
  margin-left: .4rem;
  font-size: .75rem;
  font-weight: 600;
  color: #b7791f;
}

.ck-desk,
.ck-book {
  width: 100%;
  max-width: 27rem;
  font-size: .875rem;
  color: var(--lv-black);
}

.ck-desk {
  background: #fff;
  border-radius: 1.1rem;
  box-shadow: 0 24px 50px -24px rgba(31,72,66,.35), 0 0 0 1px rgba(12,4,7,.05);
  overflow: hidden;
}

.ck-tabs {
  display: flex;
  gap: 1.1rem;
  padding: .8rem 1.1rem 0;
  border-bottom: 1px solid var(--lv-line);
  font-size: .8rem;
  font-weight: 600;
  color: var(--lv-gray);
}

.ck-tabs span {
  padding-bottom: .6rem;
}

.ck-tabs .is-on {
  color: var(--lv-black);
  box-shadow: inset 0 -2px 0 #2d8647;
}

.ck-thread {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  padding: 1rem 1.1rem;
  min-height: 15.5rem;
  background: #fafbfa;
}

.ck-msg {
  max-width: 88%;
  padding: .6rem .8rem .45rem;
  border-radius: 1rem;
  line-height: 1.45;
  font-size: .82rem;
}

.ck-msg b {
  display: block;
  font-size: .72rem;
  margin-bottom: .15rem;
}

.ck-msg small {
  display: block;
  text-align: right;
  font-size: .66rem;
  color: var(--lv-gray);
  margin-top: .2rem;
}

.ck-msg.is-me {
  align-self: flex-end;
  background: #e7f3ea;
  border-bottom-right-radius: .3rem;
}

.ck-msg.is-me b {
  color: #1f6b3a;
}

.ck-msg.is-them {
  align-self: flex-start;
  background: #fff;
  border: 1px solid var(--lv-line);
  border-bottom-left-radius: .3rem;
}

.ck-cite {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-top: .45rem;
  padding: .25rem .55rem;
  border-radius: .5rem;
  background: #eef4ff;
  color: #1d4ed8;
  font-size: .72rem;
  font-weight: 600;
}

.ck-typing {
  align-self: flex-start;
  display: flex;
  gap: 4px;
  padding: .7rem .8rem;
  border-radius: 1rem;
  background: #fff;
  border: 1px solid var(--lv-line);
}

.ck-typing i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #9aa09e;
  animation: ck-dot 1s ease-in-out infinite;
}

.ck-typing i:nth-child(2) {
  animation-delay: .15s;
}

.ck-typing i:nth-child(3) {
  animation-delay: .3s;
}

@keyframes ck-dot {
  0%,
  100% {
    transform: translateY(0);
    opacity: .5;
  }

  50% {
    transform: translateY(-3px);
    opacity: 1;
  }
}

/* the reply arrives once the tile is on screen (demos/pathway.js adds is-answered) */
.ck-desk [data-reply] {
  display: none;
}

.ck-desk.is-answered [data-typing] {
  display: none;
}

.ck-desk.is-answered [data-reply] {
  display: block;
  animation: pa-in .45s ease;
}

.ck-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .7rem 1.1rem;
  border-top: 1px solid var(--lv-line);
  font-size: .78rem;
}

.ck-pill {
  color: #15803d;
  font-weight: 600;
}

.ck-voice {
  display: inline-flex;
  gap: .35rem;
  align-items: center;
  color: var(--lv-gray);
  font-weight: 600;
}

/* the guideline: a printed STG sheet (white paper, Arial, bold plain headings) */
.ck-book {
  display: grid;
  gap: .7rem;
}

.ck-sheet {
  position: relative;
  padding: 1.2rem 1.6rem 2.2rem 1.3rem;
  background: #fff;
  border-radius: .25rem .9rem .9rem .25rem;
  box-shadow: 0 24px 50px -24px rgba(31,72,66,.35), 0 0 0 1px rgba(12,4,7,.06), -6px 0 0 -3px #f1f1ef, -10px 0 0 -5px #e9e9e6;
  font-family: Arial, Helvetica, sans-serif;
  font-size: .8rem;
  line-height: 1.5;
  color: #111;
}

.ck-chap {
  text-align: center;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: #555;
}

.ck-sec-t {
  margin-top: .6rem;
  font-weight: 700;
  font-size: .9rem;
}

.ck-sub {
  margin: .5rem 0 .3rem;
  font-weight: 700;
}

.ck-line.is-c {
  color: #666;
}

.ck-or {
  padding-left: 1rem;
  font-weight: 700;
  font-size: .75rem;
}

/* the study marks: green = first choice, an orange circle round the dose */
.ck-hl {
  background-image: linear-gradient(rgba(74,222,128,.45), rgba(74,222,128,.45));
  background-repeat: no-repeat;
  background-size: 0% 100%;
  transition: background-size 1s ease;
}

.ck-ring {
  border-radius: 999px;
  box-shadow: 0 0 0 2px rgba(249,115,22,0);
  padding: 0 .2rem;
  transition: box-shadow .5s ease .9s;
}

.ck-book.is-marked .ck-hl {
  background-size: 100% 100%;
}

.ck-book.is-marked .ck-ring {
  box-shadow: 0 0 0 2px rgba(249,115,22,.85);
}

.ck-folio {
  position: absolute;
  left: 0;
  right: 0;
  bottom: .6rem;
  text-align: center;
  font-size: .7rem;
  color: #666;
}

.ck-tab {
  position: absolute;
  right: -.55rem;
  top: 2.2rem;
  width: 1.4rem;
  height: 2rem;
  border-radius: 0 .35rem .35rem 0;
  display: grid;
  place-items: center;
  background: #1f3b73;
  color: #fff;
  font-size: .65rem;
  font-weight: 700;
}

.ck-stock {
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: .7rem .9rem;
  border-radius: .9rem;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(12,4,7,.06);
}

.ck-stock div {
  flex: 1;
}

.ck-stock b {
  display: block;
  font-weight: 600;
}

.ck-stock small {
  color: #15803d;
  font-size: .75rem;
}

.ck-sell {
  padding: .45rem 1rem;
  border-radius: .3rem;
  background: #2d8647;
  color: #fff;
  font-weight: 600;
  font-size: .8rem;
}

@media (prefers-reduced-motion: reduce) {
  .ck-desk [data-typing] {
    display: none;
  }

  .ck-desk [data-reply] {
    display: block;
  }

  .ck-hl {
    background-size: 100% 100%;
  }

  .ck-ring {
    box-shadow: 0 0 0 2px rgba(249,115,22,.85);
  }
}

/* ═══ /pathway: Yohana Laurent's real printed card (canvases from demos/pathway-card.js) ═══ */
.pw-pc-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3.5rem;
  margin-top: 4rem;
  padding: 4rem 2rem;
  border-radius: 2rem;
  background: radial-gradient(60% 70% at 40% 45%, rgba(40,180,36,.16), transparent 70%),
    var(--lv-cumulus);
}

.pw-pc {
  all: unset;
  cursor: pointer;
  width: min(36rem, 100%);
  aspect-ratio: 1050 / 600;
  perspective: 1800px;
  animation: pw-bob 6s ease-in-out infinite;
}

.pw-pc:focus-visible {
  outline: 3px solid var(--lv-green);
  outline-offset: 6px;
  border-radius: 1.2rem;
}

.pw-pc-in {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform .9s cubic-bezier(.3,.7,.2,1);
}

.pw-pc.is-back .pw-pc-in {
  transform: rotateY(180deg);
}

.pw-pc-face {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.pw-pc-face canvas {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4.4% / 7.7%;
  box-shadow: 0 40px 80px -30px rgba(15,61,24,.55), 0 14px 30px -12px rgba(15,61,24,.3), 0 0 0 1px rgba(0,0,0,.06);
}

/* the back is portrait: stood up inside the same landscape box */
.pw-pc-face.is-back {
  transform: rotateY(180deg);
}

.pw-pc-face.is-back canvas {
  width: auto;
  height: 100%;
  max-height: 100%;
  border-radius: 7.7% / 4.4%;
}

.pw-pc-app {
  display: grid;
  justify-items: center;
  gap: .6rem;
  flex: none;
}

.pw-pc-app .pw-card-hint {
  font-weight: 600;
  color: var(--lv-black);
}

.pw-pc-tip {
  margin: 1rem 0 0;
  text-align: center;
  font-size: .875rem;
  color: var(--lv-gray);
}

.pw-pc-list {
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

/* the real member page (PRO's passport) */
.pw-real {
  max-width: 64rem;
  margin: 4rem auto 0;
  padding: 1.25rem;
  border-radius: 1.5rem;
  background: #fff;
  border: 1px solid var(--lv-line);
  box-shadow: 0 50px 90px -40px rgba(31,72,66,.4);
  font-family: "Google Sans Flex", "LvSans", system-ui, sans-serif;
  text-align: left;
}

.px-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

@media screen and (max-width: 991px) {
  .pw-pc-stage {
    flex-direction: column;
    gap: 2.5rem;
    padding: 3rem 1.25rem;
  }

  .pw-pc-list {
    grid-template-columns: 1fr;
  }

  .pw-real {
    padding: .75rem;
  }
}

/* PRO's form controls inside the real member page ("Check it's them") */
.pw-real input {
  height: 36px;
  padding: 0 10px;
  border: 1px solid #d5d8dc;
  border-radius: 6px;
  background: #fff;
  font: inherit;
  font-size: 14px;
  color: #1a1a1a;
}

.pw-real input:focus {
  outline: none;
  border-color: #2d8647;
  box-shadow: 0 0 0 3px rgba(45,134,71,.15);
}

.pw-real .pw-btn {
  height: 36px;
  padding: 0 14px;
  border: 0;
  border-radius: 6px;
  background: #2d8647;
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

/* ── /pathway "At the counter": the same card at a desk, Apilox PRO's real Pathway pages in a MacBook ── */
.pwd-desk {
  position: relative;
  z-index: 1;
  max-width: 62rem;
  margin: 7rem auto 0;
  padding-top: 5rem;
  border-top: 1px solid rgba(255,255,255,.1);
}

.pwd-head {
  max-width: 40rem;
  margin: 0 auto;
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 1rem;
}

.pwd-tag {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .4rem .9rem;
  border-radius: 999px;
  background: rgba(191,255,55,.1);
  border: 1px solid rgba(191,255,55,.28);
  color: var(--lv-lime);
  font-size: .875rem;
  font-weight: 600;
}

.pwd-tag .lv-i {
  font-size: 1rem;
}

.pwd-laptop {
  position: relative;
  margin: 3.5rem auto 0;
  max-width: 54rem;
}

/* a soft green light under the laptop, as the room's glow */
.pwd-laptop::before {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: -2rem;
  height: 40%;
  background: radial-gradient(ellipse at center, rgba(40,180,36,.28), transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}

.pwd-laptop .mb-laptop {
  max-width: none;
  margin: 0;
}

@media (max-width: 767px) {
  .pwd-desk {
    margin-top: 4rem;
    padding-top: 3.5rem;
  }

  .pwd-head .lv-h3 {
    font-size: 1.4rem;
  }

  .pwd-laptop {
    margin-top: 2.25rem;
    margin-left: -.5rem;
    margin-right: -.5rem;
  }
}

/* "Family and friends can pay for you too" link on /pathway (to /pathway/pay) */
.pw-paylink {
  color: #1c6b2a;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pw-paylink:hover {
  color: #28b424;
}

/* ═══ Pathway "why" section (Monex "Why Us" layout, owner 2026-11-20) ═══
   Measured from monex.framer.ai: 14px pill, 48px/500 title (-0.06em), 16px subtitle, 24px/500 item titles,
   16px item text; the active item has a green bar on its left, the others are dimmed; the right panel is a
   rounded card with the phone cut off by its bottom edge. Fonts: the site's LvSans (Apilox), the phone uses
   Atlas's own Figtree. */
.pw-why {
  position: relative;
  overflow: hidden;
  background: #f8f8f8;
}

/* Monex "Why Us" section grey (measured rgb 248,248,248) */
.pw-why > .pw-paper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.pw-why > .lv-container {
  position: relative;
  z-index: 1;
}

.pw-why-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

.pw-why-pill {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .25rem .8rem;
  border-radius: 100px;
  background: #fff;
  border: 1px solid #ebebeb;
  font-size: .875rem;
  font-weight: 500;
  letter-spacing: -.03em;
  color: #383838;
}

.pw-why-pill-ico {
  width: 15px;
  height: 15px;
  display: inline-flex;
  color: var(--lv-green);
}

.pw-why-pill-ico svg,
.pw-why-ico svg {
  width: 100%;
  height: 100%;
  display: block;
}

.pw-why-h2 {
  margin: 0;
  max-width: 46rem;
  font-size: 3rem;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: -.06em;
  color: #0a0a0a;
}

.pw-why-sub {
  margin: 0;
  max-width: 34rem;
  font-size: 1rem;
  line-height: 1.5;
  letter-spacing: -.03em;
  color: #383838;
}

.pw-why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

.pw-why-list {
  display: flex;
  flex-direction: column;
  gap: 2.2rem;
  padding-top: .4rem;
}

.pw-why-item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .8rem;
  padding: 0 0 0 1.25rem;
  margin: 0;
  border: 0;
  background: none;
  text-align: left;
  font: inherit;
  cursor: pointer;
  color: inherit;
  opacity: .8;
  transition: opacity .35s ease;
}

.pw-why-item.is-on {
  opacity: 1;
}

.pw-why-bar {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  border-radius: 3px;
  background: transparent;
  overflow: hidden;
}

.pw-why-item.is-on .pw-why-bar {
  background: rgba(40,180,36,.18);
}

.pw-why-bar i {
  position: absolute;
  inset: 0;
  background: var(--lv-green);
  transform: scaleY(0);
  transform-origin: top;
}

.pw-why-item.is-on .pw-why-bar i {
  animation: pwWhyFill var(--pw-hold, 6s) linear forwards;
}

.pw-why-item:not(.is-on) .pw-why-bar i {
  animation: none;
  transform: scaleY(0);
}

@keyframes pwWhyFill {
  to {
    transform: scaleY(1);
  }
}

.pw-why-t {
  display: flex;
  align-items: center;
  gap: .7rem;
  font-size: 1.5rem;
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: -.03em;
  color: #6b6b6b;
  transition: color .35s ease;
}

.pw-why-item.is-on .pw-why-t {
  color: #0a0a0a;
}

.pw-why-ico {
  width: 24px;
  height: 24px;
  flex: none;
  color: #393939;
  transition: color .35s ease;
}

.pw-why-item.is-on .pw-why-ico {
  color: #0a0a0a;
}

.pw-why-p {
  max-width: 27rem;
  font-size: 1rem;
  line-height: 1.5;
  letter-spacing: -.03em;
  color: #383838;
}

.pw-why-item:not(.is-on) .pw-why-p {
  color: #6b6b6b;
}

.pw-why-more {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-left: 1.25rem;
  font-weight: 500;
  color: var(--lv-forest);
  text-decoration: none;
}

.pw-why-more:hover {
  text-decoration: underline;
}

.pw-why-panel {
  position: relative;
  height: 30rem;
  border-radius: 2rem;
  overflow: hidden;
  background: #fff;
  border: 1px solid #ebebeb;
  display: flex;
  justify-content: center;
}

/* the project's half-phone mockup (images/live/phone-half.webp, as the CareBook card uses it): it hangs
   from the panel's top and the panel's bottom edge cuts it, like the template */
.pw-why-panel .lv-device {
  position: absolute;
  top: 2.6rem;
  left: 50%;
  width: 22rem;
  margin-left: -11rem;
}

/* ═══ at-pathway-app: the Atlas Pathway screen, from pathway_screen.dart (logical px on 390 x 844) ═══ */
.ap {
  position: relative;
  width: 390px;
  height: 844px;
  background: #000;
  color: #fff;
  overflow: hidden;
  font-family: "Figtree", "Manrope", -apple-system, sans-serif;
}

.ap .lv-status {
  color: #fff;
  position: relative;
  z-index: 2;
}

.ap-grid {
  position: absolute;
  inset: 0;
  width: 390px;
  height: 844px;
  z-index: 0;
  pointer-events: none;
}

.ap-head {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 16px 12px 8px;
}

.ap-back {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: #fff;
}

.ap-back svg {
  width: 28px;
  height: 28px;
}

.ap-head b {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.15;
}

.ap-view {
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  top: 112px;
  bottom: 0;
  overflow: hidden;
}

.ap-list {
  padding: 0 16px 40px;
  will-change: transform;
}

.ap-cardhead {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 4px 8px;
}

.ap-cardhead img {
  width: 20px;
  height: 20px;
}

.ap-cardhead b {
  font-size: 15px;
  font-weight: 800;
}

/* PathwayCardView: the back at 62% width, a 520 ms turn (rotateY, perspective .0012) to the front */
.ap-flip {
  position: relative;
  perspective: 833px;
  transition: height 520ms cubic-bezier(.33,1,.68,1);
}

.ap-face {
  transition: transform 520ms cubic-bezier(.32,0,.67,0), opacity 1ms 260ms;
  transform-origin: center;
}

.ap-face canvas {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 8px 18px rgba(0,0,0,.2);
}

.ap-face.is-back {
  width: 62%;
  margin: 0 auto;
}

.ap-face.is-front {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%) rotateY(90deg);
  opacity: 0;
}

.ap-flip.is-front .ap-face.is-back {
  transform: rotateY(-90deg);
  opacity: 0;
}

.ap-flip.is-front .ap-face.is-front {
  transform: translateY(-50%) rotateY(0);
  opacity: 1;
  transition: transform 520ms cubic-bezier(.33,1,.68,1) 260ms, opacity 1ms 260ms;
}

.ap-fliphint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-top: 8px;
  font-size: 12px;
  color: rgba(255,255,255,.5);
}

.ap-fliphint i {
  width: 15px;
  height: 15px;
  color: rgba(255,255,255,.45);
  display: flex;
}

.ap-hint {
  margin: 8px 0 0;
  text-align: center;
  font-size: 12px;
  line-height: 1.35;
  color: #8e8e93;
}

.ap-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}

.ap-stat {
  padding: 14px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.2);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ap-stat span {
  font-size: 12px;
  font-weight: 600;
  color: #8e8e93;
}

.ap-stat b {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
}

.ap-stat b.is-accent {
  color: #1c6b2a;
}

.ap-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 14px;
}

.ap-btn {
  height: 46px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  border: 1px solid #2a2a2a;
  color: #1c6b2a;
}

.ap-btn i {
  width: 17px;
  height: 17px;
  display: flex;
}

.ap-btn.is-fill {
  background: #1c6b2a;
  border-color: #1c6b2a;
  color: #fff;
}

.ap-card {
  margin-top: 10px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.2);
  overflow: hidden;
}

.ap-section {
  padding: 20px 4px 8px;
  font-size: 15px;
  font-weight: 800;
}

.ap-section + .ap-card {
  margin-top: 0;
}

.ap-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
}

.ap-link > div {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.ap-link b,
.ap-row b {
  font-size: 14px;
  font-weight: 700;
}

.ap-link small,
.ap-row small {
  font-size: 12px;
  color: #8e8e93;
}

.ap-ico {
  width: 20px;
  height: 20px;
  flex: none;
  color: #1c6b2a;
  display: flex;
}

.ap-link.is-off .ap-ico {
  color: #8e8e93;
}

.ap-chev {
  width: 16px;
  height: 16px;
  flex: none;
  color: #8e8e93;
  display: flex;
}

.ap-divider {
  height: 1px;
  background: #2a2a2a;
}

.ap-row {
  display: flex;
  align-items: center;
  padding: 12px 14px;
  border-top: 1px solid #2a2a2a;
}

.ap-row.is-first {
  border-top: 0;
}

.ap-row > div {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.ap-purchase {
  padding: 14px;
  border-top: 1px solid #2a2a2a;
}

.ap-purchase.is-first {
  border-top: 0;
}

.ap-p-top {
  display: flex;
  align-items: center;
}

.ap-p-top b {
  flex: 1;
  font-size: 14px;
  font-weight: 700;
}

.ap-p-items {
  display: block;
  font-size: 12px;
  color: #8e8e93;
}

.ap-gap6 {
  height: 6px;
}

.ap-kv {
  display: flex;
  padding: 2px 0;
  font-size: 13.5px;
  font-weight: 500;
}

.ap-kv span:first-child {
  flex: 1;
}

.ap-kv span:last-child {
  font-weight: 600;
}

.ap-kv.is-strong span {
  font-weight: 800;
}

.ap-tag {
  padding: 3px 8px;
  border-radius: 99px;
  font-size: 11.5px;
  font-weight: 700;
}

.ap-tag.is-accent {
  color: #1c6b2a;
  background: rgba(28,107,42,.14);
}

.ap-tag.is-amber {
  color: #9a6512;
  background: rgba(154,101,18,.14);
}

.ap-tag.is-red {
  color: #c62828;
  background: rgba(198,40,40,.14);
}

.ap .ax-home-ind {
  z-index: 3;
}

/* the website's light version of the screen (owner 2026-11-20): white page, grey grid lines (in the JS),
   dark text, borders and separators flipped; the greens stay the app's */
.ap.is-light {
  background: #fff;
  color: #0a0a0a;
}

.ap.is-light .lv-status,
.ap.is-light .ap-back {
  color: #0a0a0a;
}

.ap.is-light .ap-stat b {
  color: #0a0a0a;
}

.ap.is-light .ap-stat b.is-accent {
  color: #1c6b2a;
}

.ap.is-light .ap-stat,
.ap.is-light .ap-card {
  border-color: rgba(0,0,0,.12);
}

.ap.is-light .ap-btn {
  border-color: #e5e5ea;
}

.ap.is-light .ap-btn.is-fill {
  border-color: #1c6b2a;
}

.ap.is-light .ap-divider {
  background: #e5e5ea;
}

.ap.is-light .ap-row,
.ap.is-light .ap-purchase {
  border-top-color: #e5e5ea;
}

.ap.is-light .ap-row.is-first,
.ap.is-light .ap-purchase.is-first {
  border-top: 0;
}

.ap.is-light .ap-fliphint {
  color: rgba(0,0,0,.5);
}

.ap.is-light .ap-fliphint i {
  color: rgba(0,0,0,.45);
}

.ap.is-light .ax-home-ind {
  background: #0a0a0a;
}

@media (max-width: 991px) {
  .pw-why-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .pw-why-h2 {
    font-size: 2.3rem;
  }

  .pw-why-panel {
    height: 27rem;
  }
}

@media (max-width: 479px) {
  .pw-why-h2 {
    font-size: 1.9rem;
  }

  .pw-why-t {
    font-size: 1.25rem;
  }

  .pw-why-phone {
    width: 17rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pw-why-item.is-on .pw-why-bar i {
    animation: none;
    transform: scaleY(1);
  }
}

/* ═══ Pathway introduction on the home page (owner 2026-11-20, "Empowering Your Health" reference) ═══ */
.pw-intro {
  position: relative;
  overflow: hidden;
  background: #eef1f0;
  padding-top: 4rem;
}

.pw-intro-stage {
  position: relative;
  height: 34rem;
  display: flex;
  justify-content: center;
}

.pw-intro-words {
  position: absolute;
  inset: 1.5rem 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
  font-weight: 600;
  font-size: clamp(3.5rem, 11vw, 10.5rem);
  line-height: .95;
  letter-spacing: -.04em;
  color: rgba(255,255,255,.92);
  text-shadow: 0 2px 30px rgba(0,0,0,.04);
  white-space: nowrap;
}

.pw-intro-photo {
  position: relative;
  z-index: 2;
  align-self: flex-end;
  width: min(42rem, 88vw);
  height: auto;
  margin-bottom: -3.5rem;
}

.pw-intro-glow {
  position: absolute;
  z-index: 1;
  left: 50%;
  bottom: -6rem;
  width: 64rem;
  height: 18rem;
  margin-left: -32rem;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(40,180,36,.55), rgba(40,180,36,.18) 55%, rgba(40,180,36,0));
  filter: blur(10px);
}

.pw-intro-arch {
  position: relative;
  z-index: 3;
  margin-top: -4rem;
  padding: 3.2rem 1.5rem 2.2rem;
  background: #fff;
  text-align: center;
  border-radius: 50% 50% 0 0 / 5rem 5rem 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.6rem;
}

.pw-intro-t {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .35rem;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: -.02em;
  color: #0a0a0a;
}

.pw-intro-t mark {
  background: #e3f4e2;
  color: inherit;
  padding: 0 .35em;
  border-radius: .45em;
}

.pw-intro-down {
  width: 2.6rem;
  height: 2.6rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #eef1f0;
  color: #0a0a0a;
  transition: transform .25s ease, background .25s ease;
}

.pw-intro-down:hover {
  transform: translateY(3px);
  background: #e3f4e2;
}

.pw-intro-down svg {
  width: 16px;
  height: 16px;
}

@media (max-width: 767px) {
  .pw-intro-stage {
    height: 24rem;
  }

  .pw-intro-photo {
    margin-bottom: -2.5rem;
  }

  .pw-intro-arch {
    margin-top: -3rem;
    border-radius: 50% 50% 0 0 / 3rem 3rem 0 0;
  }
}

/* ═══ Pathway section: the hand holding the phone with photos around it (owner 2026-11-20; arrangement after
   the "Discover local food" hero reference: tilted rounded photo tiles left and right, a dashed path, two icons).
   No panel behind it: everything sits on the section's grey. ═══ */
.pw-why-stage {
  position: relative;
  height: 38rem;
}

.pw-why-path {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.pw-why-path path {
  stroke: rgba(40,180,36,.55);
  stroke-width: 2;
  stroke-dasharray: 7 8;
  stroke-linecap: round;
}

.pw-why-hand {
  position: absolute;
  left: 50%;
  top: 1rem;
  width: 17rem;
  margin-left: -8.2rem;
  z-index: 3;
  filter: drop-shadow(0 30px 40px rgba(0,0,0,.14));
}

.pw-why-tile {
  position: absolute;
  z-index: 2;
  width: 9.6rem;
  height: 9.6rem;
  object-fit: cover;
  border-radius: 1.4rem;
  border: 5px solid #fff;
  box-shadow: 0 18px 40px rgba(17,34,30,.16);
  animation: pwTile 7s ease-in-out infinite;
}

.pw-why-tile.is-1 {
  left: 3%;
  top: 15%;
  --r: -9deg;
}

.pw-why-tile.is-2 {
  left: 0;
  top: 49%;
  --r: 7deg;
  animation-delay: -2s;
}

.pw-why-tile.is-3 {
  right: 3%;
  top: 12%;
  --r: 9deg;
  animation-delay: -3.5s;
}

.pw-why-tile.is-4 {
  right: 0;
  top: 47%;
  --r: -7deg;
  animation-delay: -5s;
}

@keyframes pwTile {
  0%,
  100% {
    transform: rotate(var(--r)) translateY(0);
  }

  50% {
    transform: rotate(var(--r)) translateY(-8px);
  }
}

.pw-why-badge {
  position: absolute;
  z-index: 2;
  width: 2.9rem;
  height: 2.9rem;
  display: grid;
  place-items: center;
  border-radius: .9rem;
  background: #fff;
  color: var(--lv-green);
  box-shadow: 0 10px 24px rgba(17,34,30,.12);
}

.pw-why-badge svg {
  width: 1.5rem;
  height: 1.5rem;
}

.pw-why-badge.is-a {
  left: 21%;
  top: 2%;
  transform: rotate(-8deg);
}

.pw-why-badge.is-b {
  left: 26%;
  bottom: 6%;
  transform: rotate(10deg);
}

@media (max-width: 991px) {
  .pw-why-stage {
    height: 36rem;
    max-width: 36rem;
    margin: 0 auto;
  }
}

@media (max-width: 479px) {
  .pw-why-stage {
    height: 30rem;
  }

  .pw-why-hand {
    width: 13.5rem;
    margin-left: -6.5rem;
  }

  .pw-why-tile {
    width: 6.6rem;
    height: 6.6rem;
    border-width: 3px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pw-why-tile {
    animation: none;
    transform: rotate(var(--r));
  }
}

/* the hand on the grey: no backdrop card behind it (owner 2026-11-20: "the current white background, remove it") */
.pw-why-hand .lv-fit::before {
  display: none;
}

/* ═══ Pathway introduction, round 2 (owner 2026-11-20): at least 90vh, bigger photo, the reference's green
   gradient rising behind the people, a taller arch, and the arrow on the section's bottom edge (half in the
   white, half in the Pathway section below). ═══ */
.pw-intro {
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: visible;
  z-index: 5;
  background: linear-gradient(180deg, #eef1f0 0%, #eef1f0 42%, #d8eedb 68%, #a9e2af 100%);
}

.pw-intro-stage {
  flex: 1;
  height: auto;
  min-height: 30rem;
  overflow: hidden;
}

.pw-intro-words {
  font-size: clamp(4rem, 12vw, 12rem);
}

.pw-intro-photo {
  width: min(54rem, 96vw);
  margin-bottom: -6rem;
}

.pw-intro-glow {
  width: 80rem;
  height: 26rem;
  margin-left: -40rem;
  bottom: -9rem;
  background: radial-gradient(closest-side, rgba(40,180,36,.7), rgba(40,180,36,.25) 55%, rgba(40,180,36,0));
}

.pw-intro-arch {
  margin-top: -7.5rem;
  padding: 4.6rem 1.5rem 4.2rem;
  border-radius: 50% 50% 0 0 / 8.5rem 8.5rem 0 0;
}

.pw-intro-down {
  position: absolute;
  left: 50%;
  bottom: -1.45rem;
  margin-left: -1.45rem;
  width: 2.9rem;
  height: 2.9rem;
  z-index: 6;
  background: #fff;
  box-shadow: 0 6px 18px rgba(17,34,30,.12);
}

@media (max-width: 767px) {
  .pw-intro-photo {
    margin-bottom: -3.5rem;
  }

  .pw-intro-arch {
    margin-top: -4.5rem;
    border-radius: 50% 50% 0 0 / 4.5rem 4.5rem 0 0;
  }
}

/* ═══ Pathway section, round 2: a bigger hand that rises from the section's bottom edge; less bottom space ═══ */
.pw-why {
  padding-bottom: 0;
}

.pw-why-grid {
  align-items: stretch;
}

.pw-why-list {
  padding-bottom: 4rem;
}

.pw-why-stage {
  height: 44rem;
  align-self: end;
}

.pw-why-hand {
  top: auto;
  bottom: 0;
  width: 22rem;
  margin-left: -10.6rem;
}

.pw-why-tile.is-1 {
  top: 8%;
}

.pw-why-tile.is-3 {
  top: 6%;
}

.pw-why-tile.is-2 {
  top: 44%;
}

.pw-why-tile.is-4 {
  top: 42%;
}

.pw-why-badge.is-b {
  bottom: 14%;
}

@media (max-width: 479px) {
  .pw-why-stage {
    height: 34rem;
  }

  .pw-why-hand {
    width: 16rem;
    margin-left: -7.7rem;
  }
}

/* ═══ the photos around the hand travel clockwise (owner 2026-11-20): four spots, top-left > top-right >
   bottom-right > bottom-left; pathway-why.js moves every photo one spot on, they glide and re-tilt ═══ */
@property --r {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

.pw-why-tile {
  right: auto !important;
  transition: left 1.4s cubic-bezier(.45,.05,.25,1), top 1.4s cubic-bezier(.45,.05,.25,1), --r 1.4s ease;
}

.pw-why-tile[data-spot="0"] {
  left: 3%;
  top: 8%;
  --r: -9deg;
}

.pw-why-tile[data-spot="1"] {
  left: calc(97% - 9.6rem);
  top: 6%;
  --r: 9deg;
}

.pw-why-tile[data-spot="2"] {
  left: calc(100% - 9.6rem);
  top: 42%;
  --r: -7deg;
}

.pw-why-tile[data-spot="3"] {
  left: 0;
  top: 44%;
  --r: 7deg;
}

@media (max-width: 479px) {
  .pw-why-tile[data-spot="1"] {
    left: calc(97% - 6.6rem);
  }

  .pw-why-tile[data-spot="2"] {
    left: calc(100% - 6.6rem);
  }
}

/* the round piece on the edge between the two sections: no arrow, no shadow (owner 2026-11-20) */
.pw-intro-down {
  box-shadow: none;
}

.pw-intro-down svg {
  display: none;
}

.pw-intro-down:hover {
  transform: none;
  background: #fff;
}

/* the rotating photos a bit bigger (owner 2026-11-20): 9.6rem -> 11.5rem */
.pw-why-tile {
  width: 11.5rem;
  height: 11.5rem;
  border-radius: 1.6rem;
}

.pw-why-tile[data-spot="1"] {
  left: calc(97% - 11.5rem);
}

.pw-why-tile[data-spot="2"] {
  left: calc(100% - 11.5rem);
}

@media (max-width: 479px) {
  .pw-why-tile {
    width: 7.8rem;
    height: 7.8rem;
  }

  .pw-why-tile[data-spot="1"] {
    left: calc(97% - 7.8rem);
  }

  .pw-why-tile[data-spot="2"] {
    left: calc(100% - 7.8rem);
  }
}

/* ═══ Clinical support on /apilox (owner 2026-11-20): monex.framer.ai/features "Customer services" layout -
   pill + 48px title + subtitle, then a bento of four cards (wide/narrow, narrow/wide), radius 24, light fill,
   pictures running off the card edge - in the Apilox look (black pill, lime accents, Apilox font). ═══ */
.ck2-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  margin-bottom: 3rem;
}

.ck2-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 99px;
  background: #000;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

.ck2-pill .lv-i {
  color: #8df868;
}

.ck2-h2 {
  margin: 0;
  max-width: 46rem;
  font-size: clamp(2.1rem, 3.9vw, 3.5rem);
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -.04em;
  color: #000;
}

.ck2-sub {
  margin: 0;
  max-width: 36rem;
  font-size: 1.0625rem;
  line-height: 1.5;
  color: #383838;
}

.ck2-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.ck2-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 30rem;
  border-radius: 24px;
  background: #f4f6f2;
  overflow: hidden;
}

.ck2-card.is-wide {
  grid-column: span 2;
}

.ck2-card.is-text-low {
  justify-content: space-between;
}

.ck2-text {
  padding: 28px 28px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ck2-h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: -.02em;
  color: #000;
}

.ck2-p {
  margin: 0;
  max-width: 30rem;
  font-size: 16px;
  line-height: 1.5;
  color: #383838;
}

.ck2-stage {
  position: relative;
  flex: 1;
}

/* a PRO screen as a window rising from the card's bottom edge */
.ck2-stage.is-window,
.ck2-stage.is-book {
  margin: 4px 28px 0;
  border-radius: 16px 16px 0 0;
  background: #fff;
  box-shadow: 0 -2px 0 rgba(0,0,0,.04), 0 20px 50px -20px rgba(0,0,0,.25);
  overflow: hidden;
  padding: 16px 18px 0;
  max-height: 19rem;
}

.ck2-stage.is-book {
  padding: 0;
  display: flex;
}

.ck2-stage.is-book .ck-book {
  flex: 1;
}

/* WhatsApp Care line: chat bubbles in a floating card */
.ck2-stage.is-chat {
  margin: 28px 22px 0;
  padding: 18px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 20px 50px -24px rgba(0,0,0,.25);
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: none;
  transform: rotate(-2deg);
}

.ck2-bub {
  display: flex;
  align-items: flex-end;
  gap: 8px;
}

.ck2-bub > div {
  padding: 10px 12px;
  border-radius: 14px;
  font-size: 13.5px;
  line-height: 1.4;
  color: #111;
  background: #f1f2f0;
  max-width: 85%;
}

.ck2-bub b {
  display: block;
  margin-bottom: 3px;
  font-size: 11.5px;
  font-weight: 700;
  color: #555;
}

.ck2-bub.is-me {
  justify-content: flex-end;
}

.ck2-bub.is-me > div {
  background: #8df868;
  border-bottom-right-radius: 4px;
}

.ck2-bub.is-them > div {
  border-bottom-left-radius: 4px;
}

.ck2-av {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #000;
  color: #8df868;
  font-size: 12px;
  font-weight: 700;
}

.ck2-av.is-lg {
  width: 44px;
  height: 44px;
  font-size: 15px;
}

.ck2-react {
  align-self: flex-end;
  display: flex;
  gap: 4px;
  font-size: 15px;
}

/* CareBook: a patient's record as a small form */
.ck2-stage.is-form {
  margin: 4px 28px 0;
  padding: 20px 20px 0;
  border-radius: 16px 16px 0 0;
  background: #fff;
  box-shadow: 0 20px 50px -20px rgba(0,0,0,.25);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ck2-who {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #eceeea;
}

.ck2-who b {
  display: block;
  font-size: 15px;
  color: #000;
}

.ck2-who small {
  font-size: 12px;
  color: #6b6b6b;
}

.ck2-field {
  display: grid;
  grid-template-columns: 92px 1fr;
  column-gap: 10px;
  align-items: baseline;
  padding: 8px 10px;
  border-radius: 10px;
  background: #f6f7f5;
}

.ck2-field span {
  grid-row: span 2;
  font-size: 12px;
  color: #6b6b6b;
}

.ck2-field b {
  font-size: 14px;
  color: #000;
}

.ck2-field b.is-red {
  color: #c62828;
}

.ck2-field small {
  font-size: 11.5px;
  color: #6b6b6b;
}

@media (max-width: 991px) {
  .ck2-grid {
    grid-template-columns: 1fr;
  }

  .ck2-card.is-wide {
    grid-column: auto;
  }

  .ck2-card {
    min-height: 0;
  }

  .ck2-stage.is-window,
  .ck2-stage.is-book,
  .ck2-stage.is-form {
    margin-top: 8px;
  }

  .ck2-stage.is-chat {
    margin-bottom: 8px;
  }
}

/* the PRO screens fill their window on the clinical cards */
.ck2-stage .ck-desk,
.ck2-stage .ck-book {
  max-width: none;
  width: 100%;
}

.ck2-stage.is-window {
  padding: 0;
}

.ck2-stage.is-window .ck-desk {
  box-shadow: none;
  border-radius: 0;
}

.ck2-stage.is-book .ck-book {
  padding: 16px 18px 0;
}

/* ═══ Company team (owner 2026-11-20): monpetitplacement.fr/qui-sommes-nous "Founders" cards - black intro card,
   lime member cards 420px wide, radius 44, photo inset 8px with radius 44, name 40/600, role 20/600, story 16/500. ═══ */
.tm-sec {
  padding: 6rem 0;
  overflow: hidden;
}

.tm-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 0 max(16px, calc((100vw - 1310px) / 2));
  scroll-padding: 0 max(16px, calc((100vw - 1310px) / 2));
}

.tm-track::-webkit-scrollbar {
  display: none;
}

.tm-intro,
.tm-card {
  flex: none;
  scroll-snap-align: start;
  border-radius: 44px;
  min-height: 37rem;
}

.tm-intro {
  width: 380px;
  padding: 32px;
  background: #000;
  color: #fff;
  display: flex;
  flex-direction: column;
}

.tm-h2 {
  margin: 0;
  font-size: 48px;
  line-height: 1.02;
  font-weight: 600;
  letter-spacing: -.04em;
  color: #fff;
}

.tm-sub {
  margin: 24px 0 0;
  font-size: 20px;
  line-height: 1.3;
  color: #fff;
}

.tm-next {
  margin-top: auto;
  width: 80px;
  height: 80px;
  border: 0;
  border-radius: 50%;
  background: #8df868;
  color: #000;
  display: grid;
  place-items: center;
  font-size: 32px;
  cursor: pointer;
  transition: transform .3s;
}

.tm-next:hover {
  transform: translateX(6px);
}

.tm-card {
  width: 420px;
  padding: 8px 8px 0;
  background: #8df868;
  color: #000;
  display: flex;
  flex-direction: column;
}

.tm-photo {
  height: 303px;
  border-radius: 44px;
  overflow: hidden;
  background: #0d0d0d;
}

.tm-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 12%;
  display: block;
}

.tm-body {
  padding: 24px 24px 32px;
}

.tm-name {
  margin: 0;
  font-size: 40px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -.04em;
}

.tm-role {
  margin-top: 6px;
  font-size: 20px;
  line-height: 1.1;
  font-weight: 600;
}

.tm-edu {
  display: inline-block;
  margin-top: 10px;
  padding: 3px 10px;
  border-radius: 99px;
  background: #000;
  color: #8df868;
  font-size: 13px;
  font-weight: 600;
}

.tm-bio {
  margin: 16px 0 0;
  font-size: 16px;
  line-height: 1.45;
  font-weight: 500;
}

@media (max-width: 767px) {
  .tm-sec {
    padding: 4rem 0;
  }

  .tm-intro {
    width: 82vw;
    min-height: 22rem;
  }

  .tm-card {
    width: 82vw;
    min-height: 0;
  }

  .tm-h2 {
    font-size: 36px;
  }

  .tm-photo {
    height: 240px;
  }

  .tm-name {
    font-size: 32px;
  }
}

/* ═══ Responsive pass before the 2026-11-20 deploy ═══ */
/* the closing banner's hand-held phone pokes out past the window's right edge between 992 and ~1100px: clip sideways only,
   so it still rises from behind the footer */
.sx-banner {
  overflow-x: clip;
}

/* the contact map's coloured glow is wider than a tablet or phone screen */
.mp-scope .mp-map-wrapper.ct-map,
.mp-scope .mp-map-wrapper-main {
  overflow-x: clip;
}

/* "Empowering / Elderly Patients" stays on two lines that fit a phone */
@media (max-width: 767px) {
  .pw-intro-words {
    font-size: 11vw;
  }
}

/* /apilox hero: the store's own icon in the Android / iPhone buttons (owner 2026-11-21) */
.lv-btn .lv-btn-store {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex: none;
  border-radius: 5px;
}

/* FAQ plus/minus (owner 2026-11-21): its two icons sat 2px apart, so the plus showed doubled lines - both now share
   one grid cell in the middle of the round button */
.mp-scope .mp-faq-arrow-wrap {
  display: grid;
  place-items: center;
}

.mp-scope .mp-faq-arrow-wrap > .mp-faq-arrow {
  grid-area: 1 / 1;
}

.mp-scope .mp-faq-arrow-wrap > .mp-faq-arrow.mp-absolute {
  position: static !important;
  inset: auto !important;
  margin: 0 !important;
}

/* Team, pinned (owner 2026-11-21): the row stays on screen while you scroll and slides sideways with the scroll */
.tm-sec[data-tm-pin] {
  position: relative;
  padding: 0;
  overflow: visible;
}

.tm-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.tm-sec[data-tm-pin] .tm-track {
  overflow: visible;
  scroll-snap-type: none;
  will-change: transform;
  width: 100%;
}

@media (max-width: 767px) {
  .tm-pin {
    align-items: center;
  }
}

/* /atlas hero: the store's icon in the Google Play and App Store buttons (owner 2026-11-21) */
.mp-scope .at-store-btn .mp-button-item-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mp-scope .at-store-ico {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex: none;
}

/* /atlas "Built for the way you buy medicine" (owner 2026-11-21): the three floating iPhones from the owner's mockup
   (live_assets.three_phones), each screen a live Atlas demo - one photo on top, three live screens under its holes;
   the five tabs keep their text, their old cards are hidden */
.at-three-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.at-three-wrap .mp-w-tab-pane {
  display: none !important;
}

.at-three {
  position: relative;
  width: min(100%, 36rem);
  aspect-ratio: 1;
  margin: auto;
}

.at-three .at-three-dev {
  position: absolute;
  inset: 0;
}

.at-three .at-three-dev .lv-fit::before {
  display: none;
}

.at-three-shell {
  position: absolute;
  inset: 0;
  z-index: 5;
  width: 100%;
  height: 100%;
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 30px 40px rgba(0,0,0,.18));
}

/* Team, round 2 (owner 2026-11-21): wider than a phone, the black intro card stays in place above the sliding row
   (the members pass under it); a white band to its left hides them once they have gone by */
@media (min-width: 768px) {
  .tm-sec[data-tm-pin] .tm-intro {
    position: relative;
    z-index: 3;
    will-change: transform;
  }

  .tm-sec[data-tm-pin] .tm-intro::before {
    content: "";
    position: absolute;
    top: -40px;
    bottom: -40px;
    right: 100%;
    width: 100vw;
    background: #fff;
  }

  .tm-sec[data-tm-pin] .tm-card {
    position: relative;
    z-index: 1;
  }
}

/* ═══ Pathway section, round 3 (owner 2026-11-21): the hand is replaced by our own glossy lime phone, tilted in 3D
   and running off the right edge of the page (the section clips it there); the rotating photos stay on top ═══ */
.pw-why-stage {
  overflow: visible;
}

.pw-gphone {
  position: absolute;
  z-index: 3;
  left: 38%;
  bottom: -7rem;
  width: 25rem;
  pointer-events: none;
}

.pw-gphone-tilt {
  transform: perspective(1800px) rotateX(16deg) rotateY(-18deg) rotateZ(-24deg);
  transform-origin: 30% 60%;
}

.pw-gphone-body {
  padding: 13px;
  border-radius: 62px;
  background: linear-gradient(140deg, #d9ff7a 0%, #8df868 22%, #3fd32a 55%, #1fae1c 100%);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.55), inset 0 -10px 18px rgba(0,70,0,.28), inset 8px 0 14px rgba(255,255,255,.35),
    9px 9px 0 #45c827, 16px 16px 0 #2aa51b, 22px 23px 0 #1d8a14, 40px 70px 70px rgba(10,60,10,.28);
}

.pw-gphone-body .lv-fit {
  border-radius: 50px;
  background: #fff;
  box-shadow: 0 0 0 6px #0b0d0b;
}

.pw-gphone-body .lv-fit::before {
  display: none;
}

.pw-gphone-body .lv-screen {
  width: 390px;
  height: 844px;
}

.pw-gphone-island {
  position: absolute;
  z-index: 3;
  top: 30px;
  left: 50%;
  width: 31%;
  height: 30px;
  margin-left: -15.5%;
  border-radius: 30px;
  background: #050505;
}

.pw-why-tile {
  z-index: 4;
}

@media (max-width: 991px) {
  .pw-gphone {
    left: 34%;
    width: 22rem;
    bottom: -6rem;
  }
}

@media (max-width: 479px) {
  .pw-gphone {
    left: 30%;
    width: 17rem;
    bottom: -4rem;
  }

  .pw-gphone-body {
    padding: 9px;
    border-radius: 46px;
  }

  .pw-gphone-body .lv-fit {
    border-radius: 38px;
    box-shadow: 0 0 0 4px #0b0d0b;
  }

  .pw-gphone-island {
    top: 20px;
    height: 20px;
  }
}

/* round 3b: a thicker frame and a smaller island that sits in the status bar, clear of the screen's title */
.pw-gphone {
  width: 27rem;
}

.pw-gphone-body {
  padding: 16px;
  border-radius: 66px;
}

.pw-gphone-island {
  top: 24px;
  height: 22px;
  width: 27%;
  margin-left: -13.5%;
}

@media (max-width: 991px) {
  .pw-gphone {
    width: 22rem;
  }
}

@media (max-width: 479px) {
  .pw-gphone {
    width: 16rem;
  }

  .pw-gphone-body {
    padding: 10px;
    border-radius: 46px;
  }

  .pw-gphone-island {
    top: 16px;
    height: 15px;
  }
}

/* round 3c: no camera island on the lime phone (it covered the screen title once tilted) */
.pw-gphone-island {
  display: none;
}

/* How it works: the step cards drop in, Step 01 to Step 04 (owner 2026-11-21) */
.mp-how-it-work-card.how-drop {
  opacity: 0;
  transform: translateY(-90px) rotate(-5deg);
}

.mp-how-it-work-wrapper.is-dropped .mp-how-it-work-card.how-drop {
  animation: howDrop .9s cubic-bezier(.3,1.35,.5,1) var(--drop-delay, 0s) both;
}

@keyframes howDrop {
  0% {
    opacity: 0;
    transform: translateY(-90px) rotate(-5deg);
  }

  55% {
    opacity: 1;
    transform: translateY(10px) rotate(1.5deg);
  }

  78% {
    transform: translateY(-4px) rotate(-.5deg);
  }

  100% {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mp-how-it-work-card.how-drop,
  .mp-how-it-work-wrapper.is-dropped .mp-how-it-work-card.how-drop {
    opacity: 1;
    transform: none;
    animation: none;
  }
}
