/* =========================================================
   RESET / VARIABLES
========================================================= */

.collaborate-page, .collaborate-page * { box-sizing: border-box; }

:root {
    --navy: #071D59;
    --navy-dark: #06184A;
    --cyan: #13C7E5;
    --cyan-dark: #08AFCB;
    --text: #586783;
    --line: #DDECF1;
    --white: #FFFFFF;
}



.collaborate-page {
    margin: 0;

    background: #FFFFFF;

    color: var(--navy);

    font-family:
        Inter,
        "Helvetica Neue",
        Arial,
        sans-serif;

    -webkit-font-smoothing: antialiased;
}


/* =========================================================
   MAIN SECTION
========================================================= */

.collaborate-page {
    position: relative;

    width: 100%;

    overflow: hidden;

    /*
       Almost completely white.

       Only a very subtle cyan atmosphere is used in the
       upper-right area so the section connects visually
       with the rest of the DealOpp website.

       Bottom returns completely to white for the FAQ.
    */

    background:
        radial-gradient(
            ellipse at 84% 7%,
            rgba(19,199,229,.07) 0%,
            rgba(19,199,229,.025) 25%,
            rgba(19,199,229,0) 53%
        ),
        #FFFFFF;
}


/* =========================================================
   BACKGROUND CURVES
========================================================= */

.background-curve {
    position: absolute;

    z-index: 0;

    width: 850px;
    height: 330px;

    right: -190px;
    top: -75px;

    border-radius: 50%;

    border-bottom:
        1px solid rgba(19,199,229,.10);

    transform: rotate(-7deg);

    pointer-events: none;
}

.background-curve::after {
    content: "";

    position: absolute;

    width: 720px;
    height: 260px;

    left: 85px;
    top: 70px;

    border-radius: 50%;

    border-bottom:
        1px solid rgba(19,199,229,.07);
}


/* =========================================================
   CONTAINER
========================================================= */

.collaborate-container {
    position: relative;

    z-index: 2;

    width: calc(100% - 80px);
    max-width: 1440px;

    margin: 0 auto;

    padding:
        82px 0
        96px;
}


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

.collaborate-header {
    width: 100%;
    max-width: 930px;

    margin:
        0 auto
        60px;

    text-align: center;
}


/* =========================================================
   EYEBROW
========================================================= */

.eyebrow {
    display: flex;

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

    gap: 17px;

    margin-bottom: 21px;

    color: var(--cyan);

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

    letter-spacing: 1.45px;

    text-transform: uppercase;
}

.eyebrow::after {
    content: "";

    display: block;

    width: 57px;
    height: 1px;

    background: var(--cyan);
}


/* =========================================================
   TITLE
========================================================= */

.collaborate-title {
    margin-bottom: 18px;

    color: #202124;

    font-size:
        clamp(42px, 4vw, 62px);

    line-height: 1.03;

    letter-spacing: -2.4px;

    font-weight: 650;
}

.collaborate-title span {
    color: var(--cyan);
}


/* =========================================================
   INTRO
========================================================= */

.collaborate-intro {
    max-width: 810px;

    margin: 0 auto;

    color: var(--text);

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


/* =========================================================
   FEATURE GRID
========================================================= */

.feature-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0,1fr));

    gap: 24px;

    width: 100%;
}


/* =========================================================
   FEATURE CARD
========================================================= */

.feature-card {
    position: relative;

    min-height: 190px;

    padding:
        27px 29px
        26px;

    border:
        1px solid rgba(19,199,229,.20);

    border-radius: 13px;

    background:
        rgba(255,255,255,.88);

    cursor: pointer;

    outline: none;

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


/* =========================================================
   VERY SUBTLE HOVER
========================================================= */

.feature-card:hover {
    border-color:
        rgba(19,199,229,.42);

    background:
        rgba(249,253,254,.96);

    box-shadow:
        0 9px 28px
        rgba(7,29,89,.045);

    transform:
        translateY(-2px);
}


/* =========================================================
   ACTIVE CARD
========================================================= */

.feature-card.active {
    border-color:
        rgba(19,199,229,.45);

    background:
        linear-gradient(
            135deg,
            #FFFFFF 0%,
            #FBFEFF 100%
        );

    box-shadow:
        0 10px 30px
        rgba(7,29,89,.05);
}


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

.feature-icon {
    width: 66px;
    height: 66px;

    display: flex;

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

    margin-bottom: 17px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle at 35% 30%,
            #FFFFFF 0%,
            #EAF9FC 100%
        );
}


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

.feature-icon svg {
    width: 37px;
    height: 37px;

    fill: none;

    stroke: var(--cyan-dark);

    stroke-width: 1.7;

    stroke-linecap: round;
    stroke-linejoin: round;
}


/*
   Some small icon details use navy so the icons
   visually match the DealOpp cyan/navy system.
*/

.feature-icon svg .navy {
    stroke: var(--navy);
}


/* =========================================================
   CARD TITLE
========================================================= */

.feature-title {
    color: #202124;

    font-size: 18px;
    line-height: 1.3;

    font-weight: 650;

    letter-spacing: -.2px;
}


/* =========================================================
   DESCRIPTION

   Hidden until card is clicked.
========================================================= */

.feature-description {
    max-height: 0;

    overflow: hidden;

    opacity: 0;

    margin-top: 0;

    color: var(--text);

    font-size: 14.5px;
    line-height: 1.5;

    transition:
        max-height .32s ease,
        opacity .24s ease,
        margin-top .32s ease;
}


/* =========================================================
   OPEN DESCRIPTION
========================================================= */

.feature-card.active
.feature-description {
    max-height: 110px;

    opacity: 1;

    margin-top: 9px;
}


/* =========================================================
   SMALL ACTIVE LINE

   Very restrained visual indication.
========================================================= */

.feature-card::after {
    content: "";

    position: absolute;

    left: 29px;
    bottom: 0;

    width: 0;
    height: 2px;

    background: var(--cyan);

    transition:
        width .3s ease;
}

.feature-card.active::after {
    width: 42px;
}


/* =========================================================
   ACCESSIBILITY FOCUS
========================================================= */

.feature-card:focus-visible {
    border-color: var(--cyan);

    box-shadow:
        0 0 0 3px
        rgba(19,199,229,.09);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1050px) {

    .collaborate-container {

        width:
            calc(100% - 60px);

        padding:
            75px 0
            85px;
    }


    .feature-grid {

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

    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 650px) {

    .collaborate-container {

        width:
            calc(100% - 40px);

        padding:
            58px 0
            70px;
    }


    .background-curve {

        width: 500px;
        height: 230px;

        right: -300px;

        opacity: .6;
    }


    .collaborate-header {

        margin-bottom: 43px;

        text-align: left;
    }


    .eyebrow {

        justify-content: flex-start;

        font-size: 11px;
    }


    .eyebrow::after {

        width: 42px;
    }


    .collaborate-title {

        font-size: 42px;

        letter-spacing: -1.7px;
    }


    .collaborate-intro {

        font-size: 16px;
    }


    .feature-grid {

        grid-template-columns: 1fr;

        gap: 14px;
    }


    .feature-card {

        min-height: auto;

        padding:
            23px 23px
            22px;
    }


    .feature-icon {

        width: 58px;
        height: 58px;

        margin-bottom: 14px;
    }


    .feature-icon svg {

        width: 32px;
        height: 32px;
    }


    .feature-title {

        font-size: 17px;
    }


    .feature-description {

        font-size: 14px;
    }

}