.tools-hub {
    background: #f4f8fa;
}

.tools-hub-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 85% 15%, rgba(91, 190, 220, 0.2), transparent 24rem),
        linear-gradient(115deg, #072840, #0c4869);
    color: #fff;
}

.tools-hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
    gap: 70px;
    align-items: center;
    min-height: 470px;
    padding-top: 64px;
    padding-bottom: 64px;
}

.tools-hub-hero .eyebrow {
    margin-bottom: 12px;
    color: #7ecbe4;
}

.tools-hub-hero h1 {
    max-width: 720px;
    color: #fff;
    font-size: clamp(43px, 5.2vw, 72px);
    line-height: 0.98;
    letter-spacing: -0.05em;
}

.tools-hero-copy {
    max-width: 660px;
    margin-top: 21px;
    color: #c7dce7;
    font-size: 16px;
    line-height: 1.7;
}

.tools-hero-actions {
    display: flex;
    align-items: center;
    gap: 23px;
    margin-top: 28px;
}

.tools-hero-actions .btn-primary {
    border: 1px solid #79c6df;
    background: #fff;
    color: #0a3a57;
}

.tools-hero-actions .btn-primary:hover {
    background: #dff3fa;
}

.tools-text-link {
    color: #d9ecf4;
    font-size: 13px;
    font-weight: 750;
    text-decoration: none;
}

.tools-hero-mark {
    position: relative;
    display: grid;
    min-height: 310px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.055);
    box-shadow: 0 28px 70px rgba(0, 15, 27, 0.2);
    backdrop-filter: blur(8px);
}

.tools-hero-mark svg {
    width: min(88%, 400px);
}

.tool-grid-lines {
    fill: none;
    stroke: rgba(205, 231, 242, 0.09);
    stroke-width: 1;
}

.tool-beam-line,
.tool-load-line,
.tool-arrow,
.tool-support,
.tool-diagram-line {
    fill: none;
    stroke: #cfeaf5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.tool-beam-line {
    stroke-width: 7;
}

.tool-load-line,
.tool-arrow,
.tool-support {
    stroke: #68c1df;
    stroke-width: 3;
}

.tool-diagram-line {
    stroke: #fff;
    stroke-width: 3;
}

.tools-directory {
    padding: 62px 0 72px;
}

.tools-directory-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 27px;
}

.tools-directory-heading .eyebrow {
    margin-bottom: 6px;
}

.tools-directory-heading h2 {
    color: #102235;
    font-size: clamp(30px, 3vw, 42px);
    letter-spacing: -0.035em;
}

.tools-directory-heading > p {
    max-width: 390px;
    color: #647587;
    font-size: 13px;
    text-align: right;
}

.tools-product-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.tools-product-card {
    position: relative;
    display: flex;
    min-height: 355px;
    flex-direction: column;
    align-items: flex-start;
    padding: 29px;
    overflow: hidden;
    border: 1px solid #d8e3e9;
    border-radius: 17px;
    background: #fff;
    color: inherit;
    box-shadow: 0 12px 35px rgba(16, 45, 65, 0.045);
    text-decoration: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.tools-product-card:hover {
    border-color: #87bdd1;
    box-shadow: 0 20px 42px rgba(16, 55, 79, 0.11);
    transform: translateY(-3px);
}

.tools-product-primary {
    grid-row: span 2;
    min-height: 726px;
    padding: 38px;
    background:
        radial-gradient(circle at 85% 10%, rgba(86, 179, 210, 0.13), transparent 20rem),
        #fff;
}

.tools-product-number {
    position: absolute;
    top: 24px;
    right: 26px;
    color: #b5c5ce;
    font-size: 11px;
    font-weight: 850;
    letter-spacing: 0.1em;
}

.tools-product-icon {
    display: grid;
    width: 58px;
    height: 58px;
    margin-bottom: 25px;
    place-items: center;
    border: 1px solid #cce0e9;
    border-radius: 14px;
    background: #edf7fa;
}

.tools-product-icon svg {
    width: 35px;
    height: 35px;
    fill: none;
    stroke: #17658f;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.3;
}

.tools-product-icon.section-icon svg {
    fill: #4d89a5;
    stroke: #0b3b57;
    stroke-width: 1.7;
}

.tools-product-card .card-kicker {
    margin-bottom: 8px;
    color: #17658f;
    font-size: 9px;
    letter-spacing: 0.1em;
}

.tools-product-card h3 {
    color: #092a46;
    font-size: clamp(26px, 2.7vw, 38px);
    letter-spacing: -0.035em;
}

.tools-product-card p {
    max-width: 590px;
    margin-top: 12px;
    color: #637587;
    font-size: 13px;
    line-height: 1.65;
}

.tools-product-card ul {
    display: grid;
    gap: 12px;
    margin: 35px 0 0;
    padding: 23px 0 0;
    border-top: 1px solid #dfe7ec;
    color: #3e5669;
    font-size: 12px;
    list-style: none;
}

.tools-product-card li::before {
    margin-right: 9px;
    color: #2f8bad;
    content: "✓";
    font-weight: 900;
}

.tools-product-card > strong:last-child {
    margin-top: auto;
    padding-top: 27px;
    color: #0c5278;
    font-size: 13px;
}

.tools-product-card > strong:last-child span {
    display: inline-block;
    margin-left: 5px;
    transition: transform 0.18s ease;
}

.tools-product-card:hover > strong:last-child span {
    transform: translateX(4px);
}

.tools-product-facts,
.tools-product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 22px;
}

.tools-product-facts span,
.tools-product-tags span {
    padding: 7px 10px;
    border: 1px solid #d9e5eb;
    border-radius: 999px;
    background: #f6fafb;
    color: #597082;
    font-size: 9px;
    font-weight: 700;
}

.tools-product-facts strong {
    color: #0b4d70;
}

.tools-use-note {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 18px;
    padding: 15px 18px;
    border: 1px solid #dbe5ea;
    border-radius: 11px;
    background: #fff;
    color: #637587;
    font-size: 11px;
}

.tools-use-note > span {
    display: grid;
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 50%;
    background: #e7f3f7;
    color: #17658f;
    font-size: 10px;
    font-weight: 850;
}

@media (max-width: 900px) {
    .tools-hero-layout {
        grid-template-columns: 1fr;
        gap: 35px;
        padding-top: 48px;
        padding-bottom: 48px;
    }

    .tools-hero-mark {
        min-height: 240px;
    }

    .tools-product-grid {
        grid-template-columns: 1fr;
    }

    .tools-product-primary {
        grid-row: auto;
        min-height: 460px;
    }
}

@media (max-width: 560px) {
    .tools-hero-layout {
        padding-top: 38px;
        padding-bottom: 38px;
    }

    .tools-hub-hero h1 {
        font-size: 40px;
    }

    .tools-hero-actions,
    .tools-directory-heading {
        align-items: stretch;
        flex-direction: column;
    }

    .tools-hero-actions {
        gap: 14px;
    }

    .tools-text-link {
        text-align: center;
    }

    .tools-hero-mark {
        display: none;
    }

    .tools-directory {
        padding-top: 38px;
    }

    .tools-directory-heading {
        gap: 10px;
    }

    .tools-directory-heading > p {
        text-align: left;
    }

    .tools-product-card,
    .tools-product-primary {
        min-height: 390px;
        padding: 24px;
    }
}
