/* =========================
   HEADER
========================= */

.top {
    height: 70px;
    padding: 0 28px;
}

.logo {
    font-size: 23px;
    letter-spacing: -0.5px;
}


/* =========================
   HOME
========================= */

.home {
    max-width: 1100px;
    margin: 0 auto;

    padding: 80px 24px 35px;
}


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

.hero {
    max-width: 720px;
    margin: 0 auto 55px;

    text-align: center;
}

.eyebrow {
    display: inline-block;

    margin-bottom: 18px;

    color: var(--blue);

    font-size: 13px;
    font-weight: 800;

    letter-spacing: .08em;
    text-transform: uppercase;
}

.hero h1 {
    margin: 0;

    font-size: clamp(38px, 6vw, 62px);
    line-height: 1.04;

    letter-spacing: -2.5px;

    color: var(--text);
}

.hero p {
    max-width: 600px;

    margin: 24px auto 0;

    color: var(--muted);

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


/* =========================
   CARDS
========================= */

.cv-options {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 22px;
}

.cv-card {
    position: relative;

    background: var(--card);

    border: 1px solid var(--line);
    border-radius: 18px;

    padding: 30px;

    box-shadow: 0 5px 25px #00000009;

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

.cv-card:hover {
    transform: translateY(-5px);

    box-shadow: 0 14px 35px #00000012;

    border-color: #cfcfd5;
}


/* =========================
   ICON
========================= */

.card-icon {
    width: 58px;
    height: 58px;

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

    border-radius: 14px;

    margin-bottom: 25px;

    font-size: 17px;
    font-weight: 900;
}

.generic-icon {
    background: var(--blue-light);
    color: var(--blue);
}

.developer-icon {
    background: var(--blue-light);
    color: var(--blue);

    font-size: 19px;
}


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

.card-label {
    color: var(--muted);

    font-size: 12px;
    font-weight: 750;

    text-transform: uppercase;
    letter-spacing: .05em;
}

.card-content h2 {
    margin: 7px 0 12px;

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

    letter-spacing: -.6px;
}

.card-content p {
    min-height: 76px;

    margin: 0;

    color: var(--muted);

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


/* =========================
   FEATURES
========================= */

.card-content ul {
    list-style: none;

    margin: 22px 0 27px;
    padding: 0;

    display: grid;
    gap: 10px;
}

.card-content li {
    position: relative;

    padding-left: 22px;

    font-size: 13px;
    font-weight: 600;
}

.card-content li::before {
    content: "✓";

    position: absolute;
    left: 0;
    top: 0;

    color: var(--blue);

    font-weight: 900;
}



/* =========================
   BUTTON
========================= */

.card-button {
    width: 100%;

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

    padding: 13px 15px;

    border: 1px solid #d1d1d6;
    border-radius: 10px;

    background: #fff;

    color: var(--text);

    text-decoration: none;

    font-size: 14px;
    font-weight: 800;

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

.card-button span {
    font-size: 20px;

    transition: transform .2s ease;
}

.card-button:hover {
    background: var(--blue);
    border-color: var(--blue);

    color: #fff;
}

.card-button:hover span {
    transform: translateX(4px);
}



/* =========================
   FOOTER
========================= */

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

    gap: 10px;

    margin-top: 55px;

    color: #999;

    font-size: 12px;
}

.home-footer span:first-child {
    color: var(--text);
    font-weight: 800;
}

.home-footer a {
    color: #999;
    text-decoration: none;
}

.home-footer a:hover {
    color: var(--text);
    text-decoration: underline;
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 750px) {

    .top {
        height: 62px;
        padding: 0 18px;
    }

    .home {
        padding: 55px 16px 25px;
    }

    .hero {
        margin-bottom: 38px;
    }

    .hero h1 {
        letter-spacing: -1.5px;
    }

    .hero p {
        font-size: 14px;
    }

    .cv-options {
        grid-template-columns: 1fr;
    }

    .cv-card {
        padding: 25px;
    }

    .card-content p {
        min-height: auto;
    }

    .home-footer {
        margin-top: 35px;
    }
}


@media (max-width: 420px) {

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

    .hero p {
        font-size: 13px;
    }

    .cv-card {
        padding: 22px;
    }

    .card-content h2 {
        font-size: 24px;
    }
}