

main {
    max-width: 1040px;
    margin: 0 auto;
    padding: 0 20px;
}



.hero {
    padding: 58px 0 42px;
}

.eyebrow {
    margin: 0 0 12px;
    color: #6558e8;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.hero > p:not(.eyebrow) {
    max-width: 660px;
    margin: 0;
    color: #687588;
    font-size: 16px;
    line-height: 1.7;
}

.hero h1 {
    margin: 0 0 15px;
    font-size: 42px;
    line-height: 1.16;
    letter-spacing: -1.6px;
}



.category {
    padding: 35px 0 40px;
}

.category-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
}

.category-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.category-icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: #f1efff;
    color: #6558e8;
    font-size: 19px;
    font-weight: 700;
}

.category-heading h2 {
    margin: 0;
    font-size: 23px;
    letter-spacing: -.6px;
}

.category-count {
    color: #929baa;
    font-size: 12px;
}



.tool-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.tool-card {
    min-width: 0;
    min-height: 150px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    background: #fff;
    transition: .2s ease;
}

.tool-card:hover {
    border-color: #b8b1ff;
    box-shadow: 0 8px 24px rgba(40, 35, 100, .07);
    transform: translateY(-2px);
}

.tool-icon {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    margin-bottom: 11px;
    border-radius: 9px;
    color: var(--icon-color, #6558e8);
    background: var(--icon-bg, #f1efff);
}

.tool-icon svg {
    width: 19px;
    height: 19px;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}



.category:nth-of-type(2) .tool-card:nth-child(1) .tool-icon {
    --icon-color: #3978D5;
    --icon-bg: #EAF2FF;
}

.category:nth-of-type(2) .tool-card:nth-child(2) .tool-icon {
    --icon-color: #D58A32;
    --icon-bg: #FFF4E5;
}

.category:nth-of-type(2) .tool-card:nth-child(3) .tool-icon {
    --icon-color: #1596A8;
    --icon-bg: #E7F6F8;
}

.category:nth-of-type(2) .tool-card:nth-child(4) .tool-icon {
    --icon-color: #D36B62;
    --icon-bg: #FCEFED;
}

.category:nth-of-type(2) .tool-card:nth-child(5) .tool-icon {
    --icon-color: #289B83;
    --icon-bg: #E8F6F1;
}

.category:nth-of-type(2) .tool-card:nth-child(6) .tool-icon {
    --icon-color: #8964C5;
    --icon-bg: #F2EDFA;
}

.category:nth-of-type(2) .tool-card:nth-child(7) .tool-icon {
    --icon-color: #C28A36;
    --icon-bg: #FBF3E6;
}

.category:nth-of-type(2) .tool-card:nth-child(8) .tool-icon {
    --icon-color: #C45E87;
    --icon-bg: #FAEDF3;
}

.category:nth-of-type(2) .tool-card:nth-child(9) .tool-icon {
    --icon-color: #398FA5;
    --icon-bg: #EAF5F8;
}

.category:nth-of-type(2) .tool-card:nth-child(10) .tool-icon {
    --icon-color: #739746;
    --icon-bg: #F0F5E8;
}

.category:nth-of-type(2) .tool-card:nth-child(11) .tool-icon {
    --icon-color: #6D72C9;
    --icon-bg: #EFF0FC;
}

.category:nth-of-type(2) .tool-card:nth-child(12) .tool-icon {
    --icon-color: #D0783F;
    --icon-bg: #FCF0E7;
}

.category:nth-of-type(2) .tool-card:nth-child(13) .tool-icon {
    --icon-color: #518DBE;
    --icon-bg: #ECF3F9;
}

.category:nth-of-type(2) .tool-card:nth-child(14) .tool-icon {
    --icon-color: #8B69B9;
    --icon-bg: #F3EFF9;
}

.category:nth-of-type(2) .tool-card:nth-child(15) .tool-icon {
    --icon-color: #32936C;
    --icon-bg: #EAF5EE;
}

.category:nth-of-type(2) .tool-card:nth-child(16) .tool-icon {
    --icon-color: #C46C9C;
    --icon-bg: #FAEDF4;
}

.category:nth-of-type(2) .tool-card:nth-child(17) .tool-icon {
    --icon-color: #567FAE;
    --icon-bg: #EDF2F8;
}



.category:nth-of-type(3) .tool-card:nth-child(1) .tool-icon {
    --icon-color: #397BD1;
    --icon-bg: #EAF2FE;
}

.category:nth-of-type(3) .tool-card:nth-child(2) .tool-icon {
    --icon-color: #D18A2B;
    --icon-bg: #FFF5E5;
}

.category:nth-of-type(3) .tool-card:nth-child(3) .tool-icon {
    --icon-color: #C65D89;
    --icon-bg: #FCEEF4;
}

.category:nth-of-type(3) .tool-card:nth-child(4) .tool-icon {
    --icon-color: #159889;
    --icon-bg: #E7F7F3;
}

.category:nth-of-type(3) .tool-card:nth-child(5) .tool-icon {
    --icon-color: #8565C5;
    --icon-bg: #F2EDFC;
}

.category:nth-of-type(3) .tool-card:nth-child(6) .tool-icon {
    --icon-color: #D87552;
    --icon-bg: #FFF0E9;
}



.category:nth-of-type(4) .tool-card:nth-child(1) .tool-icon {
    --icon-color: #159B91;
    --icon-bg: #E7F7F4;
}

.category:nth-of-type(4) .tool-card:nth-child(2) .tool-icon {
    --icon-color: #6278D1;
    --icon-bg: #EFF1FC;
}

.category:nth-of-type(4) .tool-card:nth-child(3) .tool-icon {
    --icon-color: #3295B8;
    --icon-bg: #EAF6FA;
}

.category:nth-of-type(4) .tool-card:nth-child(4) .tool-icon {
    --icon-color: #CE8A2D;
    --icon-bg: #FFF5E7;
}

.category:nth-of-type(4) .tool-card:nth-child(5) .tool-icon {
    --icon-color: #8067C5;
    --icon-bg: #F2EEFC;
}

.category:nth-of-type(4) .tool-card:nth-child(6) .tool-icon {
    --icon-color: #31966D;
    --icon-bg: #EAF6EF;
}



.category:nth-of-type(5) .tool-card:nth-child(1) .tool-icon {
    --icon-color: #C98A2C;
    --icon-bg: #FFF5E5;
}

.category:nth-of-type(5) .tool-card:nth-child(2) .tool-icon {
    --icon-color: #3985B8;
    --icon-bg: #EAF4FA;
}

.category:nth-of-type(5) .tool-card:nth-child(3) .tool-icon {
    --icon-color: #8766C3;
    --icon-bg: #F2EEFB;
}



.tool-card h3 {
    margin: 0 0 6px;
    padding-right: 12px;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 700;
    letter-spacing: -.15px;
}

.tool-card p {
    margin: 0;
    color: #687588;
    font-size: 13px;
    line-height: 1.55;
}

.card-arrow {
    position: absolute;
    right: 13px;
    top: 13px;
    color: #a0a7b4;
    font-size: 15px;
    transition: .2s;
    display: none;
}

.tool-card:hover .card-arrow {
    color: #6558e8;
    transform: translate(2px, -2px);
}



.benefits {
    padding: 42px 0 90px;
}

.benefits h2 {
    margin: 0 0 22px;
    font-size: 25px;
    letter-spacing: -.7px;
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.benefit {
    padding: 20px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
}

.benefit h3 {
    margin: 0 0 8px;
    font-size: 15px;
}

.benefit p {
    margin: 0;
    color: #687588;
    font-size: 13px;
    line-height: 1.65;
}



@media (max-width: 850px) {

    .tool-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}



@media (max-width: 768px) {

    main {
        padding: 0 16px;
    }

    .hero {
        padding: 50px 0 40px;
    }

    .hero h1 {
        font-size: 36px;
        letter-spacing: -1.2px;
    }

    .hero > p:not(.eyebrow) {
        font-size: 14px;
    }

    .category {
        padding: 28px 0 32px;
    }

    .tool-grid {
        grid-template-columns: repeat(1, minmax(0, 1fr));
        gap: 10px;
    }

    .tool-card {
        min-height: 120px;
        padding: 14px 12px;
    }

    .category-heading h2 {
        font-size: 20px;
    }

    .benefit-grid {
        grid-template-columns: 1fr;
    }
}



@media (max-width: 430px) {

    .hero h1 {
        font-size: 32px;
    }

    .category-heading h2 {
        font-size: 19px;
    }

    .category-count {
        font-size: 11px;
    }
}