/* ==========================================================================
   Blok „Serwis: zakres na rysunku urządzenia” (.sect.scope): rysunek drukarki
   z pięcioma punktami i lista; punkt i wiersz podświetlają się nawzajem.
   Źródło (prototyp): assets/css/podstrony/serwis.css (Zakres serwisu, rytm sekcji)
   ========================================================================== */

/* Serwis: sekcje dzieli tło; dwie białe z rzędu – cienka linia zanikająca z pomarańczową kropką */
.scope.sect { border-top: 0; }
.scope.sect--sep { padding-top: 0; }
.scope.sect--sep::before {
  content: ""; display: block; width: min(100% - 2 * var(--gutter), var(--container)); height: 26px;
  margin: 0 auto var(--section-y);
  background:
    radial-gradient(circle, var(--orange) 0 4px, var(--orange-50) 4.5px 7px, #fff 7.5px 12px, transparent 12.5px) center / 26px 26px no-repeat,
    linear-gradient(90deg, rgba(203, 213, 224, 0), var(--line-strong) 28%, var(--line-strong) 72%, rgba(203, 213, 224, 0)) center / 100% 1px no-repeat;
}
.scope .shead { gap: 1.5rem clamp(2rem, 6vw, 6rem); }
.scope .shead p { max-width: 58ch; }

.scope__body {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: 2rem clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.scope__stage {
  position: relative; isolation: isolate; margin: 0; border-radius: var(--radius-xl);
  background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--line);
}
/* a dotted navy grid, fading out towards the edges */
.scope__stage::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: radial-gradient(circle, rgba(35, 66, 105, .2) 1px, transparent 1.6px) 0 0 / 16px 16px;
  -webkit-mask: radial-gradient(70% 65% at 50% 48%, #000 25%, transparent 100%);
          mask: radial-gradient(70% 65% at 50% 48%, #000 25%, transparent 100%);
}
.scope__svg { display: block; width: 100%; height: auto; overflow: visible; }
.scope__svg :is(rect, path, circle) {
  fill: #fff; stroke: var(--navy-700); stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round;
  transition: fill .3s, stroke .3s;
}
.scope__svg .sc-thin { fill: none; stroke-width: .9; }
.scope__svg .sc-well, .scope__svg .sc-screen { fill: var(--navy-50); }
.scope__svg .sc-knob, .scope__svg .sc-label { fill: var(--navy-100); stroke: none; }
.scope__svg .sc-floor { fill: var(--navy-100); opacity: .7; }
.scope__svg .sc-dash { fill: none; stroke: var(--line-strong); stroke-width: 1.5; stroke-dasharray: 2 6; }
.scope__svg .sc-use { fill: none; stroke: var(--navy-700); stroke-width: 1.75; transition: stroke .3s; }
.scope__svg .sc-part.is-on :is(rect, path, circle) { stroke: var(--orange-600); }
.scope__svg .sc-part.is-on :is(rect, path, circle):not(.sc-thin):not(.sc-dash) { fill: var(--orange-50); }
.scope__svg .sc-part.is-on .sc-label { fill: var(--orange-100); }
.scope__svg .sc-part.is-on .sc-dash { stroke: var(--orange); }
.scope__svg .sc-part.is-on .sc-use { stroke: var(--orange-600); }

.scope__pin {
  position: absolute; left: var(--x); top: var(--y); width: 30px; height: 30px; margin: -15px 0 0 -15px;
  border-radius: 50%; display: grid; place-items: center; cursor: default;
  background: #fff; color: var(--navy-900); box-shadow: inset 0 0 0 1.5px var(--navy-700), 0 4px 10px -4px rgba(22, 42, 67, .45);
  font-family: var(--font-ui); font-size: .8125rem; font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums;
  transition: background-color .25s, color .25s, box-shadow .25s, transform .4s var(--ease), opacity .4s var(--ease);
}
.scope__pin.is-on { background: var(--orange); color: #fff; transform: scale(1.12); box-shadow: 0 0 0 4px var(--orange-50), 0 6px 14px -6px rgba(236, 110, 40, .9); }
.scope__note {
  position: absolute; left: clamp(1rem, 2vw, 1.5rem); bottom: .9rem; margin: 0;
  font-family: var(--font-ui); font-size: .75rem; font-weight: 500; color: var(--muted);
}

.scope__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.scope__item {
  display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 1rem; row-gap: .2rem;
  padding: .85rem 1rem .95rem .75rem; border-radius: 18px;
  transition: background-color .25s, box-shadow .4s var(--ease);
}
.scope__item.is-on { background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--line); }
.scope__ico {
  grid-row: 1 / 3; position: relative; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center;
  background: var(--navy-50); color: var(--navy); transition: background-color .3s, color .3s;
}
.scope__ico .icon { width: 1.2rem; height: 1.2rem; }
.scope__ico i {
  position: absolute; right: -6px; top: -6px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center;
  background: var(--navy-900); color: #fff; box-shadow: 0 0 0 2px #fff;
  font-family: var(--font-ui); font-size: .6875rem; font-style: normal; font-weight: 600; line-height: 1;
  transition: background-color .3s, color .3s, box-shadow .3s;
}
.scope__item.is-on .scope__ico { background: var(--orange); color: #fff; }
.scope__item.is-on .scope__ico i { background: #fff; color: var(--orange-ink); box-shadow: 0 0 0 2px var(--orange), 0 0 0 4px #fff; }
.scope__item h3 { margin: 0; align-self: end; font-size: 1.0625rem; font-weight: 600; line-height: 1.3; letter-spacing: -.01em; color: var(--navy-900); }
.scope__item p { margin: 0; color: var(--muted); font-size: .9375rem; line-height: 1.55; max-width: 52ch; }

/* the moment: the points arrive, then each part lights in turn (view.js) */
.scope.is-armed .scope__pin { opacity: 0; transform: scale(.6); }
.scope.is-armed.is-shown .scope__pin { opacity: 1; transform: none; transition-delay: calc(var(--i, 0) * 90ms); }
.scope.is-armed.is-shown .scope__pin.is-on { transform: scale(1.12); transition-delay: 0s; }
.scope__pin[data-part="1"] { --i: 0; }
.scope__pin[data-part="2"] { --i: 1; }
.scope__pin[data-part="3"] { --i: 2; }
.scope__pin[data-part="4"] { --i: 3; }
.scope__pin[data-part="5"] { --i: 4; }

@media (max-width: 900px) {
  .scope__body { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .scope__pin { width: 26px; height: 26px; margin: -13px 0 0 -13px; font-size: .75rem; }
  .scope__note { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .scope :is(.scope__item, .scope__pin) { transition: none; }
  .scope.is-armed .scope__pin { opacity: 1; transform: none; }
}
