/*
 * FilexFlow CORE-001E — How it works
 */

.fx-steps__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.fx-step-card {
    display: flex;
    gap: 16px;
    min-width: 0;
    padding: 24px;
    border: 1px solid rgba(148, 163, 184, .22);
    border-radius: 22px;
    background: linear-gradient(145deg, rgba(15, 23, 42, .82), rgba(7, 15, 31, .92));
}

.fx-step-card__number {
    display: grid;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid rgba(96, 165, 250, .34);
    border-radius: 50%;
    background: rgba(37, 99, 235, .13);
    color: #93c5fd;
    font-weight: 800;
}

.fx-step-card__title {
    margin: 3px 0 0;
    color: #f8fafc;
    font-size: 1.05rem;
    line-height: 1.3;
}

.fx-step-card__text {
    margin: 9px 0 0;
    color: #9eacc0;
    line-height: 1.62;
}

html[data-theme="light"] .fx-step-card,
body[data-theme="light"] .fx-step-card {
    border-color: rgba(71, 85, 105, .16);
    background: rgba(255, 255, 255, .78);
}

html[data-theme="light"] .fx-step-card__title,
body[data-theme="light"] .fx-step-card__title {
    color: #0f172a;
}

html[data-theme="light"] .fx-step-card__text,
body[data-theme="light"] .fx-step-card__text {
    color: #526176;
}

@media (max-width: 860px) {
    .fx-steps__grid {
        grid-template-columns: 1fr;
    }
}
