/* components/how-it-works.css — 3-step explainer. Reused on Home and Product detail. */

.how-header {
    max-width: 560px;
    margin-inline: auto;
    margin-bottom: var(--space-16);
}

.how-subtitle {
    color: var(--color-text-muted);
    font-size: 1.1875rem;
    margin-top: var(--space-3);
}

.how-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-10);
    counter-reset: none;
}

.how-step {
    text-align: center;
}

.how-steps > :nth-child(1) { --reveal-delay: 0s; }
.how-steps > :nth-child(2) { --reveal-delay: 0.12s; }
.how-steps > :nth-child(3) { --reveal-delay: 0.24s; }

.how-step-number {
    display: block;
    font-size: clamp(2.25rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--color-accent);
    margin-bottom: var(--space-4);
    transition: transform var(--transition-lift);
}

.how-step:hover .how-step-number {
    transform: scale(1.08);
}

.how-step-title {
    margin-bottom: var(--space-2);
}

.how-step-text {
    color: var(--color-text-muted);
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .how-steps {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }
}
