/* =========================================
   PROMO EXPERT TOOLS — HOME
========================================= */

body.home-page {
    margin: 0;

    min-height: 100vh;
    min-height: 100dvh;

    background:
        radial-gradient(
            circle at 50% -10%,
            rgba(52,112,220,.20),
            transparent 38%
        ),
        #091321;

    color: #f7f9fc;

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;
}


/* =========================================
   MAIN
========================================= */

.home-main {
    width: 100%;
}


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

.home-hero {
    padding:
        66px
        0
        48px;

    text-align: center;
}


/* BRAND — ONE LINE */

.home-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 20px;

    margin: 0 auto 27px;
}

.home-brand__logo {
    display: block;

    width: 92px;
    height: 92px;

    flex: 0 0 92px;

    object-fit: contain;

    filter:
        drop-shadow(
            0 13px 30px rgba(0,0,0,.28)
        );
}

.home-brand__name {
    color: #fff;

    font-size: 28px;
    line-height: 1;

    font-weight: 700;

    letter-spacing: .02em;

    white-space: nowrap;
}

.home-brand__name span {
    color: #f26b38;
}


/* HERO TITLE */

.home-title {
    max-width: 850px;

    margin: 0 auto;

    color: #fff;

    font-size:
        clamp(
            31px,
            3.5vw,
            46px
        );

    line-height: 1.12;

    font-weight: 700;

    letter-spacing: -1.2px;
}

.home-description {
    max-width: 690px;

    margin:
        19px
        auto
        0;

    color: #8fa1b8;

    font-size: 15px;
    line-height: 1.65;
}

.home-description strong {
    color: #dce5ef;

    font-weight: 500;
}


/* =========================================
   TOOLS SECTION
========================================= */

.home-tools {
    padding:
        8px
        0
        84px;
}

.home-tools__heading {
    margin-bottom: 22px;

    color: #71849c;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: .16em;

    text-align: center;

    text-transform: uppercase;
}


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

.tools-grid {
    display: grid;

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

    gap: 14px;
}


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

.tool-card {
    position: relative;

    min-height: 205px;

    display: flex;
    flex-direction: column;

    padding: 22px;

    overflow: hidden;

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

    border-radius: 18px;

    background:
        rgba(255,255,255,.045);

    color: inherit;

    text-decoration: none;

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

a.tool-card:hover {
    transform:
        translateY(-3px);

    border-color:
        rgba(242,107,56,.38);

    background:
        rgba(255,255,255,.065);

    box-shadow:
        0 18px 45px rgba(0,0,0,.16);
}


/* CARD TOP */

.tool-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 14px;
}

.tool-card__number {
    color: #58708c;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: .10em;
}

.tool-card__status {
    padding:
        6px
        8px;

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

    border-radius: 999px;

    color: #687c95;

    font-size: 8px;
    font-weight: 700;

    letter-spacing: .10em;

    text-transform: uppercase;
}


/* CARD CONTENT */

.tool-card__name {
    margin:
        29px
        0
        0;

    color: #fff;

    font-size: 21px;
    line-height: 1.17;

    font-weight: 600;

    letter-spacing: -.35px;
}

.tool-card__description {
    margin-top: 10px;

    color: #7f91a9;

    font-size: 12px;
    line-height: 1.55;
}


/* CARD BOTTOM */

