/*
home.css
*/

main {
    padding: 0;
    min-height: auto;
    border-radius: 0;
    box-shadow: none;
}

header h1 {
    margin: .8rem 0 2.4rem 0;
    font-size: clamp(2rem, 4.4vw, 2.1rem);
}

header h1 span {
    color: var(--blue);
}

.tagline {
    margin: 1.29rem 0 0 0;
    display: block;
    font-weight: 400;
    font-size: clamp(1.05rem, 2.8vw, 1rem);
    color: var(--main-text-color);
}

.capabilities {
    margin: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

section h3 {
    margin-top: 7rem;
}

article a {
    margin-top: 0.9rem;
    display: inline-block;
}

.examples {
    margin: 3.4rem 0 2.2rem 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 2rem;
    row-gap: 1rem;
    align-items: stretch;
}

.example-wrap {
    display: grid;
    grid-template-rows: 1fr auto;
}

.examples h4 {
    margin-top: 0;
}

.id-box {
    height: 100%;
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-decoration: none;
    color: inherit;
}

.id-label {
    margin: 0;
    opacity: .8;
}

.id-title,
.id-title > a {
    color: var(--blue);
    font-weight: 600;
    text-decoration: none;
}

.id-title > span {
    color: var(--main-text-color);
}

.id-desc,
.id-meta {
    opacity: .8;
    margin-top: 0;
    white-space: pre-line;
}

.id-label {
    margin: 1rem 2rem 1rem 0;
    opacity: .8;
    font-size: 85%;
    text-align: right;
}

.cta-panel {
    margin: 4rem auto 2.6rem auto;
    padding: 1.6rem;
    width: 50rem;
    max-width: 95vw;
    background: #f3f3f3;
    border: 1px solid #e0e0e0;
    border-radius: var(--radius);
    text-align: center;
}
.cta-panel p {
    margin: 1.4rem 0;
}

.btn--cta {
    margin: 1rem auto;
    width: 18rem;
    border-radius: 0.52rem;
}

.bottom-nav {
    margin: 0 auto 1rem auto;
    padding-top: 1.8rem;
    border-block-start: 1px solid #999;
}


/*  =============================
    MEDIA
    ============================= */

@media (max-width: 600px) {
    header h1 {
        margin: 1.8rem 1rem 1.1rem 1rem;
        text-align: center;
    }

    main {
        padding: 0 1.4rem;
    }

    .tagline {
        margin: .94rem 0 0 0;
        padding: 0 .8rem
    }

    .bottom-nav {
        margin: 0 auto 4.4rem auto;
    }

    .capabilities {
        margin: 3rem 0 0 0;
        padding: 1rem .4rem 3rem .9rem;
        grid-template-columns: 1fr;
        row-gap: 1.25rem;
        border-radius: var(--radius);
        background: #f3f3f3;
        border: 1px solid #e0e0e0;
    }

    .recent-releases { margin: 0 .85rem; }

    section h3 {
        margin-top: 8rem;
    }

    .id-label {
        margin: .6rem 1rem 1rem 0;
        opacity: .8;
        font-size: 85%;
        text-align: right;
    }

    article .sp-1 {
        margin: 0;
    }

    .examples {
        margin-left: .8rem;
        margin-right: .8rem;
        grid-template-columns: 1fr;
        row-gap: 1rem;
    }

    .id-box {
        padding: 1rem 1rem;
    }

    li {
        margin-inline-start: -1.2rem;
    }

    .cta-panel {
        margin: 8rem auto 6rem auto;
        width: 96%;
        background: #f3f3f3;
        border: 1px solid #e0e0e0;
    }

    .btn--cta {
        margin: 1rem auto;
        width: 15rem;
        border-radius: .7rem;
    }
}
