.cp-comparison {
    padding: 120px 0 132px;
    background: #141517;
    border-radius: 44px;
    margin: 0 10px;
}

/* ----- Intro ----- */
.cp-comparison__intro {
    margin: 0 auto 50px;
    text-align: center;
}

.cp-comparison__heading {
    font-family: var(--cp-font);
    margin: 0;
    text-transform: none;
    font-weight: 600;
    font-size: 54px;
    line-height: 62px;
    letter-spacing: -2%;
    text-align: center;
}

.cp-comparison__heading-accent {
    display: block;
    color: var(--cp-accent);
}

.cp-comparison__heading-main {
    display: block;
    color: var(--cp-text);
}

.cp-comparison__subheading {
    font-family: var(--cp-font);
    margin: 20px auto 0;
    max-width: 765px;
    color: #B9B9BA;
    font-weight: 600;
    font-size: 20px;
    line-height: 28px;
    letter-spacing: 3%;
    text-align: center;
}

/* ----- Table (column blocks) ----- */
.cp-comparison__table {
    --cmp-row-h: 160px;   /* body row height (fixed so rows line up across columns) */

    display: grid;
    grid-template-columns: repeat(5, 1fr);
    column-gap: 0;
    align-items: stretch;
}

/* Each column is a single vertical block */
.cp-comparison__col {
    display: flex;
    flex-direction: column;
}

/* Branded column — gradient backing as a separate layer behind the content */
.cp-comparison__col.is-highlight {
    position: relative;
}

.cp-comparison__col.is-highlight::before {
    content: "";
    position: absolute;
    inset: -46px 0 0 0;
    background: linear-gradient(180deg, #EC670E 0%, #CF2201 83.99%, #0B0D0F 100%);
    border-radius: 44px 44px 0 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.25;
}

/* Keep the column content above the backing layer */
.cp-comparison__col.is-highlight .cp-comparison__colhead,
.cp-comparison__col.is-highlight .cp-comparison__cell {
    position: relative;
    z-index: 1;
}

/* Column header */
.cp-comparison__colhead {
    display: flex;
    align-items: center;

    color: #FFFFFF;
    font-weight: 400;
    font-size: 14px;
    line-height: 18px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    min-height: 51px;
}

/* Cells */
.cp-comparison__cell {
    height: var(--cmp-row-h);
    padding: 10px 0;
    box-sizing: border-box;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: #FFFFFF;
    border-top: 1px solid rgba(255, 255, 255, 0.4);
}

/* Row labels */
.cp-comparison__cell--label {
    color: #FFFFFF;
    font-weight: 400;
    font-size: 14px;
    line-height: 18px;
    letter-spacing: 10%;
    vertical-align: middle;
    text-transform: uppercase;
}

/* Bright divider under the first row (other rows keep the faint 1px line) */
.cp-comparison__col .cp-comparison__cell:nth-child(2) {
    border-top: 2px solid #FFF;
}

/* Inside the branded column: no dividers, extra padding so text clears the rounded edge */
.cp-comparison__col.is-highlight .cp-comparison__colhead,
.cp-comparison__col.is-highlight .cp-comparison__cell {
    padding-left: 24px;
    padding-right: 24px;
}

/* ----- "When X wins" cards ----- */
.cp-comparison__wins {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 31px;
    margin-top: 50px;
}

.cp-comparison__win {
    border: 1px solid #FEA03B;
    border-radius: 22px;
    padding: 30px 40px;
    background: #141517;
}

.cp-comparison__win-title {
    margin: 0 0 20px;
    font-family: var(--cp-font);
    color: var(--cp-text);
    font-weight: 600;
    font-size: 24px;
    line-height: 28px;
    letter-spacing: 1%;
    text-transform: none;
}

.cp-comparison__win-text {
    margin: 0;
    font-size: 17px;
    font-weight: 300;
    line-height: 25px;
    color: #B9B9BA;
}

/* ----- Tablet / mobile ----- */
@media (max-width: 1024px) {
    .cp-comparison {
        padding: 40px 0;
        margin: 40px 0;
        border-radius: 22px;
    }

    .cp-comparison__heading {
        font-size: 34px;
        line-height: 42px;
    }

    .cp-comparison__subheading {
        font-size: 18px;
        line-height: 26px;
    }

    /* Table becomes horizontally scrollable so columns keep their shape */
    .cp-comparison__table-scroll {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .cp-comparison__table {
        min-width: 760px;
    }

    .cp-comparison__wins {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 48px;
    }
}
