/**
 * Module: lpage_comparison_table
 * Auto-extracted from style.css
 */

/* ============================================
   COMPARISON TABLE
   ============================================ */

.t1-cmp {
    padding: 5rem max(1.5rem, calc(50vw - var(--max-width) / 2 + 1.5rem));
    background: var(--cmp-bg, var(--cream));
}

.t1-cmp > hgroup {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.t1-cmp > hgroup small {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--jade);
    margin-bottom: 0.5rem;
}

.t1-cmp > hgroup h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--ink);
    margin-bottom: 1rem;
}

.t1-cmp > hgroup p {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--charcoal);
}

/* Table */
.t1-cmp table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* Header */
.t1-cmp thead th {
    padding: 1.25rem 1rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--ink);
    background: var(--pearl);
    text-align: center;
    border-bottom: 2px solid rgba(0,0,0,0.06);
}

.t1-cmp thead th:first-child {
    text-align: left;
    background: transparent;
}

/* Body rows */
.t1-cmp tbody tr {
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.t1-cmp tbody tr:last-child {
    border-bottom: none;
}

.t1-cmp tbody tr:hover {
    background: rgba(0,135,108,0.03);
}

.t1-cmp tbody th {
    padding: 1rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--ink);
    text-align: left;
    background: transparent;
}

.t1-cmp tbody td {
    padding: 1rem;
    font-size: 0.9375rem;
    color: var(--charcoal);
    text-align: center;
}

/* Footer (pricing) */
.t1-cmp tfoot th,
.t1-cmp tfoot td {
    padding: 1.5rem 1rem;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--ink);
    background: var(--pearl);
    border-top: 2px solid rgba(0,0,0,0.06);
}

.t1-cmp tfoot th {
    text-align: left;
}

.t1-cmp tfoot td {
    text-align: center;
}

/* Highlight column */
.t1-cmp .t1-cmp__highlight {
    background: var(--jade-light);
}

.t1-cmp thead .t1-cmp__highlight {
    background: var(--jade);
    color: white;
}

.t1-cmp tfoot .t1-cmp__highlight {
    background: var(--jade);
    color: white;
}

/* Status symbols */
.t1-cmp__yes {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    font-size: 1rem;
    font-weight: 700;
    color: white;
    background: var(--jade);
    border-radius: 50%;
}

.t1-cmp__no {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    font-size: 1rem;
    font-weight: 700;
    color: white;
    background: #dc3545;
    border-radius: 50%;
}

.t1-cmp__partial {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    font-size: 0.625rem;
    font-weight: 700;
    color: white;
    background: var(--gold);
    border-radius: 50%;
}

/* CTA */
.t1-cmp > a.btn {
    display: block;
    width: fit-content;
    margin: 2.5rem auto 0;
}

/* Mobile: horizontal scroll */
@media (max-width: 768px) {
    .t1-cmp table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .t1-cmp thead th,
    .t1-cmp tbody th,
    .t1-cmp tbody td,
    .t1-cmp tfoot th,
    .t1-cmp tfoot td {
        white-space: nowrap;
        min-width: 120px;
    }
    
    .t1-cmp tbody th,
    .t1-cmp tfoot th {
        position: sticky;
        left: 0;
        background: white;
        z-index: 1;
    }
    
    .t1-cmp tfoot th {
        background: var(--pearl);
    }
}
