/* =======================================================
   Product detail pages (product/<name>/index.html)
   Loaded after ../../style.css, which supplies the navbar,
   footer, fonts and the shared --gutter.
   ======================================================= */
:root {
  --px-purple: #6a42d8;
  --px-purple-dark: #5530bd;
  --px-ink: #1d1b22;
  --px-text: #403e47;
  --px-line: #e6e0f2;
  --px-bg: #f8f4fe;
}

.product-page {
  background: #ffffff;
}

/* sections slide in from the sides; clip so they never widen the page */
.product-page main {
  overflow-x: clip;
}

/* ---------- Hero ---------- */
.px-hero {
  position: relative;
  background: #f3eafa;
  padding: calc(var(--header-h) + 56px) var(--gutter) 100px;
  overflow: hidden;
}

.px-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 48px;
  max-width: 1440px;
  margin: 0 auto;
}

/* pill badge: ● CENCONX | The future of vault access */
.px-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid var(--px-line);
  border-radius: 999px;
  background: #ffffff;
  font-size: 12px;
  margin-bottom: 22px;
}

.px-badge-name {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--px-purple);
}

.px-badge-name::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--px-purple);
}

.px-badge-tag {
  padding-left: 14px;
  border-left: 1px solid var(--px-line);
  color: var(--px-purple);
}

.px-title {
  font-size: clamp(40px, 4.4vw, 64px);
  line-height: 1.12;
  font-weight: 500;
  letter-spacing: -1.5px;
  color: var(--px-ink);
  margin-bottom: 22px;
}

.px-title span {
  color: var(--px-purple);
}

.px-lead {
  max-width: 470px;
  font-size: 16px;
  line-height: 1.8;
  font-weight: 400;
  color: var(--px-text);
  margin-bottom: 28px;
}

.px-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 28px;
}

.px-btn {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding: 14px 24px;
  background: var(--px-purple);
  color: #ffffff;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 2px;
  box-shadow: 0 10px 24px rgba(106, 66, 216, 0.25);
  transition: background 0.2s ease, transform 0.2s ease;
}

.px-btn:hover {
  background: var(--px-purple-dark);
  transform: translateY(-1px);
}

.px-btn svg {
  transition: transform 0.2s ease;
}

.px-btn:hover svg {
  transform: translateX(3px);
}

.px-link {
  color: var(--px-ink);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}

.px-link span {
  margin-left: 6px;
  color: var(--px-purple);
}

/* ---------- Product visual with floating chips ---------- */
.px-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 600px;
}

.px-ring {
  position: absolute;
  width: min(600px, 110%);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid #ece4fb;
  background: none;
}

.px-product {
  position: relative;
  width: min(600px, 100%);
  height: auto;
  filter: drop-shadow(0 30px 40px rgba(30, 20, 60, 0.18));
  /* sits above the ripples/ring so the pulse only shows behind the device */
  z-index: 1;
}

.px-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  /* iOS-style glass: very see-through, strong blur + colour boost of what's
     behind, light top-left sheen, bright hairline edge and a soft lift */
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0.18) 55%, rgba(255, 255, 255, 0.3) 100%);
  -webkit-backdrop-filter: blur(24px) saturate(190%) brightness(1.06);
  backdrop-filter: blur(24px) saturate(190%) brightness(1.06);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 20px;
  box-shadow:
    0 12px 36px rgba(40, 20, 90, 0.14),
    0 2px 6px rgba(40, 20, 90, 0.06),
    inset 0 1px 1px rgba(255, 255, 255, 0.95),
    inset 0 -1px 1px rgba(255, 255, 255, 0.25);
  font-size: 14px;
  color: var(--px-ink);
  white-space: nowrap;
  z-index: 2;
  animation: px-float 5s ease-in-out infinite;
}

.px-chip svg {
  color: var(--px-purple);
  flex: none;
}

.px-chip small {
  font-size: 11px;
  color: #615e68;
}

.px-chip-auth {
  top: 6%;
  left: 2%;
  padding: 20px 18px;
  align-items: flex-start;
}

.px-chip-auth strong {
  display: block;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 4px;
}

.px-chip-ic {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-top: 4px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.6);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.8);
  color: var(--px-purple);
}

.px-chip-secure {
  top: 38%;
  right: -2%;
  animation-delay: -1.6s;
}

.px-dot {
  width: 6px;
  height: 6px;
  margin-left: 8px;
  border-radius: 50%;
  background: #3fb97a;
}

.px-chip-audit {
  bottom: 10%;
  left: 10%;
  animation-delay: -3.2s;
}

.px-chip-audit small {
  margin-left: 14px;
}

@keyframes px-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@media (prefers-reduced-motion: reduce) {
  .px-chip {
    animation: none;
  }
}

/* ---------- Benefit statements row ---------- */
.px-benefits {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  max-width: 1440px;
  margin: 60px auto 0;
  padding: 0 22px;
}

.px-benefits li {
  font-size: 16px;
  line-height: 1.75;
  font-weight: 400;
  color: var(--px-text);
  max-width: 250px;
}

/* =======================================================
   Content sections (Product Details / Technical / Functionalities)
   ======================================================= */
.px-section {
  padding: 90px var(--gutter);
}

.px-container {
  max-width: 1440px;
  margin: 0 auto;
}

.px-heading {
  font-size: clamp(32px, 3vw, 44px);
  font-weight: 400;
  letter-spacing: -0.8px;
  color: var(--px-ink);
  margin-bottom: 48px;
}

/* lavender framed product image */
.px-frame {
  position: relative;
  margin: 0;
  background: radial-gradient(circle at 50% 50%, #f9f5ff 0%, #f1eafc 70%);
  display: grid;
  place-items: center;
  padding: 56px 28px;
}

.px-frame img {
  width: min(360px, 80%);
  height: auto;
  mix-blend-mode: multiply;
}

.px-frame-label {
  position: absolute;
  top: 26px;
  left: 28px;
  font-size: 12px;
  letter-spacing: 2px;
  color: #4e4b55;
}

.px-frame-label span {
  margin: 0 4px;
}

.px-frame-note {
  position: absolute;
  bottom: 22px;
  left: 28px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #4e4b55;
}

.px-frame-note::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--px-purple);
}

/* ---------- Product Details ---------- */
.px-details {
  background: #ffffff;
  scroll-margin-top: var(--header-h-scrolled);
}

.px-details-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 110px;
  align-items: center;
}

/* text fills its whole column (no fixed cap) so it reaches the right edge
   of the content area, lined up with the other sections */
.px-details-copy {
  max-width: none;
}

.px-details-copy h3 {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--px-ink);
  margin-bottom: 26px;
}

.px-details-copy p {
  font-size: 16px;
  line-height: 1.75;
  font-weight: 400;
  color: #3d3a45;
  text-align: justify;
}

.px-details-copy p + p {
  margin-top: 20px;
}

/* ---------- Technical Details ---------- */
.px-tech {
  background: #f3e8fa;
}

.px-tech-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 80px;
  align-items: center;
}

.px-tech .px-heading {
  margin-bottom: 28px;
}

.px-spec-title {
  font-size: 18px;
  font-weight: 500;
  color: var(--px-ink);
  padding-bottom: 12px;
  border-bottom: 1px solid #ddd2ea;
}

.px-spec {
  margin: 0 0 36px;
}

.px-spec div {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid #ddd2ea;
  font-size: 16px;
}

.px-spec dt {
  font-weight: 500;
  color: var(--px-ink);
}

