/* /pathway: the Apilox Pathway landing page (live/pages/pathway.html, script live/demos/pathway-landing.js).
   Layout, colours, radii, buttons and motion follow the home page of monpetitplacement.fr (measured with
   getComputedStyle, rebuilt in our own CSS); type is the site's own General Sans (var(--apx-font)).
   Every class starts with pm- . Copied to styles/pathway-landing.css by live_pages.copy_assets(). */

.pm-page {
  --pm-lime: #8df868;

  /* the bright green */
  --pm-mint: #bdfba7;

  /* the light green */
  --pm-pale: #e8ffdf;

  /* the palest green (ribbon, select) */
  --pm-beige: #fbf3ec;
  --pm-ink: #000;
  --pm-dark: #091109;
  --pm-line: #d2d4d1;
  --pm-gut: clamp(16px, 4.5vw, 65px);
  font-family: var(--apx-font);
  color: var(--pm-ink);
  overflow-x: clip;
}

.pm-page *,
.pm-page *::before,
.pm-page *::after {
  box-sizing: border-box;
}

.pm-page p,
.pm-page h1,
.pm-page h2,
.pm-page h3,
.pm-page figure,
.pm-page blockquote,
.pm-page dl,
.pm-page dd,
.pm-page ul {
  margin: 0;
}

.pm-page a {
  text-decoration: none;
}

.pm-wrap {
  position: relative;
  width: min(1310px, 100% - 2 * var(--pm-gut));
  margin: 0 auto;
}

/* ── type ─────────────────────────────────────────────────────────────── */
.pm-h1 {
  font-size: clamp(2.6rem, 5.56vw, 5rem);

  /* 80px at 1440 */
  line-height: .92;
  font-weight: 600;
  letter-spacing: -.035em;
  color: var(--pm-ink);
}

.pm-h1.is-center {
  text-align: center;
}

.pm-h2 {
  font-size: clamp(2.1rem, 3.9vw, 3.5rem);

  /* 56px */
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -.04em;
  color: var(--pm-ink);
}

.pm-h2.is-md {
  font-size: clamp(2rem, 3.1vw, 2.75rem);
}

.pm-h2.is-white,
.pm-small.is-white {
  color: #fff;
}

.pm-h3 {
  font-size: clamp(2rem, 3.9vw, 3.5rem);
  line-height: .95;
  font-weight: 600;
  letter-spacing: -.04em;
  text-align: center;
}

.pm-lead {
  font-size: 1.25rem;
  line-height: 1.3;
  font-weight: 500;
}

.pm-body {
  font-size: 1.25rem;
  line-height: 1.3;
  text-align: center;
  max-width: 49rem;
}

.pm-small {
  font-size: 1.125rem;
  line-height: 1.4;
}

/* ── pills, chips, tilted tags ───────────────────────────────────────── */
.pm-pill {
  display: inline-block;
  padding: 8px;
  border-radius: 24px;
  background: var(--pm-lime);
  font-size: .875rem;
  line-height: .9;
  font-weight: 600;
  letter-spacing: -.03em;
}

.pm-pill.is-black {
  background: #000;
  color: #fff;
  padding: 12px 14px;
  border-radius: 24px;
  font-size: 1rem;
}

.pm-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px 8px 8px;
  border-radius: 48px;
  background: #fff;
  font-size: .875rem;
  line-height: 1.4;
  font-weight: 500;
  color: #000;
  white-space: nowrap;
}

.pm-chip img {
  width: 24px;
  height: auto;
}

.pm-tilt {
  display: inline-block;
  align-self: flex-start;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--pm-lime);
  font-size: 1rem;
  line-height: .9;
  font-weight: 600;
  letter-spacing: -.03em;
  transform: rotate(-2deg);
}

/* ── buttons: 48px, 12px corners, round arrow on the right ───────────── */
.pm-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.pm-btns.is-center {
  justify-content: center;
}

.pm-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  padding: 12px 10px 12px 16px;
  border-radius: 12px;
  border: 0;
  font: 600 1rem/1.5 var(--apx-font);
  letter-spacing: -.01em;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color .3s, color .3s, box-shadow .3s;
}

.pm-btn.is-black {
  background: #000;
  color: #fff;
}

.pm-btn.is-white {
  background: #fff;
  color: #000;
}

.pm-btn.is-line {
  background: #fff;
  color: #000;
  box-shadow: inset 0 0 0 1px var(--pm-line);
}

.pm-btn-ico {
  display: grid;
  place-items: center;
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--pm-lime);
  overflow: hidden;
}

.pm-btn-ico svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: #000;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .35s cubic-bezier(.5,0,.2,1);
}

.pm-btn:hover .pm-btn-ico svg {
  animation: pm-arrow .5s cubic-bezier(.5,0,.2,1);
}

.pm-btn.is-black:hover {
  background: #1c1c1c;
}

.pm-btn.is-white:hover,
.pm-btn.is-line:hover {
  background: var(--pm-pale);
}

@keyframes pm-arrow {
  0% {
    transform: none;
  }

  49% {
    transform: translateX(130%);
  }

  50% {
    transform: translateX(-130%);
  }

  100% {
    transform: none;
  }
}

