/* Systems section (added 2026-11-04): what Valento connects to and how the data is protected, between
   the feature cards and "Three phases". Centred .h-big headline, then two rows of ten system tiles wired
   into one Valento block between them (option 1 of six), one line for everything else, then four small
   duotone illustrations (style F of seven), both picked by Shahad on 2026-11-04.
   The wires are SVG paths with fixed coordinates on the 1480 x 296 canvas (rows 0-88 and 208-296, rail at
   y 148, block 264 x 64 at x 608-872), so the row and block sizes below are fixed too. Plain lines only:
   the endpoint dots and the moving dots were removed on 2026-11-05 (Shahad).
   Authored at 1920 design pixels; the narrow layouts at the bottom apply below 1100 px only. */

.systems { position: relative; padding: 128px 0 136px; background: var(--white);
  border-top: 1px solid var(--g200); border-bottom: 1px solid var(--g200); }
.systems .h-big { white-space: nowrap; }
.systems .h-big span { color: var(--g700); font-weight: 500; }
.sys-intro { width: 940px; margin: 24px auto 0; text-align: center; text-wrap: balance; font-size: 20px; line-height: 28px; font-weight: 450; letter-spacing: .1px; color: var(--g700); }

/* ---- Two rows of systems wired into Valento ---- */
.sys-net { position: relative; height: 296px; margin-top: 64px; }
.sn-wires { position: absolute; left: 0; top: 0; width: 1480px; height: 296px; overflow: visible; pointer-events: none; }
.sn-wires .w { fill: none; stroke: var(--g300); stroke-width: 1.5; }
.sys-wall { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 16px; }
.sys-wall li { height: 88px; display: grid; place-items: center; background: var(--white); border: 1px solid var(--g200); border-radius: 16px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .04); }
/* Logos in grey (Shahad 2026-11-05); a tile shows its logo's own colours on hover. */
.sys-wall img { max-width: 80%; height: auto; filter: grayscale(1); opacity: .62; transition: filter .3s ease, opacity .3s ease; }
.sys-wall li:hover img { filter: none; opacity: 1; }
.sn-mid { position: relative; z-index: 1; height: 120px; display: grid; place-items: center; }
.sn-core { position: relative; isolation: isolate; width: 264px; height: 64px; border-radius: 16px; display: grid; place-items: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, .22) 0%, rgba(255, 255, 255, .04) 55%, rgba(0, 0, 0, .06) 100%), var(--indigo);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), 0 16px 40px rgba(79, 70, 229, .28); }
/* Same grain as .btn-primary::after (css/site.css): 120 px fractal-noise tile, overlay at .55 (Shahad 2026-11-05). */
.sn-core::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; border-radius: inherit;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='g' x='0' y='0' width='100%25' height='100%25'><feTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='3' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%25' height='100%25' filter='url(%23g)'/></svg>");
  background-size: 120px 120px; opacity: .55; mix-blend-mode: overlay;
}
.sn-core img { width: 150px; height: auto; }
.sys-note { margin-top: 28px; text-align: center; font-size: 17px; line-height: 26px; color: var(--g700); }

/* ---- Data protection: four small illustrations (112 unit art drawn at 150 px) ---- */
.sys-trust { margin-top: 96px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; text-align: center; }
.ill { display: block; width: 150px; height: 150px; margin: 0 auto; overflow: visible; }
.ill .paper { fill: var(--white); stroke: #c9cbf2; stroke-width: 1.6; }
.ill .rule { fill: none; stroke: #dcdef7; stroke-width: 3; stroke-linecap: round; }
.ill .grid { fill: none; stroke: #e3e4f8; stroke-width: 1.6; }
.ill .soft { fill: #e3e4fb; }
.ill .star, .ill .led, .ill .lockb, .ill .pup, .ill .spark { fill: var(--indigo); }
.ill .locks { fill: none; stroke: var(--indigo); stroke-width: 3; stroke-linecap: round; }
.ill .flag { fill: #0b3d91; } .ill .yel { fill: #ffcc00; }
.ill .eye { fill: var(--white); stroke: var(--indigo); stroke-width: 2.4; }
.ill .pins { fill: none; stroke: #c9cbf2; stroke-width: 4; stroke-linecap: round; }
.ill text { font-family: "Mona Sans", system-ui, sans-serif; font-size: 18px; font-weight: 700; text-anchor: middle; fill: var(--brand600); }
.sys-trust h3 { margin-top: 22px; font-size: 22px; line-height: 30px; font-weight: 500; letter-spacing: -.2px; color: var(--black); }
.sys-trust p { max-width: 300px; margin: 8px auto 0; text-wrap: balance; font-size: 17px; line-height: 26px; color: var(--g700); }

/* ========================== NARROW (< 1100 px) ========================== */
/* The wires go; one vertical line runs from the top grid through the Valento block into the bottom grid. */
@media (max-width: 1099px) {
  .systems { padding: 72px 0; }
  .systems .h-big { white-space: normal; }
  .sys-intro { width: auto; margin-top: 16px; font-size: 17px; line-height: 26px; }
  .sys-net { height: auto; margin-top: 36px; }
  .sn-wires { display: none; }
  .sys-wall { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
  .sys-wall li { height: 76px; border-radius: 14px; }
  .sn-mid { height: 112px; }
  .sn-mid::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1.5px; translate: -50% 0; background: var(--g300); }
  .sn-core { position: relative; width: 220px; height: 56px; border-radius: 14px; }
  .sn-core img { width: 128px; }
  .sys-note { margin-top: 20px; font-size: 16px; line-height: 24px; }
  .sys-trust { margin-top: 56px; gap: 24px 16px; }
  .ill { width: 112px; height: 112px; }
  .sys-trust h3 { margin-top: 16px; font-size: 19px; line-height: 26px; }
  .sys-trust p { font-size: 16px; line-height: 24px; }
}

@media (max-width: 767px) {
  .systems { padding: 56px 0; }
  .sys-intro { font-size: 15px; line-height: 23px; }
  .sys-net { margin-top: 28px; }
  .sys-wall { gap: 6px; }
  .sys-wall li { height: 52px; border-radius: 10px; }
  .sys-wall img { max-width: 76%; }
  .sn-mid { height: 88px; }
  .sn-core { width: 168px; height: 48px; border-radius: 12px; }
  .sn-core img { width: 104px; }
  .sys-note { margin-top: 16px; font-size: 14px; line-height: 21px; }
  .sys-trust { margin-top: 44px; grid-template-columns: 1fr 1fr; gap: 32px 16px; }
  .ill { width: 96px; height: 96px; }
  .sys-trust h3 { margin-top: 12px; font-size: 16px; line-height: 22px; }
  .sys-trust p { margin-top: 4px; font-size: 14px; line-height: 20px; }
}
