/* dafna. — motion demo layer */
.mx-w, .mx-c { display: inline-block; will-change: transform; }
.mx-has-bg { position: relative; overflow: hidden; isolation: isolate; background-image: none !important; }
.mx-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; will-change: transform; }
.mx-has-bg > :not(.mx-bg) { z-index: 1; }

.mx-bar { position: fixed; z-index: 99999; left: 50%; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; width: max-content; max-width: calc(100vw - 24px); direction: rtl; font-family: inherit; }
.mx-tabs { display: flex; gap: 3px; padding: 5px; border-radius: 100px; background: #2b2926; box-shadow: 0 18px 40px -14px rgba(0, 0, 0, .45); }
.mx-tabs a { color: #d8d3ca; text-decoration: none; font-size: 14px; font-weight: 500; line-height: 1; padding: 11px 15px; border-radius: 100px; white-space: nowrap; transition: background .3s, color .3s; }
.mx-tabs a:hover { color: #fff; }
.mx-tabs a[aria-current="page"] { background: #f2f1ec; color: #2b2926; }
.mx-tabs a:focus-visible { outline: 2px solid #f2f1ec; outline-offset: 2px; }
.mx-note { max-width: 460px; padding: 9px 14px; border-radius: 12px; background: #fbfaf6; color: #2b2926; border: 1px solid rgba(43, 41, 38, .14); font-size: 13px; line-height: 1.45; text-align: center; transition: opacity .5s, transform .5s; }
.mx-note.is-hidden { opacity: 0; transform: translateY(8px); pointer-events: none; }
@media (max-width: 600px) { .mx-tabs a { padding: 10px 10px; font-size: 12.5px; } .mx-note { font-size: 12px; } }
html.mx-on, html.mx-on body { overflow-x: clip; }

/* ---------- story: process timeline ---------- */
.mx-proc { --ink: #2e2a24; --cream: #f2f1ec; --mute: #9a948a; --rule: #d9d4ca; background: #fbfaf6; padding: clamp(56px, 8vw, 110px) 20px; direction: rtl; font-family: Assistant, sans-serif; }
.mx-proc__in { max-width: 1140px; margin-inline: auto; }
.mx-proc__eyebrow { margin: 0 0 8px; text-align: center; font-size: 13px; letter-spacing: .14em; color: var(--mute); }
.mx-proc__title { margin: 0 0 clamp(40px, 6vw, 72px); text-align: center; font-size: clamp(26px, 3vw, 40px); font-weight: 300; color: var(--ink); line-height: 1.2; }
.mx-proc__title b { font-weight: 700; }
.mx-steps { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.mx-line { position: absolute; top: 28px; right: 12.5%; left: 12.5%; height: 2px; background: var(--rule); }
.mx-line__fill { position: absolute; inset: 0; background: var(--ink); transform-origin: right center; transform: scaleX(0); }
.mx-step { position: relative; text-align: center; padding-inline: 14px; }
.mx-num { position: relative; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 20px; border-radius: 50%; border: 2px solid var(--rule); background: #fbfaf6; color: var(--mute); font-size: 17px; font-weight: 700; letter-spacing: .04em; transition: background .45s, color .45s, border-color .45s, transform .45s cubic-bezier(.2, 1.4, .4, 1); }
.mx-step h3 { margin: 0 0 6px; font-size: 20px; font-weight: 700; color: var(--mute); transition: color .45s; }
.mx-step p { margin: 0 auto; max-width: 24ch; font-size: 15.5px; line-height: 1.55; color: var(--mute); transition: color .45s; }
.mx-step.is-on .mx-num, .is-done .mx-num { background: var(--ink); border-color: var(--ink); color: var(--cream); transform: scale(1.08); }
.mx-step.is-on h3, .is-done .mx-step h3 { color: var(--ink); }
.mx-step.is-on p, .is-done .mx-step p { color: #5c564c; }
.is-done .mx-line__fill { transform: none; }
.mx-proc__note { margin: 36px 0 0; text-align: center; font-size: 12px; color: var(--mute); }
@media (max-width: 767px) {
  .mx-steps { grid-template-columns: 1fr; gap: 34px; }
  .mx-line { top: 28px; bottom: auto; right: 27px; left: auto; width: 2px; height: calc(100% - 90px); }
  .mx-line__fill { transform-origin: center top; transform: scaleY(0); }
  .mx-step { text-align: right; display: grid; grid-template-columns: 56px 1fr; column-gap: 18px; padding: 0; }
  .mx-num { grid-row: span 2; margin: 0; }
  .mx-step h3 { align-self: end; margin-top: 4px; }
  .mx-step p { margin: 0; max-width: none; }
}

/* ---------- story: text that argues ---------- */
.mx-strike { position: relative; white-space: nowrap; }
.mx-strike::after { content: ""; position: absolute; right: -2px; left: -2px; top: 55%; height: 2px; background: currentColor; transform-origin: right center; transform: scaleX(var(--mx-s, 0)); }
.mx-under { font-weight: 700; background: linear-gradient(#2e2a24, #2e2a24) no-repeat right bottom / calc(var(--mx-u, 0) * 100%) 2px; padding-bottom: 2px; }
.mx-marker { background: linear-gradient(rgba(214, 196, 170, .7), rgba(214, 196, 170, .7)) no-repeat right 80% / calc(var(--mx-m, 0) * 100%) 45%; }
