/* Tool extends the shared public-page components in style.css. */
/* The SPA uses a fixed landing overlay; this standalone document scrolls normally. */
body.tool-page { position: static; inset: auto; height: auto; min-height: 100vh; overflow-x: clip; overflow-y: visible; }
.tool-main { padding-bottom: 72px; }
.tool-intro { max-width: 850px; }
.tool-intro .landing-section-sub { max-width: 720px; }
.tool-jump { display: flex; flex-wrap: wrap; gap: 10px; }
.tool-jump a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border: 1px solid #334630; border-radius: 999px; background: #121e14; color: #f1f3e9; font-size: 13px; text-decoration: none; }
.tool-jump a:hover { background: #1b2c1d; border-color: #9bbd79; }
.tool-card { position: relative; display: flex; flex-direction: column; scroll-margin-top: calc(var(--landing-nav-height) + 24px); }
.tool-card .tool-category { margin-top: 24px; color: #b7ce9f; font-size: 11px; letter-spacing: .1em; }
.tool-card h2 { margin: 8px 0 12px; color: var(--text); font-size: 26px; font-weight: 650; }
.tool-card h3 { margin: 24px 0 8px; font-size: 15px; }
.tool-card p, .tool-card li { color: #b6c2b1; font-size: 14px; line-height: 1.85; }
.tool-card ul { list-style: disc; padding-left: 20px; margin: 0 0 24px; }
.tool-card li + li { margin-top: 8px; }
.tool-card .tool-use { padding-top: 20px; border-top: 1px solid #334630; margin-bottom: 24px; }
.tool-docs { display: inline-flex; justify-content: center; align-items: center; width: fit-content; min-height: 44px; padding: 10px 18px; font-size: 13px; text-decoration: none; }
.tool-card .tool-docs { margin-top: auto; position: relative; }
.tool-guide { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--marketing-edge); }
.tool-guide .landing-section-title { font-size: clamp(26px, 3vw, 36px); }
.tool-guide p { max-width: 850px; margin: 16px 0; color: var(--muted); font-size: 15px; line-height: 1.9; }
.tool-guide .tool-docs { margin-top: 12px; }
.tool-page .landing-nav-links [aria-current="page"] { color: #b7ce9f; }
.tool-page .landing-footer-cta { text-decoration: none; }
.tool-page a:focus-visible { outline: 2px solid #9bbd79; outline-offset: 5px; }
.tool-skip { position: fixed; top: 8px; left: 8px; z-index: 20; padding: 12px 20px; background: #dfe9d5; color: #10190d; border-radius: 8px; transform: translateY(-150%); }
.tool-skip:focus { transform: translateY(0); }
@media (max-width: 680px) { .tool-card { padding: 26px 24px; } .tool-card .tool-docs { width: 100%; } .tool-guide { margin-top: 40px; } }
@media (prefers-reduced-motion: reduce) { .tool-card { transition: none; } .tool-card:hover { transform: none; } }

.tool-source { display: inline-block; margin-top: 18px; color: #b7ce9f; font-size: 13px; text-decoration: underline; text-underline-offset: 4px; }
.tool-setup { scroll-margin-top: calc(var(--landing-nav-height) + 24px); }
.tool-steps { list-style: decimal; padding-left: 24px; margin-top: 28px; }
.tool-steps > li { padding-left: 8px; margin-bottom: 32px; }
.tool-steps h3 { color: var(--text); font-size: 18px; font-weight: 650; }
.tool-setup a:not(.tool-source) { color: #b7ce9f; text-decoration: underline; text-underline-offset: 4px; }
.tool-setup pre { max-width: 100%; overflow-x: auto; margin: 16px 0; padding: 20px; border: 1px solid var(--marketing-edge); border-radius: 12px; background: var(--code-bg); color: #f1f3e9; font: 13px/1.8 ui-monospace, monospace; }
.tool-setup code { overflow-wrap: anywhere; }
.tool-setup pre code { overflow-wrap: normal; }
@media (max-width: 680px) { .tool-steps { padding-left: 20px; } .tool-steps > li { padding-left: 2px; } .tool-setup pre { padding: 14px; font-size: 12px; } }
