/* Managed IT & Systems (draft for Dave, 27 Oct 2026). The hero drawing is Lee's quiet systems
   panel from the homepage card: what a business runs on, wired to the teal HumanAmp OS tile.
   Static in every motion setting. The service cards reuse its tiles for their icons. */
.mi-systems { --mi-teal: #34A8AA; /* the approved HumanAmp OS teal, not yet a token */
  position: relative; background: var(--ha-ink-raised); aspect-ratio: 4 / 3; }
.mi-systems svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.mi-systems .sys-narrow { display: none; }
@media (max-width: 600px) {
  .mi-systems { aspect-ratio: 34 / 35; }
  .mi-systems .sys-wide { display: none; }
  .mi-systems .sys-narrow { display: block; }
}
.mi-systems .sys-grid line { stroke: var(--ha-vapour); stroke-opacity: .06; stroke-width: 1; }
.mi-systems .sys-ring { fill: none; stroke: var(--mi-teal); stroke-opacity: .55; stroke-width: 1.2; }
.mi-systems .sys-ring.sys-faint { stroke-opacity: .18; }
.mi-systems .sys-link { fill: none; stroke: var(--ha-vapour); stroke-opacity: .3; stroke-width: 1.2; stroke-linecap: round; }
.mi-systems .sys-link.sys-hi { stroke: var(--mi-teal); stroke-opacity: .6; }
.mi-systems .sys-socket, .mi-systems .sys-signal { fill: var(--mi-teal); }
.mi-systems .sys-tile rect { fill: var(--ha-ink); stroke: var(--ha-vapour); stroke-opacity: .22; stroke-width: 1; }
.mi-systems .sys-tile.sys-hi rect { stroke: var(--mi-teal); stroke-opacity: .8; }
.mi-systems .sys-ic { fill: none; stroke: var(--ha-vapour); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.mi-systems .sys-lab { font: 600 14px var(--ha-font-sans); fill: var(--ha-vapour); }
.mi-systems .sys-tile.sys-hi .sys-ic { stroke: var(--ha-paper); }
.mi-systems .sys-tile.sys-hi .sys-lab { fill: var(--ha-paper); }

/* Each group of services under the same small tile as the drawing */
.mi-ic { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 18px; border-radius: 12px; background: var(--ha-ink); }
.mi-ic svg { width: 24px; height: 24px; fill: none; stroke: var(--ha-paper); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.mi-list { display: grid; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.mi-list li { position: relative; padding-left: 16px; font: 500 16px/1.4 var(--ha-font-sans); color: var(--ha-ink); }
.mi-list li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--ha-ink-faint); }
.mi-way { margin: 18px 0 0; font: 700 14px/1.3 var(--ha-font-sans); color: var(--ha-support-on-paper); }
.mi-way + .mi-list { margin-top: 8px; }

.mi-quote { max-width: 820px; }
/* One line at every width: the heading scales with its column (it is about 9.9em long) */
.ip-hero .ip-in > div:first-child { container-type: inline-size; }
.ip-hero h1.mi-title { white-space: nowrap; font-size: min(62px, 9.8cqi) !important; }
.mi-start .os-acts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 600px) { .mi-start .os-acts { grid-template-columns: minmax(0, 1fr); } }
.mi-start .os-acts span { height: 100%; box-sizing: border-box; }
.mi-start .os-acts span::before { border-radius: 50%; }
