/* Compact, searchable PDFPix tool catalogue */
html{scroll-padding-top:68px}
.topbar{height:62px;padding-inline:max(calc((100vw - 1240px)/2),3.5vw)}
.brand{font-size:21px}.brand-icon{width:29px;height:29px;border-radius:9px}
.topbar nav{gap:25px}.nav-cta{padding:9px 13px;font-size:12px}
.tools-section{padding-top:54px;padding-bottom:62px}
.section-head{margin-bottom:20px}.section-head h2{font-size:clamp(25px,2.6vw,34px);margin:8px 0}
.section-head p{max-width:760px;margin:0;font-size:13px}
.tool-count{font-size:25px}
.tool-catalog-controls{max-width:1240px;margin:0 auto 18px;display:grid;grid-template-columns:minmax(220px,1fr) auto;gap:12px;align-items:center}
.tool-search-wrap{position:relative}
.tool-search-wrap>svg{position:absolute;left:14px;top:50%;transform:translateY(-50%);width:17px;height:17px;stroke:#858ca0;fill:none;stroke-width:2;pointer-events:none}
#tool-search{width:100%;height:44px;border:1px solid #dfe2ec;border-radius:11px;background:#fff;padding:0 42px 0 42px;font:500 13px 'DM Sans',sans-serif;color:var(--ink);outline:none;box-shadow:0 3px 12px rgba(25,32,64,.025)}
#tool-search:focus{border-color:#8a80ef;box-shadow:0 0 0 3px rgba(98,84,232,.12)}
#clear-tool-search{position:absolute;right:9px;top:50%;transform:translateY(-50%);border:0;background:#f1f2f7;color:#626b7c;border-radius:7px;width:25px;height:25px;cursor:pointer}
.tool-category-filters{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}
.tool-category-filters button{border:1px solid #e3e5ee;background:#fff;color:#596174;border-radius:999px;padding:8px 12px;font:700 11px 'DM Sans',sans-serif;cursor:pointer;white-space:nowrap}
.tool-category-filters button[aria-pressed=true]{background:#eeeaff;border-color:#d8d2ff;color:#5949d5}
.tool-results-status{grid-column:1/-1;margin:0;color:#7b8495;font-size:11px;min-height:15px}
.tool-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:11px}
.tool-card{min-height:158px;padding:14px 14px 12px;border-radius:12px;box-shadow:0 2px 9px rgba(20,27,54,.025)}
.tool-card:hover{transform:translateY(-2px)}
.tool-icon{width:34px;height:34px;border-radius:10px;font-size:17px}
.tool-icon svg{width:18px;height:18px}
.tag{font-size:7px;padding:5px 6px}
.tool-card h3{font-size:14px;line-height:1.3;margin:12px 0 5px;letter-spacing:-.2px}
.tool-card p{font-size:10px;line-height:1.5;min-height:30px;margin:0}
.tool-link{font-size:10px;margin-top:8px}
.tool-card[hidden]{display:none!important}
.no-tool-results{grid-column:1/-1;padding:30px 16px;border:1px dashed #d9dce7;border-radius:12px;text-align:center;color:#778094;background:#fff;font-size:13px}
.hero{min-height:480px;padding-top:75px;padding-bottom:55px}
.hero h1{font-size:clamp(44px,5vw,66px);margin:18px 0 14px}
.hero-copy{font-size:14px;line-height:1.65}
.hero-art{top:55px;transform:scale(.85);transform-origin:top right}
.primary-btn{padding:12px 17px}
.trust-row{margin-top:22px}
@media(max-width:1100px){.tool-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.topbar nav{gap:16px}}
@media(max-width:760px){.topbar{height:58px;padding-inline:18px}.tool-catalog-controls{grid-template-columns:1fr}.tool-category-filters{justify-content:flex-start}.tool-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.tool-card{min-height:150px}.hero{min-height:440px}.hero-art{opacity:.2;right:-20px}}
@media(max-width:520px){.tool-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.tool-card{padding:12px;min-height:145px}.tool-card h3{font-size:13px}.tool-card p{font-size:10px;min-height:30px}.tool-count{font-size:20px}.section-head{gap:12px}.section-head p{font-size:12px}.tool-category-filters{gap:5px}.tool-category-filters button{padding:7px 10px;font-size:10px}.hero{padding:62px 20px 45px;min-height:410px}.hero h1{font-size:43px;letter-spacing:-2.7px}.hero-copy{max-width:100%;font-size:13px}.trust-row{gap:9px 13px}.tools-section{padding:48px 15px}.tool-search-wrap #tool-search{height:42px}}
@media(prefers-reduced-motion:reduce){.tool-card,.primary-btn{transition:none}}

/* Homepage: clear category hierarchy and activity-ranked tools */
.homepage-tool-sections{display:flex;flex-direction:column;gap:34px;max-width:1240px;margin:0 auto}
.homepage-tool-sections [hidden],.homepage-tool-sections .tool-card[hidden]{display:none!important}
.popular-tools-section{padding:22px;border:1px solid #e7e5fb;border-radius:18px;background:linear-gradient(135deg,#fbfaff 0%,#f5f4ff 55%,#fff 100%);box-shadow:0 8px 28px rgba(40,35,100,.045)}
.tool-category-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin:0 0 17px}
.tool-category-heading h3{margin:4px 0 5px;color:#20263a;font:700 22px 'Space Grotesk',sans-serif;letter-spacing:-.5px}
.tool-category-heading p{margin:0;color:#778095;font-size:12px;line-height:1.6}
.popular-kicker{color:#6557d9;font-size:9px;font-weight:800;letter-spacing:.12em}
.popular-live-label{flex:0 0 auto;padding:7px 10px;border:1px solid #e3dfff;border-radius:999px;background:#fff;color:#675bd0;font-size:9px;font-weight:800;letter-spacing:.06em}
.popular-tools-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
.popular-tool-card{position:relative;border-color:#dedaf8;box-shadow:0 5px 16px rgba(49,42,112,.055)}
.popular-tool-card .tag{background:#eeebff;color:#5d50d4}
.popularity-meta{display:block;margin-top:9px;color:#7e8496;font-size:9px;font-weight:700;line-height:1.4}
.popular-empty{margin:0;padding:18px;border:1px dashed #d9d5f0;border-radius:12px;background:#ffffffa8;color:#777f92;font-size:12px;line-height:1.6}
.tool-category-block{padding:4px 0 0}
.tool-category-title{display:flex;align-items:center;gap:13px;margin:0 0 18px;padding-bottom:15px;border-bottom:1px solid #e9ebf2}
.category-icon{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;border-radius:13px;font-size:12px;font-weight:800}
.pdf-category-icon{background:#eeefff;color:#6255df}
.image-category-icon{background:#e9f7f1;color:#269a71;font-size:23px}
.tool-category-title h2{margin:0 0 3px;color:#20263a;font:700 23px 'Space Grotesk',sans-serif;letter-spacing:-.6px}
.tool-category-title p{margin:0;color:#7b8495;font-size:11px;line-height:1.5}
.tool-category-title>a{margin-left:auto;white-space:nowrap;color:#6054d5;text-decoration:none;font-size:11px;font-weight:800}
.tool-category-title>a:hover{text-decoration:underline}
.tool-category-section{margin:0 0 23px}
.tool-category-section .tool-category-heading{margin-bottom:11px}
.tool-category-section .tool-category-heading h3{font-size:16px;letter-spacing:-.2px}
.tool-category-section .tool-category-heading p{font-size:10px}
.homepage-tool-sections .tool-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.homepage-tool-sections .tool-card{min-width:0;min-height:155px}
.homepage-tool-sections .tool-card p{min-height:30px}
.homepage-tool-sections .no-tool-results{grid-column:1/-1}
@media(max-width:1050px){
 .homepage-tool-sections .tool-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 .popular-tools-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:700px){
 .homepage-tool-sections{gap:27px}
 .popular-tools-section{padding:15px;border-radius:15px}
 .tool-category-heading{gap:10px}
 .tool-category-heading h3{font-size:19px}
 .popular-live-label{font-size:8px;padding:6px 8px}
 .homepage-tool-sections .tool-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .popular-tools-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .homepage-tool-sections .tool-card{padding:12px;min-height:143px}
 .homepage-tool-sections .tool-card h3{font-size:12px}
 .homepage-tool-sections .tool-card p{font-size:10px;min-height:0}
 .tool-category-title{align-items:flex-start;gap:9px}
 .category-icon{flex-basis:36px;width:36px;height:36px;border-radius:11px}
 .tool-category-title h2{font-size:20px}
 .tool-category-title>a{font-size:10px;padding-top:5px}
}
@media(max-width:420px){
 .tool-category-title{flex-wrap:wrap}
 .tool-category-title>a{margin-left:45px;margin-top:-6px}
 .popular-live-label{display:none}
 .homepage-tool-sections .tool-card{padding:10px}
}
