/* ==========================================================================
   My Wix Designer - Wix Headless systems page (22 Oct 2026)
   Loaded only on /wix-headless-systems ("css": ["systems"] in the page meta).
   ========================================================================== */

/* ---------- the easy part, the hard part, where Wix Headless fits ---------- */
.why3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--tile-gap); margin: 0; padding: 0; list-style: none; }
.why3__c { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: clamp(22px, 2.2vw, 32px); border-radius: var(--r-lg); background: var(--paper); }
.why3__c h3 { font-size: var(--t-h4); line-height: 1.2; letter-spacing: -.02em; font-weight: 500; }
.why3__c p { color: var(--ink-64); }
.why3__i { width: 48px; height: 48px; margin-bottom: 14px; border-radius: var(--r); display: grid; place-items: center; background: var(--acc); color: var(--ink); }
.why3__i svg { width: 22px; height: 22px; }
.why3__k { font-size: var(--t-small); font-weight: 600; color: var(--ink-48); }
.why3__c:last-child { background: var(--forest); color: var(--paper); }
.why3__c:last-child p { color: var(--paper-64); }
.why3__c:last-child .why3__k { color: var(--mint); }

/* ---------- what we've built ---------- */
.sysg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--tile-gap); }
.sysc { display: flex; flex-direction: column; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--ink-06);
  box-shadow: 0 1px 2px rgba(15, 21, 18, .04), 0 18px 40px -28px rgba(15, 21, 18, .28); overflow: hidden; }
.sysc__art { position: relative; aspect-ratio: 600 / 340; margin: 8px 8px 0; border-radius: var(--r); overflow: hidden; background: var(--forest); }
.sysc__art svg { display: block; width: 100%; height: 100%; }
.sysc__b { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 22px 24px 24px; }
.sysc__b > p { color: var(--ink-64); }
.sysc__b .ticks { margin-top: 2px; font-size: var(--t-small); line-height: 1.45; }
.sysc__b .ticks svg { margin-top: 2px; }
.sysc__b .link { margin-top: auto; padding-bottom: 0; }
.sysc__tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.sysc__tags li { padding: 3px 8px; border-radius: var(--r-sm); background: var(--acc-wash, var(--paper-2)); font-size: .75rem; font-weight: 600; line-height: 1.35; color: var(--ink-80); }
.sysc__tags .is-hl { background: var(--mint); color: var(--ink); }
.sysc__tags .is-soon { background: var(--ink); color: var(--paper); }
.sysg__note { max-width: 46em; margin-top: 22px; }

/* the small moving parts in the card pictures */
.sysc__run circle { animation: sy-blink 2.2s ease-in-out infinite; }
.sysc__run circle + circle { animation-delay: 1.1s; }
@keyframes sy-blink { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
.sysc__new circle + circle { transform-box: fill-box; transform-origin: center; animation: sy-ring 2.6s ease-out infinite; }
@keyframes sy-ring { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(1.5); opacity: 0; } }

/* ---------- what we can build ---------- */
.canb { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--tile-gap); margin: 0; padding: 0; list-style: none; }
.canb__c { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 22px; border-radius: var(--r-lg); background: var(--paper); }
.canb__c b { font-weight: 600; letter-spacing: -.015em; line-height: 1.3; }
.canb__c > span:last-child { font-size: var(--t-small); line-height: 1.45; color: var(--ink-64); }
.canb__i { width: 40px; height: 40px; margin-bottom: 12px; border-radius: var(--r); display: grid; place-items: center; background: var(--acc); color: var(--ink); }
.canb__i svg { width: 20px; height: 20px; }

/* ---------- how a system project works: five steps ---------- */
.nsteps--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.nsteps--5 .nstep:nth-child(5) { --acc-deep: var(--lilac-deep); }

@media (max-width: 1180px) {
  .sysg { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .canb { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nsteps--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 991px) {
  .why3 { grid-template-columns: minmax(0, 1fr); }
  .why3__i { margin-bottom: 6px; }
  .nsteps--5 { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767px) {
  .sysg { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 479px) {
  .canb { grid-template-columns: minmax(0, 1fr); }
  .sysc__b { padding: 20px 20px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .sysc__run circle, .sysc__new circle { animation: none; }
}
