/* The comparison page (site/compare.html): one reading column, a table, lists and questions. */
.compare {
    max-width: 880px;
    padding-block: 56px 80px
}

.compare h1 {
    margin: 0 0 20px;
    font: 700 40px/1.2 var(--font-display);
    letter-spacing: -1px
}

.compare h2 {
    margin: 56px 0 16px;
    font: 700 24px/1.3 var(--font-display)
}

.compare h3 {
    margin: 0 0 6px;
    font-size: 17px
}

.compare .compare-lead {
    margin: 0;
    color: var(--ink);
    font-size: 18px
}

.compare .compare-checked {
    margin: 12px 0 0;
    color: var(--ink-mute);
    font-size: 14px
}

.compare-table {
    overflow-x: auto;
    border: 1px solid var(--edge);
    border-radius: 12px;
    background: white
}

.compare table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
    white-space: nowrap
}

.compare th,
.compare td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--edge)
}

.compare th {
    color: var(--ink-soft);
    font-size: 13px;
    font-weight: 600
}

/* Long row names wrap, but never down to a few letters a line: narrow screens scroll the table. */
.compare td:first-child {
    min-width: 170px;
    white-space: normal
}

.compare tr:last-child td {
    border-bottom: 0
}

/* The PecoFence column stands out. */
.compare th:nth-child(2),
.compare td:nth-child(2) {
    background: #eef2fd;
    font-weight: 600
}

.compare > p {
    color: var(--ink-soft)
}

.compare-question p {
    margin: 0;
    color: var(--ink-soft)
}

.compare-question {
    padding-block: 16px;
    border-bottom: 1px solid var(--edge)
}

.compare li {
    margin-bottom: 6px;
    color: var(--ink-soft)
}

.compare-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 40px
}

@media (max-width: 840px) {
    .compare h1 {
        font-size: 30px
    }
}
