.audit-flow { --audit-progress: 0; background: #10283b; color: var(--snow); padding: 32px; position: relative; overflow: hidden; border-radius: 16px; }
.audit-flow h3 { font-size: 24px; letter-spacing: -.02em; }
.audit-flow p { color: #c4d8e9; }
.audit-canvas { position: relative; height: 180px; margin-block: 24px; }
.audit-wiring { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: #578ba9; stroke-width: 1; }
.audit-packet { stroke: #c8efff; stroke-width: 2; stroke-linecap: round; stroke-dasharray: 8 32; stroke-dashoffset: 0; }
@media (prefers-reduced-motion: no-preference) {
  .audit-packet { animation: audit-data-flow 1600ms linear infinite; animation-play-state: paused; }
  .audit-flow[data-transport="true"] .audit-packet { animation-play-state: running; }
  @keyframes audit-data-flow { from { stroke-dashoffset: 0; } to { stroke-dashoffset: -40; } }
}
.audit-batch { position: absolute; left: 0; top: 18px; width: 94px; height: 120px; }
.audit-document { position: absolute; width: 62px; height: 88px; background: #e3eef8; border: 1px solid #97bfd7; color: #16344b; padding: 12px 8px; font-size: 12px; transform: translate(calc(var(--document-index) * 12px),calc(var(--document-index) * 10px - var(--audit-progress) * 14px)); }
.audit-document::after { content: ''; display: block; width: 35px; height: 20px; margin-top: 12px; border-block: 1px solid #81a4bf; }
.audit-core { position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; transform: translate(-50%,-50%); display: grid; place-items: center; border: 1px solid #85c5e9; background: #163b52; border-radius: 50%; }
.audit-core img { width: 50px; height: 48px; }
.audit-core::after { content: ''; position: absolute; inset: -9px; border: 1px solid #6a9fbd; border-radius: 50%; transform: rotate(calc(var(--audit-progress) * 180deg)); border-right-color: transparent; }
.audit-outputs { position: absolute; right: 0; top: 22px; display: grid; gap: 8px; }
.audit-outputs span { font-size: 12px; letter-spacing: .05em; padding: 6px 10px; border: 1px solid #7098b2; background: #14364e; transform: translateX(calc((1 - var(--audit-progress)) * 8px)); }
.audit-phases { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.audit-phase { position: relative; display: grid; grid-template-columns: 28px 1fr; column-gap: 12px; }
.audit-phase::before { content: attr(data-step); color: #b2d7f0; border: 1px solid #537d99; border-radius: 50%; width: 26px; height: 26px; display: grid; place-items: center; font-size: 12px; }
.audit-phase:not(:last-child)::after { content: ''; position: absolute; left: 13px; top: 32px; bottom: -10px; border-left: 1px solid #426980; }
.audit-phase strong { font-size: 15px; font-weight: 500; }
.audit-phase p { grid-column: 2; font-size: 12px; line-height: 1.5; margin-top: 4px; }
.audit-phase[data-active="true"]::before { background: #d1edff; color: #10283b; border-color: #d1edff; }
.audit-phase[data-active="true"] strong { color: #a7ddff; }
.audit-flow > .caption { margin-top: 24px; font-size: 12px; }
.case-grid { align-items: center; padding-block: 80px; }
.case-copy h2 { max-width: 20ch; }
@media (max-width: 760px) { .audit-flow { padding: 24px 20px; } .audit-canvas { height: 150px; } .case-grid { padding-block: 48px; } .audit-core { width: 66px; height: 66px; } .audit-batch { transform: scale(.8); transform-origin: left center; } }
@media (prefers-reduced-motion: reduce) { .audit-packet { stroke-dasharray: none; } .audit-document, .audit-outputs span, .audit-core::after { transform: none; } }
