/* ============================================================
   Block: Tools Cards — mobile-first (base · 768 · 992)
   ============================================================ */
.tc__inner { padding-block: 3.5rem; }

.tc__head {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
}
.tc__heading { font-size: 3.6rem; font-weight: 800; margin: 0; }
.tc__viewall {
    align-self: flex-start;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    border-bottom: 2px solid var(--foreground);
    padding-bottom: 2px;
}
.tc__viewall:hover { color: var(--accent); border-color: var(--accent); }

.tc__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.tc__card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border);
    border-radius: 4px;
    background: #fff;
    padding: 1.5rem;
    box-shadow: var(--shadow-card);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.tc__card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: var(--shadow-elegant);
}

.tc__card-top {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 1.2rem;
    margin-bottom: 1.2rem;
}
.tc__badge {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent);
}
.tc__badge--free { color: #047857; }

.tc__title { font-size: 1.8rem; font-weight: 700; margin: 0; color: var(--foreground); }
.tc__card:hover .tc__title { color: var(--accent); }
.tc__desc { font-size: 1.3rem; color: var(--muted-foreground); margin: 0.5rem 0 0; }

.tc__cta {
    margin-top: auto;
    padding-top: 1.2rem;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent);
}

/* ---------- ≥ 768px ---------- */
@media (min-width: 768px) {
    .tc__head { flex-direction: row; align-items: flex-end; justify-content: space-between; }
    .tc__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- ≥ 992px ---------- */
@media (min-width: 992px) {
    .tc__grid { grid-template-columns: repeat(4, 1fr); }
}