.tools-page {
    --tools-ink: #173d2b;
    --tools-muted: #5b6d60;
    background: #f3f5ec;
    color: var(--tools-ink);
}
.tools-page .container { max-width: 1240px; }
.tools-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(4.5rem, 9vw, 8rem) 0;
    background: radial-gradient(ellipse at 80% 40%, #326b4b 0, transparent 47%), #163c2c;
    color: #f8f9ee;
}
.tools-hero::before {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(90deg, transparent 0, transparent calc(25% - 1px), rgba(210, 247, 217, 0.05) 25%);
    content: '';
    pointer-events: none;
}
.tools-hero__layout { position: relative; display: grid; grid-template-columns: 1fr 0.85fr; gap: clamp(2rem, 6vw, 7rem); align-items: center; }
.tools-kicker { margin: 0 0 1.35rem; font-size: 0.74rem; font-weight: 800; letter-spacing: 0.16em; }
.tools-hero .tools-kicker { display: flex; align-items: center; gap: 0.65rem; color: #b9e8ba; }
.tools-hero .tools-kicker span { width: 0.5rem; height: 0.5rem; flex: none; border-radius: 50%; background: #b9e8ba; box-shadow: 0 0 0 0.35rem rgba(185, 232, 186, 0.13); }
.tools-hero h1 { margin: 0; font-size: clamp(3.5rem, 7vw, 7rem); font-weight: 600; line-height: 0.99; letter-spacing: -0.075em; }
.tools-hero h1 em { color: #c8ebbb; font-family: Georgia, serif; font-weight: 400; }
.tools-hero__copy > p:not(.tools-kicker) { max-width: 32rem; margin: 1.8rem 0 2rem; color: #d9e9d8; font-size: clamp(1rem, 1.6vw, 1.17rem); line-height: 1.7; }
.tools-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.tools-button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 0.75rem; padding: 0.75rem 1.15rem; border-radius: 0.5rem; font-weight: 700; text-decoration: none; transition: background-color 200ms ease, color 200ms ease, transform 200ms ease; }
.tools-button--light { background: #c9edc2; color: #153b2a; }
.tools-button--light:hover { background: #eefbe4; color: #153b2a; transform: translateY(-2px); }
.tools-button--text { color: #eff8e9; }
.tools-button--text:hover { color: #c9edc2; }
.tools-page a:focus-visible { outline: 3px solid #76bb86; outline-offset: 3px; }
.tools-hero a:focus-visible, .tools-next a:focus-visible { outline-color: #d9f5bb; }
.tools-hero__visual { position: relative; display: grid; min-height: 30rem; place-items: center; isolation: isolate; pointer-events: none; }
.tools-hero__visual::before {
    position: absolute;
    z-index: -1;
    width: 18rem;
    height: 18rem;
    border-radius: 50%;
    background: #a2dda9;
    filter: blur(95px);
    opacity: 0.16;
    content: '';
}
.tools-hero__orbit { position: absolute; width: min(100%, 31rem); aspect-ratio: 1; border: 1px solid rgba(214, 248, 213, 0.27); border-radius: 50%; }
.tools-hero__orbit--inner { width: min(70%, 21rem); border-style: dashed; animation: tools-orbit 65s linear infinite; }
.tools-hero__orbit--outer::before, .tools-hero__orbit--outer::after { position: absolute; top: 50%; width: 0.45rem; height: 0.45rem; border-radius: 50%; background: #c8ebbb; content: ''; }
.tools-hero__orbit--outer::before { left: 0; transform: translate(-50%, -50%); }
.tools-hero__orbit--outer::after { right: 0; transform: translate(50%, -50%); }
.tools-hero__core { display: grid; width: 12rem; height: 12rem; place-content: center; border: 1px solid #c4e1c0; border-radius: 50%; background: #d8f2d2; box-shadow: 0 0 0 1rem rgba(207, 241, 206, 0.08), 0 0 70px rgba(116, 206, 133, 0.25); color: #183e2a; text-align: center; }
.tools-hero__core i { font-size: 1.3rem; }
.tools-hero__core span { font-size: 3.8rem; font-weight: 700; letter-spacing: -0.08em; line-height: 1.15; }
.tools-hero__satellite { position: absolute; display: grid; width: 3.6rem; height: 3.6rem; place-items: center; border: 1px solid rgba(232, 249, 220, 0.65); border-radius: 1rem; background: #335c41; box-shadow: 0 12px 30px rgba(7, 29, 18, 0.24); color: #eaf6dd; font-size: 1.3rem; animation: tools-float 5s ease-in-out infinite; }
.tools-hero__satellite--one { top: 11%; left: 11%; }
.tools-hero__satellite--two { top: 12%; right: 5%; animation-delay: -1.7s; }
.tools-hero__satellite--three { right: 13%; bottom: 13%; animation-delay: -3.2s; }
.tools-hero__visual-label { position: absolute; bottom: 5%; left: 2%; color: #bedcb9; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.16em; line-height: 1.6; }
@keyframes tools-orbit { to { transform: rotate(360deg); } }
@keyframes tools-float { 50% { transform: translateY(-10px); } }
.tools-directory { padding: clamp(4rem, 7vw, 7rem) 0; scroll-margin-top: 1rem; }
.tools-directory__heading { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 2.5rem; }
.tools-directory__heading .tools-kicker { color: #2a7652; }
.tools-directory__heading h2 { max-width: 38rem; margin: 0; font-size: clamp(2.15rem, 4.5vw, 4rem); font-weight: 600; line-height: 1.1; letter-spacing: -0.055em; }
.tools-directory__heading > p { max-width: 21rem; margin: 0 0 0.25rem; color: var(--tools-muted); line-height: 1.7; }
.tools-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.3rem; }
.tools-grid > * { min-width: 0; }
.tool-card { display: flex; overflow: hidden; flex-direction: column; border: 1px solid #dbe3d5; border-radius: 0.85rem; background: #fffef9; box-shadow: 0 12px 30px rgba(17, 45, 27, 0.04); transition: transform 230ms ease, box-shadow 230ms ease, border-color 230ms ease; }
.tool-card:hover { transform: translateY(-5px); border-color: #a0bea1; box-shadow: 0 22px 45px rgba(17, 45, 27, 0.12); }
.tool-card__visual { position: relative; display: grid; min-height: 13rem; place-items: center; overflow: hidden; padding: 1.75rem; background: radial-gradient(circle at 50% 50%, #e8f2e6, #dceade); border-bottom: 1px solid #e0e8dc; }
.tool-card__visual::before { position: absolute; width: 15rem; height: 15rem; border: 1px solid rgba(42, 97, 57, 0.14); border-radius: 50%; box-shadow: 0 0 0 2.5rem rgba(42, 97, 57, 0.035); content: ''; pointer-events: none; }
.tool-card__visual img { position: relative; max-width: min(100%, 12rem); width: auto; height: 9rem; object-fit: contain; transition: transform 240ms ease; }
.tool-card:hover .tool-card__visual img { transform: scale(1.055); }
.tool-card .plan-badge { position: absolute; z-index: 1; top: 0.8rem; right: 0.8rem; max-width: calc(100% - 1.6rem); padding: 0.45rem 0.7rem; border-radius: 0.35rem; background: #1d5e3d; box-shadow: none; color: #fff; font-size: 0.74rem; font-weight: 700; line-height: 1.2; text-transform: none; white-space: normal; text-align: center; }
.tool-card .plan-badge-1 { background: #23654b; }
.tool-card .plan-badge-2 { background: #694a16; }
.tool-card .plan-badge-3 { background: #443371; }
.tool-card__body { display: flex; flex: 1; flex-direction: column; padding: clamp(1.35rem, 2.5vw, 1.9rem); }
.tool-card__eyebrow { color: #3f8661; font-size: 0.67rem; font-weight: 800; letter-spacing: 0.13em; }
.tool-card h3 { margin: 0.8rem 0; color: #173b2a; font-size: 1.35rem; font-weight: 700; line-height: 1.25; overflow-wrap: anywhere; }
.tool-card__description { margin: 0 0 1.75rem; color: #526457; font-size: 0.93rem; line-height: 1.7; white-space: pre-line; overflow-wrap: anywhere; }
.tool-card__link { display: inline-flex; min-height: 44px; align-items: center; justify-content: space-between; gap: 0.75rem; margin-top: auto; padding: 0.9rem 0 0; border-top: 1px solid #e2e9dd; color: #155a3b; font-weight: 700; text-decoration: none; }
.tool-card__link i { transition: transform 200ms ease; }
.tool-card__link:hover { color: #0b3a27; }
.tool-card__link:hover i { transform: translateX(4px); }
.tools-empty { grid-column: 1 / -1; padding: 3rem; border: 1px dashed #a7c6a5; border-radius: 1rem; background: #fff; text-align: center; }
.tools-empty > i { color: #39835b; font-size: 2.25rem; }
.tools-empty h3 { margin: 1rem 0 0.5rem; color: #173b2a; }
.tools-empty p { color: #526457; }
.tools-empty a { display: inline-flex; min-height: 44px; align-items: center; gap: 0.5rem; color: #145b3d; font-weight: 700; }
.tools-next { padding: clamp(3.5rem, 7vw, 6rem) 0; background: #1a402f; color: #f3f8ee; }
.tools-next__layout { display: grid; grid-template-columns: 1.25fr 0.75fr; align-items: end; gap: 2rem; }
.tools-next .tools-kicker { color: #b7e4bd; }
.tools-next h2 { max-width: 12ch; margin: 0; font-size: clamp(2.5rem, 4.8vw, 4.4rem); line-height: 1.09; letter-spacing: -0.05em; }
.tools-next__layout > div:last-child { max-width: 25rem; }
.tools-next__layout > div:last-child p { margin: 0 0 1.5rem; color: #d7e6d6; line-height: 1.7; }
.tools-next .tools-button--light { background: #c7edc7; }
@media (max-width: 991.98px) {
    .tools-hero__layout { grid-template-columns: 1fr; }
    .tools-hero__visual { display: none; }
    .tools-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767.98px) {
    .tools-directory__heading { flex-direction: column; align-items: flex-start; }
    .tools-next__layout { grid-template-columns: 1fr; }
}
@media (max-width: 575.98px) {
    .tools-hero { padding: 4rem 0; }
    .tools-hero h1 { font-size: clamp(3.4rem, 12vw, 5rem); }
    .tools-hero__actions { align-items: stretch; flex-direction: column; }
    .tools-button { width: 100%; }
    .tools-grid { grid-template-columns: 1fr; }
    .tools-next h2 { font-size: clamp(2.4rem, 10vw, 3.5rem); }
}
@media (prefers-reduced-motion: reduce) {
    .tools-page *, .tools-page *::before, .tools-page *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}