/* 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}
}

/* Refined tool cards: consistent iconography, spacing and readable hierarchy */
.tool-card.tool-card-polished{
  display:flex;flex-direction:column;align-items:stretch;min-width:0;
  min-height:174px;padding:15px 15px 13px;border:1px solid #e7e9f2;
  border-radius:15px;background:linear-gradient(155deg,#fff 0%,#fcfcff 100%);
  box-shadow:0 4px 15px rgba(34,42,82,.045);text-decoration:none;
  transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease;
}
.tool-card.tool-card-polished:hover{
  transform:translateY(-4px);border-color:#c9c3ff;
  box-shadow:0 12px 25px rgba(69,58,155,.11);
}
.tool-card-polished .tool-card-topline{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:38px}
.tool-card-polished .tool-icon{
  display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;
  border-radius:12px;background:linear-gradient(145deg,#eeedff,#e7e5ff);
  color:#6254df;font-size:0;
}
.tool-card-polished .tool-icon.green{background:linear-gradient(145deg,#e8f8f1,#dff4eb);color:#238b68}
.tool-card-polished .tool-icon.orange{background:linear-gradient(145deg,#fff2e7,#ffead8);color:#d47732}
.tool-card-polished .tool-icon.purple{background:linear-gradient(145deg,#f0eaff,#e8e0ff);color:#7956d8}
.tool-card-polished .tool-icon svg{display:block;width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.tool-card-polished .tag{margin-left:auto;border-radius:999px;padding:5px 8px;background:#f0efff;color:#6659d5;font-size:8px;font-weight:800;letter-spacing:.06em}
.tool-card-polished .tag.subtle-tag{background:#f3f4f8;color:#788195}
.tool-card-polished h3,.tool-card-polished .tool-card-title{
  margin:13px 0 5px;color:#20263a;font-size:14px;font-weight:750;line-height:1.32;
  letter-spacing:-.25px;min-height:36px;display:-webkit-box;-webkit-line-clamp:2;
  -webkit-box-orient:vertical;overflow:hidden;
}
.tool-card-polished p,.tool-card-polished .tool-card-description{
  margin:0;color:#788195;font-size:10.5px;line-height:1.55;min-height:33px;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
}
.tool-card-polished .tool-link{
  display:flex;align-items:center;justify-content:space-between;gap:8px;
  margin-top:auto;padding-top:12px;color:#6558d9;font-size:10px;font-weight:800;
}
.tool-card-polished .tool-link span{display:grid;place-items:center;width:22px;height:22px;border-radius:7px;background:#f0efff;font-size:13px;transition:transform .2s ease}
.tool-card-polished:hover .tool-link span{transform:translate(2px,-2px)}
.popular-tool-card.tool-card-polished{border-color:#dedaf8;background:linear-gradient(155deg,#fff 0%,#faf9ff 100%)}
.popular-tool-card .popularity-meta{margin-top:7px;font-size:9px;color:#82869a}
.popular-tool-card .tool-link{padding-top:8px}
@media(max-width:700px){
 .tool-card.tool-card-polished{min-height:164px;padding:12px;border-radius:13px}
 .tool-card-polished .tool-icon{width:35px;height:35px;flex-basis:35px;border-radius:11px}
 .tool-card-polished h3,.tool-card-polished .tool-card-title{font-size:12px;min-height:32px;margin-top:11px}
 .tool-card-polished p,.tool-card-polished .tool-card-description{font-size:10px;min-height:30px}
 .tool-card-polished .tool-link{padding-top:9px;font-size:9px}
 .tool-card-polished .tag{font-size:7px;padding:4px 6px}
}
@media(prefers-reduced-motion:reduce){.tool-card.tool-card-polished,.tool-card-polished .tool-link span{transition:none}}


/* Homepage: six curated popular tools, with catalogue search kept off the landing page. */
.homepage-popular-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.homepage-popular-grid .tool-card{min-height:210px}
.homepage-explore-all{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:34px 16px 8px;text-align:center}
.homepage-explore-all .primary-btn{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-width:240px}
.homepage-explore-all p{margin:0;color:#788196;font-size:12px}
@media(max-width:900px){.homepage-popular-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.homepage-popular-grid{grid-template-columns:1fr;gap:12px}.homepage-popular-grid .tool-card{min-height:0;padding:18px}.homepage-explore-all{padding-top:24px}.homepage-explore-all .primary-btn{width:100%;max-width:340px}}


/* Colorful tool identity icons: stable palette per tool across every catalogue. */
.tool-icon.tool-color-violet{background:linear-gradient(145deg,#f1eaff 0%,#d9c8ff 100%);color:#7142d8;box-shadow:inset 0 1px 0 #fff,0 3px 9px rgba(113,66,216,.13)}
.tool-icon.tool-color-blue{background:linear-gradient(145deg,#e5f2ff 0%,#b9dcff 100%);color:#1769c2;box-shadow:inset 0 1px 0 #fff,0 3px 9px rgba(23,105,194,.13)}
.tool-icon.tool-color-teal{background:linear-gradient(145deg,#ddfaf5 0%,#a8eee1 100%);color:#087f70;box-shadow:inset 0 1px 0 #fff,0 3px 9px rgba(8,127,112,.13)}
.tool-icon.tool-color-orange{background:linear-gradient(145deg,#fff0df 0%,#ffd0a0 100%);color:#c45c0a;box-shadow:inset 0 1px 0 #fff,0 3px 9px rgba(196,92,10,.13)}
.tool-icon.tool-color-pink{background:linear-gradient(145deg,#ffe8f2 0%,#ffc4dc 100%);color:#c02670;box-shadow:inset 0 1px 0 #fff,0 3px 9px rgba(192,38,112,.13)}
.tool-icon.tool-color-indigo{background:linear-gradient(145deg,#e9edff 0%,#c5ccff 100%);color:#454fc5;box-shadow:inset 0 1px 0 #fff,0 3px 9px rgba(69,79,197,.13)}
.tool-icon.tool-color-green{background:linear-gradient(145deg,#e6f9e9 0%,#b9edc5 100%);color:#258047;box-shadow:inset 0 1px 0 #fff,0 3px 9px rgba(37,128,71,.13)}
.tool-icon.tool-color-amber{background:linear-gradient(145deg,#fff7d9 0%,#ffe69a 100%);color:#a66b00;box-shadow:inset 0 1px 0 #fff,0 3px 9px rgba(166,107,0,.13)}
.tool-icon.tool-color-cyan{background:linear-gradient(145deg,#e1f8ff 0%,#b5edff 100%);color:#087da7;box-shadow:inset 0 1px 0 #fff,0 3px 9px rgba(8,125,167,.13)}
.tool-icon.tool-color-rose{background:linear-gradient(145deg,#ffe9e8 0%,#ffc5c0 100%);color:#c13d48;box-shadow:inset 0 1px 0 #fff,0 3px 9px rgba(193,61,72,.13)}
.tool-icon[class*="tool-color-"]{border:1px solid rgba(255,255,255,.85);transition:transform .18s ease,box-shadow .18s ease}
.tool-card:hover .tool-icon[class*="tool-color-"]{transform:translateY(-2px) rotate(-3deg);box-shadow:0 7px 15px rgba(39,50,80,.13),inset 0 1px 0 #fff}
.tool-icon[class*="tool-color-"] svg{width:21px;height:21px;stroke-width:1.9}
@media(prefers-reduced-motion:reduce){.tool-icon[class*="tool-color-"]{transition:none}.tool-card:hover .tool-icon[class*="tool-color-"]{transform:none}}
