/* =========================================================
   TWP — Section 03 Business Challenges
   FINAL BASE CSS
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

/* =========================================================
   SECTION BASE
   ========================================================= */

.twp-challenges,
.twp-challenges * {
    font-family: 'Manrope', sans-serif;
}

.twp-challenges {
    position: relative;
    overflow: hidden;
    isolation: isolate;

    width: 100%;

    /* Remove external and internal vertical spacing */
    margin: 0 !important;
    padding: 0 !important;

    background: #f8faff;
}

/* =========================================================
   BACKGROUND DECORATION
   ========================================================= */

.twp-challenges::before {
    content: "";

    position: absolute;

    width: 680px;
    height: 680px;

    top: -320px;
    right: -250px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(36,112,235,.055) 0%,
            rgba(36,112,235,0) 68%
        );

    pointer-events: none;
}

/* =========================================================
   CONTAINER
   ========================================================= */

.twp-challenges__container {
    position: relative;
    z-index: 1;

    width: min(calc(100% - 48px), 1240px);

    margin-inline: auto;
}

/* =========================================================
   MAIN LAYOUT
   ========================================================= */

.twp-challenges__layout {
    display: grid;

    grid-template-columns:
        minmax(330px,.82fr)
        minmax(0,1.38fr);

    gap: 76px;

    align-items: start;
}

/* =========================================================
   INTRO
   ========================================================= */

.twp-challenges__intro {
    padding-top: 12px;
}

/* =========================================================
   EYEBROW
   ========================================================= */

.twp-challenges__eyebrow {
    display: flex;

    align-items: center;

    gap: 12px;

    margin: 0 0 26px;

    color: #1769e0;

    font-size: 12px;
    line-height: 1;

    font-weight: 800;

    letter-spacing: .12em;
}

.twp-challenges__eyebrow-line {
    width: 32px;
    height: 3px;

    flex: 0 0 32px;

    background: #1769e0;
}

/* =========================================================
   TITLE
   ========================================================= */

.twp-challenges__title {
    max-width: 540px;

    margin: 0;

    color: #071426;

    font-size: clamp(42px,4.35vw,62px);

    line-height: 1.075;

    letter-spacing: -.045em;

    font-weight: 750;
}

.twp-challenges__title strong {
    display: block;

    color: #1769e0;

    font-weight: 750;
}

/* =========================================================
   ACCENT LINE
   ========================================================= */

.twp-challenges__accent-line {
    width: 60px;
    height: 3px;

    margin-top: 38px;

    background: #1769e0;
}

/* =========================================================
   LEAD TEXT
   ========================================================= */

.twp-challenges__lead {
    max-width: 500px;

    margin: 36px 0 0;

    color: #465a72;

    font-size: 17px;

    line-height: 1.75;

    font-weight: 500;
}

/* =========================================================
   LINK
   ========================================================= */

.twp-challenges__link {
    display: inline-flex;

    align-items: center;

    gap: 12px;

    margin-top: 42px;

    padding-bottom: 8px;

    border-bottom: 1px solid #1769e0;

    color: #1769e0;

    font-size: 15px;

    font-weight: 750;

    text-decoration: none;
}

.twp-challenges__link-arrow {
    font-size: 22px;

    line-height: 1;

    transition: transform .2s ease;
}

.twp-challenges__link:hover
.twp-challenges__link-arrow {
    transform: translateX(5px);
}

/* =========================================================
   CHALLENGE GRID
   ========================================================= */

.twp-challenges__grid {
    display: grid;

    grid-template-columns:
        repeat(3,minmax(0,1fr));

    gap: 18px;
}

/* =========================================================
   CHALLENGE CARD
   ========================================================= */

.twp-challenge-card {
    position: relative;

    min-height: 286px;

    padding: 24px 24px 25px;

    border: 1px solid #dce6f3;

    border-radius: 12px;

    background: rgba(255,255,255,.96);

    box-shadow:
        0 8px 28px rgba(7,20,38,.035);

    transition:
        transform .22s ease,
        box-shadow .22s ease,
        border-color .22s ease;
}

