/* Masthead */
.masthead { padding: 0 0 12px; }
.masthead h1 {
    font-family: "Fraunces", Georgia, serif;
    font-weight: 500; font-size: clamp(34px, 6vw, 46px);
    line-height: 1.08; letter-spacing: -.02em; margin-bottom: 14px;
}
.masthead p { color: var(--muted); max-width: 48ch; font-size: 18px; }

/* Category section */
section.cat { padding: 44px 0 0; }
.cat-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 22px; }
.cat-head h2 {
    font-family: "Fraunces", Georgia, serif;
    font-weight: 500; font-size: 25px; letter-spacing: -.01em;
}
.cat-head .rule { flex: 1; height: 1px; background: var(--border); }
.cat-head .count { font-size: 14px; color: var(--faint); }

.tools { list-style: none; display: grid; gap: 14px; }
@media (min-width: 620px) { .tools { grid-template-columns: 1fr 1fr; } }
.tools li { display: flex; }

.tool {
    flex: 1; position: relative; display: block; text-decoration: none; color: inherit;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: 16px; padding: 22px;
    box-shadow: var(--shadow);
    transition: border-color .2s, transform .2s, box-shadow .2s;
}
.tool:hover { border-color: var(--accent); transform: translateY(-3px); }
.tool h3 {
    font-size: 19px; font-weight: 600; margin: 0 0 7px;
    display: flex; align-items: center; gap: 8px;
}
.tool h3 .arrow { color: var(--accent); transition: transform .2s; font-weight: 500; }
.tool:hover h3 .arrow { transform: translateX(4px); }
.tool p { font-size: 15px; color: var(--muted); line-height: 1.5; }
.tags { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 7px; }
.tag {
    font-size: 12px; font-weight: 500; padding: 3px 10px; border-radius: 999px;
    background: var(--accent-weak); color: var(--accent-strong);
}

/* Support link */
.support { margin-top: 48px; text-align: center; }
.bmc {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 15px; font-weight: 500; text-decoration: none;
    color: var(--accent-strong); background: var(--accent-weak);
    border: 1px solid var(--border); border-radius: 999px;
    padding: 9px 18px;
    transition: border-color .2s, transform .15s, box-shadow .2s;
}
.bmc:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow); }
.bmc-cup { font-size: 16px; line-height: 1; }
