/* Middle lane: stages 1–7. All rules scoped with m-. */

.m-stage {
  width: min(1200px, calc(100% - 48px));
  margin: 100px auto;
  padding: 0 0 8px;
  position: relative;
}
.m-stage__copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}
.m-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--accent);
}
.m-eyebrow .wf-eyebrow { margin-bottom: 0; }
.m-stage__copy .m-eyebrow { justify-content: center; }
.m-mark { width: 10px; height: 12px; flex-shrink: 0; }
.m-stage__copy .wf-title { width: min(860px, 100%); max-width: 860px; align-items: center; }
.m-stage__copy .wf-body { width: min(680px, 100%); max-width: 680px; align-items: center; }
.m-stage__copy .wf-body .wf-block,
.m-stage__copy .wf-title .wf-block { margin-inline: auto; }

/* 05 Lead network — reference box about 526px at desktop */
.m-lead {
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.m-orbit {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.m-orbit__hub {
  position: absolute;
  left: 50%;
  top: 54%;
  width: 72px;
  height: 72px;
  margin: -36px 0 0 -36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .45);
}
.m-orbit__hub::after {
  content: "";
  position: absolute;
  inset: 22px;
  border-radius: 50%;
  background: var(--accent);
  opacity: .85;
}
.m-orbit__node {
  position: absolute;
  left: 50%;
  top: 54%;
  width: 48px;
  height: 48px;
  margin: -24px 0 0 -24px;
  display: grid;
  place-items: center;
  color: var(--ink);
}
.m-orbit__glyph {
  width: 34px;
  height: 34px;
  border: 1.5px solid var(--ink);
  border-radius: 10px;
  opacity: .8;
}
.m-orbit__glyph--round { border-radius: 50%; }
.m-orbit__glyph--cut { border-radius: 4px 16px 4px 16px; background: var(--accent); border-color: transparent; }
.m-orbit__glyph--ring { border-width: 6px; background: transparent; }

/* 06 Phone — split, handset on the left, about 742px with 120px rhythm */
.m-phone-stage { margin-block: 0; padding-block: var(--gutter); }
.m-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  width: 100%;
}
.m-split--reverse { direction: rtl; }
.m-split--reverse > * { direction: ltr; }
.m-split__text { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.m-split__text .wf-title,
.m-split__text .wf-body { width: 100%; max-width: none; align-items: stretch; }
.m-split__text .wf-title .wf-block,
.m-split__text .wf-body .wf-block { margin-inline: 0; }
.m-phone-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  min-width: 0;
  min-height: 470px;
}
.m-waves {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18%;
  height: 300px;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  opacity: .35;
  pointer-events: none;
  transition: transform .6s cubic-bezier(.22, 1, .36, 1), opacity .6s ease;
}
.m-phone-wrap.is-live .m-waves { transform: translate(-50%, -50%) scaleX(4.33); opacity: .55; }
.m-waves i {
  display: block;
  width: 3px;
  height: 28%;
  border-radius: 99px;
  background: var(--ink);
  transform: scaleY(var(--s, .4));
  transform-origin: center;
}
.m-phone-wrap.is-live .m-waves i { animation: m-wave 1.2s ease-in-out infinite; animation-delay: calc(var(--d) * -80ms); }
@keyframes m-wave {
  0%, 100% { transform: scaleY(.35); }
  50% { transform: scaleY(1); }
}
.m-phone {
  width: 300px;
  max-width: 100%;
  height: 470px;
  display: flex;
  flex-direction: column;
  background: var(--ink);
  color: var(--paper);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 1px 2px #0003, 0 12px 32px #0000004d;
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.m-chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  position: relative;
  min-height: 44px;
  flex-shrink: 0;
}
.m-chrome--light { border-bottom-color: rgba(0, 0, 0, .06); background: #fff; }
.m-tl { width: 11px; height: 11px; border-radius: 50%; flex-shrink: 0; }
.m-tl--r { background: #ff5f57; }
.m-tl--y { background: #febc2e; }
.m-tl--g { background: #28c840; }
.m-chrome__title {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 38%;
  height: 8px;
  border-radius: 3px;
  background: currentColor;
  opacity: .35;
}
.m-phone__body {
  position: relative;
  flex: 1;
  min-height: 0;
}
.m-view {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 16px 22px 72px;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity .35s ease, transform .35s cubic-bezier(.22, 1, .36, 1);
}
.m-phone[data-view="dial"] .m-view--dial,
.m-phone[data-view="live"] .m-view--live,
.m-phone[data-view="proc"] .m-view--live,
.m-phone[data-view="sum"] .m-view--sum {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.m-contact { display: flex; align-items: center; gap: 10px; width: 100%; }
.m-contact__avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
.m-contact__lines { flex: 1; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.m-contact__lines .wf-block { background: var(--paper); }
.m-number { display: flex; gap: 8px; width: 100%; justify-content: center; }
.m-number .wf-block { background: var(--paper); height: 12px; width: 42px; }
.m-keypad {
  display: grid;
  grid-template-columns: repeat(3, 52px);
  gap: 10px;
  justify-content: center;
}
.m-key {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .06);
  color: var(--paper);
  font-size: 16px;
}
.m-key.is-dialing { background: var(--accent); color: var(--ink); }
.m-status { display: flex; align-items: center; gap: 8px; }
.m-status__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}
.m-status .wf-block,
.m-sum .wf-block,
.m-live__lines .wf-block { background: var(--paper); }
.m-wave-row { display: flex; align-items: center; gap: 3px; height: 46px; }
.m-wave-row span {
  width: 3px;
  height: 100%;
  border-radius: 99px;
  background: var(--accent);
  transform: scaleY(var(--s, .5));
  transform-origin: center;
}
.m-phone[data-view="live"] .m-wave-row span { animation: m-wave 1s ease-in-out infinite; animation-delay: calc(var(--d) * -60ms); }
.m-live__lines { width: 100%; display: flex; flex-direction: column; gap: 8px; }
.m-live__lines .wf-block { opacity: .2; transform: scaleX(.35); transform-origin: left center; }
.m-phone[data-view="live"] .m-live__lines .wf-block.is-on { opacity: 1; transform: none; transition: opacity .2s linear, transform .2s linear; }
.m-phone[data-view="proc"] .m-live__lines { visibility: hidden; }
.m-sum { width: 100%; display: flex; flex-direction: column; gap: 10px; }
.m-sum__row { display: flex; flex-direction: column; gap: 6px; opacity: 0; transform: translateY(6px); }
.m-phone[data-view="sum"] .m-sum__row.is-on { opacity: 1; transform: none; transition: opacity .4s ease, transform .4s cubic-bezier(.22, 1, .36, 1); }
.m-round.is-pressed { transform: scale(.92); }
.m-round.is-calling { box-shadow: 0 0 0 6px rgba(199, 243, 107, .35); }
.m-phone__actions {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 16px;
  display: flex;
  justify-content: center;
  gap: 12px;
  z-index: 2;
}
.m-round {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 0;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: var(--ink);
}
.m-round--ghost { background: transparent; color: var(--paper); border: 1px solid rgba(255, 255, 255, .2); }
.m-round svg { width: 20px; height: 20px; }

/* 07 Qualification — form 240px + 3-column board, about 823px */
.m-qual { margin-block: 0; padding-top: 60px; padding-bottom: var(--gutter); }
.m-pipe {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 28px;
  align-items: stretch;
  margin-top: 32px;
}
.m-window {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 14px;
  box-shadow: 0 1px 2px #0000000a, 0 12px 32px #1f1c1b0f;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.m-form { display: flex; flex-direction: column; gap: 8px; padding: 14px 12px; flex: 1; }
.m-field {
  flex: 1;
  min-height: 40px;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 9px;
  background: #fff;
  display: flex;
  align-items: center;
  padding: 0 12px;
  position: relative;
}
.m-field.is-active { border-color: #94a3b8; box-shadow: 0 0 0 3px #94a3b81a; }
.m-field .wf-block { width: 46%; }
.m-caret {
  width: 1.5px;
  height: 12px;
  margin-left: 4px;
  background: var(--ink);
  opacity: 0;
}
.m-field.is-active .m-caret { opacity: 1; animation: m-blink .9s steps(2) infinite; }
@keyframes m-blink { 50% { opacity: 0; } }
.m-form__btn {
  flex: 1.2;
  min-height: 44px;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 9px;
  background: #fff;
  color: var(--ink);
}
.m-form__btn::before,
.m-sign__btn::before {
  content: "";
  display: block;
  width: 64px;
  height: 8px;
  border-radius: 3px;
  background: currentColor;
  opacity: .35;
}
.m-form__btn.is-on { transform: translateY(-3px); border-color: var(--accent); box-shadow: 0 14px 30px #0f172a1f; }
.m-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  padding: 14px 6px 16px;
  flex: 1;
}
.m-col { min-width: 0; padding: 0 10px; display: flex; flex-direction: column; }
.m-col__head {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 4px 4px 12px;
}
.m-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ink); flex-shrink: 0; }
.m-dot--a { background: var(--accent); }
.m-dot--m { background: #9b958a; }
.m-col__head .wf-block { width: 72px; height: 10px; }
.m-count {
  margin-left: auto;
  width: 18px;
  height: 14px;
  border-radius: 8px;
  background: rgba(0, 0, 0, .05);
}
.m-cards { display: flex; flex-direction: column; gap: 8px; }
.m-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 10px;
  padding: 11px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  transform: translateY(18px);
}
.m-pipe.is-in .m-card { opacity: 1; transform: none; transition: opacity 400ms ease, transform 400ms cubic-bezier(.22, 1, .36, 1); }
.m-pipe.is-in .m-col:nth-child(2) .m-card { transition-delay: 80ms; }
.m-pipe.is-in .m-col:nth-child(3) .m-card { transition-delay: 160ms; }
.m-card__top { display: flex; align-items: center; gap: 9px; min-width: 0; }
.m-avatar { width: 26px; height: 26px; border-radius: 50%; background: var(--muted); flex-shrink: 0; }
.m-card__top .wf-block { height: 10px; flex: 1; }
.m-card__meta { display: flex; gap: 6px; padding-top: 6px; }
.m-card__meta .wf-block { height: 8px; width: 34%; opacity: .18; }

/* 08–09 Proposal engine. Pin is 100vh; stage is 400vh so travel is 300vh.
   Case is another 100vh. Together that is 500vh (~5010px at a 1002px viewport). */
.m-engine {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  position: relative;
}
.m-engine__stage { position: relative; height: 400vh; }
.m-engine__pin {
  position: sticky;
  top: 0;
  height: 100vh;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 88px 40px 20px;
  overflow: hidden;
  background: var(--paper);
}
.m-engine__head { text-align: center; position: relative; z-index: 2; pointer-events: none; }
.m-engine__head .m-eyebrow { justify-content: center; }
.m-engine__head .wf-title { width: min(900px, 100%); margin-inline: auto; align-items: center; }
.m-engine__head .wf-body { width: min(640px, 100%); max-width: 640px; margin-inline: auto; align-items: center; }
.m-engine__head .wf-title .wf-block,
.m-engine__head .wf-body .wf-block { margin-inline: auto; }
.m-scene {
  position: relative;
  flex: 1 1 0;
  min-height: 0;
  width: 100%;
  z-index: 1;
  pointer-events: none;
}
.m-scene__layer {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(18px) scale(.98);
  /* Scroll writes opacity and transform. A timed fade would lag behind the wheel. */
  transition: none;
}
.m-engine__pin[data-phase="0"] .m-scene__layer--0,
.m-engine__pin[data-phase="1"] .m-scene__layer--1,
.m-engine__pin[data-phase="2"] .m-scene__layer--2,
.m-engine__pin[data-phase="3"] .m-scene__layer--3 {
  opacity: 1;
  transform: none;
}
.m-sheet-stack { position: relative; width: min(440px, 78vw); height: 280px; }
.m-sheet {
  position: absolute;
  inset: 30px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 12px 32px #1f1c1b0f;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transform: translate(calc(var(--i) * 18px), calc(var(--i) * -16px)) rotate(calc(var(--i) * -2deg));
}
.m-engine__pin[data-phase="0"] .m-sheet {
  transform: translate(calc(var(--i) * (8px * (1 - var(--p, 0)))), calc(var(--i) * -6px * (1 - var(--p, 0))));
}
.m-cursor-doc {
  width: min(520px, 86vw);
  height: 300px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, .55);
  position: relative;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.m-cursor {
  position: absolute;
  left: 0;
  top: 0;
  width: 14px;
  height: 14px;
  border-radius: 2px;
  background: var(--accent);
  transform: translate(0, 0) rotate(-18deg);
}
.m-meter { width: min(480px, 80vw); display: flex; flex-direction: column; gap: 22px; align-items: stretch; }
.m-meter__track { height: 18px; border-radius: 99px; background: rgba(17, 19, 21, .08); overflow: hidden; }
.m-meter__fill { height: 100%; width: 100%; background: var(--accent); transform: scaleX(calc(.15 + var(--p, 0) * .7)); transform-origin: left; }
.m-meter__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.m-meter__cols div {
  height: 88px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .5);
}
.m-bars { display: flex; align-items: flex-end; gap: 10px; height: 240px; width: min(520px, 86vw); }
.m-bars span {
  flex: 1;
  height: var(--h);
  border-radius: 8px 8px 2px 2px;
  background: var(--ink);
  opacity: .75;
  transform: scaleY(calc(.2 + var(--p, .2) * .8));
  transform-origin: bottom;
}
.m-bars span:nth-child(odd) { background: var(--accent); opacity: 1; }
.m-engine__labels { position: relative; z-index: 2; max-height: 20vh; }
.m-engine__track {
  display: flex;
  gap: clamp(12px, 2.4vw, 40px);
  justify-content: center;
  padding: 0 12px 8px;
}
.m-engine__label {
  flex: 1 1 160px;
  max-width: 240px;
  min-width: 0;
  border-left: 5px solid rgba(17, 19, 21, .3);
  padding-left: 12px;
  text-align: left;
}
.m-engine__label.is-active { border-left-color: var(--accent); }
.m-engine__label strong {
  display: block;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -.03em;
  margin-bottom: 6px;
}
.m-engine__label .wf-block { height: 8px; margin-top: 6px; opacity: .2; }

.m-case {
  position: relative;
  z-index: 3;
  min-height: 100vh;
  background: var(--ink);
  color: var(--paper);
  display: flex;
}
.m-case__layout {
  display: grid;
  grid-template-columns: 2fr 3fr;
  width: min(1440px, 100%);
  margin-inline: auto;
  min-height: 100vh;
}
.m-case__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  text-align: right;
  padding: 10vh 28px 10vh 24px;
  min-width: 0;
}
.m-case__content .m-eyebrow { align-self: flex-end; color: var(--accent); }
.m-case__content .wf-title,
.m-case__content .wf-body { width: min(450px, 100%); align-items: stretch; }
.m-case__content .wf-title .wf-block { height: clamp(28px, 4vw, 48px); background: var(--paper); opacity: .9; }
.m-case__content .wf-body .wf-block,
.m-case__content .wf-title .wf-block { margin-left: auto; }
.m-case__content .wf-body { min-height: 8em; }
.m-case__panels { width: min(450px, 100%); margin-top: 8px; }
.m-case__panel { display: none; flex-direction: column; gap: 10px; }
.m-case__panel.is-on { display: flex; }
.m-case__dots { display: flex; gap: 6px; margin-top: 24px; align-self: flex-end; }
.m-case__dot {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  display: grid;
  place-items: center;
}
.m-case__dot span {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: rgba(244, 245, 242, .25);
  display: block;
}
.m-case__dot[aria-pressed="true"] span { width: 24px; background: var(--paper); }
.m-case__mockup {
  min-width: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding-top: 12vh;
  position: relative;
}
.m-case__mockup::before {
  content: "";
  position: absolute;
  inset: 10% 0 0 10%;
  background: radial-gradient(ellipse at 70% 50%, rgba(0, 0, 0, .55), transparent 70%);
  pointer-events: none;
}
.m-laptop {
  position: relative;
  width: min(92%, 760px);
  aspect-ratio: 16 / 11;
  background: #0c0d0c;
  border: 12px solid #2a2d28;
  border-bottom-width: 36px;
  border-radius: 18px 18px 10px 10px;
  overflow: hidden;
  z-index: 1;
}
.m-laptop::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -24px;
  width: 72px;
  height: 6px;
  margin-left: -36px;
  border-radius: 99px;
  background: #3a3d38;
}
.m-laptop__screen { position: absolute; inset: 0; background: #161814; }
.m-laptop__pane {
  position: absolute;
  inset: 8% 7%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  transform: translateY(8px);
}
.m-laptop__pane.is-on { opacity: 1; transform: none; }
.m-laptop__pane .wf-block { background: var(--paper); }
.m-laptop__row { display: grid; grid-template-columns: 1.2fr .8fr; gap: 10px; flex: 1; }
.m-laptop__row div { border: 1px solid rgba(244, 245, 242, .15); border-radius: 8px; }

/* 10 Contract — text left, signature window right, about 600px */
.m-contract { margin-block: 0; padding-block: clamp(48px, 7vw, 96px); min-height: 0; }
.m-sign {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 16px;
  box-shadow: 0 1px 2px #0000000a, 0 12px 32px #1f1c1b0f;
  overflow: hidden;
  min-width: 0;
}
.m-sign__body { padding: 36px 48px; }
.m-sign__field { max-width: 500px; margin: 0 auto; }
.m-sign__blank {
  height: 92px;
  border-radius: 8px;
  background: rgba(17, 19, 21, .03);
  position: relative;
  overflow: hidden;
}
.m-sign__stroke {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 22px;
  height: 2px;
  background: var(--ink);
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left center;
}
.m-sign.is-signed .m-sign__stroke { opacity: .75; transform: scaleX(1); }
.m-sign__here { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.m-sign__ribbon {
  width: 92px;
  height: 22px;
  background: var(--accent);
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 50%, calc(100% - 8px) 100%, 0 100%);
}
.m-sign__line { width: 100%; border-top: 1px dashed rgba(17, 19, 21, .3); }
.m-sign__note { margin: 16px 0 28px; padding: 12px 16px; border-radius: 6px; background: rgba(199, 243, 107, .18); }
.m-sign__actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 8px; }
.m-sign__btn {
  min-height: 44px;
  padding: 12px 28px;
  border-radius: 100px;
  border: 1px solid #ccc;
  background: transparent;
  color: #555;
}
.m-sign__btn--yes { background: var(--ink); border-color: var(--ink); color: var(--paper); }

/* 11 Support board — masked window, about 840px */
.m-support { margin-block: 0; padding-top: 60px; padding-bottom: var(--gutter); }
.m-support__window {
  margin-top: 32px;
  max-width: 1100px;
  margin-inline: auto;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .08);
  border-bottom: 0;
  border-radius: 14px 14px 0 0;
  position: relative;
  transform: translateY(16px) scale(1.03);
  opacity: .45;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 55%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 55%, transparent 100%);
}
.m-support__window.is-in { transform: none; opacity: 1; }
.m-support__board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 14px 6px 48px;
}
.m-ticket {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .06);
  border-radius: 10px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  transform: translateY(8px);
}
.m-support__window.is-in .m-ticket { opacity: 1; transform: none; transition: opacity .5s ease, transform .5s ease; }
.m-support__window.is-in .m-col:nth-child(2) .m-ticket { transition-delay: 80ms; }
.m-support__window.is-in .m-col:nth-child(3) .m-ticket { transition-delay: 160ms; }
.m-support__window.is-in .m-col:nth-child(4) .m-ticket { transition-delay: 240ms; }
.m-ticket--done { opacity: .65; }
.m-support__window.is-in .m-ticket--done { opacity: .65; }
.m-ticket__head { display: flex; align-items: center; gap: 6px; }
.m-pri { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); flex-shrink: 0; }
.m-pri--hi { background: var(--ink); }
.m-pri--mid { background: var(--accent); }
.m-ticket__id { width: 42px; height: 8px; }
.m-ticket__channel { margin-left: auto; width: 14px; height: 14px; border-radius: 3px; border: 1.5px solid var(--line); }
.m-ticket__title { height: 12px; }
.m-ticket__title--done { opacity: .45; }
.m-ticket__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.m-ticket__who { display: flex; align-items: center; gap: 6px; min-width: 0; flex: 1; }
.m-ticket__who .m-avatar { width: 22px; height: 22px; }
.m-ticket__who .wf-block { height: 8px; flex: 1; }
.m-ticket__due { width: 36px; height: 8px; flex-shrink: 0; }
.m-progress { height: 3px; background: rgba(0, 0, 0, .05); border-radius: 2px; overflow: hidden; }
.m-progress span {
  display: block;
  height: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
}
.m-support__window.is-in .m-progress span { transform: scaleX(var(--w, .4)); }

