:root {
    --bg: #f6f7f8;
    --card: #ffffff;
    --text: #171717;
    --muted: #667085;
    --line: #e5e7eb;
    --line-strong: #d9dde3;
    --green: #16896b;
    --green-dark: #0f6d55;
    --green-soft: #eaf6f1;
    --green-softer: #f4fbf7;
    --yellow-soft: #fff7e8;
    --blue-soft: #edf3fb;
    --container: 1320px;
    --shadow-soft: 0 0 1px rgba(0,0,0,.10);
    --radius-card: 6px;
    --radius-pill: 999px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.5;
}
html, body {
  background: #ffffff !important;
  color: #111111 !important;
  color-scheme: light;
}

body.ev-page,
.ev-page,
.site,
.site-main,
main,
.page-shell,
.evch-page-wrap {
  background: #ffffff !important;
  color: #111111 !important;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }

.compare-page { 
    /*padding: 18px 0 24px; */
}
.compare-container {
    width: min(var(--container), calc(100% - 32px));
    margin: 0 auto;
}

.compare-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    color: #5b6470;
    font-size: 0.88rem;
    margin-bottom: 12px;
}

.compare-page-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 14px;
}

.eyebrow {
    margin: 0 0 4px;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: var(--green);
}

.compare-page-head h1,
.section-heading-row h2,
.compare-verdict-headline h2,
.compare-fit-card h2,
.compare-empty-state h1 {
    margin: 0;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.025em;
    color: #1f2937;
}

.compare-page-intro {
    margin: 6px 0 0;
    font-size: 15px;
    line-height: 1.55;
    color: #536070;
    max-width: 780px;
}

.compare-change-link,
.secondary-link,
.ghost-btn,
.ghost-btn-small,
.primary-btn,
.vote-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    border-radius: var(--radius-card);
    padding: 0 12px;
    font-weight: 800;
    font-size: 0.88rem;
    box-shadow: none;
}

.compare-change-link,
.ghost-btn,
.ghost-btn-small {
    border: 1px solid var(--line-strong);
    background: #fff;
    color: #111827;
}

.primary-btn {
    border: 1px solid var(--green);
    background: var(--green);
    color: #fff;
}

.secondary-link {
    color: var(--green-dark);
    background: transparent;
    padding: 0;
    min-height: 0;
    font-size: 0.9rem;
}

.section-heading-row {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: end;
    margin-bottom: 10px;
}
.section-heading-row.compact h2 { font-size: 1.35rem; }

.compare-hero,
.compare-vote-strip,
.compare-quick-verdict,
.compare-category-winners,
.compare-priority-selector,
.compare-key-differences,
.compare-score-breakdown,
.compare-finance-section,
.compare-full-spec,
.compare-fit-section,
.compare-similar-alternatives,
.compare-faq-section,
.compare-empty-state {
    margin-bottom: 12px;
}

.compare-hero-card,
.compare-vote-strip,
.compare-verdict-card,
.compare-verdict-headline,
.compare-category-card,
.compare-key-differences,
.compare-score-breakdown,
.finance-card,
.compare-spec-section,
.compare-fit-card,
.compare-similar-alternatives,
.compare-faq-section,
.compare-priority-selector,
.compare-empty-state,
.compare-full-spec {
    background: var(--card);
    border: 1px solid #d9dde3;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-soft);
}

/* HERO */
.compare-hero.compare-hero--two-cards {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    align-items: stretch;
}
.compare-hero.compare-hero--two-cards > .compare-hero-card { min-width: 0; }