.pm-btn:focus-visible,
.pm-bigbtn:focus-visible,
.pm-choice:focus-visible,
.pm-card-more:focus-visible,
.pm-q summary:focus-visible {
  outline: 3px solid #000;
  outline-offset: 3px;
}

/* the big black button: 96px tall, the arrow in a light green square */
.pm-bigbtn {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  min-width: 336px;
  height: 96px;
  padding: 8px 32px 8px 8px;
  border-radius: 24px;
  background: #000;
  color: #f5fcf2;
  font: 600 2.5rem/.95 var(--apx-font);
  letter-spacing: -.03em;
}

.pm-bigbtn-ico {
  position: relative;
  display: grid;
  place-items: center;
  flex: none;
  width: 80px;
  height: 80px;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(118deg, var(--pm-lime) 0 38%, var(--pm-mint) 38% 56%, var(--pm-lime) 56% 100%);
}

.pm-bigbtn-ico svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: #000;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pm-bigbtn-txt {
  transition: transform .5s ease-in-out;
}

.pm-bigbtn:hover .pm-bigbtn-ico svg {
  animation: pm-arrow .6s cubic-bezier(.5,0,.2,1);
}

.pm-bigbtn:hover .pm-bigbtn-txt {
  transform: translateX(6px);
}

/* ═══ 1. hero ═══════════════════════════════════════════════════════════ */
.pm-hero {
  position: relative;
  overflow: hidden;
  background: var(--pm-mint);
  padding: 13.5rem 0 7.5rem;
}

.pm-hero-shapes {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: var(--pm-lime);
}

.pm-sh {
  fill: var(--pm-mint);
}

.pm-sh-1 {
  animation: pm-drift-a 18s ease-in-out infinite alternate;
}

.pm-sh-2 {
  animation: pm-drift-b 14s ease-in-out infinite alternate;
}

.pm-sh-3 {
  animation: pm-drift-c 20s ease-in-out infinite alternate;
}

@keyframes pm-drift-a {
  to {
    transform: translate(60px, -20px);
  }
}

@keyframes pm-drift-b {
  to {
    transform: translate(-40px, 30px) rotate(2deg);
  }
}

@keyframes pm-drift-c {
  to {
    transform: translate(-50px, -30px);
  }
}

.pm-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: 24px;
  align-items: center;
}

.pm-hero-copy {
  grid-column: 2 / span 5;
}

.pm-hero-copy .pm-h1 {
  margin-bottom: 32px;
}

.pm-hero-copy .pm-lead {
  margin-bottom: 32px;
  max-width: 34rem;
}

.pm-hero-media {
  grid-column: 8 / span 5;
  position: relative;
}

.pm-hero-photo {
  display: block;
  width: 100%;
  height: auto;
}

.pm-stat-card {
  position: absolute;
  left: -.6%;
  top: 18.4%;
  width: auto;
  min-width: 43%;
  padding: 16px 16px 20px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 40px -18px rgba(0,0,0,.25);
}

.pm-stat-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 18px;
}

.pm-stat-top span {
  font-size: .8125rem;
  color: #555;
  white-space: nowrap;
}

.pm-stat-top b {
  padding: 4px 6px;
  border-radius: 4px;
  background: var(--pm-lime);
  font-size: .875rem;
  font-weight: 600;
  white-space: nowrap;
}

.pm-stat-num {
  font-size: clamp(1.4rem, 2.1vw, 1.875rem);
  font-weight: 600;
  letter-spacing: -.03em;
  white-space: nowrap;
}

[data-pm-float] {
  animation: pm-float 6s ease-in-out infinite;
}

@keyframes pm-float {
  50% {
    transform: translateY(-12px);
  }
}

.pm-hero-chip {
  position: absolute;
  right: 12px;
  bottom: 12px;
}

/* first paint: the hero rises in */
.pm-fade {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .5s ease-in-out, transform .5s ease-in-out;
  transition-delay: var(--d, 0s);
}

.pm-hero.is-in .pm-fade {
  opacity: 1;
  transform: none;
}

.pm-stats {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 349px));
  justify-content: center;
  gap: 16px;
  margin-top: 12.5rem;
  text-align: center;
}

.pm-stat {
  position: relative;
}

.pm-big {
  margin-bottom: 16px !important;
  font-size: clamp(3rem, 5.56vw, 5rem);
  line-height: .9;
  font-weight: 700;
  letter-spacing: -.045em;
  white-space: nowrap;
}

.pm-stat .pm-small {
  max-width: 21rem;
  margin: 0 auto;
}

.pm-stat-tag {
  position: absolute;
  left: 50%;
  top: -36px;
  padding: 8px 12px;
  border-radius: 8px;
  background: #fff;
  font-size: 1rem;
  line-height: .9;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  transform: translate(-50%, 16px) rotate(-2deg) scale(.9);
  transition: opacity .35s, transform .45s cubic-bezier(.34,1.56,.64,1);
  pointer-events: none;
}

.pm-stat:hover .pm-stat-tag,
.pm-stats.is-tagged .pm-stat-tag {
  opacity: 1;
  transform: translate(-50%, 0) rotate(-2deg);
}

/* ═══ 2. three ways: cards over a photo ══════════════════════════════════ */
.pm-ways {
  position: relative;
  z-index: 2;
  margin-top: -48px;
  padding: 9rem 0 4rem;
  border-radius: 48px;
  overflow: hidden;
  isolation: isolate;
}