.px-spec dd {
  margin: 0;
  color: #414654;
}

.px-tech-frame {
  background: radial-gradient(circle at 50% 45%, #f6f0fd 0%, #ece2fa 75%);
  aspect-ratio: 1.05;
}

.px-tech-frame img {
  /* TechnicalDetails.png has wide transparent margins, so let it fill the box */
  width: 112%;
  max-width: none;
}

.px-frame-mark {
  position: absolute;
  right: 30px;
  bottom: 26px;
  font-size: 12px;
  letter-spacing: 4px;
  color: #645e76;
}

/* ---------- Functionalities ---------- */
.px-func {
  background: #ffffff;
}

.px-func-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

.px-func .px-heading {
  margin-bottom: 40px;
}

.px-func-group {
  padding-top: 32px;
  border-top: 1px solid var(--px-line);
}

/* the list above already ends with its own row lines, so the second group
   doesn't need another full-width line on top */
.px-func-group + .px-func-group {
  margin-top: 26px;
  border-top: 0;
}

.px-func .px-spec-title {
  border: 0;
  padding-bottom: 20px;
}

.px-func-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 28px;
}

.px-func-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--px-line);
  font-size: 16px;
  line-height: 1.55;
  color: #414654;
}

.px-func-list strong {
  font-weight: 600;
  color: var(--px-ink);
}

.px-footnote {
  margin-top: 22px;
  font-size: 13px;
  color: #4e4b55;
}

/* sized to match the Technical Details image box (~470px tall) */
.px-func-visual img {
  width: min(470px, 100%);
  height: auto;
  display: block;
  margin: 0 auto;
  mix-blend-mode: multiply;
}

/* ---------- Product Videos ---------- */
.px-videos {
  background: var(--px-bg);
}

.px-video {
  position: relative;
  /* full width, but never taller than ~75% of the viewport: the width is
     capped at 75svh × 16/9 so the 16:9 box always fits on screen */
  width: min(100%, calc(75svh * 16 / 9));
  margin-inline: auto;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #1d1b22;
}

.px-video-el {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #1d1b22;
}

.px-play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--px-purple);
  cursor: pointer;
  transform: translate(-50%, -50%);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.px-play svg {
  margin-left: 4px;
}

.px-play:hover,
.px-play:focus-visible {
  transform: translate(-50%, -50%) scale(1.08);
}

/* once playing, the browser's own controls take over */
.px-video.is-playing .px-play {
  opacity: 0;
  pointer-events: none;
}

/* ---------- Product Downloads ----------
   Sizes follow the reference design (measured at 1920px wide). */
.px-downloads {
  background: #ffffff;
}

.px-downloads .px-heading {
  font-size: clamp(40px, 4vw, 76px);
  font-weight: 400;
  letter-spacing: -1.5px;
  margin-bottom: 100px;
}

.px-dl {
  display: grid;
  grid-template-columns: 390px minmax(0, 1fr);
  gap: 0;
  align-items: start;
}

.px-dl-tabs {
  display: flex;
  flex-direction: column;
  border-left: 1px solid #e6e3ec;
}

.px-dl-tab {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 56px;
  padding: 0 0 0 15px;
  border: 0;
  background: none;
  font: inherit;
  font-size: 15px;
  text-align: left;
  color: #6b6b7a;
  cursor: pointer;
  transition: color 0.2s ease;
}

/* purple marker over the left border, full height of the active tab */
.px-dl-tab::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--px-purple);
  transform: scaleY(0);
  transition: transform 0.25s ease;
}

.px-dl-tab:hover {
  color: var(--px-ink);
}

.px-dl-tab[aria-selected="true"] {
  color: var(--px-ink);
}

.px-dl-tab[aria-selected="true"]::before {
  transform: scaleY(1);
}

.px-dl-tab:focus-visible {
  outline: 2px solid var(--px-purple);
  outline-offset: 2px;
}

.px-files {
  list-style: none;
  padding-top: 40px;
}

.px-file {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  column-gap: 16px;
  align-items: center;
  padding-bottom: 75px;
}

.px-file:last-child {
  padding-bottom: 0;
}

.px-file-ic {
  display: grid;
  place-items: center;
  align-self: start;
  width: 40px;
  height: 40px;
  background: var(--px-purple);
  color: #ffffff;
  font-size: 17px;
  font-weight: 600;
}

.px-file-info h3 {
  font-size: 26px;
  font-weight: 500;
  line-height: 1.25;
  color: var(--px-ink);
  margin-bottom: 4px;
}

.px-file-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 24px;
  font-size: 13px;
  line-height: 24px;
  color: var(--px-ink);
}

.px-file-lang {
  font-size: 13px;
  line-height: 24px;
  color: #5d6478;
}

.px-file-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 141px;
  height: 56px;
  padding: 0 24px;
  background: #f3f1f6;
  color: var(--px-ink);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.px-file-btn:hover,
.px-file-btn:focus-visible {
  background: var(--px-purple);
  color: #ffffff;
}

.px-file-btn svg {
  transition: translate 0.2s ease;
}

.px-file-btn:hover svg {
  translate: 0 2px;
}

.px-dl-empty {
  padding-top: 56px;
  font-size: 15px;
  color: #5d6478;
}

.px-dl-empty a {
  color: var(--px-purple);
  font-weight: 500;
}

/* ---------- Get in touch band ---------- */
.px-cta {
  background: #301e4c;
  padding: 96px var(--gutter);
  color: #ffffff;
}

.px-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.px-cta-eyebrow {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 3px;
  color: #d9d0ea;
  margin-bottom: 4px;
}

.px-cta-title {
  font-size: clamp(30px, 3.2vw, 46px);
  font-weight: 600;
  letter-spacing: -1.5px;
  line-height: 1.2;
  margin-bottom: 18px;
}

.px-cta-sub {
  font-size: 15px;
  color: #cfc6e0;
}

.px-cta-btn {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  background: #ffffff;
  color: var(--px-purple);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.px-cta-btn:hover {
  background: var(--px-purple);
  color: #ffffff;
}

/* ---------- Footer (product pages) ---------- */
.px-footer {
  background: #ffffff;
  padding: 56px var(--gutter) 32px;
}

.px-footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #e6e3ec;
}

.px-footer-logo {
  display: block;
  height: 76px;
  width: auto;
  margin: 0 0 10px -12px;
}

.px-footer-tag {
  max-width: 340px;
  font-size: 16px;
  color: #414654;
}

.px-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
}

.px-footer-links a {
  color: #1d1b22;
  font-size: 16px;
  text-decoration: none;
  transition: color 0.15s ease;
}

.px-footer-links a:hover {
  color: var(--px-purple);
}

.px-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding-top: 24px;
}

.px-social {
  display: flex;
  gap: 10px;
}

.px-social a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f3f1f6;
  color: var(--px-ink);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.px-social a:hover,
.px-social a:focus-visible {
  background: var(--px-purple);
  color: #ffffff;
  transform: translateY(-2px);
}

.px-social svg {
  width: 16px;
  height: 16px;
}

.px-footer-bottom p {
  font-size: 14px;
  color: #414654;
}

/* =======================================================
   Tablet / mobile
   ======================================================= */
