.compare-page .sales-hero {
    grid-template-columns: 1fr;
    padding: 56px 7% 28px;
}

.compare-page .sales-hero h1 {
    font-size: 40px;
    max-width: 16em;
    line-height: 1.15;
}

.compare-lead {
    max-width: 46em;
}

.compare-lead p {
    margin: 0 0 12px;
    font-size: 18px;
    line-height: 1.6;
    color: var(--sales-muted);
}

.compare-lead p:last-child {
    margin-bottom: 0;
}

.complement-note {
    margin: 0 0 16px;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid rgba(44, 134, 211, 0.28);
    background: #EEF6FC;
    color: var(--sales-navy);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
}

.compare-intro,
.compare-tools,
.compare-results,
.compare-pricing,
.compare-review,
#requirements {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto 28px;
}

.rating-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin: 18px 0 0;
    color: var(--sales-muted);
    font-size: 14px;
}

.compare-tools,
.compare-results,
.compare-pricing,
.compare-review,
.comparison-category {
    background: #fff;
    border: 1px solid var(--sales-border);
    border-radius: 18px;
    box-shadow: var(--sales-shadow);
    padding: 22px 24px;
}

.compare-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 16px;
    align-items: end;
}

.compare-tools label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: var(--sales-navy);
}

.compare-tools input[type="search"],
.compare-tools input[type="number"] {
    min-height: 44px;
    border: 1px solid var(--sales-border);
    border-radius: 12px;
    padding: 0 12px;
    font: inherit;
}

.tool-checks {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    align-items: center;
}

.tool-checks label {
    flex-direction: row;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    font-weight: 650;
}

#requirements {
    width: min(1180px, calc(100% - 48px));
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
}

.comparison-category {
    margin-bottom: 16px;
}

.comparison-category h2 {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    margin: 0 0 8px;
    font-size: 22px;
}

.category-toggle,
.compare-tools button {
    min-height: 44px;
    border-radius: 12px;
    border: 1px solid var(--sales-border);
    background: #fff;
    color: var(--sales-navy);
    font-weight: 700;
    padding: 0 14px;
    cursor: pointer;
}

.category-meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    margin-bottom: 10px;
    color: var(--sales-muted);
}

.category-count {
    font-weight: 700;
    color: var(--sales-navy);
}

.comparison-category.is-collapsed .comparison-table-scroll,
.comparison-category.is-collapsed .category-meta {
    display: none;
}

.comparison-table-scroll,
.price-scroll {
    overflow-x: auto;
    max-width: 100%;
}

.feature-table,
.price-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 920px;
}

.feature-table th,
.feature-table td,
.price-table th,
.price-table td {
    border-bottom: 1px solid var(--sales-border);
    padding: 10px 8px;
    text-align: center;
    vertical-align: middle;
    font-size: 14px;
}

.feature-table th[scope="row"] {
    position: sticky;
    left: 0;
    z-index: 1;
    text-align: left;
    background: #fff;
    min-width: 240px;
    max-width: 320px;
}

.feature-table thead th {
    position: sticky;
    top: 0;
    background: #F4F9FD;
    z-index: 2;
}

.feature-table thead th:first-child {
    left: 0;
    z-index: 3;
    text-align: left;
}

.feature-table.hide-col-2 th:nth-child(2),
.feature-table.hide-col-2 td:nth-child(2),
.feature-table.hide-col-3 th:nth-child(3),
.feature-table.hide-col-3 td:nth-child(3),
.feature-table.hide-col-4 th:nth-child(4),
.feature-table.hide-col-4 td:nth-child(4),
.feature-table.hide-col-5 th:nth-child(5),
.feature-table.hide-col-5 td:nth-child(5),
.feature-table.hide-col-6 th:nth-child(6),
.feature-table.hide-col-6 td:nth-child(6),
.feature-table.hide-col-7 th:nth-child(7),
.feature-table.hide-col-7 td:nth-child(7) {
    display: none;
}

.feature-table td[data-rating="full"] { color: #0E7A32; font-weight: 800; }
.feature-table td[data-rating="partial"] { color: #8A5A00; font-weight: 800; }
.feature-table td[data-rating="none"] { color: #8B95A7; }
.feature-table td[data-rating="unknown"] { color: #126FC2; font-weight: 800; }

.feature-table label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
}

.critical-label {
    color: var(--sales-muted);
    font-size: 13px;
}

.score-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.score-card {
    border: 1px solid var(--sales-border);
    border-radius: 16px;
    padding: 16px;
    background: #F8FBFE;
}

.score-card h3 {
    margin: 0 0 8px;
    font-size: 18px;
}

.score-value {
    font-size: 32px;
    font-weight: 800;
    color: var(--sales-navy);
}

.score-label {
    margin: 0;
    color: var(--sales-muted);
}

.score-bar {
    height: 8px;
    border-radius: 99px;
    background: #E7EEF5;
    margin: 8px 0 12px;
    overflow: hidden;
}

.score-bar span {
    display: block;
    height: 100%;
    background: var(--sales-blue);
    width: 0;
}

.score-card ul {
    margin: 8px 0 0;
    padding-left: 18px;
    color: var(--sales-muted);
}

.score-card .critical-warning {
    color: #8A2E00;
    font-weight: 700;
}

.card-price {
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid var(--sales-border);
}

.card-price-label {
    margin: 0 0 4px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--sales-muted);
}

.card-price-lines p {
    margin: 0 0 6px;
}

.card-price-plan {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--sales-navy);
}

.card-price-lines strong {
    display: block;
    font-size: 16px;
    color: var(--sales-navy);
}

.card-price-meta {
    display: block;
    font-size: 12px;
    line-height: 1.35;
    color: var(--sales-muted);
}

.price-table {
    min-width: 860px;
}

.price-table td:first-child,
.price-table th:first-child {
    text-align: left;
}

.price-note,
.review-list {
    color: var(--sales-muted);
}

.review-list {
    padding-left: 18px;
}

@media (max-width: 1100px) {
    .score-grid { grid-template-columns: 1fr 1fr; }
    .compare-page .sales-hero h1 { font-size: 34px; }
}

@media (max-width: 700px) {
    .compare-intro,
    .compare-tools,
    .compare-results,
    .compare-pricing,
    .compare-review,
    #requirements {
        width: min(1180px, calc(100% - 24px));
    }

    .score-grid { grid-template-columns: 1fr; }
    .compare-page .sales-hero { padding: 32px 16px 12px; }
    .compare-page .sales-hero h1 { font-size: 28px; }
    .compare-lead p { font-size: 16px; }
    .compare-tools { align-items: stretch; }
    .compare-tools button,
    .compare-tools input[type="search"] { width: 100%; }
}