.twp-challenge-card:hover {
    transform: translateY(-4px);

    border-color: #c6d7ee;

    box-shadow:
        0 18px 42px rgba(7,20,38,.075);
}

/* =========================================================
   CARD TOP
   ========================================================= */

.twp-challenge-card__top {
    display: flex;

    align-items: flex-start;

    justify-content: space-between;

    min-height: 78px;
}

/* =========================================================
   CARD NUMBER
   ========================================================= */

.twp-challenge-card__number {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    width: 34px;
    height: 34px;

    border-radius: 50%;

    background: #f0f5ff;

    color: #1769e0;

    font-size: 12px;

    font-weight: 800;
}

/* =========================================================
   CARD TITLE
   ========================================================= */

.twp-challenge-card h3 {
    max-width: 245px;

    margin: 15px 0 0;

    color: #071426;

    font-size: 19px;

    line-height: 1.25;

    letter-spacing: -.025em;

    font-weight: 750;
}

/* =========================================================
   CARD RULE
   ========================================================= */

.twp-challenge-card__rule {
    display: block;

    width: 27px;
    height: 2px;

    margin-top: 14px;

    background: #1769e0;
}

/* =========================================================
   CARD DESCRIPTION
   ========================================================= */

.twp-challenge-card p {
    max-width: 250px;

    margin: 14px 0 0;

    color: #53667c;

    font-size: 13.5px;

    line-height: 1.68;

    font-weight: 500;
}

/* =========================================================
   CARD ICON BASE
   ========================================================= */

.twp-challenge-icon {
    position: relative;

    display: block;

    width: 48px;
    height: 48px;

    flex: 0 0 48px;

    border-radius: 14px;

    background: #edf4ff;
}

.twp-challenge-icon i {
    position: absolute;

    display: block;

    border: 2px solid #1769e0;
}

/* =========================================================
   TOOLS ICON
   ========================================================= */

.twp-challenge-icon--tools i:nth-child(1) {
    width: 12px;
    height: 12px;

    left: 9px;
    top: 9px;
}

.twp-challenge-icon--tools i:nth-child(2) {
    width: 12px;
    height: 12px;

    right: 9px;
    top: 9px;
}

.twp-challenge-icon--tools i:nth-child(3) {
    width: 12px;
    height: 12px;

    left: 9px;
    bottom: 9px;
}

.twp-challenge-icon--tools i:nth-child(4) {
    width: 12px;
    height: 12px;

    right: 9px;
    bottom: 9px;
}

/* =========================================================
   MANUAL PROCESS ICON
   ========================================================= */

.twp-challenge-icon--manual i {
    width: 24px;
    height: 2px;

    left: 12px;

    border-width: 2px 0 0;
}

.twp-challenge-icon--manual i:nth-child(1) {
    top: 15px;
}

.twp-challenge-icon--manual i:nth-child(2) {
    top: 23px;

    width: 18px;
}

.twp-challenge-icon--manual i:nth-child(3) {
    top: 31px;

    width: 12px;
}

/* =========================================================
   DATA ICON
   ========================================================= */

.twp-challenge-icon--data i {
    bottom: 10px;

    width: 7px;
}

.twp-challenge-icon--data i:nth-child(1) {
    left: 10px;
    height: 15px;
}

.twp-challenge-icon--data i:nth-child(2) {
    left: 20px;
    height: 24px;
}

.twp-challenge-icon--data i:nth-child(3) {
    left: 30px;
    height: 31px;
}

/* =========================================================
   VISIBILITY ICON
   ========================================================= */

.twp-challenge-icon--visibility i:nth-child(1) {
    width: 29px;
    height: 18px;

    left: 9px;
    top: 15px;

    border-radius: 50%;
}

.twp-challenge-icon--visibility i:nth-child(2) {
    width: 7px;
    height: 7px;

    left: 20px;
    top: 20px;

    border-radius: 50%;
}

/* =========================================================
   TEAM ICON
   ========================================================= */

.twp-challenge-icon--teams i:nth-child(1) {
    width: 10px;
    height: 10px;

    left: 9px;
    top: 10px;

    border-radius: 50%;
}

