:root {
    --twp-why-blue: #1769e0;
    --twp-why-blue-dark: #0a1d39;
    --twp-why-cyan: #13b8d2;
    --twp-why-border: #dce5f0;
    --twp-why-muted: #64748b;
}

.twp-why {
    position: relative;
    overflow: hidden;
    padding: 112px 0 96px;
    background:
        radial-gradient(circle at 78% 30%, rgba(45,127,249,.10), transparent 28%),
        linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.twp-why__container {
    width: min(calc(100% - 48px), 1240px);
    margin-inline: auto;
}

.twp-why__top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(500px, .95fr);
    align-items: center;
    gap: 60px;
    min-height: 510px;
}

.twp-why__eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
    color: var(--twp-why-blue);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .13em;
}

.twp-why__eyebrow-line {
    width: 25px;
    height: 2px;
    background: var(--twp-why-blue);
}

.twp-why__title {
    max-width: 670px;
    margin: 0;
    color: var(--twp-why-blue-dark);
    font-size: clamp(42px, 5vw, 70px);
    line-height: 1.04;
    letter-spacing: -.055em;
}

.twp-why__title strong {
    display: block;
    color: var(--twp-why-blue);
    font-weight: 800;
}

.twp-why__accent {
    width: 76px;
    height: 4px;
    margin: 30px 0 26px;
    border-radius: 20px;
    background: linear-gradient(90deg, var(--twp-why-blue), var(--twp-why-cyan));
}

.twp-why__description {
    max-width: 600px;
    margin: 0;
    color: #506078;
    font-size: 18px;
    line-height: 1.75;
}

/* Futuristic TWP visual */
.twp-why__visual {
    position: relative;
    width: min(100%, 600px);
    height: 500px;
    margin-inline: auto;
}

