:root {
    color-scheme: light;
    --ink: #172743;
    --muted: #66758d;
    --line: #e1e8f2;
    --paper: #ffffff;
    --canvas: #f5f7fb;
    --navy: #10213e;
    --blue: #4667ce;
    --blue-soft: #edf2ff;
    --teal: #39c9bd;
    --shadow: 0 15px 42px rgba(25, 45, 78, .08);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; color: var(--ink); background: var(--canvas); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.6; -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid #6485ed; outline-offset: 3px; }
::selection { color: #14233e; background: #dbe6ff; }
.container { width: min(1200px, calc(100% - 48px)); margin: 0 auto; }

/* Navigation */
.site-header { position: sticky; z-index: 20; top: 0; background: rgba(255, 255, 255, .9); border-bottom: 1px solid rgba(220, 228, 240, .9); backdrop-filter: blur(16px); }
.header-inner { position: relative; min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.brand-mark { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 13px; color: #fff; background: linear-gradient(145deg, #16315b 8%, #486bd2 100%); box-shadow: 0 6px 15px rgba(54, 88, 177, .23); font-size: 20px; font-weight: 850; }
.brand-copy strong, .brand-copy small { display: block; line-height: 1.15; }
.brand-copy strong { color: #172743; font-size: 15px; font-weight: 800; letter-spacing: -.02em; }
.brand-copy small { margin-top: 4px; color: #8491a5; font-size: 10px; font-weight: 650; letter-spacing: .11em; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: 28px; color: #596981; font-size: 14px; font-weight: 680; }
.main-nav > a, .tools-menu > summary { padding: 10px 0; transition: color .18s ease; }
.main-nav > a:hover, .tools-menu > summary:hover { color: #3458b0; }
.tools-menu { position: relative; }
.tools-menu > summary { display: flex; align-items: center; gap: 6px; list-style: none; cursor: pointer; }
.tools-menu > summary::-webkit-details-marker { display: none; }
.menu-caret { color: #8390a5; font-size: 17px; line-height: 1; transition: transform .18s ease; }
.tools-menu[open] .menu-caret { transform: rotate(180deg); }
.tools-menu:focus-within > summary { color: #3458b0; }
.mega-menu { position: absolute; z-index: 30; top: calc(100% + 23px); right: max(-220px, calc((1200px - 100vw) / 2)); width: min(1040px, calc(100vw - 48px)); max-height: min(76vh, 700px); overflow: auto; padding: 23px 25px 0; border: 1px solid #e0e7f1; border-radius: 18px; background: rgba(255,255,255,.98); box-shadow: 0 26px 75px rgba(17,35,65,.2); backdrop-filter: blur(18px); }
.mega-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 2px 0 18px; border-bottom: 1px solid #edf0f5; }
.mega-heading strong, .mega-kicker { display: block; }
.mega-heading strong { margin-top: 4px; color: #1b2d4a; font-size: 18px; letter-spacing: -.025em; }
.mega-kicker { color: #5572bb; font-size: 10px; font-weight: 800; letter-spacing: .15em; }
.mega-all { display: inline-flex; align-items: center; gap: 9px; padding: 10px 13px; border: 1px solid #dce5f3; border-radius: 9px; color: #375aa9; background: #f8faff; font-size: 12px; font-weight: 750; white-space: nowrap; }
.mega-all:hover { border-color: #b8c9ea; background: #f0f4ff; }
.mega-categories { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px 26px; padding: 20px 0 22px; }
.mega-category-title { display: flex; align-items: center; gap: 9px; color: #243957; font-size: 13px; font-weight: 780; }
.mega-category-title:hover { color: #3458b0; }
.mega-category-icon { display: grid; width: 30px; height: 30px; place-items: center; border: 1px solid #dbe5fa; border-radius: 9px; color: #4568c8; background: #f1f5ff; font-size: 9px; font-weight: 850; }
.mega-category-arrow { margin-left: auto; color: #9aa6b9; font-size: 12px; }
.mega-category ul { display: grid; gap: 3px; margin: 8px 0 0 39px; padding: 0; list-style: none; }
.mega-category li a { display: block; padding: 4px 0; color: #6a7890; font-size: 12px; line-height: 1.4; }
.mega-category li a:hover { color: #3458b0; }
.mega-footer { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin: 0 -25px; padding: 12px 25px; border-top: 1px solid #edf0f5; border-radius: 0 0 18px 18px; color: #7b899d; background: #f8faff; font-size: 11px; }
.mega-footer a { color: #385ba9; font-weight: 700; }
.nav-cta { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px !important; border: 1px solid #d9e2f1; border-radius: 9px; color: #31539d !important; background: #f7f9ff; font-size: 12px; font-weight: 750; }
.nav-cta:hover { border-color: #bac9e9; background: #eef3ff; }

/* Enterprise navigation and grouped tool menus */
.header-inner { gap: 24px; }
.main-nav { flex: 1 1 auto; justify-content: center; gap: clamp(14px, 1.6vw, 25px); }
.featured-pdf-links { display: flex; align-items: center; gap: 5px; }
.featured-pdf-links a { display: inline-flex; min-height: 42px; align-items: center; gap: 7px; padding: 7px 9px; border: 1px solid transparent; border-radius: 9px; color: #31425d; font-size: 12px; font-weight: 740; white-space: nowrap; transition: color .16s,border-color .16s,background .16s; }
.featured-pdf-links a:hover { border-color: #dbe4f2; color: #294d9b; background: #f4f7fd; }
.pdf-nav-icon { display: grid; min-width: 29px; height: 25px; place-items: center; border-radius: 6px; color: #ae3a48; background: #fff0f1; font-size: 8px; font-weight: 850; letter-spacing: .02em; }
.header-dropdown { position: relative; flex: 0 0 auto; }
.header-dropdown > summary { display: flex; min-height: 42px; align-items: center; gap: 7px; padding: 8px 10px; border: 1px solid transparent; border-radius: 9px; color: #40516a; font-size: 13px; font-weight: 730; list-style: none; white-space: nowrap; cursor: pointer; }
.header-dropdown > summary::-webkit-details-marker { display: none; }
.header-dropdown > summary:focus-visible { outline: 3px solid #6485ed; outline-offset: 3px; }
.header-dropdown > summary:hover,.header-dropdown[open] > summary,.header-dropdown.is-hovered > summary { border-color: #dce5f3; color: #294d9b; background: #f6f8fd; }
.header-dropdown .menu-caret { width: 7px; height: 7px; flex: 0 0 7px; margin: -3px 1px 0 2px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); transition: transform .18s ease,margin .18s ease; }
.header-dropdown[open] .menu-caret { margin-top: 3px; transform: rotate(225deg); }
.all-tools-grid-icon { display: grid; width: 14px; height: 14px; grid-template-columns: repeat(2,1fr); gap: 2px; }
.all-tools-grid-icon i { border-radius: 2px; background: #496bc7; }
.header-dropdown-panel { position: fixed; z-index: 60; top: var(--dropdown-panel-top,86px); left: 50%; right: auto; display: block; visibility: hidden; width: min(680px,calc(100vw - 32px)); max-height: min(78vh,720px); overflow: auto; transform: translate(-50%,8px); padding: 22px 24px 0; border: 1px solid #dce4ef; border-radius: 18px; color: #223651; background: #fff; box-shadow: 0 26px 78px rgba(17,35,65,.22); opacity: 0; pointer-events: none; transition: opacity .16s ease,transform .16s ease,visibility .16s; }
.header-dropdown[open] > .header-dropdown-panel,.header-dropdown.is-hovered > .header-dropdown-panel,.header-dropdown:focus-within > .header-dropdown-panel { visibility: visible; transform: translate(-50%,0); opacity: 1; pointer-events: auto; }
@media (hover: hover) and (pointer: fine) {
    .header-dropdown:hover > .header-dropdown-panel { visibility: visible; transform: translate(-50%,0); opacity: 1; pointer-events: auto; }
    .header-dropdown:hover .menu-caret { margin-top: 3px; transform: rotate(225deg); }
}
.header-dropdown:not([open]) > .header-dropdown-panel { display: block; }
.dropdown-panel-heading { padding-bottom: 16px; border-bottom: 1px solid #edf0f5; }
.dropdown-eyebrow { display: block; color: #5572bb; font-size: 9px; font-weight: 850; letter-spacing: .15em; }
.dropdown-panel-heading > strong,.all-tools-heading strong { display: block; margin-top: 5px; color: #1b2d4a; font-size: 18px; letter-spacing: -.025em; }
.dropdown-panel-heading p,.all-tools-heading p { margin: 4px 0 0; color: #77859a; font-size: 12px; }
.category-menu-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; padding: 16px 0; }
.category-menu-card { display: grid; min-height: 68px; grid-template-columns: 36px 1fr 14px; align-items: center; gap: 10px; padding: 9px 10px; border: 1px solid #e8edf4; border-radius: 11px; background: #fff; transition: border-color .16s,background .16s,transform .16s; }
.category-menu-card:hover { transform: translateY(-1px); border-color: #cbd8ef; background: #f9fbff; }
.dropdown-category-icon { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid #dbe5fa; border-radius: 10px; color: #4568c8; background: #f1f5ff; font-size: 9px; font-weight: 850; }
.category-menu-card strong { display: block; color: #293d5a; font-size: 12px; font-weight: 760; }
.category-menu-card small { display: block; margin-top: 2px; color: #748198; font-size: 10px; line-height: 1.35; }
.dropdown-arrow { color: #91a0b5; font-size: 13px; }
.dropdown-footer-link { display: flex; justify-content: space-between; gap: 12px; margin: 0 -24px; padding: 12px 24px; border-top: 1px solid #edf0f5; color: #385ba9; background: #f8faff; font-size: 11px; font-weight: 750; }
.all-tools-panel { width: min(1060px,calc(100vw - 32px)); padding-top: 21px; }
.all-tools-heading { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 0 0 17px; border-bottom: 1px solid #edf0f5; }
.all-tools-heading strong { font-size: 19px; }
.all-tools-browse { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 8px; padding: 10px 12px; border: 1px solid #dce5f3; border-radius: 9px; color: #375aa9; background: #f8faff; font-size: 11px; font-weight: 750; }
.all-tools-browse:hover { border-color: #b8c9ea; background: #f0f4ff; }
.all-tools-groups { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); align-items: start; gap: 19px 22px; padding: 19px 0 21px; }
.all-tools-category { display: flex; align-items: center; gap: 8px; min-height: 36px; color: #273c5a; font-size: 12px; font-weight: 790; }
.all-tools-category:hover { color: #3458b0; }
.all-tools-category .dropdown-category-icon { width: 30px; height: 30px; font-size: 8px; }
.all-tools-category .dropdown-arrow { margin-left: auto; }
.all-tools-group ul { display: grid; gap: 3px; margin: 7px 0 0; padding: 0; list-style: none; }
.all-tools-group li a { display: flex; align-items: center; gap: 8px; min-height: 28px; padding: 3px 5px; border-radius: 6px; color: #63728a; font-size: 11px; line-height: 1.35; }
.all-tools-group li a:hover { color: #294d9b; background: #f3f6fd; }
.all-tool-icon { display: grid; width: 21px; height: 21px; flex: 0 0 21px; place-items: center; border: 1px solid #e2e9f4; border-radius: 6px; color: #506caa; background: #f7f9fd; font-size: 7px; font-weight: 850; }
.all-tools-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 -24px; padding: 12px 24px; border-top: 1px solid #edf0f5; color: #7b899d; background: #f8faff; font-size: 10px; }
.all-tools-footer a { color: #385ba9; font-weight: 750; }
.header-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 8px; }
.header-actions button { min-height: 39px; padding: 8px 12px; border: 1px solid transparent; border-radius: 9px; font: inherit; font-size: 12px; font-weight: 750; cursor: pointer; transition: background .16s,border-color .16s,transform .16s; }
.account-login { color: #465975; background: transparent; }
.account-login:hover { color: #294d9b; background: #f2f5fb; }
.account-signup { display: inline-flex; align-items: center; gap: 8px; border-color: #3659ac !important; color: #fff; background: linear-gradient(110deg,#234b92,#526fe0); box-shadow: 0 5px 13px rgba(52,89,181,.19); }
.account-signup:hover { transform: translateY(-1px); background: linear-gradient(110deg,#1f4385,#455fce); }
.account-notice { position: absolute; z-index: 70; top: calc(100% + 10px); right: max(20px,calc((100vw - 1200px) / 2)); width: min(380px,calc(100vw - 32px)); padding: 13px 15px; border: 1px solid #d8e3f3; border-radius: 11px; color: #344965; background: #fff; box-shadow: 0 15px 38px rgba(17,35,65,.16); font-size: 12px; line-height: 1.5; }
.account-notice[hidden] { display: none; }

/* Landing hero */
.hero { position: relative; overflow: hidden; isolation: isolate; color: white; background: radial-gradient(ellipse at 84% 12%, rgba(74, 111, 216, .32), transparent 34%), linear-gradient(118deg, #0d1c34 0%, #142c52 53%, #172e58 100%); }
.hero::before { position: absolute; z-index: -1; inset: 0; background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px); background-size: 56px 56px; mask-image: linear-gradient(to bottom, black, transparent 90%); content: ""; }
.hero-layout { position: relative; display: grid; min-height: 500px; grid-template-columns: 1.12fr .88fr; align-items: center; gap: 60px; padding-top: 58px; padding-bottom: 70px; }
.hero-copy { position: relative; z-index: 1; max-width: 650px; }
.hero-badge { display: inline-flex; align-items: center; gap: 9px; padding: 8px 13px; border: 1px solid rgba(183, 204, 245, .22); border-radius: 99px; color: #d2dff8; background: rgba(255,255,255,.07); font-size: 12px; font-weight: 720; letter-spacing: .06em; text-transform: uppercase; }
.badge-dot { width: 7px; height: 7px; border-radius: 50%; background: #5ce1c5; box-shadow: 0 0 12px #5ce1c5; }
.hero h1 { margin: 23px 0 17px; color: #fff; font-size: clamp(46px, 6vw, 74px); font-weight: 780; line-height: 1.02; letter-spacing: -.058em; }
.hero h1 span { color: #a9bdf8; }
.hero-lede { max-width: 590px; margin: 0 0 28px; color: #c4d0e5; font-size: 16px; line-height: 1.75; }
.search-box { display: flex; width: min(100%, 580px); min-height: 62px; align-items: center; gap: 13px; padding: 0 16px 0 20px; border: 1px solid rgba(255,255,255,.23); border-radius: 14px; background: #fff; box-shadow: 0 16px 45px rgba(4, 13, 31, .23); }
.search-icon { display: grid; width: 25px; height: 25px; flex: 0 0 25px; place-items: center; color: #5570a6; }
.search-box input { width: 100%; min-width: 0; height: 58px; border: 0; outline: none; color: #172743; background: transparent; font-size: 14px; }
.search-box input::placeholder { color: #8995a9; }
.search-box input:focus-visible { outline: none; }
.search-box kbd { display: grid; min-width: 27px; height: 27px; place-items: center; border: 1px solid #dfe5ef; border-radius: 6px; color: #8894a7; background: #f7f9fc; font: 12px ui-monospace, monospace; }
.search-submit { display: inline-flex; min-height: 42px; flex: 0 0 auto; align-items: center; justify-content: center; gap: 8px; padding: 8px 13px; border: 0; border-radius: 9px; color: #fff; background: linear-gradient(110deg,#234b92,#526fe0); box-shadow: 0 5px 12px rgba(52,89,181,.17); font-size: 12px; font-weight: 750; cursor: pointer; transition: transform .16s,box-shadow .16s; }
.search-submit:hover { transform: translateY(-1px); box-shadow: 0 8px 17px rgba(52,89,181,.24); }
.search-feedback { min-height: 20px; margin: 10px 0 0; color: #d9e4f7; font-size: 13px; font-weight: 600; }
.search-feedback[hidden] { display: none; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 13px 21px; margin-top: 21px; color: #bdcae0; font-size: 13px; }
.hero-trust b { margin-right: 5px; color: #62dfc4; }
.hero-showcase { position: relative; overflow: hidden; min-height: 312px; padding: 23px 25px; border: 1px solid rgba(220, 232, 255, .2); border-radius: 23px; background: linear-gradient(145deg, rgba(255,255,255,.13), rgba(255,255,255,.035)); box-shadow: 0 25px 80px rgba(1, 8, 22, .25), inset 0 1px rgba(255,255,255,.12); backdrop-filter: blur(8px); }
.showcase-orb { position: absolute; width: 210px; height: 210px; border-radius: 50%; filter: blur(1px); pointer-events: none; }
.orb-one { top: -120px; right: -45px; background: radial-gradient(circle, rgba(96, 135, 238, .35), transparent 70%); }
.orb-two { bottom: -160px; left: 20%; background: radial-gradient(circle, rgba(51, 210, 191, .2), transparent 70%); }
.showcase-top { position: relative; display: flex; align-items: center; gap: 9px; color: #b4c3dc; font-size: 10px; font-weight: 700; letter-spacing: .14em; }
.showcase-status { width: 7px; height: 7px; border-radius: 50%; background: #5ce1c5; box-shadow: 0 0 10px #5ce1c5; }
.showcase-sparkle { margin-left: auto; color: #9eb6ff; font-size: 18px; }
.showcase-title { position: relative; margin: 34px 0 23px; color: white; font-size: clamp(26px, 3vw, 37px); font-weight: 740; line-height: 1.1; letter-spacing: -.045em; }
.showcase-title em { color: #9fb5fa; font-style: normal; }
.showcase-tiles { position: relative; display: flex; gap: 11px; }
.showcase-tile { display: grid; width: 52px; height: 52px; place-items: center; border: 1px solid rgba(255,255,255,.17); border-radius: 15px; color: #fff; font-size: 12px; font-weight: 800; box-shadow: 0 8px 18px rgba(0,0,0,.12); }
.tile-blue { background: linear-gradient(145deg, #4c78e8, #264b9d); }.tile-violet { background: linear-gradient(145deg, #9874ef, #5e4bb0); }.tile-cyan { background: linear-gradient(145deg, #43cbbd, #268a94); }
.showcase-caption { position: relative; display: flex; justify-content: space-between; gap: 15px; margin-top: 26px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.13); color: #bdcbe1; font-size: 11px; }
.caption-arrow { color: #9db4fa; font-size: 16px; }

/* Sections and catalog */
.category-section { padding: 65px 0 26px; background: linear-gradient(180deg, #fff 0%, #f8faff 100%); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 25px; margin-bottom: 24px; }
.section-label { display: block; color: #5572bb; font-size: 11px; font-weight: 800; letter-spacing: .16em; }
.section-heading h2 { margin: 7px 0 0; color: #162844; font-size: clamp(25px, 3vw, 34px); line-height: 1.15; letter-spacing: -.04em; }
.section-heading > p { margin: 0 0 4px; color: #77859a; font-size: 13px; }
.category-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.category-card { position: relative; display: grid; min-height: 108px; grid-template-columns: 46px 1fr auto; align-items: center; gap: 14px; padding: 18px; border: 1px solid #e3e9f2; border-radius: 15px; background: rgba(255,255,255,.85); box-shadow: 0 4px 14px rgba(30, 52, 88, .025); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.category-card:hover { transform: translateY(-3px); border-color: #c8d5ed; box-shadow: var(--shadow); }
.category-icon { display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid #dbe5fa; border-radius: 13px; color: #4568c8; background: linear-gradient(145deg, #f5f8ff, #e7edff); font-size: 12px; font-weight: 850; }
.category-card:nth-child(3n+2) .category-icon { color: #438d8a; border-color: #d5eeeb; background: linear-gradient(145deg, #f2fbfa, #e1f4f1); }
.category-card:nth-child(3n+3) .category-icon { color: #815fc1; border-color: #e5dbf8; background: linear-gradient(145deg, #faf7ff, #eee7fa); }
.category-copy { display: block; min-width: 0; }
.category-copy strong { display: block; color: #1c2d4b; font-size: 15px; font-weight: 780; }
.category-copy small { display: block; margin-top: 4px; color: #65748a; font-size: 12px; line-height: 1.5; }
.category-count { align-self: start; color: #536fb4; font-size: 13px; font-weight: 800; white-space: nowrap; }
.category-count span { color: #728098; font-size: 11px; font-weight: 600; }
.category-arrow { position: absolute; right: 17px; bottom: 14px; color: #8492a7; font-size: 15px; }
.ad-container { padding: 6px 0 24px; }
.ad-placeholder { display: grid; min-height: 100px; place-items: center; border: 1px solid #e7ebf2; border-radius: 12px; color: #9aa5b5; background: linear-gradient(130deg, #fbfcfe, #f6f8fb); font-size: 9px; font-weight: 650; letter-spacing: .16em; text-transform: uppercase; }
.ad-placeholder:not(.ad-placement), .pdf-ad, .extractor-ad, .pdf-jpg-ad, .pw-ad, .wc-ad, .ad-box { display: none !important; }
.ad-placeholder span { padding: 5px 9px; border: 1px solid #e6eaf0; border-radius: 5px; background: rgba(255,255,255,.7); }
.ad-leaderboard { min-height: 112px; }
.tools-section { padding: 58px 0 67px; background: #fff; }
.catalog-heading { align-items: center; margin-bottom: 11px; }
.catalog-subtitle { margin: 8px 0 0; color: #7a879b; font-size: 13px; }
.results-count { padding: 8px 12px; border: 1px solid #e2e8f1; border-radius: 99px; color: #63738d; background: #f8faff; font-size: 12px; font-weight: 700; white-space: nowrap; }
.no-results { margin: 24px 0; padding: 25px; border: 1px dashed #cfdaeb; border-radius: 14px; color: #65748d; background: #f8faff; text-align: center; }
.tool-category { padding: 30px 0 28px; border-bottom: 1px solid #edf0f5; scroll-margin-top: 90px; }
.category-title { display: flex; align-items: center; gap: 12px; margin-bottom: 15px; }
.category-title h3 { margin: 0; color: #1b2d4a; font-size: 17px; letter-spacing: -.02em; }
.category-title p { margin: 3px 0 0; color: #738198; font-size: 12px; }
.mini-icon { display: grid; width: 42px; height: 42px; flex: 0 0 auto; place-items: center; border-radius: 12px; color: #486ac4; background: #edf2ff; font-size: 11px; font-weight: 850; }
.group-count { margin-left: auto; color: #7f8ca0; font-size: 11px; }
.tool-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 11px; }
.tool-card { display: grid; min-height: 90px; grid-template-columns: 42px 1fr 14px; align-items: start; gap: 12px; padding: 15px 15px 14px; border: 1px solid #e6ebf3; border-radius: 13px; background: #fff; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.tool-card:hover { transform: translateY(-2px); border-color: #c7d5f0; box-shadow: 0 9px 24px rgba(27, 50, 89, .075); }
.tool-icon { display: grid; width: 40px; height: 40px; place-items: center; border: 1px solid #e1e8f8; border-radius: 11px; color: #4567bd; background: linear-gradient(145deg, #f6f8ff, #eaf0ff); font-size: 11px; font-weight: 850; }
.tool-card:nth-child(3n+2) .tool-icon { color: #358b86; border-color: #ddf0ed; background: #f0faf8; }
.tool-card-copy { display: block; min-width: 0; }
.tool-card-copy strong { display: block; margin: 1px 0 3px; color: #233553; font-size: 14px; font-weight: 760; }
.tool-card-copy small { display: block; color: #65748a; font-size: 12px; line-height: 1.55; }
.tool-arrow { color: #8492a7; font-size: 15px; transition: transform .18s ease, color .18s ease; }
.tool-card:hover .tool-arrow { transform: translate(2px,-2px); color: #4667ce; }

/* Privacy and footer */
.privacy-section { padding: 64px 0 70px; background: #f5f7fb; }
.privacy-panel { display: grid; grid-template-columns: 54px 1fr auto; align-items: center; gap: 20px; padding: 25px 28px; border: 1px solid #dce6f4; border-radius: 18px; background: linear-gradient(115deg, #fff, #f2f6ff); box-shadow: 0 12px 35px rgba(31, 55, 96, .045); }
.privacy-icon { display: grid; width: 50px; height: 50px; place-items: center; border: 1px solid #dce7ff; border-radius: 15px; color: #496bc6; background: #edf2ff; font-size: 19px; }
.privacy-panel h2 { margin: 6px 0 5px; color: #182b49; font-size: 21px; letter-spacing: -.03em; }
.privacy-panel p { max-width: 700px; margin: 0; color: #738198; font-size: 12px; line-height: 1.65; }
.privacy-link { display: inline-flex; align-items: center; gap: 8px; padding: 11px 14px; border: 1px solid #dce5f3; border-radius: 9px; color: #375aa9; background: #fff; font-size: 11px; font-weight: 750; white-space: nowrap; }
.privacy-link:hover { border-color: #b8c9ea; background: #f8faff; }
.about-section { padding: 65px 0; background: #fff; }
.about-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: center; }
.about-layout h2 { margin: 10px 0 0; color: #182a47; font-size: clamp(25px, 3vw, 34px); line-height: 1.18; letter-spacing: -.04em; }
.about-layout > p { margin: 0; color: #68778f; font-size: 14px; line-height: 1.8; }
.site-footer { color: #b8c5da; background: linear-gradient(140deg, #0d1c34, #132846 80%, #172e50); }
.footer-top { display: grid; grid-template-columns: 1.35fr .8fr .8fr; gap: 42px; padding-top: 37px; padding-bottom: 34px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-identity > p { margin: 15px 0 0; color: #a9b7cd; font-size: 13px; line-height: 1.75; }
.footer-column > strong { display: block; margin: 6px 0 11px; color: #f1f5fb; font-size: 13px; }
.footer-column .footer-nav { align-items: flex-start; flex-direction: column; gap: 7px; }
.footer-brand .brand-copy strong { color: #fff; }.footer-brand .brand-copy small { color: #93a3bf; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 19px; color: #bdc9dc; font-size: 12px; }
.footer-nav a:hover { color: #fff; }
.tool-footer-ad { width: min(1200px, calc(100% - 48px)); margin: 28px auto; }
.footer-bottom { display: flex; min-height: 58px; align-items: center; justify-content: space-between; gap: 15px; color: #a2b0c6; font-size: 11px; }
.footer-top-link { color: #d6e0f0; font-size: 11px; font-weight: 700; }
.footer-top-link:hover { color: #fff; }

/* Existing individual tools and mobile layout */
.ad-placeholder.large-ad { min-height: 135px; margin: 35px 0; }
.page-heading { color: var(--ink); }
.tool-panel, .compress-pdf-card { border-color: var(--line); box-shadow: var(--shadow); }

@media (max-width: 980px) {
    .hero-layout { grid-template-columns: 1fr .75fr; gap: 34px; }
    .hero-showcase { min-height: 280px; }
    .category-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .tool-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 1120px) {
    .featured-pdf-links { display: none; }
    .main-nav { justify-content: flex-end; }
}
@media (max-width: 700px) {
    .container { width: min(100% - 32px, 1200px); }
    .header-inner { min-height: 68px; }
    .main-nav { gap: 15px; font-size: 13px; }
    .main-nav > a:not(.nav-cta) { display: none; }
    .tools-menu { position: static; }
    .category-dropdown { display: none; }
    .all-tools-dropdown > summary { min-height: 39px; padding: 7px 8px; font-size: 12px; }
    .all-tools-panel { top: 76px; max-height: min(80vh,700px); }
    .all-tools-groups { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px 12px; }
    .account-notice { right: 16px; }
    .mega-menu { top: calc(100% + 8px); right: max(-8px, calc((100% - 1200px) / 2)); width: min(900px, calc(100vw - 32px)); }
    .hero-layout { min-height: 0; grid-template-columns: 1fr; gap: 32px; padding-top: 52px; padding-bottom: 44px; }
    .hero h1 { font-size: clamp(43px, 12vw, 62px); }
    .hero-lede { font-size: 14px; }
    .hero-showcase { min-height: 255px; }
    .showcase-title { margin-top: 23px; }
    .category-section { padding-top: 47px; }
    .section-heading { display: block; }
    .section-heading > p { margin-top: 7px; }
    .catalog-heading { display: flex; align-items: center; }
    .category-grid { gap: 10px; }
    .category-card { min-height: 100px; grid-template-columns: 38px 1fr; gap: 10px; padding: 13px; }
    .category-icon { width: 38px; height: 38px; }
    .category-copy small { font-size: 11px; }
    .category-count { position: absolute; right: 12px; bottom: 9px; font-size: 9px; }
    .category-arrow { display: none; }
    .privacy-panel { grid-template-columns: 44px 1fr; gap: 13px; padding: 19px; }
    .privacy-icon { width: 42px; height: 42px; }
    .privacy-link { grid-column: 2; justify-self: start; }
    .about-layout { grid-template-columns: 1fr; gap: 18px; }
    .footer-top { grid-template-columns: 1fr 1fr; gap: 24px; padding-top: 27px; padding-bottom: 25px; }
    .footer-identity { grid-column: 1/-1; }
    .tool-footer-ad { width: calc(100% - 32px); }
    .footer-bottom { align-items: flex-start; flex-direction: column; justify-content: center; padding-top: 12px; padding-bottom: 12px; }
}
@media (max-width: 480px) {
    .container { width: min(100% - 26px, 1200px); }
    .header-inner { gap: 10px; }
    .brand { gap: 8px; }
    .brand-mark { width: 35px; height: 35px; border-radius: 11px; font-size: 18px; }
    .brand-copy strong { font-size: 13px; }
    .brand-copy small { font-size: 9px; }
    .main-nav { flex: 0 0 auto; gap: 6px; margin-left: auto; font-size: 11px; }
    .header-dropdown { position: static; }
    .header-dropdown-panel { position: fixed; top: 76px; left: 50%; right: auto; transform: translate(-50%,8px); }
    .all-tools-dropdown[open] > .all-tools-panel,.all-tools-dropdown.is-hovered > .all-tools-panel,.all-tools-dropdown:focus-within > .all-tools-panel,.all-tools-dropdown:hover > .all-tools-panel { transform: translate(-50%,0); }
    .main-nav > a:not(.nav-cta) { display: none; }
    .nav-cta { gap: 5px; padding: 7px 8px !important; font-size: 10px; }
    .all-tools-panel { top: 75px; left: 50%; right: auto; width: calc(100vw - 24px); max-height: min(78vh,650px); padding: 16px 15px 0; border-radius: 15px; }
    .all-tools-heading { align-items: flex-start; flex-direction: column; gap: 10px; }
    .all-tools-heading strong { font-size: 16px; }
    .all-tools-groups { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px 10px; padding: 14px 0; }
    .all-tools-footer { align-items: flex-start; flex-direction: column; gap: 5px; margin: 0 -15px; padding: 10px 15px; }
    .mega-menu::before { display: none; }
    .mega-heading strong { font-size: 16px; }
    .mega-categories { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 17px 12px; padding: 16px 0; }
    .mega-category-title { gap: 6px; font-size: 11px; }
    .mega-category-icon { width: 26px; height: 26px; font-size: 8px; }
    .mega-category ul { margin-left: 32px; }
    .mega-category li a { font-size: 11px; }
    .mega-footer { margin: 0 -16px; padding: 11px 16px; }
    .hero-layout { padding-top: 42px; }
    .hero-trust { gap: 9px 14px; font-size: 11px; }
    .search-box { gap: 8px; padding: 0 9px 0 13px; }
    .search-box input { font-size: 13px; }
    .search-box kbd { display: none; }
    .search-submit { min-height: 39px; gap: 4px; padding: 7px 9px; font-size: 11px; }
    .search-feedback { font-size: 12px; }
    .category-grid { grid-template-columns: 1fr; }
    .category-card { min-height: 85px; grid-template-columns: 42px 1fr auto; padding: 13px 15px; }
    .category-count { position: static; align-self: start; }
    .tool-grid { grid-template-columns: 1fr; }
    .tool-card { min-height: 78px; }
    .catalog-heading { display: block; }
    .results-count { display: inline-block; margin-top: 12px; }
    .privacy-panel { grid-template-columns: 1fr; }
    .privacy-link { grid-column: auto; }
}
@media (max-width: 400px) {
    .header-inner { gap: 6px; }
    .brand { gap: 6px; }
    .brand-mark { width: 32px; height: 32px; border-radius: 9px; font-size: 16px; }
    .brand-copy small { display: none; }
    .brand-copy strong { font-size: 12px; }
    .all-tools-dropdown > summary { gap: 4px; padding: 6px 4px; font-size: 10px; }
    .all-tools-grid-icon { width: 12px; height: 12px; }
    .header-actions { gap: 4px; }
    .header-actions button { min-height: 34px; padding: 6px 7px; font-size: 10px; }
    .account-signup span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