.twp-challenge-icon--teams i:nth-child(2) {
    width: 10px;
    height: 10px;

    right: 9px;
    top: 10px;

    border-radius: 50%;
}

.twp-challenge-icon--teams i:nth-child(3) {
    width: 28px;
    height: 13px;

    left: 10px;
    bottom: 9px;

    border-radius: 15px 15px 4px 4px;
}

/* =========================================================
   SCALE ICON
   ========================================================= */

.twp-challenge-icon--scale i:nth-child(1) {
    width: 29px;
    height: 2px;

    left: 9px;
    top: 28px;

    border-width: 2px 0 0;

    transform: rotate(-29deg);

    transform-origin: left center;
}

.twp-challenge-icon--scale i:nth-child(2) {
    width: 8px;
    height: 8px;

    right: 7px;
    top: 8px;

    border-radius: 50%;
}

.twp-challenge-icon--scale i:nth-child(3) {
    width: 8px;
    height: 8px;

    left: 7px;
    bottom: 7px;

    border-radius: 50%;
}

/* =========================================================
   BOTTOM TRANSFORMATION AREA
   ========================================================= */

.twp-challenges__bottom {
    display: grid;

    grid-template-columns:
        minmax(300px,.9fr)
        minmax(0,1.45fr);

    gap: 48px;

    align-items: center;

    margin-top: 48px;

    padding: 31px 38px;

    border: 1px solid #e0e8f4;

    border-radius: 16px;

    background:
        linear-gradient(
            90deg,
            #f1f6ff 0%,
            #f8fbff 100%
        );
}

/* =========================================================
   BOTTOM INTRO
   ========================================================= */

.twp-challenges__bottom-intro {
    display: flex;

    align-items: flex-start;

    gap: 22px;
}

.twp-challenges__bottom-icon {
    position: relative;

    width: 70px;
    height: 70px;

    flex: 0 0 70px;

    border: 1px solid #a9c4f5;

    border-radius: 50%;

    background: #fff;
}

.twp-challenges__bottom-icon i {
    position: absolute;

    width: 15px;
    height: 15px;

    border: 2px solid #1769e0;
}

.twp-challenges__bottom-icon i:nth-child(1) {
    left: 18px;
    top: 18px;
}

.twp-challenges__bottom-icon i:nth-child(2) {
    right: 16px;
    bottom: 16px;

    border-style: dashed;
}

/* =========================================================
   BOTTOM LABEL
   ========================================================= */

.twp-challenges__bottom-label {
    display: block;

    color: #071426;

    font-size: 16px;

    line-height: 1.25;

    font-weight: 800;

    letter-spacing: .01em;
}

.twp-challenges__bottom-label strong {
    display: block;

    color: #1769e0;
}

.twp-challenges__bottom-intro p {
    max-width: 300px;

    margin: 13px 0 0;

    color: #4f6279;

    font-size: 13.5px;

    line-height: 1.6;

    font-weight: 500;
}

/* =========================================================
   FLOW
   ========================================================= */

.twp-challenges__flow {
    display: grid;

    grid-template-columns:
        auto
        minmax(80px,1fr)
        auto;

    align-items: center;

    gap: 18px;
}

.twp-flow-node {
    display: flex;

    align-items: center;

    gap: 14px;

    color: #071426;

    font-size: 12px;

    line-height: 1.35;

    letter-spacing: .025em;
}

.twp-flow-node__icon {
    position: relative;

    width: 70px;
    height: 70px;

    flex: 0 0 70px;

    display: block;

    border: 1px solid #9dbdf3;

    border-radius: 50%;

    background: #fff;
}

.twp-flow-node__icon i {
    position: absolute;

    display: block;

    border: 2px solid #1769e0;
}

/* =========================================================
   DISCONNECT ICON
   ========================================================= */

.twp-flow-node__icon--disconnect i:nth-child(1) {
    width: 17px;
    height: 17px;

    left: 16px;
    top: 18px;
}