.twp-why-core {
    position: absolute;
    z-index: 5;
    left: 50%;
    top: 50%;
    width: 174px;
    height: 174px;
    transform: translate(-50%, -50%);
    display: grid;
    place-content: center;
    text-align: center;
    border-radius: 50%;
    color: #fff;
    background:
        radial-gradient(circle at 38% 28%, #287ef0 0%, #1254b4 42%, #071b3a 100%);
    box-shadow:
        0 0 0 15px rgba(23,105,224,.08),
        0 20px 60px rgba(23,105,224,.24);
}

.twp-why-core span {
    display: block;
    font-size: 31px;
    font-weight: 850;
    letter-spacing: .02em;
}

.twp-why-core small {
    display: block;
    margin-top: 8px;
    color: #64d8ee;
    font-size: 9px;
    font-weight: 800;
    line-height: 1.45;
    letter-spacing: .08em;
}

.twp-why-orbit {
    position: absolute;
    left: 50%;
    top: 50%;
    border: 1px solid rgba(23,105,224,.17);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.twp-why-orbit--inner { width: 250px; height: 250px; }
.twp-why-orbit--middle { width: 370px; height: 370px; }
.twp-why-orbit--outer { width: 500px; height: 500px; }

.twp-why-node {
    position: absolute;
    z-index: 6;
    width: 170px;
    min-height: 112px;
    padding: 15px 16px;
    border: 1px solid rgba(189,209,237,.85);
    border-radius: 15px;
    background: rgba(255,255,255,.94);
    box-shadow: 0 18px 40px rgba(15,53,101,.11);
    backdrop-filter: blur(10px);
}

.twp-why-node::after {
    content: "";
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--twp-why-blue);
    box-shadow: 0 0 0 5px rgba(23,105,224,.08);
}

.twp-why-node__icon {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    margin-bottom: 7px;
    border-radius: 9px;
    color: var(--twp-why-blue);
    background: #edf4ff;
    font-size: 17px;
}

.twp-why-node strong {
    display: block;
    color: var(--twp-why-blue-dark);
    font-size: 11px;
    letter-spacing: .05em;
}

.twp-why-node small {
    display: block;
    margin-top: 5px;
    color: #66758a;
    font-size: 9px;
    line-height: 1.35;
}

.twp-why-node--people { left: 4%; top: 3%; }
.twp-why-node--people::after { right: -5px; bottom: 15px; }

.twp-why-node--process { right: 0; top: 3%; }
.twp-why-node--process::after { left: -5px; bottom: 15px; }

.twp-why-node--platform { left: -2%; top: 36%; }
.twp-why-node--platform::after { right: -5px; top: 50%; }

.twp-why-node--partnership { right: -2%; top: 36%; }
.twp-why-node--partnership::after { left: -5px; top: 50%; }

.twp-why-node--performance { left: 7%; bottom: 3%; }
.twp-why-node--performance::after { right: -5px; top: 15px; }

.twp-why-node--possibilities { right: 5%; bottom: 3%; }
.twp-why-node--possibilities::after { left: -5px; top: 15px; }

/* Dark principle band */
.twp-why__principles {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    margin-top: 70px;
    overflow: hidden;
    border-radius: 22px;
    background: var(--twp-why-blue-dark);
    box-shadow: 0 25px 70px rgba(7,20,38,.16);
}

.twp-why-principle {
    position: relative;
    min-height: 330px;
    padding: 30px 24px 28px;
    border-right: 1px solid rgba(255,255,255,.13);
}

.twp-why-principle:last-child { border-right: 0; }

.twp-why-principle__number {
    display: block;
    color: #25c3e0;
    font-size: 27px;
    font-weight: 300;
    letter-spacing: .03em;
}

.twp-why-principle:nth-child(2) .twp-why-principle__number { color: #5b8ff9; }
.twp-why-principle:nth-child(3) .twp-why-principle__number { color: #a37cf4; }
.twp-why-principle:nth-child(4) .twp-why-principle__number { color: #2bd1e8; }
.twp-why-principle:nth-child(5) .twp-why-principle__number { color: #f2ad3b; }
.twp-why-principle:nth-child(6) .twp-why-principle__number { color: #6996ff; }

.twp-why-principle__icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin: 17px 0 20px;
    border: 1px solid rgba(78,153,255,.55);
    border-radius: 50%;
    color: #fff;
    font-size: 20px;
}

.twp-why-principle h3 {
    margin: 0 0 13px;
    color: #fff;
    font-size: 16px;
    line-height: 1.25;
}

.twp-why-principle p {
    margin: 0;
    color: #aabbd0;
    font-size: 13px;
    line-height: 1.65;
}

/* Bottom CTA */
.twp-why__cta {
    display: grid;
    grid-template-columns: 78px minmax(0, 1fr) auto 125px;
    align-items: center;
    gap: 26px;
    margin-top: 26px;
    padding: 26px 34px;
    border: 1px solid #d9e7f8;
    border-radius: 18px;
    background: rgba(255,255,255,.95);
    box-shadow: 0 15px 45px rgba(23,105,224,.07);
}

.twp-why__cta-mark {
    display: grid;
    place-items: center;
    width: 66px;
    height: 66px;
    border-radius: 50%;
    color: #fff;
    background: var(--twp-why-blue-dark);
    box-shadow: inset 0 0 0 7px rgba(23,105,224,.16);
    font-size: 24px;
}

.twp-why__cta-copy h3 {
    margin: 0 0 6px;
    color: var(--twp-why-blue-dark);
    font-size: 22px;
}

.twp-why__cta-copy h3 strong { color: var(--twp-why-blue); }

.twp-why__cta-copy p {
    margin: 0;
    color: #66758a;
    font-size: 14px;
}

.twp-why__cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    min-height: 52px;
    padding: 0 25px;
    border-radius: 6px;
    color: #fff;
    background: var(--twp-why-blue);
    font-size: 14px;
    font-weight: 800;
    box-shadow: 0 12px 25px rgba(23,105,224,.20);
    transition: transform .2s ease, background .2s ease;
}

.twp-why__cta-button:hover {
    color: #fff;
    background: #0d4fae;
    transform: translateY(-2px);
}

.twp-why__cta-note {
    padding-left: 20px;
    border-left: 1px solid #dbe5f0;
    color: #64748b;
    font-size: 12px;
    line-height: 1.55;
}

@media (max-width: 1100px) {
    .twp-why__top {
        grid-template-columns: 1fr;
    }

    .twp-why__copy {
        text-align: center;
    }

    .twp-why__eyebrow,
    .twp-why__accent {
        justify-content: center;
        margin-inline: auto;
    }

    .twp-why__description {
        margin-inline: auto;
    }

    .twp-why__principles {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .twp-why-principle:nth-child(3) {
        border-right: 0;
    }

    .twp-why-principle:nth-child(-n+3) {
        border-bottom: 1px solid rgba(255,255,255,.13);
    }

    .twp-why__cta {
        grid-template-columns: 70px 1fr;
    }

    .twp-why__cta-button {
        grid-column: 2;
        justify-self: start;
    }

    .twp-why__cta-note {
        display: none;
    }
}

@media (max-width: 700px) {
    .twp-why {
        padding: 78px 0 70px;
    }

    .twp-why__container {
        width: min(calc(100% - 32px), 1240px);
    }

    .twp-why__title {
        font-size: clamp(38px, 12vw, 54px);
    }

    .twp-why__visual {
        height: 470px;
        transform: scale(.84);
        transform-origin: top center;
        margin-bottom: -70px;
    }

    .twp-why-node {
        width: 145px;
    }

    .twp-why-orbit--outer { width: 450px; height: 450px; }
    .twp-why-orbit--middle { width: 335px; height: 335px; }
    .twp-why-orbit--inner { width: 230px; height: 230px; }

    .twp-why__principles {
        grid-template-columns: 1fr;
        border-radius: 16px;
    }

    .twp-why-principle {
        min-height: auto;
        border-right: 0;
        border-bottom: 1px solid rgba(255,255,255,.13);
    }

    .twp-why-principle:last-child {
        border-bottom: 0;
    }

    .twp-why__cta {
        grid-template-columns: 1fr;
        padding: 25px;
    }

    .twp-why__cta-button {
        grid-column: auto;
        width: 100%;
    }
}
