.nav-tools { position: relative; }
.nav-tools summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: .55rem; padding: .65rem .78rem; border-radius: 9px; color: #445262; font-size: .94rem; font-weight: 700; }
.nav-tools summary::-webkit-details-marker { display: none; }
.nav-tools summary::after { content: ''; width: 7px; height: 7px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg) translateY(-2px); }
.nav-tools[open] summary, .nav-tools summary:hover { background: #e9f4ff; color: #2e74b5; }
.nav-tools summary:focus-visible, .tools-menu a:focus-visible { outline: 3px solid #2e74b5; outline-offset: 3px; }
.tools-menu { position: absolute; right: 0; top: calc(100% + 8px); width: 300px; padding: .55rem; border: 1px solid #dce5ee; border-radius: 15px; background: #fff; box-shadow: 0 18px 55px #102b4e24; z-index: 60; }
.site-nav .tools-menu a { display: block !important; padding: .8rem 1rem; line-height: 1.4; white-space: normal; }
.tools-menu a small { display: block; margin-top: .2rem; color: #5e6b7a; font-size: .78rem; font-weight: 400; }
.site-nav .tools-menu .tools-all { margin-top: .3rem; border-top: 1px solid #dce5ee; border-radius: 0 0 8px 8px; color: #2e74b5; }
.tools-section { background: linear-gradient(135deg,#edf6ff,#f7f9fc 65%); scroll-margin-top: 100px; }
.tools-intro { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2.5rem; }
.tools-intro h2 { max-width: 750px; }
.tools-intro .lead { margin-bottom: 0; max-width: 660px; }
.tools-intro > a { white-space: nowrap; margin-bottom: .3rem; }
.tool-card { display: flex; flex-direction: column; align-items: flex-start; border: 1px solid #dce5ee; position: relative; }
.tool-card p { flex-grow: 1; }
.tool-card .button { margin-top: 1rem; }
.tool-tag { display: inline-block; border: 1px solid #dce5ee; color: #173f70; background: #f5faff; border-radius: 100px; padding: .25rem .7rem; font-size: .75rem; font-weight: 700; margin-bottom: 1.1rem; }
.tool-card ul { padding-left: 1.2rem; color: #5e6b7a; font-size: .94rem; }
.tool-card li + li { margin-top: .5rem; }
.tools-hero { padding-bottom: 3rem; }
.tools-hero h1 { max-width: 920px; }
.tools-hero .lead { max-width: 760px; }
.tools-catalog { padding-top: 1rem; }
@media (max-width: 1200px) {
  .tools-menu { position: static; width: 100%; margin-top: .25rem; box-shadow: none; background: #f7f9fc; }
  .nav-tools summary { padding: .82rem 1rem; }
  .site-nav.open { max-height: calc(100dvh - 82px); overflow-y: auto; }
}
@media (max-width: 680px) {
  .tools-intro { display: block; }
  .tools-intro > a { display: inline-block; margin-top: 1.2rem; }
  .tool-card .button { width: 100%; text-align: center; }
}