.twp-flow-node__icon--disconnect i:nth-child(2) {
    width: 17px;
    height: 17px;

    right: 14px;
    bottom: 15px;

    border-style: dashed;
}

/* =========================================================
   CONNECTED NODE
   ========================================================= */

.twp-flow-node--connected {
    color: #1769e0;
}

.twp-flow-node--connected strong {
    display: block;
}

.twp-flow-node--connected small {
    display: block;

    margin-top: 7px;

    color: #52667e;

    font-size: 12px;

    line-height: 1.55;

    font-weight: 500;

    letter-spacing: 0;
}

/* =========================================================
   BUILDING ICON
   ========================================================= */

.twp-flow-node__icon--building i:nth-child(1) {
    width: 23px;
    height: 30px;

    left: 16px;
    bottom: 14px;
}

.twp-flow-node__icon--building i:nth-child(2) {
    width: 5px;
    height: 6px;

    left: 21px;
    top: 25px;

    border-width: 1px;
}

.twp-flow-node__icon--building i:nth-child(3) {
    width: 5px;
    height: 6px;

    left: 30px;
    top: 25px;

    border-width: 1px;
}

.twp-flow-node__icon--building i:nth-child(4) {
    width: 5px;
    height: 6px;

    left: 21px;
    top: 35px;

    border-width: 1px;
}

/* =========================================================
   FLOW LINE
   ========================================================= */

.twp-flow-line {
    display: grid;

    grid-template-columns:
        1fr
        46px
        1fr;

    align-items: center;
}

.twp-flow-line span {
    height: 1px;

    border-top: 1px dashed #8eb2ee;
}

.twp-flow-line b {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 46px;
    height: 46px;

    margin-inline: auto;

    border-radius: 50%;

    color: #fff;

    background: #1769e0;

    box-shadow:
        0 8px 20px rgba(23,105,224,.2);

    font-size: 21px;

    font-weight: 500;
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width:1080px) {

    .twp-challenges__layout {
        grid-template-columns:
            minmax(290px,.75fr)
            minmax(0,1.25fr);

        gap: 45px;
    }

    .twp-challenges__grid {
        gap: 14px;
    }

    .twp-challenge-card {
        padding: 21px;
    }

    .twp-challenge-card h3 {
        font-size: 17px;
    }

    .twp-challenges__bottom {
        grid-template-columns: 1fr;

        gap: 30px;
    }
}

/* =========================================================
   MOBILE / TABLET
   ========================================================= */

@media (max-width:860px) {

    /*
     * Keep section top and bottom spacing at zero.
     * Do not reintroduce padding here.
     */

    .twp-challenges {
        margin: 0 !important;
        padding: 0 !important;
    }

    .twp-challenges__layout {
        grid-template-columns: 1fr;

        gap: 50px;
    }

    .twp-challenges__intro {
        max-width: 760px;
    }

    .twp-challenges__title {
        max-width: 720px;
    }

    .twp-challenges__lead {
        max-width: 680px;
    }

    .twp-challenges__grid {
        grid-template-columns:
            repeat(2,minmax(0,1fr));
    }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width:620px) {

    .twp-challenges {
        margin: 0 !important;
        padding: 0 !important;
    }

    .twp-challenges__container {
        width: min(calc(100% - 32px),1240px);
    }

    .twp-challenges__title {
        font-size: 40px;
    }

    .twp-challenges__lead {
        font-size: 16px;
    }

    .twp-challenges__grid {
        grid-template-columns: 1fr;
    }

    .twp-challenge-card {
        min-height: 250px;
    }

    .twp-challenges__bottom {
        padding: 25px 21px;
    }

    .twp-challenges__bottom-intro {
        gap: 16px;
    }

    .twp-challenges__bottom-icon,
    .twp-flow-node__icon {
        width: 58px;
        height: 58px;

        flex-basis: 58px;
    }

    .twp-challenges__flow {
        grid-template-columns: 1fr;

        gap: 18px;
    }

    .twp-flow-line {
        grid-template-columns:
            1fr
            42px
            1fr;
    }

    .twp-flow-node {
        align-items: flex-start;
    }
}