﻿.hero,
.page-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(8.5rem, 14vw, 12rem) 0 clamp(4.5rem, 8vw, 7rem);
}

    .page-hero h1 {
        max-width: 64rem;
        margin: 1.7rem 0 0;
        font-family: Sora, Inter, sans-serif;
        font-size: clamp(3rem, 4.8vw, 5.8rem);
        line-height: 0.95;
        letter-spacing: -0.03em;
        font-weight: 700;
        color: #11252c;
    }

    .page-hero .lead {
        margin-top: 1.5rem;
    }

.page-container {
    width: 100%;
    max-width: 1280px;
    margin-inline: auto;
    padding-inline: 1.5rem;
}

@media (min-width: 768px) {

    .page-container {
        padding-inline: 2rem;
    }
}
.lead {
    max-width: 46rem;
    color: rgba(16, 38, 45, 0.66);
    font-family: Inter, sans-serif;
    font-size: 1.08rem;
    font-weight: 400;
    line-height: 1.85;
}

.section {
    position: relative;
    padding: clamp(4.75rem, 9vw, 8.25rem) 0;
}

    .section.tight {
        padding-top: 2.5rem;
    }

.grid {
    display: grid;
    gap: 1rem;
}

.grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
    position: relative;
    overflow: hidden;
    border-radius: 2rem;
    padding: 1.6rem;
    transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

    .card::before {
        content: "";
        position: absolute;
        inset: 0;
        opacity: 0;
        background: radial-gradient( circle at 50% 0%, rgba(24, 186, 197, 0.16), transparent 44% );
        transition: opacity 220ms ease;
    }

    .card:hover::before {
        opacity: 1;
    }

    .card > * {
        position: relative;
    }

.card-link:hover {
    transform: translateY(-4px);
    border-color: rgba(24, 186, 197, 0.26);
    box-shadow: 0 24px 76px rgba(24, 186, 197, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.98);
}

.card h2 {
    margin: 1.35rem 0 0;
    font-family: Sora, Inter, sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.03em;
    color: #11252c;
}

.card p,
.card li {
    color: rgba(16, 38, 45, 0.66);
    font-family: Inter, sans-serif;
    font-weight: 400;
    line-height: 1.75;
}

.list {
    margin: 1.25rem 0 0;
    padding: 0;
    list-style: none;
}

    .list li {
        display: flex;
        gap: 0.65rem;
        margin-top: 0.7rem;
    }

        .list li::before {
            content: "";
            flex: 0 0 0.45rem;
            width: 0.45rem;
            height: 0.45rem;
            margin-top: 0.72rem;
            border-radius: 50%;
            background: var(--aqua);
            box-shadow: 0 0 14px rgba(24, 186, 197, 0.45);
        }

.breadcrumb {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 1.25rem;
    color: rgba(16, 38, 45, 0.48);
    font-family: Inter, sans-serif;
    font-size: 0.9rem;
    font-weight: 800;
}

    .breadcrumb a {
        color: var(--teal);
    }

.eyebrow {
    font-family: "Space Grotesk", sans-serif;
    font-weight: 800;
    letter-spacing: 0.13em;
}

.light-theme .page-hero h1,
.light-theme .card h2 {
    color: #11252c;
}

.light-theme .lead,
.light-theme .card p,
.light-theme .card li,
.light-theme .breadcrumb {
    color: rgba(16, 38, 45, 0.66);
}

@media (max-width: 980px) {

    .grid-3 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {

    .page-hero h1 {
        font-size: clamp(2.65rem, 14vw, 4.1rem);
    }
}