/* 12 Reports — dashboard clipped around 820px, section near 1260px */
.m-reports { margin-block: 0; padding-top: 40px; padding-bottom: 120px; }
.m-dash {
  position: relative;
  margin-top: 64px;
  max-height: 820px;
  overflow: hidden;
}
.m-dash__fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 200px;
  background: linear-gradient(to bottom, rgba(244, 245, 242, 0), var(--paper));
  pointer-events: none;
  z-index: 2;
}
.m-dash__grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 16px;
}
.m-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; grid-column: 1 / -1; }
.m-kpi, .m-panel {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 14px;
  box-shadow: 0 1px 2px #0000000a, 0 12px 32px #1f1c1b0f;
  min-width: 0;
}
.m-kpi { padding: 20px; text-align: left; }
.m-kpi__value { height: 28px; width: 55%; opacity: .88; border-radius: 4px; }
.m-kpi__label { height: 8px; width: 70%; margin-top: 10px; }
.m-kpi__delta { height: 8px; width: 28%; margin-top: 10px; background: var(--accent); opacity: .8; border-radius: 3px; }
.m-panel { padding: 20px 24px; display: flex; flex-direction: column; overflow: hidden; }
.m-panel__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.m-panel__head .wf-block { width: 42%; height: 12px; }
.m-badge { width: 72px; height: 18px; border-radius: 100px; background: rgba(199, 243, 107, .45); flex-shrink: 0; }
.m-chart { width: 100%; height: auto; display: block; }
.m-chart__grid { stroke: rgba(0, 0, 0, .06); stroke-width: 1; }
.m-chart__prev, .m-chart__now { fill: none; stroke-width: 2.5; opacity: 0; }
.m-chart__prev { stroke: var(--ink); }
.m-chart__now { stroke: #5d7a28; }
.m-chart__fill { opacity: 0; }
.m-dash.is-in .m-chart__prev,
.m-dash.is-in .m-chart__now,
.m-dash.is-in .m-chart__fill { opacity: 1; transition: opacity .6s ease; }
.m-legend { display: flex; gap: 16px; margin-top: 12px; }
.m-legend i { width: 16px; height: 2px; display: inline-block; margin-right: 6px; vertical-align: middle; }
.m-legend span { font-size: 0; }
.m-donut-wrap { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.m-donut { width: min(235px, 100%); height: auto; }
.m-donut__ring { fill: none; stroke-width: 32; opacity: 0; transform-origin: center; transform: rotate(-90deg); }
.m-dash.is-in .m-donut__ring { opacity: 1; transition: opacity .6s ease; }
.m-donut-legend { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; width: 100%; }
.m-donut-legend div { display: flex; align-items: center; gap: 6px; min-width: 0; }
.m-swatch { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.m-leaders { display: flex; flex-direction: column; gap: 12px; }
.m-leader {
  display: grid;
  grid-template-columns: 24px 28px minmax(0, 1fr) minmax(48px, 1.2fr) 36px;
  align-items: center;
  gap: 10px;
}
.m-leader b { font-size: 12px; font-weight: 600; color: #9b958a; font-variant-numeric: tabular-nums; }
.m-leader .m-avatar { width: 28px; height: 28px; }
.m-leader__bar { height: 8px; background: rgba(0, 0, 0, .05); border-radius: 4px; overflow: hidden; }
.m-leader__bar span {
  display: block;
  height: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
}
.m-dash.is-in .m-leader__bar span {
  transform: scaleX(var(--w, .5));
  transition: transform .45s cubic-bezier(.22, 1, .36, 1);
  transition-delay: calc(.6s + var(--i, 0) * .15s);
}
.m-leader__val { height: 8px; }
.m-add {
  border: 2px dashed rgba(0, 0, 0, .12);
  background: transparent;
  box-shadow: none;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #9b958a;
}
.m-add svg { width: 28px; height: 28px; }

@media (min-width: 1200px) {
  .m-lead { min-height: 526px; }
  .m-phone-stage { min-height: 742px; }
  .m-qual { min-height: 823px; }
  .m-contract { min-height: 600px; }
  .m-support { min-height: 840px; }
  .m-reports { min-height: 1260px; }
}

@media (max-width: 900px) {
  .m-engine__labels { display: none; }
  .m-engine__pin { padding: 88px 20px 24px; justify-content: flex-start; gap: 24px; }
  .m-scene { flex: 1 1 0; min-height: 0; }
  .m-case__layout { grid-template-columns: 1fr; }
  .m-case__content { align-items: center; text-align: center; padding: 48px 24px 12px; }
  .m-case__content .m-eyebrow,
  .m-case__dots { align-self: center; }
  .m-case__content .wf-title .wf-block,
  .m-case__content .wf-body .wf-block { margin-inline: auto; }
  .m-case__mockup { min-height: 42vh; justify-content: center; padding: 12px 16px 32px; }
  .m-case__mockup::before { display: none; }
  .m-support__board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .m-support__window { max-height: 600px; overflow: hidden; }
}

@media (max-width: 720px) {
  .m-stage { width: calc(100% - 40px); margin-block: 48px; }
  .m-split { grid-template-columns: 1fr; gap: 32px; direction: ltr; }
  .m-pipe { grid-template-columns: 1fr; }
  .m-board { grid-template-columns: 1fr; }
  .m-sign__body { padding: 24px 16px; }
  .m-sign__actions { flex-wrap: wrap; }
  .m-kpis { grid-template-columns: 1fr 1fr; }
  .m-dash__grid { grid-template-columns: 1fr; }
  .m-dash { max-height: none; }
  .m-reports { padding-bottom: 72px; }
  .m-leader { grid-template-columns: 20px 22px minmax(0, 1fr) minmax(36px, .8fr) 28px; gap: 6px; }
  .m-orbit__node { width: 36px; height: 36px; margin: -18px 0 0 -18px; }
  .m-orbit__glyph { width: 26px; height: 26px; }
}

@media (max-width: 480px) {
  .m-support__board { grid-template-columns: 1fr; }
  .m-support__window { max-height: 480px; }
  .m-kpis { grid-template-columns: 1fr; }
  .m-keypad { grid-template-columns: repeat(3, 44px); }
  .m-key { width: 44px; height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  html:not([data-motion="full"]) .m-engine__stage { height: auto; }
  html:not([data-motion="full"]) .m-engine__pin { position: relative; height: auto; min-height: 0; overflow: visible; }
  html:not([data-motion="full"]) .m-scene { position: relative; flex: none; top: auto; height: auto; display: flex; flex-direction: column; gap: 28px; margin: 32px 0; }
  html:not([data-motion="full"]) .m-scene__layer { position: relative; inset: auto; opacity: 1; transform: none; min-height: 220px; }
  html:not([data-motion="full"]) .m-waves i,
  html:not([data-motion="full"]) .m-wave-row span,
  html:not([data-motion="full"]) .m-field.is-active .m-caret { animation: none; }
  html:not([data-motion="full"]) .m-card,
  html:not([data-motion="full"]) .m-ticket,
  html:not([data-motion="full"]) .m-support__window { opacity: 1; transform: none; }
  html:not([data-motion="full"]) .m-chart__prev,
  html:not([data-motion="full"]) .m-chart__now,
  html:not([data-motion="full"]) .m-chart__fill,
  html:not([data-motion="full"]) .m-donut__ring { opacity: 1; }
  html:not([data-motion="full"]) .m-leader__bar span,
  html:not([data-motion="full"]) .m-progress span,
  html:not([data-motion="full"]) .m-meter__fill { transform: scaleX(var(--w, .7)); }
  html:not([data-motion="full"]) .m-bars span { transform: none; }
  html:not([data-motion="full"]) .m-live__lines .wf-block,
  html:not([data-motion="full"]) .m-sum__row { opacity: 1; transform: none; transition: none; }
}

html[data-motion="reduced"] .m-engine__stage { height: auto; }
html[data-motion="reduced"] .m-engine__pin { position: relative; height: auto; min-height: 0; overflow: visible; }
html[data-motion="reduced"] .m-scene { position: relative; flex: none; top: auto; height: auto; display: flex; flex-direction: column; gap: 28px; margin: 32px 0; }
html[data-motion="reduced"] .m-scene__layer { position: relative; inset: auto; opacity: 1; transform: none; min-height: 220px; }
html[data-motion="reduced"] .m-waves i,
html[data-motion="reduced"] .m-wave-row span,
html[data-motion="reduced"] .m-field.is-active .m-caret { animation: none; }
html[data-motion="reduced"] .m-card,
html[data-motion="reduced"] .m-ticket,
html[data-motion="reduced"] .m-support__window { opacity: 1; transform: none; }
html[data-motion="reduced"] .m-chart__prev,
html[data-motion="reduced"] .m-chart__now,
html[data-motion="reduced"] .m-chart__fill,
html[data-motion="reduced"] .m-donut__ring { opacity: 1; }
html[data-motion="reduced"] .m-leader__bar span,
html[data-motion="reduced"] .m-progress span,
html[data-motion="reduced"] .m-meter__fill { transform: scaleX(var(--w, .7)); }
html[data-motion="reduced"] .m-bars span { transform: none; }
html[data-motion="reduced"] .m-live__lines .wf-block,
html[data-motion="reduced"] .m-sum__row { opacity: 1; transform: none; transition: none; }

/* Company content: the animated visual examples retain their original hooks. */
.m-copy-title,
.m-case-title {
  margin: 0 0 24px;
  font-size: clamp(30px, 3.6vw, 52px);
  line-height: 1.22;
  font-weight: 600;
  letter-spacing: -.055em;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.m-copy-title span { display: block; }
.m-copy-body {
  width: min(100%, 640px);
  margin: 0;
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 1.85;
  letter-spacing: -.025em;
  word-break: keep-all;
  overflow-wrap: anywhere;
  opacity: .75;
}
.m-eyebrow { color: #4c6425; font-size: 12px; font-weight: 600; letter-spacing: .04em; }
.m-demo-note {
  max-width: 620px;
  margin: 16px 0 0;
  font-size: 12px;
  line-height: 1.7;
  word-break: keep-all;
  opacity: .64;
}
.m-stage__copy > .m-copy-title { max-width: 960px; }
.m-lead .m-stage__copy { padding: 32px 16px; border-radius: 24px; background: rgba(244, 245, 242, .88); }
.m-engine__head .m-copy-title { font-size: clamp(28px, 3.3vw, 46px); margin-bottom: 16px; }
.m-engine__head .m-copy-body { margin-inline: auto; font-size: 15px; line-height: 1.7; }
.m-engine__head .m-eyebrow { justify-content: center; }
.m-engine__head .m-demo-note { margin: 10px auto 0; font-size: 11px; }
.m-engine__detail { display: block; font-size: 12px; line-height: 1.6; opacity: .6; margin-top: 5px; }
.m-engine__label > b { font-size: 15px; font-weight: 500; }
.m-case-title { font-size: clamp(28px, 2.9vw, 42px); }
.m-case__content .m-eyebrow { color: var(--accent); }
.m-case__content .m-copy-body { color: var(--paper); }
.m-mock-caption { font-size: 18px; color: var(--paper); font-weight: 500; }
.m-laptop__row > div { display: grid; place-items: center; padding: 12px; font-size: 13px; color: #dce0d6; }
.m-phone__actions .m-round { display: flex; align-items: center; justify-content: center; width: auto; min-width: 44px; height: 44px; padding: 0 12px; gap: 6px; border-radius: 99px; }
.m-phone__actions .m-round > span { font-size: 11px; white-space: nowrap; }
.m-phone__actions .m-round svg { width: 16px; height: 16px; flex-shrink: 0; }
.m-form__btn { font-size: 13px; }
.m-form__btn::before,
.m-sign__btn::before { display: none; }
.m-sign__note { font-size: 13px; line-height: 1.85; }
.m-sign .m-demo-note { margin: 0 0 16px; }
.m-review-check { display: grid; place-items: center; height: 100%; font-size: 48px; color: #4c6425; opacity: 0; }
.m-sign.is-signed .m-review-check { opacity: 1; }
.m-sign__blank .m-sign__stroke { background: #4c6425; }
@media (max-width: 900px) {
  .m-case__content .m-copy-body { margin-inline: auto; }
  .m-case__content .m-demo-note { align-self: center; }
  .m-engine__head .m-copy-title { font-size: 28px; margin-bottom: 12px; }
  .m-engine__head .m-copy-body { max-width: 600px; font-size: 13px; }
}
@media (max-width: 480px) {
  .m-copy-title { font-size: 30px; }
  .m-copy-body { font-size: 15px; }
  .m-engine__head .m-copy-title { font-size: 26px; }
  .m-engine__head .m-copy-body { font-size: 12px; line-height: 1.7; }
  .m-engine__head .m-demo-note { max-width: 290px; }
  .m-case__content { padding-inline: 20px; }
}