.pm-ways-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.pm-ways-bg > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pm-ways-chip {
  position: absolute;
  right: var(--pm-gut);
  top: 64px;
}

.pm-ways-head {
  text-align: center;
  margin: 0 auto 4.25rem;
  max-width: 58rem;
}

.pm-ways-head .pm-h2 {
  margin-bottom: 16px;
  text-shadow: 0 2px 30px rgba(0,0,0,.18);
}

.pm-ways-head .pm-small {
  text-shadow: 0 1px 14px rgba(0,0,0,.35);
}

.pm-cards {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 24px;
}

.pm-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  width: 336px;
  padding: 24px;
  border-radius: 24px;
  background: #fff;
}

.pm-card.is-1 {
  min-height: 360px;
}

.pm-card.is-2 {
  min-height: 400px;
}

.pm-card.is-3 {
  min-height: 465px;
}

.pm-card-name {
  font-weight: 700;
  letter-spacing: -.04em;
  line-height: .9;
}

.pm-card.is-1 .pm-card-name {
  font-size: 3rem;
}

.pm-card.is-2 .pm-card-name {
  font-size: 3.25rem;
}

.pm-card.is-3 .pm-card-name {
  font-size: 3.5rem;
}

.pm-card-desc {
  font-size: 1.125rem;
  line-height: 1.4;
}

.pm-card .pm-btn {
  margin-top: auto;
}

.pm-card-more {
  all: unset;
  display: none;
  align-items: center;
  gap: 4px;
  font: 600 .75rem/1 var(--apx-font);
  cursor: pointer;
}

.pm-card-more svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  transition: transform .3s;
}

.pm-card-more[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.pm-card-detail {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .4s ease;
}

.pm-card-detail p {
  overflow: hidden;
  font-size: .8125rem;
  line-height: 1.5;
  font-weight: 500;
  color: #333;
}

.pm-card:hover .pm-card-detail,
.pm-card.is-open .pm-card-detail {
  grid-template-rows: 1fr;
}

.pm-ways-note {
  margin-top: 4rem !important;
  text-align: center;
  color: #fff;
  font-size: .875rem;
  text-shadow: 0 1px 10px rgba(0,0,0,.45);
}

/* ═══ 3. calculator ══════════════════════════════════════════════════════ */
.pm-sim {
  position: relative;
  background: #fff;
  margin-top: -48px;
  padding: 12.5rem 0 7.5rem;
}

.pm-sim-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
  margin-bottom: 40px;
}

.pm-select {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 4px 4px 4px 16px;
  border-radius: 16px;
  background: var(--pm-pale);
  font-size: 1.25rem;
  font-weight: 500;
}

.pm-select-box {
  position: relative;
  display: block;
}

.pm-select select {
  appearance: none;
  -webkit-appearance: none;
  height: 56px;
  width: 23rem;
  max-width: 62vw;
  padding: 0 48px 0 16px;
  border: 0;
  border-radius: 12px;
  background: var(--pm-lime);
  font: 500 1.125rem var(--apx-font);
  color: #000;
  cursor: pointer;
}

.pm-select svg {
  position: absolute;
  right: 16px;
  top: 50%;
  width: 18px;
  height: 18px;
  margin-top: -9px;
  fill: none;
  stroke: #000;
  stroke-width: 1.8;
  pointer-events: none;
}

.pm-sim-grid {
  display: grid;
  grid-template-columns: 384px 512px;
  justify-content: center;
  gap: 32px;
}

.pm-field {
  margin-bottom: 40px;
}

.pm-field-label {
  display: block;
  margin-bottom: 12px;
  font-size: 1rem;
  font-weight: 500;
}

.pm-range {
  position: relative;
  height: 100px;
  border-radius: 24px;
  border: 1px solid var(--pm-line);
  background: #fff;
}

.pm-range-fill {
  position: absolute;
  left: -1px;
  top: -1px;
  bottom: -1px;
  width: calc(var(--p) * .93 + 30px);
  border-radius: 24px;
  background: var(--pm-lime);
}

.pm-range-knob {
  position: absolute;
  top: 50%;
  left: calc(var(--p) * .93 + 30px);
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin: -16px 0 0 -16px;
  border-radius: 50%;
  background: #000;
  box-shadow: 0 0 0 3px #fff;
  transition: transform .2s;
}

.pm-range-knob svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pm-range:hover .pm-range-knob,
.pm-range:focus-within .pm-range-knob {
  transform: scale(1.12);
}

.pm-range:focus-within {
  box-shadow: 0 0 0 3px rgba(0,0,0,.85);
}

.pm-range-val {
  position: absolute;
  right: 16px;
  top: 14px;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -.03em;
  pointer-events: none;
}

.pm-range input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
}

.pm-hint {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 12px !important;
  font-size: .75rem;
  line-height: 1.4;
}

.pm-i {
  display: grid;
  place-items: center;
  flex: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid #000;
  font: 600 9px/1 var(--apx-font);
  font-style: normal;
}

.pm-choices {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  height: 96px;
}

