/* Before-and-after pictures (2026-10-15), used by versions B, C and D. A "before" is a plain document drawn in CSS
   (help article, sales email, release notes, training manual, text post); the "after" is the same thing as a playing
   video. Grey bars stand for text: nothing in them is meant to be read, which is the point. */
.pair { display: grid; grid-template-columns: .8fr auto 1.25fr; align-items: center; gap: clamp(10px, 1.6vw, 22px); }
.doc { position: relative; padding: 18px 18px 22px; border-radius: 16px; background: #fff; border: 1px solid var(--line); transform: rotate(-2deg);
  -webkit-mask-image: linear-gradient(#000 62%, transparent); mask-image: linear-gradient(#000 62%, transparent); overflow: hidden; }
.doc .lbl, .after .lbl { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.doc i { display: block; height: 7px; margin-top: 9px; border-radius: 4px; background: #e3e4f4; }
.doc .title { display: block; height: 13px; width: 68%; margin: 10px 0 14px; border-radius: 4px; background: #c9cbe6; }
.doc .row { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.doc .row b { flex: none; width: 34px; height: 7px; border-radius: 4px; background: #c9cbe6; }
.doc .row i { flex: 1; margin: 0; }
.doc .hr { height: 1px; margin: 12px 0 4px; background: var(--line); }
.doc .chip { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; padding: 5px 9px; border-radius: 7px; background: #f0f0fd; border: 1px solid var(--line); }
.doc .chip::before { content: ""; width: 10px; height: 12px; border-radius: 2px; background: #c63b2f; }
.doc .chip i { width: 46px; margin: 0; }
.doc .pill { display: inline-block; width: 44px; height: 16px; margin-top: 10px; border-radius: 99px; background: #dfe7ff; }
.doc .bul { display: flex; align-items: center; gap: 8px; margin-top: 9px; }
.doc .bul::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: #9aa0d6; }
.doc .bul i { flex: 1; margin: 0; }
.doc-manual { box-shadow: 8px 8px 0 -1px #fff, 8px 8px 0 0 var(--line), 16px 16px 0 -1px #fff, 16px 16px 0 0 var(--line); -webkit-mask-image: none; mask-image: none; }
.doc-manual .lines { -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); }
.doc .who { display: flex; align-items: center; gap: 8px; margin: 10px 0 6px; }
.doc .who::before { content: ""; width: 26px; height: 26px; border-radius: 50%; background: #c9cbe6; }
.doc .who i { width: 70px; margin: 0; }
.parr { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(180deg, #3a46f0, #1d26b8); box-shadow: 0 10px 24px -10px rgba(29,38,184,.8); }
.parr svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.after { padding: 10px 10px 14px; border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 40px 70px -40px rgba(30,34,140,.7); transform: rotate(1.5deg); }
.after video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; background: #eef0fb; }
.after .lbl { display: block; margin: 12px 6px 0; color: var(--blue); }
/* a phone-format video is shown as a phone, with no box around it */
.after.phone { justify-self: center; width: min(190px, 100%); padding: 7px; border-radius: 30px; background: #111; box-shadow: 0 40px 70px -36px rgba(30,34,140,.8); }
.after.phone video { aspect-ratio: 9 / 16; border-radius: 24px; }
.after.phone .lbl { position: absolute; left: 0; right: 0; bottom: -30px; text-align: center; margin: 0; }
.after.phone { position: relative; }
/* small pairs, three in a row */
.pairs-mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 28px); }
.mini { padding: 18px 16px 16px; border-radius: 22px; background: rgba(255,255,255,.62); border: 1px solid #fff; box-shadow: 0 24px 50px -40px rgba(30,34,140,.6); }
.mini .pair { grid-template-columns: .85fr auto 1.2fr; gap: 10px; }
.mini .doc { padding: 12px 11px 14px; transform: rotate(-2deg); }
.mini .doc i { height: 5px; margin-top: 7px; } .mini .doc .title { height: 9px; margin: 7px 0 9px; } .mini .doc .lbl, .mini .after .lbl { font-size: 10px; }
.mini .parr { width: 32px; height: 32px; } .mini .parr svg { width: 16px; height: 16px; }
.mini .after { padding: 6px 6px 9px; border-radius: 14px; } .mini .after video { border-radius: 9px; } .mini .after .lbl { margin: 8px 4px 0; }
.mini .after.phone { width: min(96px, 100%); padding: 4px; border-radius: 18px; } .mini .after.phone video { border-radius: 14px; }
.mini .after.phone .lbl { bottom: -22px; }
.mini .cap { margin-top: 16px; font-weight: 700; color: var(--ink); font-size: 16px; }
.mini .cap span { color: var(--muted); font-weight: 500; }
@media (max-width: 900px) {
  .pairs-mini { grid-template-columns: 1fr; }
  .doc { -webkit-mask-image: linear-gradient(#000 50%, transparent); mask-image: linear-gradient(#000 50%, transparent); max-height: 210px; }
  .mini .doc { max-height: 150px; }
}