.tool-card__bottom {
    margin-top: auto;

    padding-top: 20px;

    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.tool-card__arrow {
    width: 34px;
    height: 34px;

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

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

    border-radius: 50%;

    color: #aebdd0;

    font-size: 16px;

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

a.tool-card:hover
.tool-card__arrow {
    color: #f26b38;

    border-color:
        rgba(242,107,56,.5);

    transform:
        translateX(2px);
}


/* COMING SOON */

.tool-card--soon {
    cursor: default;
}

.tool-card--soon
.tool-card__name {
    color: #d5dde8;
}


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

@media (max-width: 1050px) {

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

}


@media (max-width: 760px) {

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

    .home-brand {
        gap: 14px;

        margin-bottom: 23px;
    }

    .home-brand__logo {
        width: 70px;
        height: 70px;

        flex-basis: 70px;
    }

    .home-brand__name {
        font-size: 21px;
    }

    .home-title {
        max-width: 520px;

        font-size: 31px;

        letter-spacing: -.8px;
    }

    .home-description {
        max-width: 520px;

        margin-top: 17px;

        font-size: 14px;
    }

    .home-tools {
        padding-bottom: 65px;
    }

}


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

@media (max-width: 560px) {

    .home-hero {
        padding:
            42px
            0
            34px;
    }

    .home-brand {
        gap: 11px;

        margin-bottom: 21px;
    }

    .home-brand__logo {
        width: 60px;
        height: 60px;

        flex-basis: 60px;
    }

    .home-brand__name {
        font-size: 17px;

        letter-spacing: 0;
    }

    .home-title {
        max-width: 360px;

        font-size: 27px;
        line-height: 1.16;

        letter-spacing: -.65px;
    }

    .home-description {
        max-width: 390px;

        font-size: 13px;
        line-height: 1.6;
    }

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

        gap: 12px;
    }

    .tool-card {
        min-height: 180px;

        padding: 20px;
    }

    .tool-card__name {
        margin-top: 24px;

        font-size: 20px;
    }

}


/* VERY SMALL */

@media (max-width: 360px) {

    .home-brand__logo {
        width: 54px;
        height: 54px;

        flex-basis: 54px;
    }

    .home-brand__name {
        font-size: 15px;
    }

}


/* =========================================
   TOOL CARD ICONS
========================================= */

.tool-card__icon {
    width: 44px;
    height: 44px;

    margin-top: 23px;

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

    border:
        1px solid rgba(88,166,255,.20);

    border-radius: 13px;

    background:
        rgba(88,166,255,.07);

    color: #58a6ff;
}

.tool-card__icon svg {
    width: 23px;
    height: 23px;

    display: block;

    fill: none;
    stroke: currentColor;

    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.tool-card__name {
    margin-top: 17px;
}

a.tool-card:hover .tool-card__icon {
    color: #f26b38;

    border-color:
        rgba(242,107,56,.34);

    background:
        rgba(242,107,56,.07);
}


/* =========================================
   TOOL CARDS — READABLE TYPOGRAPHY
========================================= */

.tool-card__number {
    font-size: 14px;
    line-height: 1.4;

    color: #8193aa;

    letter-spacing: .05em;
}

.tool-card__status {
    padding: 7px 11px;

    font-size: 11px;
    line-height: 1;

    color: #8fa1b8;

    letter-spacing: .08em;
}

.tool-card__description {
    margin-top: 11px;

    color: #9aabc0;

    font-size: 16px;
    line-height: 1.5;
}

.tool-card__name {
    font-size: 22px;
    line-height: 1.2;
}


@media (max-width: 560px) {

    .tool-card__description {
        font-size: 15px;
    }

    .tool-card__number {
        font-size: 13px;
    }

    .tool-card__status {
        font-size: 10px;
    }

}


/* =========================================
   HOME HERO — TEXT SIZE
========================================= */

.home-description {
    max-width: 820px;

    font-size: 17px;
    line-height: 1.65;

    color: #9aabc0;
}

.home-description strong {
    color: #f7f9fc;

    font-size: inherit;
    font-weight: 600;
}


/* ALL TOOLS */

.home-tools__heading {
    margin-bottom: 28px;

    color: #f2f5f9;

    font-size: 19px;
    line-height: 1.2;

    font-weight: 700;

    letter-spacing: .03em;

    text-transform: none;
}


@media (max-width: 760px) {

    .home-description {
        font-size: 16px;
    }

    .home-tools__heading {
        font-size: 18px;
    }

}


@media (max-width: 480px) {

    .home-description {
        font-size: 15px;
        line-height: 1.6;
    }

    .home-tools__heading {
        font-size: 17px;
    }

}