.pm-choice {
  all: unset;
  flex: 1;
  display: grid;
  place-items: center;
  height: 80px;
  border-radius: 16px;
  border: 1px solid var(--pm-line);
  background: #fff;
  font: 500 1.125rem/1.1 var(--apx-font);
  text-align: center;
  cursor: pointer;
  transition: height .3s ease, background-color .3s, border-color .3s;
}

.pm-choice[aria-checked="true"] {
  height: 94px;
  background: var(--pm-lime);
  border-color: var(--pm-lime);
}

.pm-plan-line {
  margin-top: 12px !important;
  font-size: 1rem;
}

.pm-result {
  position: relative;
  overflow: hidden;
  min-height: 640px;
  border-radius: 24px;
  background: var(--pm-lime);
}

.pm-result-shapes {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.pm-result-shapes path {
  fill: var(--pm-mint);
}

.pm-result-in {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
  padding: 48px 32px 40px;
  text-align: center;
}

.pm-result-ico {
  width: 100px;
  height: auto;
  margin-bottom: 8px;
  animation: pm-float 6s ease-in-out infinite;
}

.pm-result-num {
  font-size: clamp(2.6rem, 4.6vw, 4.125rem);
  font-weight: 700;
  letter-spacing: -.04em;
  line-height: 1;
  white-space: nowrap;
}

.pm-result-cap {
  margin: 12px 0 20px !important;
  font-size: 1.125rem;
}

.pm-result-rows {
  width: 100%;
  max-width: 21rem;
  margin-bottom: 28px !important;
}

.pm-result-rows div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-top: 1px solid rgba(0,0,0,.14);
  font-size: .9375rem;
}

.pm-result-rows dt {
  font-weight: 500;
  text-align: left;
}

.pm-result-rows dt small {
  font-size: .8125rem;
  font-weight: 500;
  opacity: .7;
}

.pm-result-rows dd {
  font-weight: 600;
  white-space: nowrap;
}

.pm-sim-legal {
  max-width: 47rem;
  margin: 48px auto 0 !important;
  text-align: center;
  font-size: .75rem;
  line-height: 1.4;
  color: #9b9b9b;
}

/* ═══ 4. the movement + mission blocks along the ribbon ═════════════════ */
.pm-move {
  position: relative;
  background: #fff;
  padding: 0 0 7.5rem;
  overflow: clip;
}

/* clip, not hidden: the Safety laptop pins inside */
.pm-move-intro {
  padding-left: 9.8%;
}

.pm-giant {
  margin-bottom: 40px !important;
  font-size: clamp(2.5rem, 6.1vw, 5.5rem);

  /* 88px at 1440 */
  line-height: .9;
  font-weight: 600;
  letter-spacing: -.04em;
}

.pm-giant span,
.pm-quotes-title span,
.pm-end .pm-h1 span {
  display: block;
}

[data-pm-lines] span {
  color: #e6e6e6;
  transition: color .5s ease-in-out;
}

[data-pm-lines] span.is-on {
  color: #000;
}

.pm-track {
  position: relative;
  padding-top: 8rem;
}

.pm-ribbon {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.pm-ribbon path {
  fill: none;
  stroke: var(--pm-pale);
  stroke-width: 230px;
  stroke-linecap: butt;
  vector-effect: non-scaling-stroke;
}

.pm-block {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: min(1000px, 100% - 2 * var(--pm-gut));
  margin: 0 auto 13rem;
}

.pm-block:last-child {
  margin-bottom: 0;
}

.pm-block-ico {
  width: 90px;
  height: auto;
  margin-bottom: 24px;
}

.pm-block .pm-h3 {
  margin-top: 0;
}

.pm-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  width: 100%;
  padding: 0;
  list-style: none;
}

.pm-facts li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 16px;
  border-radius: 24px;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--pm-line);
  text-align: left;
}

.pm-facts b {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -.03em;
}

.pm-facts span {
  font-size: .875rem;
  line-height: 1.35;
}

.pm-facts li:last-child {
  background: var(--pm-lime);
  box-shadow: none;
}

.pm-block-card.pw-pc {
  width: min(26rem, 100%);
  margin-bottom: 16px;
}

/* ═══ 5. ready? ══════════════════════════════════════════════════════════ */
.pm-ready {
  position: relative;
  background: #fff;
  padding: 7.5rem 0 11.5rem;
  text-align: center;
}

.pm-ready-lines {
  margin-bottom: 32px;
}

