/* =========================================================
   THULTHUL — FITNESS TOOLS
========================================================= */

.tt-tools {
    background: #070708;
    color: #f5f5f7;
}

.tt-tools .tt-container {
    width: min(1240px, calc(100% - 40px));
    margin: 0 auto;
}


/* =========================================================
   HERO
========================================================= */

.tt-tools-hero {
    padding: 90px 0 80px;

    border-bottom: 1px solid rgba(255,255,255,.07);

    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(79,70,255,.15),
            transparent 35%
        ),
        #070708;
}

.tt-tools-hero-content {
    max-width: 850px;
}

.tt-tools-eyebrow {
    display: flex;

    align-items: center;

    gap: 9px;

    color: #8178ff;

    font-size: 8px;

    font-weight: 800;

    letter-spacing: 1.6px;
}

.tt-tools-eyebrow span {
    width: 24px;
    height: 1px;

    background: #8178ff;
}

.tt-tools-hero h1 {
    margin: 18px 0 20px;

    color: #ffffff;

    font-size: clamp(45px, 6vw, 74px);

    line-height: .98;

    letter-spacing: -3px;
}

.tt-tools-hero h1 span {
    display: block;

    color: #8178ff;
}

.tt-tools-hero p {
    max-width: 620px;

    margin: 0;

    color: #898991;

    font-size: 15px;

    line-height: 1.7;
}


/* =========================================================
   LIBRARY
========================================================= */

.tt-tools-library {
    padding: 65px 0 100px;
}

.tt-tools-section-heading {
    margin-bottom: 25px;
}

.tt-tools-section-heading > span {
    display: block;

    margin-bottom: 7px;

    color: #8178ff;

    font-size: 8px;

    font-weight: 800;

    letter-spacing: 1.5px;
}

.tt-tools-section-heading h2 {
    margin: 0;

    color: #ffffff;

    font-size: 30px;

    line-height: 1.05;

    letter-spacing: -1.2px;
}


/* =========================================================
   GRID
========================================================= */

.tt-tools-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 12px;
}


/* =========================================================
   CARD
========================================================= */

.tt-tool-card {
    display: flex;

    flex-direction: column;

    min-height: 230px;

    padding: 20px;

    color: inherit;

    background: #111113;

    border: 1px solid rgba(255,255,255,.08);

    text-decoration: none;

    transition:
        transform .2s ease,
        border-color .2s ease,
        background .2s ease;
}

.tt-tool-card:hover {
    transform: translateY(-4px);

    background: #151518;

    border-color: rgba(79,70,255,.5);
}


/* =========================================================
   CARD TOP
========================================================= */

.tt-tool-card-top {
    display: flex;

    align-items: center;
    justify-content: space-between;
}

.tt-tool-icon {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;

    color: #9189ff;

    background: rgba(79,70,255,.1);

    border: 1px solid rgba(79,70,255,.22);

    font-size: 10px;

    font-weight: 800;
}

.tt-tool-arrow {
    color: #8178ff;

    font-size: 15px;
}


/* =========================================================
   CARD BODY
========================================================= */

.tt-tool-card-body {
    margin-top: auto;
}

.tt-tool-eyebrow {
    display: block;

    margin-bottom: 8px;

    color: #6d6d76;

    font-size: 7px;

    font-weight: 800;

    letter-spacing: 1.2px;
}

.tt-tool-card h3 {
    margin: 0;

    color: #ffffff;

    font-size: 17px;

    line-height: 1.2;
}

.tt-tool-card p {
    margin: 9px 0 0;

    color: #777781;

    font-size: 10px;

    line-height: 1.6;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

    .tt-tools-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 650px) {

    .tt-tools .tt-container {
        width: min(100% - 28px, 600px);
    }

    .tt-tools-hero {
        padding: 60px 0 55px;
    }

    .tt-tools-hero h1 {
        font-size: 45px;

        letter-spacing: -2px;
    }

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

    .tt-tool-card {
        min-height: 200px;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 420px) {

    .tt-tools .tt-container {
        width: calc(100% - 24px);
    }

    .tt-tools-hero h1 {
        font-size: 38px;
    }
}