/**
 * Compare index — TravelAI shell + competitor matrix
 */

body.compare-index-page .compare-index-main {
    display: block;
    padding-top: 90px;
    padding-bottom: 0;
}

body.compare-index-page .footer-technical-authority {
    display: none;
}

body.compare-index-page .tai-hero-title {
    max-width: min(100%, 16rem);
}

body.compare-index-page .tai-hero-lead {
    max-width: 40rem;
}

body.compare-index-page .compare-matrix-wrap {
    overflow-x: auto;
    margin-top: 2rem;
    border: 1px solid #e8e8e8;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 0 24px rgba(149, 157, 165, 0.12);
    -webkit-overflow-scrolling: touch;
}

body.compare-index-page .compare-matrix {
    width: 100%;
    min-width: 1080px;
    border-collapse: collapse;
    background: #fff;
    color: #1a1a1a;
}

body.compare-index-page .compare-matrix th,
body.compare-index-page .compare-matrix td {
    border: 1px solid #e8e8e8;
    padding: 0.95rem 0.85rem;
    text-align: left;
    vertical-align: middle;
}

body.compare-index-page .compare-matrix thead th {
    font-family: "Inter", sans-serif;
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.25;
    color: #000;
    background: #fafafa;
}

body.compare-index-page .compare-matrix thead th:first-child {
    width: 11rem;
}

body.compare-index-page .compare-matrix tbody th {
    font-family: "Inter", sans-serif;
    font-size: 0.8125rem;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #000;
    background: #fff;
}

body.compare-index-page .matrix-row-featured th,
body.compare-index-page .matrix-row-featured td {
    background: rgba(61, 255, 226, 0.08);
}

body.compare-index-page .matrix-row-featured th {
    color: #000;
    font-size: 0.875rem;
}

body.compare-index-page .matrix-icon,
body.compare-index-page .matrix-cost {
    display: inline-flex;
    align-items: center;
    font-family: "Inter", sans-serif;
    font-weight: 700;
    font-size: 0.9375rem;
}

body.compare-index-page .matrix-check {
    color: #24a148;
}

body.compare-index-page .matrix-cross {
    color: #d63c30;
}

body.compare-index-page .matrix-partial {
    color: #c99200;
}

body.compare-index-page .matrix-detail {
    margin-left: 0.45rem;
    color: #444;
    font-family: "Inter", sans-serif;
    font-weight: 500;
    font-size: 0.8125rem;
    line-height: 1.2;
    text-transform: none;
    letter-spacing: 0;
}

body.compare-index-page .matrix-cost {
    color: #000;
    font-weight: 600;
}

body.compare-index-page .tai-compare-takeaway .tai-dark-inner {
    max-width: 1024px;
}

body.compare-index-page .tai-compare-takeaway .tai-dark-header {
    max-width: 40rem;
}

@media (max-width: 767px) {
    body.compare-index-page .compare-index-main {
        padding-top: 78px;
    }

    body.compare-index-page .tai-hero-title {
        max-width: none;
    }

    body.compare-index-page .compare-matrix-wrap {
        margin-top: 1.5rem;
    }
}