@media (max-width: 1023px) {
  .px-hero {
    padding: calc(var(--header-h) + 32px) var(--gutter) 64px;
  }

  .px-hero-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .px-visual {
    min-height: 0;
    padding: 40px 0;
    order: -1;
  }

  .px-benefits {
    grid-template-columns: repeat(2, 1fr);
    padding: 0;
    gap: 24px 32px;
  }
  .px-section {
    padding: 64px var(--gutter);
  }

  .px-heading {
    margin-bottom: 28px;
  }

  .px-details-grid,
  .px-tech-grid,
  .px-func-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .px-details-copy {
    max-width: none;
  }

  .px-cta {
    padding: 64px var(--gutter);
  }

  .px-downloads .px-heading {
    margin-bottom: 40px;
  }

  .px-dl {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .px-files {
    padding-top: 0;
  }

  .px-file {
    padding-bottom: 40px;
  }

  .px-file-info h3 {
    font-size: 21px;
  }

  .px-dl-tab {
    min-height: 48px;
  }

  /* tabs become a horizontal scroll row on small screens */
  .px-dl-tabs {
    flex-direction: row;
    overflow-x: auto;
    border-left: 0;
    border-bottom: 1px solid #e6e3ec;
    scrollbar-width: none;
  }

  .px-dl-tab {
    flex: none;
    padding: 10px 14px;
    white-space: nowrap;
  }

  .px-dl-tab::before {
    left: 8px;
    right: 8px;
    top: auto;
    bottom: -1px;
    width: auto;
    height: 2px;
    transform: scaleX(0);
  }

  .px-dl-tab[aria-selected="true"]::before {
    transform: scaleX(1);
  }

  .px-cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .px-footer-top {
    flex-direction: column;
  }

  .px-file {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .px-file-btn {
    grid-column: 2;
    justify-self: start;
  }

  /* the Technical Details image sits right above — skip the repeat */
  .px-func-visual {
    display: none;
  }
}

@media (max-width: 600px) {
  .px-spec div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .px-func-list {
    grid-template-columns: 1fr;
  }

  .px-details-copy p {
    text-align: left;
  }

  .px-badge {
    font-size: 12px;
    gap: 8px;
  }

  .px-chip {
    font-size: 13px;
    padding: 9px 12px;
  }

  .px-chip-auth {
    top: 0;
    left: 0;
    padding: 12px;
  }

  .px-chip-secure {
    right: 0;
  }

  .px-chip-audit {
    bottom: 4%;
    left: 4%;
  }

  .px-benefits {
    grid-template-columns: 1fr;
  }

  .px-benefits li {
    max-width: none;
  }
}

/* =======================================================
   ANIMATIONS (product pages)
   - html.anim is set by a tiny inline script, so content is only hidden
     for a reveal when JavaScript is running.
   - Uses the individual translate / scale properties so entrance and
     looping animations on the same element don't fight over transform.
   - Everything is switched off for prefers-reduced-motion (bottom).
   ======================================================= */


.px-hero-inner,
.px-benefits {
  position: relative;
  z-index: 1;
}

/* ---------- Hero: ripple rings from the lock ---------- */
.px-ripples {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.px-ripples span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(600px, 110%);
  aspect-ratio: 1;
  border: 1.5px solid rgba(106, 66, 216, 0.28);
  border-radius: 50%;
  translate: -50% -50%;
  scale: 0.3;
  opacity: 0;
  animation: px-ripple 6.4s linear infinite;
  pointer-events: none;
}

.px-ripples span:nth-child(2) { animation-delay: 1.6s; }
.px-ripples span:nth-child(3) { animation-delay: 3.2s; }
.px-ripples span:nth-child(4) { animation-delay: 4.8s; }

@keyframes px-ripple {
  0% { scale: 0.3; opacity: 0; }
  10% { opacity: 1; }
  100% { scale: 1.35; opacity: 0; }
}

/* ---------- Hero: entrance on page load ---------- */
.anim .px-badge,
.anim .px-title,
.anim .px-lead,
.anim .px-actions {
  animation: px-rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.anim .px-title { animation-delay: 0.12s; }
.anim .px-lead { animation-delay: 0.26s; }
.anim .px-actions { animation-delay: 0.4s; }

@keyframes px-rise {
  from { opacity: 0; translate: 0 34px; }
}

/* lock pops in, then floats */
.anim .px-product {
  animation:
    px-pop 1.1s cubic-bezier(0.2, 0.9, 0.25, 1.15) 0.2s both,
    px-bob 6s ease-in-out 1.3s infinite;
}

@keyframes px-pop {
  from { opacity: 0; scale: 0.8; }
}

@keyframes px-bob {
  50% { translate: 0 -12px; }
}

/* info cards pop in one by one (their float loop keeps running on transform) */
.anim .px-chip {
  animation:
    px-pop 0.7s cubic-bezier(0.2, 0.9, 0.25, 1.3) both,
    px-float 5s ease-in-out infinite;
}

.anim .px-chip-auth { animation-delay: 0.7s, 0s; }
.anim .px-chip-secure { animation-delay: 0.9s, -1.6s; }
.anim .px-chip-audit { animation-delay: 1.1s, -3.2s; }

/* moving shine (used by the Book a Demo button) */
@keyframes px-shine {
  from { background-position: 100% 0; }
  to { background-position: -150% 0; }
}

/* primary button: same moving shine as "Keyless" */
.px-btn {
  background-image: linear-gradient(90deg, #6a42d8 0%, #6a42d8 35%, #a98cf5 50%, #6a42d8 65%, #6a42d8 100%);
  background-size: 250% 100%;
  animation: px-shine 4.5s ease-in-out infinite;
}

.px-btn:hover {
  background-image: none;
}

/* primary button: arrow nudges */
.px-btn svg {
  animation: px-nudge 2.4s ease-in-out infinite;
}

@keyframes px-nudge {
  0%, 60%, 100% { translate: 0 0; }
  30% { translate: 4px 0; }
}

/* ---------- Scroll reveal ---------- */
.anim [data-reveal],
.anim [data-stagger] > * {
  opacity: 0;
  transition:
    opacity 0.8s ease,
    translate 0.9s cubic-bezier(0.2, 0.7, 0.2, 1),
    scale 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.anim [data-reveal] { translate: 0 40px; }
.anim [data-reveal="left"] { translate: -60px 0; }
.anim [data-reveal="right"] { translate: 60px 0; }
.anim [data-reveal="zoom"] { translate: 0 0; scale: 0.92; }

.anim [data-stagger] > * {
  translate: 0 24px;
  transition-delay: calc(var(--i, 0) * 70ms);
}

.anim [data-reveal].is-in,
.anim [data-stagger].is-in > * {
  opacity: 1;
  translate: 0 0;
  scale: 1;
}

/* section headings: underline draws after the heading appears */
.px-heading::after {
  content: "";
  display: block;
  width: 64px;
  height: 3px;
  margin-top: 14px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--px-purple), #b49bff);
  transform-origin: left;
  transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) 0.35s;
}

.anim .px-heading:not(.is-in)::after {
  transform: scaleX(0);
}

/* benefit lines: small purple line draws above each one */
.px-benefits li {
  position: relative;
  padding-top: 16px;
}

.px-benefits li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 36px;
  height: 2px;
  border-radius: 2px;
  background: var(--px-purple);
  transform-origin: left;
  transition: transform 0.7s ease calc(0.3s + var(--i, 0) * 70ms);
}

.anim .px-benefits:not(.is-in) li::before {
  transform: scaleX(0);
}

/* ---------- Product Details: lock floats in its frame ---------- */
.px-details .px-frame img {
  animation: px-bob 7s ease-in-out infinite;
}

/* ---------- Product Videos: play button pulses ---------- */
.px-play::before,
.px-play::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.8);
  animation: px-pulse 2.4s ease-out infinite;
  pointer-events: none;
}

