/* ============================================================
   Tools page — tool grid + how-to steps.
   Loaded alongside community.css, which provides the shared
   primitives (.chero, .section, .cards/.card, .cta-band, .ph, icons).
   ============================================================ */

/* ---------- Tool grid: 4 across, 2 on tablet, 1 on mobile ---------- */
.cards--tools { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) {
    .cards--tools { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .cards--tools { grid-template-columns: 1fr; }
}

.tool-card__name {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: var(--accent);
    margin: 0.2rem 0 0;
}
.tool-card__actions {
    margin-top: auto;        /* pins the button(s) to the bottom so cards align */
    padding-top: 0.7rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

/* Compact + disabled button variants used on the tool cards */
.btn--sm {
    padding: 0.6em 1.05em;
    font-size: var(--t-eyebrow);
}
.btn:disabled,
.btn.is-disabled {
    opacity: 0.55;
    cursor: not-allowed;
}
.btn:disabled:hover,
.btn.is-disabled:hover {
    transform: none;
    background: var(--btn-bg);
    color: var(--btn-fg);
    border-color: var(--btn-bd);
}

/* ---------- CTA with two buttons ---------- */
.cta-band__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
}

/* The "How to use this page" sequence (.howto) is a shared component —
   its styles live in community.css so the Results page can reuse it. */