@charset "UTF-8";

.index-hub {
    position: relative;
    padding-block: clamp(64px, 7vw, 104px);
    background: #fff;
    color: #18212f;
}

.index-hub--soft {
    background: #f4f7fb;
}

.index-hub--embedded {
    margin-top: clamp(48px, 6vw, 80px);
    border-radius: 28px;
}

.index-hub__inner {
    width: min(100% - clamp(40px, 7vw, 120px), 1200px);
    margin-inline: auto;
}

.index-hub--embedded .index-hub__inner {
    width: 100%;
}

.index-hub__eyebrow,
.index-hub__card-eyebrow {
    color: #0066ff;
    font-family: Outfit, sans-serif;
    font-size: clamp(11px, 1vw, 13px);
    font-weight: 900;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.index-hub__eyebrow {
    margin: 0 0 10px;
}

.index-hub__title {
    max-width: 900px;
    margin: 0;
    font-size: clamp(26px, 3.2vw, 42px);
    font-weight: 900;
    line-height: 1.35;
}

.index-hub__lead {
    max-width: 860px;
    margin: 18px 0 0;
    color: #667085;
    font-size: clamp(14px, 1.3vw, 16px);
    line-height: 1.9;
}

.index-hub__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(16px, 2vw, 24px);
    margin-top: clamp(28px, 4vw, 44px);
}

.index-hub__card {
    min-width: 0;
    padding: clamp(22px, 3vw, 30px);
    border: 1px solid #d8dee8;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(0, 102, 255, .07);
}

.index-hub__card--link {
    display: block;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.index-hub__card-eyebrow {
    display: block;
    margin-bottom: 12px;
}

.index-hub__card-title {
    margin: 0;
    font-size: clamp(17px, 1.7vw, 21px);
    font-weight: 900;
    line-height: 1.5;
}

.index-hub__card-text {
    margin: 12px 0 0;
    color: #667085;
    font-size: clamp(13px, 1.2vw, 15px);
    line-height: 1.85;
}

.index-hub__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: clamp(26px, 4vw, 38px);
}

.index-hub__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 22px;
    border: 1px solid rgba(0, 102, 255, .28);
    border-radius: 999px;
    background: #fff;
    color: #0066ff;
    font-size: clamp(13px, 1.2vw, 14px);
    font-weight: 900;
    line-height: 1.4;
    text-align: center;
    transition: border-color .2s ease, background .2s ease, box-shadow .2s ease, transform .2s ease;
}

.index-hub__link::after {
    content: "→";
    margin-left: 8px;
    font-family: Outfit, sans-serif;
    font-weight: 900;
}

.index-hub__link--primary {
    border-color: #0066ff;
    background: linear-gradient(135deg, #0066ff, #0047df);
    box-shadow: 0 12px 26px rgba(0, 102, 255, .22);
    color: #fff;
}

.index-hub__panel {
    display: grid;
    gap: 20px;
    margin-top: clamp(30px, 5vw, 48px);
    padding: clamp(24px, 4vw, 36px);
    border: 1px solid #d8dee8;
    border-radius: 22px;
    background: #fff;
}

.index-hub__panel .index-hub__actions {
    margin-top: 0;
}

.index-hub__panel-title {
    margin: 0;
    font-size: clamp(20px, 2.2vw, 28px);
    font-weight: 900;
    line-height: 1.45;
}

.index-hub__panel-text {
    max-width: 760px;
    margin: 12px 0 0;
    color: #667085;
    font-size: clamp(13px, 1.2vw, 15px);
    line-height: 1.85;
}

.projects-page > .index-hub {
    border-bottom: 1px solid rgba(216, 222, 232, .8);
}

.projects-body .index-hub--embedded,
.blog-body .index-hub--embedded {
    padding: clamp(30px, 5vw, 52px);
}

.front-primary-paths {
    border-top: 1px solid rgba(216, 222, 232, .8);
    border-bottom: 1px solid rgba(216, 222, 232, .8);
}

@media (min-width: 768px) {
    .index-hub__grid--3,
    .index-hub__grid--4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .index-hub__grid--3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .index-hub__grid--4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .index-hub__panel {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
    }
}

@media (hover: hover) and (pointer: fine) {
    .index-hub__card--link:hover {
        border-color: rgba(0, 102, 255, .34);
        box-shadow: 0 20px 44px rgba(0, 102, 255, .13);
        transform: translateY(-2px);
    }

    .index-hub__link:hover {
        border-color: #0066ff;
        background: rgba(0, 102, 255, .05);
        transform: translateY(-1px);
    }

    .index-hub__link--primary:hover {
        background: linear-gradient(135deg, #0066ff, #0047df);
        box-shadow: 0 16px 34px rgba(0, 102, 255, .3);
        color: #fff;
    }
}

.index-hub a:focus-visible {
    outline: 3px solid rgba(0, 102, 255, .45);
    outline-offset: 3px;
}

@media (max-width: 767px) {
    .index-hub {
        padding-block: 56px;
    }

    .index-hub--embedded {
        margin-top: 36px;
        border-radius: 20px;
    }

    .projects-body .index-hub--embedded,
    .blog-body .index-hub--embedded {
        padding: 26px 20px;
    }

    .index-hub__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .index-hub__link {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .index-hub__card--link,
    .index-hub__link {
        transition: none;
    }

    .index-hub__card--link:hover,
    .index-hub__link:hover {
        transform: none;
    }
}