.px-play::after {
  animation-delay: 1.2s;
}

@keyframes px-pulse {
  from { scale: 1; opacity: 0.9; }
  to { scale: 1.9; opacity: 0; }
}

/* ---------- Get in touch: moving glows + button shine ---------- */
.px-cta {
  position: relative;
  overflow: hidden;
}

.px-cta-inner {
  position: relative;
  z-index: 1;
}

/* moving dark shade: a strip twice the band's width holds two identical
   purple → dark → purple gradients; sliding it right by half its width
   brings the pattern back to the start, so the loop has no jump */
.px-cta::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -100%;
  width: 200%;
  background: linear-gradient(90deg,
      #6a45c4 0%, #4b318c 12%, #2c1d4a 25%, #3f3c8c 38%,
      #6a45c4 50%, #4b318c 62%, #2c1d4a 75%, #3f3c8c 88%,
      #6a45c4 100%);
  animation: px-cta-move 14s linear infinite;
  pointer-events: none;
}

@keyframes px-cta-move {
  from { transform: translateX(0); }
  to { transform: translateX(50%); }
}

.px-cta-btn {
  position: relative;
  overflow: hidden;
}

.px-cta-btn::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -60%;
  width: 40%;
  background: linear-gradient(90deg, transparent, rgba(106, 66, 216, 0.25), transparent);
  transform: skewX(-20deg);
  animation: px-sweep 3.5s ease-in-out infinite;
}

@keyframes px-sweep {
  0%, 55% { left: -60%; }
  100% { left: 130%; }
}

/* ---------- Phones: lighter effects ---------- */
@media (max-width: 1023px) {}

/* ---------- Respect "reduce motion" ---------- */
@media (prefers-reduced-motion: reduce) {
  .px-ripples span,
  .px-cta::before,
  .px-cta-btn::after,
  .px-play::before,
  .px-play::after,
  .px-btn svg,
  .px-btn,
  .px-details .px-frame img,
  .anim .px-product,
  .anim .px-chip,
  .anim .px-badge,
  .anim .px-title,
  .anim .px-lead,
  .anim .px-actions {
    animation: none !important;
  }

  .px-ripples span {
    opacity: 0;
  }

  .anim [data-reveal],
  .anim [data-stagger] > * {
    opacity: 1 !important;
    translate: none !important;
    scale: none !important;
    transition: none !important;
  }

  .anim .px-heading::after,
  .anim .px-benefits li::before {
    transform: none !important;
  }
}

/* =======================================================
   Cencon page additions
   ======================================================= */
/* hero benefits with a bold title line */
.px-benefits-titled li {
  max-width: 280px;
}

.px-benefits-titled strong {
  display: block;
  font-weight: 600;
  color: var(--px-ink);
  margin-bottom: 2px;
}

/* Access modes: three columns under Product Details */
.px-modes {
  margin-top: 110px;
}

.px-modes-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--px-purple);
  margin-bottom: 10px;
}

.px-modes-title {
  font-size: 24px;
  font-weight: 500;
  color: var(--px-ink);
  margin-bottom: 30px;
}

.px-modes-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--px-line);
  border-bottom: 1px solid var(--px-line);
}

.px-modes-grid article {
  padding: 30px 28px 32px;
}

.px-modes-grid article:first-child {
  padding-left: 0;
}

.px-modes-grid article + article {
  border-left: 1px solid var(--px-line);
}

.px-mode-num {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--px-purple);
  margin-bottom: 12px;
}

.px-modes-grid h4 {
  font-size: 19px;
  font-weight: 600;
  color: var(--px-ink);
  margin-bottom: 12px;
}

.px-modes-grid article p:last-child {
  font-size: 16px;
  line-height: 1.7;
  color: #414654;
}

/* Technical Details: second row (Input Unit / Lock Units) */
.px-tech-units {
  align-items: start;
  margin-top: 40px;
}

.px-tech-cencon .px-spec div {
  grid-template-columns: 180px 1fr;
}

.px-tech-frame-cencon img {
  width: min(420px, 80%);
}

@media (max-width: 900px) {
  .px-modes {
    margin-top: 70px;
  }

  .px-modes-grid {
    grid-template-columns: 1fr;
  }

  .px-modes-grid article {
    padding: 24px 0;
  }

  .px-modes-grid article + article {
    border-left: 0;
    border-top: 1px solid var(--px-line);
  }

  .px-tech-units {
    margin-top: 40px;
  }

  .px-tech-cencon .px-spec div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

/* =======================================================
   Axessor Apexx IP page additions
   ======================================================= */
/* small purple label above a heading, e.g. "02 / SPECIFICATIONS" */
.px-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--px-purple);
  margin-bottom: 10px;
}

.px-tech-apexx .px-tech-grid {
  align-items: start;
}

.px-spec-title-gap {
  margin-top: 40px;
}

/* Functionalities: one column of title + description rows */
.px-func-apexx {
  align-items: start;
}

.px-func-rows {
  list-style: none;
  border-top: 1px solid var(--px-line);
}

.px-func-rows li {
  padding: 18px 0;
  border-bottom: 1px solid var(--px-line);
  font-size: 16px;
  line-height: 1.55;
  color: #414654;
}

.px-func-rows strong {
  display: block;
  font-weight: 600;
  color: var(--px-ink);
  margin-bottom: 2px;
}

.px-func-frame {
  aspect-ratio: 1.18;
  position: sticky;
  top: calc(var(--header-h-scrolled) + 24px);
}

@media (max-width: 900px) {
  .px-func-frame {
    position: static;
  }
}

/* =======================================================
   Alarm Gateway page additions
   ======================================================= */
/* the panel photo is portrait, so size it by height */
.px-product-tall {
  width: auto;
  height: min(520px, 62vw);
}

.px-frame-tall img {
  width: auto;
  height: min(380px, 70vw);
}

.px-tech-frame.px-frame-tall img {
  width: auto;
  max-width: none;
  height: min(440px, 75vw);
}

.px-func-visual-tall img {
  width: auto;
  height: min(420px, 80vw);
}

/* Functionalities: label / description table */
.px-func-spec {
  border-top: 1px solid var(--px-line);
}

.px-func-spec div {
  grid-template-columns: 220px 1fr;
  padding: 16px 0;
  border-bottom-color: var(--px-line);
}

/* ---------- System Advantage ---------- */
.px-adv {
  background: #faf6fe;
}

.px-adv-eyebrow,
.px-adv-title {
  text-align: center;
}

.px-adv-title {
  font-size: clamp(30px, 3vw, 44px);
  font-weight: 400;
  letter-spacing: -0.8px;
  color: var(--px-ink);
  margin-bottom: 48px;
}

.px-adv-cards,
.px-cmp-wrap {
  max-width: 1112px;
  margin-left: auto;
  margin-right: auto;
}

