﻿/* COMPARISON TABLE */
.compare-wrap {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    -webkit-overflow-scrolling: touch;
}

.compare-table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
    font-size: .875rem;
}

    .compare-table thead th {
        font-family: 'Montserrat', sans-serif;
        font-weight: 600;
        color: var(--navy);
        font-size: .8125rem;
        text-align: center;
        padding: 1rem .625rem;
        background: var(--bg-mute);
        border-bottom: 2px solid var(--navy);
        white-space: nowrap;
    }

        .compare-table thead th:first-child {
            text-align: left;
            padding-left: 1.25rem;
        }

    .compare-table thead .opp {
        color: var(--green);
        background: rgba(46,204,113,.1);
        border-bottom-color: var(--green);
    }

    .compare-table tbody td {
        padding: .75rem .625rem;
        border-bottom: 1px solid var(--line);
        text-align: center;
        color: var(--text-2);
        vertical-align: middle;
    }

        .compare-table tbody td:first-child {
            text-align: left;
            color: var(--text);
            font-weight: 500;
            padding-left: 1.25rem;
            max-width: 24rem;
            min-width: 220px;
        }

    .compare-table tbody tr:nth-child(even) {
        background: var(--bg-mute);
    }

    .compare-table tbody td.opp-col {
        background: rgba(46,204,113,.07);
    }

.check {
    color: var(--green);
    font-weight: 700;
    font-size: 1.0625rem;
}

.dash {
    color: var(--text-3);
}

.check-price,
.check-anchor {
    display: block;
    font-size: .6875rem;
    line-height: 1.3;
    margin-top: .125rem;
}

.check-price {
    color: var(--text-3);
    font-weight: 500;
}

.check-anchor {
    color: var(--text-2);
    font-weight: 500;
}

.stack-cell {
    display: inline-block;
    font-weight: 600;
    color: var(--text);
    font-size: .8125rem;
    line-height: 1.3;
}

.stack-cell--opp {
    color: var(--green);
    font-weight: 700;
}

.compare-foot {
    font-size: clamp(.8rem, 2vw, .875rem);
    color: var(--text-2);
    margin-top: 1.25rem;
    max-width: 40rem;
    line-height: 1.6;
}
.compare-foot {
    font-size: clamp(.82rem, 2.5vw, .875rem);
    color: var(--text-2);
    margin-top: 1.25rem;
    max-width: 40rem;
    line-height: 1.65;
}

@media (max-width: 768px) {
    .compare-foot {
        max-width: 100%;
        margin-top: 1rem;
        line-height: 1.6;
        padding: 0 .5rem;
    }
}

@media (max-width: 480px) {
    .compare-foot {
        font-size: .8125rem;
        line-height: 1.55;
        padding: 0 .5rem;
    }
}
/* RESPONSIVE */
@media (max-width: 768px) {
    .compare-wrap {
        border-radius: 16px;
    }

    .compare-table {
        min-width: 720px;
        font-size: .8125rem;
    }

        .compare-table thead th {
            padding: .875rem .5rem;
            font-size: .75rem;
        }

        .compare-table tbody td {
            padding: .7rem .5rem;
        }

            .compare-table tbody td:first-child {
                min-width: 200px;
                padding-left: 1rem;
            }

    .section-lede {
        margin-bottom: 1.75rem;
    }
}

@media (max-width: 480px) {
    .compare-table {
        min-width: 680px;
    }

        .compare-table tbody td:first-child {
            min-width: 190px;
        }

    .compare-foot {
        margin-top: 1rem;
    }
}
/* Tablet */
@media (max-width: 768px) {
    .eyebrow {
        font-size: .6875rem;
        letter-spacing: .12em;
        margin-bottom: .75rem;
    }

        .eyebrow::before {
            width: 18px;
        }

    .section h2.section-h {
        max-width: 100%;
        margin-bottom: .75rem;
    }

    .section-lede {
        max-width: 100%;
        margin-bottom: 1.75rem;
        line-height: 1.65;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .eyebrow {
        font-size: .625rem;
        letter-spacing: .1em;
        gap: .5rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }

        .eyebrow::before {
            width: 14px;
        }

    .section h2.section-h {
        font-size: clamp(1.5rem, 8vw, 1.875rem);
        line-height: 1.2;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .section-lede {
        font-size: .9rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }
}