/* TOOLS4U_HOMEPAGE_REVIEW_16_V1: home-only styles; existing components retained */
.homepage-directory{margin-top:30px;margin-bottom:30px}
.home-directory-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:22px}
.home-cat-group{border:1px solid rgba(118,71,229,.22);border-radius:16px;background:rgba(122,84,229,.045);min-width:0;overflow:hidden}
.home-cat-link{display:flex;align-items:center;gap:12px;padding:17px;color:inherit;text-decoration:none!important;min-height:86px}
.home-cat-link:hover,.home-cat-link:focus-visible{background:rgba(122,84,229,.09);text-decoration:underline!important;outline-offset:-3px}
.home-cat-link .cat-icon-holder{flex:0 0 auto}
.home-cat-label{display:flex;flex-direction:column;gap:4px;flex:1;min-width:0}
.home-cat-label strong{font-size:15px;line-height:1.3}
.home-cat-label small{font-size:12px;color:var(--muted,#64748b)}
.home-cat-more{border-top:1px solid rgba(118,71,229,.14)}
.home-cat-more summary{cursor:pointer;padding:10px 17px;font-size:13px;font-weight:650}
.home-cat-more summary:hover,.home-cat-more summary:focus-visible{text-decoration:underline}
.home-cat-children{padding:3px 16px 14px;display:flex;flex-wrap:wrap;gap:8px}
.home-cat-children a{color:inherit;border:1px solid rgba(118,71,229,.2);border-radius:8px;padding:6px 9px;text-decoration:none;font-size:12px}
.home-cat-children a:hover,.home-cat-children a:focus-visible{text-decoration:underline;outline-offset:2px}
.home-directory-end{text-align:center;margin:22px 0 0}
.home-popular{margin:38px 0}
.home-popular-card{display:block;text-decoration:none!important;cursor:pointer;transition:transform .16s,box-shadow .16s}
.home-popular-card:hover{transform:translateY(-3px);box-shadow:0 10px 30px rgba(82,56,160,.15)}
.home-popular-card:focus-visible{outline:3px solid #7b36e9;outline-offset:4px}
.home-popular-card p{line-height:1.5}
.home-open-tool{display:inline-block;color:#7137ef;font-weight:750;text-decoration:underline;text-underline-offset:3px;margin-top:8px}
.home-pricing-section{margin:38px auto;padding:24px 16px;border:1px solid rgba(118,71,229,.15);border-radius:20px}
.home-pricing-section>p{max-width:900px;line-height:1.6}
.home-billing-pick{display:inline-flex;gap:5px;padding:4px;background:rgba(122,84,229,.09);border-radius:14px;margin:12px 0}
.home-billing-pick button{border:0;background:transparent;border-radius:10px;padding:10px 17px;cursor:pointer;font:inherit;font-weight:650;color:inherit}
.home-billing-pick button.selected{background:#6437cb;color:#fff}
.home-billing-pick button:focus-visible{outline:2px solid #7137ef;outline-offset:2px}
.home-price-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:18px 0}
.home-price-tier{padding:20px;border-radius:14px;border:1px solid rgba(118,71,229,.2);background:rgba(255,255,255,.05);display:flex;flex-direction:column;gap:10px}
.home-price-tier.is-selected{border:2px solid #7742dd;padding:19px}
.home-price-tier h3,.home-price-tier p{margin:0}
.home-price-tier .btn{margin-top:auto;text-align:center}
.home-tier-amount{font-size:clamp(20px,2.4vw,30px);font-weight:800;overflow-wrap:anywhere}
.home-tier-amount small{font-size:12px;font-weight:500}
.home-price-note{font-size:12px;color:var(--muted,#64748b)}
.home-price-saving{font-weight:700;color:#24734b}
@media(max-width:900px){.home-directory-grid,.home-price-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.home-directory-grid,.home-price-grid{grid-template-columns:1fr}.home-cat-link{min-height:72px}.home-price-tier{padding:16px}.home-price-tier.is-selected{padding:15px}}
@media(prefers-reduced-motion:reduce){.home-popular-card{transition:none}.home-popular-card:hover{transform:none}}

.home-premium-teaser{font-size:13px;line-height:1.5;margin-top:16px}.home-premium-teaser a{text-decoration:underline;text-underline-offset:3px}
.home-compare-scroll{overflow-x:auto;margin:16px 0}
.home-compare{width:100%;border-collapse:collapse;min-width:520px;font-size:13px}
.home-compare caption{text-align:left;padding:8px 0;font-weight:700}
.home-compare th,.home-compare td{border-bottom:1px solid rgba(118,71,229,.2);padding:11px 9px;text-align:left}
.home-compare th[scope="row"]{font-weight:650}
.home-ssr-tool-links{margin-top:22px}.home-ssr-tool-links ul{columns:3;line-height:1.7}
@media(max-width:720px){.home-ssr-tool-links ul{columns:2}}
@media(max-width:480px){.home-ssr-tool-links ul{columns:1}}

/* TOOLS4U_CLEAN_HERO_V3: compact, centered, no live demo on landing page. */
.hero{background:linear-gradient(112deg,#f3edff 0%,#faf8ff 49%,#fff 100%);padding:52px 0 42px;min-height:0;overflow:visible}
.hero::after{display:none!important}
.hero .hero-inner{display:block!important;max-width:1140px;margin:0 auto}
.hero .hero-copy{max-width:900px;margin:0 auto;text-align:center;min-width:0}
.hero .hero-copy h1{font-size:clamp(34px,4.6vw,62px);line-height:1.1;letter-spacing:-.045em;margin:22px auto 18px;max-width:900px;text-wrap:balance}
.hero .hero-copy>p:not(.home-pdf-shortcut){font-size:clamp(15px,1.6vw,19px);line-height:1.6;color:#413b5c;max-width:680px;margin:0 auto 24px}
.hero .searchbox{width:100%;max-width:760px;margin:0 auto 16px}
.hero .popular{display:flex;flex-wrap:wrap;gap:9px;align-items:center;justify-content:center;max-width:850px;margin-left:auto;margin-right:auto}
.hero .home-premium-teaser{flex-basis:100%;margin:8px 0 0;text-align:center}
.hero .home-pdf-shortcut{font-size:13px!important;line-height:1.6!important;margin:18px auto 0;color:#544a71!important;max-width:740px}
.hero .home-pdf-shortcut a{color:#562dc1;font-weight:750;text-decoration:underline;text-underline-offset:3px}
@media(max-width:720px){.hero{padding:32px 0 28px}.hero .hero-copy h1{font-size:clamp(30px,7.6vw,47px);margin:18px auto 13px}.hero .popular{gap:7px}.hero .home-premium-teaser{font-size:12px}}
@media(max-width:500px){.hero .hero-copy h1{font-size:clamp(29px,8.3vw,37px)}.hero .searchbox button{padding:11px 13px}.hero .home-pdf-shortcut{font-size:12px!important}}

/* TOOLS4U_HOME_SCROLL_STABILITY_V1
   Keep the server-first hero height closer to the hydrated search hero,
   reduce expensive sticky-header repaints, and keep the PDF link together.
   Homepage-only; no ads, auth, admin or payment modifications. */
.hero{padding-top:36px;padding-bottom:28px}
.hero .hero-copy h1{font-size:clamp(33px,4.1vw,58px);margin:16px auto 15px;line-height:1.11}
.hero .hero-copy>p:not(.home-pdf-shortcut){margin-bottom:20px}
.hero .searchbox{margin-bottom:12px}
.hero .popular{margin-top:12px;gap:7px 9px}
.hero .home-pdf-shortcut{max-width:940px!important;font-size:14px!important;line-height:1.5!important;margin:12px auto 0!important;text-wrap:pretty}
.hero .home-pdf-shortcut a{display:inline-block;white-space:nowrap;vertical-align:baseline;margin-left:3px}
.homepage-directory{margin-top:12px!important;padding-top:23px!important}
/* Initial HTML contains a minimal crawlable hero until app catalog loads.
   Reserve a similar height to prevent a sudden downward category jump. */
.hero:not(:has(.searchbox)){min-height:500px}
body:has(.homepage-directory) .top{backdrop-filter:none!important;-webkit-backdrop-filter:none!important;background:#fff}
body:has(.homepage-directory) .home-popular-card{will-change:auto!important;transform-style:flat!important}
body:has(.homepage-directory) .home-popular-card:hover{transform:none!important}
@media(max-width:720px){
 .hero{padding:30px 0 25px}
 .hero .hero-copy h1{font-size:clamp(30px,7.6vw,43px);margin:13px auto}
 .hero .home-pdf-shortcut{font-size:12.5px!important;max-width:95%!important}
 .homepage-directory{margin-top:8px!important;padding-top:18px!important}
 .hero:not(:has(.searchbox)){min-height:630px}
}
@media(max-width:400px){.hero:not(:has(.searchbox)){min-height:680px}}
@media(prefers-reduced-motion:reduce){body:has(.homepage-directory) .hero *,body:has(.homepage-directory) .home-cat-group *{animation:none!important;scroll-behavior:auto!important}}
