/* web-20261115-r3: «Как это работает» on «Возможности» — real screens, colourful numbered steps; desktop alternates, phone stacks */
.mx-guide { margin: 40px auto 0; max-width: 1120px; }
.mx-guide h2 { margin: 4px 0 6px; font-size: clamp(1.5rem, 2.4vw, 2rem); }
.mx-guide .mx-guide-note { margin: 0 0 18px; color: var(--mx-muted, #5b6475); font-size: .92rem; }
#how-it-works .mx-guide-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
#how-it-works .mx-guide-steps > .mx-guide-step { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 24px; align-items: center; padding: 18px; border-radius: 20px; background: var(--mx-card, #fff); border: 1px solid var(--line, #e2e8f2); box-shadow: 0 12px 34px rgba(29, 64, 118, .07); }
.mx-guide-step:nth-child(even) > figure { order: 2; }
.mx-guide-step figure { margin: 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--line, #e2e8f2); background: #f4f7fb; aspect-ratio: 8 / 5; }
.mx-guide-step figure img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.mx-guide-num { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; color: #fff; font-weight: 800; font-size: 1.1rem; margin-bottom: 10px; }
.mx-guide-upload .mx-guide-num { background: linear-gradient(135deg, #2f6fdb, #6d5dfc); }
.mx-guide-progress .mx-guide-num { background: linear-gradient(135deg, #0ea5a4, #22c55e); }
.mx-guide-result .mx-guide-num { background: linear-gradient(135deg, #f59e0b, #ef4444); }
.mx-guide-export .mx-guide-num { background: linear-gradient(135deg, #8b5cf6, #ec4899); }
#how-it-works .mx-guide-step h3 { margin: 0 0 6px; font-size: 1.15rem; }
#how-it-works .mx-guide-step p { margin: 0; color: var(--mx-muted, #4b5568); line-height: 1.55; }
@media (max-width: 760px) { #how-it-works .mx-guide-steps > .mx-guide-step { grid-template-columns: 1fr; gap: 14px; padding: 14px; } .mx-guide-step:nth-child(even) > figure { order: 0; } }
:root[data-theme="dark"] .mx-guide-step { background: #0d1a36; border-color: #23365c; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .mx-guide-step { background: #0d1a36; border-color: #23365c; } }