.px-adv-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.px-adv-card {
  padding: 32px;
  color: #ffffff;
  background: linear-gradient(135deg, #7449c9 0%, #9467df 100%);
}

.px-adv-tag {
  display: inline-block;
  padding: 4px 12px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.px-adv-card h3 {
  margin: 14px 0 18px;
  font-size: clamp(40px, 4vw, 56px);
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.1;
}

.px-adv-card p {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
}

/* comparison table */
.px-cmp-wrap {
  overflow-x: auto;
  background: #ffffff;
  border: 1px solid #e8e2f0;
}

.px-cmp {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 15px;
}

.px-cmp th,
.px-cmp td {
  padding: 20px;
  text-align: left;
  vertical-align: middle;
  border-bottom: 1px solid #ece6f3;
}

.px-cmp tbody tr:last-child th,
.px-cmp tbody tr:last-child td {
  border-bottom: 0;
}

.px-cmp thead th,
.px-cmp tbody th {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #3d3a45;
}

.px-cmp thead th {
  color: #5d5868;
}

.px-cmp th:first-child {
  width: 22%;
}

.px-cmp thead .px-cmp-ours-head {
  background: #7449c9;
  color: #ffffff;
  width: 44%;
}

.px-cmp td {
  color: #6b6775;
}

.px-cmp td svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: #8a8594;
}

.px-cmp td {
  display: table-cell;
}

.px-cmp td > svg,
.px-cmp td > span {
  vertical-align: top;
}

.px-cmp td > span {
  display: inline-block;
  max-width: calc(100% - 28px);
  margin-left: 10px;
}

.px-cmp .px-cmp-ours {
  background: #faf7fe;
  color: var(--px-ink);
}

.px-cmp .px-cmp-ours svg {
  color: #7449c9;
}

@media (max-width: 900px) {
  .px-adv-cards {
    grid-template-columns: 1fr;
  }

  .px-adv-card {
    padding: 26px 22px;
  }

  .px-func-spec div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .px-product-tall {
    height: min(420px, 95vw);
  }
}

/* phones: each comparison row becomes a small stacked card */
@media (max-width: 640px) {
  .px-cmp {
    min-width: 0;
  }

  .px-cmp thead {
    display: none;
  }

  .px-cmp,
  .px-cmp tbody,
  .px-cmp tr,
  .px-cmp th,
  .px-cmp td {
    display: block;
    width: 100% !important;
  }

  .px-cmp tr {
    border-bottom: 1px solid #ece6f3;
  }

  .px-cmp tbody tr:last-child {
    border-bottom: 0;
  }

  .px-cmp th,
  .px-cmp td {
    border-bottom: 0;
    padding: 10px 16px;
  }

  .px-cmp tbody th {
    padding-top: 16px;
    color: #7449c9;
  }

  .px-cmp td:last-child {
    padding-bottom: 16px;
  }
}

/* =======================================================
   LA GARD page additions
   ======================================================= */
.px-product-round {
  width: min(460px, 100%);
}

/* Product Details: model list under the intro */
.px-details-copy .px-models {
  margin: 26px 0 0;
  border-top: 1px solid var(--px-line);
}

.px-models div {
  grid-template-columns: 110px 1fr;
  border-bottom-color: var(--px-line);
}

.px-models dt {
  font-weight: 600;
}

/* Applications list: purple dash before each item */
.px-apps {
  list-style: none;
  border-top: 1px solid var(--px-line);
}

.px-apps li {
  position: relative;
  padding: 13px 0 13px 24px;
  border-bottom: 1px solid var(--px-line);
  font-size: 17px;
  color: var(--px-ink);
}

.px-apps li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 10px;
  height: 1.5px;
  background: var(--px-purple);
}

/* =======================================================
   Axessor CIT page additions
   ======================================================= */
.px-title-tight {
  margin-bottom: 10px;
}

.px-subtitle {
  font-family: "Poppins", sans-serif;
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 500;
  color: var(--px-ink);
  margin-bottom: 18px;
}

.px-lead-wide {
  max-width: 560px;
}

/* "Product Details" heading sitting in the text column */
.px-heading-inline {
  margin-bottom: 28px;
}

/* one item per row in a functionalities list */
.px-func-list-single {
  grid-template-columns: 1fr;
}

/* =======================================================
  SLAM page additions
   ======================================================= */
.px-title-caps {
  font-weight: 600;
  letter-spacing: -1px;
}

.px-product-slam {
  width: min(460px, 100%);
}

/* hero: three points with square bullets under a thin line */
.px-points {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  max-width: 1440px;
  margin: 50px auto 0;
  padding-top: 22px;
  border-top: 1px solid var(--px-line);
  /* centre each item in its column so the row has equal space at both ends */
  justify-items: center;
}

.px-points li {
  position: relative;
  padding-left: 18px;
  font-size: 17px;
  color: var(--px-ink);
}

.px-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 7px;
  height: 7px;
  background: var(--px-purple);
}

.px-points-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1100px) {
  .px-points-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.px-heading:has(+ .px-section-sub) {
  margin-bottom: 22px;
}

.px-section-sub {
  margin: 0 0 36px;
  font-size: 15px;
  color: #5d5868;
}

/* Three layers of visibility */
.px-layers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--px-line);
  border-bottom: 1px solid var(--px-line);
}

.px-layers article {
  display: flex;
  gap: 16px;
  padding: 28px 24px;
}

.px-layers article:first-child {
  padding-left: 0;
}

.px-layers article + article {
  border-left: 1px solid var(--px-line);
}

.px-layer-num {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  background: #f1eafc;
  font-size: 11px;
  font-weight: 600;
  color: var(--px-purple);
}

.px-layers h3,
.px-slam-apps h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--px-ink);
  margin-bottom: 4px;
}

.px-layers p,
.px-slam-apps p {
  font-size: 15px;
  line-height: 1.55;
  color: #5d5868;
}

/* Technical Specifications */
.px-slam-tech {
  background: #faf6fe;
}

.px-slam-tech-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 80px;
  align-items: start;
}

.px-slam-tech .px-section-sub {
  max-width: 300px;
}

.px-slam-spec {
  border-top: 1px solid var(--px-line);
}

.px-slam-spec div {
  grid-template-columns: 260px 1fr;
  padding: 18px 0;
  border-bottom-color: var(--px-line);
}

.px-slam-spec dt {
  font-weight: 600;
}

/* Applications */
.px-slam-apps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--px-line);
  border-bottom: 1px solid var(--px-line);
}

.px-slam-apps article {
  padding: 28px 20px;
}

.px-slam-apps article:first-child {
  padding-left: 0;
}

.px-slam-apps article + article {
  border-left: 1px solid var(--px-line);
}

/* Architecture diagram */
.px-arch {
  background: #f3eafa;
  text-align: center;
}

.px-arch-title {
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 600;
  letter-spacing: -1px;
  color: var(--px-ink);
  margin-bottom: 14px;
}

.px-arch-sub {
  max-width: 600px;
  margin: 0 auto 36px;
  font-size: 15px;
  line-height: 1.6;
  color: #3d3a45;
}

.px-arch-card {
  background: #faf7fd;
  padding: 28px 28px;
}

.px-arch-scroll {
  overflow-x: auto;
}

.px-arch-svg {
  display: block;
  width: 100%;
  min-width: 760px;
  height: auto;
}

.px-arch-t {
  font-family: "Poppins", sans-serif;
  font-size: 15.5px;
  font-weight: 500;
  fill: #1d1b22;
}

.px-arch-brand {
  font-family: "Poppins", sans-serif;
  font-size: 25px;
  fill: #1ea7e1;
}

.px-arch-caption {
  max-width: 1000px;
  margin: 40px auto 26px;
  font-size: 15px;
  line-height: 1.6;
  color: #3d3a45;
}

.px-arch-steps {
  list-style: none;
  max-width: 560px;
  margin: 0 auto;
  text-align: left;
  border-top: 1px solid #e3d8f0;
}

.px-arch-steps li {
  display: flex;
  gap: 24px;
  padding: 14px 0;
  border-bottom: 1px solid #e3d8f0;
  font-size: 15px;
  color: #3d3a45;
}

