/* Shared by both landing variations: reset, brand tokens, and the small product pictures (classes start with m-).
   The mocks keep the real app's own colours on purpose (white cards, brand blue, the Signal team colours). */
:root {
  --blue: #0000bd; --blue-deep: #00008a; --ink: #0b0b14; --muted: #5f5f6b; --line: #d9d9e0; --paper: #ffffff; --grey: #f5f5f5;
  --sky: #2e9bff; --orange: #ff5a1f; --yellow: #ffc61a; --ok: #0f7b3f; --wait: #8a5300;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-align: left; }
img, canvas, svg { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

/* The logo mark: a black tile with two eyes, as in the app's navbar. */
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; letter-spacing: -.02em; }
.logo i { position: relative; width: 26px; height: 26px; border-radius: 8px; background: #0b0b14; flex: none; }
.logo i::before, .logo i::after { content: ""; position: absolute; top: 10px; width: 5px; height: 5px; border-radius: 50%; background: #fff; }
.logo i::before { left: 6px; } .logo i::after { right: 6px; }

/* ---------- product pictures ---------- */
[data-mock] { font-family: var(--sans); font-size: 12px; line-height: 1.4; color: var(--ink); }
.m-card { background: #fff; border-radius: 12px; padding: 14px; box-shadow: 0 1px 2px rgba(12, 12, 30, .08), 0 14px 34px -10px rgba(0, 0, 60, .35); display: grid; gap: 10px; }
.m-face { display: block; width: 22px; height: 22px; border-radius: 6px; background: #000; overflow: hidden; flex: none; }
.m-face img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 16%; }
.m-face.big { width: 100%; height: auto; aspect-ratio: 1 / .9; border-radius: 0; }
.m-chip { display: inline-flex; align-items: center; gap: 5px; padding: 2px 8px; border-radius: 999px; font-size: 10.5px; font-weight: 500; white-space: nowrap; background: #eef0f2; color: var(--muted); }
.m-chip i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.m-chip.ok { background: #e3f3e9; color: var(--ok); } .m-chip.wait { background: #fbefd9; color: var(--wait); }
.m-head, .m-top { display: flex; align-items: center; gap: 8px; }
.m-head .m-chip, .m-top > :last-child { margin-left: auto; }
.m-top span, .m-quiet { color: var(--muted); font-size: 11px; }
.m-big { display: flex; align-items: baseline; gap: 8px; color: var(--muted); }
.m-big strong { font-size: 34px; line-height: 1; letter-spacing: -.03em; color: var(--ink); font-weight: 700; font-variant-numeric: tabular-nums; }
.m-card ul { display: grid; border-top: 1px solid var(--line); }
.m-card li { display: flex; align-items: center; gap: 8px; padding: 7px 0; border-bottom: 1px solid #ececf1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-card li:last-child { border-bottom: 0; padding-bottom: 0; }
.m-card li em { margin-left: auto; font-style: normal; font-family: var(--mono); font-size: 11px; color: var(--muted); }
.m-btn { display: flex; justify-content: space-between; padding: 8px 12px; border-radius: 8px; background: var(--blue); color: #fff; font-weight: 600; }

.m-chat p { max-width: 88%; padding: 8px 11px; border-radius: 12px; }
.m-me { justify-self: end; background: var(--blue); color: #fff; border-bottom-right-radius: 4px !important; }
.m-them { background: #eeeef2; border-bottom-left-radius: 4px !important; }
.m-plan { display: flex; align-items: center; gap: 7px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 9px; justify-self: start; }
.m-plan span:last-child { color: var(--muted); }
.m-ico { width: 14px; height: 14px; border-radius: 4px; background: var(--sky); }
.m-input { display: flex; justify-content: space-between; align-items: center; padding: 8px 8px 8px 11px; border: 1px solid var(--line); border-radius: 10px; color: var(--muted); }
.m-input em { font-style: normal; padding: 3px 9px; border-radius: 6px; background: #eeeef2; }

/* The org, in black: the portraits' own black studio background runs straight into the card. One colour only, the status dot. */
.m-org { display: grid; justify-items: center; width: 100%; color: #fff; }
.m-lead, .m-agent { background: #050506; border: 1px solid rgba(255, 255, 255, .16); border-radius: 12px; overflow: hidden; box-shadow: 0 18px 40px -14px rgba(0, 0, 40, .7); }
.m-lead { display: grid; grid-template-columns: 76px auto; align-items: center; column-gap: 12px; padding-right: 18px; }
.m-lead > div, .m-agent { display: grid; }
.m-lead > div { gap: 2px; }
.m-face.tall { width: 76px; height: 84px; border-radius: 0; }
.m-face.big { -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
.m-role { font-family: var(--mono); font-size: 9px; letter-spacing: .04em; color: rgba(255, 255, 255, .5); }
.m-org b { font-size: 12px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-lead b { font-size: 15px; }
.m-stat { display: inline-flex; align-items: center; gap: 5px; font-size: 10px; color: rgba(255, 255, 255, .72); white-space: nowrap; }
.m-stat i { width: 5px; height: 5px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 3px rgba(61, 220, 132, .16); }
.m-stat.wait i { background: #ffc61a; box-shadow: 0 0 0 3px rgba(255, 198, 26, .18); }
.m-agent { padding-bottom: 10px; gap: 2px; }
.m-agent > :not(.m-face) { padding-inline: 8px; }
.m-agent .m-role { margin-top: -6px; position: relative; }
.m-wires { width: calc(66.6% + 1px); height: 20px; margin-top: 10px; border: 1px solid rgba(255, 255, 255, .55); border-bottom: 0; border-radius: 8px 8px 0 0; position: relative; }
.m-wires::before, .m-wires::after { content: ""; position: absolute; left: 50%; width: 1px; background: rgba(255, 255, 255, .55); }
.m-wires::before { top: -11px; height: 10px; } .m-wires::after { top: 0; height: 100%; }
.m-team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; width: 100%; max-width: 310px; }

.m-shot { position: relative; height: 62px; border-radius: 8px; background: #f1f2f6; border: 1px solid var(--line); display: grid; align-content: center; gap: 5px; padding: 0 12px; }
.m-shot i { height: 5px; border-radius: 3px; background: #d5d7e2; } .m-shot i:nth-child(1) { width: 40%; background: var(--blue); } .m-shot i:nth-child(2) { width: 72%; } .m-shot i:nth-child(3) { width: 55%; }
.m-shot span { position: absolute; right: 8px; top: 7px; font-size: 9.5px; color: var(--muted); font-family: var(--mono); }
.m-tick { width: 13px; height: 13px; border-radius: 50%; background: var(--ok); position: relative; flex: none; }
.m-tick::after { content: ""; position: absolute; left: 4px; top: 2.5px; width: 3.5px; height: 6px; border: solid #fff; border-width: 0 1.5px 1.5px 0; transform: rotate(40deg); }
.m-bar { height: 6px; border-radius: 3px; background: #ececf1; overflow: hidden; } .m-bar i { display: block; height: 100%; background: var(--blue); border-radius: 3px; }
.m-radio { width: 13px; height: 13px; border-radius: 50%; border: 1.5px solid #b9bac6; flex: none; }
.m-models li.on .m-radio { border: 4px solid var(--blue); }
.m-models li.on b { color: var(--blue); }
