.coa-home {
    --coa-navy: #071835;
    --coa-blue: #2faede;
    --coa-green: #4cef2c;
    display: flex;
    justify-content: center;
    padding: 1rem 1rem 4rem;
}

.coa-home__card {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 19rem;
    align-items: center;
    width: min(75rem, 100%);
    min-height: 24rem;
    padding: 4rem 5rem;
    overflow: hidden;
    color: white;
    background:
        radial-gradient(circle at 86% 18%, rgba(47, 174, 222, .28), transparent 24rem),
        linear-gradient(125deg, #071835 0%, #0b2448 58%, #12365a 100%);
    border-radius: 1.5rem;
    box-shadow: 0 1.5rem 3.75rem rgba(7, 24, 53, .16);
}

.coa-home__card::before,
.coa-home__card::after {
    position: absolute;
    z-index: -1;
    width: 18rem;
    height: 18rem;
    content: "";
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 50%;
}

.coa-home__card::before {
    top: -10rem;
    right: 9rem;
}

.coa-home__card::after {
    right: -7rem;
    bottom: -12rem;
}

.coa-home__content {
    max-width: 42rem;
}

.coa-home__eyebrow {
    display: flex;
    gap: .55rem;
    align-items: center;
    margin: 0 0 1rem;
    color: var(--coa-green);
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.coa-home__eyebrow i {
    font-size: 1rem;
}

.coa-home h2 {
    margin: 0;
    color: white;
    font-size: clamp(2.25rem, 4.25vw, 4rem);
    font-weight: 650;
    line-height: 1.02;
    letter-spacing: -.045em;
}

.coa-home h2 span {
    color: #86d9f4;
}

.coa-home__description {
    max-width: 36rem;
    margin: 1.5rem 0 0;
    color: rgba(255, 255, 255, .76);
    font-size: 1.05rem;
    line-height: 1.65;
}

.coa-home__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
    align-items: center;
    margin-top: 2rem;
}

.coa-home__primary-link,
.coa-home__secondary-link {
    display: inline-flex;
    gap: .7rem;
    align-items: center;
    justify-content: center;
    font-size: .86rem;
    font-weight: 700;
    letter-spacing: .045em;
    text-transform: uppercase;
    transition: transform .2s ease, background-color .2s ease, color .2s ease;
}

.coa-home__primary-link {
    min-height: 3.25rem;
    padding: .85rem 1.35rem;
    color: var(--coa-navy);
    background-color: var(--coa-green);
    border-radius: .45rem;
}

.coa-home__secondary-link {
    padding: .75rem 0;
    color: white;
    border-bottom: 1px solid rgba(255, 255, 255, .42);
}

.coa-home__primary-link:hover,
.coa-home__primary-link:focus-visible {
    color: var(--coa-navy);
    background-color: white;
    transform: translateY(-2px);
}

.coa-home__secondary-link:hover,
.coa-home__secondary-link:focus-visible {
    color: var(--coa-green);
    transform: translateY(-2px);
}

.coa-home__primary-link:focus-visible,
.coa-home__secondary-link:focus-visible {
    outline: 3px solid white;
    outline-offset: 4px;
}

.coa-home__document {
    justify-self: end;
    width: 15rem;
    padding: 2.25rem 1.5rem 1.5rem;
    color: var(--coa-navy);
    text-align: center;
    background: linear-gradient(145deg, #fff 0%, #eaf6fa 100%);
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: 1rem;
    box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, .22);
    transform: rotate(2deg);
}

.coa-home__document-icon {
    display: grid;
    width: 4.5rem;
    height: 4.5rem;
    margin: 0 auto 1.25rem;
    color: var(--coa-blue);
    font-size: 2.4rem;
    background-color: rgba(47, 174, 222, .12);
    border-radius: 50%;
    place-items: center;
}

.coa-home__document p {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
}

.coa-home__document span {
    display: block;
    margin-top: .4rem;
    color: #526276;
    font-size: .85rem;
}

.coa-home__document span b {
    padding: 0 .25rem;
}

.coa-home__document small {
    display: inline-block;
    margin-top: 1.4rem;
    padding: .4rem .7rem;
    color: var(--coa-navy);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    background-color: rgba(76, 239, 44, .35);
    border-radius: 999px;
}

@media screen and (max-width: 900px) {
    .coa-home__card {
        grid-template-columns: minmax(0, 1fr) 13rem;
        gap: 2rem;
        padding: 3.5rem;
    }

    .coa-home__document {
        width: 13rem;
    }
}

@media screen and (max-width: 680px) {
    .coa-home {
        padding: 0 0 2.5rem;
    }

    .coa-home__card {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 3.25rem 1.5rem;
        border-radius: 0;
    }

    .coa-home h2 {
        font-size: clamp(2.25rem, 12vw, 3.35rem);
    }

    .coa-home__description {
        font-size: 1rem;
    }

    .coa-home__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .coa-home__primary-link {
        width: 100%;
    }

    .coa-home__secondary-link {
        align-self: center;
    }

    .coa-home__document {
        justify-self: center;
        width: min(15rem, 82vw);
        transform: rotate(1deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .coa-home__primary-link,
    .coa-home__secondary-link {
        transition: none;
    }
}