.px-arch-steps span {
  flex-shrink: 0;
  width: 18px;
  font-size: 11px;
  font-weight: 600;
  color: var(--px-purple);
  padding-top: 3px;
}

.px-arch-steps strong {
  display: block;
  font-weight: 600;
  color: var(--px-ink);
  margin-bottom: 2px;
}

@media (max-width: 900px) {
  .px-points,
  .px-layers,
  .px-slam-apps,
  .px-slam-tech-grid {
    grid-template-columns: 1fr;
  }

  .px-points {
    justify-items: start;
  }

  .px-slam-tech-grid {
    gap: 0;
  }

  .px-layers article,
  .px-slam-apps article {
    padding: 20px 0;
  }

  .px-layers article + article,
  .px-slam-apps article + article {
    border-left: 0;
    border-top: 1px solid var(--px-line);
  }

  .px-slam-spec div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .px-arch-card {
    padding: 24px 16px;
  }
}

/* =======================================================
   Sterna Vault Application page additions
   ======================================================= */
.vx-sub {
  max-width: 660px;
  line-height: 1.65;
}

/* shared purple line icons */
.vx-fi svg,
.vx-ai svg,
.vx-traits svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Hero ---------- */
.vx-product {
  width: min(640px, 100%);
}

.vx-visual {
  min-height: 520px;
}












/* ---------- Platform modules (3x3 grid) ---------- */
.vx-mod-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--px-line);
  border-left: 1px solid var(--px-line);
}

.vx-mod-grid article {
  position: relative;
  padding: 22px 22px 26px;
  border-right: 1px solid var(--px-line);
  border-bottom: 1px solid var(--px-line);
  overflow: hidden;
  isolation: isolate;
}

/* lavender wash rises from the bottom on hover */
.vx-mod-grid article::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, #ffffff, #f5effe);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.4s ease;
}

/* purple line grows along the top edge on hover */
.vx-mod-grid article::after {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--px-purple), #b49bff);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s ease;
}

.vx-mod-grid article:hover::before {
  transform: scaleY(1);
}

.vx-mod-grid article:hover::after {
  transform: scaleX(1);
}

.vx-mod-grid h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 17px;
  font-weight: 500;
  color: var(--px-ink);
  margin-bottom: 14px;
  transition: color 0.3s ease;
}

.vx-mod-grid article:hover h3 {
  color: var(--px-purple);
}

.vx-mod-grid p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--px-text);
}

.vx-mi {
  display: grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  background: #f3edfd;
  transition: background 0.3s ease;
  /* soft pulse travels across the nine icons one after another */
  animation: vx-mpulse 9s calc(var(--i, 0) * 1s) infinite;
}

.vx-mi svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: var(--px-purple);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.3s ease;
}

.vx-mi svg .f {
  fill: var(--px-purple);
  stroke: none;
  transition: fill 0.3s ease;
}

.vx-mod-grid article:hover .vx-mi {
  background: var(--px-purple);
}

.vx-mod-grid article:hover .vx-mi svg {
  stroke: #ffffff;
}

.vx-mod-grid article:hover .vx-mi svg .f {
  fill: #ffffff;
}

@keyframes vx-mpulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(106, 66, 216, 0); }
  3% { box-shadow: 0 0 0 0 rgba(106, 66, 216, 0.35); }
  9% { box-shadow: 0 0 0 10px rgba(106, 66, 216, 0); }
}

/* icon lines draw themselves in when the grid scrolls into view */
.anim .vx-mod-grid .vx-mi svg > :not(.f) {
  stroke-dasharray: 90;
  stroke-dashoffset: 90;
}

.anim .vx-mod-grid .vx-mi svg .f {
  opacity: 0;
}

.anim .vx-mod-grid.is-in .vx-mi svg > :not(.f) {
  animation: vx-draw 1.2s calc(0.3s + var(--i, 0) * 0.12s) ease forwards;
}

.anim .vx-mod-grid.is-in .vx-mi svg .f {
  animation: vx-fade 0.5s calc(1s + var(--i, 0) * 0.12s) ease forwards;
}

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

@keyframes vx-fade {
  to { opacity: 1; }
}

.vx-modules .vx-note {
  margin-top: 18px;
}

.vx-av {
  display: grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #8d6cf0, #5a35c8);
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
}

.vx-av.sq {
  border-radius: 0;
}

.vx-time {
  position: relative;
  height: 40px;
  border-radius: 0;
  background: repeating-linear-gradient(90deg, #f3eefc 0 calc(100% / 24 - 1px), #e7defa calc(100% / 24 - 1px) calc(100% / 24));
}

.vx-time span {
  position: absolute;
  top: 5px;
  bottom: 5px;
  display: grid;
  place-items: center;
  border-radius: 0;
  background: var(--px-purple);
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 8px 16px -8px rgba(106, 66, 216, 0.8);
}

.vx-days {
  display: flex;
  gap: 6px;
  margin: 14px 0;
}

.vx-days b,
.vx-days i {
  flex: 1;
  padding: 7px 0;
  border-radius: 0;
  text-align: center;
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
}

.vx-days b {
  background: #f1eafd;
  color: var(--px-purple);
}

.vx-days i {
  background: #f4f3f7;
  color: #b3aec0;
  text-decoration: line-through;
}

/* ---------- Hierarchy tree ---------- */
.vx-hier {
  background: #f9f5fe;
}

/* card frame with the "Organisation Hierarchy" header bar */
.vx-org {
  background: #ffffff;
  border: 1px solid #e6e0f2;
  border-radius: 14px;
  overflow: hidden;
}

.vx-org-head {
  padding: 16px 24px;
  background: #f1eafd;
  border-bottom: 1px solid #e6e0f2;
}

.vx-org-head strong {
  font-size: 15px;
  font-weight: 600;
  color: var(--px-ink);
}

.vx-org-body {
  padding: 28px 24px;
}

/* level cards, joined by arrows */
.vx-lv-row {
  display: flex;
  align-items: stretch;
  gap: 12px;
}

.vx-lv {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 20px 20px 26px;
  background: #ffffff;
  border: 1px solid #e6e0f2;
  border-radius: 12px;
  font: inherit;
  text-align: left;
  color: inherit;
  overflow: hidden;
  transition: border-color 0.35s ease;
}

/* pale bar along the bottom of each card */
.vx-lv::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 6px;
  background: #e7dcfb;
}

.vx-lv:hover {
  border-color: var(--px-purple);
}

.vx-lv-chip {
  padding: 3px 10px;
  border-radius: 999px;
  background: #e7dcfb;
  font-size: 12px;
  font-weight: 600;
  color: var(--px-purple);
}

.vx-lv svg {
  width: 40px;
  height: 40px;
  margin: 16px 0 12px;
  fill: none;
  stroke: var(--px-purple);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.vx-lv strong {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--px-ink);
}

.vx-lv > span:last-child {
  margin-top: 4px;
  font-size: 13.5px;
  color: var(--px-text);
}

/* faint dashed arrow with a slow moving dash */
.vx-lv-arrow {
  flex: none;
  align-self: center;
  width: 34px;
  height: 14px;
  fill: none;
  stroke: var(--px-purple);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.vx-lv-arrow .run {
  stroke-dasharray: 4 6;
  animation: vx-lv-run 0.7s linear infinite;
}

@keyframes vx-lv-run {
  to { stroke-dashoffset: -10; }
}

@media (max-width: 900px) {
  .vx-org-body {
    padding: 20px 16px;
  }

  .vx-lv-row {
    flex-direction: column;
  }

  .vx-lv {
    flex: none;
  }

  .vx-lv-arrow {
    margin: -2px 0;
    transform: rotate(90deg);
  }

}

@media (prefers-reduced-motion: reduce) {
  .vx-lv,
  .vx-lv-arrow .run {
    transition: none;
    animation: none;
  }
}

.vx-traits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 26px;
}