.pm-ready-line {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.pm-ready-w {
  font-size: clamp(3.2rem, 9.7vw, 8.75rem);

  /* 158px "Alors"/"prets" in the reference; our words are longer */
  line-height: .9;
  font-weight: 500;
  letter-spacing: -.045em;
  white-space: nowrap;
  transition: transform .6s ease-in-out .2s;
}

.pm-ready-img {
  display: block;
  flex: none;
  width: clamp(5.5rem, 16.6vw, 15rem);
  aspect-ratio: 239 / 152;
  border-radius: 16px;
  overflow: hidden;
  transition: transform .6s ease-in-out .2s, width .6s ease-in-out .2s;
}

.pm-ready-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pm-ready-lines.is-wait .pm-ready-w.is-l {
  transform: translateX(10%);
}

.pm-ready-lines.is-wait .pm-ready-w.is-r {
  transform: translateX(-10%);
}

.pm-ready-lines.is-wait .pm-ready-w.is-u {
  transform: translateY(30%);
}

.pm-ready-lines.is-wait .pm-ready-img {
  transform: scale(.2);
}

.pm-ready-ways {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 64rem;
  margin: 64px auto 32px;
  text-align: left;
}

.pm-way {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
  border-radius: 24px;
  background: var(--pm-pale);
}

.pm-way b {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -.02em;
}

.pm-way span {
  font-size: 1rem;
  line-height: 1.4;
}

/* ═══ 6. stories: chat bubbles on beige ═════════════════════════════════ */
.pm-quotes {
  position: relative;
  z-index: 2;
  margin-top: -64px;
  padding: 3.75rem 0 4rem;
  border-radius: 64px 64px 0 0;
  background: var(--pm-beige);
}

.pm-bubbles {
  position: relative;
}

.pm-bubbles.is-top {
  height: 560px;
}

.pm-bubbles.is-bottom {
  height: 470px;
  margin-top: 40px;
}

.pm-bubble {
  position: absolute;
  width: 27.5%;
  max-width: 360px;
  padding: 24px;
  border-radius: 24px;
  will-change: transform;
}

.pm-bubble,
.pm-bubble figcaption {
  text-align: left;
}

.pm-bubble blockquote {
  padding: 0;
  border: 0;
  color: #000;
  font-family: var(--apx-font);
  margin: 0 0 16px;
  font-size: 1.25rem;
  line-height: 1.3;
  font-weight: 500;
  letter-spacing: -.02em;
}

.pm-bubble figcaption b {
  display: block;
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: -.02em;
  line-height: 1.1;
}

.pm-bubble figcaption span {
  display: block;
  font-size: .875rem;
  font-weight: 500;
  line-height: 1.4;
}

.pm-bubble.is-lime {
  background: var(--pm-lime);
}

.pm-bubble.is-white {
  background: #fff;
}

.pm-bubble.is-mint {
  background: var(--pm-mint);
}

.pm-bubble::after {
  content: "";
  position: absolute;
  width: 24px;
  height: 24px;
  background: inherit;
}

.pm-bubble.t-bl {
  border-bottom-left-radius: 0;
}

.pm-bubble.t-bl::after {
  left: 0;
  top: 100%;
  clip-path: polygon(0 0, 100% 0, 0 100%);
}

.pm-bubble.t-br {
  border-bottom-right-radius: 0;
}

.pm-bubble.t-br::after {
  right: 0;
  top: 100%;
  clip-path: polygon(0 0, 100% 0, 100% 100%);
}

.pm-bubble.t-tl {
  border-top-left-radius: 0;
}

.pm-bubble.t-tl::after {
  left: 0;
  bottom: 100%;
  clip-path: polygon(0 0, 100% 100%, 0 100%);
}

.pm-bubble.t-tr {
  border-top-right-radius: 0;
}

.pm-bubble.t-tr::after {
  right: 0;
  bottom: 100%;
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
}

.pm-bubbles.is-top .pm-bubble:nth-child(1) {
  left: 0;
  top: 230px;
}

.pm-bubbles.is-top .pm-bubble:nth-child(2) {
  left: 24.5%;
  top: 300px;
  z-index: 2;
}

.pm-bubbles.is-top .pm-bubble:nth-child(3) {
  left: 44%;
  top: 30px;
  z-index: 3;
}

.pm-bubbles.is-top .pm-bubble:nth-child(4) {
  left: 72.5%;
  top: 230px;
}

.pm-bubbles.is-bottom .pm-bubble:nth-child(1) {
  left: 1.8%;
  top: 210px;
}

.pm-bubbles.is-bottom .pm-bubble:nth-child(2) {
  left: 28.2%;
  top: 110px;
  z-index: 2;
}

.pm-bubbles.is-bottom .pm-bubble:nth-child(3) {
  left: 61.5%;
  top: 30px;
}

.pm-quotes-title {
  position: relative;
  z-index: 4;
  text-align: center;
  font-size: clamp(2.4rem, 5.4vw, 4.875rem);

  /* 78px */
  line-height: .9;
  font-weight: 600;
  letter-spacing: -.04em;
}

.pm-bubble {
  opacity: 0;
  transition: opacity .6s ease;
}

.pm-bubbles.is-in .pm-bubble {
  opacity: 1;
}

.pm-bubbles.is-in .pm-bubble:nth-child(2) {
  transition-delay: .12s;
}

.pm-bubbles.is-in .pm-bubble:nth-child(3) {
  transition-delay: .24s;
}

.pm-bubbles.is-in .pm-bubble:nth-child(4) {
  transition-delay: .36s;
}

/* ═══ 7. questions ═══════════════════════════════════════════════════════ */
.pm-faq {
  background: var(--pm-beige);
  padding: 5rem 0 10rem;
  text-align: center;
}

.pm-faq .pm-h2 {
  margin: 20px 0 40px;
}

.pm-faq-list {
  display: grid;
  gap: 12px;
  max-width: 54rem;
  margin: 0 auto;
  text-align: left;
}

.pm-q {
  border-radius: 24px;
  background: #fff;
  transition: background-color .3s;
}

.pm-q[open] {
  background: var(--pm-mint);
}

.pm-q summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -.02em;
  cursor: pointer;
  list-style: none;
}

