/* self-hosted copies of the three Google families (latin and hebrew subsets) */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url(/fonts/Archivo-100_900-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Gveret Levin';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/GveretLevin-400-hebrew.woff2) format('woff2');
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
  font-family: 'Gveret Levin';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/GveretLevin-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Sans Hebrew';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/IBMPlexSansHebrew-400-hebrew.woff2) format('woff2');
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
  font-family: 'IBM Plex Sans Hebrew';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/IBMPlexSansHebrew-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Sans Hebrew';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/IBMPlexSansHebrew-500-hebrew.woff2) format('woff2');
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
  font-family: 'IBM Plex Sans Hebrew';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/IBMPlexSansHebrew-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Sans Hebrew';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/IBMPlexSansHebrew-600-hebrew.woff2) format('woff2');
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
  font-family: 'IBM Plex Sans Hebrew';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/IBMPlexSansHebrew-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(/fonts/BricolageGrotesque-200_800-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/fonts/Geist-100_900-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- cookie consent: a small sheet, reject as prominent as accept, nothing pre-ticked ---------- */
.ck { position: fixed; z-index: 60; inset-inline: 0; inset-block-end: 0; padding: 16px; display: flex; justify-content: flex-end; pointer-events: none; }
.ck[hidden] { display: none; }
.ck__box { pointer-events: auto; width: min(100%, 520px); padding: 20px 22px; border-radius: 22px; background: #fff; border: 1px solid rgb(32 36 33 / .16); box-shadow: 0 30px 60px -30px rgb(32 36 33 / .55); display: grid; gap: 12px; color: var(--p-ink); }
.ck__h { margin: 0; font: 600 19px/1.3 var(--font-display); font-stretch: normal; font-variation-settings: normal; outline: none; }
.ck__p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--p-muted); }
.ck__p a { color: var(--p-ink); text-decoration: underline; text-underline-offset: 3px; }
.ck__opts { display: grid; }
.ck__opts[hidden] { display: none; }
.ck__row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-block: 10px; border-block-start: 1px solid var(--line); }
.ck__row span { display: grid; gap: 2px; font-size: 15px; }
.ck__row small { color: var(--p-muted); font-size: 13.5px; }
.ck__row input { flex: none; width: 22px; height: 22px; accent-color: var(--p-ink); }
.ck__btns { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ck__btn { flex: 1 1 130px; min-height: 46px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--p-ink); background: var(--p-ink); color: #fff; font: 600 15px/1 var(--font-text); }
.ck__btn--save[hidden] { display: none; }
.ck__link { min-height: 44px; padding: 0 10px; border: 0; background: none; color: var(--p-ink); font: 500 15px/1 var(--font-text); text-decoration: underline; text-underline-offset: 4px; }
.ck__btn:active { transform: scale(.98); }
.footer__end { display: inline-flex; align-items: center; gap: 12px; }
.ck-open { min-height: 44px; padding: 0 4px; border: 0; background: none; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 639px) { .ck { padding: 10px; inset-block-end: calc(76px + env(safe-area-inset-bottom)); } .ck__box { padding: 16px; border-radius: 18px; } }

/* the brand name inside headings is drawn with the logo's own lettering, in the heading's colour; the word stays in the HTML as text */
.wm { display: inline-block; inline-size: 2.4em; block-size: 1.15em; vertical-align: -0.1em; margin-block: -0.15em; background-color: currentColor; -webkit-mask: url("/img/floeey-wordmark.webp") center / contain no-repeat; mask: url("/img/floeey-wordmark.webp") center / contain no-repeat; overflow: hidden; white-space: nowrap; text-indent: 200%; direction: ltr; }
@media (forced-colors: active) { .wm { -webkit-mask: none; mask: none; background: none; inline-size: auto; block-size: auto; text-indent: 0; } }

.footer__social { list-style: none; padding: 0; margin: 14px 0 0; display: flex; gap: 8px; }
.footer .footer__social a { display: grid; place-items: center; width: 44px; height: 44px; min-height: 0; padding: 0; margin: 0; border-radius: 50%; border: 1px solid rgb(32 36 33 / .2); color: var(--p-ink); transition: border-color 160ms ease, transform 140ms var(--ease-out); }
.footer .footer__social svg { display: block; margin: 0; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.footer__social a:active { transform: scale(.95); }
@media (hover: hover) and (pointer: fine) { .footer__social a:hover { border-color: var(--p-ink); } }

/* ---------- tokens ---------- */
      :root {
        --p-bg: #f9f9f9;
        --p-surface: #f2f1ed;
        --p-ink: #202421;
        --p-muted: #5f6260;
        --p-accent: #f25270;
        --p-action: #f25270;
        --p-action-ink: #111;
        --p-inv-ink: #f9f9f9;
        --p-inv-muted: #a9abaa;
        --line: rgb(32 36 33 / 0.12);
        --font-display:
          "Noto Sans Hebrew", "IBM Plex Sans Hebrew", system-ui, sans-serif;
        --font-text: "IBM Plex Sans Hebrew", system-ui, sans-serif;
        --font-mono: ui-monospace, Menlo, Consolas, monospace;
        --s-1: 4px;
        --s-2: 8px;
        --s-3: 12px;
        --s-4: 16px;
        --s-5: 24px;
        --s-6: 32px;
        --s-7: 48px;
        --s-8: 64px;
        --s-9: 96px;
        --t-small: 14.5px;
        --t-body: 17px;
        --t-lead: 20px;
        --r-md: 12px;
        --r-lg: 20px;
        --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
        --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
        --gutter: clamp(20px, 5.5vw, 80px);
      }
      *,
      *::before,
      *::after {
        box-sizing: border-box;
      }
      html {
        -webkit-text-size-adjust: 100%;
        scroll-behavior: smooth;
      }
      @media (prefers-reduced-motion: reduce) {
        html {
          scroll-behavior: auto;
        }
      }
      body {
        margin: 0;
        background: var(--p-bg);
        color: var(--p-ink);
        font: 400 var(--t-body)/1.6 var(--font-text);
        overflow-x: clip;
      }
      h1,
      h2,
      h3,
      p,
      ul,
      ol,
      dl,
      figure {
        margin: 0;
      }
      ul,
      ol {
        padding: 0;
        list-style: none;
      }
      img,
      svg,
      canvas {
        display: block;
        max-width: 100%;
      }
      a {
        color: inherit;
      }
      a,
      button,
      summary,
      label[for],
      [role="tab"] {
        cursor: pointer;
      }
      button:disabled {
        cursor: not-allowed;
      }
      :focus-visible {
        outline: 2px solid var(--p-ink);
        outline-offset: 3px;
        border-radius: 4px;
      }
      .ltr {
        direction: ltr;
        unicode-bidi: isolate;
      }
      .skip-link {
        position: fixed;
        inset-block-start: 8px;
        inset-inline-start: 8px;
        z-index: 100;
        padding: 10px 16px;
        background: var(--p-ink);
        color: #fff;
        border-radius: 8px;
        transform: translateY(-200%);
      }
      .skip-link:focus {
        transform: none;
      }

      /* ---------- type ---------- */
      h1,
      h2,
      .display {
        font-family: var(--font-display);
        font-weight: 800;
        font-stretch: 84%;
        font-variation-settings: "wdth" 84;
        line-height: 1;
        letter-spacing: 0;
        text-wrap: balance;
      }
      h1 {
        font-size: clamp(40px, 5.4vw, 80px);
      }
      h2 {
        font-size: clamp(32px, 4vw, 58px);
      }
      h3 {
        font: 600 var(--t-lead)/1.3 var(--font-text);
      }
      .muted {
        color: var(--p-muted);
      }
      h2 .muted {
        color: color-mix(in oklab, var(--p-ink) 46%, var(--p-bg));
      }
      p {
        text-wrap: pretty;
      }

      /* ---------- layout ---------- */
      .wrap {
        width: min(100% - 2 * var(--gutter), 1280px);
        margin-inline: auto;
        position: relative;
        z-index: 2;
      }
      .section {
        position: relative;
        padding-block: clamp(72px, 11vh, 132px);
      }
      .grid {
        display: grid;
        grid-template-columns: repeat(12, minmax(0, 1fr));
        gap: var(--s-5);
      }
      .span-4 {
        grid-column: span 4;
      }
      .span-5 {
        grid-column: span 5;
      }
      .span-6 {
        grid-column: span 6;
      }
      .span-7 {
        grid-column: span 7;
      }
      .start-7 {
        grid-column-start: 7;
      }
      @media (max-width: 1023px) {
        .grid > [class*="span-"] {
          grid-column: 1 / -1;
        }
      }
      .section-head {
        display: grid;
        gap: var(--s-4);
        max-width: 880px;
      }
      .section-head p {
        font-size: var(--t-lead);
        line-height: 1.5;
        max-width: 56ch;
      }
      .section-head--row {
        max-width: none;
        display: flex;
        align-items: end;
        justify-content: space-between;
        gap: var(--s-5);
        flex-wrap: wrap;
      }
      .section--ink {
        background: var(--p-ink);
        color: var(--p-inv-ink);
      }
      .section--ink h2 .muted {
        color: var(--p-inv-muted);
      }

      /* ---------- buttons and links ---------- */
      .btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        min-height: 48px;
        padding: 0 22px;
        border-radius: 12px;
        border: 1px solid transparent;
        font: 600 16px/1 var(--font-text);
        text-decoration: none;
        white-space: nowrap;
        transition:
          transform 140ms var(--ease-out),
          background-color 160ms ease,
          box-shadow 160ms ease;
        -webkit-tap-highlight-color: transparent;
      }
      .btn:active {
        transform: scale(0.97);
      }
      .btn--primary {
        background: var(--p-action);
        color: var(--p-action-ink);
        box-shadow: 0 10px 24px -14px rgb(242 82 112 / 0.9);
      }
      .btn--secondary {
        background: #fff;
        color: var(--p-ink);
        border-color: rgb(32 36 33 / 0.18);
      }
      @media (hover: hover) and (pointer: fine) {
        .btn--primary:hover {
          background: #f4637e;
        }
        .btn--secondary:hover {
          border-color: var(--p-ink);
        }
      }
      .btn-row {
        display: flex;
        flex-wrap: wrap;
        gap: var(--s-3);
        align-items: center;
      }
      .link {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        min-height: 44px;
        font-weight: 600;
        color: inherit;
        text-decoration: underline;
        text-decoration-color: color-mix(
          in oklab,
          currentColor 30%,
          transparent
        );
        text-underline-offset: 5px;
        transition: text-decoration-color 160ms ease;
      }
      .link::after {
        content: "\2190";
        transition: transform 180ms var(--ease-out);
      }
      @media (hover: hover) and (pointer: fine) {
        .link:hover {
          text-decoration-color: currentColor;
        }
        .link:hover::after {
          transform: translateX(-4px);
        }
      }

      /* ---------- the wave cut: the wave that cuts the wordmark also cuts the headings ---------- */
      .cut {
        position: relative;
        display: inline-block;
        --c: 150%;
      }
      .cut__a,
      .cut__b {
        display: block;
      }
      .cut__b {
        position: absolute;
        inset: 0;
        pointer-events: none;
        translate: 5px 6px;
      }
      .cut.is-cut .cut__a {
        clip-path: polygon(
          0 0,
          100% 0,
          100% calc(var(--c) - 9%),
          86% calc(var(--c) - 2%),
          72% calc(var(--c) - 10%),
          58% calc(var(--c) + 1%),
          44% calc(var(--c) - 6%),
          30% calc(var(--c) + 4%),
          16% calc(var(--c) - 3%),
          0 calc(var(--c) + 6%)
        );
      }
      .cut.is-cut .cut__b {
        clip-path: polygon(
          100% calc(var(--c) - 4%),
          86% calc(var(--c) + 3%),
          72% calc(var(--c) - 5%),
          58% calc(var(--c) + 6%),
          44% calc(var(--c) - 1%),
          30% calc(var(--c) + 9%),
          16% calc(var(--c) + 2%),
          0 calc(var(--c) + 11%),
          0 100%,
          100% 100%
        );
      }
      .cut:not(.is-cut) .cut__b {
        display: none;
      }

      /* ---------- water ---------- */
      .flow-gl {
        position: fixed;
        inset: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
        pointer-events: none;
      }
      .flow-still {
        position: fixed;
        inset: 0;
        z-index: 1;
        pointer-events: none;
        display: none;
        background:
          radial-gradient(
            40% 50% at 82% 20%,
            rgb(242 82 112 / 0.28),
            transparent 70%
          ),
          radial-gradient(
            40% 50% at 16% 70%,
            rgb(121 221 211 / 0.35),
            transparent 70%
          ),
          radial-gradient(
            36% 44% at 70% 92%,
            rgb(244 182 109 / 0.3),
            transparent 70%
          );
      }
      main {
        position: relative;
      }

      /* ---------- nav: a full bar at the top, a floating pill once the page moves ---------- */
      .nav {
        position: fixed;
        inset-inline: 0;
        inset-block-start: 0;
        z-index: 50;
        padding: 14px var(--gutter);
        transition: padding 320ms var(--ease-out);
      }
      .nav__bar {
        display: flex;
        align-items: center;
        gap: var(--s-5);
        margin-inline: auto;
        max-width: 1280px;
        min-height: 60px;
        padding: 0 6px;
        border-radius: 999px;
        border: 1px solid transparent;
        background: transparent;
        transition:
          max-width 420ms var(--ease-out),
          background-color 240ms ease,
          box-shadow 240ms ease,
          border-color 240ms ease,
          padding 320ms var(--ease-out);
      }
      .nav.is-pill .nav__bar {
        max-width: 900px;
        padding: 0 10px 0 18px;
        background: rgb(255 255 255 / 0.82);
        border-color: rgb(32 36 33 / 0.08);
        box-shadow: 0 18px 44px -26px rgb(32 36 33 / 0.5);
        -webkit-backdrop-filter: blur(16px) saturate(1.3);
        backdrop-filter: blur(16px) saturate(1.3);
      }
      .nav__logo img {
        height: 30px;
        width: auto;
        transition: height 320ms var(--ease-out);
      }
      .nav.is-pill .nav__logo img {
        height: 24px;
      }
      .nav__links {
        display: flex;
        gap: 4px;
        margin-inline: auto;
      }
      .nav__links a {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
        padding: 0 14px;
        border-radius: 999px;
        font-weight: 500;
        font-size: 16px;
        text-decoration: none;
        transition: background-color 160ms ease;
      }
      @media (hover: hover) and (pointer: fine) {
        .nav__links a:hover {
          background: rgb(32 36 33 / 0.07);
        }
      }
      .nav .btn {
        min-height: 44px;
        padding: 0 18px;
        font-size: 15px;
      }
      .lang {
        position: fixed;
        inset-block-start: 22px;
        inset-inline-end: 18px;
        z-index: 51;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        min-height: 44px;
        padding: 0 12px 0 14px;
        border-radius: 999px;
        background: rgb(255 255 255 / 0.82);
        border: 1px solid rgb(32 36 33 / 0.1);
        font: 600 13px/1 var(--font-text);
        letter-spacing: 0.04em;
        text-decoration: none;
        -webkit-backdrop-filter: blur(12px);
        backdrop-filter: blur(12px);
        transition:
          transform 140ms var(--ease-out),
          border-color 160ms ease;
      }
      .lang svg {
        width: 22px;
        height: 16px;
        border-radius: 3px;
        box-shadow: 0 0 0 1px rgb(0 0 0 / 0.08);
      }
      .lang:active {
        transform: scale(0.97);
      }
      @media (hover: hover) and (pointer: fine) {
        .lang:hover {
          border-color: var(--p-ink);
        }
      }
      @media (min-width: 1024px) {
        .nav {
          padding-inline: calc(var(--gutter) + 56px) var(--gutter);
        }
      }
      @media (max-width: 1023px) {
        .nav__links {
          display: none;
        }
        .nav__bar {
          justify-content: space-between;
        }
      }

      /* ---------- hero ---------- */
      .hero {
        padding-block: clamp(120px, 18vh, 168px) var(--s-7);
      }
      .hero__grid {
        display: grid;
        grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
        gap: clamp(28px, 4vw, 72px);
        align-items: center;
      }
      .hero__text {
        display: grid;
        gap: var(--s-5);
        justify-items: start;
      }
      .hero__lead {
        font-size: clamp(18px, 1.5vw, 21px);
        line-height: 1.5;
        max-width: 34em;
      }
      .hero__proof {
        font-size: var(--t-small);
        color: var(--p-muted);
      }
      /* the map: a demo business's process as it is today, with a stamp on every step that runs on luck */
      .map {
        position: relative;
        padding: clamp(18px, 2vw, 28px);
        border-radius: 24px;
        background: rgb(255 255 255 / 0.78);
        border: 1px solid rgb(32 36 33 / 0.08);
        box-shadow: 0 40px 90px -50px rgb(32 36 33 / 0.55);
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
      }
      .map__top {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: var(--s-4);
        margin-bottom: var(--s-5);
      }
      .map__title {
        font: 600 15px/1.2 var(--font-text);
      }
      .map__title small {
        display: block;
        font-weight: 400;
        color: var(--p-muted);
        font-size: 13px;
      }
      .seg {
        display: inline-grid;
        grid-auto-flow: column;
        padding: 4px;
        border-radius: 999px;
        background: var(--p-surface);
        position: relative;
      }
      .seg button {
        position: relative;
        z-index: 1;
        min-height: 40px;
        padding: 0 16px;
        border: 0;
        border-radius: 999px;
        background: none;
        font: 600 14px/1 var(--font-text);
        color: var(--p-muted);
        transition: color 180ms ease;
      }
      .seg button[aria-pressed="true"] {
        color: var(--p-ink);
      }
      .seg::before {
        content: "";
        position: absolute;
        inset-block: 4px;
        inset-inline-start: 4px;
        width: calc(50% - 4px);
        border-radius: 999px;
        background: #fff;
        box-shadow: 0 2px 8px rgb(32 36 33 / 0.14);
        transition: translate 260ms var(--ease-out);
      }
      .map[data-state="after"] .seg::before {
        translate: -100% 0;
      }
      .map__steps {
        display: grid;
        gap: 10px;
        position: relative;
      }
      .map__steps::before {
        content: "";
        position: absolute;
        inset-block: 26px;
        inset-inline-start: 25px;
        width: 2px;
        background: repeating-linear-gradient(
          to bottom,
          rgb(32 36 33 / 0.28) 0 6px,
          transparent 6px 12px
        );
        transition: opacity 260ms ease;
      }
      .map__steps::after {
        content: "";
        position: absolute;
        inset-block: 26px;
        inset-inline-start: 24px;
        width: 4px;
        border-radius: 4px;
        background: linear-gradient(
          to bottom,
          #f25270,
          #f4b66d,
          #79ddd3,
          #55a8dd
        );
        opacity: 0;
        transition: opacity 320ms ease;
      }
      .map[data-state="after"] .map__steps::before {
        opacity: 0;
      }
      .map[data-state="after"] .map__steps::after {
        opacity: 1;
      }
      .step {
        position: relative;
        display: grid;
        grid-template-columns: 52px minmax(0, 1fr);
        align-items: center;
        min-height: 58px;
        padding: 8px 14px 8px 0;
        border-radius: 14px;
        background: #fff;
        border: 1px solid rgb(32 36 33 / 0.08);
      }
      .step__dot {
        justify-self: center;
        width: 14px;
        height: 14px;
        border-radius: 50%;
        background: #fff;
        border: 2px solid rgb(32 36 33 / 0.5);
        position: relative;
        z-index: 1;
        transition:
          background-color 260ms ease,
          border-color 260ms ease;
      }
      .map[data-state="after"] .step__dot {
        background: var(--p-ink);
        border-color: var(--p-ink);
      }
      .step__txt {
        display: grid;
      }
      .step__txt > span {
        grid-area: 1 / 1;
        transition:
          opacity 240ms ease,
          translate 260ms var(--ease-out);
      }
      .step__now b,
      .step__then b {
        display: block;
        font-weight: 600;
        font-size: 16px;
      }
      .step__now small,
      .step__then small {
        color: var(--p-muted);
        font-size: 13.5px;
      }
      .step__then {
        opacity: 0;
        translate: 0 6px;
      }
      .map[data-state="after"] .step__then {
        opacity: 1;
        translate: 0 0;
      }
      .map[data-state="after"] .step--luck .step__now {
        opacity: 0;
        translate: 0 -6px;
      }
      .step:not(.step--luck) .step__then {
        display: none;
      }
      .stamp {
        position: absolute;
        inset-inline-end: 14px;
        inset-block-start: 50%;
        translate: 0 -50%;
        rotate: -8deg;
        padding: 4px 12px 5px;
        border: 2.5px solid var(--p-accent);
        border-radius: 8px;
        color: var(--p-accent);
        font: 800 20px/1 var(--font-display);
        font-stretch: 84%;
        font-variation-settings: "wdth" 84;
        letter-spacing: 0.02em;
        background: rgb(255 255 255 / 0.6);
        transition:
          opacity 200ms ease,
          scale 240ms var(--ease-out);
      }
      .step:nth-child(3) .stamp {
        rotate: 6deg;
      }
      .step:nth-child(5) .stamp {
        rotate: -4deg;
      }
      .map[data-state="after"] .stamp {
        opacity: 0;
        scale: 0.9;
      }
      .map__foot {
        display: flex;
        justify-content: space-between;
        align-items: baseline;
        gap: var(--s-4);
        margin-top: var(--s-4);
        font-size: var(--t-small);
        color: var(--p-muted);
      }
      .map__count {
        font: 800 22px/1 var(--font-display);
        color: var(--p-ink);
        font-variant-numeric: tabular-nums;
      }
      @media (max-width: 1023px) {
        .hero__grid {
          grid-template-columns: 1fr;
        }
      }
      @media (max-width: 639px) {
        .hero {
          padding-block-start: 104px;
        }
        .hero .btn {
          flex: 1 1 100%;
        }
      }

      /* ---------- clients: equal tiles, two rows drifting opposite ways ---------- */
      .clients {
        padding-block: var(--s-6) var(--s-8);
      }
      .clients__head {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: baseline;
        gap: var(--s-3) var(--s-6);
        margin-bottom: var(--s-5);
        font-size: var(--t-small);
      }
      .clients__head b {
        font-weight: 600;
      }
      .mq {
        position: relative;
        z-index: 2;
        display: grid;
        gap: 12px;
        overflow: hidden;
        -webkit-mask-image: linear-gradient(
          to right,
          transparent,
          #000 8%,
          #000 92%,
          transparent
        );
        mask-image: linear-gradient(
          to right,
          transparent,
          #000 8%,
          #000 92%,
          transparent
        );
      }
      .mq__row {
        display: flex;
        gap: 12px;
        width: max-content;
      }
      .mq__set {
        display: flex;
        gap: 12px;
      }
      .tile {
        flex: none;
        display: grid;
        place-items: center;
        width: 184px;
        height: 84px;
        border-radius: 16px;
        background: #fff;
        border: 1px solid rgb(32 36 33 / 0.07);
      }
      .tile img {
        height: auto;
      }
      .tile span {
        font: 800 19px/1.1 var(--font-display);
        font-stretch: 84%;
        font-variation-settings: "wdth" 84;
        text-align: center;
        padding: 0 12px;
      }
      @media (prefers-reduced-motion: no-preference) {
        .mq__row {
          animation: mq 46s linear infinite;
        }
        .mq__row--b {
          animation-direction: reverse;
          animation-duration: 54s;
        }
        .mq:hover .mq__row,
        .mq.is-paused .mq__row {
          animation-play-state: paused;
        }
      }
      @keyframes mq {
        from {
          transform: translateX(0);
        }
        to {
          transform: translateX(50%);
        }
      }
      @media (prefers-reduced-motion: reduce) {
        .mq {
          -webkit-mask-image: none;
          mask-image: none;
        }
        .mq__row {
          width: auto;
          flex-wrap: wrap;
        }
        .mq__set[aria-hidden="true"] {
          display: none;
        }
        .mq__set {
          flex-wrap: wrap;
        }
        .mq-pause {
          display: none;
        }
      }
      .mq-pause {
        margin-top: var(--s-3);
        min-height: 44px;
        padding: 0 14px;
        border-radius: 999px;
        border: 1px solid rgb(32 36 33 / 0.16);
        background: #fff;
        font: 500 13.5px/1 var(--font-text);
        position: relative;
        z-index: 2;
      }

      /* ---------- stance: the one colour field ---------- */
      .stance {
        background: var(--p-accent);
        color: #1a1c1a;
        padding-block: clamp(96px, 20vh, 200px);
      }
      .stance__lede {
        font: 500 clamp(20px, 2.1vw, 30px)/1.35 var(--font-text);
        max-width: 26em;
        margin-bottom: var(--s-6);
      }
      .stance__lede .w {
        color: color-mix(in oklab, #1a1c1a 42%, var(--p-accent));
        transition: color 200ms ease;
      }
      .stance__lede .w.is-on {
        color: #1a1c1a;
      }
      .stance h2 {
        font-size: clamp(52px, 9.4vw, 148px);
        line-height: 0.92;
      }

      /* ---------- example: one WhatsApp message, followed ---------- */
      .trail {
        position: relative;
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: var(--s-5);
        margin-top: var(--s-8);
      }
      .trail svg {
        position: absolute;
        inset-inline: 0;
        inset-block-start: 22px;
        width: 100%;
        height: 40px;
        overflow: visible;
      }
      .trail path {
        fill: none;
        stroke: var(--p-ink);
        stroke-width: 2.5;
        stroke-linecap: round;
        stroke-dasharray: 1;
        stroke-dashoffset: 1;
        transition: stroke-dashoffset 1400ms var(--ease-in-out);
      }
      .trail.is-in path {
        stroke-dashoffset: 0;
      }
      .trail li {
        position: relative;
        display: grid;
        gap: var(--s-3);
        padding-top: 72px;
        opacity: 0.25;
        translate: 0 10px;
        transition:
          opacity 420ms ease,
          translate 520ms var(--ease-out);
      }
      .trail.is-in li {
        opacity: 1;
        translate: 0 0;
      }
      .trail.is-in li:nth-child(2) {
        transition-delay: 260ms;
      }
      .trail.is-in li:nth-child(3) {
        transition-delay: 560ms;
      }
      .trail.is-in li:nth-child(4) {
        transition-delay: 880ms;
      }
      .trail.is-in li:nth-child(5) {
        transition-delay: 1180ms;
      }
      .trail li::before {
        content: "";
        position: absolute;
        inset-block-start: 30px;
        inset-inline-start: 0;
        width: 18px;
        height: 18px;
        border-radius: 50%;
        background: var(--p-bg);
        border: 3px solid var(--p-ink);
      }
      .trail li:last-child::before {
        background: var(--p-accent);
        border-color: var(--p-accent);
      }
      .trail time {
        font: 500 13px/1 var(--font-mono);
        color: var(--p-muted);
        direction: ltr;
        justify-self: start;
      }
      .trail b {
        font: 600 19px/1.25 var(--font-text);
      }
      .trail p {
        color: var(--p-muted);
        font-size: 15.5px;
      }
      .bubble {
        justify-self: start;
        max-width: 100%;
        padding: 10px 14px;
        border-radius: 16px 16px 16px 4px;
        background: #fff;
        border: 1px solid rgb(32 36 33 / 0.09);
        font-size: 15px;
        line-height: 1.4;
        box-shadow: 0 10px 24px -18px rgb(32 36 33 / 0.5);
      }
      .bubble--bot {
        background: #e7f6ee;
        border-color: transparent;
        border-radius: 16px 16px 4px 16px;
      }
      @media (prefers-reduced-motion: reduce) {
        .trail path {
          stroke-dashoffset: 0;
          transition: none;
        }
        .trail li {
          opacity: 1;
          translate: none;
          transition: none;
        }
      }
      @media (max-width: 1023px) {
        .trail {
          grid-template-columns: 1fr;
          gap: var(--s-6);
        }
        .trail svg {
          display: none;
        }
        .trail li {
          padding-top: 0;
          padding-inline-start: 34px;
        }
        .trail li::before {
          inset-block-start: 2px;
        }
      }

      /* ---------- how: from a tangle to a line ---------- */
      .how__stage {
        position: relative;
        margin-top: var(--s-7);
      }
      .how__svg {
        width: 100%;
        height: auto;
        overflow: visible;
      }
      .how__svg path {
        fill: none;
        stroke-linecap: round;
        stroke-linejoin: round;
      }
      .tangle {
        stroke: rgb(32 36 33 / 0.55);
        stroke-width: 2.5;
        stroke-dasharray: 1;
        stroke-dashoffset: 0;
        transition:
          stroke-dashoffset 1500ms var(--ease-in-out),
          opacity 700ms ease 900ms;
      }
      .straight {
        stroke: url(#how-g);
        stroke-width: 6;
        stroke-dasharray: 1;
        stroke-dashoffset: 1;
        transition: stroke-dashoffset 1700ms var(--ease-in-out) 500ms;
      }
      .how.is-in .tangle {
        stroke-dashoffset: -1;
        opacity: 0.12;
      }
      .how.is-in .straight {
        stroke-dashoffset: 0;
      }
      .how__steps {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: var(--s-5);
        margin-top: var(--s-5);
      }
      .how__steps li {
        display: grid;
        gap: 6px;
        align-content: start;
        padding-top: var(--s-4);
        border-top: 3px solid var(--p-ink);
        opacity: 0.2;
        translate: 0 12px;
        transition:
          opacity 420ms ease,
          translate 520ms var(--ease-out);
      }
      .how.is-in .how__steps li {
        opacity: 1;
        translate: 0 0;
      }
      .how.is-in .how__steps li:nth-child(1) {
        transition-delay: 700ms;
      }
      .how.is-in .how__steps li:nth-child(2) {
        transition-delay: 1050ms;
      }
      .how.is-in .how__steps li:nth-child(3) {
        transition-delay: 1400ms;
      }
      .how.is-in .how__steps li:nth-child(4) {
        transition-delay: 1750ms;
      }
      .how__steps b {
        font: 800 clamp(26px, 2.6vw, 38px)/1 var(--font-display);
        font-stretch: 84%;
        font-variation-settings: "wdth" 84;
      }
      .how__steps p {
        font-size: 16px;
      }
      .how__steps small {
        margin-top: 6px;
        font-size: 14px;
        color: var(--p-muted);
      }
      .how__steps small b {
        font: 600 14px/1.4 var(--font-text);
        color: var(--p-ink);
      }
      @media (prefers-reduced-motion: reduce) {
        .tangle {
          opacity: 0.12;
          transition: none;
        }
        .straight {
          stroke-dashoffset: 0;
          transition: none;
        }
        .how__steps li {
          opacity: 1;
          translate: none;
          transition: none;
        }
      }
      @media (max-width: 1023px) {
        .how__steps {
          grid-template-columns: 1fr 1fr;
        }
      }
      @media (max-width: 639px) {
        .how__steps {
          grid-template-columns: 1fr;
        }
      }

      /* ---------- menachem (dark band) ---------- */
      .mn-visual {
        position: relative;
        min-height: 600px;
        border-radius: var(--r-lg);
        background: rgb(255 255 255 / 0.06);
        overflow: hidden;
      }
      .mn-visual picture img {
        position: absolute;
        inset-block-end: -2%;
        inset-inline-end: 0;
        width: min(78%, 500px);
        height: auto;
      }
      .mn-visual .mn-call {
        position: absolute;
        inset-inline-start: var(--s-6);
        inset-block-start: var(--s-6);
        width: 280px;
        --u-bg: #1b1e1c;
        --u-ink: #f9f9f9;
      }
      .mn-pause {
        position: absolute;
        inset-inline-end: var(--s-4);
        inset-block-end: var(--s-4);
        z-index: 3;
        min-height: 44px;
        padding: 0 var(--s-4);
        border-radius: 999px;
        border: 1px solid rgb(255 255 255 / 0.28);
        background: rgb(0 0 0 / 0.35);
        color: #f9f9f9;
        font: 500 var(--t-small)/1 var(--font-text);
      }
      @media (prefers-reduced-motion: reduce) {
        .mn-pause {
          display: none;
        }
      }
      @media (max-width: 1023px) {
        .mn-visual {
          min-height: 420px;
        }
      }
      @media (max-width: 639px) {
        .mn-visual .mn-call {
          width: 210px;
          inset-inline-start: var(--s-4);
          inset-block-start: var(--s-4);
        }
      }
      .field__error {
        margin: 0;
      }

      /* ---------- tools: an index, not a hub ---------- */
      .idx {
        margin-top: var(--s-7);
        border-top: 3px solid var(--p-ink);
      }
      .idx__row {
        display: grid;
        grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
        gap: var(--s-5);
        padding: var(--s-4) 0;
        border-bottom: 1px solid var(--line);
        align-items: baseline;
      }
      .idx__row dt {
        font: 600 15px/1.3 var(--font-text);
        color: var(--p-muted);
      }
      .idx__row dd {
        margin: 0;
        font: 800 clamp(20px, 2.3vw, 32px)/1.25 var(--font-display);
        font-stretch: 84%;
        font-variation-settings: "wdth" 84;
      }
      .idx__row dd span {
        white-space: nowrap;
      }
      .idx__row dd i {
        font-style: normal;
        color: color-mix(in oklab, var(--p-ink) 28%, var(--p-bg));
        padding-inline: 0.35em;
      }
      .idx__note {
        margin-top: var(--s-5);
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: var(--s-4);
        align-items: center;
      }
      @media (max-width: 639px) {
        .idx__row {
          grid-template-columns: 1fr;
          gap: 4px;
        }
      }

      /* ---------- faq: filter pills and an accordion ---------- */
      .pills {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin-top: var(--s-6);
      }
      .pill {
        min-height: 44px;
        padding: 0 18px;
        border-radius: 999px;
        border: 1px solid rgb(32 36 33 / 0.18);
        background: #fff;
        font: 500 15px/1 var(--font-text);
        color: var(--p-ink);
        transition:
          background-color 160ms ease,
          color 160ms ease,
          transform 140ms var(--ease-out);
      }
      .pill[aria-pressed="true"] {
        background: var(--p-ink);
        color: #fff;
        border-color: var(--p-ink);
      }
      .pill:active {
        transform: scale(0.97);
      }
      .faq {
        margin-top: var(--s-5);
        border-top: 3px solid var(--p-ink);
      }
      .faq__item {
        border-bottom: 1px solid var(--line);
      }
      .faq__item[hidden] {
        display: none;
      }
      .faq__q {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: var(--s-5);
        width: 100%;
        min-height: 72px;
        padding: var(--s-4) 0;
        border: 0;
        background: none;
        text-align: start;
        color: inherit;
        font: 600 clamp(18px, 1.6vw, 22px)/1.3 var(--font-text);
      }
      .faq__q i {
        flex: none;
        position: relative;
        width: 22px;
        height: 22px;
      }
      .faq__q i::before,
      .faq__q i::after {
        content: "";
        position: absolute;
        inset-block-start: 10px;
        inset-inline: 2px;
        height: 2.5px;
        border-radius: 2px;
        background: currentColor;
        transition:
          rotate 220ms var(--ease-out),
          opacity 160ms ease;
      }
      .faq__q i::after {
        rotate: 90deg;
      }
      .faq__q[aria-expanded="true"] i::after {
        rotate: 0deg;
        opacity: 0;
      }
      .faq__a {
        display: grid;
        grid-template-rows: 0fr;
        transition: grid-template-rows 280ms var(--ease-out);
      }
      .faq__q[aria-expanded="true"] + .faq__a {
        grid-template-rows: 1fr;
      }
      .faq__a > div {
        overflow: hidden;
      }
      .faq__a p {
        padding-bottom: var(--s-5);
        max-width: 62ch;
        font-size: 17.5px;
      }
      @media (prefers-reduced-motion: reduce) {
        .faq__a {
          transition: none;
        }
      }

      /* ---------- close and footer ---------- */
      .close {
        padding-block: clamp(96px, 16vh, 180px) var(--s-8);
      }
      .close h2 {
        font-size: clamp(40px, 6.4vw, 104px);
        max-width: 12em;
      }
      .close p {
        font-size: var(--t-lead);
        max-width: 34em;
        margin-block: var(--s-5) var(--s-6);
      }
      .footer {
        position: relative;
        z-index: 2;
        padding-block: var(--s-7) var(--s-6);
        border-top: 1px solid var(--line);
      }
      .footer__grid {
        display: grid;
        grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 2fr));
        gap: var(--s-6);
      }
      .footer__brand {
        display: flex;
        align-items: baseline;
        flex-wrap: wrap;
        gap: 10px;
        direction: ltr;
        justify-content: flex-end;
      }
      .footer__brand img {
        height: 34px;
        width: auto;
        align-self: center;
      }
      .footer__brand span {
        font: 800 24px/1 var(--font-display);
        font-stretch: 84%;
        font-variation-settings: "wdth" 84;
      }
      .footer address {
        display: grid;
        gap: 2px;
        margin-top: var(--s-4);
        font-style: normal;
        color: var(--p-muted);
        font-size: var(--t-small);
      }
      .footer address a {
        text-decoration: none;
        min-height: 28px;
        display: inline-flex;
        align-items: center;
        justify-self: start;
      }
      .footer h3 {
        font: 500 var(--t-small)/1 var(--font-text);
        color: var(--p-muted);
        margin-bottom: var(--s-3);
      }
      .footer li a {
        display: inline-flex;
        align-items: center;
        min-height: 40px;
        text-decoration: none;
      }
      @media (hover: hover) and (pointer: fine) {
        .footer li a:hover,
        .footer address a:hover {
          text-decoration: underline;
          text-underline-offset: 4px;
        }
      }
      .footer__legal {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: var(--s-3);
        margin-top: var(--s-6);
        padding-top: var(--s-4);
        border-top: 1px solid var(--line);
        color: var(--p-muted);
        font-size: 13.5px;
      }
      @media (max-width: 1023px) {
        .footer__grid {
          grid-template-columns: 1fr 1fr;
        }
        .footer__grid > :first-child {
          grid-column: 1 / -1;
        }
      }

      /* ---------- the request: one customer request rides the water down the page ---------- */
      .req {
        position: fixed;
        inset-block-start: 0;
        inset-inline-start: 0;
        z-index: 1;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 8px 14px 8px 12px;
        border-radius: 999px;
        background: rgb(255 255 255 / 0.9);
        border: 1px solid rgb(32 36 33 / 0.1);
        box-shadow: 0 14px 30px -18px rgb(32 36 33 / 0.6);
        font: 600 13.5px/1 var(--font-text);
        white-space: nowrap;
        pointer-events: none;
        will-change: transform;
        opacity: 0;
        transition: opacity 300ms ease;
      }
      .req.is-on {
        opacity: 1;
      }
      .req i {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: var(--p-accent);
        transition: background-color 240ms ease;
      }
      .req[data-s="stuck"] i {
        background: #f4b66d;
      }
      .req[data-s="done"] i {
        background: #609e7b;
      }
      .req[data-s="stuck"] span {
        animation: req-shake 1.1s ease-in-out infinite;
      }
      @keyframes req-shake {
        0%,
        100% {
          translate: 0 0;
        }
        20% {
          translate: -2px 0;
        }
        40% {
          translate: 2px 0;
        }
        60% {
          translate: -1px 0;
        }
        80% {
          translate: 1px 0;
        }
      }
      @media (prefers-reduced-motion: reduce), (max-width: 639px) {
        .req {
          display: none;
        }
      }
      .build-stamp {
        font: 400 12px/1 var(--font-mono);
        color: var(--p-muted);
        direction: ltr;
      }

/* ---------- team: a drifting row of small memoji; hover or focus swaps the expression and opens the card ---------- */
.team { padding-bottom: clamp(72px, 10vh, 120px); }
.tmq { position: relative; z-index: 2; margin-top: var(--s-8); padding-block: 150px var(--s-4); margin-block-start: -70px; overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent); }
.tmq__row { display: flex; width: max-content; } .tmq__set { display: flex; }
.tm { position: relative; flex: none; width: 100px; margin-inline: 58px; outline: none; }
.tm__face { position: relative; display: block; width: 100px; height: 100px; border-radius: 50%; overflow: hidden; transition: transform 240ms var(--ease-out); }
.tm__face img { position: absolute; inset: 6% 6% 0 6%; width: 88%; height: auto; transition: opacity 140ms ease; } .tm__face .tm__alt { opacity: 0; }
.tm__card { position: absolute; inset-block-end: calc(100% + 14px); inset-inline-start: 50%; translate: 50% 6px; width: 230px; display: grid; gap: 4px; padding: 14px 16px; border-radius: 14px; background: var(--p-ink); color: #f9f9f9; font-size: 14px; line-height: 1.4; opacity: 0; pointer-events: none; transition: opacity 160ms ease, translate 220ms var(--ease-out); transform-origin: 50% 100%; }
.tm__card small { font-size: 12px; color: #a9abaa; } .tm__card b { font: 800 19px/1.1 var(--font-display); font-stretch: 84%; font-variation-settings: "wdth" 84; }
.tm:focus-visible .tm__face { outline: 2px solid var(--p-ink); outline-offset: 4px; }
.tm:focus-visible .tm__card, .tm.is-open .tm__card { opacity: 1; translate: 50% 0; } .tm:focus-visible .tm__alt, .tm.is-open .tm__alt { opacity: 1; } .tm:focus-visible img:not(.tm__alt), .tm.is-open img:not(.tm__alt) { opacity: 0; }
@media (hover: hover) and (pointer: fine) { .tm:hover .tm__face { transform: scale(1.12); } .tm:hover .tm__card { opacity: 1; translate: 50% 0; } .tm:hover .tm__alt { opacity: 1; } .tm:hover img:not(.tm__alt) { opacity: 0; } }
@media (prefers-reduced-motion: no-preference) { .tmq__row { animation: mq 38s linear infinite; } .tmq:hover .tmq__row, .tmq:focus-within .tmq__row, .tmq.is-paused .tmq__row { animation-play-state: paused; } }
@media (prefers-reduced-motion: reduce) { .tmq { -webkit-mask-image: none; mask-image: none; } .tmq__row { width: auto; justify-content: center; } .tmq__set[aria-hidden="true"] { display: none; } .tm__face { transition: none; } }
@media (max-width: 639px) { .tm { margin-inline: 34px; width: 84px; } .tm__face { width: 84px; height: 84px; } .tm__card { width: 200px; } }

/* ---------- stance: sits above the water, with the mess drawn beside the words ---------- */
.stance { z-index: 2; overflow: hidden; }
.stance .wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s-7); align-items: center; }
.stance .wrap > h2 { grid-column: 1 / -1; }
.mess { position: relative; min-height: 300px; }
.mess svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.mess path { fill: none; stroke: #1a1c1a; stroke-width: 2; stroke-dasharray: 5 7; stroke-linecap: round; opacity: .7; }
.mess span { position: absolute; padding: 8px 14px; border-radius: 10px; background: #fff; border: 2px solid #1a1c1a; font: 600 15px/1 var(--font-text); white-space: nowrap; box-shadow: 4px 4px 0 rgb(26 28 26 / .9); }
.mess b { position: absolute; font: 800 34px/1 var(--font-display); color: #1a1c1a; }
@media (max-width: 1023px) { .stance .wrap { grid-template-columns: 1fr; } .mess { min-height: 260px; } }

/* ---------- close and footer: the brand's blobs, as on the Floeey OS sign-in screen ---------- */
.close { position: relative; z-index: 2; background: var(--p-bg); overflow: hidden; }
.close::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: no-repeat -8% -30% / 46% auto url("/img/blob-wave.webp"), no-repeat 108% 20% / 42% auto url("/img/blob-hook.webp"), no-repeat 62% 130% / 34% auto url("/img/blob-drop.webp"), no-repeat 12% 120% / 38% auto url("/img/blob-cloud.webp"); }
.footer { background: var(--p-bg); }
@media (max-width: 639px) { .close::before { background-size: 90% auto, 84% auto, 70% auto, 76% auto; opacity: .8; } }

/* fixes after the first look */
html { overflow-x: clip; }
.req { inset-inline-start: auto; left: 0; right: auto; top: 0; }
@media (min-width: 1024px) { .nav { padding-inline: var(--gutter) calc(var(--gutter) + 64px); } }
.cut.is-cut .cut__a, .cut.is-cut .cut__b { clip-path: none; }   /* the wave is drawn in JS (a smooth sine), see scripts */
.cut__b { translate: 7px 9px; }
.map { transition: none; }

/* second look */
.cut__b { translate: 4px 5px; }
.how.is-in .tangle { opacity: .22; }
@media (max-width: 639px) { .nav .btn { display: none; } .nav__bar { justify-content: center; } .nav.is-pill .nav__bar { max-width: 180px; padding: 0 18px; } .lang { inset-block-start: 20px; inset-inline-end: 12px; } .hero__lead { font-size: 17px; } }

/* third look */
.idx__row dd i { padding-inline: .12em; }
.bw-back .ui, .bw-front .ui { width: 100%; min-width: 0; max-width: 100%; }
.req { z-index: 40; font-size: 13px; }   /* rides the stream along the foot of the screen, above the content */

.idx__row dd span, .idx__row dd i { unicode-bidi: isolate; }

/* round 11: the Menachem trial-call form (dark band). Inputs use the system face: the licensed web font may not be typed in */
  .mn-form { display: grid; gap: var(--s-4); margin-top: var(--s-6); max-width: 520px; }
  .mn-form__lead { font-weight: 500; }
  .mn-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
  .mn-form .field { display: grid; gap: 6px; }
  .mn-form label { font-size: var(--t-small); color: var(--p-inv-ink); }
  .mn-form input[type="text"], .mn-form input[type="tel"] { min-height: 48px; padding: 0 14px; border-radius: 10px; border: 1px solid rgb(255 255 255 / .28); background: rgb(255 255 255 / .06); color: #fff; font: 400 17px/1.2 system-ui, -apple-system, "Segoe UI", Arial, sans-serif; }
  .mn-form input[type="tel"] { text-align: start; }
  .mn-form input:focus-visible { outline: 2px solid var(--p-accent); outline-offset: 2px; }
  .mn-form input[aria-invalid="true"] { border-color: #ff9aa9; }
  .mn-form .field--check { grid-template-columns: 24px minmax(0, 1fr); column-gap: 10px; align-items: start; }
  .mn-form .field--check input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--p-accent); cursor: pointer; }
  .mn-form .field--check label { cursor: pointer; }
  .mn-form .field--check .field__error { grid-column: 2; }
  .mn-form .field__error { color: #ffb3bf; font-size: var(--t-small); }
  .mn-form__note, .mn-form__legal { color: var(--p-inv-muted); font-size: var(--t-small); }
  .mn-form__legal a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
  .mn-form .form__status { color: #fff; font-size: var(--t-small); min-height: 1.4em; }
  @media (max-width: 639px) { .mn-form__row { grid-template-columns: 1fr; } }

/* round 14: services as one browser window with tabs; projects as a lead case and a list */
  .bw { display: flex; flex-direction: column; min-height: 560px; margin-top: var(--s-6); border-radius: 18px; background: #fff; border: 1px solid rgb(0 0 0 / .08); box-shadow: 0 30px 80px -40px rgb(32 36 33 / .45), 0 2px 6px rgb(32 36 33 / .05); overflow: hidden; }
  .bw-bar { display: flex; align-items: flex-end; gap: var(--s-4); padding: 10px 16px 0; background: #ecebe7; }
  .bw-dots { display: flex; gap: 7px; padding-bottom: 14px; } .bw-dots i { width: 11px; height: 11px; border-radius: 50%; background: #cfcdc6; }
  .bw-tabs { display: flex; gap: 4px; min-width: 0; }
  .bw-tab { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border: 0; border-radius: 12px 12px 0 0; background: transparent; color: #5c605d; font: 500 15px/1 var(--font-text); cursor: pointer; white-space: nowrap; transition: background-color 160ms ease, color 160ms ease; }
  .bw-tab i { width: 10px; height: 10px; border-radius: 3px; background: #c3c1ba; transition: background-color 160ms ease; }
  .bw-tab[aria-selected="true"] { background: #fff; color: var(--p-ink); }
  .bw-tab[aria-selected="true"] i { background: var(--p-accent); }
  .bw-tab:active { transform: scale(.97); } .bw-tab:focus-visible { outline: 2px solid var(--p-ink); outline-offset: -2px; }
  @media (hover: hover) and (pointer: fine) { .bw-tab:not([aria-selected="true"]):hover { background: rgb(255 255 255 / .55); } }
  .bw-panel { flex: 1; display: flex; flex-direction: column; min-height: 0; }
  .bw-panel[hidden] { display: none; }
  .bw-url { margin: 12px 16px 0; padding: 0 14px; height: 34px; display: flex; align-items: center; justify-content: flex-end; border-radius: 10px; background: #f4f3f0; color: #6a6d6b; font: 400 13px/1 var(--font-mono); }
  .bw-body { flex: 1; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-7); padding: var(--s-7); align-items: center; }
  .bw-text { display: grid; gap: var(--s-4); align-content: center; }
  .bw-text h3 { font: 800 clamp(26px, 2.5vw, 36px)/1.08 var(--font-display); font-stretch: 84%; font-variation-settings: "wdth" 84; }
  .bw-text p { color: var(--p-ink); max-width: 44ch; }
  .bw-text ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; color: var(--p-muted); }
  .bw-text li { padding-inline-start: 18px; position: relative; }
  .bw-text li::before { content: ""; position: absolute; inset-inline-start: 0; top: .62em; width: 8px; height: 2px; background: var(--p-accent); }
  .bw-visual { position: relative; min-height: 400px; border-radius: 14px; background: var(--p-surface) url("/img/blob-wave.webp") no-repeat 120% -40% / 70% auto; --u-bg: #fff; --u-surface: #f4f4f3; --u-ink: #16181a; }
  .bw-visual .ui { --u-bg: #fff; --u-surface: #f4f4f3; --u-ink: #16181a; }
  .bw-back { position: absolute; inset-block-start: 28px; inset-inline-start: 28px; width: min(64%, 380px); }
  .bw-front { position: absolute; inset-block-end: 28px; inset-inline-end: 28px; width: min(58%, 340px); filter: drop-shadow(0 18px 30px rgb(32 36 33 / .18)); }
  .bw-lead, .bw-login { display: grid; gap: 12px; padding: 18px; }
  .bw-lead__top { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; } .bw-lead small, .bw-login small { display: block; color: #6a6d6b; font-size: 13px; }
  .bw-lead dl { display: grid; gap: 8px; margin: 0; } .bw-lead dl div { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; border-top: 1px solid rgb(0 0 0 / .06); padding-top: 8px; } .bw-lead dt { color: #6a6d6b; } .bw-lead dd { margin: 0; font-weight: 500; }
  .bw-login { justify-items: stretch; text-align: center; padding: 26px 22px; }
  .bw-login__mark { width: 40px; height: 40px; border-radius: 12px; margin: 0 auto; background: var(--p-accent); }
  .bw-field { display: flex; align-items: center; justify-content: center; height: 40px; border-radius: 9px; border: 1px solid rgb(0 0 0 / .12); font: 400 13px/1 var(--font-mono); color: #3f4240; direction: ltr; }
  .bw-field--code { border: 0; gap: 8px; } .bw-field--code i { display: grid; place-items: center; width: 40px; height: 44px; border-radius: 9px; border: 1px solid rgb(0 0 0 / .14); font-style: normal; font-size: 18px; }
  .bw-btn { display: grid; place-items: center; height: 40px; border-radius: 9px; background: #202421; color: #fff; font-size: 14px; font-weight: 500; }
  @media (max-width: 1023px) { .bw-body { grid-template-columns: 1fr; gap: var(--s-5); padding: var(--s-5); } .bw-visual { min-height: 360px; } }
  @media (max-width: 639px) {   /* phone: no tabs; the four as stacked sheets */
    .bw { border-radius: 16px; min-height: 0; background: none; border: 0; box-shadow: none; overflow: visible; gap: var(--s-5); }
    .bw-bar, .bw-url { display: none; }
    .bw-panel[hidden] { display: flex; }
    .bw-panel { background: #fff; border: 1px solid rgb(0 0 0 / .08); border-radius: 16px; }
    .bw-visual { min-height: 300px; } .bw-back { width: 74%; inset-inline-start: 14px; inset-block-start: 14px; } .bw-front { width: 70%; inset-inline-end: 14px; inset-block-end: 14px; }
  }
  .pj { align-items: stretch; margin-top: var(--s-6); }
  .pj-lead { display: grid; align-content: start; gap: var(--s-5); padding: var(--s-7); border-radius: 18px; background: var(--p-ink); color: var(--p-bg); }
  .pj-lead__logo { height: 40px; width: auto; justify-self: start; background: #fff; border-radius: 8px; padding: 4px 8px; }
  .pj-lead h3 { font: 800 clamp(30px, 3.2vw, 46px)/1.02 var(--font-display); font-stretch: 84%; font-variation-settings: "wdth" 84; }
  .pj-lead ol { display: grid; gap: var(--s-4); margin: 0; padding: 0; list-style: none; counter-reset: pj; }
  .pj-lead li { counter-increment: pj; display: grid; grid-template-columns: 34px 1fr; column-gap: 12px; color: color-mix(in oklab, var(--p-bg) 78%, var(--p-ink)); }
  .pj-lead li::before { content: counter(pj); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--p-accent); color: #111; font: 600 14px/1 var(--font-text); }
  .pj-lead li b { color: var(--p-bg); font-weight: 600; }
  .pj-list { display: grid; margin: 0; padding: 0; list-style: none; align-content: stretch; }
  .pj-row { display: grid; grid-template-columns: minmax(0, 200px) minmax(0, 1fr) auto; gap: var(--s-5); align-items: center; padding: var(--s-4) 0; border-bottom: 1px solid var(--line); }
  .pj-row:first-child { border-top: 1px solid var(--line); }
  .pj-who img { height: 30px; width: auto; display: block; } .pj-client { font: 800 22px/1.1 var(--font-display); font-stretch: 84%; font-variation-settings: "wdth" 84; }
  .pj-what { color: var(--p-ink); }
  .pj-tag { justify-self: end; padding: 6px 12px; border-radius: 999px; background: var(--p-surface); font: 500 13px/1 var(--font-text); white-space: nowrap; }
  @media (max-width: 1023px) { .pj-lead, .pj-list { grid-column: 1 / -1; } }
  @media (max-width: 639px) { .pj-lead { padding: var(--s-5); } .pj-row { grid-template-columns: 1fr auto; row-gap: 6px; } .pj-what { grid-column: 1 / -1; grid-row: 2; } }

/* round 10: phone chrome like a web app. The logo alone, centred, on top; the navigation as a tab bar at the thumb */
  .tabbar { display: none; }
  @media (max-width: 639px) {
    .nav .nav__toggle, .nav .nav__actions, .nav .nav__links { display: none; }
    .nav .nav__bar { justify-content: center; }
    .nav .nav__logo { margin-inline: auto; }
    body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
    .tabbar { position: fixed; inset-inline: 0; inset-block-end: 0; z-index: 60; display: grid; grid-template-columns: 1fr 1fr 1.25fr 1fr 1fr; align-items: end; gap: 2px;
      padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: color-mix(in oklab, var(--p-bg) 94%, transparent); border-top: 1px solid var(--line);
      -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
    .tabbar a { display: grid; justify-items: center; gap: 4px; min-height: 52px; padding: 6px 2px; border-radius: 14px; color: var(--p-muted); font: 500 11.5px/1.1 var(--font-text); text-decoration: none; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
    .tabbar svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
    .tabbar a:active { transform: scale(.97); }
    .tabbar a:focus-visible { outline: 2px solid var(--p-ink); outline-offset: 2px; }
    .tabbar a[aria-current="true"] { color: var(--p-ink); }
    .tabbar .tabbar__cta { background: var(--p-action); color: var(--p-action-ink); min-height: 58px; margin-block-start: -10px; box-shadow: 0 8px 20px -10px rgb(242 82 112 / .9); }
    .tabbar a { transition: transform 140ms cubic-bezier(0.23, 1, 0.32, 1), color 160ms ease; }
  }

/* ================= v4 ================= */
h2 .muted, .section--ink h2 .muted { color: inherit; }
.cut:not([data-cut]) { display: inline; }
.mock, .mock * { text-align: start; }

/* ---------- hero: one process, from a mess to a line. It plays by itself ---------- */
.fb { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: clamp(18px, 2.2vw, 28px); box-shadow: 0 30px 60px -40px rgb(32 36 33 / .35); min-width: 0; }
.fb__top { display: flex; align-items: start; justify-content: space-between; gap: var(--s-4); margin-block-end: var(--s-4); }
.fb__title { font: 600 17px/1.3 var(--font-text); }
.fb__title small { display: block; font: 400 13.5px/1.4 var(--font-text); color: var(--p-muted); }
.fb__state { display: grid; flex: none; }
.fb__state span { grid-area: 1 / 1; justify-self: end; display: inline-flex; align-items: center; gap: 8px; min-height: 32px; padding: 0 12px; border-radius: 999px; font: 600 13px/1 var(--font-text); white-space: nowrap; transition: opacity 300ms ease; }
.fb__state span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.fb__s--mess { background: #fdecc8; color: #7a4b00; }
.fb__s--order { background: #d9f3e4; color: #0c5b33; opacity: 0; }
.fb[data-state="order"] .fb__s--mess { opacity: 0; }
.fb[data-state="order"] .fb__s--order { opacity: 1; }
.fb__stage { position: relative; height: clamp(380px, 46vh, 460px); container-type: size; }
.fb__tangle { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; transition: opacity 400ms ease; }
.fb__tangle path { fill: none; stroke: #c9a24a; stroke-width: 2; stroke-dasharray: 5 7; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.fb[data-state="order"] .fb__tangle { opacity: 0; }
.fb__rail { position: absolute; inset-block: 9% 9%; inset-inline-start: 17px; width: 3px; border-radius: 3px; background: linear-gradient(#f25270, #f4b66d, #79ddd3, #55a8dd); transform: scaleY(0); transform-origin: top; transition: transform 700ms var(--ease-out); }
.fb[data-state="order"] .fb__rail { transform: scaleY(1); transition-delay: 250ms; }
.fb__dot { position: absolute; inset-block-start: 9%; inset-inline-start: 11px; width: 15px; height: 15px; border-radius: 50%; background: var(--p-accent); box-shadow: 0 0 0 5px rgb(242 82 112 / .2); opacity: 0; }
.fb[data-state="order"] .fb__dot { animation: fb-run 3.4s 900ms var(--ease-in-out) both; }
@keyframes fb-run { 0% { opacity: 0; translate: 0 0; } 8% { opacity: 1; } 90% { opacity: 1; translate: 0 80cqh; } 100% { opacity: 0; translate: 0 80cqh; } }
.fb__cards { position: absolute; inset: 0; }
.fb__card { position: absolute; inset-inline-start: 46px; width: min(66%, 100% - 46px); inset-block-start: calc(var(--i) * 20% + 1.5%); height: 17%; display: flex; align-items: center; gap: 12px; padding-inline: 14px; background: #fff; border: 1px solid var(--line); border-radius: 14px;
  translate: calc(var(--mx) * var(--k, 1) * 1cqw) calc(var(--my) * 1cqh); rotate: var(--mr); scale: .9;
  border-style: dashed; border-color: #d8b96a; background: #fffaf0; box-shadow: 0 10px 22px -16px rgb(32 36 33 / .5);
  transition: translate 800ms var(--ease-in-out), rotate 800ms var(--ease-in-out), scale 800ms var(--ease-in-out), background-color 500ms ease, border-color 500ms ease; transition-delay: calc(var(--i) * 70ms); }
.fb[data-state="order"] .fb__card { translate: 0 0; rotate: 0deg; scale: 1; border-style: solid; border-color: var(--line); background: #fff; box-shadow: none; }
.fb__ico { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #f6e3b4; color: #7a4b00; font: 700 14px/1 var(--font-text); transition: background-color 400ms ease, color 400ms ease; }
.fb__ico svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; opacity: 0; position: absolute; transition: opacity 300ms ease; }
.fb__ico b { transition: opacity 300ms ease; }
.fb[data-state="order"] .fb__ico { background: var(--p-ink); color: #fff; }
.fb[data-state="order"] .fb__ico svg { opacity: 1; }
.fb[data-state="order"] .fb__ico b { opacity: 0; }
.fb__txt { flex: 1; min-width: 0; display: grid; }
.fb__txt > span { grid-area: 1 / 1; display: grid; align-content: center; transition: opacity 350ms ease; min-width: 0; }
.fb__txt b { font: 600 clamp(14.5px, 1.25vw, 17px)/1.25 var(--font-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fb__txt small { font: 400 13px/1.35 var(--font-text); color: var(--p-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fb__b, .fb[data-state="order"] .fb__a { opacity: 0; }
.fb[data-state="order"] .fb__b { opacity: 1; transition-delay: 350ms; }
.fb__src { flex: none; display: grid; }
.fb__src .fb__b { position: absolute; inset-inline-start: calc(100% + 26px); inset-block-start: 50%; translate: 0 -50%; }
.fb__src .fb__b::before { content: ""; position: absolute; inset-inline-end: 100%; inset-block-start: 50%; width: 26px; border-block-start: 2px dotted rgb(32 36 33 / .3); }
.fb__src span { grid-area: 1 / 1; justify-self: end; padding: 6px 10px; border-radius: 8px; font: 600 12.5px/1 var(--font-text); white-space: nowrap; transition: opacity 350ms ease; }
.fb__src .fb__a { background: #f6e3b4; color: #7a4b00; }
.fb__src .fb__b { background: #eef0ee; color: var(--p-ink); }
.fb__foot { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); margin-block-start: var(--s-3); font-size: 13.5px; color: var(--p-muted); }
.fb__pause { min-height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: none; font: 500 13.5px/1 var(--font-text); color: var(--p-ink); }
@media (prefers-reduced-motion: reduce) { .fb__pause { display: none; } .fb__card, .fb__rail, .fb__tangle { transition: none; } .fb[data-state="order"] .fb__dot { animation: none; } }
@container (max-width: 430px) { .fb__src { display: none; } .fb__card { width: calc(100% - 40px); --k: .12; scale: .93; } }
@media (max-width: 520px) { .fb__card { inset-inline-start: 40px; padding-inline: 10px; gap: 9px; } .fb__state span { font-size: 12px; padding: 0 10px; } .fb__top { flex-direction: column; gap: var(--s-2); } .fb__state span { justify-self: start; } }

/* ---------- services: every tab holds one product screen that plays a short scene ---------- */
.bw-visual { position: relative; min-height: 0 !important; padding: clamp(14px, 2vw, 28px); background: var(--p-surface) url("/img/blob-wave.webp") no-repeat 115% -30% / 60% auto; border-radius: 14px; container-type: inline-size; display: grid; }
.mock { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 24px 40px -30px rgb(32 36 33 / .45); font: 400 14px/1.4 var(--font-text); color: var(--p-ink); overflow: hidden; min-height: 372px; display: flex; flex-direction: column; min-width: 0; }
.mock b { font-weight: 600; }
.mock small { color: var(--p-muted); font-size: 12.5px; }
.mk-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-block-end: 1px solid var(--line); min-height: 50px; }
.mk-head b { font-size: 14.5px; }
.mk-sp { flex: 1; }
.mk-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: #eef0ee; font: 600 12px/1 var(--font-text); white-space: nowrap; }
.mk-chip--ok { background: #d9f3e4; color: #0c5b33; }
.mk-chip--ok::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #17a05a; }
.mk-av { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font: 600 11px/1 var(--font-text); background: #fbe1da; }
.mk-av[data-t="2"] { background: #dff3ef; } .mk-av[data-t="3"] { background: #e3f0f8; } .mk-av[data-t="4"] { background: #f8f0c8; }
.mk-replay { justify-self: start; margin-block-start: 10px; min-width: 44px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font: 500 12.5px/1 var(--font-text); color: var(--p-ink); }
@keyframes sq-in { from { opacity: 0; transform: translateY(8px); } }
@keyframes sq-fade { from { opacity: 0; } }
.mock.is-armed .sq { opacity: 0; }
.mock.is-play .sq { opacity: 1; animation: sq-in 460ms var(--ease-out) both; animation-delay: var(--d, 0ms); }
@media (prefers-reduced-motion: reduce) { .mk-replay { display: none; } }

/* automation */
.mk-flow__track { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; padding: 26px 14px 18px; }
.mk-flow__track::before { content: ""; position: absolute; inset-inline: 12.5%; inset-block-start: 51px; height: 2px; background: var(--line); }
.mk-flow__line { position: absolute; inset-inline: 12.5%; inset-block-start: 51px; height: 2px; background: linear-gradient(to left, #f25270, #f4b66d, #79ddd3, #55a8dd); transform: scaleX(1); transform-origin: right; }
.mock.is-armed .mk-flow__line { transform: scaleX(0); }
.mock.is-play .mk-flow__line { animation: mk-line 2400ms 300ms linear both; }
@keyframes mk-line { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.mk-node { position: relative; display: grid; justify-items: center; gap: 8px; text-align: center; }
.mk-node * { text-align: center; }
.mk-node i { width: 52px; height: 52px; border-radius: 14px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; box-shadow: 0 6px 14px -10px rgb(32 36 33 / .5); }
.mk-node i img { width: 26px; height: 26px; }
.mk-node i svg { width: 24px; height: 24px; fill: none; stroke: var(--p-ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mk-node b { font-size: 13px; line-height: 1.25; }
.mock.is-play .mk-node i { animation: mk-pop 520ms var(--ease-out) both; animation-delay: var(--d); }
@keyframes mk-pop { 0% { scale: .9; border-color: var(--line); } 45% { scale: 1.08; border-color: var(--p-accent); box-shadow: 0 0 0 6px rgb(242 82 112 / .16); } 100% { scale: 1; } }
.mk-log { margin: 0 14px 14px; border-radius: 10px; background: #f6f6f4; padding: 6px 12px; display: grid; }
.mk-log li { display: flex; gap: 12px; align-items: baseline; padding: 8px 0; font-size: 13.5px; }
.mk-log li + li { border-block-start: 1px solid var(--line); }
.mk-log time { font: 500 12px/1 var(--font-mono); color: var(--p-muted); direction: ltr; flex: none; }

/* crm */
.mk-crm__body { flex: 1; display: grid; grid-template-columns: 112px minmax(0, 1fr); min-height: 0; }
.mk-side { background: #f6f6f4; border-inline-end: 1px solid var(--line); padding: 10px 8px; display: grid; align-content: start; gap: 2px; }
.mk-side span { display: flex; align-items: center; gap: 8px; padding: 8px 9px; border-radius: 8px; font-size: 13px; color: var(--p-muted); }
.mk-side span::before { content: ""; width: 8px; height: 8px; border-radius: 3px; background: currentColor; opacity: .45; flex: none; }
.mk-side .is-on { background: #fff; color: var(--p-ink); font-weight: 600; box-shadow: 0 1px 0 var(--line); }
.mk-side .is-on::before { background: var(--p-accent); opacity: 1; }
.mk-main { padding: 12px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.mk-tools { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.mk-search { flex: 1; min-width: 90px; display: flex; align-items: center; gap: 7px; height: 32px; padding: 0 10px; border-radius: 8px; border: 1px solid var(--line); color: var(--p-muted); font-size: 12.5px; }
.mk-search::before { content: ""; width: 9px; height: 9px; border: 1.6px solid currentColor; border-radius: 50%; flex: none; }
.mk-kan { flex: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.mk-col { background: #f6f6f4; border-radius: 10px; padding: 8px; display: grid; align-content: start; gap: 6px; }
.mk-col__h { display: flex; justify-content: space-between; align-items: center; font: 600 12.5px/1.2 var(--font-text); padding: 2px 2px 4px; }
.mk-col__h em { font-style: normal; color: var(--p-muted); display: grid; }
.mk-col__h em span { grid-area: 1 / 1; }
.mk-col__h em span:first-child { opacity: 0; }
.mock.is-armed .mk-col__h em span:first-child { opacity: 1; }
.mock.is-armed .mk-col__h em span + span { opacity: 0; }
.mock.is-play .mk-col__h em span:first-child { animation: mk-out 1ms 1900ms both; }
.mock.is-play .mk-col__h em span + span { animation: mk-in 300ms 1900ms both; }
@keyframes mk-in { to { opacity: 1; } }
@keyframes mk-out { to { opacity: 0; } }
.mk-card { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 7px 8px; display: grid; gap: 2px; height: 50px; align-content: center; min-width: 0; }
.mk-card b { font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-card small { font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-slot { height: 50px; border-radius: 8px; }
.mk-card--move { position: relative; z-index: 2; translate: calc(-100% - 24px) 0; border-color: var(--p-accent); box-shadow: 0 10px 18px -12px rgb(242 82 112 / .8); }
.mock.is-armed .mk-card--move { translate: 0 0; border-color: var(--line); box-shadow: none; }
.mock.is-play .mk-card--move { animation: mk-move 900ms 1100ms var(--ease-in-out) both; }
@keyframes mk-move { 0% { translate: 0 0; rotate: 0deg; border-color: var(--line); box-shadow: none; } 50% { rotate: -3deg; } 100% { translate: calc(-100% - 24px) 0; rotate: 0deg; } }
.mk-toast { display: flex; align-items: center; gap: 9px; padding: 9px 11px; border-radius: 10px; background: var(--p-ink); color: #fff; font-size: 12.5px; }
.mk-toast small { color: #c9cbca; }
@container (max-width: 470px) { .mk-crm__body { grid-template-columns: minmax(0, 1fr); } .mk-side { display: none; } }

/* portal */
.mk-portal { display: grid; }
.mk-portal > div { grid-area: 1 / 1; }
.mk-login { display: grid; justify-items: center; align-content: center; gap: 10px; padding: 24px; text-align: center; }
.mk-login * { text-align: center; }
.mk-login__mark { width: 44px; height: 44px; border-radius: 12px; background: var(--p-accent); }
.mk-code { display: flex; gap: 8px; direction: ltr; margin-block: 6px; }
.mk-code i { width: 44px; height: 52px; border: 1px solid var(--line); border-radius: 10px; display: grid; place-items: center; font: 600 20px/1 var(--font-mono); font-style: normal; }
.mk-code i span { display: block; }
.mk-btn { display: grid; place-items: center; min-width: 210px; height: 44px; border-radius: 10px; background: var(--p-ink); color: #fff; font: 600 14px/1 var(--font-text); }
.mk-dash { display: flex; flex-direction: column; background: #fff; }
.mk-dash__body { padding: 14px; display: grid; gap: 14px; }
.mk-steps { display: grid; grid-template-columns: repeat(4, 1fr); position: relative; padding-block-start: 22px; font-size: 12.5px; color: var(--p-muted); }
.mk-steps span { text-align: center; }
.mk-steps span.is-done { color: var(--p-ink); font-weight: 600; }
.mk-steps::before, .mk-steps i { content: ""; position: absolute; inset-block-start: 6px; inset-inline: 12.5%; height: 4px; border-radius: 4px; background: #e9eae8; }
.mk-steps i { background: linear-gradient(to left, #f25270, #f4b66d); inset-inline-end: 37.5%; transform-origin: right; }
.mock.is-play .mk-steps i { animation: mk-line 900ms 3000ms var(--ease-out) both; }
.mock.is-armed .mk-steps i { transform: scaleX(0); }
.mk-docs { border: 1px solid var(--line); border-radius: 10px; }
.mk-docs li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; font-size: 13.5px; }
.mk-docs li + li { border-block-start: 1px solid var(--line); }
.mk-docs li::before { content: "PDF"; font: 700 9.5px/1 var(--font-mono); padding: 5px 4px; border-radius: 4px; background: #fbe1da; color: #9a1f38; }
.mk-docs em { margin-inline-start: auto; font-style: normal; font-size: 12.5px; text-decoration: underline; text-underline-offset: 3px; }
.mock.is-armed .mk-dash { opacity: 0; }
.mock.is-play .mk-login { animation: mk-out 300ms 2300ms both; }
.mock.is-play .mk-dash { opacity: 1; animation: sq-in 500ms 2500ms var(--ease-out) both; }
.mock:not(.is-armed):not(.is-play) .mk-login { display: none; }
.mock.is-play .mk-btn { animation: mk-press 300ms 1900ms both; }
@keyframes mk-press { 50% { scale: .96; background: var(--p-accent); } }

/* chat */
.mk-chat__body { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 14px; background: #f4f1ea; }
.mk-msg { max-width: 82%; padding: 8px 12px; border-radius: 12px; background: #fff; font-size: 13.5px; align-self: flex-start; box-shadow: 0 1px 0 rgb(32 36 33 / .08); }
.mk-msg--me { align-self: flex-end; background: #d7f5cf; }
.mk-msg small { display: block; font-size: 11px; font-weight: 600; color: #0c5b33; }
.mk-sys { align-self: center; padding: 5px 12px; border-radius: 999px; background: rgb(32 36 33 / .08); font-size: 12px; font-weight: 600; }

/* ---------- how: four stations on one line, each leaves something in your hands ---------- */
.hw { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); margin-block-start: var(--s-7); }
.hw::before { content: ""; position: absolute; inset-inline: 0; inset-block-start: 64px; height: 3px; border-radius: 3px; background: linear-gradient(to left, #f25270, #f4b66d, #79ddd3, #55a8dd); transform-origin: right; transition: transform 1600ms var(--ease-out); }
.how:not(.is-in) .hw::before { transform: scaleX(0); }
.hw li { position: relative; display: grid; align-content: start; gap: 8px; transition: opacity 500ms ease, translate 600ms var(--ease-out); transition-delay: calc(var(--i) * 260ms + 150ms); }
.how:not(.is-in) .hw li { opacity: 0; translate: 0 14px; }
.hw__art { height: 128px; border-radius: 18px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; margin-block-end: var(--s-3); box-shadow: 0 18px 30px -26px rgb(32 36 33 / .5); overflow: hidden; }
.hw__art svg { width: 82%; height: 78%; overflow: visible; }
.hw__step { font: 600 13px/1 var(--font-text); color: var(--p-muted); }
.hw li > b { font: 800 clamp(24px, 2.4vw, 32px)/1.05 var(--font-display); font-stretch: 84%; font-variation-settings: "wdth" 84; }
.hw li > p { font-size: 16px; line-height: 1.5; }
.hw__out { margin-block-start: 6px; padding-block-start: 10px; border-block-start: 1px solid var(--line); font-size: 14px; color: var(--p-muted); }
.hw__out b { display: block; color: var(--p-ink); font-size: 16px; }
@media (max-width: 900px) { .hw { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--s-7); } .hw::before { display: none; } }
@media (max-width: 560px) { .hw { grid-template-columns: 1fr; row-gap: var(--s-6); } .hw li { grid-template-columns: 96px minmax(0, 1fr); column-gap: 14px; } .hw__art { grid-row: 1 / span 4; height: 96px; margin: 0; border-radius: 14px; } .hw li > * { grid-column: 2; } .hw li > .hw__art { grid-column: 1; } }
@media (prefers-reduced-motion: reduce) { .hw::before, .hw li { transition: none; } }

/* ---------- menachem ---------- */
.mn-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); grid-template-areas: "head art" "form art"; column-gap: clamp(28px, 5vw, 80px); row-gap: var(--s-6); align-items: start; }
.mn-grid > .section-head { grid-area: head; }
.mn-grid > .mn-form { grid-area: form; }
.mn-art { grid-area: art; position: sticky; inset-block-start: 110px; display: grid; justify-items: center; min-width: 0; }
.mn-art picture, .mn-art img.mn-anim { display: block; width: min(100%, 440px); height: auto; }
.mn-art picture img { width: 100%; }
.mn-callcard { margin-block-start: -34px; position: relative; z-index: 2; width: min(100%, 360px); background: #2b302d; border: 1px solid rgb(255 255 255 / .14); border-radius: 18px; padding: 14px 16px; display: grid; gap: 10px; color: #f9f9f9; box-shadow: 0 24px 40px -24px #000; }
.mn-callcard__top { display: flex; align-items: center; gap: 10px; font-size: 13.5px; }
.mn-callcard__top b { font-weight: 600; }
.mn-callcard__top time { margin-inline-start: auto; font: 500 13px/1 var(--font-mono); color: #c9cbca; direction: ltr; }
.mn-live { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: var(--p-accent); color: #111; font: 600 12px/1 var(--font-text); }
.mn-bars { display: flex; align-items: center; gap: 3px; height: 22px; direction: ltr; }
.mn-bars i { flex: 1; max-width: 5px; height: 100%; border-radius: 3px; background: #f9f9f9; transform: scaleY(.25); animation: mn-bar 1100ms ease-in-out infinite; animation-delay: calc(var(--i) * -137ms); }
@keyframes mn-bar { 0%, 100% { transform: scaleY(.2); } 50% { transform: scaleY(1); } }
.mn-art.is-paused .mn-bars i { animation-play-state: paused; }
.mn-callcard q { quotes: none; font-size: 15.5px; line-height: 1.45; }
.mn-art .mn-pause { position: static; margin-block-start: var(--s-3); }
@media (max-width: 1023px) { .mn-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "art" "form"; } .mn-art { position: static; } .mn-art picture { width: min(100%, 300px); } }
@media (prefers-reduced-motion: reduce) { .mn-bars i { animation: none; transform: scaleY(.6); } }

/* ---------- tools: a gallery of the systems, filtered by kind ---------- */
.tg { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 10px; margin-block-start: var(--s-5); }
.tg li { display: grid; justify-items: center; align-content: center; gap: 10px; height: 116px; padding: 12px 8px; background: #fff; border: 1px solid var(--line); border-radius: 16px; font: 600 14px/1.2 var(--font-text); text-align: center; transition: translate 200ms var(--ease-out), box-shadow 200ms ease; }
.tg li[hidden] { display: none; }
.tg li span.tg__logo { height: 40px; display: grid; place-items: center; }
.tg li img { max-height: 36px; max-width: 76px; width: auto; height: auto; }
.tg li img.is-wide { max-height: 22px; }
.tg__mono { width: 40px; height: 40px; border-radius: 50%; background: var(--p-surface); display: grid; place-items: center; font: 700 17px/1 var(--font-text); color: var(--p-muted); }
@media (hover: hover) and (pointer: fine) { .tg li:hover { translate: 0 -3px; box-shadow: 0 14px 24px -20px rgb(32 36 33 / .6); } }
.tg-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-block-start: var(--s-6); }
@media (max-width: 639px) { .tg { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; } .tg li { height: 100px; font-size: 12.5px; } .tg-pills { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scrollbar-width: none; } .tg-pills .pill { flex: none; } }

/* ---------- close: the sign-in screen's blobs, with the words in the clear middle ---------- */
.close { position: relative; z-index: 2; overflow: visible; background: linear-gradient(var(--p-bg), rgb(249 249 249 / 0) 22%), url("/img/blobs-signin.webp") center / cover no-repeat, var(--p-bg); padding-block: clamp(96px, 16vh, 180px); }
.close::after { content: none !important; }
.close::before { content: "" !important; position: absolute; inset: auto 0 100% 0 !important; height: 180px; background: linear-gradient(rgb(249 249 249 / 0), #f9f9f9) !important; pointer-events: none; opacity: 1 !important; }
.close > img, .close .close__blob { display: none !important; }
.close .wrap { display: grid; justify-items: center; text-align: center; gap: var(--s-5); max-width: 860px; padding: clamp(28px, 5vw, 64px) clamp(16px, 4vw, 56px); background: radial-gradient(closest-side, #f9f9f9 70%, rgb(249 249 249 / 0)); }
.close h2, .close p { text-align: center; margin: 0; }
.close h2 { font-size: clamp(36px, 4.8vw, 72px); max-width: 14em; }
.close p { max-width: 52ch; font-size: var(--t-lead); line-height: 1.5; }
.close .btn-row { justify-content: center; }
.footer { position: relative; z-index: 2; }
.footer__brand { display: grid !important; gap: 10px; direction: rtl; justify-items: start; }
.footer__brand img { width: 132px; height: auto; }
.footer__brand span { font: 800 clamp(22px, 2.2vw, 30px)/1.1 var(--font-display); direction: ltr; }

/* ---------- the request chip: parked in the corner, out of the text ---------- */
.req { left: 16px !important; top: auto !important; bottom: 16px; transform: none !important; }
@media (max-width: 1023px) { .req { display: none; } }
.lang { flex-direction: row-reverse; }
@media (min-width: 860px) and (max-width: 1023px) { .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; } .nav__links { display: flex; } .nav__links a { padding: 0 9px; font-size: 15px; } .nav { padding-inline: var(--gutter) calc(var(--gutter) + 64px); } }
.faq__item h3:has(.faq__q[aria-expanded="true"]) + .faq__a { grid-template-rows: 1fr; visibility: visible; }
.req { display: none !important; }

/* ---------- stance: three sentences that run on luck, struck out one by one ---------- */
.stance .wrap { display: block; }
.stance__kicker { font: 500 clamp(17px, 1.5vw, 21px)/1.4 var(--font-text); margin-block-end: var(--s-5); }
.luck { display: grid; gap: clamp(6px, 1vw, 14px); margin-block-end: clamp(40px, 7vw, 96px); }
.luck li { font: 800 clamp(26px, 4.3vw, 64px)/1.12 var(--font-display); font-stretch: 84%; font-variation-settings: "wdth" 84; color: #1a1c1a; text-wrap: balance; }
.luck span { background: linear-gradient(#f9f9f9, #f9f9f9) no-repeat 100% 58% / 0% .09em; -webkit-box-decoration-break: clone; box-decoration-break: clone; transition: background-size 700ms var(--ease-in-out), color 500ms ease; }
.luck li.is-struck span { background-size: 100% .09em; color: rgb(26 28 26 / .74); }
.stance h2 { font-size: clamp(48px, 9vw, 148px); line-height: .92; margin-block-end: var(--s-6); }
.stance__lede { font: 500 clamp(19px, 1.9vw, 27px)/1.4 var(--font-text); max-width: 30em; margin: 0; }
@media (prefers-reduced-motion: reduce) { .luck span { transition: none; } }
.section--ink, .stance, #clients { position: relative; z-index: 2; }
.section--ink { background: var(--p-ink); }
@media (max-width: 639px) {
  .bw-bar { display: flex !important; padding: 8px 8px 0; border-radius: 16px 16px 0 0; }
  .bw-dots { display: none; }
  .bw-tabs { overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; flex: 1; }
  .bw-tabs::-webkit-scrollbar { display: none; }
  .bw-tab { flex: none; scroll-snap-align: start; padding: 0 13px; font-size: 14px; }
  .bw-panel[hidden] { display: none !important; }
  .bw-panel { border-radius: 0 0 16px 16px !important; border-block-start: 0 !important; }
  .bw-body { padding: 20px 16px !important; }
  .bw-visual { padding: 10px; }
  .mock { min-height: 330px; }
  .mk-node i { width: 46px; height: 46px; } .mk-flow__track::before, .mk-flow__line { inset-block-start: 48px; } .mk-node b { font-size: 12px; }
  .mk-kan { gap: 5px; } .mk-col { padding: 5px; } .mk-card { padding: 5px 6px; } .mk-card b { font-size: 11.5px; } .mk-card small { font-size: 10.5px; } .mk-col__h { font-size: 11.5px; }
  .mk-card--move { translate: calc(-100% - 15px) 0; }
  .mk-btn { min-width: 170px; }
}
@media (max-width: 639px) { @keyframes mk-move-s { 0% { translate: 0 0; rotate: 0deg; border-color: var(--line); box-shadow: none; } 50% { rotate: -3deg; } 100% { translate: calc(-100% - 15px) 0; rotate: 0deg; } } .mock.is-play .mk-card--move { animation-name: mk-move-s; } }
@media (min-width: 640px) and (max-width: 859px) { .nav { padding-inline: var(--gutter) calc(var(--gutter) + 64px); } }
.flow-pause { min-height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: none; font: 500 13.5px/1 var(--font-text); color: inherit; }
@media (prefers-reduced-motion: reduce) { .flow-pause { display: none; } }
:root { --p-muted: #505452; }

/* ---------- buttons: on hover a dark fill rises from the foot like water, and the button lifts a little ---------- */
.btn { position: relative; isolation: isolate; overflow: hidden; transition: transform 180ms var(--ease-out), box-shadow 220ms ease, color 180ms ease, border-color 180ms ease; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--p-ink); clip-path: circle(0% at 50% 135%); transition: clip-path 380ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover, .btn--secondary:hover { color: #fff; transform: translateY(-2px); border-color: var(--p-ink); background: var(--p-action); }
  .btn--secondary:hover { background: #fff; }
  .btn--primary:hover { box-shadow: 0 16px 28px -16px rgb(32 36 33 / .7); }
  .btn:hover::before { clip-path: circle(150% at 50% 135%); }
  .btn:hover:active { transform: translateY(0) scale(.97); }
  .section--ink .btn::before { background: #f9f9f9; }
  .section--ink .btn--primary:hover { color: #111; border-color: #f9f9f9; }
}
@media (prefers-reduced-motion: reduce) { .btn::before { transition: none; } .btn--primary:hover, .btn--secondary:hover { transform: none; } }

/* ---------- footer: a dark sheet that rises over the blobs of the closing section ---------- */
.close { padding-block-end: calc(clamp(96px, 16vh, 180px) + 40px); }
.footer { background: var(--p-ink) !important; color: var(--p-inv-ink); border: 0 !important; border-radius: 36px 36px 0 0; margin-block-start: -40px; padding-block: clamp(48px, 7vw, 88px) var(--s-6) !important; z-index: 3; }
.footer__brand { display: grid !important; direction: ltr; justify-items: start; text-align: left; gap: clamp(10px, 1.4vw, 18px); margin: 0 0 clamp(36px, 5vw, 64px); padding-block-end: clamp(36px, 5vw, 64px); border-block-end: 1px solid rgb(255 255 255 / .14); }
.footer__brand img { width: clamp(120px, 14vw, 200px) !important; height: auto !important; align-self: auto; }
.footer__brand span { font: 800 clamp(30px, 5.6vw, 84px)/1 var(--font-display) !important; font-stretch: 84%; direction: ltr; letter-spacing: -0.01em; }
.footer__grid { grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)) !important; gap: var(--s-6); }
.footer__grid > :first-child { grid-column: auto !important; }
.footer h3 { color: var(--p-inv-muted); }
.footer address { margin: 0; color: var(--p-inv-ink); font-size: var(--t-body); gap: 0; }
.footer address a, .footer address span { min-height: 40px; display: inline-flex; align-items: center; }
.footer address > span { color: var(--p-inv-muted); font-size: var(--t-small); }
.footer__legal { align-items: center; border-block-start-color: rgb(255 255 255 / .14) !important; color: var(--p-inv-muted) !important; }
.footer .flow-pause { border-color: rgb(255 255 255 / .28); }
.footer .build-stamp { opacity: .6; }
@media (max-width: 859px) { .footer__grid { grid-template-columns: 1fr 1fr !important; row-gap: var(--s-6); } }
@media (max-width: 639px) { .footer { border-radius: 24px 24px 0 0; padding-block-end: 110px !important; box-shadow: 0 240px 0 var(--p-ink); } }

.tg { --row: 116px; --gap: 10px; }
.tg.is-short { max-height: calc(var(--row) * 3 + var(--gap) * 2); overflow: hidden; }
.tg-more { display: none; margin: var(--s-4) auto 0; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid rgb(32 36 33 / .2); background: #fff; font: 600 15px/1 var(--font-text); color: var(--p-ink); transition: transform 140ms var(--ease-out), border-color 160ms ease; }
.tg-more.is-on { display: block; }
.tg-more:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) { .tg-more:hover { border-color: var(--p-ink); } }
@media (max-width: 639px) { .tg { --row: 100px; --gap: 8px; } }
/* FAQ: an open question sits in a white frame, so the river behind does not get in the way of the answer */
.faq__item { border-radius: 16px; transition: background-color 200ms ease, box-shadow 200ms ease; }
.faq__item:has(.faq__q[aria-expanded="true"]) { background: #fff; box-shadow: 0 0 0 1px var(--line), 0 18px 30px -24px rgb(32 36 33 / .45); margin-block: 8px; border-color: transparent !important; }
.faq__item:has(.faq__q[aria-expanded="true"]) .faq__q, .faq__item:has(.faq__q[aria-expanded="true"]) .faq__a > div { padding-inline: clamp(16px, 2vw, 28px); }
.faq__item:has(.faq__q[aria-expanded="true"]) + .faq__item { border-block-start-color: transparent; }

/* ---------- example: one message handed on four times, on one white sheet ---------- */
.relay { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 30px 60px -44px rgb(32 36 33 / .4); overflow: hidden; margin-block-start: var(--s-7); }
.relay__bar { display: block; height: 5px; background: #eeeeec; }
.relay__bar i { display: block; height: 100%; background: linear-gradient(to left, #f25270, #f4b66d, #79ddd3, #55a8dd); transform-origin: right; transform: scaleX(0); transition: transform 2400ms linear; }
.relay.is-in .relay__bar i { transform: scaleX(1); }
.relay ol { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.relay li { display: grid; align-content: start; gap: 6px; padding: clamp(20px, 2.4vw, 32px); border-inline-start: 1px solid var(--line); opacity: 0; translate: 0 10px; transition: opacity 500ms ease, translate 600ms var(--ease-out); transition-delay: calc(var(--i) * 600ms + 100ms); }
.relay li:first-child { border-inline-start: 0; }
.relay.is-in li { opacity: 1; translate: 0 0; }
.relay__where { justify-self: start; padding: 5px 10px; border-radius: 999px; background: var(--p-surface); font: 600 12.5px/1 var(--font-text); }
.relay time { font: 800 clamp(34px, 3.6vw, 52px)/1 var(--font-display); font-stretch: 84%; font-variation-settings: "wdth" 84; font-variant-numeric: tabular-nums; direction: ltr; text-align: end; margin-block-start: var(--s-3); }
.relay li > b { font: 600 var(--t-lead)/1.3 var(--font-text); }
.relay li > p { color: var(--p-muted); font-size: 16px; line-height: 1.5; }
.relay__bubble { justify-self: start; margin-block-start: 6px; padding: 10px 14px; border-radius: 4px 14px 14px 14px; background: var(--p-surface); font-size: 15.5px; line-height: 1.45; }
.relay__bubble--bot { background: #dff3ea; border-radius: 14px 4px 14px 14px; }
.relay__foot { padding: 16px clamp(20px, 2.4vw, 32px); border-block-start: 1px solid var(--line); background: #fbfbfa; font-size: 16px; color: var(--p-muted); }
.relay__foot b { color: var(--p-ink); }
@media (max-width: 900px) { .relay ol { grid-template-columns: 1fr 1fr; } .relay li:nth-child(odd) { border-inline-start: 0; } .relay li:nth-child(n+3) { border-block-start: 1px solid var(--line); } }
@media (max-width: 560px) { .relay ol { grid-template-columns: 1fr; } .relay li { border-inline-start: 0; grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; padding: 18px; } .relay li + li { border-block-start: 1px solid var(--line); } .relay time { grid-row: 1 / span 3; font-size: 30px; margin: 0; align-self: start; } .relay li > :not(time) { grid-column: 2; } .relay { border-radius: 18px; } }
@media (prefers-reduced-motion: reduce) { .relay li, .relay__bar i { transition: none; } }

/* ---------- how, playing: the four stations light up one after the other; each drawing draws itself when its turn comes ---------- */
.hw-wrap { position: relative; }
.hw::before { display: none; }
.hw__track { position: absolute; inset-inline: 12.5%; inset-block-start: calc(var(--s-7) + 64px); height: 3px; border-radius: 3px; background: rgb(32 36 33 / .12); }
.hw__track i { display: block; height: 100%; border-radius: 3px; background: linear-gradient(to left, #f25270, #f4b66d, #79ddd3, #55a8dd); transform-origin: right; transform: scaleX(calc(var(--p, 0) / 3)); transition: transform 900ms var(--ease-in-out); }
.hw__pick { display: grid; gap: 8px; width: 100%; padding: 0; border: 0; background: none; color: inherit; text-align: start; font: inherit; }
.hw__pick b { font: 800 clamp(24px, 2.4vw, 32px)/1.05 var(--font-display); font-stretch: 84%; font-variation-settings: "wdth" 84; }
.hw__pick .hw__art { position: relative; z-index: 1; display: grid; transition: scale 500ms var(--ease-out), box-shadow 400ms ease, border-color 400ms ease; }
.hw.is-live li { transition: opacity 500ms ease; }
.hw.is-live li:not(.is-on) .hw__pick b { opacity: .72; transition: opacity 400ms ease; }
.hw.is-live li.is-on .hw__art { scale: 1.06; border-color: var(--p-ink); box-shadow: 0 26px 40px -26px rgb(32 36 33 / .6); }
.hw.is-live li:not(.is-on) .hw__art svg { opacity: .5; transition: opacity 400ms ease; }
.hw li.is-on .a-pop { animation: a-pop 420ms var(--ease-out) both; animation-delay: calc(var(--k) * 180ms + 100ms); transform-box: fill-box; transform-origin: center; }
.hw li.is-on .a-tangle { animation: sq-fade 900ms ease both; }
.hw li.is-on .a-q { animation: a-q 1400ms ease-in-out 900ms infinite; transform-box: fill-box; transform-origin: 50% 80%; }
.hw li.is-on .a-write { stroke-dasharray: 1; animation: a-write 520ms var(--ease-out) both; animation-delay: calc(var(--k) * 220ms + 100ms); }
.hw li.is-on .a-break { animation: a-write 520ms var(--ease-out) 320ms both, a-break 700ms ease 1100ms both; }
.hw li.is-on .a-check { animation: a-pop 420ms var(--ease-out) 1900ms both; transform-box: fill-box; transform-origin: center; }
.a-runner { offset-path: path("M114 35 C96 20, 82 50, 62 35 S28 20, 6 35"); offset-distance: 0%; opacity: 0; }
.hw li.is-on .a-runner { opacity: 1; animation: a-run 2400ms var(--ease-in-out) 700ms infinite; }
@keyframes a-pop { from { scale: 0.4; opacity: 0; } }
@keyframes a-q { 0%, 100% { rotate: 0deg; } 30% { rotate: -14deg; } 60% { rotate: 12deg; } }
@keyframes a-write { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes a-break { 0%, 100% { translate: 0 0; } 20% { translate: 3px 0; stroke: #e5484d; } 40% { translate: -3px 0; stroke: #e5484d; } 60% { translate: 2px 0; stroke: #e5484d; } 80% { translate: 0 0; } }
@keyframes a-run { from { offset-distance: 0%; } to { offset-distance: 100%; } }
.hw__pause { display: block; margin: var(--s-6) 0 0; min-height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font: 500 13.5px/1 var(--font-text); color: var(--p-ink); }
@media (max-width: 900px) { .hw__track { display: none; } }
@media (max-width: 560px) { .hw__pick { grid-template-columns: 96px minmax(0, 1fr); column-gap: 14px; align-items: center; } .hw__pick .hw__art { grid-row: 1 / span 2; } .hw li { display: grid; grid-template-columns: 1fr !important; } .hw li > * { grid-column: 1 !important; } .hw li > p { padding-inline-start: 110px; } }
@media (prefers-reduced-motion: reduce) { .hw__pause { display: none; } .hw__track i { transform: none; transition: none; } .hw li.is-on .a-pop, .hw li.is-on .a-tangle, .hw li.is-on .a-q, .hw li.is-on .a-write, .hw li.is-on .a-break, .hw li.is-on .a-check, .hw li.is-on .a-runner { animation: none; } }

/* ---------- spec: scraps of information land on a white canvas, settle into a process map, and a spec document comes out ---------- */
.sp { margin-block-start: var(--s-7); }
.sp__steps { display: flex; flex-wrap: wrap; gap: 8px; margin-block-end: var(--s-4); }
.sp__steps button { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px 0 8px; border-radius: 999px; border: 1px solid rgb(32 36 33 / .16); background: #fff; font: 600 15px/1 var(--font-text); color: var(--p-muted); transition: background-color 250ms ease, color 250ms ease, border-color 250ms ease; }
.sp__steps b { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--p-surface); font: 700 13px/1 var(--font-text); color: var(--p-ink); transition: background-color 250ms ease, color 250ms ease; }
.sp__steps button[aria-pressed="true"] { background: var(--p-ink); color: #fff; border-color: var(--p-ink); }
.sp__steps button[aria-pressed="true"] b { background: var(--p-accent); color: #111; }
.sp__stage { position: relative; height: clamp(400px, 56vh, 500px); container-type: size; background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 30px 60px -44px rgb(32 36 33 / .4); overflow: hidden; background-image: radial-gradient(rgb(32 36 33 / .09) 1px, transparent 1.4px); background-size: 22px 22px; }
.sp__scraps, .sp__map { position: absolute; inset: 0; }
.sp__scrap { position: absolute; inset-block-start: 0; left: 0; max-width: 44cqw; padding: 8px 12px; border-radius: 10px; background: #fff; border: 1px solid var(--line); box-shadow: 0 10px 18px -14px rgb(32 36 33 / .6); font: 500 clamp(13px, 1.1cqw + 6px, 16px)/1.25 var(--font-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  translate: calc(var(--x) * 1cqw) calc(var(--y) * 1cqh - 130cqh); rotate: var(--r); opacity: 0;
  transition: translate 900ms var(--ease-out), rotate 900ms var(--ease-out), scale 700ms var(--ease-in-out), opacity 500ms ease; transition-delay: calc(var(--i) * 80ms); }
.sp__scrap--file { border-inline-start: 4px solid #55a8dd; }
.sp__scrap--voice { border-inline-start: 4px solid #f25270; }
.sp__scrap--note { background: #fff3c4; border-color: #ecd98a; border-radius: 3px; }
.sp__scrap--chat { background: #dff3ea; border-color: #bfe3d2; border-radius: 12px 4px 12px 12px; }
.sp__scrap--quote { background: var(--p-surface); font-style: italic; }
.sp[data-phase="1"] .sp__scrap { translate: calc(var(--x) * 1cqw) calc(var(--y) * 1cqh); opacity: 1; }
.sp[data-phase="2"] .sp__scrap, .sp[data-phase="3"] .sp__scrap { translate: calc(var(--nx) * 1cqw - 50%) calc(var(--ny) * 1cqh - 50%); rotate: 0deg; scale: .35; opacity: 0; transition-delay: calc(var(--i) * 45ms); }
.sp__map { transform-origin: 100% 50%; transition: scale 900ms var(--ease-in-out), translate 900ms var(--ease-in-out), opacity 600ms ease; }
.sp__map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.sp__map path { fill: none; stroke: var(--p-ink); stroke-width: 2; vector-effect: non-scaling-stroke; opacity: 0; transition: opacity 500ms ease; transition-delay: calc(var(--i) * 160ms + 900ms); }
.sp__node { position: absolute; inset-block-start: 0; left: 0; width: min(24cqw, 170px); min-height: 46px; display: grid; place-items: center; text-align: center; padding: 8px 10px; border-radius: 12px; background: #fff; border: 2px solid var(--p-ink); font: 600 clamp(12px, 1.3cqw + 8px, 15px)/1.2 var(--font-text);
  translate: calc(var(--cx) * 1cqw - 50%) calc(var(--cy) * 1cqh - 50%); scale: .6; opacity: 0; transition: scale 500ms var(--ease-out), opacity 400ms ease; transition-delay: calc(var(--i) * 140ms + 500ms); }
.sp__node--ask { background: var(--p-ink); color: #fff; border-radius: 999px; }
.sp__node--no { width: auto; min-height: 0; padding: 5px 10px; border: 1px dashed rgb(32 36 33 / .5); border-radius: 999px; font-size: 12px; font-weight: 500; color: var(--p-muted); white-space: nowrap; }
.sp[data-phase="2"] .sp__node, .sp[data-phase="3"] .sp__node { scale: 1; opacity: 1; }
.sp[data-phase="2"] .sp__map path, .sp[data-phase="3"] .sp__map path { opacity: 1; }
.sp[data-phase="0"] .sp__node, .sp[data-phase="1"] .sp__node, .sp[data-phase="0"] .sp__map path, .sp[data-phase="1"] .sp__map path { transition-delay: 0ms; transition-duration: 250ms; }
.sp[data-phase="3"] .sp__map { scale: .56; translate: -3cqw 0; }
.sp__doc { position: absolute; inset-block: 9cqh; left: 6cqw; width: min(34cqw, 330px); display: flex; flex-direction: column; gap: 12px; padding: 22px 20px; background: #fff; border: 1px solid var(--line); border-radius: 6px 22px 6px 6px; box-shadow: 0 30px 50px -28px rgb(32 36 33 / .55); rotate: -2deg; translate: -14cqw 6cqh; opacity: 0; transition: translate 900ms var(--ease-out), opacity 500ms ease; }
.sp[data-phase="3"] .sp__doc { translate: 0 0; opacity: 1; transition-delay: 500ms; }
.sp__doc-top { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding-block-end: 12px; border-block-end: 2px solid var(--p-ink); }
.sp__doc-top b { font: 800 22px/1 var(--font-display); font-stretch: 84%; }
.sp__doc-top small { font-size: 12px; color: var(--p-muted); }
.sp__doc ol { display: grid; gap: 9px; counter-reset: d; }
.sp__doc li { display: flex; align-items: center; gap: 9px; font-size: 14px; opacity: 0; translate: 8px 0; transition: opacity 350ms ease, translate 450ms var(--ease-out); }
.sp__doc li i { flex: none; width: 16px; height: 16px; border-radius: 50%; background: var(--p-ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.200 8.300 2.400 2.400 5.200 -5.400' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.sp[data-phase="3"] .sp__doc li { opacity: 1; translate: 0 0; transition-delay: calc(var(--i) * 220ms + 1100ms); }
.sp__doc-tag { margin-block-start: auto; align-self: start; padding: 7px 12px; border-radius: 999px; background: #d9f3e4; color: #0c5b33; font: 600 13px/1 var(--font-text); }
.sp__pause { display: block; margin-block-start: var(--s-4); min-height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font: 500 13.5px/1 var(--font-text); color: var(--p-ink); }
@container (max-width: 620px) {
  .sp__scrap { font-size: 12px; padding: 6px 9px; max-width: 58cqw; }
  .sp__node { width: 28cqw; min-height: 40px; padding: 6px; border-width: 1.5px; }
  .sp__node--no { width: auto; font-size: 10.5px; }
  .sp__doc { width: 74cqw; left: 13cqw; inset-block: 7cqh; }
}
@media (max-width: 720px) { .sp[data-phase="3"] .sp__map { scale: 1; translate: 0 0; opacity: .13; } .sp__steps button { font-size: 13.5px; padding-inline-end: 12px; } }
@media (prefers-reduced-motion: reduce) { .sp__pause { display: none; } .sp__scrap, .sp__node, .sp__map, .sp__map path, .sp__doc, .sp__doc li { transition: none !important; } }

/* ---------- stance: sticky notes pile up until nothing is clear ---------- */
.notes { position: relative; height: clamp(340px, 58vh, 540px); margin-block: var(--s-5) clamp(40px, 6vw, 80px); }
.note { position: absolute; left: clamp(56px, calc(var(--x) * 1%), calc(100% - 56px)); top: calc(var(--y) * 1%); width: clamp(112px, 13vw, 168px); aspect-ratio: 1; display: grid; place-items: center; padding: 12px; text-align: center; background: #ffe680; color: #1a1c1a; font: 600 clamp(14px, 1.35vw, 18px)/1.25 var(--font-text); box-shadow: 0 14px 20px -12px rgb(60 10 20 / .55), inset 0 -18px 18px -18px rgb(0 0 0 / .12); translate: -50% -50%; rotate: var(--r); scale: .7; opacity: 0; transition: scale 360ms var(--ease-out), opacity 220ms ease; }
.note::before { content: ""; position: absolute; inset-block-start: 0; inset-inline: 0; height: 18%; background: rgb(0 0 0 / .05); }
.note--w { background: #fff; } .note--m { background: #bfeede; } .note--p { background: #ffd0dc; }
.note.is-in { scale: 1; opacity: 1; }
@media (max-width: 639px) { .notes { height: 420px; margin-inline: -6px; } .note { width: 104px; font-size: 13px; padding: 9px; } }
@media (prefers-reduced-motion: reduce) { .note { transition: none; } }

/* automation, with more to it: a check, a decision and two endings */
.mk-flow2 { display: grid; gap: 10px; padding: 14px; }
.mk-lane__row { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.mk-lane__row::before { content: ""; position: absolute; inset-inline: 16.6%; inset-block-start: 19px; height: 2px; background: var(--line); }
.mk-lane__row--top::before { background: linear-gradient(to left, #f25270, #f4b66d, #79ddd3); }
.mk-node--s { gap: 5px; }
.mk-node--s i { width: 40px; height: 40px; border-radius: 11px; }
.mk-node--s i img { width: 21px; height: 21px; }
.mk-node--s i svg { width: 20px; height: 20px; }
.mk-node--s b { font-size: 12px; font-weight: 500; }
.mk-lane { display: grid; gap: 6px; padding: 8px 8px 10px; border-radius: 12px; background: #f6f6f4; }
.mk-lane__lbl { justify-self: start; padding: 4px 9px; border-radius: 999px; font: 600 11.5px/1 var(--font-text); background: #d9f3e4; color: #0c5b33; }
.mk-lane--no .mk-lane__lbl { background: #fdecc8; color: #7a4b00; }
.mk-flow__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 0 14px 14px; }
.mk-flow__foot small { margin-inline-start: auto; }
@container (max-width: 380px) { .mk-node--s b { font-size: 11px; } .mk-flow__foot small { margin: 0; flex-basis: 100%; } }

/* ---------- stories: a drawer of folders. Each client is a folder with an index tab; the open one shows its sheet ---------- */
.fd { margin-block-start: var(--s-7); padding-block-start: 38px; }
.fd__f { position: relative; margin-block-start: 28px; background: var(--c); border-radius: 18px; box-shadow: 0 -10px 22px -18px rgb(32 36 33 / .45); transition: translate 260ms var(--ease-out); }
.fd__f:first-child { margin-block-start: 0; }
.fd__tab::before { content: ""; position: absolute; inset-inline: 0; inset-block-start: 100%; height: 6px; background: var(--c); }
.fd__f h3, .fd__f .fd__h { margin: 0; height: 0; font: inherit; letter-spacing: normal; }
.fd__tab { position: absolute; inset-block-end: calc(100% - 1px); inset-inline-start: calc(var(--i) * 12% + 20px); display: flex; align-items: center; gap: 10px; height: 38px; max-width: min(60%, 440px); padding: 0 18px; border: 0; border-radius: 14px 14px 0 0; background: var(--c); color: var(--p-ink); font: 700 15.5px/1 var(--font-text); white-space: nowrap; }
.fd__tab::after { content: ""; position: absolute; inset-inline: 0; inset-block-start: 0; height: 100%; border-radius: inherit; box-shadow: inset 0 1px 0 rgb(255 255 255 / .7); pointer-events: none; }
.fd__tab span { overflow: hidden; text-overflow: ellipsis; }
.fd__tab small { font: 500 12.5px/1 var(--font-text); color: rgb(32 36 33 / .7); overflow: hidden; text-overflow: ellipsis; }
.fd__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 360ms var(--ease-out); }
.fd__body > div { overflow: hidden; min-height: 22px; }
.fd__f.is-open .fd__body { grid-template-rows: 1fr; }
.fd__sheet { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: clamp(20px, 4vw, 56px); align-items: center; margin: 22px clamp(14px, 2.4vw, 28px) clamp(30px, 4vw, 44px); padding: clamp(20px, 3vw, 36px); background: #fff; border-radius: 4px 14px 14px 14px; box-shadow: 0 16px 28px -20px rgb(32 36 33 / .5); rotate: -.5deg; translate: 0 24px; opacity: 0; transition: translate 420ms var(--ease-out), opacity 260ms ease; }
.fd__f.is-open .fd__sheet { translate: 0 0; opacity: 1; transition-delay: 90ms; }
.fd__who img { max-width: 180px; max-height: 72px; width: auto; height: auto; }
.fd__name { font: 800 clamp(24px, 2.6vw, 34px)/1.05 var(--font-display); font-stretch: 84%; }
.fd__head { font: 800 clamp(24px, 2.8vw, 38px)/1.08 var(--font-display); font-stretch: 84%; font-variation-settings: "wdth" 84; margin-block-end: 12px; }
.fd__txt ul { display: grid; gap: 6px; color: var(--p-muted); max-width: 60ch; }
.fd__txt li b { color: var(--p-ink); }
.fd__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-block-start: 16px; }
.fd__tags span { padding: 6px 11px; border-radius: 999px; background: var(--p-surface); font: 600 12.5px/1 var(--font-text); }
@media (hover: hover) and (pointer: fine) { .fd__f:not(.is-open):hover { translate: 0 -6px; } }
@media (max-width: 859px) { .fd__tab { inset-inline-start: calc(var(--i) * 6% + 12px); max-width: 64%; padding: 0 13px; font-size: 14px; } .fd__tab small { display: none; } .fd__sheet { grid-template-columns: 1fr; gap: 14px; } .fd__who img { max-height: 48px; } }
@media (prefers-reduced-motion: reduce) { .fd__body, .fd__sheet, .fd__f { transition: none; } }

/* hero board, the mess in more colours: every card belongs to another tool and another person */
.fb__card { border-color: var(--mb); background: var(--mc); }
.fb__tangle path { stroke-width: 2.2; vector-effect: none; stroke-dasharray: none; }
.fb__q { position: absolute; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); font: 800 26px/1 var(--font-display); color: var(--p-accent); rotate: 12deg; transition: opacity 300ms ease, scale 300ms var(--ease-out); }
.fb__q + .fb__q { rotate: -14deg; color: #55a8dd; }
.fb[data-state="order"] .fb__q { opacity: 0; scale: .5; }
.fb__ico { position: relative; width: 36px; height: 36px; overflow: hidden; background: #fff; box-shadow: 0 0 0 2px #fff, 0 2px 6px rgb(32 36 33 / .3); }
.fb__ico img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 300ms ease; }
.fb[data-state="order"] .fb__ico { box-shadow: none; }
.fb[data-state="order"] .fb__ico img { opacity: 0; }
.fb__src .fb__a { display: inline-flex; align-items: center; gap: 6px; background: #fff; color: var(--p-ink); box-shadow: 0 0 0 1px var(--mb); }
.fb__src .fb__a img { width: 15px; height: 15px; }
.fb__src .fb__a svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }

/* buttons, second pass: pills like the nav, a deep wine label on the pink (5.5:1), a little light on the top edge */
:root { --p-action-ink: #2a0610; }
.btn { border-radius: 999px; padding-inline: 26px; font-weight: 700; letter-spacing: 0; }
.btn--primary { color: var(--p-action-ink); box-shadow: inset 0 1px 0 rgb(255 255 255 / .38), 0 12px 22px -14px rgb(242 82 112 / .95); }
.btn--secondary { border-color: rgb(32 36 33 / .22); box-shadow: 0 8px 18px -16px rgb(32 36 33 / .6); }
.nav .btn { padding-inline: 20px; }
.nav.is-pill .nav__bar { padding-inline-end: 8px; }
.section--ink .btn--primary { color: var(--p-action-ink); }

.mn-uses { margin-block-start: var(--s-4); display: grid; gap: 12px; }
.mn-uses h3 { font: 600 15px/1.3 var(--font-text); color: var(--p-inv-muted); }
.mn-uses ul { display: flex; flex-wrap: wrap; gap: 8px; }
.mn-uses li { padding: 9px 14px; border-radius: 999px; border: 1px solid rgb(255 255 255 / .22); font: 500 14.5px/1 var(--font-text); }
.mn-uses p { font-size: var(--t-small) !important; color: var(--p-inv-muted); max-width: none; }
@media (min-width: 860px) and (max-width: 1100px) { .nav__links a { padding: 0 8px; font-size: 14.5px; } .nav__bar { gap: var(--s-3); } }

/* about: who started it, what we hold to, what we are after. Short. */
.about { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); margin-block: var(--s-6) var(--s-7); padding: clamp(22px, 3vw, 40px); background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 30px 60px -48px rgb(32 36 33 / .4); }
.about__story { display: grid; gap: 14px; align-content: start; font-size: var(--t-lead); line-height: 1.55; }
.about__values { display: grid; gap: 0; align-content: start; }
.about__values li { display: grid; gap: 3px; padding-block: 14px; border-block-start: 1px solid var(--line); }
.about__values li:first-child { border: 0; padding-block-start: 0; }
.about__values b { font: 700 18px/1.3 var(--font-text); }
.about__values span { color: var(--p-muted); font-size: 16px; }
@media (max-width: 859px) { .about { grid-template-columns: 1fr; } .about__story { font-size: 18px; } }

/* hero board, in order: two honest forks off the main line (one runs in parallel, one waits on a condition) */
.fb__src .fb__fork { display: grid; gap: 3px; width: max-content; max-width: 27cqw; padding: 7px 10px; border-radius: 10px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 8px 14px -12px rgb(32 36 33 / .5); font: 500 12.5px/1.25 var(--font-text); white-space: normal; text-align: start; }
.fb__fork i { font: 700 11px/1 var(--font-text); font-style: normal; color: #0c5b33; }
.fb__card:nth-child(4) .fb__fork i { color: #9a5b00; }
.fb__src .fb__fork::before { border-block-start: 2px solid rgb(32 36 33 / .55); }
.fb__forkline { display: none; }
.fb__forkline i { font-style: normal; font-weight: 700; color: #0c5b33; }
.fb__card:nth-child(4) .fb__forkline i { color: #9a5b00; }
@container (max-width: 430px) { .fb__b small:has(+ .fb__forkline) { display: none; } .fb__forkline { display: block; color: var(--p-ink) !important; } }
.fb__src .fb__fork { font-size: 13px; max-width: 29cqw; }

.about { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: start; }
.about__story { gap: 16px; }
.about__open { font-size: var(--t-lead); }
.about__pull { font: 800 clamp(26px, 3.2vw, 44px)/1.08 var(--font-display); font-stretch: 84%; font-variation-settings: "wdth" 84; color: var(--p-ink); text-wrap: balance; padding-inline-start: 18px; border-inline-start: 5px solid var(--p-accent); margin-block: 6px; }
.about__story > p:not(.about__open):not(.about__pull):not(.about__sign) { font-size: var(--t-body); line-height: 1.65; }
.about__sign { display: flex; align-items: center; margin-block-start: 8px; font: 700 17px/1.2 var(--font-text); }
.about__sign img { width: 48px; height: 48px; border-radius: 50%; background: #fbe1da; box-shadow: 0 0 0 3px #fff; }
.about__sign img + img { margin-inline-start: -12px; background: #dff3ef; }
.about__sign span { display: grid; margin-inline-start: 12px; }
.about__sign small { font: 400 14px/1.3 var(--font-text); color: var(--p-muted); }
.about__values { padding: clamp(16px, 2vw, 24px); border-radius: 16px; background: var(--p-surface); }
@media (max-width: 859px) { .about { grid-template-columns: 1fr; } }

/* hero tangle, third pass: quiet grey hand-off arrows that really run from card to card */
.fb__tangle { opacity: 0; transition: opacity 350ms ease; z-index: 0; }
.fb[data-state="mess"] .fb__tangle.is-drawn { opacity: 1; }
.fb__tangle path { fill: none; stroke: #6b6f6c !important; stroke-width: 1.8; stroke-dasharray: 3 6; stroke-linecap: round; }
.fb__tangle marker path { stroke-dasharray: none; }
.fb__cards { z-index: 1; }

/* hero board, in order: each step shows the platform it runs on */
.fb__ico .fb__app { position: absolute; inset: 0; margin: auto; width: 21px; height: 21px; object-fit: contain; opacity: 0; transition: opacity 300ms ease; }
.fb[data-state="order"] .fb__ico { background: #fff; box-shadow: 0 0 0 1px rgb(32 36 33 / .16), 0 2px 6px rgb(32 36 33 / .12); }
.fb[data-state="order"] .fb__ico .fb__app { opacity: 1; }
.fb[data-state="order"] .fb__ico img:not(.fb__app) { opacity: 0; }
.fb[data-state="mess"] .fb__ico .fb__app, .fb:not([data-state="order"]) .fb__ico .fb__app { opacity: 0; }

/* hero board, in order: the dot stops beside each step, the step is ticked, and the dot moves on */
.fb[data-state="order"] .fb__dot { animation: fb-steps 5400ms 900ms var(--ease-in-out) both; }
@keyframes fb-steps {
  0% { opacity: 0; translate: 0 -3cqh; }
  4%, 18% { opacity: 1; translate: 0 1cqh; }
  24%, 38% { opacity: 1; translate: 0 21cqh; }
  44%, 58% { opacity: 1; translate: 0 41cqh; }
  64%, 78% { opacity: 1; translate: 0 61cqh; }
  84%, 96% { opacity: 1; translate: 0 81cqh; }
  100% { opacity: 0; translate: 0 81cqh; }
}
.fb__src .fb__b { padding-inline-start: 26px !important; background: #d9f3e4 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3.500 8.400 2.800 2.800 6.200 -6.400' fill='none' stroke='%230c5b33' stroke-width='2.400' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 8px center / 13px !important; color: #0c5b33 !important; }
.fb[data-state="order"] .fb__src .fb__b { opacity: 1; transition: none; animation: fb-done 420ms var(--ease-out) both; animation-delay: calc(var(--i) * 1080ms + 1350ms); }
@keyframes fb-done { from { opacity: 0; scale: .7; } }
.fb[data-state="order"] .fb__card { animation: fb-hit 500ms var(--ease-out) both; animation-delay: calc(var(--i) * 1080ms + 1150ms); }
@keyframes fb-hit { 40% { border-color: var(--p-accent); box-shadow: 0 0 0 4px rgb(242 82 112 / .14); } }
@media (prefers-reduced-motion: reduce) { .fb[data-state="order"] .fb__dot, .fb[data-state="order"] .fb__src .fb__b, .fb[data-state="order"] .fb__card { animation: none; } }

/* stance: the line above the pile is a heading, and everything on the pink is set in the deep wine (5.5:1) */
.stance { color: #2a0610; }
.stance__kicker { font: 800 clamp(26px, 3.6vw, 50px)/1.08 var(--font-display); font-stretch: 84%; font-variation-settings: "wdth" 84; text-wrap: balance; max-width: 18em; margin-block-end: var(--s-4); color: #2a0610; }
.stance h2, .stance__lede { color: #2a0610; }

/* sticky notes in handwriting */
.note { font: 400 clamp(19px, 1.9vw, 25px)/1.05 "Gveret Levin", "Playpen Sans Hebrew", var(--font-text); letter-spacing: 0; }
@media (max-width: 639px) { .note { font-size: 18px; } }

/* ---------- spec canvas, second version: five phases, three real diagrams ---------- */
.sp__layer { position: absolute; inset: 0; padding: 40px clamp(12px, 2.2cqw, 28px) 14px; opacity: 0; transition: opacity 450ms ease; pointer-events: none; }
.sp__layer svg { width: 100%; height: 100%; overflow: visible; font-family: var(--font-text); }
.sp__wide, .sp__narrow { width: 100%; height: 100%; }
.sp__narrow { display: none; }
.sp__cap { position: absolute; inset-block-start: 12px; inset-inline-start: 18px; margin: 0; padding: 5px 12px; border-radius: 999px; background: var(--p-ink); color: #fff; font: 600 13px/1.2 var(--font-text); }
.sp[data-phase="2"] .sp__layer--2, .sp[data-phase="3"] .sp__layer--3, .sp[data-phase="4"] .sp__layer--4, .sp[data-phase="5"] .sp__layer--5 { opacity: 1; }
.sp .sv { opacity: 0; transition: opacity 380ms ease; }
.sp[data-phase="2"] .sp__layer--2 .sv, .sp[data-phase="3"] .sp__layer--3 .sv, .sp[data-phase="4"] .sp__layer--4 .sv { opacity: 1; transition-delay: calc(var(--i) * 190ms + 350ms); }
.sp .sv--draw { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1600ms var(--ease-in-out), opacity 200ms ease; }
.sp[data-phase="4"] .sp__layer--4 .sv--draw { stroke-dashoffset: 0; }
.sp[data-phase="2"] .sp__scrap, .sp[data-phase="3"] .sp__scrap, .sp[data-phase="4"] .sp__scrap, .sp[data-phase="5"] .sp__scrap { translate: calc(var(--nx) * 1cqw - 50%) calc(var(--ny) * 1cqh - 50%); rotate: 0deg; scale: .35; opacity: 0; transition-delay: calc(var(--i) * 30ms); }
.sp__layer--5 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 4cqw; padding: 5cqh 6cqw; }
.sp__layer--5 .sp__doc { position: relative; inset: auto; left: auto; width: auto; max-width: 360px; justify-self: end; translate: 0 8cqh; opacity: 0; transition: translate 800ms var(--ease-out), opacity 450ms ease; }
.sp[data-phase="5"] .sp__layer--5 .sp__doc { translate: 0 0; opacity: 1; transition-delay: 900ms; }
.sp[data-phase="5"] .sp__doc li { opacity: 1; translate: 0 0; transition-delay: calc(var(--i) * 200ms + 1400ms); }
.sp__doc li i { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.200 8.300 2.400 2.400 5.200 -5.400' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important; background-size: 12px !important; background-repeat: no-repeat !important; background-position: center !important; }
.sp__thumbs { display: grid; gap: 12px; justify-items: start; }
.sp__thumbs span { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 6px 10px; width: min(100%, 250px); padding: 12px 14px; border-radius: 14px; background: var(--c); box-shadow: 0 12px 20px -16px rgb(32 36 33 / .5); opacity: 0; translate: -6cqw 0; transition: translate 700ms var(--ease-out), opacity 400ms ease; transition-delay: calc(var(--i) * 160ms + 200ms); }
.sp__thumbs b { grid-column: 1 / -1; font: 700 14px/1.2 var(--font-text); }
.sp__thumbs i { height: 6px; border-radius: 3px; background: rgb(32 36 33 / .22); grid-column: 1 / -1; }
.sp__thumbs i:nth-of-type(2) { width: 70%; } .sp__thumbs i:nth-of-type(3) { width: 45%; }
.sp[data-phase="5"] .sp__thumbs span { opacity: 1; translate: 0 0; }
.sp__stage { height: clamp(430px, 60vh, 520px); }
@container (max-width: 620px) { .sp__wide { display: none; } .sp__narrow { display: block; } .sp__layer { padding: 44px 8px 10px; } .sp__layer--5 { grid-template-columns: 1fr; padding: 6cqh 8cqw; } .sp__thumbs { display: none; } .sp__layer--5 .sp__doc { justify-self: center; width: 100%; } }
@media (max-width: 720px) { .sp__stage { height: 500px; } .sp__steps button { padding: 0 12px 0 6px; font-size: 13.5px; gap: 7px; } .sp__steps b { width: 24px; height: 24px; } }
@media (prefers-reduced-motion: reduce) { .sp .sv, .sp__layer, .sp__thumbs span { transition: none !important; } }

/* spec: the steps as a progress line */
.sp__steps { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; margin-block-end: var(--s-5); }
.sp__track { position: absolute; inset-inline: 10%; inset-block-start: 17px; height: 4px; border-radius: 4px; background: rgb(32 36 33 / .14); }
.sp__track i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(to left, #f25270, #f4b66d, #79ddd3, #55a8dd); transform-origin: right; transform: scaleX(calc((var(--ph, 1) - 1) / 4)); transition: transform 700ms var(--ease-in-out); }
.sp__steps button { position: relative; display: grid; justify-items: center; gap: 8px; min-height: 0; padding: 0 4px; border: 0; border-radius: 0; background: none !important; color: var(--p-muted) !important; font: 600 15px/1.25 var(--font-text); text-align: center; }
.sp__steps button b { width: 38px; height: 38px; background: #fff !important; color: var(--p-muted) !important; box-shadow: 0 0 0 2px rgb(32 36 33 / .18); font-size: 15px; transition: background-color 300ms ease, color 300ms ease, box-shadow 300ms ease, scale 300ms var(--ease-out); }
.sp__steps button.is-done b { background: var(--p-ink) !important; color: #fff !important; box-shadow: 0 0 0 2px var(--p-ink); }
.sp__steps button[aria-pressed="true"] { color: var(--p-ink) !important; }
.sp__steps button[aria-pressed="true"] b { background: var(--p-accent) !important; color: #2a0610 !important; box-shadow: 0 0 0 2px var(--p-accent), 0 0 0 7px rgb(242 82 112 / .2); scale: 1.08; }
@media (max-width: 639px) { .sp__steps button { font-size: 12px; } .sp__steps button b { width: 32px; height: 32px; } .sp__track { inset-block-start: 14px; } }
/* spec: the document as an open spread, with a contents page and a page of requirements and diagrams */
.sp__layer--5 { display: grid !important; grid-template-columns: 1fr !important; place-items: center; padding: 4cqh 4cqw !important; }
.sp__book { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: min(100%, 760px); height: min(100%, 420px); filter: drop-shadow(0 26px 30px rgb(32 36 33 / .28)); translate: 0 6cqh; opacity: 0; transition: translate 800ms var(--ease-out), opacity 450ms ease; }
.sp[data-phase="5"] .sp__book { translate: 0 0; opacity: 1; transition-delay: 250ms; }
.sp__page { display: flex; flex-direction: column; gap: 10px; padding: 20px 20px 16px; background: #fff; border: 1px solid var(--line); min-height: 0; overflow: hidden; }
.sp__page--toc { border-radius: 0 16px 16px 0; rotate: .4deg; transform-origin: left center; }
.sp__page--body { border-radius: 16px 0 0 16px; background: #fdfdfc; rotate: -.4deg; transform-origin: right center; }
.sp__toc { display: grid; gap: 7px; }
.sp__toc li { display: flex; align-items: center; gap: 9px; font-size: 13.5px; opacity: 0; translate: 8px 0; transition: opacity 300ms ease, translate 400ms var(--ease-out); }
.sp__toc li span { flex: 1; min-width: 0; border-block-end: 1px dotted rgb(32 36 33 / .3); padding-block-end: 2px; }
.sp__toc li em { font-style: normal; font-size: 12px; color: var(--p-muted); font-variant-numeric: tabular-nums; }
.sp__toc li i { flex: none; width: 15px; height: 15px; border-radius: 50%; background-size: 11px; background-repeat: no-repeat; background-position: center; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.200 8.300 2.400 2.400 5.200 -5.400' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.sp[data-phase="5"] .sp__toc li { opacity: 1; translate: 0 0; transition-delay: calc(var(--i) * 150ms + 800ms); }
.sp__ph { margin: 0; font: 700 13px/1.2 var(--font-text); color: var(--p-muted); }
.sp__reqs { display: grid; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.sp__reqs li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 6px 9px; font-size: 12.5px; background: #fff; opacity: 0; transition: opacity 300ms ease; }
.sp__reqs li + li { border-block-start: 1px solid var(--line); }
.sp__reqs b { font: 600 11px/1 var(--font-mono); color: var(--p-muted); direction: ltr; }
.sp__reqs span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sp__reqs em { font-style: normal; font-weight: 600; font-size: 11.5px; padding: 3px 8px; border-radius: 999px; background: #d9f3e4; color: #0c5b33; }
.sp__reqs em.nice { background: #fdecc8; color: #7a4b00; }
.sp[data-phase="5"] .sp__reqs li { opacity: 1; transition-delay: calc(var(--i) * 180ms + 1500ms); }
.sp__minis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-block-start: auto; }
.sp__minis figure { margin: 0; padding: 8px 8px 6px; border: 1px solid var(--line); border-radius: 10px; background: #fff; display: grid; gap: 4px; opacity: 0; scale: .9; transition: opacity 300ms ease, scale 400ms var(--ease-out); }
.sp__minis svg { width: 100%; height: auto; }
.sp__minis figcaption { font-size: 11.5px; text-align: center; color: var(--p-muted); }
.sp[data-phase="5"] .sp__minis figure { opacity: 1; scale: 1; transition-delay: calc(var(--i) * 200ms + 2300ms); }
.sp__page .sp__doc-tag { margin-block-start: auto; }
@container (max-width: 620px) { .sp__book { grid-template-columns: 1fr; height: auto; width: 92%; } .sp__page--toc { display: none; } .sp__page--body { border-radius: 14px; rotate: -.6deg; } .sp__ph:first-child::before { content: "מסמך אפיון · "; color: var(--p-ink); } }

/* folders, spacing pass: a real stack. Each folder overlaps the one behind it, so there is no page showing between them */
.fd__f { margin-block-start: -18px; border-radius: 18px 18px 18px 18px; box-shadow: 0 -8px 16px -12px rgb(32 36 33 / .35); }
.fd__f:first-child { margin-block-start: 0; }
.fd__body > div { min-height: 66px; }
.fd__f:last-child .fd__body > div { min-height: 48px; }
.fd__tab { height: 40px; inset-block-end: calc(100% - 1px); box-shadow: 0 -6px 10px -8px rgb(32 36 33 / .3); }
.fd__sheet { margin-block: 20px 46px; }
.fd__f:last-child .fd__sheet { margin-block-end: 28px; }

/* gallery logos: a fixed box, so an SVG with no size of its own still shows */
.tg li img { width: 40px; height: 36px; max-width: none; max-height: none; object-fit: contain; }
.tg li img.is-wide { width: 92px; height: 30px; }

/* spec document: the diagrams fill the page under their heading instead of sitting at the foot */
.sp__minis { margin-block-start: 0; flex: 1; min-height: 0; align-items: stretch; }
.sp__minis figure { align-content: center; padding: 10px 10px 8px; }
.sp__minis svg { max-height: 100%; }
.sp__minis figcaption { font-size: 12.5px; }

/* mock avatars as photos */
.mk-av--ph { overflow: hidden; padding: 0; background: #fff; }
.mk-av--ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* portal, second act: the customer opens a ticket, types, sends, and gets an answer */
.mk-dash { position: relative; overflow: hidden; }
.mk-btn--open { justify-self: start; min-width: 0; padding-inline: 18px; background: #fff; color: #202421; border: 1px solid rgb(32 36 33 / .2); }
.mk-sheet { position: absolute; inset-inline: 0; inset-block-end: 0; display: grid; padding: 18px 16px 16px; background: #fff; border-block-start: 1px solid var(--line); border-radius: 18px 18px 0 0; box-shadow: 0 -18px 30px -18px rgb(32 36 33 / .35); }
.mk-sheet > div { grid-area: 1 / 1; display: grid; gap: 8px; align-content: start; }
.mk-sheet b { font-size: 15px; }
.mk-input { display: block; min-height: 44px; padding: 11px 12px; border-radius: 10px; border: 1px solid rgb(32 36 33 / .25); font-size: 14px; }
.mk-type { display: inline-block; }
.mk-btn--send { justify-self: start; min-width: 0; padding-inline: 22px; height: 40px; }
.mk-sheet__done { justify-items: start; }
.mk-ok { width: 34px; height: 34px; border-radius: 50%; background: #17a05a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3.500 8.400 2.800 2.800 6.200 -6.400' fill='none' stroke='%23fff' stroke-width='2.200' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; }
.mock:not(.is-play) .mk-sheet { display: none; }
.mock.is-play .mk-btn--open { animation: mk-press 320ms 4400ms both; }
.mock.is-play .mk-sheet { animation: mk-sheet 520ms 4750ms var(--ease-out) both; }
@keyframes mk-sheet { from { translate: 0 105%; } }
.mock.is-play .mk-type { animation: mk-type 1500ms 5350ms steps(26) both; }
@keyframes mk-type { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0 0 0 0); } }
.mock.is-play .mk-btn--send { animation: mk-press 320ms 7100ms both; }
.mock.is-play .mk-sheet__form { animation: mk-out 250ms 7450ms both; }
.mock.is-play .mk-sheet__done { animation: sq-in 450ms 7650ms var(--ease-out) both; }

/* chat: system lines between the messages show what the systems do behind the conversation */
.mk-chat__body { gap: 7px; }
.mk-log { align-self: center; display: inline-flex; align-items: center; gap: 7px; padding: 4px 11px 4px 9px; border-radius: 8px; background: rgb(32 36 33 / .07); font: 500 12px/1.3 var(--font-text); color: #3a3d3b; }
.mk-log::before { content: ""; flex: none; width: 12px; height: 12px; border-radius: 50%; border: 2px solid #8a8d8b; border-inline-start-color: transparent; }
.mock.is-play .mk-log:not(.mk-log--ok)::before { animation: mk-spin 700ms linear 2; animation-delay: var(--d); }
@keyframes mk-spin { to { rotate: 360deg; } }
.mk-log--ok { background: #d9f3e4; color: #0c5b33; }
.mk-log--ok::before { border: 0; width: 13px; height: 13px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3.500 8.400 2.800 2.800 6.200 -6.400' fill='none' stroke='%230c5b33' stroke-width='2.400' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.mk-msg--agent { display: flex; align-items: flex-start; gap: 8px; }
.mk-msg--agent .mk-av { width: 28px; height: 28px; }
.mk-chat { min-height: 410px; }

/* footer, light: a warm paper sheet over the blobs, ink type, the pink wordmark */
.footer { background: var(--p-surface) !important; color: var(--p-ink); box-shadow: 0 -20px 40px -30px rgb(32 36 33 / .25); }
.footer__brand { border-block-end-color: var(--line); }
.footer h3 { color: var(--p-muted); }
.footer address { color: var(--p-ink); }
.footer address > span { color: var(--p-muted); }
.footer__legal { border-block-start-color: var(--line) !important; color: var(--p-muted) !important; }
.footer .flow-pause { border-color: rgb(32 36 33 / .25); color: var(--p-ink); }
@media (max-width: 639px) { .footer { box-shadow: 0 240px 0 var(--p-surface); } }

/* footer brand: the wordmark leads, the tagline follows */
.footer__brand img { width: clamp(190px, 26vw, 340px) !important; }
.footer__brand span { font: 700 clamp(20px, 2.6vw, 36px)/1.1 var(--font-display) !important; font-stretch: 84%; color: var(--p-ink); }
.footer__brand { gap: clamp(8px, 1vw, 14px); }

/* ---------- brand typeface: Fb Monopoly (the family the Menachem landing page already uses). Hebrew, digits and punctuation only; Latin falls through to the next family ---------- */
@font-face { font-family: "Monopoly"; src: url("/fonts/FbMonopolyHeb-Light.woff2") format("woff2"), url("/fonts/FbMonopolyHeb-Light.otf") format("opentype"); font-weight: 300; font-style: normal; font-display: swap; unicode-range: U+0020-0040, U+005B-0060, U+007B-007E, U+00A0-00FF, U+0590-05FF, U+2000-206F, U+20AA, U+20AC, U+FB1D-FB4F; }
@font-face { font-family: "Monopoly"; src: url("/fonts/FbMonopolyHeb-Regular.woff2") format("woff2"), url("/fonts/FbMonopolyHeb-Regular.otf") format("opentype"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0020-0040, U+005B-0060, U+007B-007E, U+00A0-00FF, U+0590-05FF, U+2000-206F, U+20AA, U+20AC, U+FB1D-FB4F; }
@font-face { font-family: "Monopoly"; src: url("/fonts/FbMonopolyHeb-Medium.woff2") format("woff2"), url("/fonts/FbMonopolyHeb-Medium.otf") format("opentype"); font-weight: 500; font-style: normal; font-display: swap; unicode-range: U+0020-0040, U+005B-0060, U+007B-007E, U+00A0-00FF, U+0590-05FF, U+2000-206F, U+20AA, U+20AC, U+FB1D-FB4F; }
@font-face { font-family: "Monopoly"; src: url("/fonts/FbMonopolyHeb-Bold.woff2") format("woff2"), url("/fonts/FbMonopolyHeb-Bold.otf") format("opentype"); font-weight: 700; font-style: normal; font-display: swap; unicode-range: U+0020-0040, U+005B-0060, U+007B-007E, U+00A0-00FF, U+0590-05FF, U+2000-206F, U+20AA, U+20AC, U+FB1D-FB4F; }
@font-face { font-family: "Monopoly"; src: url("/fonts/FbMonopolyHeb-Black.woff2") format("woff2"), url("/fonts/FbMonopolyHeb-Black.otf") format("opentype"); font-weight: 900; font-style: normal; font-display: swap; unicode-range: U+0020-0040, U+005B-0060, U+007B-007E, U+00A0-00FF, U+0590-05FF, U+2000-206F, U+20AA, U+20AC, U+FB1D-FB4F; }
:root { --font-display: "Monopoly", "Archivo", "Noto Sans Hebrew", system-ui, sans-serif; --font-text: "Monopoly", "IBM Plex Sans Hebrew", system-ui, sans-serif; --font-ui: "IBM Plex Sans Hebrew", system-ui, sans-serif; }
/* As on the Menachem landing page: one family. Headings in Black, running text in Regular. The product mockups keep a neutral UI face so they read as software, and form fields use the system font (the web licence is for display, not typing). Latin words inside a heading come from Archivo at a matching width. */
.mock, .mock *, .sp__stage, .sp__stage *:not(svg *), .mn-callcard, .wa-rows, .wa-table { font-family: var(--font-ui); }
.sp__layer svg { font-family: var(--font-ui); }
.mock .mk-node b, .mock b { font-family: var(--font-ui); }
input, select, textarea { font-family: system-ui, -apple-system, "Segoe UI", sans-serif !important; }
.note { font-family: "Gveret Levin", var(--font-ui) !important; }
h1, h2, .display { font-weight: 900; }
h1, h2, .display, .bw-text h3, .hw__pick b, .fd__head, .fd__name, .about__pull, .relay time, .wa-total, .stance__kicker, .footer__brand span, .sp__doc-top b, .tool-hero h1, .tool-cta h2 { font-stretch: 112%; font-variation-settings: "wdth" 112; }
.bw-text h3, .hw__pick b, .fd__head, .fd__name, .about__pull, .stance__kicker, .sp__doc-top b { font-weight: 700; }
.footer__brand span { font-family: "Archivo", sans-serif !important; font-weight: 700 !important; }

/* stance, the part under the headline: one sentence, then the three things a spec fixes for every step */
.stance h2 { margin-block-end: clamp(28px, 4vw, 56px); }
.stance__after { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 64px); align-items: start; padding-block-start: clamp(20px, 3vw, 36px); border-block-start: 3px solid #2a0610; }
.stance__lede { font: 500 clamp(19px, 1.7vw, 24px)/1.45 var(--font-text); max-width: none; margin: 0; }
.stance__defs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); margin: 0; }
.stance__defs dt { font: 700 clamp(18px, 1.6vw, 22px)/1.2 var(--font-display); margin-block-end: 8px; }
.stance__defs dd { margin: 0; font-size: 16px; line-height: 1.5; color: rgb(42 6 16 / .86); }
@media (max-width: 859px) { .stance__after { grid-template-columns: 1fr; } }
@media (max-width: 559px) { .stance__defs { grid-template-columns: 1fr; gap: 0; } .stance__defs div { padding-block: 14px; border-block-start: 1px solid rgb(42 6 16 / .3); } }

/* heading weight, one step down: Bold for the big headings, Medium for the sub-headings and the small labels */
h1, h2, .display, .tool-hero h1, .tool-cta h2, .luck li { font-weight: 700; }
.bw-text h3, .hw__pick b, .fd__head, .fd__name, .about__pull, .stance__kicker, .sp__doc-top b, .relay time, .stance__defs dt { font-weight: 500; }
.nav__links a, .fb__txt b, .fb__title, .fb__state span, .fb__src span, .hw__step, .relay li > b, .relay__where, .pill, .tm__card b, .about__values b, .about__sign, .fd__tab, .footer li a { font-weight: 500; }
.btn { font-weight: 700; }

/* v4.2: incoming call from the PBX inside the CRM mock; one type family for mixed Hebrew, Latin and digits in the systems gallery */
.mk-main { position: relative; }
.mk-call { position: absolute; z-index: 6; inset-block-start: 8px; inset-inline-end: 8px; max-width: calc(100% - 16px); display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 12px; background: #fff; border: 1px solid #bfe6cf; box-shadow: 0 18px 30px -18px rgb(32 36 33 / .55); opacity: 0; pointer-events: none; }
.mk-call i { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #1fa862; }
.mk-call svg { width: 16px; height: 16px; fill: #fff; }
.mk-call span { display: grid; gap: 2px; min-width: 0; }
.mk-call b { font-size: 12.5px; white-space: nowrap; }
.mk-call small { font-size: 11.5px; color: var(--p-muted); white-space: nowrap; }
.mk-call em { font-style: normal; font-size: 11px; font-weight: 600; padding: 4px 8px; border-radius: 999px; background: #e6f5ec; color: #0d5a32; white-space: nowrap; }
.mock.is-play .mk-call { animation: mk-call 2500ms 300ms var(--ease-out) both; }
.mock.is-play .mk-call i { animation: mk-ring 520ms 500ms ease-in-out 3; }
@keyframes mk-call { 0% { opacity: 0; transform: translateY(-8px) scale(.97); } 10%, 86% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-4px); } }
@keyframes mk-ring { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-14deg); } 75% { transform: rotate(14deg); } }
.mock.is-play .mk-card--move { animation-delay: 1900ms; }
.mock.is-play .mk-col__h em span:first-child, .mock.is-play .mk-col__h em span + span { animation-delay: 2700ms; }
@media (max-width: 639px) { .mk-call em { display: none; } }
@media (prefers-reduced-motion: reduce) { .mk-call { position: static; opacity: 1; max-width: none; box-shadow: none; } }
.tg li, .tg__mono, .tg-more, .pill { font-family: var(--font-ui); }
.tg li { font-weight: 600; }

/* v4.2 footer: white sheet, the brand is one quiet cell of the grid beside the link columns */
.footer { background: #fff !important; box-shadow: 0 -24px 48px -36px rgb(32 36 33 / .3); padding-block: clamp(44px, 5vw, 72px) var(--s-5) !important; }
.footer__grid { grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr)) !important; gap: var(--s-6) var(--s-5); align-items: start; }
.footer__brand { margin: 0 !important; padding: 0 !important; border: 0 !important; gap: 10px !important; direction: ltr; justify-items: end !important; text-align: right !important; }
.footer__brand img { width: 108px !important; }
.footer__brand span { font: 500 15px/1.3 "Archivo", sans-serif !important; font-stretch: 100% !important; font-variation-settings: "wdth" 100 !important; letter-spacing: 0; color: var(--p-muted) !important; }
.footer__legal { margin-block-start: clamp(36px, 4vw, 56px); }
@media (max-width: 1099px) { .footer__grid { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; } .footer__grid > .footer__brand { grid-column: 1 / -1 !important; } }
@media (max-width: 859px) { .footer__grid { grid-template-columns: 1fr 1fr !important; } }
@media (max-width: 639px) { .footer { box-shadow: 0 240px 0 #fff, 0 -24px 48px -36px rgb(32 36 33 / .3); } }

/* v4.2: pause controls as 44px icon buttons. The text label is kept for assistive tech and as the tooltip */
.fb__pause, .mq-pause, .sp__pause, .hw__pause, .mn-pause, .flow-pause { position: relative; flex: none; width: 44px; min-width: 44px; height: 44px; min-height: 44px; padding: 0 !important; border-radius: 50% !important; overflow: hidden; font-size: 0 !important; color: transparent !important; background: #fff; border: 1px solid rgb(32 36 33 / .22) !important; transition: transform 140ms var(--ease-out), border-color 160ms ease; }
.fb__pause::before, .mq-pause::before, .sp__pause::before, .hw__pause::before, .mn-pause::before, .flow-pause::before { content: ""; position: absolute; inset: 0; margin: auto; width: 12px; height: 14px; background: var(--p-ink); clip-path: polygon(0 0, 34% 0, 34% 100%, 0 100%, 0 0, 66% 0, 100% 0, 100% 100%, 66% 100%, 66% 0); }
:is(.fb__pause, .mq-pause, .sp__pause, .hw__pause, .mn-pause, .flow-pause)[data-paused="true"]::before { clip-path: polygon(8% 0, 100% 50%, 8% 100%); }
:is(.fb__pause, .mq-pause, .sp__pause, .hw__pause, .mn-pause, .flow-pause):active { transform: scale(.94); }
@media (hover: hover) and (pointer: fine) { :is(.fb__pause, .mq-pause, .sp__pause, .hw__pause, .mn-pause, .flow-pause):hover { border-color: var(--p-ink) !important; } }
@media (forced-colors: active) { :is(.fb__pause, .mq-pause, .sp__pause, .hw__pause, .mn-pause, .flow-pause)::before { background: ButtonText; } }

/* v4.2 stance: the lede on its own line, then the three definitions as a numbered row */
.stance__after { grid-template-columns: 1fr; gap: clamp(28px, 3.6vw, 48px); border-block-start: 0; padding-block-start: 0; }
.stance__lede { max-width: 30em; font-size: clamp(20px, 1.9vw, 27px); }
.stance__defs { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 48px); counter-reset: st; }
.stance__defs li { counter-increment: st; display: grid; align-content: start; gap: 8px; padding-block-start: 18px; border-block-start: 3px solid #2a0610; color: #2a0610; }
.stance__defs li::before { content: counter(st); font: 700 clamp(44px, 4.6vw, 68px)/1 var(--font-display); font-variant-numeric: tabular-nums; margin-block-end: 6px; }
.stance__defs b { font: 600 clamp(20px, 1.8vw, 25px)/1.2 var(--font-display); }
.stance__defs span { font-size: clamp(16px, 1.25vw, 18px); line-height: 1.5; }
@media (max-width: 699px) { .stance__defs { grid-template-columns: 1fr; gap: 0; } .stance__defs li { grid-template-columns: 52px minmax(0, 1fr); column-gap: 12px; padding-block: 16px; border-block-start-width: 2px; } .stance__defs li::before { grid-row: 1 / span 2; font-size: 44px; margin: 0; } .stance__defs b, .stance__defs span { grid-column: 2; } }

/* footer brand: the block keeps its place, the wordmark lines up with the left edge of its English tagline */
.footer__brand { width: fit-content; justify-self: start; justify-items: start !important; text-align: left !important; }

/* partner pills under the hero: text only with one generic badge icon, no vendor marks */
.partners { list-style: none; padding: 0; margin: 14px 0 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.partners li { display: inline-flex; align-items: center; gap: 7px; padding: 9px 13px 9px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font: 500 13.5px/1.2 var(--font-ui); color: var(--p-ink); direction: ltr; }
.partners svg { width: 18px; height: 18px; flex: none; fill: var(--p-accent); }
.partners .pb-tick { fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.section-head__txt { display: grid; gap: var(--s-3); min-width: 0; }
.section-head__txt h2, .section-head__txt p { margin: 0; }
.section-head--row { align-items: end; }

/* v4.3 CRM demo: the agent's cursor answers the call, fills one field by hand and closes the record; then the card moves by itself */
.mk-call { inset-inline: 8px; max-width: none; }
.mk-call__ans { margin-inline-start: auto; }
.mk-call__ans { background: #0f7a45 !important; color: #fff !important; }
.mock.is-play .mk-call { animation: mk-call2 1900ms 300ms var(--ease-out) both; }
@keyframes mk-call2 { 0% { opacity: 0; transform: translateY(-8px) scale(.97); } 14%, 80% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-4px); } }
.mock.is-play .mk-call__ans { animation: mk-press 260ms 1500ms ease-out both; }
@keyframes mk-press { 50% { transform: scale(.9); } }
.mk-rec { position: absolute; z-index: 5; inset: 50px 8px 8px; display: flex; flex-direction: column; gap: 8px; padding: 12px; border-radius: 12px; background: #fff; border: 1px solid var(--line); box-shadow: 0 22px 34px -20px rgb(32 36 33 / .6); opacity: 0; pointer-events: none; }
.mk-rec__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 14px; }
.mk-rec dl { margin: 0; display: grid; gap: 6px; }
.mk-rec dl div { display: grid; grid-template-columns: 84px minmax(0, 1fr); align-items: center; gap: 8px; font-size: 12.5px; }
.mk-rec dt { color: var(--p-muted); }
.mk-rec dd { margin: 0; min-height: 28px; display: flex; align-items: center; padding: 0 8px; border-radius: 7px; background: #f6f6f4; white-space: nowrap; overflow: hidden; }
.mk-rec__in { background: #fff !important; border: 1px solid rgb(32 36 33 / .25); }
.mk-rec__save { margin-block-start: auto; align-self: flex-end; padding: 8px 12px; border-radius: 8px; background: var(--p-ink); color: #fff; font-size: 12.5px; font-weight: 600; }
.mock.is-play .mk-rec { animation: mk-rec 3100ms 1800ms var(--ease-out) both; }
@keyframes mk-rec { 0% { opacity: 0; transform: translateY(10px) scale(.98); } 9%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(6px) scale(.98); } }
.mock.is-play .mk-rec__in { animation: mk-focus 1500ms 2700ms both; }
@keyframes mk-focus { 0%, 100% { border-color: rgb(32 36 33 / .25); box-shadow: none; } 10%, 90% { border-color: var(--p-accent); box-shadow: 0 0 0 3px rgb(242 82 112 / .18); } }
.mock.is-play .mk-rec__in span, .mock.is-armed .mk-rec__in span { clip-path: inset(0 0 0 100%); }
.mock.is-play .mk-rec__in span { animation: mk-type 1000ms 2950ms steps(14) both; }
@keyframes mk-type { to { clip-path: inset(0); } }
.mock.is-play .mk-rec__save { animation: mk-press 260ms 4500ms ease-out both; }
.mk-cur { position: absolute; z-index: 8; inset: 0; opacity: 0; pointer-events: none; direction: ltr; }
.mk-cur i { position: absolute; left: 0; top: 0; display: flex; align-items: flex-start; font-style: normal; }
.mk-cur svg { width: 18px; height: 18px; fill: var(--p-ink); stroke: #fff; stroke-width: 1.4; stroke-linejoin: round; }
.mk-cur b { margin: 12px 0 0 -2px; padding: 3px 7px; border-radius: 6px 10px 10px 10px; background: var(--p-accent); color: #2a0610; font: 600 11px/1 var(--font-ui); white-space: nowrap; }
.mock.is-play .mk-cur { animation: mk-cur 4700ms 500ms both; }
/* targets: the answer chip (top left), the open field (middle), the save button (bottom left) */
@keyframes mk-cur {
  0% { opacity: 0; translate: 62% 70%; }
  7% { opacity: 1; translate: 62% 70%; animation-timing-function: cubic-bezier(.77, 0, .175, 1); }
  20%, 27% { opacity: 1; translate: 38px 34px; animation-timing-function: cubic-bezier(.77, 0, .175, 1); }
  45%, 72% { opacity: 1; translate: 40% 184px; animation-timing-function: cubic-bezier(.77, 0, .175, 1); }
  84%, 92% { opacity: 1; translate: 66px calc(100% - 34px); }
  100% { opacity: 0; translate: 66px calc(100% - 34px); }
}
.mock.is-play .mk-card--move { animation-delay: 5300ms; }
.mock.is-play .mk-col__h em span:first-child, .mock.is-play .mk-col__h em span + span { animation-delay: 6100ms; }
.mk-auto { flex: none; padding: 4px 8px; border-radius: 999px; background: #0f7a45; color: #fff; font-size: 11px; font-weight: 600; }
@media (max-width: 639px) { .mk-call em { display: inline-block; } .mk-call small { display: none; } .mk-rec dl div { grid-template-columns: 70px minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .mk-call, .mk-rec, .mk-cur { display: none; } }

.mn-pause { position: relative !important; inset: auto !important; }
.footer__brand img { width: 0 !important; min-width: 100%; height: auto !important; }

/* phones: the four service tabs sit in a two by two grid, all visible, no sideways scroll */
@media (max-width: 639px) {
  .bw-bar { padding: 8px !important; }
  .bw-tabs { display: grid !important; grid-template-columns: 1fr 1fr; gap: 6px; overflow: visible; }
  .bw-tab { display: flex; align-items: center; gap: 8px; min-height: 52px; padding: 8px 10px !important; border-radius: 12px !important; background: rgb(255 255 255 / .55); font-size: 13.5px !important; line-height: 1.25; text-align: start; white-space: normal; }
  .bw-tab i { flex: none; }
  .bw-tab[aria-selected="true"] { background: #fff; box-shadow: 0 6px 14px -10px rgb(32 36 33 / .6), inset 0 0 0 1.5px var(--p-ink); }
}

@media (min-width: 640px) and (max-width: 1139px) {
  .bw-tabs { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: visible; }
  .bw-tab { white-space: normal; line-height: 1.25; text-align: start; padding-inline: 12px !important; min-height: 54px; font-size: 14.5px !important; }
  .bw-dots { display: none !important; }
}

/* section rhythm: spacing follows the screen width, not its height, so phones do not get desktop gaps */
.section { padding-block: clamp(64px, 9vh, 96px); }
@media (max-width: 1023px) { .section { padding-block: 60px; } }
@media (max-width: 639px) {
  .section { padding-block: 44px; }
  .stance { padding-block: 64px !important; }
  .close { padding-block: 64px 104px !important; }
  .section-head { margin-block-end: 0; }
}

/* phones: the board's cards sit in the middle with the same gutter on both sides, so the hand-off arrows have room on the left too */
@media (max-width: 520px) { .fb__card { inset-inline-start: 38px; width: calc(100% - 76px) !important; scale: 1 !important; } .fb__txt b { font-size: 14px; } .fb__txt small { font-size: 12.5px; } }

/* QA pass: navigation between 640 and 1023 px, English type stack, legal lists, small targets */
@media (min-width: 640px) and (max-width: 1023px) { .nav .nav__links { display: flex !important; gap: 2px; } .nav .nav__links a { font-size: 13.5px; padding-inline: 8px; white-space: nowrap; } .nav .btn { padding-inline: 14px; font-size: 13.5px; min-height: 40px; white-space: nowrap; } .nav__bar { gap: 8px; } }
html[lang="en"] { --font-display: "Archivo", "IBM Plex Sans Hebrew", system-ui, sans-serif; --font-text: "IBM Plex Sans Hebrew", system-ui, sans-serif; }
.pg-prose ul { list-style: disc; } .pg-prose ol { list-style: decimal; } .pg-prose li { display: list-item; }
.pg-prose code { direction: ltr; unicode-bidi: isolate; font: 500 .92em ui-monospace, SFMono-Regular, Menlo, monospace; padding: 1px 5px; border-radius: 5px; background: var(--p-surface); }
.table-scroll, .wa-scroll { background: linear-gradient(to left, #fff 30%, rgb(255 255 255 / 0)) left / 28px 100% no-repeat local, linear-gradient(to right, #fff 30%, rgb(255 255 255 / 0)) right / 28px 100% no-repeat local, linear-gradient(to left, rgb(32 36 33 / .14), rgb(32 36 33 / 0)) left / 14px 100% no-repeat scroll, linear-gradient(to right, rgb(32 36 33 / .14), rgb(32 36 33 / 0)) right / 14px 100% no-repeat scroll; }
.pg-prose table, .wa-table { background: transparent; }
.pg-case .fd__tags span { background: #fff; }
.wa-field:has(select) { grid-template-columns: minmax(0, 1fr) 200px; }
@media (max-width: 859px) { .wa-field:has(select) { grid-template-columns: minmax(0, 1fr) 164px; } }
@media (max-width: 639px) { .footer li a, .footer address a { min-height: 44px; display: inline-flex; align-items: center; } .ck__box { gap: 8px; } .ck__h { font-size: 17px; } .ck__p { font-size: 13.5px; line-height: 1.45; } .ck__btn { min-height: 44px; } }

/* hero board on very narrow phones: slightly smaller card type so nothing is cut */
@media (max-width: 380px) { .fb__txt b { font-size: 13px; } .fb__txt small { font-size: 12px; } }
/* English headings: Archivo at its normal width, a little tighter and lighter than the Hebrew display face needs */
html[lang="en"] :is(h1, h2, .display, .pg-defs b, .pg-steps b, .pg-rows h3, .pg-case h2, .tool-cta h2, .ck__h) { font-stretch: 100%; font-variation-settings: "wdth" 100; letter-spacing: -0.02em; }
html[lang="en"] :is(h1, h2) { font-weight: 650; }
html[lang="en"] body { letter-spacing: 0; }

/* specification demo on phones: a taller stage, and the document shows both pages (contents, then requirements and diagrams) */
@media (max-width: 720px) { .sp__stage { height: 620px; } }
@container (max-width: 620px) {
  .sp__layer { padding: 46px 6px 8px; }
  .sp__book { width: 94%; filter: drop-shadow(0 18px 22px rgb(32 36 33 / .22)); }
  .sp__page--toc { display: flex !important; border-radius: 14px 14px 0 0; rotate: 0deg; padding: 14px 16px 12px; gap: 8px; border-block-end: 0; }
  .sp__page--toc .sp__doc-top { padding-block-end: 8px; }
  .sp__page--toc .sp__doc-top b { font-size: 18px; }
  .sp__toc { grid-template-columns: 1fr 1fr; gap: 6px 14px; }
  .sp__toc li { font-size: 11.5px; gap: 6px; }
  .sp__toc li em { display: none; }
  .sp__toc li i { width: 12px; height: 12px; background-size: 9px; }
  .sp__page .sp__doc-tag { display: none; }
  .sp__page--body { border-radius: 0 0 14px 14px; rotate: 0deg; padding: 14px 16px; }
  .sp__ph:first-child::before { content: none; }
  .sp__reqs span { white-space: normal; overflow: visible; line-height: 1.3; }
  .sp__reqs li { font-size: 12px; padding: 6px 8px; }
  .sp__minis figcaption { font-size: 11px; }
}

/* phones: the tab grid and the panel are one window again (no gap, one frame) */
@media (max-width: 639px) {
  .bw { gap: 0 !important; background: #fff !important; border: 1px solid rgb(0 0 0 / .1) !important; border-radius: 18px !important; overflow: hidden !important; box-shadow: 0 24px 50px -36px rgb(32 36 33 / .5) !important; }
  .bw-bar { border-radius: 0 !important; border-block-end: 1px solid rgb(0 0 0 / .08); }
  .bw-panel { border: 0 !important; border-radius: 0 !important; }
}

/* Dobby's avatar fills its square to the edges, so it sits a little smaller inside the circle and keeps its ears */
.tm__face img[src*="dobby"], .pg-face img[src*="dobby"] { inset: 15% 13% 0 13%; width: 74%; }

/* Latin letters inside bold Hebrew text: Monopoly has no Latin, so 600/700 text fell back to a lighter IBM Plex. This face joins the Monopoly family for Latin letters only, at the bold weight. Digits and punctuation stay with Monopoly. */
@font-face { font-family: "Monopoly"; src: url("/fonts/BricolageGrotesque-800-latin.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; unicode-range: U+0041-005A, U+0061-007A, U+00C0-024F; }
@font-face { font-family: "LatMix"; src: url("/fonts/IBMPlexSansHebrew-400-latin.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "LatMix"; src: url("/fonts/IBMPlexSansHebrew-500-latin.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "LatMix"; src: url("/fonts/BricolageGrotesque-800-latin.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
.lat { font-family: "LatMix", "IBM Plex Sans Hebrew", system-ui, sans-serif; }
.mock .lat, .sp__stage .lat, .sv-win .lat, li[data-cat] .lat { font-family: inherit; }
/* Latin faces: Bricolage Grotesque for headings (heavy and characterful like the Hebrew display face, without the round curves of a wide face), Geist for English running text */
:root { --font-display: "Monopoly", "Bricolage Grotesque", "Noto Sans Hebrew", system-ui, sans-serif; }
html[lang="en"] { --font-display: "Bricolage Grotesque", "IBM Plex Sans Hebrew", system-ui, sans-serif; --font-text: "Geist", "IBM Plex Sans Hebrew", system-ui, sans-serif; --font-ui: "Geist", "IBM Plex Sans Hebrew", system-ui, sans-serif; }
html[lang="en"] :is(h1, h2, .display, .pg-defs b, .pg-steps b, .pg-rows h3, .pg-case h2, .tool-cta h2, .ck__h, .sv-proc b, .sv-cmp b, .sv-doc b, .sv-cases li) { letter-spacing: -0.025em; font-variation-settings: normal; font-stretch: normal; }
html[lang="en"] :is(h1, h2) { font-weight: 800; }
:where(html[lang="en"]) h1 { line-height: 1.04; }
:where(html[lang="en"]) h2 { line-height: 1.08; }
html[lang="en"] .stance h2 { line-height: .96; }
html[lang="en"] body { font-size-adjust: none; }

/* phone nav on inner pages holds only the logo: equal padding on both sides so the logo sits in the middle of the pill */
@media (max-width: 639px) { .is-inner .nav__bar, .nav .nav__bar, .nav.is-pill .nav__bar { padding-inline: 14px !important; } }

/* footer in two columns (phones and small tablets): the services column starts level with the logo, so there is no empty half beside the brand */
@media (max-width: 859px) {
  .footer__grid > .footer__brand { grid-column: 1 !important; grid-row: 1; }
  .footer__grid > :nth-child(2) { grid-column: 1; grid-row: 2; }
  .footer__grid > :nth-child(3) { grid-column: 2; grid-row: 1 / span 2; }
  .footer__grid > :nth-child(4) { grid-column: 1; grid-row: 3; }
  .footer__grid > :nth-child(5) { grid-column: 2; grid-row: 3; }
  .footer__brand span { white-space: nowrap; font-size: clamp(12px, 3.5vw, 15px) !important; }
}

/* the nav sits in the exact middle of the screen: the room kept for the language pill is mirrored on the other side */
@media (min-width: 640px) { .nav { padding-inline: calc(var(--gutter) + 64px) !important; } }
@media (min-width: 640px) and (max-width: 859px) { .nav .nav__links a { padding-inline: 6px; font-size: 13px; } .nav .btn { padding-inline: 12px; font-size: 13px; } .nav__bar { gap: 8px; } }
/* systems on service pages: the same pill filter as the homepage */
.sv-tools .tg-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-block-start: var(--s-5); }
.sv-tools .tg { margin-block-start: var(--s-4); }
@media (max-width: 639px) { .sv-tools .tg-pills { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scrollbar-width: none; } .sv-tools .tg-pills .pill { flex: none; } }

@media (min-width: 640px) and (max-width: 719px) { .nav .nav__links a { padding-inline: 4px; font-size: 12.5px; } .nav .btn { padding-inline: 10px; font-size: 12.5px; } .nav__bar { gap: 4px; } }

/* how we work on phones follows the scroll, so there is nothing to pause */
@media (max-width: 560px) { .hw__pause { display: none !important; } }

/* language pill: a globe, since a flag stands for a country and not for a language */
.lang .lang__globe { width: 20px !important; height: 20px !important; border-radius: 0 !important; box-shadow: none !important; flex: none; }

@media (max-width: 639px) { .fb__pause { display: none !important; } }

/* relay on phones: each step is revealed by the scroll */
.relay.is-scroll li { opacity: 0; translate: 0 18px; transition: opacity 450ms ease, translate 550ms var(--ease-out); transition-delay: 0ms; }
.relay.is-scroll li.is-on { opacity: 1; translate: 0 0; }
.relay.is-scroll li .relay__bubble { scale: .94; transform-origin: top; transition: scale 500ms var(--ease-out) 120ms; }
.relay.is-scroll li.is-on .relay__bubble { scale: 1; }
.relay.is-scroll .relay__bar i { transform: scaleX(var(--p, 0)); transition: transform 500ms var(--ease-out); }
.relay.is-scroll .relay__foot { opacity: 0; transition: opacity 500ms ease 250ms; }
.relay.is-scroll.is-done .relay__foot { opacity: 1; }

/* how we work in one column: a timeline runs down through the four pictures and fills as the steps are passed */
@media (max-width: 560px) {
  .hw li:not(:last-child)::after { content: ""; position: absolute; inset-inline-start: 46px; inset-block: 104px calc(8px - var(--s-6)); width: 4px; border-radius: 4px;
    background: linear-gradient(var(--c1), var(--c2)) no-repeat top / 100% 0%, rgb(32 36 33 / .12); transition: background-size 600ms var(--ease-out); }
  .hw li:nth-child(1) { --c1: #f25270; --c2: #f4b66d; } .hw li:nth-child(2) { --c1: #f4b66d; --c2: #79ddd3; } .hw li:nth-child(3) { --c1: #79ddd3; --c2: #55a8dd; }
  .hw li.is-past::after, .hw:not(.is-live) li::after { background-size: 100% 100%, auto; }
}
@media (prefers-reduced-motion: reduce) { .hw li::after { transition: none; } }

/* how we work: Menachem acts out each stage; he only moves while his stage is the active one */
.hw__art { height: 168px; }
.hw__art .hw__mn { display: block; width: 160px; height: 160px; max-width: none; object-fit: contain; transform-origin: 50% 90%; }
.hw.is-live li:not(.is-on) .hw__mn { filter: saturate(.55); }
.hw li.is-on .hw__mn { animation: mn-in 520ms var(--ease-out) both; }
.hw__art video.hw__mn { background: #fff; pointer-events: none; }
@keyframes mn-in { from { transform: scale(.9) rotate(-4deg); } to { transform: scale(1) rotate(0); } }
@keyframes mn-bob { 0%, 100% { transform: translateY(0) rotate(0); } 30% { transform: translateY(-4px) rotate(1.500deg); } 65% { transform: translateY(0) rotate(-1.200deg); } }
@media (max-width: 900px) { .hw__art { height: 150px; } .hw__art .hw__mn { width: 142px; height: 142px; } }
@media (max-width: 560px) { .hw__art { height: 96px; } .hw__art .hw__mn { width: 92px; height: 92px; } }
@media (prefers-reduced-motion: reduce) { .hw li.is-on .hw__mn { animation: none; } }

/* how we work: the stage label sits tight against its title (it is the title's label), and the pair has more room before the running text */
.hw__pick b { margin-block-start: -4px; }
.hw li > p:not(.hw__out) { margin-block-start: 4px; }
@media (max-width: 560px) {
  /* one column: the label and title are centred as a pair against the picture */
  .hw__pick { row-gap: 3px; align-items: stretch; }
  .hw__pick .hw__art { align-self: center; }
  .hw__pick .hw__step { align-self: end; }
  .hw__pick b { align-self: start; margin-block-start: 0; }
  .hw li > p:not(.hw__out) { margin-block-start: 6px; }
}

/* Menachem clips fill the tile from its bottom edge, so a figure that is cropped at the bottom of its clip sits on the tile's edge instead of floating */
.hw__art { align-items: end; overflow: hidden; }
.hw__art video.hw__mn { width: 168px; height: 168px; object-fit: cover; object-position: 50% 100%; }
@media (max-width: 900px) { .hw__art video.hw__mn { width: 150px; height: 150px; } }
@media (max-width: 560px) { .hw__art video.hw__mn { width: 96px; height: 96px; } }

/* compressed video white is a hair off pure white; lift it so the clip has no visible square on the white tile */
.hw__art video.hw__mn { filter: brightness(1.035); }
.hw.is-live li:not(.is-on) video.hw__mn { filter: saturate(.55) brightness(1.035); }

/* project folders: one closed folder peeks up every few seconds, the same lift a mouse hover gives, so it is clear the folders open. It stops once the visitor has opened another folder */
@media (prefers-reduced-motion: no-preference) {
  .fd:not(:has(.fd__f:not(:first-child).is-open)) .fd__f:nth-child(4):not(.is-open) { animation: fd-peek 4600ms var(--ease-out) 1400ms infinite; }
}
@keyframes fd-peek { 0%, 72%, 100% { translate: 0 0; } 80% { translate: 0 -10px; } 88% { translate: 0 0; } 93% { translate: 0 -4px; } }

/* phones: the services window keeps its browser frame, with the three dots on top and the address bar under the tabs */
@media (max-width: 639px) {
  .bw-bar { flex-wrap: wrap; row-gap: 8px; padding-block-start: 10px !important; }
  .bw-dots { display: flex !important; flex: 0 0 100%; gap: 6px; padding-inline: 4px; }
  .bw-dots i { width: 9px; height: 9px; border-radius: 50%; background: #d3d1ca; }
  .bw-tabs { flex: 1 1 100%; }
  .bw-url { display: flex !important; margin: 12px 12px 0 !important; height: 32px; font-size: 12px; }
  .bw-url span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}

/* ---------- left-to-right pages: every rule that was written with a fixed side gets its mirrored twin ---------- */
@keyframes mk-move-ltr { 0% { translate: 0 0; rotate: 0deg; border-color: var(--line); box-shadow: none; } 50% { rotate: 3deg; } 100% { translate: calc(100% + 24px) 0; rotate: 0deg; } }
@keyframes mk-move-s-ltr { 0% { translate: 0 0; rotate: 0deg; border-color: var(--line); box-shadow: none; } 50% { rotate: 3deg; } 100% { translate: calc(100% + 15px) 0; rotate: 0deg; } }
@keyframes mk-type-ltr { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes mk-cur-ltr { 0% { opacity: 0; translate: calc(38% - 18px) 70%; } 7% { opacity: 1; translate: calc(38% - 18px) 70%; animation-timing-function: cubic-bezier(.77, 0, .175, 1); } 20%, 27% { opacity: 1; translate: calc(100% - 38px - 18px) 34px; animation-timing-function: cubic-bezier(.77, 0, .175, 1); } 45%, 72% { opacity: 1; translate: calc(60% - 18px) 184px; animation-timing-function: cubic-bezier(.77, 0, .175, 1); } 84%, 92% { opacity: 1; translate: calc(100% - 66px - 18px) calc(100% - 34px); } 100% { opacity: 0; translate: calc(100% - 66px - 18px) calc(100% - 34px); } }
@keyframes mq-ltr { from { transform: translateX(0); } to { transform: translateX(-50%); } }
html[dir="ltr"] .mk-card--move { translate: calc(100% + 24px) 0; }
html[dir="ltr"] .mock.is-armed .mk-card--move { translate: 0 0; }
html[dir="ltr"] .mock.is-play .mk-card--move { animation-name: mk-move-ltr; }
@media (max-width: 639px) { html[dir="ltr"] .mk-card--move { translate: calc(100% + 15px) 0; } html[dir="ltr"] .mock.is-armed .mk-card--move { translate: 0 0; } html[dir="ltr"] .mock.is-play .mk-card--move { animation-name: mk-move-s-ltr; } }
html[dir="ltr"] .mock.is-play .mk-cur { animation-name: mk-cur-ltr; }
html[dir="ltr"] .mock.is-play .mk-rec__in span, html[dir="ltr"] .mock.is-armed .mk-rec__in span { clip-path: inset(0 100% 0 0); }
html[dir="ltr"] .mock.is-play .mk-rec__in span { animation-name: mk-type-ltr; }
html[dir="ltr"] .mq__row, html[dir="ltr"] .tmq__row { animation-name: mq-ltr; }
html[dir="ltr"] :is(.mk-flow__line, .mk-steps i, .hw::before, .relay__bar i, .hw__track i, .sp__track i) { transform-origin: left; }
html[dir="ltr"] :is(.mk-flow__line, .hw::before, .relay__bar i, .hw__track i, .sp__track i) { background: linear-gradient(to right, #f25270, #f4b66d, #79ddd3, #55a8dd); }
html[dir="ltr"] .mk-steps i { background: linear-gradient(to right, #f25270, #f4b66d); }
html[dir="ltr"] .mk-lane__row--top::before { background: linear-gradient(to right, #f25270, #f4b66d, #79ddd3); }
html[dir="ltr"] .tm__card { translate: -50% 6px; }
html[dir="ltr"] .tm:focus-visible .tm__card, html[dir="ltr"] .tm.is-open .tm__card { translate: -50% 0; }
@media (hover: hover) and (pointer: fine) { html[dir="ltr"] .tm:hover .tm__card { translate: -50% 0; } }
html[dir="ltr"] .fb__src .fb__b { background-position: left 8px center !important; }
html[dir="ltr"] .wa-field select, html[dir="ltr"] .sv-total { direction: ltr; }
html[dir="ltr"] .lang { flex-direction: row; }

/* homepage FAQ: a slim pointer to the two calculators */
.faq-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 28px; margin-block-start: var(--s-5); padding: 18px clamp(16px, 2.4vw, 28px); background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.faq-tools p { margin: 0; font-size: 17px; line-height: 1.45; }
.faq-tools div { display: flex; flex-wrap: wrap; gap: 8px 24px; }

/* official-partner pills sit above the clients heading: they are about floeey, not about the clients */
.clients .partners { margin-block: 0 var(--s-5); }

/* savings calculator: Menachem sits on the top edge of the result card with his calculator, legs hanging over it */
.sv-out { position: sticky !important; inset-block-start: 156px !important; overflow: visible !important; }
.sv-mn { position: absolute; inset-inline-end: clamp(20px, 6%, 56px); inset-block-start: -136px; width: 92px; height: auto; transform-origin: 50% 70%; pointer-events: none; z-index: 2; }
@media (prefers-reduced-motion: no-preference) { .sv-mn { animation: sv-mn 3600ms ease-in-out infinite; } }
@keyframes sv-mn { 0%, 100% { transform: rotate(0); } 30% { transform: rotate(-2deg) translateY(-1px); } 62% { transform: rotate(1.500deg); } }
@media (max-width: 859px) { .sv-out { position: relative !important; inset-block-start: auto !important; margin-block-start: 104px; } .sv-mn { width: 66px; inset-block-start: -98px; } }

/* Menachem form: the two field names sit inside the fields as placeholders; the real labels stay for screen readers */
.mn-form__row .field > label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.mn-form__row input::placeholder { color: rgb(255 255 255 / .62); opacity: 1; }
.mn-form__row input[dir="ltr"]:placeholder-shown { direction: rtl; text-align: start; }
/* FAQ page hero: Menachem asking questions beside the title */
.fq-hero { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(20px, 4vw, 56px); align-items: center; }
.fq-mn { width: clamp(150px, 18vw, 230px); height: auto; align-self: center; aspect-ratio: 1; border-radius: 26px; background: #fff; border: 1px solid var(--line); box-shadow: 0 24px 40px -34px rgb(32 36 33 / .5); object-fit: cover; object-position: 50% 100%; filter: brightness(1.035); }
@media (max-width: 639px) { .fq-hero { grid-template-columns: minmax(0, 1fr) 104px; align-items: start; } .fq-mn { width: 104px; border-radius: 18px; } }

/* calculators pointer: a dark card with two real buttons, lifted above the fade of the section that follows */
.faq-tools { position: relative; z-index: 3; background: var(--p-ink); border-color: transparent; color: #fff; padding: clamp(18px, 2.4vw, 28px) clamp(18px, 2.8vw, 34px); border-radius: 22px; box-shadow: 0 24px 44px -30px rgb(32 36 33 / .7); }
.faq-tools p { font-size: clamp(17px, 1.5vw, 20px); color: rgb(255 255 255 / .86); }
.faq-tools p b { display: block; font: 700 clamp(21px, 2.1vw, 28px)/1.2 var(--font-display); color: #fff; margin-block-end: 4px; }
.faq-tools div { gap: 10px; }
.faq-tools .link { display: inline-flex; align-items: center; min-height: 46px; padding: 0 20px; border-radius: 999px; background: #fff; color: var(--p-ink); font: 600 16px/1 var(--font-text); text-decoration: none; border: 0; transition: transform 160ms var(--ease-out); }
.faq-tools .link:first-child { background: var(--p-accent); color: var(--p-action-ink, #1a1c1a); }
.faq-tools .link::after { margin-inline-start: 8px; }
.faq-tools .link:active { transform: scale(.97); }
@media (max-width: 639px) { .faq-tools div { width: 100%; } .faq-tools .link { flex: 1 1 100%; justify-content: center; } }

/* the closing section fades in over the last 180px of the FAQ section; the calculators card must sit above that fade */
#faq { z-index: 3; }
/* hero board in left-to-right: the scattered cards lean the other way, so they stay centred in the frame */
html[dir="ltr"] .fb__card { translate: calc(var(--mx) * var(--k, 1) * -1cqw) calc(var(--my) * 1cqh); rotate: calc(var(--mr) * -1); }
html[dir="ltr"] .fb[data-state="order"] .fb__card { translate: 0 0; rotate: 0deg; }
html[dir="ltr"] .fb__q { left: auto; right: calc(var(--x) * 1%); }

/* specification demo: a scattered scrap never runs past the edge of the canvas, whatever the length of its text */
.sp[data-phase="0"] .sp__scrap, .sp__scrap { translate: min(calc(var(--x) * 1cqw), calc(100cqw - 100% - 8px)) calc(var(--y) * 1cqh - 130cqh); }
.sp[data-phase="1"] .sp__scrap { translate: min(calc(var(--x) * 1cqw), calc(100cqw - 100% - 8px)) calc(var(--y) * 1cqh); }

/* clients strip on phones: numbers first, then the three partner badges on one line, then the clients heading right above its logos */
@media (max-width: 639px) {
  .clients > .wrap:first-child { display: flex; flex-direction: column; }
  .clients__head { display: contents; }
  .clients__head > p:not(.muted) { order: 1; margin: 0 0 16px; max-width: none; inline-size: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; font-size: 14.5px; line-height: 1.3; color: var(--p-muted); }
  .clients__nums i { display: none; }
  .clients__nums span { display: grid; gap: 2px; padding: 12px 14px; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
  .clients__nums b { font: 700 28px/1 var(--font-display); color: var(--p-ink); }
  .clients .partners { order: 2; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 26px; }
  /* the badges show only the system names here, so a caption says what they are */
  .clients .partners::before { content: attr(aria-label); flex: 0 0 100%; margin-block-end: 2px; font: 400 14.5px/1.3 var(--font-text); color: var(--p-muted); }
  .clients .partners li { flex: 1 1 0; min-width: 0; justify-content: center; padding: 8px 6px; gap: 5px; font-size: 12.5px; white-space: nowrap; }
  .clients .partners li svg { width: 15px; height: 15px; flex: none; }
  .clients .partners .pt { display: none; }
  .clients__head > p.muted { order: 3; margin: 0 0 4px; }
}
.clients__nums i { font-style: normal; }
/* cookie banner on phones: one line of heading, the short sentence, and the three actions in one row */
@media (max-width: 639px) {
  .ck__box { padding: 14px; gap: 6px; }
  .ck__h { font-size: 15px; line-height: 1.3; }
  .ck__p { font-size: 13px; line-height: 1.4; }
  .ck__more { display: none; }
  .ck__btns { gap: 6px; margin-block-start: 4px; }
  .ck__btns:has(.ck__btn--save[hidden]) { flex-wrap: nowrap; }
  .ck__btns:has(.ck__btn--save[hidden]) .ck__btn { flex: 1 1 0; min-inline-size: 0; padding-inline: 8px; font-size: 14px; white-space: nowrap; }
  .ck__link { padding-inline: 6px; font-size: 14px; white-space: nowrap; }
}
/* hero board: before / after switch in the corner, so the visitor can flip the state and sees there are two */
.fb__tg { position: absolute; z-index: 4; inset-block-start: clamp(14px, 2vw, 24px); inset-inline-end: clamp(14px, 2vw, 24px); display: inline-flex; padding: 3px; border-radius: 999px; background: #f2f1ed; border: 1px solid var(--line); }
.fb__tg button { min-block-size: 38px; padding: 0 14px; border: 0; border-radius: 999px; background: none; color: var(--p-muted); font: 500 13.5px/1 var(--font-text); transition: background-color 160ms ease, color 160ms ease; }
.fb__tg button[aria-pressed="true"] { background: var(--p-ink); color: #fff; }
.fb__tg button:active { transform: scale(.97); }
.fb__top { flex-direction: column; gap: var(--s-2); }
.fb__title { padding-inline-end: 132px; }
.fb__state span { justify-self: start; }

.tool-hero { padding-block: clamp(120px, 16vh, 160px) var(--s-6); }
.tool-hero h1 { font-size: clamp(34px, 4.6vw, 64px); max-width: 16em; }
.tool-hero p { font-size: var(--t-lead); max-width: 46em; margin-block-start: var(--s-4); }
.wa { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.wa-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: clamp(20px, 3vw, 36px); box-shadow: 0 30px 60px -48px rgb(32 36 33 / .4); }
.wa-card h2 { font: 700 20px/1.3 var(--font-text); margin-block-end: var(--s-4); font-stretch: normal; font-variation-settings: normal; }
.wa-field { display: grid; grid-template-columns: minmax(0, 1fr) 150px; gap: 12px; align-items: center; padding-block: 12px; border-block-start: 1px solid var(--line); }
.wa-field:first-of-type { border: 0; }
.wa-field label { font-weight: 600; display: grid; gap: 2px; }
.wa-field small { font-weight: 400; font-size: 14px; color: var(--p-muted); }
.wa-field input, .wa-field select { width: 100%; min-height: 48px; padding: 0 12px; border-radius: 12px; border: 1px solid rgb(32 36 33 / .3); background: #fff; font: 500 17px/1 system-ui, sans-serif; color: var(--p-ink); direction: ltr; text-align: end; }
.wa-field select { direction: rtl; text-align: start; font-size: 15.500px; }
.wa-cur { border-inline: 0; border-block-end: 0; margin: 0; padding-inline: 0; min-width: 0; }
.wa-cur legend { float: inline-start; padding: 0; font-weight: 600; display: grid; gap: 2px; }
.wa-seg { display: grid; grid-template-columns: 1fr 1fr; padding: 3px; border-radius: 12px; background: var(--p-surface); }
.wa-seg label { display: block; position: relative; }
.wa-seg input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; min-height: 0; margin: 0; cursor: pointer; }
.wa-seg span { display: grid; place-items: center; min-height: 42px; border-radius: 9px; font: 500 14px/1 var(--font-ui); white-space: nowrap; }
.wa-seg input:checked + span { background: var(--p-ink); color: #fff; }
.wa-seg input:focus-visible + span { outline: 2px solid var(--p-ink); outline-offset: 2px; }
.wa-field[hidden] { display: none; }
.wa-field--wide { grid-template-columns: 1fr; }
.wa-out { position: sticky; inset-block-start: 100px; background: var(--p-ink); color: var(--p-inv-ink); border: 0; }
.wa-out h2 { color: var(--p-inv-muted); font-size: 16px; }
.wa-total { font: 800 clamp(44px, 6vw, 76px)/1 var(--font-display); font-stretch: 84%; font-variation-settings: "wdth" 84; font-variant-numeric: tabular-nums; direction: ltr; text-align: end; }
.wa-ils { font-size: var(--t-lead); color: var(--p-inv-muted); margin-block: 6px var(--s-5); font-variant-numeric: tabular-nums; }
.wa-rows { display: grid; }
.wa-rows div { display: flex; justify-content: space-between; gap: 12px; padding-block: 10px; border-block-start: 1px solid rgb(255 255 255 / .14); font-variant-numeric: tabular-nums; }
.wa-rows dd { margin: 0; direction: ltr; }
.wa-rows small { color: var(--p-inv-muted); font-size: 13px; display: block; }
.wa-note { margin-block-start: var(--s-4); font-size: 14px; line-height: 1.5; color: var(--p-inv-muted); }
.wa-note a { color: inherit; }
.wa-warn { margin-block-start: 10px; padding: 10px 12px; border-radius: 10px; background: rgb(244 182 109 / .18); font-size: 14px; }
.wa-warn[hidden] { display: none; }
.wa-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; background: #fff; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); }
.wa-table th, .wa-table td { padding: 12px 14px; text-align: start; border-block-start: 1px solid var(--line); font-size: 15.500px; }
.wa-table thead th { border: 0; font-size: 14px; color: var(--p-muted); font-weight: 500; }
.wa-table td { direction: ltr; text-align: end; }
.wa-scroll { overflow-x: auto; }
.tool-cta { background: var(--p-accent); color: #1a1c1a; border-radius: 28px; padding: clamp(28px, 5vw, 56px); display: grid; gap: var(--s-4); justify-items: start; }
.tool-cta h2 { font-size: clamp(28px, 3.6vw, 48px); max-width: 16em; }
.tool-cta .btn--primary { background: var(--p-ink); color: #fff; box-shadow: none; }
@media (max-width: 859px) { .wa { grid-template-columns: 1fr; } .wa-out { position: static; } .wa-field { grid-template-columns: minmax(0, 1fr) 120px; } }

.wa-rows div[hidden] { display: none; }
.sv-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.sv-freq { grid-template-columns: minmax(0, 1fr) 210px; }
.sv-range { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: center; }
.sv-range input[type="range"] { -webkit-appearance: auto; appearance: auto; width: 100%; min-width: 0; height: 44px; min-height: 44px; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; accent-color: var(--p-accent); direction: ltr; }
.wa-field.wa-field--wide { grid-template-columns: 1fr !important; }
.sv-range output { font: 600 17px/1 var(--font-ui); font-variant-numeric: tabular-nums; min-width: 6.5em; text-align: end; }
.sv-h2 { margin-block-start: var(--s-5); padding-block-start: var(--s-4); border-block-start: 1px solid var(--line); }
.sv-h2 small { font: 400 14px/1 var(--font-text); color: var(--p-muted); margin-inline-start: 8px; }
.sv-total { font-size: clamp(38px, 5vw, 64px); direction: rtl; text-align: start; }
.sv-total small { font: 500 .32em/1 var(--font-text); color: var(--p-inv-muted); margin-inline-start: .4em; }
.sv-steps { list-style: none; padding: 0; margin: var(--s-6) 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; counter-reset: sv; }
.sv-steps li { counter-increment: sv; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px; display: grid; gap: 8px; align-content: start; }
.sv-steps li::before { content: counter(sv); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--p-ink); color: #fff; font: 600 14px/1 var(--font-ui); }
.sv-steps b { font-weight: 600; font-size: 18px; }
.sv-steps span { color: var(--p-muted); font-size: 15.5px; line-height: 1.5; }
@media (max-width: 859px) { .sv-steps { grid-template-columns: 1fr 1fr; } .sv-freq { grid-template-columns: minmax(0, 1fr) 180px; } }
@media (max-width: 519px) { .sv-steps { grid-template-columns: 1fr; } .sv-freq { grid-template-columns: 1fr; } }

.tool-hero { padding-block: clamp(120px, 16vh, 160px) var(--s-5); }
.tool-hero h1 { font-size: clamp(34px, 4.6vw, 64px); }
.tool-hero p { font-size: var(--t-lead); max-width: 44em; margin-block-start: var(--s-4); }
.fq-tools { position: sticky; inset-block-start: 84px; z-index: 5; display: grid; gap: 12px; padding: 14px; margin-block: var(--s-5); background: rgb(255 255 255 / .94); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 20px 40px -32px rgb(32 36 33 / .4); }
.fq-search { width: 100%; min-height: 48px; padding: 0 16px; border-radius: 12px; border: 1px solid rgb(32 36 33 / .3); background: #fff; font-size: 17px; color: var(--p-ink); }
.fq-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.fq-cat { margin-block-start: var(--s-7); }
.fq-cat[hidden] { display: none; }
.fq-cat h2 { font-size: clamp(24px, 2.8vw, 36px); margin-block-end: var(--s-4); }
.fq-none { padding: var(--s-6) 0; font-size: var(--t-lead); }
.tool-cta { background: var(--p-accent); color: #2a0610; border-radius: 28px; padding: clamp(28px, 5vw, 56px); display: grid; gap: var(--s-4); justify-items: start; }
.tool-cta h2 { font-size: clamp(28px, 3.6vw, 48px); }
.tool-cta .btn--primary { background: var(--p-ink); color: #fff; box-shadow: none; }
@media (max-width: 639px) { .fq-tools { position: static; } .fq-pills { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; } .fq-pills .pill { flex: none; } }

/* ---------- inner pages ---------- */
.is-inner main { padding-block-end: var(--s-6); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 var(--s-4); font: 400 14px/1.4 var(--font-ui); color: var(--p-muted); }
.crumbs li + li::before { content: "/"; margin-inline-end: 6px; color: rgb(32 36 33 / .4); }
.crumbs a { color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgb(32 36 33 / .3); }
.crumbs [aria-current] { color: var(--p-ink); }
.pg-hero { padding-block: clamp(120px, 16vh, 160px) clamp(32px, 5vw, 64px); }
.pg-hero .wrap > div { min-width: 0; }
.pg-hero .wrap { display: grid; gap: clamp(24px, 4vw, 56px); align-items: center; }
.pg-hero--art .wrap { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
.pg-hero h1 { font-size: clamp(34px, 4.6vw, 64px); max-width: 15em; text-wrap: balance; }
.pg-hero__lead { font-size: var(--t-lead); line-height: 1.5; max-width: 36em; margin-block: var(--s-4) var(--s-5); }
.pg-hero__note { margin-block-start: var(--s-3); font-size: 15px; color: var(--p-muted); }
.pg-art { min-width: 0; padding: clamp(14px, 2vw, 28px); border-radius: 24px; background: var(--p-surface) url("/img/blob-wave.webp") no-repeat 115% -30% / 60% auto; container-type: inline-size; }
.pg-art .mock { width: 100%; }
.pg-sec { padding-block: clamp(40px, 6vw, 88px); }
.pg-sec > .wrap > h2 { font-size: clamp(28px, 3.4vw, 46px); max-width: 18em; text-wrap: balance; margin: 0; }
.pg-sec > .wrap > h2 + p { font-size: var(--t-lead); line-height: 1.5; max-width: 40em; margin: var(--s-3) 0 0; }
.pg-defs { list-style: none; padding: 0; margin: clamp(24px, 3.4vw, 44px) 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px) clamp(20px, 3vw, 48px); }
.pg-defs--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 960px) { .pg-defs:not(.pg-defs--2) > li:nth-child(2):nth-last-child(4) { grid-column: span 2; } }
@media (min-width: 640px) and (max-width: 959px) { .pg-defs > li:nth-child(5):last-child { grid-column: span 2; } }
.pg-defs li { display: grid; align-content: start; gap: 8px; padding-block-start: 16px; border-block-start: 2px solid var(--p-ink); }
.pg-defs b { font: 600 clamp(19px, 1.6vw, 23px)/1.25 var(--font-display); }
.pg-defs span { color: var(--p-muted); font-size: 17px; line-height: 1.55; }
.pg-steps { list-style: none; padding: 0; margin: clamp(24px, 3.4vw, 44px) 0 0; display: grid; gap: 0; counter-reset: pg; }
.pg-steps li { counter-increment: pg; display: grid; grid-template-columns: 64px minmax(0, 14em) minmax(0, 1fr); gap: 8px clamp(16px, 3vw, 40px); align-items: start; padding-block: 22px; border-block-start: 1px solid var(--line); }
.pg-steps li:last-child { border-block-end: 1px solid var(--line); }
.pg-steps li::before { content: counter(pg); font: 700 44px/1 var(--font-display); font-variant-numeric: tabular-nums; color: var(--p-accent); }
.pg-steps b { font: 600 clamp(20px, 1.8vw, 25px)/1.25 var(--font-display); }
.pg-steps span { color: var(--p-muted); font-size: 17px; line-height: 1.55; max-width: 42em; }
.pg-steps small { display: block; margin-block-start: 6px; font-size: 15px; color: var(--p-ink); }
.pg-list { list-style: none; padding: 0; margin: var(--s-5) 0 0; display: grid; gap: 10px; max-width: 46em; }
.pg-list li { position: relative; padding-inline-start: 26px; font-size: 18px; line-height: 1.5; }
.pg-list li::before { content: ""; position: absolute; inset-inline-start: 0; inset-block-start: .62em; width: 12px; height: 2px; background: var(--p-accent); }
.pg-chips { list-style: none; padding: 0; margin: var(--s-5) 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pg-chips li { padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font: 500 15px/1.2 var(--font-ui); }
.pg-more { margin-block-start: var(--s-4); }
.pg-rows { list-style: none; padding: 0; margin: clamp(24px, 3.4vw, 44px) 0 0; display: grid; }
.pg-rows > li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) auto; gap: 12px clamp(16px, 3vw, 48px); align-items: start; padding-block: clamp(22px, 3vw, 34px); border-block-start: 1px solid var(--line); }
.pg-rows > li:last-child { border-block-end: 1px solid var(--line); }
.pg-rows h3 { font: 600 clamp(22px, 2.2vw, 30px)/1.2 var(--font-display); margin: 0; }
.pg-rows p { margin: 0; font-size: 18px; line-height: 1.55; }
.pg-rows ul { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.pg-rows ul li { padding: 5px 10px; border-radius: 999px; background: var(--p-surface); font: 500 13.5px/1.2 var(--font-ui); }
.pg-case { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: clamp(16px, 3vw, 48px); align-items: start; padding: clamp(22px, 3vw, 40px); border-radius: 24px; background: var(--c, #fff); margin-block-start: 16px; }
.pg-case__who { display: grid; place-items: center; min-height: 110px; padding: 16px; border-radius: 16px; background: #fff; }
.pg-case__who img { max-width: 150px; max-height: 70px; width: auto; height: auto; }
.pg-case__who b { font: 600 18px/1.3 var(--font-display); text-align: center; }
.pg-case h2 { font: 600 clamp(22px, 2.3vw, 32px)/1.2 var(--font-display); margin: 0 0 4px; }
.pg-case small { font-size: 15px; color: rgb(32 36 33 / .75); }
.pg-case ul { margin: 12px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 18px; line-height: 1.5; }
.pg-case .fd__tags { margin-block-start: 14px; }
.pg-team { list-style: none; padding: 0; margin: clamp(24px, 3.4vw, 44px) 0 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.pg-team li { display: grid; justify-items: start; align-content: start; gap: 6px; }
.pg-face { position: relative; display: block; width: 104px; height: 104px; border-radius: 50%; overflow: hidden; background: var(--c); transition: transform 240ms var(--ease-out); }
.pg-face img { position: absolute; inset: 6% 6% 0 6%; width: 88%; height: auto; transition: opacity 160ms ease; }
.pg-face .pg-face__alt { opacity: 0; }
.pg-team li { outline: none; border-radius: 16px; }
.pg-team li:focus-visible .pg-face { outline: 2px solid var(--p-ink); outline-offset: 4px; }
.pg-team li:focus-visible .pg-face__alt, .pg-team li.is-live .pg-face__alt { opacity: 1; }
.pg-team li:focus-visible .pg-face img:not(.pg-face__alt), .pg-team li.is-live .pg-face img:not(.pg-face__alt) { opacity: 0; }
.pg-team li.is-live .pg-face { transform: scale(1.08) rotate(-3deg); }
@media (hover: hover) and (pointer: fine) { .pg-team li:hover .pg-face { transform: scale(1.1) rotate(-3deg); } .pg-team li:hover .pg-face__alt { opacity: 1; } .pg-team li:hover .pg-face img:not(.pg-face__alt) { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .pg-face { transition: none; } }
.pg-team b { font: 600 19px/1.2 var(--font-display); margin-block-start: 6px; }
.pg-team small { font-size: 14.5px; color: var(--p-muted); }
.pg-team span { font-size: 16px; line-height: 1.45; }
.pg-facts { margin: var(--s-5) 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(20px, 3vw, 48px); max-width: 880px; }
.pg-facts div { display: grid; grid-template-columns: 9em minmax(0, 1fr); gap: 12px; padding-block: 12px; border-block-start: 1px solid var(--line); font-size: 17px; }
.pg-facts dt { color: var(--p-muted); } .pg-facts dd { margin: 0; }
.pg-contact { list-style: none; padding: 0; margin: clamp(24px, 3.4vw, 44px) 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.pg-contact li { display: grid; gap: 8px; align-content: start; padding: clamp(20px, 2.6vw, 32px); border-radius: 22px; background: #fff; border: 1px solid var(--line); }
.pg-contact li:first-child { background: var(--p-ink); color: #fff; border-color: var(--p-ink); }
.pg-contact li:first-child p { color: #d6d8d6; }
.pg-contact h2 { font: 600 clamp(21px, 2vw, 27px)/1.2 var(--font-display); margin: 0; }
.pg-contact p { margin: 0; color: var(--p-muted); font-size: 17px; line-height: 1.5; }
.pg-contact .btn, .pg-contact .link { justify-self: start; margin-block-start: 8px; }
.pg-contact a.big { font: 600 clamp(20px, 2vw, 26px)/1.2 var(--font-ui); color: inherit; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.pg-prose { max-width: 46em; font-size: 17.5px; line-height: 1.7; }
.pg-prose h1 { font-size: clamp(34px, 4.6vw, 60px); margin-block-end: var(--s-4); }
.pg-prose h2 { font: 600 clamp(22px, 2.2vw, 28px)/1.3 var(--font-display); margin: 2em 0 .5em; font-stretch: normal; font-variation-settings: normal; }
.pg-prose h3 { font: 600 19px/1.35 var(--font-display); margin: 1.5em 0 .4em; }
.pg-prose p, .pg-prose ul, .pg-prose ol { margin: 0 0 1em; }
.pg-prose ul, .pg-prose ol { padding-inline-start: 1.3em; display: grid; gap: .35em; }
.pg-prose a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.pg-prose table { width: 100%; border-collapse: collapse; font-size: 15.5px; background: #fff; }
.pg-prose th, .pg-prose td { padding: 10px 12px; text-align: start; vertical-align: top; border: 1px solid var(--line); }
.pg-prose th { background: var(--p-surface); font-weight: 600; }
.table-scroll { overflow-x: auto; margin-block-end: 1em; }
.draft-note { padding: 12px 16px; border-radius: 12px; background: #fff3c4; border: 1px solid #d9a520; font-size: 15.5px; }
mark.todo { background: #ffe0e7; color: #6b0f24; padding: 0 4px; border-radius: 4px; }
.pg-404 { min-height: 70vh; display: grid; align-content: center; justify-items: start; gap: var(--s-4); padding-block: 160px 80px; }
.pg-404 img { width: clamp(160px, 22vw, 260px); height: auto; }
.pg-404 h1 { font-size: clamp(34px, 5vw, 68px); max-width: 14em; }
.pg-404 p { font-size: var(--t-lead); max-width: 34em; margin: 0; }
.pg-mn { background: var(--p-ink); color: #fff; }
.is-inner .tool-cta .btn--secondary { background: transparent; border-color: rgb(26 28 26 / .5); color: #1a1c1a; box-shadow: none; }
.is-inner .tg.is-short { max-height: none; }
@media (max-width: 959px) { .pg-hero--art .wrap { grid-template-columns: 1fr; } .pg-defs { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pg-team { grid-template-columns: repeat(3, minmax(0, 1fr)); } .pg-rows > li { grid-template-columns: 1fr; } .pg-case { grid-template-columns: 1fr; } .pg-case__who { justify-self: start; min-width: 180px; } }
@media (max-width: 639px) { .pg-hero { padding-block-start: 110px; } .pg-defs, .pg-defs--2, .pg-contact, .pg-facts { grid-template-columns: 1fr; } .pg-team { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pg-steps li { grid-template-columns: 44px minmax(0, 1fr); } .pg-steps li::before { font-size: 34px; grid-row: 1 / span 2; } .pg-steps b, .pg-steps span { grid-column: 2; } .pg-facts div { grid-template-columns: 7em minmax(0, 1fr); } }

/* ---------- service pages ---------- */
.sv-hero .wrap { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
.sv-hero h1 { font-size: clamp(34px, 4vw, 56px); }
.sv-win { min-width: 0; background: #fff; border: 1px solid rgb(0 0 0 / .1); border-radius: 18px; overflow: hidden; box-shadow: 0 34px 60px -42px rgb(32 36 33 / .55); }
.sv-win__bar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: #f6f5f1; border-block-end: 1px solid rgb(0 0 0 / .08); }
.sv-dots { display: flex; gap: 6px; } .sv-dots i { width: 10px; height: 10px; border-radius: 50%; background: #d9d7d0; }
.sv-win__url { flex: 0 1 300px; margin-inline: auto; padding: 7px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font: 500 12.5px/1 var(--font-ui); color: var(--p-muted); text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sv-win__bar::after { content: ""; width: 42px; }
.sv-win__body { display: grid; padding: clamp(12px, 1.6vw, 22px); background: var(--p-surface) url("/img/blob-wave.webp") no-repeat 115% -30% / 60% auto; container-type: inline-size; }
.sv-win .mock { width: 100%; }
.sv-fig { margin: clamp(24px, 3.4vw, 44px) 0 0; padding: clamp(12px, 2.4vw, 32px); background: #fff; border: 1px solid var(--line); border-radius: 24px; container-type: inline-size; }
.sv-fig svg { display: block; width: 100%; height: auto; }
.sv-fig__n { display: none; }
@container (max-width: 620px) { .sv-fig__w { display: none; } .sv-fig__n { display: block; } }
.sv-band { background: #bfeede; }
.sv-cases { list-style: none; padding: 0; margin: clamp(24px, 3.4vw, 44px) 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 5vw, 80px); }
.sv-cases li { padding-block: 22px; border-block-start: 2px solid var(--p-ink); font: 500 clamp(20px, 2vw, 27px)/1.35 var(--font-display); text-wrap: balance; }
.sv-proc { list-style: none; padding: 0; margin: clamp(24px, 3.4vw, 44px) 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; counter-reset: sv; }
.sv-proc li { counter-increment: sv; display: grid; align-content: start; gap: 6px; padding: clamp(18px, 2vw, 26px); background: #fff; }
.sv-proc li::before { content: counter(sv); font: 700 30px/1 var(--font-display); color: var(--p-accent); font-variant-numeric: tabular-nums; }
.sv-proc b { font: 600 clamp(19px, 1.6vw, 23px)/1.25 var(--font-display); }
.sv-proc span { color: var(--p-muted); font-size: 16px; line-height: 1.45; }
.sv-cmp { list-style: none; padding: 0; margin: clamp(24px, 3.4vw, 44px) 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.sv-cmp li { display: grid; align-content: start; gap: 10px; padding: clamp(20px, 2.2vw, 30px); background: #fff; border: 1px solid var(--line); border-radius: 20px; }
.sv-cmp b { font: 600 clamp(22px, 2vw, 28px)/1.2 var(--font-display); }
.sv-cmp small { font: 500 14px/1.3 var(--font-ui); color: var(--p-muted); }
.sv-cmp p { margin: 0; font-size: 17px; line-height: 1.55; }
.sv-lvl { display: flex; gap: 5px; } .sv-lvl i { width: 34px; height: 6px; border-radius: 3px; background: #e7e5de; } .sv-lvl i.on { background: var(--p-ink); }
.sv-tag { justify-self: start; padding: 5px 12px; border-radius: 999px; font: 600 14px/1.2 var(--font-ui); background: #dff3ea; }
.sv-tag--no { background: #fff3c4; } .sv-tag--all { background: var(--p-ink); color: #fff; }
.sv-doc { list-style: none; counter-reset: d; margin: clamp(24px, 3.4vw, 44px) 0 0; padding: clamp(18px, 3vw, 44px) clamp(18px, 3.4vw, 52px); max-width: 920px; background: #fff; border: 1px solid var(--line); border-radius: 4px 22px 22px 4px; box-shadow: 0 30px 50px -40px rgb(32 36 33 / .5); }
.sv-doc li { counter-increment: d; display: grid; grid-template-columns: 1.6em 12px minmax(0, 15em) minmax(0, 1fr); gap: 4px 14px; align-items: baseline; padding-block: 15px; border-block-end: 1px dashed rgb(0 0 0 / .16); }
.sv-doc li:last-child { border: 0; }
.sv-doc li::before { content: counter(d); font: 600 16px/1 var(--font-display); color: var(--p-muted); font-variant-numeric: tabular-nums; }
.sv-doc i { width: 12px; height: 12px; border-radius: 3px; align-self: center; }
.sv-doc b { font: 600 clamp(17px, 1.5vw, 20px)/1.3 var(--font-display); }
.sv-doc span { color: var(--p-muted); font-size: 16.5px; line-height: 1.45; }
.sv-hub { --g: clamp(20px, 5vw, 72px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 1fr); column-gap: var(--g); align-items: stretch; margin-block-start: clamp(24px, 3.4vw, 44px); }
.sv-hub__col { display: grid; align-content: center; gap: 12px; }
.sv-hub__col p { margin: 0 0 2px; font: 500 14px/1.3 var(--font-ui); color: var(--p-muted); }
.sv-hub ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.sv-hub li { position: relative; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: 14px; font: 600 17px/1.25 var(--font-display); }
.sv-hub li::after { content: ""; position: absolute; inset-block-start: 50%; width: var(--g); border-block-start: 2px dashed rgb(32 36 33 / .45); }
.sv-hub__col:first-child li::after { inset-inline-start: 100%; }
.sv-hub__col:last-child li::after { inset-inline-end: 100%; }
.sv-hub { --d: -1; }
html[dir="ltr"] .sv-hub { --d: 1; }
.sv-hub li::before { content: ""; position: absolute; z-index: 1; inset-block-start: calc(50% - 3px); inline-size: 8px; block-size: 8px; border-radius: 50%; background: var(--p-accent, #f25270); opacity: 0; pointer-events: none; }
.sv-hub__col:first-child li::before { inset-inline-start: 100%; }
.sv-hub__col:last-child li::before { inset-inline-end: 100%; }
@media (prefers-reduced-motion: no-preference) {
  .sv-hub li::before { animation: sv-hub-in 3200ms linear infinite; }
  .sv-hub__col:last-child li::before { animation-name: sv-hub-out; }
  .sv-hub li:nth-child(2)::before { animation-delay: 500ms; }
  .sv-hub li:nth-child(3)::before { animation-delay: 1000ms; }
  .sv-hub__col:last-child li:nth-child(1)::before { animation-delay: 1600ms; }
  .sv-hub__col:last-child li:nth-child(2)::before { animation-delay: 2100ms; }
  .sv-hub__col:last-child li:nth-child(3)::before { animation-delay: 2600ms; }
}
@keyframes sv-hub-in { 0% { translate: 0 0; opacity: 0; } 6%, 38% { opacity: 1; } 44%, 100% { translate: calc((var(--g) - 8px) * var(--d)) 0; opacity: 0; } }
@keyframes sv-hub-out { 0% { translate: calc((var(--g) - 8px) * var(--d) * -1) 0; opacity: 0; } 6%, 38% { opacity: 1; } 44%, 100% { translate: 0 0; opacity: 0; } }
@media (max-width: 719px) {
  .sv-hub li::before { inset-inline: calc(50% - 3px) auto !important; }
  .sv-hub__col:first-child li::before { inset-block: 100% auto; animation-name: sv-hub-in-y; }
  .sv-hub__col:last-child li::before { inset-block: auto 100%; animation-name: sv-hub-out-y; }
}
@keyframes sv-hub-in-y { 0% { translate: 0 0; opacity: 0; } 6%, 38% { opacity: 1; } 44%, 100% { translate: 0 18px; opacity: 0; } }
@keyframes sv-hub-out-y { 0% { translate: 0 -18px; opacity: 0; } 6%, 38% { opacity: 1; } 44%, 100% { translate: 0 0; opacity: 0; } }
.sv-hub__core { display: grid; align-content: center; gap: 10px; padding: clamp(20px, 2.6vw, 34px); background: var(--p-ink); color: #fff; border-radius: 22px; }
.sv-hub__core b { font: 600 clamp(22px, 2.2vw, 30px)/1.2 var(--font-display); }
.sv-hub__core span { font-size: 16px; line-height: 1.5; color: rgb(255 255 255 / .82); }
.sv-tool { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px clamp(20px, 4vw, 56px); align-items: center; padding: clamp(22px, 3.2vw, 44px); background: var(--p-ink); color: #fff; border-radius: 24px; }
.sv-tool h2 { margin: 0; font-size: clamp(24px, 2.6vw, 36px); color: #fff; }
.sv-tool p { margin: 10px 0 0; max-width: 40em; font-size: 17px; line-height: 1.55; color: rgb(255 255 255 / .82); }
.sv-tg { grid-template-columns: repeat(6, minmax(0, 1fr)); }
@media (max-width: 899px) { .sv-tg { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 639px) { .sv-tg { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.sv-lead { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 64px); align-items: center; padding: clamp(22px, 3.4vw, 48px); background: #fff; border: 1px solid var(--line); border-radius: 26px; }
.sv-lead h2 { margin: 0; font-size: clamp(28px, 3.4vw, 46px); }
.sv-lead h2 a { color: inherit; text-decoration: none; }
.sv-lead p { margin: 12px 0 0; font-size: var(--t-lead); line-height: 1.5; max-width: 30em; }
.sv-lead .pg-more { margin-block-start: 16px; }
.sv-thumbs { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.sv-thumbs li { display: grid; gap: 10px; padding: 14px; background: var(--p-surface); border-radius: 16px; font: 600 14.5px/1.25 var(--font-ui); text-align: center; }
.sv-thumbs svg { display: block; width: 100%; height: auto; }
.sv-lead--mn { grid-template-columns: minmax(0, 1fr) minmax(0, 320px); padding-block: clamp(12px, 2vw, 24px); background: #bfeede; border-color: transparent; }
.sv-lead--mn img { display: block; width: 100%; height: auto; }
.sv-bw .bw { margin-block-start: clamp(24px, 3.4vw, 44px); }
@media (max-width: 1099px) { .sv-hero .wrap { grid-template-columns: 1fr; } }
@media (max-width: 899px) { .sv-proc { grid-template-columns: repeat(2, minmax(0, 1fr)); } .sv-cmp { grid-template-columns: 1fr; } .sv-lead { grid-template-columns: 1fr; } .sv-lead--mn { grid-template-columns: minmax(0, 1fr) 150px; align-items: end; } .sv-tool { grid-template-columns: 1fr; } }
@media (max-width: 719px) { .sv-hub { grid-template-columns: 1fr; row-gap: 26px; } .sv-hub ul { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; } .sv-hub li { padding: 12px 8px; font-size: 15px; text-align: center; } .sv-hub li::after { inset-inline: 50% auto !important; width: 0; height: 26px; border-block-start: 0; border-inline-start: 2px dashed rgb(32 36 33 / .45); }
  .sv-hub__col:first-child li::after { inset-block-start: 100%; } .sv-hub__col:last-child li::after { inset-block: auto 100%; } .sv-hub__col:last-child p { order: 2; margin: 2px 0 0; }
  .sv-cases { grid-template-columns: 1fr; } .sv-doc li { grid-template-columns: 1.4em 12px minmax(0, 1fr); } .sv-doc span { grid-column: 3; } }
@media (max-width: 519px) { .sv-proc { grid-template-columns: 1fr; } .sv-win__bar::after { display: none; } .sv-lead--mn { grid-template-columns: 1fr; } .sv-lead--mn img { max-width: 150px; } }

/* voice agents page */
.mn-hero { padding-block-start: clamp(120px, 16vh, 160px); color: #fff; }
.mn-hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.mn-hero h1 { color: #fff; font-size: clamp(34px, 4.4vw, 60px); max-width: 14em; text-wrap: balance; }
.mn-hero .pg-hero__lead { color: rgb(255 255 255 / .86); }
.mn-hero .crumbs, .mn-hero .crumbs a, .mn-hero .crumbs li { color: rgb(255 255 255 / .72); }
.mn-hero .mn-uses { margin-block: 0 var(--s-5); }
.mn-hero .mn-art { position: static; grid-area: auto; }
.mn-hero .btn--secondary { background: transparent; color: #fff; border-color: rgb(255 255 255 / .5); box-shadow: none; }
@media (max-width: 959px) { .mn-hero__grid { grid-template-columns: 1fr; } .mn-hero .mn-art picture { width: min(100%, 320px); } }
.vc { max-width: 760px; margin: clamp(24px, 3.4vw, 44px) auto 0; background: #fff; border: 1px solid var(--line); border-radius: 26px; box-shadow: 0 30px 60px -44px rgb(32 36 33 / .45); overflow: hidden; font-family: var(--font-ui); }
.vc__top { display: flex; align-items: center; gap: 10px; padding: 14px clamp(16px, 2.4vw, 26px); background: var(--p-ink); color: #fff; font-size: 14.5px; }
.vc__top b { font-weight: 600; }
.vc__top .mn-bars { margin-inline-start: auto; width: 120px; }
.vc ol { list-style: none; margin: 0; padding: clamp(16px, 2.6vw, 28px); display: grid; gap: 12px; }
.vc li { display: grid; gap: 4px; max-width: 78%; opacity: 0; translate: 0 12px; transition: opacity 450ms ease, translate 550ms var(--ease-out); transition-delay: calc(var(--i) * 520ms + 150ms); }
.vc.is-in li { opacity: 1; translate: 0 0; }
.vc.is-scroll li { transition-delay: 0ms; opacity: 0; translate: 0 12px; }
.vc.is-scroll li.is-on { opacity: 1; translate: 0 0; }
.vc li small { font: 600 12.5px/1.2 var(--font-ui); color: var(--p-muted); }
.vc li p { margin: 0; padding: 11px 15px; border-radius: 18px; font-size: 16.5px; line-height: 1.45; }
.vc__mn { justify-self: start; } .vc__mn p { background: #ffe0e7; border-start-start-radius: 5px; }
.vc__cu { justify-self: end; } .vc__cu small { justify-self: end; } .vc__cu p { background: var(--p-surface); border-start-end-radius: 5px; }
.vc li.vc__sys { justify-self: center; max-width: 100%; grid-template-columns: auto auto minmax(0, 1fr); align-items: center; gap: 10px; padding: 9px 14px; border-radius: 12px; background: #dff3ea; font-size: 14.5px; line-height: 1.35; }
.vc__sys time { font: 600 13px/1 var(--font-mono, monospace); direction: ltr; }
.vc__sys b { font-weight: 600; white-space: nowrap; }
.vc__foot { margin: 0; padding: 14px clamp(16px, 2.6vw, 28px); border-block-start: 1px solid var(--line); background: #fbfbfa; font-size: 15.5px; color: var(--p-muted); }
@media (max-width: 560px) { .vc li { max-width: 90%; } .vc li.vc__sys { grid-template-columns: auto minmax(0, 1fr); } .vc__sys span { grid-column: 1 / -1; } .vc__top .mn-bars { width: 70px; } }
@media (prefers-reduced-motion: reduce) { .vc li { opacity: 1; translate: none; transition: none; } }
/* voice agents: one call sets off a whole flow of actions */
.af { display: grid; justify-items: center; margin-block-start: clamp(24px, 3.4vw, 44px); font-family: var(--font-ui); }
.af__n { display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 10px 16px; background: #fff; border: 2px solid var(--c, var(--line)); border-radius: 16px; box-shadow: 0 16px 28px -24px rgb(32 36 33 / .55); font: 600 16px/1.3 var(--font-ui); opacity: 0; translate: 0 10px; transition: opacity 450ms ease, translate 550ms var(--ease-out); transition-delay: calc(var(--i, 0) * 170ms + 100ms); }
.af.is-in .af__n { opacity: 1; translate: 0 0; }
.af__n i { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: color-mix(in srgb, var(--c, #ccc) 18%, #fff); color: var(--c, var(--p-ink)); }
.af__n svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.af__n small { display: block; font: 400 14px/1.35 var(--font-ui); color: var(--p-muted); }
.af__top { width: min(100%, 420px); --c: #f25270; }
.af__agent { width: min(100%, 420px); --c: var(--p-ink); background: var(--p-ink); color: #fff; }
.af__agent small { color: rgb(255 255 255 / .78); }
.af__agent img { flex: none; width: 46px; height: 46px; border-radius: 50%; background: #ffe0e7; object-fit: cover; }
.af__v { width: 2px; height: 28px; background: rgb(32 36 33 / .3); }
.af__cols { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 clamp(10px, 1.6vw, 22px); width: 100%; padding-block-start: 26px; }
.af__cols::before { content: ""; position: absolute; inset-block-start: 0; inset-inline: 12.500%; height: 2px; background: rgb(32 36 33 / .3); }
.af__col { position: relative; display: grid; align-content: start; justify-items: stretch; }
.af__col::before { content: ""; position: absolute; inset-block-start: -26px; inset-inline-start: calc(50% - 1px); width: 2px; height: 26px; background: rgb(32 36 33 / .3); }
.af__col .af__v { justify-self: center; height: 22px; }
@media (max-width: 859px) {
  .af__cols { grid-template-columns: 1fr; gap: 12px; padding-block-start: 0; padding-inline-start: 18px; margin-inline-start: 24px; width: calc(100% - 24px); }
  .af__cols::before { inset-inline: 0 auto; inset-block: 0 29px; width: 2px; height: auto; }
  .af__col { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; justify-items: stretch; }
  .af__col::before { inset-block-start: 29px; inset-inline-start: -18px; width: 18px; height: 2px; }
  .af__col .af__v { width: 14px; height: 2px; }
  .af__col:not(:has(.af__v)) { grid-template-columns: minmax(0, calc(50% - 7px)); }
  .af__n { font-size: 14.5px; padding: 8px 10px; gap: 8px; min-height: 58px; } .af__n i { width: 32px; height: 32px; border-radius: 9px; }
  .af > .af__v:last-of-type { justify-self: start; margin-inline-start: 24px; }
}
@media (prefers-reduced-motion: reduce) { .af__n { opacity: 1; translate: none; transition: none; } }
.sv-proc--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1099px) { .sv-proc--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 519px) { .sv-proc--5 { grid-template-columns: 1fr; } }
#try .mn-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: none; } #try .mn-grid > * { grid-area: auto; }
@media (max-width: 859px) { #try .mn-grid { grid-template-columns: 1fr; } }
html[dir="ltr"] #try .btn-row { margin-block-start: var(--s-5); }

.is-inner .about { margin-block: clamp(24px, 3.4vw, 44px) 0; }
.ab-who li { position: relative; }
.ab-av { position: absolute; inset-block-start: clamp(14px, 1.6vw, 22px); inset-inline-end: clamp(14px, 1.6vw, 22px); display: flex; }
.ab-av img { width: 40px; height: 40px; border-radius: 50%; background: var(--p-surface); box-shadow: 0 0 0 3px #fff; }
.ab-av img + img { margin-inline-start: -10px; }
.pg-team li em { font-style: normal; font-size: 15px; line-height: 1.45; color: var(--p-ink); }

.is-inner .how .hw { margin-block-start: clamp(24px, 3.4vw, 44px); }
.is-inner .how .hw-wrap { position: relative; }

.ct-hero .wrap { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
.ct-hero .pg-art { background: none; padding: 0; display: grid; justify-items: center; }
.ct-hero .pg-art img { width: min(100%, 360px); height: auto; }
.ct { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 14px; }
.ct__main { display: grid; align-content: space-between; gap: 22px; padding: clamp(22px, 3vw, 40px); border-radius: 26px; background: var(--p-ink); color: #fff; }
.ct__main h2 { margin: 0; color: #fff; font-size: clamp(26px, 3vw, 40px); }
.ct__main p { margin: 10px 0 0; font-size: var(--t-lead); line-height: 1.5; color: rgb(255 255 255 / .84); max-width: 26em; }
.ct__who { display: flex; align-items: center; gap: 12px; font-size: 15.5px; color: rgb(255 255 255 / .84); }
.ct__who span { display: flex; } .ct__who img { width: 44px; height: 44px; border-radius: 50%; background: #fbe1da; box-shadow: 0 0 0 3px var(--p-ink); } .ct__who img + img { margin-inline-start: -10px; background: #dff3ef; }
.ct__side { display: grid; gap: 14px; }
.ct__side li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 4px 14px; align-items: center; padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: 20px; }
.ct__side i { grid-row: 1 / span 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: var(--p-surface); }
.ct__side svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ct__side h2 { margin: 0; font: 600 14.5px/1.3 var(--font-ui); color: var(--p-muted); }
.ct__side a { font: 600 clamp(18px, 1.7vw, 22px)/1.3 var(--font-display); color: inherit; text-decoration: none; }
.ct__side a:hover { text-decoration: underline; }
.ct, .ct__side { list-style: none; padding: 0; margin: 0; }
.sv-proc--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 899px) { .ct-hero .wrap, .ct { grid-template-columns: 1fr; } .ct-hero .pg-art img { width: 200px; } .sv-proc--3 { grid-template-columns: 1fr; } }

/* ---------- English pages (LTR) ---------- */
html[dir="ltr"] .pg-hero h1 { max-width: 17em; }
html[dir="ltr"] .pg-rows h3 a { color: inherit; }
html[dir="ltr"] .pg-facts div { grid-template-columns: 8em minmax(0, 1fr); }
html[dir="ltr"] .pg-case__who b { font-size: 17px; }
html[dir="ltr"] .link::after { content: "→"; }
@media (hover: hover) and (pointer: fine) { html[dir="ltr"] .link:hover::after { transform: translateX(4px); } }

/* ---------- English calculators (LTR) ---------- */
html[dir="ltr"] .wa-field select { direction: ltr; }
html[dir="ltr"] .wa-total { text-align: start; }
html[dir="ltr"] .sv-total { direction: ltr; }
html[dir="ltr"] .wa-table td { text-align: start; }
html[dir="ltr"] .wa-rows dd { text-align: end; }
html[dir="ltr"] .wa-field.wa-field--wide { grid-template-columns: 1fr; }

/* ---------- projects page: the open folder is a full project file ---------- */
.pj { display: grid; gap: clamp(22px, 3vw, 40px); margin: 22px clamp(10px, 2vw, 28px) clamp(26px, 4vw, 44px); padding: clamp(18px, 3vw, 40px); background: #fff; border-radius: 20px; box-shadow: 0 20px 44px -34px rgb(32 36 33 / .6); }
.pj__top { display: grid; grid-template-columns: minmax(0, 200px) minmax(0, 1fr); gap: clamp(16px, 3vw, 48px); align-items: center; }
.pj__who img { max-width: 170px; max-height: 68px; width: auto; height: auto; }
.pj__who b { font: 800 clamp(22px, 2.4vw, 30px)/1.1 var(--font-display); }
.pj__head { font: 800 clamp(26px, 3.2vw, 44px)/1.08 var(--font-display); margin: 0 0 10px; text-wrap: balance; }
.pj__lead { margin: 0; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; color: var(--p-muted); max-width: 62ch; }
.pj__row { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(20px, 3.4vw, 56px); align-items: center; }
.pj__row--flip > :first-child { order: 2; }
.fd__f .pj h3, .pj__sub { height: auto; margin: 0 0 12px; font: 800 clamp(20px, 2vw, 27px)/1.15 var(--font-display); letter-spacing: -0.01em; }
.pj__duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 44px); }
.pj__duo > div { display: grid; gap: 18px; align-content: start; justify-items: center; padding: clamp(18px, 2.4vw, 30px); border-radius: 18px; background: color-mix(in srgb, var(--c) 30%, #fff); }
.pj__duo > div > div { justify-self: stretch; }
.pj__duo p { margin: 0; color: var(--p-muted); line-height: 1.6; }
.pj__row p { margin: 0 0 10px; color: var(--p-muted); line-height: 1.6; max-width: 54ch; }
.pj__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pj__list li { position: relative; padding-inline-start: 20px; line-height: 1.5; }
.pj__list li::before { content: ""; position: absolute; inset-inline-start: 0; inset-block-start: .62em; inline-size: 9px; block-size: 2px; background: var(--p-accent); }
.pj__caps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 30px) clamp(18px, 2.6vw, 40px); }
.pj__caps li { display: grid; align-content: start; gap: 6px; padding-block-start: 14px; border-block-start: 2px solid var(--p-ink); }
.pj__caps b { font: 600 clamp(17px, 1.4vw, 20px)/1.25 var(--font-display); }
.pj__caps span { color: var(--p-muted); font-size: 16px; line-height: 1.5; }
.pj__band { padding: clamp(18px, 2.6vw, 32px); border-radius: 18px; background: color-mix(in srgb, var(--c) 46%, #fff); }
.pj__cap { margin: 10px 0 0; font: 400 13.5px/1.4 var(--font-text); color: var(--p-muted); text-align: center; }
.pj-note { display: flex; gap: 12px; align-items: start; max-width: 76ch; margin: 0; padding: 14px 18px; border: 1px solid var(--line); border-radius: 16px; background: #fff; color: var(--p-muted); line-height: 1.55; }
.pj-note::before { content: ""; flex: none; inline-size: 10px; block-size: 10px; margin-block-start: .5em; border-radius: 50%; background: var(--p-accent); }
.fd--pj .fd__f.is-open .fd__body > div { overflow: visible; }

/* shared mock chrome */
.pj-win { container-type: inline-size; border: 1px solid var(--line); border-radius: 16px; background: #fff; overflow: hidden; box-shadow: 0 24px 46px -36px rgb(32 36 33 / .7); font-family: var(--font-ui); }
.pj-win__bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; background: #f4f3ef; border-block-end: 1px solid var(--line); }
.pj-win__bar i { inline-size: 9px; block-size: 9px; border-radius: 50%; background: #d7d5cd; }
.pj-win__bar span { margin-inline-start: 8px; font: 500 12.5px/1 var(--font-ui); color: var(--p-muted); }
.pj-win__bar em { margin-inline-start: auto; padding: 4px 8px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font: 500 11.5px/1 var(--font-ui); font-style: normal; color: var(--p-muted); }
.pj-win__body { padding: 14px; }
.pj-ph { display: block; block-size: 9px; border-radius: 6px; background: #e7e5de; }
.pj-chip { display: inline-flex; align-items: center; justify-content: center; min-block-size: 28px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font: 500 12.5px/1 var(--font-ui); white-space: nowrap; }
.pj-chip.is-on { background: var(--p-ink); border-color: var(--p-ink); color: #fff; }
.pj-tick { inline-size: 20px; block-size: 20px; border-radius: 50%; border: 1.5px solid #c9c7bf; display: inline-grid; place-items: center; flex: none; }
.pj-tick::after { content: ""; width: 9px; height: 5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; rotate: -45deg; translate: 0 -1px; opacity: 0; }
[data-pj] .pj-tick { transition: background-color 240ms ease, border-color 240ms ease; transition-delay: calc(var(--i, 0) * 260ms + 500ms); }
[data-pj].is-in .pj-tick.is-yes { background: #1f9d6b; border-color: #1f9d6b; }
[data-pj].is-in .pj-tick.is-yes::after { opacity: 1; transition: opacity 200ms ease; transition-delay: calc(var(--i, 0) * 260ms + 560ms); }
[data-pj] .pj-in { opacity: 0; translate: 0 10px; transition: opacity 420ms ease, translate 420ms var(--ease-out); transition-delay: calc(var(--i, 0) * 110ms); }
[data-pj].is-in .pj-in { opacity: 1; translate: 0 0; }

/* lesson series calendar */
.pj-cal { display: grid; gap: 10px; }
.pj-cal__row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.pj-cal__d { position: relative; display: grid; gap: 3px; justify-items: center; padding: 10px 6px 9px; border-radius: 14px; background: #fff; border: 1px solid var(--line); text-align: center; }
.pj-cal__d small { font: 500 11.5px/1 var(--font-ui); color: var(--p-muted); }
.pj-cal__d b { font: 700 17px/1.1 var(--font-ui); font-variant-numeric: tabular-nums; }
.pj-cal__d i { font: 500 11.5px/1.2 var(--font-ui); font-style: normal; padding: 3px 7px; border-radius: 999px; background: #d9f3e4; color: #0c5b33; }
.pj-cal__d.is-off { background: repeating-linear-gradient(135deg, #f4f3ef 0 6px, #ecebe5 6px 12px); border-style: dashed; }
.pj-cal__d.is-off b { color: var(--p-muted); text-decoration: line-through; }
.pj-cal__d.is-off i { background: #fdecc8; color: #7a4b00; }
.pj-cal__d.is-new { border-color: var(--p-ink); }
.pj-cal__d.is-new i { background: var(--p-ink); color: #fff; }
.pj-cal__legend { display: flex; flex-wrap: wrap; gap: 6px 14px; font: 400 13px/1.3 var(--font-ui); color: var(--p-muted); }
.pj-cal__legend span::before { content: ""; display: inline-block; inline-size: 9px; block-size: 9px; margin-inline-end: 6px; border-radius: 3px; background: var(--k); }

/* phone mock */
.pj-phone { inline-size: min(100%, 290px); margin-inline: auto; padding: 9px; border-radius: 34px; background: #202421; box-shadow: 0 30px 50px -34px rgb(32 36 33 / .9); font-family: var(--font-ui); }
.pj-phone__scr { display: grid; gap: 10px; align-content: start; min-block-size: 440px; padding: 16px 13px 14px; border-radius: 26px; background: #f7f6f2; overflow: hidden; }
.pj-phone__hd { display: flex; align-items: center; gap: 9px; }
.pj-phone__hd i { inline-size: 30px; block-size: 30px; border-radius: 50%; background: var(--c, #ffd0dc); flex: none; }
.pj-phone__hd b { font: 600 14.5px/1.2 var(--font-ui); display: grid; }
.pj-phone__hd b small { font: 400 12px/1.2 var(--font-ui); color: var(--p-muted); }
.pj-phone__t { margin: 2px 0 0; font: 600 13px/1 var(--font-ui); color: var(--p-muted); }
.pj-card { display: grid; gap: 8px; padding: 11px 12px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.pj-card__r { display: flex; align-items: center; justify-content: space-between; gap: 8px; font: 500 13.5px/1.2 var(--font-ui); }
.pj-card__r small { font: 400 12px/1.2 var(--font-ui); color: var(--p-muted); font-variant-numeric: tabular-nums; }
.pj-card__p { display: flex; align-items: center; gap: 8px; padding-block: 5px; border-block-start: 1px solid #efede7; font: 400 13px/1.2 var(--font-ui); }
.pj-card__p span { flex: 1; }
.pj-btn { display: grid; place-items: center; min-block-size: 38px; border-radius: 999px; background: var(--p-ink); color: #fff; font: 600 13.5px/1 var(--font-ui); }
.pj-bar { block-size: 6px; border-radius: 999px; background: #e7e5de; overflow: hidden; }
.pj-bar i { display: block; block-size: 100%; inline-size: var(--w, 50%); border-radius: inherit; background: var(--p-accent); transform-origin: var(--o, right) center; scale: 0 1; transition: scale 900ms var(--ease-out) 300ms; }
html[dir="ltr"] .pj-bar i { --o: left; }
[data-pj].is-in .pj-bar i { scale: 1 1; }
.pj-q { display: grid; gap: 7px; padding: 10px 11px; border-radius: 13px; background: #fff; border: 1px solid var(--line); }
.pj-q__o { display: flex; gap: 6px; }
.pj-q__o .pj-chip { flex: 1; }
[data-pj] .pj-q__o .pj-chip.is-pick { transition: background-color 220ms ease, color 220ms ease, border-color 220ms ease; transition-delay: calc(var(--i, 0) * 420ms + 700ms); }
[data-pj].is-in .pj-q__o .pj-chip.is-pick { background: var(--p-ink); border-color: var(--p-ink); color: #fff; }
.pj-sign { block-size: 54px; border-radius: 12px; border: 1px dashed #c9c7bf; background: #fff; display: grid; place-items: center; }
.pj-sign path { fill: none; stroke: #202421; stroke-width: 2; stroke-linecap: round; stroke-dasharray: 220; stroke-dashoffset: 220; transition: stroke-dashoffset 1400ms ease 2200ms; }
[data-pj].is-in .pj-sign path { stroke-dashoffset: 0; }

/* dynamic questionnaire */
.pj-quiz { display: grid; grid-template-columns: minmax(0, 150px) minmax(0, 1fr); gap: 14px; }
.pj-quiz__side { display: grid; gap: 10px; align-content: start; padding: 10px; border-radius: 12px; background: #f7f6f2; }
.pj-quiz__side p { margin: 0 0 5px; font: 500 12px/1 var(--font-ui); color: var(--p-muted); }
.pj-quiz__side div { display: flex; flex-wrap: wrap; gap: 5px; }
.pj-quiz__main { position: relative; min-block-size: 214px; }
.pj-quiz__set { position: absolute; inset: 0; display: grid; gap: 9px; align-content: start; opacity: 0; }
.pj-quiz__set > small { font: 500 12px/1 var(--font-ui); color: var(--p-muted); }
.pj-quiz__set .pj-ph:nth-of-type(1) { inline-size: var(--a, 86%); block-size: 12px; }
.pj-quiz__set .pj-ph:nth-of-type(2) { inline-size: var(--b, 58%); }
.pj-quiz__opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin-block-start: 4px; }
.pj-quiz__opts span { block-size: 34px; border-radius: 10px; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; }
.pj-quiz__opts span::after { content: ""; inline-size: var(--w, 50%); block-size: 8px; border-radius: 5px; background: #e7e5de; }
.pj-quiz__opts span.is-sel { border-color: var(--p-ink); box-shadow: inset 0 0 0 1px var(--p-ink); }
.pj-quiz__set:nth-child(1), .pj-quiz .pj-chip[data-s="1"] { animation: pj-cyc 9s infinite; }
.pj-quiz__set:nth-child(2), .pj-quiz .pj-chip[data-s="2"] { animation: pj-cyc 9s 3s infinite; }
.pj-quiz__set:nth-child(3), .pj-quiz .pj-chip[data-s="3"] { animation: pj-cyc 9s 6s infinite; }
.pj-quiz .pj-chip[data-s] { animation-name: pj-cyc-chip; }
@keyframes pj-cyc { 0%, 30% { opacity: 1; } 33.4%, 100% { opacity: 0; } }
@keyframes pj-cyc-chip { 0%, 30% { background: #202421; border-color: #202421; color: #fff; } 33.4%, 100% { background: #fff; border-color: var(--line); color: #202421; } }

/* document pipeline */
.pj-pipe { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, 1.3fr); gap: 0 clamp(14px, 2vw, 26px); align-items: center; font-family: var(--font-ui); }
.pj-pipe li { position: relative; display: grid; gap: 4px; justify-items: center; text-align: center; padding: 14px 8px; border-radius: 14px; background: #fff; border: 1px solid var(--line); animation: pj-step 12s infinite; animation-delay: calc(var(--i) * 900ms); }
.pj-pipe li b { font: 600 14.5px/1.2 var(--font-ui); }
.pj-pipe li small { font: 400 12.5px/1.3 var(--font-ui); color: var(--p-muted); }
.pj-pipe li:not(.pj-pipe__end)::after { content: ""; position: absolute; inset-block-start: 50%; inset-inline-start: 100%; inline-size: clamp(14px, 2vw, 26px); border-block-start: 2px dashed rgb(32 36 33 / .4); }
.pj-pipe__end { background: none !important; border: 0 !important; padding: 0 !important; animation: none !important; display: grid; gap: 8px; justify-items: stretch !important; }
.pj-pipe__end span { display: grid; gap: 3px; padding: 11px 10px; border-radius: 14px; border: 1px solid var(--line); background: #fff; text-align: center; }
.pj-pipe__end .is-ok { animation: pj-ok 12s infinite; }
.pj-pipe__end .is-no { animation: pj-no 12s infinite; }
@keyframes pj-step { 0%, 3% { background: #fff; border-color: var(--line); } 5%, 10% { background: #202421; border-color: #202421; color: #fff; } 14%, 50% { background: #fff; border-color: var(--line); color: inherit; } 55%, 60% { background: #202421; border-color: #202421; color: #fff; } 64%, 100% { background: #fff; border-color: var(--line); color: inherit; } }
@keyframes pj-ok { 0%, 34% { background: #fff; border-color: var(--line); } 37%, 48% { background: #d9f3e4; border-color: #1f9d6b; } 52%, 100% { background: #fff; border-color: var(--line); } }
@keyframes pj-no { 0%, 84% { background: #fff; border-color: var(--line); } 87%, 97% { background: #fdecc8; border-color: #c98a12; } 100% { background: #fff; border-color: var(--line); } }
.pj-pipe li small { color: inherit; opacity: .72; }

/* patient program mock */
.pj-psp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.pj-psp__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pj-psp__steps li { display: flex; align-items: center; gap: 9px; padding: 9px 10px; border-radius: 12px; background: #f7f6f2; font: 500 13.5px/1.2 var(--font-ui); }
.pj-psp__steps li span { flex: 1; }
.pj-psp__steps li em { font: 500 11.5px/1 var(--font-ui); font-style: normal; padding: 4px 8px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--p-muted); }
.pj-psp__side { display: grid; gap: 10px; align-content: start; }
.pj-psp__warn { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 10px; background: #fdecc8; color: #7a4b00; font: 500 12.5px/1.3 var(--font-ui); }
.pj-bars { display: flex; align-items: end; gap: 6px; block-size: 54px; }
.pj-bars i { flex: 1; block-size: var(--h); border-radius: 5px 5px 0 0; background: var(--c, #bfeede); transform-origin: center bottom; scale: 1 0; transition: scale 700ms var(--ease-out); transition-delay: calc(var(--i) * 90ms + 400ms); }
[data-pj].is-in .pj-bars i { scale: 1 1; }

/* orders board */
.pj-board { --step: 20cqw; position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.pj-board__c { display: grid; gap: 6px; align-content: start; min-block-size: 132px; padding: 8px 6px; border-radius: 12px; background: #f7f6f2; }
.pj-board__c > b { font: 600 12px/1.2 var(--font-ui); text-align: center; }
.pj-board__k { display: grid; gap: 5px; padding: 7px; border-radius: 9px; background: #fff; border: 1px solid var(--line); }
.pj-board__k small { font: 500 11px/1 var(--font-ui); color: var(--p-muted); font-variant-numeric: tabular-nums; }
.pj-board__go { position: absolute; inset-block-start: 34px; inset-inline-start: 6px; inline-size: calc(20cqw - 14px); border-color: var(--p-ink); box-shadow: 0 8px 16px -10px rgb(32 36 33 / .7); animation: pj-go 10s infinite var(--ease-in-out, ease-in-out); }
@keyframes pj-go { 0%, 12% { translate: 0 0; } 20%, 32% { translate: calc(var(--d, -1) * 20cqw) 0; } 40%, 52% { translate: calc(var(--d, -1) * 40cqw) 0; } 60%, 72% { translate: calc(var(--d, -1) * 60cqw) 0; } 80%, 96% { translate: calc(var(--d, -1) * 80cqw) 0; } 100% { translate: 0 0; } }
html[dir="ltr"] .pj-board__go { --d: 1; }
.pj-cur { display: flex; gap: 6px; margin-block-start: 10px; }

@media (max-width: 859px) {
  .pj__top { grid-template-columns: 1fr; gap: 12px; }
  .pj__row { grid-template-columns: 1fr; }
  .pj__duo { grid-template-columns: 1fr; }
  .pj__row--flip > :first-child { order: 0; }
  .pj__caps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pj-pipe { grid-template-columns: 1fr; gap: 16px 0; }
  .pj-pipe li:not(.pj-pipe__end)::after { inset-block-start: 100%; inset-inline-start: 50%; inline-size: 0; block-size: 16px; border-block-start: 0; border-inline-start: 2px dashed rgb(32 36 33 / .4); }
}
@media (max-width: 559px) {
  .pj { margin-inline: 6px; padding: 16px 14px 20px; }
  .pj__caps { grid-template-columns: 1fr; }
  .pj-quiz { grid-template-columns: 1fr; }
  .pj-psp { grid-template-columns: 1fr; }
  .pj-board { grid-template-columns: 1fr; }
  .pj-board__c { min-block-size: 0; grid-template-columns: 84px minmax(0, 1fr); align-items: center; block-size: 46px; padding: 6px 8px; }
  .pj-board__c > b { text-align: start; }
  .pj-board__c .pj-board__k:not(.pj-board__go) { display: none; }
  .pj-board__go { inset-block-start: 6px; inset-inline-start: 98px; inline-size: calc(100% - 106px); animation-name: pj-go-y; }
  .fd--pj .fd__tab small { display: none; }
}
@keyframes pj-go-y { 0%, 12% { translate: 0 0; } 20%, 32% { translate: 0 52px; } 40%, 52% { translate: 0 104px; } 60%, 72% { translate: 0 156px; } 80%, 96% { translate: 0 208px; } 100% { translate: 0 0; } }
@media (prefers-reduced-motion: reduce) {
  [data-pj] .pj-in { opacity: 1; translate: 0 0; transition: none; }
  .pj-pipe li, .pj-pipe__end span, .pj-board__go, .pj-quiz__set, .pj-quiz .pj-chip[data-s] { animation: none !important; }
  .pj-quiz__set:nth-child(1) { opacity: 1; }
  .pj-bar i, .pj-bars i { scale: 1 1; transition: none; }
  .pj-sign path { stroke-dashoffset: 0; transition: none; }
}