/* How Zenoo works: every vendor and every system feeds one case. Coloured ribbons run from each source into the Zenoo E (step 1),
   the customer journey is one of the sources (step 2), and one line leaves the E for the Inbox (step 3). Drawn by the script in index.html. */
.sig-sec { padding: clamp(72px, 8vw, 112px) 0 0; }
.sig-head { display: grid; grid-template-columns: 1.45fr 1fr; gap: 20px 64px; align-items: end; }
.sig-head .h2 em { font-style: normal; color: var(--grey-2nd, var(--ink-3)); }
.sig-head .lead { font-size: 18px; max-width: 58ch; }

.sig { position: relative; display: grid; grid-template-columns: minmax(0, 330px) minmax(150px, 1fr) minmax(0, 400px); gap: 36px; align-items: center; margin-top: 48px; padding: 32px; border: 1px solid var(--hairline); border-radius: 24px; background: var(--surface); background-image: radial-gradient(circle at 1px 1px, #ecebe6 1px, transparent 0); background-size: 22px 22px; }
.sig-wires { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.sig-wires .halo { fill: none; stroke-width: 9; stroke-linecap: round; opacity: .12; }
.sig-wires .line { fill: none; stroke-width: 2.2; stroke-linecap: round; opacity: .85; }
.sig-wires .out { fill: none; stroke: url(#sig-sp); stroke-width: 3.2; stroke-linecap: round; }
.sig-wires .out-halo { fill: none; stroke: url(#sig-sp); stroke-width: 12; stroke-linecap: round; opacity: .14; }
.sig-wires .pulse { stroke: #fff; stroke-width: 2; }

.sig-col, .sig-mid { position: relative; z-index: 1; min-width: 0; }
.sig-g + .sig-g { margin-top: 18px; }
.sig-gh { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: 13px; font-weight: 600; color: var(--ink); }
.sig-gh small { margin-left: auto; font: 500 10.5px/1 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.sig-n { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--ink); color: #fff; font: 600 11px/1 var(--font-mono); flex: none; }
.sig-l { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.sig-s { --c: var(--accent); display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 6px 10px 6px 7px; min-height: 40px; background: var(--surface); border: 1px solid var(--hairline); border-radius: 11px; transition: border-color .3s, box-shadow .3s; }
.sig-s.hit { border-color: color-mix(in srgb, var(--c) 45%, var(--hairline)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 12%, transparent); }
.sig-ic { width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center; color: var(--c); background: color-mix(in srgb, var(--c) 11%, #fff); }
.sig-ic svg { width: 14px; height: 14px; }
.sig-nm { font-size: 13px; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sig-nm small { display: block; font-size: 11.5px; font-weight: 400; color: var(--ink-2); }
.sig-logos { display: flex; align-items: center; text-decoration: none; }
.sig-logos img { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #fff; background: #fff; box-shadow: 0 0 0 1px var(--hairline); object-fit: contain; margin-left: -6px; }
.sig-logos img:first-child { margin-left: 0; }
.sig-more { margin-left: 4px; font: 500 10.5px/1 var(--font-mono); color: var(--ink-3); }
.sig-own { font: 500 10.5px/1 var(--font-mono); letter-spacing: .04em; color: var(--ink-3); text-transform: uppercase; }
.sig-s .sig-n { width: 18px; height: 18px; font-size: 10px; background: var(--accent); }

.sig-mid { display: grid; place-items: center; }
.sig-core { position: relative; width: 112px; height: 112px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); box-shadow: 0 0 0 1px var(--hairline), 0 0 0 14px rgba(101,72,232,.06), 0 0 0 30px rgba(101,72,232,.035), 0 24px 50px -20px rgba(101,72,232,.5); }
.sig-e { width: 46px; height: 46px; transition: transform .35s var(--ease); }
.sig-core.got .sig-e { animation: sig-e .6s var(--ease); }
.sig-cap { position: absolute; top: calc(100% + 40px); left: 50%; transform: translateX(-50%); white-space: nowrap; font: 500 11px/1 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); background: var(--surface); border: 1px solid var(--hairline); border-radius: 999px; padding: 6px 10px; }
@keyframes sig-e { 40% { transform: scale(1.14); } }

.sig-inbox { background: var(--surface); border: 1px solid var(--hairline); border-radius: 16px; padding: 14px 14px 10px; box-shadow: 0 24px 50px -30px rgba(20,12,60,.35); }
.sig-ih { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font-size: 15px; font-weight: 600; letter-spacing: -.01em; color: var(--ink); }
.sig-ib { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; background: var(--accent-wash); color: var(--accent); } .sig-ib svg { width: 15px; height: 15px; }
.sig-ih .sig-n { margin-left: auto; }
.sig-ih .sig-case { font: 500 11px/1 var(--font-mono); color: var(--ink-3); font-weight: 500; }
.sig-r { list-style: none; margin: 0; padding: 0; height: 248px; overflow: hidden; }
.sig-it { --c: var(--accent); display: grid; grid-template-columns: 8px minmax(0, 1fr) auto; align-items: center; gap: 10px; height: 62px; padding: 0 4px; border-top: 1px solid #f0efeb; }
.sig-it.enter { animation: sig-in .55s var(--ease) both; }
@keyframes sig-in { from { opacity: 0; transform: translateY(-10px); background: color-mix(in srgb, var(--c) 8%, #fff); } 60% { background: color-mix(in srgb, var(--c) 8%, #fff); } }
.sig-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.sig-t { min-width: 0; } .sig-t b { display: block; font-size: 13.5px; font-weight: 500; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sig-t small { display: block; font-size: 12px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sig-tag { font: 500 10.5px/1 var(--font-mono); color: var(--c); background: color-mix(in srgb, var(--c) 9%, #fff); border-radius: 6px; padding: 5px 7px; white-space: nowrap; max-width: 130px; overflow: hidden; text-overflow: ellipsis; }
.sig-foot { margin: 8px 4px 0; padding-top: 8px; border-top: 1px solid #f0efeb; font-size: 12px; color: var(--ink-3); }

.sig-steps { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: sig; }
.sig-steps li { padding: 22px 22px 20px; border: 1px solid var(--hairline); border-radius: 18px; background: var(--surface); }
.sig-steps .sig-n { width: 24px; height: 24px; font-size: 12px; margin-bottom: 14px; }
.sig-steps li:nth-child(1) .sig-n { background: #6548e8; } .sig-steps li:nth-child(2) .sig-n { background: #e8559a; } .sig-steps li:nth-child(3) .sig-n { background: #f6844b; }
.sig-steps h3 { font-size: 18px; font-weight: 600; letter-spacing: -.015em; }
.sig-steps p { margin-top: 8px; font-size: 15px; color: var(--ink-2); }
.sig-steps a { display: inline-block; margin-top: 12px; font-size: 14px; font-weight: 600; color: var(--accent); text-decoration: none; }
.sig-steps a:hover { text-decoration: underline; }

/* Phone and tablet: the sources become a compact grid, the ribbons fall into the E, and one line drops into the Inbox. */
@media (max-width: 1023px) {
  .sig-head { grid-template-columns: 1fr; }
  .sig { grid-template-columns: 1fr; gap: 0; padding: 16px; margin-top: 32px; }
  .sig-src { display: grid; grid-template-columns: 1fr; gap: 14px; }
  .sig-g + .sig-g { margin-top: 0; }
  .sig-l { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sig-s { grid-template-columns: 22px minmax(0, 1fr); gap: 8px; padding: 6px 8px 6px 6px; min-height: 38px; }
  .sig-ic { width: 22px; height: 22px; border-radius: 6px; } .sig-ic svg { width: 12px; height: 12px; }
  .sig-nm { font-size: 12.5px; white-space: normal; line-height: 1.2; }
  .sig-nm small { display: none; }
  .sig-logos, .sig-own { display: none; }
  .sig-s .sig-n { display: none; }
  .sig-mid { height: 230px; align-content: end; padding-bottom: 46px; }
  .sig-core { width: 84px; height: 84px; }
  .sig-e { width: 34px; height: 34px; }
  .sig-cap { top: auto; bottom: -38px; }
  .sig-col.sig-out { margin-top: 64px; }
  .sig-steps { grid-template-columns: 1fr; gap: 10px; margin-top: 16px; }
}
@media (min-width: 640px) and (max-width: 1023px) { .sig-l { grid-template-columns: repeat(3, minmax(0, 1fr)); } .sig-src { grid-template-columns: 1fr; } }
.sig-g:last-child .sig-l { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (min-width: 1024px) { .sig-g:last-child .sig-l { grid-template-columns: 1fr; } }
@media (max-width: 520px) {
  .sig-r { height: 296px; }
  .sig-it { grid-template-columns: 8px minmax(0, 1fr); row-gap: 5px; height: 74px; align-content: center; }
  .sig-it .sig-dot { grid-row: 1 / 3; align-self: start; margin-top: 6px; }
  .sig-tag { grid-column: 2; justify-self: start; max-width: 100%; }
  .sig-steps li { padding: 18px 18px 16px; }
  .sig-steps .sig-n { margin-bottom: 10px; }
}
@media (prefers-reduced-motion: reduce) { .sig-it.enter, .sig-core.got .sig-e { animation: none; } }
@media (max-width: 420px) { .sig-g:last-child .sig-s { grid-template-columns: minmax(0, 1fr); padding-left: 9px; } .sig-g:last-child .sig-ic { display: none; } .sig-g:last-child .sig-nm { overflow: visible; } }
@media (min-width: 760px) and (max-width: 1023px) { .sig-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