.pm-q summary::-webkit-details-marker {
  display: none;
}

.pm-q summary i {
  position: relative;
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #000;
  transition: transform .35s ease;
}

.pm-q summary i::before,
.pm-q summary i::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 2px;
  margin: -1px 0 0 -6px;
  background: var(--pm-lime);
  border-radius: 2px;
}

.pm-q summary i::after {
  transform: rotate(90deg);
}

.pm-q[open] summary i {
  transform: rotate(45deg);
}

.pm-q p {
  padding: 0 24px 24px;
  font-size: 1.0625rem;
  line-height: 1.5;
  max-width: 46rem;
}

.pm-q a {
  color: #000;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ═══ 8. (closing panel removed 2026-11-20: the page ends with the site's own Apilox banner and footer) ═══ */
.pm-end {
  position: relative;
  z-index: 3;
  margin-top: -72px;
  padding: 6rem 0 5rem;
  border-radius: 72px 72px 0 0;
  background: var(--pm-lime);
  overflow: hidden;
  text-align: center;
}

.pm-end-shapes {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.pm-end-shapes path {
  fill: var(--pm-mint);
}

.pm-end .pm-h1 {
  margin-bottom: 40px;
}

.pm-end [data-pm-lines] span {
  color: rgba(0,0,0,.18);
}

.pm-end [data-pm-lines] span.is-on {
  color: #000;
}

.pm-end-note {
  margin-top: 40px !important;
  font-size: .9375rem;
  font-weight: 500;
}

/* the site's "Apilox(R)" marks: small, raised, never a giant (R) inside the big headlines */
.pm-page sup {
  font-size: .32em;
  line-height: 0;
  vertical-align: .9em;
  letter-spacing: 0;
}

.pm-q summary span {
  flex: 1;
}

/* ═══ tablet ═══ */
@media (max-width: 1199px) {
  .pm-hero-copy {
    grid-column: 1 / span 6;
  }

  .pm-hero-media {
    grid-column: 7 / span 6;
  }

  .pm-sim-grid {
    grid-template-columns: minmax(0, 384px) minmax(0, 1fr);
  }

  .pm-facts {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 991px) {
  .pm-hero {
    padding: 9.5rem 0 5rem;
  }

  .pm-hero-grid {
    grid-template-columns: 1fr;
    row-gap: 48px;
  }

  .pm-hero-copy,
  .pm-hero-media {
    grid-column: 1;
  }

  .pm-hero-media {
    max-width: 34rem;
    width: 100%;
    justify-self: center;
  }

  .pm-stats {
    margin-top: 6rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .pm-cards {
    flex-direction: column;
    align-items: center;
  }

  .pm-card {
    width: min(100%, 30rem);
    min-height: 0 !important;
  }

  .pm-card-more {
    display: inline-flex;
  }

  .pm-card:hover .pm-card-detail {
    grid-template-rows: 0fr;
  }

  .pm-card.is-open .pm-card-detail {
    grid-template-rows: 1fr;
  }

  .pm-sim-grid {
    grid-template-columns: minmax(0, 32rem);
  }

  .pm-result {
    min-height: 560px;
  }

  .pm-move-intro {
    padding-left: 0;
  }

  .pm-ready-ways {
    grid-template-columns: 1fr;
    max-width: 32rem;
  }

  .pm-bubbles.is-top,
  .pm-bubbles.is-bottom {
    height: auto;
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 28px 2px;
    margin: 0 calc(-1 * var(--pm-gut));
    padding-left: var(--pm-gut);
    padding-right: var(--pm-gut);
    scrollbar-width: none;
  }

  .pm-bubbles::-webkit-scrollbar {
    display: none;
  }

  .pm-bubble {
    position: relative;
    left: auto !important;
    top: auto !important;
    flex: none;
    width: min(80vw, 22rem);
    max-width: none;
    scroll-snap-align: center;
    transform: none !important;
    align-self: flex-start;
  }

  .pm-bubbles.is-top .pm-bubble:nth-child(even),
  .pm-bubbles.is-bottom .pm-bubble:nth-child(even) {
    margin-top: 32px;
  }

  .pm-bubbles.is-bottom {
    margin-top: 24px;
  }
}

/* ═══ phone ═══ */
@media (max-width: 767px) {
  .pm-hero {
    padding-top: 8rem;
  }

  .pm-hero-copy .pm-h1 {
    margin-bottom: 20px;
  }

  .pm-lead {
    font-size: 1.0625rem;
  }

  .pm-hero-copy .pm-btns {
    flex-direction: column;
  }

  .pm-hero-copy .pm-btn {
    justify-content: center;
    height: 52px;
  }

  .pm-stats {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin: 5rem calc(-1 * var(--pm-gut)) 0;
    padding: 40px var(--pm-gut) 8px;
    gap: 16px;
    scrollbar-width: none;
  }

  .pm-stats::-webkit-scrollbar {
    display: none;
  }

  .pm-stat {
    flex: none;
    width: 78vw;
    padding: 32px 16px 24px;
    border-radius: 24px;
    background: rgba(255,255,255,.45);
    scroll-snap-align: center;
  }

  .pm-stat-tag {
    opacity: 1;
    transform: translate(-50%, 0) rotate(-2deg);
    top: -16px;
  }

  .pm-ways {
    padding: 4rem 0 0;
    background: var(--pm-dark);
    border-radius: 32px;
  }

  .pm-ways-bg {
    position: relative;
    inset: auto;
    order: 2;
    height: 22rem;
    margin-top: 3rem;
    z-index: 0;
  }

  .pm-ways {
    display: flex;
    flex-direction: column;
  }

  .pm-ways-head {
    text-align: left;
    margin-bottom: 2rem;
  }

  .pm-ways-head br {
    display: none;
  }

  .pm-ways-chip {
    top: auto;
    bottom: 16px;
    right: 16px;
    white-space: normal;
  }

  .pm-card {
    width: 100%;
  }

  .pm-card-name {
    font-size: 2.5rem !important;
  }

  .pm-card .pm-btn {
    width: 100%;
    justify-content: center;
    margin-top: 8px;
  }

  .pm-ways-note {
    margin-top: 2rem !important;
  }

  .pm-sim {
    padding: 7rem 0 4rem;
  }

  .pm-sim-head br,
  .pm-hint br {
    display: none;
  }

  .pm-select {
    flex-direction: column;
    gap: 8px;
    padding: 12px;
    width: 100%;
  }

  .pm-select-box,
  .pm-select select {
    width: 100%;
    max-width: none;
  }

  .pm-range-val {
    font-size: 1.6rem;
  }

  .pm-choice {
    font-size: 1rem;
  }

  .pm-result-in {
    padding: 40px 20px 28px;
  }

  .pm-result .pm-btn {
    white-space: normal;
    height: auto;
    min-height: 48px;
    text-align: left;
  }

  .pm-move {
    padding-bottom: 5rem;
  }

  .pm-giant {
    font-size: clamp(2.2rem, 10.5vw, 3rem);
  }

  .pm-giant span,
  .pm-end .pm-h1 span {
    display: inline;
  }

  .pm-hero-chip {
    left: 12px;
    right: 12px;
    white-space: normal;
  }

  .pm-select select {
    font-size: 1rem;
    padding-right: 40px;
  }

  .pm-bigbtn {
    min-width: 0;
    width: 100%;
    height: 72px;
    font-size: 1.75rem;
    border-radius: 20px;
  }

  .pm-bigbtn-ico {
    width: 56px;
    height: 56px;
    border-radius: 12px;
  }

  .pm-track {
    padding-top: 5rem;
  }

  .pm-ribbon path {
    stroke-width: 120px;
  }

  .pm-block {
    margin-bottom: 7rem;
    gap: 18px;
  }

  .pm-block .pm-h3 br {
    display: none;
  }

  .pm-body {
    font-size: 1.0625rem;
  }

  .pm-facts {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .pm-facts li {
    padding: 14px 12px;
    border-radius: 18px;
  }

  .pm-facts b {
    font-size: 1.15rem;
  }

  .pm-ready {
    padding: 5rem 0 8rem;
  }

  .pm-ready-line {
    gap: 6px;
    flex-wrap: nowrap;
  }

  .pm-ready-w {
    font-size: clamp(2.2rem, 10vw, 3.5rem);
  }

  .pm-ready-img {
    width: 4.6rem;
    border-radius: 10px;
  }

  .pm-ready .pm-btns {
    flex-direction: column;
    align-items: stretch;
  }

  .pm-ready .pm-btn {
    justify-content: center;
  }

  .pm-quotes {
    border-radius: 32px 32px 0 0;
    padding-top: 2rem;
  }

  .pm-bubble blockquote {
    font-size: 1.0625rem;
  }

  .pm-faq {
    padding: 3rem 0 7rem;
  }

  .pm-q summary {
    font-size: 1.0625rem;
    padding: 18px 18px;
  }

  .pm-q p {
    padding: 0 18px 20px;
    font-size: 1rem;
  }

  .pm-end {
    border-radius: 40px 40px 0 0;
    padding: 4rem 0 3rem;
  }

  .pm-end .pm-btns {
    flex-direction: column;
    align-items: stretch;
  }

  .pm-end .pm-btn {
    justify-content: center;
  }

  .pm-btn {
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pm-sh,
  [data-pm-float],
  .pm-result-ico {
    animation: none !important;
  }

  .pm-fade,
  .pm-ready-w,
  .pm-ready-img,
  .pm-bubble {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  [data-pm-lines] span {
    color: #000 !important;
    transition: none;
  }

  .pm-btn:hover .pm-btn-ico svg,
  .pm-bigbtn:hover .pm-bigbtn-ico svg {
    animation: none;
  }
}

/* the green hero runs up behind the site header on this page (owner 2026-11-20): the header has no background
   of its own, so the hero slides up under it (by the header height) and the header stays on top */
body.lv-page-pathway .nav {
  position: relative;
  z-index: 50;
}

body.lv-page-pathway .pm-hero {
  margin-top: -70px;
  padding-top: calc(216px + 70px);
}

@media (max-width: 991px) {
  body.lv-page-pathway .pm-hero {
    padding-top: calc(9.5rem + 70px);
  }
}

@media (max-width: 767px) {
  body.lv-page-pathway .pm-hero {
    padding-top: calc(8rem + 70px);
  }
}

/* the hero photo (the couple on the bicycle, owner 2026-11-20) keeps the frame's original near-square shape;
   cropped around the couple so the floating card sits over the trees, not their faces */
.pm-hero-photo {
  aspect-ratio: 1100 / 1094;
  height: auto;
  object-fit: cover;
  object-position: 50% 62%;
}

.pm-hero-photo {
  object-position: 50% 8%;
  border-radius: 32px;
}

/* "Ready [ ] to start?": the picture is Alex Boysen's Pathway card (owner 2026-11-20), shown whole at its own shape */
.pm-ready-img {
  aspect-ratio: 1050 / 600;
}

.pm-ready-img img {
  object-fit: contain;
}

/* Safety: Apilox PRO live on a laptop (scan, VALID, medicine history) above the text */
.pm-safety-laptop {
  width: min(100%, 52rem);
  margin: 0 auto 2.5rem;
}

/* calculator: the joining fee on its own line (owner 2026-11-20) */
.pm-result-rows .is-once {
  border-top: 1px dashed rgba(0,0,0,.25);
  padding-top: 10px;
  margin-top: 4px;
}

.pm-result-rows .is-once dt {
  font-weight: 600;
}

/* Safety: the PRO laptop pins as you scroll and grows until its screen fills the window, then the page moves on
   (owner 2026-11-20). pathway-landing.js sets --z (0 -> 1) from the scroll. */
.pm-safety-zoom {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  height: 260vh;
  margin-bottom: 2rem;
}

.pm-safety-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.pm-safety-zoom .pm-safety-laptop {
  width: min(86vw, 52rem);
  margin: 0;
  transform-origin: 0 0;
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  .pm-safety-zoom {
    height: auto;
  }

  .pm-safety-sticky {
    position: static;
    height: auto;
    padding: 2rem 0;
  }
}

/* the Safety laptop, round 2 (owner 2026-11-20): centred (no side offset: the block centres the wide wrapper itself),
   starting near the top of the pinned window so the gap after "Talk to us" is small; the block before it closer */
.pm-safety-zoom {
  margin-left: 0;
  align-self: center;
}

.pm-safety-sticky {
  align-items: flex-start;
  padding-top: 6vh;
}

.pm-block:has(+ #safety) {
  margin-bottom: 4rem;
}

/* this laptop runs PRO at a real desktop width (1920 x 1238) so PRO lays the verify page out as on a desktop:
   the card on the left, what they owe and the refill history on the right */
.pm-safety-laptop .mb-screen .lv-desktop.is-pro-d .lv-screen {
  width: 1920px;
  height: 1238px;
}

/* the calculator's price bars get room below them before their note (owner 2026-11-20) */
.pm-range {
  margin-bottom: 1.5rem;
}

/* Safety, round 3 (owner 2026-11-21): the laptop on a desktop, a tablet from 768 to 991px, a phone below 768px -
   each running the live PRO page at its own screen size, and each pinned and grown to fill the window the same way
   (pathway-landing.js follows whichever is on show) */
.pm-safety-zoom .pm-safety-dev {
  margin: 0;
  transform-origin: 0 0;
  will-change: transform;
}

.pm-safety-dev.is-tablet,
.pm-safety-dev.is-phone {
  display: none;
}

.dev-tablet,
.dev-phone {
  position: relative;
  flex: none;
  background: #0c0c0c;
  box-shadow: 0 0 0 2px #2a2a2a, 0 30px 70px -30px rgba(0,0,0,.45);
}

.dev-tablet {
  width: min(66vw, 30rem);
  padding: 14px;
  border-radius: 34px;
}

.dev-phone {
  width: min(64vw, 17rem);
  padding: 10px;
  border-radius: 44px;
}

.dev-screen {
  position: relative;
  overflow: hidden;
  background: #fff;
}

.dev-tablet .dev-screen {
  aspect-ratio: 834 / 1194;
  border-radius: 20px;
}

.dev-phone .dev-screen {
  aspect-ratio: 390 / 844;
  border-radius: 34px;
}

.dev-screen .lv-desktop {
  padding: 0;
  border-radius: 0;
  background: #fff;
}

.dev-screen .lv-desktop .lv-fit {
  border-radius: 0;
}

.dev-tablet .dev-screen .lv-desktop.is-pro-d .lv-screen {
  width: 834px;
  height: 1194px;
}

.dev-phone .dev-screen .lv-desktop.is-pro-d .lv-screen {
  width: 390px;
  height: 844px;
}

.dev-cam {
  position: absolute;
  top: 5px;
  left: 50%;
  width: 5px;
  height: 5px;
  margin-left: -2.5px;
  border-radius: 50%;
  background: #2b2b2b;
}

.dev-island {
  position: absolute;
  z-index: 3;
  top: 18px;
  left: 50%;
  width: 30%;
  height: 20px;
  transform: translateX(-50%);
  border-radius: 20px;
  background: #000;
}

@media (max-width: 991px) {
  .pm-safety-dev.is-laptop {
    display: none;
  }

  .pm-safety-dev.is-tablet {
    display: block;
  }
}

@media (max-width: 767px) {
  .pm-safety-dev.is-tablet {
    display: none;
  }

  .pm-safety-dev.is-phone {
    display: block;
  }
}
