.tools-hero { padding-block: 56px 40px; }
.tools-page .tools-hero h1 { font-size: clamp(34px, 4vw, 48px); line-height: 1.2; margin-block: 18px; }
.tools-page .home-title-accent { margin-top: 8px; }
.tools-hero .home-intro { max-width: 650px; font-size: 15px; line-height: 1.8; }
.tools-categories { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.tools-categories a { display: inline-flex; align-items: center; gap: 16px; min-height: 44px; padding: 10px 16px; border: 1px solid var(--home-line); border-radius: 8px; background: var(--home-surface); font-size: 12px; text-decoration: none; transition: color 180ms, border-color 180ms; }
.tools-categories a:hover { color: var(--home-orange); border-color: var(--home-orange); }
.tools-categories a span { color: var(--home-orange); }
.tools-directory { padding-bottom: 80px; }
.tools-section { padding-block: 36px 8px; border-top: 1px solid var(--home-line); scroll-margin-top: calc(var(--site-nav-height) + 24px); }
.tools-section + .tools-section { margin-top: 36px; }
.tools-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.tools-page .tools-section h2 { margin: 0 0 8px; font-size: 25px; line-height: 1.4; letter-spacing: -.02em; }
.tools-section-heading p { color: var(--home-muted); font-size: 13px; line-height: 1.7; }
.tools-section-count { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid var(--home-line); border-radius: 50%; color: var(--home-muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.tools-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tools-card { position: relative; display: flex; align-items: center; gap: 16px; min-width: 0; padding: 20px 18px; border: 1px solid var(--home-line); border-radius: 12px; background: var(--home-surface); text-decoration: none !important; transition: background 180ms, border-color 180ms; }
.tools-card:hover { border-color: #737e68; background: var(--home-raised); }
.tools-card-art { flex: none; width: 64px; height: 52px; overflow: hidden; border-radius: 9px; }
.tools-card-art img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tools-card-icon { display: grid; place-items: center; }
.tools-card-icon-picker { color: #e6deff; background: #45355e; }
.tools-card-icon-filters { color: #f5bf98; background: #49372d; }
.tools-card-copy { display: block; min-width: 0; padding-inline-end: 8px; }
.tools-page .tools-card h3 { margin: 0; font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.tools-page .tools-card p { margin-top: 7px; font-size: 12px; line-height: 1.65; color: var(--home-muted); overflow-wrap: anywhere; }
.tools-card-arrow { position: absolute; inset-block-start: 10px; inset-inline-end: 10px; color: var(--home-muted); width: 12px; height: 12px; }
.tools-card:hover .tools-card-arrow { color: var(--home-orange); }
html[dir="rtl"] .tools-page .tools-card-arrow { transform: scaleX(-1); }
:is(html[dir="rtl"], html[lang="hi"], html[lang="th"]) .tools-page :is(h1, h2, h3, .home-eyebrow) { letter-spacing: normal; }
:is(html[lang="hi"], html[lang="th"]) .tools-page h1 { line-height: 1.4; }
@media (max-width: 991px) { .tools-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) {
  .tools-hero { padding-block: 36px 30px; }
  .tools-page .tools-hero h1 { font-size: 34px; }
  .tools-categories { gap: 8px; margin-top: 22px; }
  .tools-categories a { padding-inline: 12px; gap: 10px; }
  .tools-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .tools-card { padding: 18px; }
  .tools-page .tools-card h3 { font-size: 15px; }
  .tools-section { padding-top: 28px; }
  .tools-section + .tools-section { margin-top: 28px; }
  .tools-page .tools-section h2 { font-size: 23px; }
  .tools-directory { padding-bottom: 48px; }
}
