.tools-hero {
    display: flex;
    align-items: end;
    min-block-size: clamp(19rem, 42vw, 27rem);
    margin-block: 1.25rem 0;
    padding: clamp(1.5rem, 5vw, 4rem);
    border-radius: .85rem;
    background: #202b23 url('/social/blue-ridge.jpg') center 54% / cover no-repeat;
    background-image: linear-gradient(90deg, rgb(13 24 18 / 94%), rgb(13 24 18 / 78%) 46%, rgb(13 24 18 / 17%)), url('/social/blue-ridge.jpg');
    color: #fff;
}
.tools-hero-copy { max-inline-size: 37rem; }
.tools-hero h1 { margin: 0; font-size: clamp(2.4rem, 6vw, 4.6rem); line-height: 1; }
.tools-hero p { max-inline-size: 31rem; margin: 1rem 0 0; color: #f3f1e7; font-size: clamp(1rem, 2vw, 1.18rem); }
.tools-hub { padding-block: 1.5rem 3rem; }
.tools-signup { margin-block-end: 1rem; }
.tools-signup p { margin: 0; }
.tools-grid, .tools-resources { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.tools-card, .tools-resource { border: 1px solid #d9d9cc; border-radius: .75rem; }
.tools-card { display: flex; flex-direction: column; padding: clamp(1.1rem, 3vw, 1.75rem); background: #fffdf7; border-top: 4px solid #3e613c; }
.tools-card h2, .tools-resource h2 { display: flex; align-items: center; gap: .75rem; margin: 0; font-size: clamp(1.15rem, 2.5vw, 1.55rem); line-height: 1.2; }
.tools-icon { display: grid; flex: 0 0 2.85rem; block-size: 2.85rem; place-items: center; border-radius: .6rem; background: #e4ebdc; }
.tools-card:nth-child(2) { border-top-color: #97622b; }
.tools-card:nth-child(2) .tools-icon { background: #f5e8d6; }
.tools-card:nth-child(4) { border-top-color: #40576a; }
.tools-card:nth-child(4) .tools-icon { background: #e2ebef; }
.tools-card p, .tools-resource p { margin: .8rem 0 1rem; }
.tools-link { display: inline-flex; align-items: center; align-self: flex-start; gap: .55rem; color: #24472b; font-weight: 750; text-decoration: underline; text-underline-offset: .18em; }
.tools-card .tools-link { margin-block-start: auto; }
.tools-link span { text-decoration: none; }
.tools-link:focus-visible { outline: 2px solid #24472b; outline-offset: 4px; }
.tools-resources { margin-block-start: 1.15rem; }
.tools-resource { padding: 1.25rem; background: #f3f1e8; }
.tools-resource h2 { font-size: 1.15rem; }
@media (max-width: 640px) {
    .tools-hero { background-image: linear-gradient(0deg, rgb(13 24 18 / 96%), rgb(13 24 18 / 41%)), url('/social/blue-ridge.jpg'); }
    .tools-grid, .tools-resources { grid-template-columns: 1fr; }
}
