/*!
 * ALGO HUB - Copyright (c) 2026 AMISEF. All rights reserved.
 * Proprietary and confidential. Unauthorized copying, modification, distribution
 * or use of this file, in whole or in part, via any medium, is strictly prohibited.
 * Use is permitted only under the terms of the LICENSE file. Author: AMISEF.
 */

.tool-page { max-width: 1080px; margin: 0 auto; padding: 24px 18px 48px; color: var(--text); }
.tool-breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: .8rem; color: var(--text-soft); margin-bottom: 22px; }
.tool-hero { padding: clamp(22px, 4vw, 44px); border: 1px solid var(--border); border-radius: 22px; background: var(--surface); }
.tool-eyebrow { color: var(--brand-dark); font-weight: 800; font-size: .8rem; }
.tool-hero h1 { font-size: clamp(1.35rem, 3vw, 2rem); line-height: 1.7; margin: 8px 0 14px; color: var(--heading); }
.tool-hero p, .tool-article p, .tool-article li, .tool-note, .tool-discovery p { line-height: 2.1; }
.tool-hero .btn { margin: 10px 0 0 8px; white-space: normal; }
.tool-article { max-width: 780px; margin: 30px auto; }
.tool-page h2, .tool-discovery h2 { color: var(--heading); font-size: 1.12rem; line-height: 1.9; margin: 24px 0 10px; }
.tool-article section { margin-bottom: 26px; }
.tool-article ol { padding-inline-start: 24px; }
.tool-article details { padding: 15px 0; border-bottom: 1px solid var(--border); }
.tool-article summary { cursor: pointer; font-weight: 700; line-height: 1.9; }
.tool-review, .tool-note { color: var(--text-soft); font-size: .8rem; }
.tool-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); gap: 16px; }
.tool-card { border: 1px solid var(--border); border-radius: 18px; padding: 22px; background: var(--surface); }
.tool-card h3 { font-size: 1rem; color: var(--heading); margin: 0 0 12px; }
.tool-card p { font-size: .85rem; line-height: 2; color: var(--text-soft); }
.tool-card a, .tool-review a, .tool-breadcrumb a { text-decoration: underline; text-underline-offset: 4px; }
.tool-discovery { max-width: 1080px; margin: 24px auto; padding: 20px; border: 1px solid var(--border); border-radius: 20px; background: var(--surface); }
.tool-discovery h2 { margin-top: 0; }
.tool-discovery p { font-size: .85rem; color: var(--text-soft); }
.tool-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.tool-pills a { padding: 9px 14px; border: 1px solid var(--border); border-radius: 16px; font-size: .8rem; color: var(--heading); background: var(--surface-2); }
.tool-page a:focus-visible, .tool-discovery a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
