/* Products page. The site's own Prompt typeface, navy and teal, as on the home and services pages.
   Clean by rule: no borders, one corner radius (8px), tinted surfaces instead of outlines.
   Every class is prefixed pp- (vx- inside the product illustrations) so the shared Webflow styles,
   nav and footer are untouched. Brand teal #1395ba is for fills on dark; teal text on white uses
   --pp-blue-t and teal buttons --pp-blue-b, which pass AA. */

@font-face {
  font-family: 'PP Prompt';
  src: url('../fonts/Prompt-Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'PP Prompt';
  src: url('../fonts/Prompt-Medium.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: 'PP Prompt';
  src: url('../fonts/Prompt-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: 'PP Prompt';
  src: url('../fonts/Prompt-Bold.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}

.products-page {
  --pp-blue: #1395ba;
  --pp-blue-t: #0b6f8c;
  --pp-blue-b: #0e7fa0;
  --pp-blue-l: #5cc8e6;
  --pp-navy: #0c3b55;
  --pp-night: #071c2b;
  --pp-body: #43525e;
  --pp-muted: #5f6e79;
  --pp-soft: #eef3f6;
  --pp-soft-2: #e1eaef;
  --pp-r: 8px;
  --pp-font: 'PP Prompt', 'Prompt-Regular', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --pp-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --pp-swap: cubic-bezier(0.32, 0.72, 0, 1);
  background-color: #fff;
}

html.pp-lock {
  overflow: hidden;
}

.pp-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.pp-sr {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.pp,
.pp-drawer {
  font-family: var(--pp-font);
  font-weight: 400;
  color: var(--pp-body);
  text-align: left;
  -webkit-font-smoothing: antialiased;
}

.pp *,
.pp-drawer * {
  box-sizing: border-box;
}

/* The site gives every p a bottom margin, and webflow.css centres every heading and adds margins. */
.pp :is(h1, h2, h3, p, ul),
.pp-drawer :is(h2, h3, p, ul) {
  margin: 0;
}

.pp :is(h1, h2, h3),
.pp-drawer :is(h2, h3) {
  font-family: var(--pp-font);
  font-weight: 600;
  color: var(--pp-navy);
  text-align: left;
}

.pp-ic16 { width: 16px; height: 16px; flex: none; }
.pp-ic18 { width: 18px; height: 18px; flex: none; }
.pp-ic20 { width: 20px; height: 20px; flex: none; }

.pp-wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ---------- Buttons ---------- */

.pp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 52px;
  padding: 0 26px;
  border: 0;
  border-radius: var(--pp-r);
  font: 500 16px/1 var(--pp-font);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 150ms ease-out, color 150ms ease-out;
}

.pp-btn--p { background-color: var(--pp-blue-b); color: #fff; }
.pp-btn--p:hover { background-color: var(--pp-blue-t); color: #fff; }
.pp-btn--g { padding: 0 18px; background-color: transparent; color: #fff; }
.pp-btn--g:hover { background-color: rgba(255, 255, 255, 0.08); color: #fff; }

.pp-btn:focus-visible,
.pp-ib:focus-visible,
.pp-chip:focus-visible,
.pp-ext:focus-visible,
.pp-cta:focus-visible {
  outline: 3px solid var(--pp-blue-t);
  outline-offset: 3px;
}

.pp-hero .pp-btn:focus-visible,
.pp-dock_b:focus-visible,
.pp-show_name:focus-visible {
  outline-color: var(--pp-blue-l);
}

/* ---------- Hero: a short headline over the site's night navy, then the product showcase ---------- */

.pp-hero {
  position: relative;
  overflow: hidden; /* the showcase's side products run off the edges */
  padding: 144px 0 72px;
  background-color: var(--pp-night);
}

/* Headline on the left; the description and actions on the right, level with its last line. */
.pp-hero_text {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 32px 72px;
  align-items: end;
}

.pp .pp-h1 {
  font-size: clamp(44px, 4.7vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.032em;
  color: #fff;
  text-wrap: balance;
}

.pp-lead {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.74);
}

.pp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
  margin-left: -2px;
}

/* Logo row under the showcase: every product, the one in front lit, a click brings one forward. */
.pp-dock {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-top: 28px;
}

.pp-dock_b {
  position: relative;
  display: grid;
  place-items: center;
  width: 52px;
  height: 56px;
  padding: 0;
  border: 0;
  border-radius: var(--pp-r);
  background: none;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 200ms ease-out, transform 300ms var(--pp-swap);
}

.pp-dock_b .pp-logo {
  width: 40px;
  height: 40px;
  box-shadow: none;
}

/* A short teal line under the product in front. */
.pp-dock_b::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 18px;
  height: 3px;
  margin-left: -9px;
  border-radius: 2px;
  background-color: var(--pp-blue-l);
  transform: scaleX(0);
  transition: transform 300ms var(--pp-swap);
}

.pp-dock_b.is-on { opacity: 1; transform: translateY(-3px); }
.pp-dock_b.is-on::after { transform: scaleX(1) translateY(3px); }

@media (hover: hover) and (pointer: fine) {
  .pp-dock_b:hover { opacity: 0.85; }
}

/* Showcase: the product in front at full size, its neighbours set back on either side.
   products.js gives each slot its distance from the front (--off) and a state class. */
.pp-show {
  --shift: 68%;
  --side: 0.8;
  margin-top: 72px;
}

.pp-show_track {
  position: relative;
  width: min(640px, 52vw);
  margin: 0 auto;
  aspect-ratio: 16 / 10;
}

.pp-slot {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none; /* only the front product and its neighbours can be clicked */
  transform: translateX(calc(var(--off, 0) * var(--shift))) scale(0.62);
  transition: transform 550ms var(--pp-swap), opacity 550ms var(--pp-swap);
  cursor: pointer;
}

/* Neighbours are shaded with solid navy rather than made see-through, so nothing shows through
   the product in front while they move. */
.pp-slot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--pp-r);
  background-color: var(--pp-night);
  opacity: 0.58;
  transition: opacity 550ms var(--pp-swap);
  pointer-events: none;
}

.pp-slot.is-side {
  z-index: 1;
  pointer-events: auto;
  opacity: 1;
  transform: translateX(calc(var(--off) * var(--shift))) scale(var(--side));
}

.pp-slot.is-on {
  z-index: 2;
  pointer-events: auto;
  opacity: 1;
  transform: none;
}

.pp-slot.is-on::after { opacity: 0; }

/* Further out than the neighbours: parked out of sight, with no trip across the stage. */
.pp-slot.is-gone {
  visibility: hidden;
  transition: none;
}

.pp-slot .pp-well { box-shadow: 0 40px 80px -36px rgba(0, 0, 0, 0.75); }

@media (hover: hover) and (pointer: fine) {
  .pp-slot.is-side:hover::after { opacity: 0.4; }
}

.pp-show_cap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  max-width: 560px;
  margin: 0 auto;
  padding: 32px 20px 0;
  text-align: center;
}

.pp-show_name {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
  color: #fff;
  text-decoration: none;
}


.pp-show_name:hover {
  color: #fff;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.pp-show_one {
  font-size: 16px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
}

.pp-show_cap.is-in { animation: pp-in 300ms ease-out; }

@keyframes pp-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ---------- Catalog ---------- */

.pp-catalog {
  padding: 120px 0 112px;
  scroll-margin-top: 64px;
}

.pp-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 48px;
  margin-bottom: 56px;
}

.pp .pp-h2 {
  font-size: 44px;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.pp-sub {
  max-width: 520px;
  margin-top: 14px !important;
  font-size: 17px;
  line-height: 1.6;
}

.pp-seg {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pp-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: var(--pp-r);
  background-color: var(--pp-soft);
  color: var(--pp-navy);
  font: 500 15px/1 var(--pp-font);
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 150ms ease-out, color 150ms ease-out;
}

.pp-chip span { color: var(--pp-muted); transition: color 150ms ease-out; }
.pp-chip:hover { background-color: var(--pp-soft-2); }
.pp-chip.is-on { background-color: var(--pp-navy); color: #fff; }
.pp-chip.is-on span { color: rgba(255, 255, 255, 0.7); }

.pp-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 80px 40px;
}

/* A tile is its stage and caption; no card around it. */
.pp-tile {
  position: relative;
  display: flex;
  flex-direction: column;
}

.pp-tile[hidden] { display: none; }

.pp-body {
  padding-top: 28px;
}

.pp-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.pp-id {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.pp-logo {
  display: block;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: var(--pp-r);
  background-color: #fff;
  box-shadow: 0 1px 2px rgba(12, 59, 85, 0.12), 0 6px 14px -8px rgba(12, 59, 85, 0.3);
  object-fit: cover;
}

/* GST-Billing has no logo of its own yet. */
.pp-logo--icon {
  display: grid;
  place-items: center;
  background-color: #e2f1f6;
  color: var(--pp-blue-t);
}

.pp .pp-name {
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  transition: color 150ms ease-out;
}

/* The product name is the tile's main link: it stretches over the whole tile. */
.pp-open {
  color: inherit;
  text-decoration: none;
}

.pp-open:hover { color: inherit; }
.pp-open:focus { outline: none; }

.pp-open::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: var(--pp-r);
}

.pp-open:focus-visible::after {
  outline: 3px solid var(--pp-blue-t);
  outline-offset: 8px;
}

/* The tile's second link sits above the stretched one. */
.pp-ext {
  position: relative;
  z-index: 2;
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  margin-right: -4px;
  padding: 0 4px;
  border-radius: var(--pp-r);
  font-size: 15px;
  font-weight: 500;
  color: var(--pp-blue-t);
  text-decoration: none;
  white-space: nowrap;
}

.pp-ext:hover {
  color: var(--pp-blue-t);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.pp-one {
  max-width: 540px;
  margin-top: 4px !important;
  font-size: 17px;
  line-height: 1.6;
}

.pp-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 14px !important;
  font-size: 14px;
  line-height: 1.4;
  color: var(--pp-muted);
}

.pp-badge {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 8px;
  border-radius: var(--pp-r);
  background-color: #e2f1f6;
  color: var(--pp-blue-t);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

@media (hover: hover) and (pointer: fine) {
  .pp-tile:hover .pp-name { color: var(--pp-blue-t); }

  .pp-tile:hover .pp-browser,
  .pp-tile:hover .pp-phone {
    translate: 0 -6px;
  }

  .pp-tile:hover .pp-browser { box-shadow: 0 1px 2px rgba(12, 59, 85, 0.06), 0 36px 60px -28px rgba(12, 59, 85, 0.45); }
}

/* ---------- Stages ----------
   lb = an app window, lc = a browser and a phone, lp = a phone with notes beside it.
   The stage's ratio is fixed, so changing pictures never moves the layout. Sizes inside
   are in container units, so a stage looks the same in a tile, the hero and the drawer. */

.pp-well {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border-radius: var(--pp-r);
  background-color: var(--tint, var(--pp-soft));
  container-type: inline-size;
  isolation: isolate;
}

.pp-slide {
  opacity: 0;
  transition: opacity 400ms ease-out;
}

.pp-slide.is-active { opacity: 1; }

.pp-screen > img.pp-slide,
.pp-pscreen > .pp-slide {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  border-radius: 0;
  object-fit: cover;
  object-position: 50% 0%;
}

.pp-browser {
  position: absolute;
  top: 50%;
  overflow: hidden;
  border-radius: var(--pp-r);
  background-color: #fff;
  box-shadow: 0 1px 2px rgba(12, 59, 85, 0.06), 0 28px 52px -28px rgba(12, 59, 85, 0.42);
  transform: translateY(-50%);
  transition: translate 350ms var(--pp-ease), box-shadow 350ms var(--pp-ease);
}

.pp-bar {
  display: flex;
  align-items: center;
  gap: 0.9cqw;
  height: 3.4cqw;
  padding: 0 1.6cqw;
  background-color: #f1f5f8;
}

.pp-bar i {
  width: 1cqw;
  height: 1cqw;
  border-radius: 50%;
  background-color: #cfdbe2;
}

.pp-screen {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background-color: #fff;
}

/* The phone is a drawing of a device, so it keeps a phone's corners. */
.pp-phone {
  position: absolute;
  aspect-ratio: 0.49;
  padding: 0.75cqw;
  border-radius: 3.4cqw;
  background-color: #0f1d27;
  box-shadow: 0 28px 52px -24px rgba(7, 28, 43, 0.55);
  transition: translate 350ms var(--pp-ease);
}

.pp-pscreen {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 2.7cqw;
  background-color: #fff;
}

.pp-well--lb .pp-browser {
  left: 11%;
  width: 78%;
}

.pp-well--lc .pp-browser {
  left: 6%;
  width: 70%;
}

.pp-well--lc .pp-phone {
  top: 9%;
  right: 6%;
  height: 82%;
}

.pp-well--lp .pp-phone {
  top: 7%;
  left: 50%;
  height: 86%;
  transform: translateX(-50%);
}

/* Notes beside the SalonGenie phone. */
.pp-float {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 1.3cqw;
  padding: 1.5cqw 2cqw 1.5cqw 1.5cqw;
  border-radius: var(--pp-r);
  background-color: #fff;
  box-shadow: 0 1px 2px rgba(12, 59, 85, 0.06), 0 18px 36px -20px rgba(12, 59, 85, 0.4);
  font-size: 2.05cqw;
  line-height: 1.3;
  color: var(--pp-navy);
  white-space: nowrap;
}

.pp-float b { display: block; font-weight: 600; }
.pp-float small { display: block; margin-top: 0.15em; font-size: 0.86em; color: var(--pp-muted); }
.pp-float--a { top: 19%; left: 5%; }
.pp-float--b { right: 5%; bottom: 17%; }

.pp-float_ic {
  display: grid;
  flex: none;
  place-items: center;
  width: 3.8cqw;
  height: 3.8cqw;
  border-radius: var(--pp-r);
  background-color: #fbecef;
  color: #b23c63;
}

.pp-float_ic svg { width: 2.2cqw; height: 2.2cqw; }
.pp-float_ic--ok { background-color: #e1f4e8; color: #1d7a46; }

/* ---------- Product illustrations (vx-) for products whose app sits behind a login ----------
   Drawn in HTML so they stay sharp at any size: 1em is 2.5% of the app window's width.
   The app's top bar stays put; the frames under it change like the screenshots do. */

.pp-vx {
  container-type: inline-size;
  background-color: #f5f8fa;
}

.vx-top {
  display: flex;
  align-items: center;
  gap: 0.6em;
  height: 3em;
  padding: 0 1.6em;
  background-color: #fff;
  box-shadow: inset 0 -1px 0 #e8eef2;
  font-size: 2.5cqw;
  color: var(--pp-navy);
}

.vx-top b { font-size: 0.95em; font-weight: 600; line-height: 1.2; }

.vx-logo {
  display: block;
  width: 1.5em;
  height: 1.5em;
  border-radius: 0.35em;
  object-fit: cover;
}

.vx-logo--icon {
  display: grid;
  place-items: center;
  background-color: color-mix(in srgb, var(--vx-a) 14%, #fff);
  color: var(--vx-a);
}

.vx-logo--icon svg { width: 1em; height: 1em; }

.vx-av {
  width: 1.6em;
  height: 1.6em;
  margin-left: auto;
  border-radius: 50%;
  background-color: #dfe7ed;
}

.pp-screen > .vx-f {
  position: absolute;
  inset: 7.5cqw 0 0;
  display: flex;
  align-items: stretch;
  gap: 1.1em;
  padding: 1.3em 1.6em;
  background-color: #f5f8fa;
  font-size: 2.5cqw;
  line-height: 1.35;
  color: var(--pp-navy);
  text-align: left;
}

.vx-f span,
.vx-f b,
.vx-f i { font-style: normal; }

.vx-card {
  display: flex;
  flex-direction: column;
  gap: 0.7em;
  padding: 1em 1.1em;
  border-radius: 0.6em;
  background-color: #fff;
  box-shadow: 0 0.08em 0.2em rgba(12, 59, 85, 0.07), 0 0.9em 1.8em -1.1em rgba(12, 59, 85, 0.28);
}

.vx-grow { flex: 1; min-width: 0; }
.vx-mid { justify-content: center; padding-left: 0.6em; }
.vx-col { display: flex; flex-direction: column; gap: 0.7em; min-width: 0; }
.vx-tight { gap: 0.15em; }
.vx-row { display: flex; align-items: center; gap: 0.6em; }
.vx-push { margin-left: auto; }
.vx-t { font-size: 1.1em; font-weight: 600; line-height: 1.2; white-space: nowrap; }
.vx-s { font-size: 0.82em; color: #66757f; }
.vx-s b { font-weight: 600; color: var(--pp-navy); }

.vx-l {
  display: block;
  height: 0.5em;
  border-radius: 0.25em;
  background-color: #e3eaef;
}

.vx-chip {
  display: inline-flex;
  flex: none;
  align-items: center;
  height: 1.95em;
  padding: 0 0.75em;
  border-radius: 0.5em;
  background-color: #edf1f5;
  background-color: color-mix(in srgb, var(--vx-a) 12%, #fff);
  color: var(--vx-a);
  font-size: 0.76em;
  font-weight: 500;
  white-space: nowrap;
}

.vx-chip--ok { background-color: #e1f4e8; color: #1d7a46; }

.vx-btn {
  display: inline-flex;
  flex: none;
  align-items: center;
  align-self: flex-start;
  height: 2.4em;
  padding: 0 1em;
  border-radius: 0.5em;
  background-color: var(--vx-a);
  color: #fff;
  font-size: 0.8em;
  font-weight: 600;
  white-space: nowrap;
}

.vx-row .vx-btn { align-self: center; }

.vx-prog {
  display: block;
  height: 0.5em;
  overflow: hidden;
  border-radius: 0.25em;
  background-color: #e3eaef;
}

.vx-prog i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background-color: var(--vx-a);
}

.vx-file {
  display: block;
  flex: none;
  width: 1.9em;
  height: 2.4em;
  border-radius: 0.25em;
  background-color: #e3eaef;
  background-color: color-mix(in srgb, var(--vx-a) 18%, #fff);
  clip-path: polygon(0 0, 68% 0, 100% 26%, 100% 100%, 0 100%);
}

/* Notiva */
.vx-paper {
  position: relative;
  display: flex;
  flex: 0 0 46%;
  flex-direction: column;
  justify-content: center;
  gap: 0.5em;
  margin: 0.5em 0.4em;
  padding: 1em 1.2em;
  border-radius: 0.3em;
  background-color: #fffdf6;
  box-shadow: 0 0.9em 1.8em -1em rgba(12, 59, 85, 0.35);
  transform: rotate(-2deg);
}

.vx-hand {
  display: block;
  font-family: 'Caveat', 'Bradley Hand', 'Segoe Print', cursive;
  font-size: 1.45em;
  font-weight: 500;
  line-height: 1.15;
  color: #27445e;
}

.vx-hand:nth-child(3) { padding-left: 0.4em; }

.vx-corner {
  position: absolute;
  inset: -0.55em;
  background:
    linear-gradient(var(--vx-a) 0 0) 0 0 / 1.5em 0.2em,
    linear-gradient(var(--vx-a) 0 0) 0 0 / 0.2em 1.5em,
    linear-gradient(var(--vx-a) 0 0) 100% 0 / 1.5em 0.2em,
    linear-gradient(var(--vx-a) 0 0) 100% 0 / 0.2em 1.5em,
    linear-gradient(var(--vx-a) 0 0) 0 100% / 1.5em 0.2em,
    linear-gradient(var(--vx-a) 0 0) 0 100% / 0.2em 1.5em,
    linear-gradient(var(--vx-a) 0 0) 100% 100% / 1.5em 0.2em,
    linear-gradient(var(--vx-a) 0 0) 100% 100% / 0.2em 1.5em;
  background-repeat: no-repeat;
}

.vx-scan {
  position: absolute;
  top: 58%;
  right: -0.4em;
  left: -0.4em;
  height: 0.18em;
  border-radius: 0.1em;
  background-color: var(--vx-a);
  box-shadow: 0 0 0.9em 0.25em rgba(22, 112, 122, 0.35);
}

.vx-list {
  display: flex;
  flex-direction: column;
  gap: 0.6em;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 0.9em;
  list-style: none;
}

/* The site styles every li (size, line height, margin); the illustration sets its own. */
.vx-list li {
  display: flex;
  align-items: center;
  gap: 0.65em;
  margin: 0;
  font-size: 1em;
  line-height: 1.35;
}

.vx-list li::before {
  content: "";
  flex: none;
  width: 0.95em;
  height: 0.95em;
  border-radius: 0.25em;
  box-shadow: inset 0 0 0 0.14em var(--vx-a);
}

.vx-card > .vx-row:last-child { margin-top: auto; }

/* Web-Impex */
.vx-table {
  display: flex;
  flex-direction: column;
  font-size: 0.8em;
}

.vx-tr {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 1fr 1.25fr;
  gap: 0.6em;
  padding: 0.5em 0;
  box-shadow: inset 0 -1px 0 #edf1f4;
  white-space: nowrap;
}

.vx-tr > span:last-child { text-align: right; }
.vx-th { color: #66757f; font-weight: 500; }

.vx-steps {
  flex: 0 0 28%;
  justify-content: center;
  gap: 1em;
}

.vx-step {
  display: flex;
  align-items: center;
  gap: 0.6em;
  font-size: 0.86em;
  font-weight: 500;
}

.vx-step i {
  display: grid;
  flex: none;
  place-items: center;
  width: 1.5em;
  height: 1.5em;
  border-radius: 50%;
  background-color: var(--vx-a);
}

.vx-step i::after {
  content: "";
  width: 0.34em;
  height: 0.62em;
  margin-top: -0.12em;
  border: solid #fff;
  border-width: 0 0.14em 0.14em 0;
  transform: rotate(45deg);
}

.vx-code {
  display: flex;
  flex-direction: column;
  gap: 0.5em;
  padding: 0.9em;
  border-radius: 0.4em;
  background-color: #f3f6f8;
}

/* GST-Billing */
.vx-nav {
  flex: 0 0 24%;
  gap: 0.3em;
  padding-top: 0.2em;
}

.vx-nav span {
  padding: 0.55em 0.75em;
  border-radius: 0.4em;
  font-size: 0.8em;
  color: #5b6b77;
  white-space: nowrap;
}

.vx-nav .is-on {
  background-color: #fff;
  color: var(--vx-a);
  font-weight: 600;
  box-shadow: 0 0.08em 0.2em rgba(12, 59, 85, 0.08);
}

.vx-sum {
  display: flex;
  justify-content: space-between;
  padding: 0.45em 0;
  box-shadow: inset 0 -1px 0 #edf1f4;
  font-size: 0.86em;
  color: #43525e;
}

.vx-sum--total {
  padding-top: 0.6em;
  box-shadow: none;
  font-size: 0.95em;
  font-weight: 600;
  color: var(--pp-navy);
}

.vx-doc {
  display: flex;
  align-items: center;
  gap: 0.7em;
  padding: 0.45em 0;
  box-shadow: inset 0 -1px 0 #edf1f4;
  font-size: 0.85em;
  white-space: nowrap;
}

.vx-doc:last-child { box-shadow: none; }
.vx-doc .vx-file { width: 1.5em; height: 1.9em; }
.vx-ok,
.vx-wait { margin-left: auto; font-size: 0.9em; font-weight: 500; color: #1d7a46; }
.vx-wait { color: #66757f; }
.vx-prog--sm { flex: none; width: 26%; margin-left: auto; }

/* ---------- Details drawer: from the right; a full-height sheet on phones ---------- */

.pp-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: 600px;
  max-width: 100%;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  background-color: #fff;
  box-shadow: -24px 0 48px -24px rgba(7, 28, 43, 0.35);
  transform: translateX(100%);
  transition: transform 260ms var(--pp-ease);
}

.pp-drawer.is-open { transform: none; }

.pp-drawer::backdrop {
  background-color: rgba(7, 28, 43, 0.6);
  opacity: 0;
  transition: opacity 200ms ease-out;
}

.pp-drawer.is-open::backdrop { opacity: 1; }

.pp-d {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* The scrolling area takes focus when the drawer opens, so arrow keys and Space scroll it (and a tap
   doesn't put a focus ring on a button); Tab moves on from there. */
.pp-d_scroll:focus { outline: none; }

.pp-d_head {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  padding: 0 16px 0 20px;
}

.pp-d_nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.pp-ib {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: var(--pp-r);
  background-color: transparent;
  color: var(--pp-navy);
  cursor: pointer;
  transition: background-color 150ms ease-out;
}

.pp-ib:hover { background-color: var(--pp-soft); }

.pp-d_pos {
  margin-left: 8px;
  font-size: 14px;
  color: var(--pp-muted);
}

.pp-d_scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.pp-d_media { padding: 0 24px; }
.pp-d_media video { cursor: pointer; }

.pp-d_body { padding: 32px 36px 36px; }

.pp-d_tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--pp-muted);
}

.pp-d_brand {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 14px;
}

.pp-d_logo:empty { display: none; }
.pp-d_logo .pp-logo { width: 52px; height: 52px; }

.pp-drawer .pp-d_title {
  margin-top: 0 !important;
  font-size: 36px;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.pp-d_lead {
  margin-top: 10px !important;
  font-size: 18px;
  line-height: 1.6;
  color: var(--pp-body);
}

.pp-note,
.pp-who {
  padding: 16px 18px;
  border-radius: var(--pp-r);
  background-color: var(--pp-soft);
  font-size: 15px;
  line-height: 1.55;
  color: var(--pp-navy);
}

.pp-note { margin-top: 24px !important; }
.pp-who { margin-top: 14px !important; }

.pp-drawer .pp-lab {
  margin-top: 36px !important;
  font-size: 16px;
  line-height: 1.3;
  letter-spacing: 0;
}

.pp-feats {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 18px !important;
  padding: 0;
  list-style: none;
}

.pp-feats li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--pp-navy);
}

.pp-feats li > span:last-child { padding-top: 8px; }

.pp-fi {
  display: grid;
  flex: none;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: var(--pp-r);
  background-color: var(--pp-soft);
  color: var(--pp-blue-t);
}

.pp-case {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 20px;
  font-size: 16px;
  font-weight: 500;
  color: var(--pp-blue-t);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.pp-case:hover { color: var(--pp-navy); }
.pp-case:focus-visible { outline: 3px solid var(--pp-blue-t); outline-offset: 3px; }

.pp-d_foot {
  flex: none;
  padding: 12px 36px 28px;
  background-color: #fff;
}

.pp-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 54px;
  border-radius: var(--pp-r);
  background-color: var(--pp-blue-b);
  color: #fff;
  font: 500 16px/1 var(--pp-font);
  text-decoration: none;
  transition: background-color 150ms ease-out;
}

.pp-cta:hover { background-color: var(--pp-blue-t); color: #fff; }

/* ---------- Tablet: the stage under the headline ---------- */

@media (max-width: 1023px) {
  .pp-wrap { padding: 0 32px; }
  .pp-hero { padding: 128px 0 64px; }
  .pp-hero_text { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .pp .pp-h1 { max-width: 15em; font-size: clamp(36px, 5.6vw, 52px); }
  .pp-hero_aside { max-width: 600px; }
  .pp-show { --shift: 74%; margin-top: 56px; }
  .pp-show_track { width: min(620px, 68vw); }
  .pp-catalog { padding: 96px 0 112px; }
  .pp-grid { gap: 64px 28px; }
  .pp .pp-name { font-size: 24px; }
  .pp-one { font-size: 16px; }
}

/* One tile across. */
@media (max-width: 767px) {
  .pp-grid { grid-template-columns: minmax(0, 1fr); gap: 64px; }
  .pp .pp-h2 { font-size: 36px; }
}

/* The site's phone rules (todoits-stellar-site.webflow.css, max-width 767px) force a size and margin
   on every li and ul and height:auto on every video, all !important; this page's lists and video keep theirs. */
@media screen and (max-width: 767px) {
  .vx-list,
  .pp-feats { margin-bottom: 0 !important; }

  .vx-list li {
    margin-bottom: 0 !important;
    font-size: 1em !important;
    line-height: 1.35 !important;
  }

  .pp-feats li {
    margin-bottom: 0 !important;
    font-size: 16px !important;
    line-height: 1.55 !important;
  }

  .pp-pscreen > video.pp-slide { height: 100% !important; }
}

/* ---------- Phones: phone screenshots only, and the drawer becomes a full-height sheet ---------- */

@media (max-width: 639px) {
  .pp-wrap { padding: 0 20px; }
  .pp-hero { padding: 108px 0 48px; }
  .pp-hero_text { gap: 18px; }
  .pp .pp-h1 { font-size: clamp(30px, 9vw, 38px); line-height: 1.1; }
  .pp-lead { font-size: 16px; }

  .pp-actions {
    flex-direction: column;
    margin: 24px 0 0;
  }

  .pp-actions .pp-btn { width: 100%; }

  /* Two rows of five. */
  .pp-dock { display: grid; grid-template-columns: repeat(5, 48px); justify-content: center; gap: 4px 10px; margin-top: 22px; }
  .pp-dock_b { width: 48px; height: 52px; }
  .pp-dock_b .pp-logo { width: 36px; height: 36px; }

  /* Neighbours peek in at the screen edges. */
  .pp-show { --shift: 96%; --side: 0.88; margin-top: 44px; }
  .pp-show_track { width: 80vw; aspect-ratio: 4 / 3; }
  .pp-show_cap { padding-top: 22px; }
  .pp-show_name { font-size: 19px; }
  .pp-show_one { font-size: 15px; }

  .pp-catalog { padding: 72px 0 88px; }
  .pp-toolbar { margin-bottom: 36px; }
  .pp .pp-h2 { font-size: 32px; }
  .pp-sub { font-size: 16px; }
  .pp-chip { padding: 0 14px; font-size: 14px; }
  .pp-grid { gap: 56px; }
  .pp-body { padding-top: 20px; }
  .pp .pp-name { font-size: 24px; }
  .pp-logo { width: 40px; height: 40px; }
  .pp-id { gap: 12px; }

  .pp-well--lb,
  .pp-well--lc,
  .pp-well--lp { aspect-ratio: 4 / 3; }

  /* A taller app window on phones, so its text can be a little larger. */
  .pp-well--lb .pp-browser { left: 8%; width: 84%; }
  .pp-well--lb .pp-screen.pp-vx { aspect-ratio: 4 / 3; }

  .pp-screen > .vx-f,
  .vx-top { font-size: 2.9cqw; }

  .pp-screen > .vx-f { top: 8.7cqw; }

  .pp-well--lc .pp-browser { display: none; }

  .pp-well--lc .pp-phone {
    top: 7%;
    right: auto;
    left: 50%;
    height: 86%;
    transform: translateX(-50%);
  }

  .pp-float { font-size: 2.6cqw; }
  .pp-float_ic { width: 4.8cqw; height: 4.8cqw; }
  .pp-float_ic svg { width: 2.8cqw; height: 2.8cqw; }
  .pp-float--a { top: 14%; left: 3.5%; }
  .pp-float--b { right: 3.5%; bottom: 13%; }


  .pp-drawer {
    inset: 0;
    width: 100%;
    height: 100%;
    box-shadow: none;
    transform: translateY(100%);
  }

  .pp-d_head { height: 60px; padding: 0 8px 0 12px; }
  .pp-d_media { padding: 0 16px; }
  .pp-d_body { padding: 24px 20px; }
  .pp-drawer .pp-d_title { font-size: 30px; }
  .pp-d_lead { font-size: 17px; }
  .pp-d_foot { padding: 12px 20px calc(20px + env(safe-area-inset-bottom)); }
}

/* Phones held sideways: a headline that leaves room for the rest of the hero. */
@media (max-height: 500px) and (orientation: landscape) {
  .pp-hero { padding: 100px 0 40px; }
  .pp .pp-h1 { font-size: 34px; }
  .pp-show { margin-top: 40px; }
  .pp-show_track { width: min(480px, 52vw); }
}

@media (prefers-reduced-motion: reduce) {
  .pp *,
  .pp *::after,
  .pp-drawer,
  .pp-drawer *,
  .pp-drawer::backdrop {
    transition: none !important;
    animation: none !important;
  }
}
