.tool-paths {
    padding: clamp(2.25rem, 5vw, 4rem) 0;
    border-top: 1px solid var(--line);
    background: rgba(18, 15, 28, 0.68);
}

.tool-paths-head {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.7fr);
    gap: clamp(1.5rem, 4vw, 4rem);
    align-items: end;
}

.tool-paths-head h2,
.tool-guide-hero h1,
.tool-guide-section h2 {
    margin: 0.55rem 0 0;
    color: var(--text);
    font-family: var(--heading-font);
    letter-spacing: -0.045em;
}

.tool-paths-head h2 {
    max-width: 720px;
    font-size: clamp(2rem, 4vw, 3.65rem);
    line-height: 1.02;
}

.tool-paths-head p {
    margin: 0;
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.65;
}

.tool-path-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    margin-top: 2rem;
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.tool-path-grid a {
    display: grid;
    align-content: start;
    gap: 0.55rem;
    min-height: 176px;
    padding: 1.25rem;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    color: var(--text);
    background: rgba(8, 7, 15, 0.36);
    text-decoration: none;
    transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.tool-path-grid a:hover,
.tool-path-grid a:focus-visible {
    border-color: rgba(188, 218, 170, 0.56);
    background: rgba(188, 218, 170, 0.07);
    transform: translateY(-2px);
}

.tool-path-grid strong {
    color: #d9f2ca;
    font-size: 1rem;
    line-height: 1.3;
}

.tool-path-grid span {
    color: var(--muted);
    font-size: 0.8rem;
    line-height: 1.55;
}

.tool-guide-page {
    background: #0b0912;
}

.tool-guide-hero {
    padding: clamp(8.25rem, 13vw, 11.5rem) 0 clamp(4rem, 8vw, 7rem);
    border-bottom: 1px solid var(--line);
    background:
        radial-gradient(circle at 82% 20%, rgba(151, 122, 194, 0.17), transparent 28rem),
        linear-gradient(135deg, rgba(12, 10, 21, 0.96), rgba(18, 15, 28, 0.86));
}

.tool-guide-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.62fr);
    gap: clamp(2rem, 7vw, 6rem);
    align-items: end;
}

.tool-guide-hero h1 {
    max-width: 880px;
    font-size: clamp(3rem, 7vw, 6.6rem);
    line-height: 0.94;
}

.tool-guide-hero p {
    max-width: 720px;
    margin: 1.35rem 0 0;
    color: var(--soft);
    font-size: clamp(1rem, 1.8vw, 1.25rem);
    line-height: 1.65;
}

.tool-guide-facts {
    margin: 0;
    border-top: 1px solid var(--line);
}

.tool-guide-facts div {
    display: grid;
    grid-template-columns: 6.2rem minmax(0, 1fr);
    gap: 1rem;
    padding: 0.95rem 0;
    border-bottom: 1px solid var(--line);
}

.tool-guide-facts dt {
    color: var(--muted);
    font: 0.68rem/1.5 var(--mono);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.tool-guide-facts dd {
    margin: 0;
    color: var(--text);
    font-size: 0.82rem;
    line-height: 1.55;
}

.tool-guide-section {
    padding: clamp(3.5rem, 7vw, 6.5rem) 0;
}

.tool-guide-section.band {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: rgba(23, 19, 34, 0.56);
}

.tool-guide-section-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.55fr);
    gap: clamp(1.5rem, 5vw, 4rem);
    align-items: end;
}

.tool-guide-section h2 {
    max-width: 760px;
    font-size: clamp(2.15rem, 4.4vw, 4rem);
    line-height: 1;
}

.tool-guide-section-head > p {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.65;
}

.tool-step-list {
    display: grid;
    margin: 2.25rem 0 0;
    border-top: 1px solid var(--line);
}

.tool-step {
    display: grid;
    grid-template-columns: 4rem minmax(180px, 0.65fr) minmax(260px, 1fr) auto;
    gap: 1.25rem;
    align-items: center;
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--line);
}

.tool-step-number {
    color: #bcdbaa;
    font: 0.72rem var(--mono);
}

.tool-step h3 {
    margin: 0;
    color: var(--text);
    font: 700 1rem/1.35 var(--body-font);
}

.tool-step p {
    margin: 0;
    color: var(--muted);
    font-size: 0.8rem;
    line-height: 1.55;
}

.tool-step a {
    min-width: 8.2rem;
    text-align: center;
}

.tool-use-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 2.25rem;
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.tool-use-grid article {
    min-height: 180px;
    padding: 1.25rem;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.tool-use-grid h3 {
    margin: 0;
    color: var(--text);
    font: 700 1rem/1.35 var(--body-font);
}

.tool-use-grid p {
    margin: 0.7rem 0 0;
    color: var(--muted);
    font-size: 0.8rem;
    line-height: 1.6;
}

.tool-guide-close {
    padding: clamp(3.25rem, 7vw, 5.5rem) 0;
    background: #b8d5a8;
}

.tool-guide-close .inner {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    align-items: center;
}

.tool-guide-close h2 {
    margin: 0;
    color: #0a0c0a;
    font: 700 clamp(2rem, 4vw, 3.8rem)/1 var(--heading-font);
    letter-spacing: -0.045em;
}

.tool-guide-close p {
    max-width: 660px;
    margin: 0.8rem 0 0;
    color: rgba(10, 12, 10, 0.76);
    line-height: 1.6;
}

.tool-guide-close .btn {
    flex: 0 0 auto;
    color: #f5f1e9;
    background: #121018;
    border-color: #121018;
}

@media (max-width: 920px) {
    .tool-path-grid,
    .tool-use-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tool-guide-hero-grid,
    .tool-guide-section-head,
    .tool-paths-head {
        grid-template-columns: 1fr;
    }

    .tool-step {
        grid-template-columns: 3rem minmax(150px, 0.75fr) minmax(220px, 1fr);
    }

    .tool-step a {
        grid-column: 2 / -1;
        justify-self: start;
    }
}

@media (max-width: 620px) {
    .tool-path-grid,
    .tool-use-grid {
        grid-template-columns: 1fr;
    }

    .tool-step {
        grid-template-columns: 2.25rem minmax(0, 1fr);
        align-items: start;
    }

    .tool-step p,
    .tool-step a {
        grid-column: 2;
    }

    .tool-guide-close .inner {
        align-items: flex-start;
        flex-direction: column;
    }
}