.compare-hero-card {
    padding: 10px;
    position: relative;
}
.compare-card-topline {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    align-items: flex-start;
    margin-bottom: 4px;
}
.compare-card-badges,
.compare-card-meta {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.compare-badge,
.pill,
.headline-pill,
.priority-chip {
    display: inline-flex;
    align-items: center;
    border-radius: var(--radius-pill);
    font-weight: 800;
    line-height: 1;
}
.compare-badge {
    min-height: 24px;
    padding: 0 5px 0px 5px;
    font-size: 0.72rem;
}
.compare-badge {
    min-height: 24px;
    display: inline-flex;
    align-self: flex-start;
    align-items: center;
    padding: 6px 10px;
    font-size: 0.82rem;
    line-height: 1;
    font-weight: 700;
    white-space: nowrap;
}
.compare-badge-green { background: var(--green-soft); color: var(--green-dark); }
.compare-badge-gold { background: var(--yellow-soft); color: #9a661f; }
.compare-badge-blue { background: var(--blue-soft); color: #294c80; }

.pill {
    min-height: 22px;
    display: inline-flex;
    align-items: center;
    background: #f3f4f6;
    color: #374151;
    font-size: 0.84rem;
    padding: 4px 8px;
    border-radius: 999px;
    line-height: 1;
    font-weight: 700;
    margin-bottom: 8px;
}
.pill-soft { background: #eef8f4; color: var(--green-dark); }

.compare-score-circle {
    width: 46px;
    height: 46px;
    border: 2.5px solid var(--green);
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--green);
    font-size: 1.08rem;
    font-weight: 800;
    background: #fff;
    flex: 0 0 46px;
}

.compare-hero-image {
    width: 100%;
    aspect-ratio: 16 / 7.8;
    object-fit: contain;
    max-height: 145px;
    margin-bottom: 2px;
        transform: scale(1.4);
}

.compare-car-title {
    margin: 2px 0 6px;
    font-size: 1.3rem;
    line-height: 1.22;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #111827;
}
.compare-car-price {
    font-size: 1.2rem;
    font-weight: 800;
    color: #111827;
    line-height: 1.2;
    margin-bottom: 10px;
}
.compare-car-installment {
    font-size: 0.8rem;
    font-weight: 600;
    color: #5b6470;
    margin-bottom: 8px;
}
.compare-quick-metrics {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
}
.quick-metric-card {
    background: #f7fbf8;
    border: 1px solid #dfe5e1;
    border-radius: var(--radius-card);
    padding: 8px 10px;
    box-shadow: none;
}
.quick-metric-card strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 800;
    color: #193237;
    line-height: 1.2;
}
.quick-metric-card span {
    display: block;
    margin-top: 2px;
    font-size: .76rem;
    color: #5e6b76;
    line-height: 1.3;
}
.compare-hero-actions { margin-top: 8px; }
.compare-hero-summary { display: none !important; }

.compare-hero-floating-vs {
    position: absolute;
    left: 50%;
    top: 112px;
    transform: translateX(-50%);
    width: 34px;
    height: 34px;
    border: 1px solid #d9dde3;
    border-radius: 999px;
    background: #fff;
    color: #334155;
    display: grid;
    place-items: center;
    font-size: 0.76rem;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 0 1px rgba(0,0,0,.10);
    z-index: 3;
    pointer-events: none;
}
.compare-mobile-divider { display: none; }

/* VOTE */
.compare-vote-strip { padding: 10px 12px; }
.compare-vote-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    margin-bottom: 8px;
}
.compare-vote-head h2,
.compare-verdict-card h3,
.finance-card h3 {
    margin: 0 0 2px;
    font-size: 0.98rem;
    line-height: 1.2;
}
.compare-vote-head p,
.compare-vote-meta,
.compare-verdict-card li,
.faq-list p,
.compare-empty-state p {
    margin: 0;
    color: #5b6470;
    font-size: 0.8rem;
    line-height: 1.45;
}
.compare-vote-bar-wrap {
    display: grid;
    grid-template-columns: 104px minmax(0,1fr) 104px;
    gap: 8px;
    align-items: center;
}
.vote-side {
    display: grid;
    gap: 2px;
    font-weight: 700;
}
.vote-side strong,
.vote-side span {
    font-size: 0.76rem;
    line-height: 1.2;
}
.vote-side-b { text-align: right; }
.vote-percent {
    font-size: 1rem;
    line-height: 1;
    color: #203047;
}
.compare-vote-bar {
    display: flex;
    height: 8px;
    border-radius: 999px;
    overflow: hidden;
    background: #e7ecea;
}
.compare-vote-bar i {
    display: block;
    height: 100%;
    transition: width .24s ease;
}
.vote-bar-a { background: linear-gradient(90deg, #2ca77d, #16896b); }
.vote-bar-b { background: #cfd8d5; }
.compare-vote-actions {
    margin-top: 8px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.vote-btn { border: 0; color: #fff; cursor: pointer; }
.vote-btn-a { background: var(--green); }
.vote-btn-b { background: #4b5563; }

/* QUICK VERDICT */
.compare-quick-verdict {
    display: grid;
    grid-template-columns: 1fr 240px 1fr;
    gap: 8px;
    background: transparent;
    border: 0;
    box-shadow: none;
}
.compare-verdict-card,
.compare-verdict-headline { padding: 10px 12px; }
.compare-verdict-card ul,
.compare-fit-card ul {
    margin: 0;
    padding-left: 16px;
    display: grid;
    gap: 4px;
}
.compare-verdict-headline {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    gap: 8px;
}
.compare-verdict-headline p {
    margin: 0;
    color: #4b5563;
    font-size: 0.82rem;
}
.compare-verdict-card-a { border-top: 4px solid var(--green); }
.compare-verdict-card-b { border-top: 4px solid #1f4d9f; }
.headline-pill {
    min-height: 28px;
    justify-content: center;
    background: #f1f6f4;
    color: #2d5f53;
    padding: 0 10px;
    margin: 0 auto;
    font-size: 0.74rem;
}
.compare-headline-facts {
    display: grid;
    gap: 5px;
    margin: 4px 0 2px;
    font-size: 0.8rem;
    line-height: 1.38;
    color: #4b5563;
}
.compare-headline-actions {
    display: grid;
    gap: 8px;
    margin-top: 4px;
}
.compare-headline-actions .primary-btn,
.compare-headline-actions .ghost-btn-small {
    min-height: 34px;
    font-size: 0.84rem;
}

/* COMMON */
.compare-category-winners,
.compare-priority-selector,
.compare-key-differences,
.compare-score-breakdown,
.compare-finance-section,
.compare-similar-alternatives,
.compare-faq-section,
.compare-full-spec { padding: 12px; }

.compare-category-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 6px;
}
.compare-category-card { padding: 2px 10px;}
.category-label {
    display: inline-block;
    font-size: 14px;
    color: #6b7280;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 4px;
}
.category-winner-name {
    display: block;
    font-size: 16px;
    line-height: 1.25;
    margin-bottom: 2px;
}
.category-metric { font-size: 15px; color: #5b6470; }
.winner-a { border-top: 4px solid var(--green); }
.winner-b { border-top: 4px solid #1f4d9f; }

.compare-priority-chips {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.priority-chip {
    min-height: 34px;
    border: 1px solid var(--line-strong);
    background: #fff;
    color: #1f2937;
    padding: 0 10px;
    font-size: 0.8rem;
    cursor: pointer;
}
.priority-chip.is-active {
    background: var(--green);
    color: #fff;
    border-color: var(--green);
}

.compare-diff-table,
.compare-spec-table { display: grid; }
.compare-spec-row {
    display: grid;
    grid-template-columns: 1fr 148px 1fr;
    gap: 8px;
    align-items: center;
    padding: 8px 0;
    border-top: 1px solid var(--line);
}
.compare-spec-row:first-child { border-top: 0; }
.compare-spec-label {
    text-align: center;
    /*font-weight: 800;*/
    color: #334155;
    font-size: 0.88rem;
}
.compare-spec-value {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-card);
    background: #f8fafb;
    border: 1px solid #e8edf0;
    text-align: center;
    padding: 0 8px;
    font-weight: 700;
    font-size: 0.88rem;
    color: #18212f;
}
.compare-spec-value.is-winner {
    background: var(--green-softer);
    border-color: #d4e6de;
    color: #1c433b;
}

/* SCORE */
.compare-score-row {
    display: grid;
    grid-template-columns: minmax(0,1fr) 130px minmax(0,1fr);
    gap: 8px;
    align-items: center;
    padding: 6px 0;
}
.score-label {
    text-align: center;
    font-weight: 800;
    color: #334155;
    font-size: 0.88rem;
}
.score-side {
    display: grid;
    align-items: center;
    gap: 8px;
    grid-template-columns: 52px 1fr;
}
.score-side-b { grid-template-columns: 1fr 52px; }
.score-side strong {
    font-size: 14px;
    color: #253247;
    text-align: center;
}
.score-bar {
    height: 10px;
    background: #e6efeb;
    border-radius: 999px;
    overflow: hidden;
}
.score-bar i {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, #2ca77d, #16896b);
}
.compare-score-overall {
    margin-top: 12px;
    display: grid;
    grid-template-columns: 1fr 92px 1fr;
    gap: 10px;
    align-items: center;
}
.overall-card {
        min-height: 92px;
    border-radius: var(--radius-card);
    background: #fafcfc;
    border: 1px solid var(--line);
    display: grid;
    place-items: center;
    text-align: center;
    padding: 10px;
    font-weight: 800;
}
.overall-card strong {
    font-size: 1.5rem;
    line-height: 1;
    color: var(--green-dark);
}
.overall-card-middle {
    font-size: 1.25rem;
    font-weight: 800;
    background: transparent;
    border: 0;
    min-height: 0;
}

/* FINANCE */
.compare-loan-controls {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 10px;
    margin-bottom: 12px;
}
.compare-loan-controls label {
    display: grid;
    gap: 4px;
    font-weight: 700;
    color: #374151;
    font-size: 0.82rem;
}
.compare-loan-controls input,
.compare-loan-controls select {
    min-height: 40px;
    border-radius: var(--radius-card);
    border: 1px solid var(--line);
    background: #fff;
    padding: 0 12px;
    font-size: 0.9rem;
}
.compare-finance-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 8px;
}
.finance-card { padding: 10px 12px; }
.finance-main {
    font-size: 1.05rem;
    line-height: 1.2;
    font-weight: 800;
    color: #15253b;
    margin-bottom: 10px;
}
.finance-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 8px;
}
.finance-list li {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    border-top: 1px solid var(--line);
    padding-top: 8px;
}
.finance-card-highlight {
    background: var(--green-softer);
    border-color: #d6e7df;
}

/* FULL SPEC */
.compare-spec-nav {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 12px;
    padding: 10px 0;
    background: linear-gradient(180deg, rgba(246,247,248,.96), rgba(246,247,248,.92));
    backdrop-filter: blur(10px);
}
.compare-spec-nav a {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    border-radius: var(--radius-pill);
    background: #fff;
    border: 1px solid var(--line);
    color: #1f2937;
    font-weight: 700;
    font-size: 0.82rem;
}
/*.compare-spec-section {
    padding: 10px 12px;
    margin-bottom: 10px;
}*/
.compare-spec-section {
    margin-bottom: 10px;
    padding: 0px;
    border: none;
}
.compare-spec-section h3 {
    margin: 0 0 8px;
    font-size: 0.94rem;
}

/* FIT / ALT / FAQ */
.compare-fit-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.compare-fit-card { padding: 10px 12px; }
.compare-fit-card h2 { font-size: 1rem; }
.alternative-links-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 10px;
}
.alternative-links-grid a {
    min-height: 86px;
    border-radius: var(--radius-card);
    border: 1px solid var(--line);
    background: #fafcfc;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 12px;
    font-weight: 700;
    color: #1f2937;
    font-size: 0.88rem;
}
.faq-list {
    display: grid;
    gap: 10px;
}
.faq-list details {
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
    background: #fff;
    padding: 12px 14px;
}
.faq-list summary {
    cursor: pointer;
    font-weight: 800;
    color: #1f2937;
    font-size: 0.9rem;
}
.faq-list p { margin-top: 8px; }

.compare-empty-state { padding: 36px; text-align: center; }
.compare-debug {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    background: #111827;
    color: #fff;
    border-radius: 12px;
    padding: 12px;
    margin-top: 12px;
}

/* TABLET */
@media (max-width: 1180px) {
    .compare-page-head {
        flex-direction: column;
        align-items: flex-start;
    }
    .compare-hero.compare-hero--two-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
    .compare-hero-floating-vs {
        top: 102px;
        width: 32px;
        height: 32px;
        font-size: 0.72rem;
    }
    .compare-quick-verdict,
    .compare-finance-grid,
    .compare-fit-section,
    .alternative-links-grid,
    .compare-loan-controls {
        grid-template-columns: 1fr 1fr;
    }
    .compare-category-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .compare-vote-bar-wrap {
        grid-template-columns: 100px minmax(0,1fr) 100px;
    }
}

/* MOBILE 2-COLUMN PHONES */
@media (max-width: 767px) {
    .compare-page { padding: 14px 0 20px; }
    .compare-container { width: min(100% - 20px, 100%); }
    .compare-breadcrumb {
        font-size: 0.8rem;
        margin-bottom: 10px;
    }
    .compare-page-head {
        margin-bottom: 12px;
        gap: 10px;
    }
    .compare-page-head h1,
    .section-heading-row h2,
    .compare-verdict-headline h2,
    .compare-fit-card h2,
    .compare-empty-state h1 {
        font-size: 1.35rem;
        line-height: 1.12;
        font-weight: 800;
    }
    .compare-page-head h1,
    .compare-empty-state h1 {
        font-size: 1.65rem;
        line-height: 1.12;
        font-weight: 800;
    }
    .compare-page-intro {
                margin: 10px 0 0;
        color: #5f6368;
        font-size: 15px;
        line-height: 1.7;
        max-width: 900px;
    }
    .compare-change-link {
        width: 100%;
        min-height: 48px;
        border: 1px solid var(--line);
        border-radius: 14px;
        background: #fff;
        color: #111827;
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 0 14px;
        font-weight: 700;
        font-size: 16px;
    }
    .compare-hero.compare-hero--two-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
    .compare-hero-floating-vs {
        display: grid;
        top: 96px;
        width: 30px;
        height: 30px;
        font-size: 0.68rem;
    }
    .compare-mobile-divider { display: none; }

    .compare-hero-card,
    .compare-vote-strip,
    .compare-verdict-card,
    .compare-verdict-headline,
    .compare-category-card,
    .compare-key-differences,
    .compare-score-breakdown,
    .finance-card,
    .compare-spec-section,
    .compare-fit-card,
    .compare-similar-alternatives,
    .compare-faq-section,
    .compare-priority-selector,
    .compare-empty-state,
    .compare-full-spec {
        border-radius: var(--radius-card);
    }

    .compare-hero-card { padding: 6px; }
    .compare-score-circle {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
        font-size: 0.98rem;
        border-width: 2.5px;
    }
    .compare-hero-image {
        height: 120px;
        max-height: none;
        aspect-ratio: auto;
        object-position: center 56%;
        margin-bottom: 4px;
            transform: unset;
    }
    .compare-car-title {
        font-size: 15px;
        line-height: 1.2;
        margin: 6px 0 4px;
        min-height: 39px;
    }
    .compare-car-price { font-size: 15px;
        margin-bottom: 10px; }
    .compare-car-installment {
        font-size: 0.76rem;
        margin-bottom: 8px;
    }
    .compare-quick-metrics { gap: 6px; }
    .quick-metric-card {
        padding: 2px 9px;
        border-radius: var(--radius-card);
    }
    .quick-metric-card strong {
        font-size: 0.8rem;
        line-height: 1.2;
    }
    .quick-metric-card span {
        font-size: 0.72rem;
        line-height: 1.25;
    }
    .secondary-link { font-size: 0.82rem; }

    .compare-vote-strip { padding: 10px; }
    .compare-vote-head {
        display: block;
        margin-bottom: 8px;
    }
    .compare-vote-head h2 {     margin: 0 0 2px;
    font-size: 1.65rem;
    line-height: 1.12;
    font-weight: 800; }
    .compare-vote-head p { font-size: 0.82rem; }
    .compare-vote-bar-wrap {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .vote-side,
    .vote-side-b { text-align: left; }
    .vote-percent { font-size: 1.05rem; }
    .compare-vote-bar { height: 8px; }

    .compare-vote-actions,
    .compare-headline-actions {
                gap: 8px;
        margin-top: 8px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .vote-btn,
    .compare-vote-actions .ghost-btn-small,
    .compare-headline-actions .primary-btn,
    .compare-headline-actions .ghost-btn-small {
        min-height: 34px;
        font-size: 0.8rem;
    }

    .compare-quick-verdict,
    .compare-loan-controls,
    .compare-finance-grid,
    .compare-fit-section,
    .alternative-links-grid,
    .compare-category-grid {
        grid-template-columns: 1fr;
    }

    .compare-spec-row {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
        padding: 10px 0;
    }
    .compare-spec-label,
    .score-label {
        order: -1;
        text-align: left;
        color: #4b5563;
        font-size: 0.88rem;
    }
    .compare-spec-value {
        min-height: 36px;
        font-size: 14px;
        padding: 8px 10px;
    }

    .compare-score-row {
        /*grid-template-columns: 1fr;*/
        gap: 8px;
        padding: 10px 0;
        border-top: 1px solid var(--line);
    }
    .compare-score-row:first-child { border-top: 0; }
    .score-side,
    .score-side-b { grid-template-columns: 52px 1fr; }
    /*.compare-score-overall { grid-template-columns: 1fr; }*/

    .compare-category-winners,
    .compare-priority-selector,
    .compare-key-differences,
    .compare-score-breakdown,
    .compare-finance-section,
    .compare-similar-alternatives,
    .compare-faq-section,
    .compare-full-spec {
        padding: 9px;
    }

    .compare-spec-nav {
        overflow-x: auto;
        flex-wrap: nowrap;
        margin-inline: -4px;
        padding-inline: 4px;
    }
    .compare-spec-nav a { white-space: nowrap; }
}

/* TRUE SMALL MOBILE ONLY */
@media (max-width: 560px) {
    .compare-hero.compare-hero--two-cards {
/*        grid-template-columns: 1fr;
        gap: 12px;*/
    }
    .compare-hero-floating-vs { }
    .compare-mobile-divider {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 24px;
        margin: -2px 0 -2px;
        color: #6b7280;
        font-size: 0.8rem;
        font-weight: 700;
        line-height: 1;
    }
    .compare-hero-image { height: 138px; }
/*    .compare-car-title { font-size: 1.08rem; }
    .compare-car-price { font-size: 0.96rem; }*/
/*    .compare-car-installment { font-size: 0.78rem; }
    .quick-metric-card strong { font-size: 0.84rem; }
    .quick-metric-card span { font-size: 0.74rem; }*/
}
/* ===== Finance assumption summary ===== */
.compare-finance-assumption-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 12px;
    padding: 10px 12px;
    background: #fff;
    border: 1px solid #d9dde3;
    border-radius: 6px;
    box-shadow: 0 0 1px rgba(0,0,0,.10);
}

.compare-finance-assumption-copy {
    min-width: 0;
}

.compare-finance-assumption-label {
    display: block;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #6b7280;
    margin-bottom: 2px;
}

.compare-finance-assumption-values {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1f2937;
    line-height: 1.4;
}

/* ===== Finance modal ===== */
.compare-finance-modal[hidden] {
    display: none !important;
}

.compare-finance-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
}

.compare-finance-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(17, 24, 39, 0.45);
}

.compare-finance-modal__panel {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(680px, calc(100% - 24px));
    transform: translate(-50%, -50%);
    background: #fff;
    border: 1px solid #d9dde3;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0,0,0,.18);
    padding: 16px;
}

.compare-finance-modal__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.compare-finance-modal__head h3 {
    margin: 0 0 4px;
    font-size: 1.05rem;
    line-height: 1.2;
    color: #111827;
}

.compare-finance-modal__head p {
    margin: 0;
    font-size: 0.84rem;
    color: #667085;
}

.compare-finance-modal__close {
    border: 0;
    background: #fff;
    color: #4b5563;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    padding: 0 4px;
}

.compare-loan-controls--modal {
    margin-bottom: 14px;
}

.compare-finance-modal__actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

@media (max-width: 767px) {
    .compare-finance-assumption-bar {
        display: block;
        padding: 10px;
    }

    .compare-finance-assumption-copy {
        margin-bottom: 8px;
    }

    .compare-finance-assumption-values {
        font-size: 0.88rem;
    }

    .compare-finance-modal__panel {
        top: auto;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        transform: none;
        border-radius: 12px 12px 0 0;
        padding: 14px;
    }

    .compare-finance-modal__actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
}
/* ===== Sticky compare bar ===== */
.compare-sticky-bar {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    z-index: 1200;
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: transform .22s ease, opacity .22s ease;
}

.compare-sticky-bar.is-visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.compare-sticky-bar__inner {
    width: min(var(--container), calc(100% - 32px));
    margin: 0 auto;
    margin-top: 8px;
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(10px);
    border: 1px solid #d9dde3;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
    min-height: 54px;
    padding: 8px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.compare-sticky-bar__cars {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1 1 auto;
}

.compare-sticky-car {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.compare-sticky-car__name {
    min-width: 0;
    display: block;
    font-size: 0.84rem;
    font-weight: 800;
    color: #1f2937;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 220px;
}

.compare-sticky-car__meta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    height: 30px;
    padding: 0 8px;
    border: 2px solid var(--green);
    border-radius: 999px;
    color: var(--green);
    font-size: 0.78rem;
    font-weight: 800;
    background: #fff;
    line-height: 1;
}

.compare-sticky-bar__vs {
    flex: 0 0 auto;
    font-size: 0.74rem;
    font-weight: 800;
    color: #6b7280;
    letter-spacing: .04em;
}

.compare-sticky-bar__actions {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 8px;
}

.compare-sticky-bar__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 6px;
    background: var(--green);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 800;
    border: 1px solid var(--green);
    white-space: nowrap;
}

.compare-sticky-bar__btn--ghost {
    background: #fff;
    color: #111827;
    border-color: #d9dde3;
}

@media (max-width: 767px) {
    .compare-sticky-bar__inner {
        width: min(100% - 20px, 100%);
        min-height: 46px;
        padding: 6px 8px;
        gap: 8px;
    }

    .compare-sticky-car__name {
        max-width: 92px;
        font-size: 0.76rem;
    }

    .compare-sticky-car__meta {
        min-width: 26px;
        height: 26px;
        font-size: 0.72rem;
        padding: 0 6px;
        border-width: 2px;
    }

    .compare-sticky-bar__vs {
        font-size: 0.68rem;
    }

    .compare-sticky-bar__actions {
        gap: 6px;
    }

    .compare-sticky-bar__btn {
        min-height: 30px;
        padding: 0 10px;
        font-size: 0.76rem;
    }
}

@media (max-width: 560px) {
    .compare-sticky-bar__inner {
        padding: 6px 8px;
    }

    .compare-sticky-car__name {
        max-width: 74px;
    }

    .compare-sticky-bar__btn--ghost {
        display: none;
    }
}
/* ===== Better Vote emphasis ===== */
.compare-vote-strip {
    border: 1px solid #d8e2dd;
    border-radius: 18px;
    padding: 18px 20px 20px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(17, 24, 39, 0.04);
}

.compare-vote-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

.compare-vote-head h2 {
        margin: 0 0 2px;
    font-size: 1.65rem;
    line-height: 1.12;
    font-weight: 800;
}

.compare-vote-head p {
    margin: 0;
    color: #667085;
    font-size: 15px;
}

.compare-vote-meta {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

#voteMetaText {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 999px;
    background: #eef7f2;
    color: #1f7a5a;
    font-size: 0.95rem;
    font-weight: 700;
    white-space: nowrap;
}

.compare-vote-bar-wrap {
    padding: 14px 16px 12px;
    border-radius: 16px;
    background: linear-gradient(180deg, #f8fbf9 0%, #f2f7f4 100%);
    border: 1px solid #dce8e1;
}

.vote-side {
    font-weight: 700;
    color: #1f2937;
}

.vote-side .vote-percent {
    display: block;
    font-size: 1.55rem;
    line-height: 1;
    font-weight: 800;
    margin-bottom: 4px;
    color: #0f172a;
}

.vote-side span {
    font-size: 1rem;
    color: #344054;
    font-weight: 700;
}

.compare-vote-bar {
    position: relative;
    height: 16px;
    margin: 10px 0 12px;
    border-radius: 999px;
    background: #dbe5df;
    overflow: hidden;
    box-shadow: inset 0 1px 2px rgba(16, 24, 40, 0.08);
}

.vote-bar-a,
.vote-bar-b {
    position: absolute;
    top: 0;
    bottom: 0;
}

.vote-bar-a {
    left: 0;
    background: linear-gradient(90deg, #3f8f71 0%, #57a884 100%);
    border-radius: 999px 0 0 999px;
}

.vote-bar-b {
    right: 0;
    background: linear-gradient(90deg, #7d8795 0%, #596273 100%);
    border-radius: 0 999px 999px 0;
}

.compare-vote-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 14px;
}

.vote-btn {
    min-height: 54px;
    border-radius: 14px;
    font-size: 1.1rem;
    font-weight: 800;
    box-shadow: 0 6px 16px rgba(16, 24, 40, 0.08);
    transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.vote-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(16, 24, 40, 0.12);
}

.vote-btn:active {
    transform: translateY(0);
}

@media (max-width: 767px) {
    .compare-vote-head {
        flex-direction: column;
        align-items: flex-start;
    }

    #voteMetaText {
        white-space: normal;
    }

    .compare-vote-bar-wrap {
        padding: 12px;
    }

    .vote-side .vote-percent {
        font-size: 1.3rem;
    }

    .compare-vote-actions {
        grid-template-columns: 1fr;
    }
}
/* ===== Better Vote mobile fix ===== */
.compare-vote-bar-wrap {
    display: grid;
    grid-template-columns: 72px 1fr 72px;
    grid-template-areas:
        "a-top bar b-top"
        "a-name bar b-name";
    column-gap: 12px;
    row-gap: 4px;
    align-items: center;
}

.vote-side-a {
    grid-area: a-top;
    text-align: left;
}

.vote-side-a .vote-percent {
    display: block;
    margin-bottom: 2px;
}

.vote-side-a span {
    display: block;
}

.vote-side-b {
    grid-area: b-top;
    text-align: right;
    align-self: end;
}

.vote-side-b .vote-percent {
    display: block;
    margin-bottom: 2px;
}

.vote-side-b span {
    display: block;
}

.compare-vote-bar {
    grid-area: bar;
    margin: 0;
    align-self: center;
}

.compare-vote-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 14px;
}

.compare-vote-actions .vote-btn {
    width: 100%;
    min-width: 0;
}

/* mobile only */
@media (max-width: 767px) {
    .compare-vote-bar-wrap {
        grid-template-columns: 78px 1fr 78px;
        grid-template-areas:
            "a-top bar b-top"
            "a-name bar b-name";
        column-gap: 10px;
        row-gap: 2px;
    }

    .vote-side {
        display: contents;
    }

    .vote-side-a .vote-percent,
    .vote-side-b .vote-percent {
        font-size: 1.05rem;
        line-height: 1;
        font-weight: 800;
    }

    .vote-side-a span,
    .vote-side-b span {
        font-size: 0.95rem;
        line-height: 1.2;
        font-weight: 700;
    }

    .compare-vote-bar {
        height: 14px;
    }

    .compare-vote-actions {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .compare-vote-actions .vote-btn {
        min-height: 42px;
        padding: 0 12px;
        font-size: 16px;
        border-radius: 14px;
    }
}
.finance-list li span {
        font-size: 0.88em;
}
.ev-site-footer {
    margin-top: 32px;
    background: #111827;
    color: rgba(255, 255, 255, 0.88);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ev-footer-inner {
    width: min(1320px, calc(100% - 32px));
    margin: 0 auto;
    padding: 28px 0 18px;
}

.ev-footer-top {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 28px;
    padding-bottom: 20px;
}

.ev-footer-brand {
    min-width: 0;
}

.ev-footer-logo {
    display: inline-block;
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: #ffffff;
    text-decoration: none;
    margin-bottom: 10px;
}

.ev-footer-desc {
    margin: 0;
    max-width: 520px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.98rem;
    line-height: 1.7;
}

.ev-footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.ev-footer-col h4 {
    margin: 0 0 10px;
    font-size: 1rem;
    font-weight: 800;
    color: #ffffff;
}

.ev-footer-col ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ev-footer-col li + li {
    margin-top: 8px;
}

.ev-footer-col a {
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    transition: color .18s ease;
}

.ev-footer-col a:hover {
    color: #ffffff;
}

.ev-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 14px;
}

.ev-footer-bottom p {
    margin: 0;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.58);
}

@media (max-width: 767px) {
    .ev-footer-inner {
        width: min(100% - 20px, 100%);
        padding: 24px 0 16px;
    }

    .ev-footer-top {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .ev-footer-links {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .ev-footer-logo {
        font-size: 1.22rem;
    }

    .ev-footer-desc {
        font-size: 0.95rem;
    }
}
/* =========================================================
   EV Score Tooltip - Compare Page
   ========================================================= */

.ev-score-tooltip-wrap {
    position: relative;
}

.ev-score-tooltip-wrap > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.ev-score-info-btn {
    position: absolute;
    right: -6px;
    top: -6px;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    border: 1px solid #d7e7df;
    background: #ffffff;
    color: #16896b;
    font-size: 11px;
    font-weight: 900;
    line-height: 16px;
    padding: 0;
    cursor: help;
    z-index: 20;
}

.ev-score-info-btn::after {
    content: attr(data-tooltip);
    position: absolute;
    right: 0;
    top: 24px;
    width: 286px;
    padding: 10px 12px;
    border-radius: 12px;
    background: #0f172a;
    color: #ffffff;
    font-size: 12px;
    line-height: 1.55;
    font-weight: 500;
    text-align: left;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: all 0.16s ease;
    z-index: 999;
    pointer-events: none;
}

.ev-score-info-btn:hover::after,
.ev-score-info-btn:focus::after {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

@media (max-width: 767px) {
    .ev-score-info-btn {
        right: -4px;
        top: -4px;
        width: 16px;
        height: 16px;
        font-size: 10px;
        line-height: 14px;
    }

    .ev-score-info-btn::after {
        right: -6px;
        width: 230px;
        font-size: 11px;
        line-height: 1.5;
    }
}
/* =========================================================
   Compare Detail - Contextual Internal Links
   ========================================================= */

.compare-context-links-card {
    background:
        radial-gradient(circle at top left, rgba(63, 143, 113, .10), transparent 34%),
        #ffffff;
}

.compare-context-subtitle {
    margin: 6px 0 0;
    color: #667085;
    font-size: 14px;
    line-height: 1.55;
    max-width: 820px;
}

.compare-context-link-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.compare-context-link-grid a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid #dcefe7;
    background: #f8faf9;
    color: #0f6d55;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    transition: background .16s ease, border-color .16s ease, transform .16s ease;
}

.compare-context-link-grid a:hover {
    background: #eaf6f1;
    border-color: #cde7dd;
    transform: translateY(-1px);
}

@media (max-width: 767px) {
    .compare-context-subtitle {
        font-size: 13px;
    }

    .compare-context-link-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .compare-context-link-grid a {
        width: 100%;
        min-height: 44px;
        border-radius: 12px;
    }
}
/* =========================================================
   Landing - Contextual Internal Links
   ========================================================= */

.landing-contextual-links {
    margin-top: 18px;
}

.landing-contextual-groups {
    display: grid;
    gap: 16px;
}

.landing-contextual-group {
    padding: 14px;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    background:
        radial-gradient(circle at top left, rgba(22, 137, 107, .08), transparent 36%),
        #ffffff;
}

.landing-contextual-group h3 {
    margin: 0 0 10px;
    font-size: 1rem;
    line-height: 1.35;
    color: #111827;
}

.landing-contextual-group .related-links-grid {
    margin-top: 0;
}

@media (max-width: 767px) {
    .landing-contextual-group {
        padding: 12px;
        border-radius: 14px;
    }

    .landing-contextual-group h3 {
        font-size: .95rem;
    }
}
.compare-category-page .compare-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.compare-category-page .live-vote-strip {
  max-width: 1320px;
  margin: 18px auto 16px;
  padding: 13px 18px;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  background: #fff;
}

.compare-category-page .breadcrumb {
  max-width: 1320px;
  margin: 0 auto 16px;
  padding: 0 16px;
}

.compare-category-page .compare-hero {
  max-width: 1320px;
  margin: 0 auto 18px;
  padding: 0 16px;
}

@media (max-width: 1180px) {
  .compare-category-page .compare-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .compare-category-page .compare-grid {
    grid-template-columns: 1fr;
  }

  .compare-category-page .live-vote-strip {
    border-radius: 16px;
    margin: 12px 14px;
  }
}