.vx-traits div {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 22px 28px;
  background: #f1eafc;
  border-radius: 12px;
}

.vx-traits svg {
  width: 40px;
  height: 40px;
  flex: none;
  color: var(--px-purple);
  stroke-width: 1.4;
}

.vx-traits p {
  padding-left: 22px;
  border-left: 1px solid #d5c6f2;
  font-size: 15px;
  color: var(--px-text);
}

.vx-traits strong {
  display: block;
  font-size: 18px;
  font-weight: 600;
  color: var(--px-ink);
  margin-bottom: 2px;
}

/* ---------- Connected parts ---------- */
.vx-part-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
}

.vx-part-row article {
  position: relative;
}

.vx-part-vis {
  display: grid;
  place-items: center;
  height: 200px;
  margin-bottom: 20px;
  border-radius: 0;
  background: radial-gradient(circle at 50% 45%, #ffffff 0%, #f1e9fd 70%);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vx-part-row article:hover .vx-part-vis {
  transform: translateY(-4px);
  box-shadow: 0 20px 34px -24px rgba(80, 40, 180, 0.6);
}

.vx-part-vis img {
  max-width: 78%;
  max-height: 160px;
  object-fit: contain;
  filter: drop-shadow(0 16px 20px rgba(30, 20, 60, 0.18));
}

.vx-part-row .px-eyebrow {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}

.vx-part-row h3 {
  font-size: 18px;
  font-weight: 500;
  color: var(--px-ink);
  margin-bottom: 8px;
}

.vx-part-row p:not(.px-eyebrow) {
  font-size: 14px;
  line-height: 1.55;
  color: var(--px-text);
}

.vx-partners {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  gap: 16px;
  margin-top: 40px;
}

.vx-partners div {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 22px;
  border-radius: 0;
  background: #f6f2fd;
  border: 1px solid #ece4fa;
}

.vx-partners .is-main {
  background: linear-gradient(135deg, #6a42d8, #4b2aa8);
  border-color: transparent;
  color: #ffffff;
}

.vx-partners p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--px-text);
}

.vx-partners strong {
  display: block;
  font-size: 17px;
  font-weight: 600;
  color: var(--px-ink);
  margin-bottom: 2px;
}

.vx-partners .is-main p,
.vx-partners .is-main strong {
  color: #ffffff;
}

.vx-pl {
  display: grid;
  place-items: center;
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 0;
  background: #ffffff;
  color: var(--px-purple);
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 6px 14px -8px rgba(80, 40, 180, 0.5);
}

/* ---------- Physical state: live five-point sequence ---------- */
.vx-state {
  background: #f1e7f8;
}

.vx-state-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.1fr);
  gap: 64px;
  align-items: center;
}

.vx-state-copy > p {
  max-width: 460px;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--px-text);
  margin-bottom: 14px;
}

.vx-five {
  padding: 22px 22px 24px;
  background: #ffffff;
  box-shadow: 0 20px 40px -30px rgba(60, 30, 140, 0.5);
}

.vx-five-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid #ebe3f8;
}

.vx-five-head h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--px-ink);
}

.vx-five-head span {
  font-size: 11.5px;
  color: #5b6c8f;
}

/* the five sensor points; each turns green with a tick in turn, then resets */
.vx-five-row {
  list-style: none;
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  padding: 24px 0 20px;
  text-align: center;
}

.vx-five-row::before,
.vx-five-row::after {
  content: "";
  position: absolute;
  left: 10%;
  top: 47px;
}

.vx-five-row::before {
  right: 10%;
  border-top: 1px dashed #cbbcf0;
}

.vx-five-row::after {
  height: 2px;
  width: 0;
  margin-top: -1px;
  background: #1fae6f;
  animation: vx-line 8s infinite;
}

.vx-five-row li {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.vx-sq {
  position: relative;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 12px;
  background: #f6f1ff;
  border: 1px solid #c8b5f3;
  animation: vx-sq 8s calc(var(--d, 0) * 0.8s) infinite;
}

.vx-sq svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: var(--px-purple);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.vx-sq svg .f {
  fill: var(--px-purple);
  stroke: none;
}

.vx-sq::after {
  content: "✓";
  position: absolute;
  right: -8px;
  top: -8px;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #1fae6f;
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  transform: scale(0);
  animation: vx-tick 8s calc(var(--d, 0) * 0.8s) infinite;
}

.vx-five-row strong {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--px-ink);
}

.vx-five-row small {
  font-size: 10.5px;
  color: #4d4a55;
}

.vx-ok {
  padding: 13px 16px;
  background: #eef7f2;
  border-left: 2px solid #1d7a4b;
  font-size: 13.5px;
  color: #3e6b55;
  animation: vx-done 8s infinite;
}

.vx-ok strong {
  color: #1d7a4b;
}

@keyframes vx-line {
  0% { width: 0; }
  55%, 90% { width: 80%; }
  100% { width: 0; }
}

@keyframes vx-sq {
  0%, 3% { border-color: #c8b5f3; background: #f6f1ff; }
  8%, 90% { border-color: #1fae6f; background: #eaf8f1; }
  100% { border-color: #c8b5f3; background: #f6f1ff; }
}

@keyframes vx-tick {
  0%, 3% { transform: scale(0); }
  8%, 90% { transform: scale(1); }
  100% { transform: scale(0); }
}

@keyframes vx-done {
  0%, 55% { opacity: 0.4; }
  62%, 90% { opacity: 1; }
  100% { opacity: 0.4; }
}

.vx-feats {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.vx-feats li {
  padding: 16px 16px 14px;
  background: #ffffff;
  border: 1px solid #ebe3f8;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--px-text);
}

.vx-feats strong {
  display: block;
  font-size: 15px;
  font-weight: 500;
  color: var(--px-ink);
  margin-bottom: 6px;
}

.vx-rules li {
  padding: 18px;
  background: #ffffff;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--px-text);
  box-shadow: 0 12px 26px -22px rgba(80, 40, 180, 0.5);
}

.vx-rules strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--px-ink);
  margin: 12px 0 4px;
}

.vx-fi {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 8px;
  background: #f1eafd;
  color: var(--px-purple);
}

/* ---------- Access policy ---------- */
.vx-pol-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.vx-pol {
  padding: 24px;
  background: #ffffff;
  border: 1px solid #e6e0f2;
  border-radius: 12px;
}

.vx-pol-k {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--px-purple);
}

.vx-pol h3 {
  margin: 8px 0 6px;
  font-size: 19px;
  font-weight: 600;
  color: var(--px-ink);
}

.vx-pol > p:not(.vx-pol-k) {
  font-size: 14px;
  line-height: 1.6;
  color: var(--px-text);
}

/* steps as chips joined by small arrows */
.vx-steps {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
}

.vx-steps li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--px-ink);
}

.vx-steps li span,
.vx-steps li {
  white-space: nowrap;
}

.vx-steps li::before {
  content: none;
}

.vx-steps li > b {
  padding: 6px 10px;
  font-weight: 400;
  background: #f1eafd;
  border: 1px solid #e6e0f2;
  border-radius: 6px;
}

.vx-steps li + li::before {
  content: "\2192";
  font-size: 12px;
  color: var(--px-purple);
}

.vx-rules {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.vx-rules li {
  border: 1px solid #e6e0f2;
  border-radius: 12px;
}

.vx-rules .vx-fi {
  border-radius: 8px;
}

.vx-note {
  margin-top: 22px;
  padding: 14px 18px;
  border-radius: 0;
  background: #f5f2fa;
  border-left: 3px solid var(--px-purple);
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--px-text);
}

/* ---------- Alerts & reports: report shelf ---------- */
.vx-audit {
  background: #f9f5fe;
}

.vx-audit-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: start;
}

.vx-audit h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--px-ink);
  margin-bottom: 14px;
}

.vx-alerts ul {
  list-style: none;
}

.vx-alerts li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid #ebe3f8;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--px-text);
}

.vx-alerts strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--px-ink);
  margin-bottom: 2px;
}

.vx-ai {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--c) 13%, #ffffff);
}

.vx-ai svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--c);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* the first alert's icon pulses like a live alarm */
.vx-alerts li:first-child .vx-ai {
  animation: vx-ring 1.8s ease-in-out infinite;
}

@keyframes vx-ring {
  50% { box-shadow: 0 0 0 7px rgba(229, 72, 77, 0.12); }
}

/* fanned stack of report documents; spreads wider on hover */
.vx-deck {
  position: relative;
  height: 300px;
}

.vx-doc {
  position: absolute;
  left: 50%;
  top: 20px;
  width: 160px;
  height: 210px;
  margin-left: -80px;
  padding: 18px;
  background: #ffffff;
  border: 1px solid #e1d6f7;
  box-shadow: 0 16px 28px -18px rgba(80, 40, 180, 0.5);
  font-size: 14px;
  font-weight: 600;
  color: var(--px-ink);
  transform: rotate(var(--r)) translateX(var(--x));
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.vx-deck:hover .vx-doc {
  transform: rotate(calc(var(--r) * 1.25)) translateX(calc(var(--x) * 1.2)) translateY(-10px);
}

.vx-doc::before {
  content: "";
  display: block;
  height: 6px;
  margin: -18px -18px 16px;
  background: var(--px-purple);
}

.vx-doc i {
  display: block;
  height: 6px;
  margin-top: 10px;
  background: #f0ebf9;
}

.vx-doc i:nth-of-type(2) {
  width: 70%;
}

.vx-doc i:nth-of-type(3) {
  width: 85%;
}

.vx-doc em {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 4px 8px;
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  color: #ffffff;
}

.vx-doc .pdf { background: #e5484d; }
.vx-doc .csv { background: #22b07d; }
.vx-doc .xls { background: #1d7a4b; }

.vx-rlist {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.vx-rlist li {
  padding: 6px 11px;
  background: #f1eafd;
  font-size: 13px;
  color: #4d4560;
  transition: background 0.2s ease, color 0.2s ease;
}

.vx-rlist li:hover {
  background: var(--px-purple);
  color: #ffffff;
}

.vx-export {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 13px;
  color: #6f6888;
}

.vx-export span {
  margin-right: auto;
}

.vx-export b {
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
}

.vx-export .pdf { background: #e5484d; }
.vx-export .csv { background: #22b07d; }
.vx-export .xls { background: #1d7a4b; }

.vx-audit .vx-note {
  color: #5b6c8f;
}

/* ---------- Ownership ---------- */
.vx-own-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: stretch;
  gap: 18px;
}

.vx-own-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 28px 20px;
  border: 1px solid #ebe3f8;
  border-radius: 0;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.vx-own-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 36px -26px rgba(80, 40, 180, 0.55);
}

.vx-own-card .vx-pl {
  width: 56px;
  height: 56px;
  margin-bottom: 8px;
  background: #f1eafd;
  font-size: 15px;
}

.vx-own-card.is-main {
  background: linear-gradient(135deg, #6a42d8, #4b2aa8);
  border-color: transparent;
}

.vx-own-card.is-main .vx-pl {
  background: #ffffff;
}

.vx-own-card strong {
  font-size: 18px;
  font-weight: 600;
  color: var(--px-ink);
}

.vx-own-card p {
  font-size: 13px;
  color: #6f6888;
}

.vx-own-card.is-main strong,
.vx-own-card.is-main p {
  color: #ffffff;
}

.vx-own-join {
  align-self: center;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #f1eafd;
  color: var(--px-purple);
  font-size: 20px;
  font-weight: 600;
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .vx-part-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .vx-state-grid,
  .vx-audit-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .vx-rules {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .vx-visual {
    min-height: 0;
  }

  .vx-traits,
  .vx-partners,
  .vx-pol-grid {
    grid-template-columns: 1fr;
  }

  .vx-mod-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .vx-own-row {
    grid-template-columns: 1fr;
  }

  .vx-own-join {
    margin: 0 auto;
    transform: rotate(90deg);
  }
}

@media (max-width: 640px) {
  .vx-deck {
    height: 230px;
  }

  .vx-doc,
  .vx-deck:hover .vx-doc {
    width: 120px;
    height: 160px;
    margin-left: -60px;
    font-size: 12px;
    transform: rotate(var(--r)) translateX(calc(var(--x) * 0.45));
  }

  .vx-part-row,
  .vx-feats,
  .vx-rules,
  .vx-mod-grid {
    grid-template-columns: 1fr;
  }

  .vx-five-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 20px;
  }

  .vx-five-row::before,
  .vx-five-row::after {
    display: none;
  }

  .vx-five-head {
    flex-direction: column;
    gap: 4px;
  }

  .vx-traits div {
    padding: 20px;
  }

  .vx-pol {
    padding: 22px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vx-five-row::after,
  .vx-sq,
  .vx-sq::after,
  .vx-ok,
  .vx-alerts li .vx-ai,
  .vx-doc,
  .vx-mi,
  .vx-mod-grid .vx-mi svg > * {
    animation: none !important;
  }

  .anim .vx-mod-grid .vx-mi svg > :not(.f) {
    stroke-dashoffset: 0;
  }

  .anim .vx-mod-grid .vx-mi svg .f {
    opacity: 1;
  }

  .vx-sq::after {
    transform: scale(1);
  }
}

/* =======================================================
   Product image slider (LA GARD product details)
   ======================================================= */
.px-slider {
  position: relative;
  min-height: 420px;
}

/* images stacked in the same spot, cross-fading */
.px-slider img {
  position: absolute;
  inset: 0;
  margin: auto;
  max-height: 80%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.px-slider img.is-on {
  opacity: 1;
}

.px-slide-btn {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-top: -20px;
  padding: 0;
  border: 1px solid #e1d6f7;
  border-radius: 50%;
  background: #ffffff;
  color: var(--px-purple);
  cursor: pointer;
  box-shadow: 0 8px 18px -10px rgba(80, 40, 180, 0.5);
  transition: background 0.2s ease, color 0.2s ease;
}

.px-slide-btn:hover,
.px-slide-btn:focus-visible {
  background: var(--px-purple);
  color: #ffffff;
}

.px-slide-prev {
  left: 16px;
}

.px-slide-next {
  right: 16px;
}

.px-slide-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.px-slide-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d6c8f5;
  transition: background 0.2s ease, width 0.2s ease;
}

.px-slide-dots span.is-on {
  width: 22px;
  border-radius: 4px;
  background: var(--px-purple);
}

@media (max-width: 640px) {
  .px-slider {
    min-height: 320px;
  }
}
