/* ====================================================================
   compare.css — Broker comparison landing pages
   Uses the site design system (--fx-*) — light surfaces + gold accent
   ==================================================================== */

:root {
    --cmp-col-label: minmax(140px, 250px);

    /* Aliases → main theme tokens */
    --cmp-border:      var(--fx-border);
    --cmp-border-2:    var(--fx-border-strong);
    --cmp-surface:     var(--fx-surface);
    --cmp-text:        var(--fx-text);
    --cmp-text-strong: var(--fx-text-strong);
    --cmp-muted:       var(--fx-text-muted);
    --cmp-bg:          var(--fx-bg);
    --cmp-bg-alt:      var(--fx-surface-2);
    --cmp-gold:        var(--fx-gold);
    --cmp-gold-deep:   var(--fx-gold-deep);

    --cmp-win-bg:      rgba(21, 128, 61, 0.08);
    --cmp-win-ink:     var(--fx-success);
    --cmp-win-edge:    rgba(21, 128, 61, 0.22);

    --cmp-yes:         var(--fx-success);
    --cmp-no:          var(--fx-text-subtle);

    --cmp-tier1:       var(--fx-success);
    --cmp-tier2:       var(--fx-warning);
    --cmp-tier3:       #6b7280;
}

.page-compare {
    background: var(--fx-bg);
    color: var(--fx-text);
}

/* ---------- Landing hero ---------- */
.compare-hero {
    position: relative;
    padding: 3.15rem 0 2.5rem;
    background:
        radial-gradient(80% 60% at 85% 0%, rgba(234, 192, 27, 0.12), transparent 58%),
        radial-gradient(55% 45% at 0% 100%, rgba(234, 192, 27, 0.06), transparent 72%),
        linear-gradient(180deg, #fff9f0 0%, var(--fx-bg) 48%);
    border-bottom: 1px solid var(--fx-border);
    overflow: hidden;
}

.compare-hero::after {
    content: '';
    position: absolute;
    inset: auto -10% -40% -10%;
    height: 55%;
    background: radial-gradient(ellipse at 50% 0%, rgba(229, 165, 10, 0.06), transparent 70%);
    pointer-events: none;
}

.compare-hero .container {
    position: relative;
    z-index: 1;
}

.compare-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(240px, 0.95fr);
    gap: 2.5rem;
    align-items: center;
}

.compare-hero-copy {
    min-width: 0;
}

.compare-hero-visual {
    position: relative;
    min-width: 0;
}

.compare-hero-visual img {
    width: 100%;
    height: auto;
    border-radius: var(--fx-radius-lg, 16px);
    border: 1px solid var(--fx-border);
    box-shadow: var(--fx-shadow, 0 12px 32px -10px rgba(15, 23, 42, 0.12));
}

.compare-hero--hub .compare-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 420px);
}

.compare-hero-eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--fx-gold);
    padding: 0.35rem 0.7rem;
    border: 1px solid rgba(234, 192, 27, 0.35);
    border-radius: 999px;
    margin-bottom: 1rem;
    background: rgba(234, 192, 27, 0.06);
}

.breadcrumb {
    font-size: 0.85rem;
    color: var(--cmp-muted);
    margin-bottom: 1rem;
}

.breadcrumb-list {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
    line-height: 1.35;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    white-space: nowrap;
}

.breadcrumb-list::-webkit-scrollbar { display: none; }

.breadcrumb-list li {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.breadcrumb-list li + li::before {
    content: '/';
    margin: 0 0.4rem;
    opacity: 0.45;
    color: var(--cmp-muted);
    line-height: 1;
}

.breadcrumb-list a {
    color: var(--cmp-muted);
    text-decoration: none;
    transition: color var(--fx-transition, 0.2s ease);
}

.breadcrumb-list a:hover { color: var(--cmp-text-strong); }

.breadcrumb-list [aria-current="page"] {
    color: var(--cmp-text-strong);
    font-weight: 600;
}

.compare-h1 {
    font-size: clamp(1.85rem, 4.5vw, 3rem);
    line-height: 1.08;
    margin: 0 0 0.85rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--cmp-text-strong);
}

.compare-h1--matchup {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem 0.85rem;
}

.compare-h1-name {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}

.compare-h1-logo {
    width: 42px;
    height: 42px;
    object-fit: contain;
    flex: none;
}

.cmp-logo-frame {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex: none;
}

.cmp-logo-frame img,
.cmp-logo-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cmp-logo-frame--crop img {
    object-fit: cover;
    transform: scale(1.28);
    transform-origin: center center;
}

.compare-h1-name .cmp-logo-frame {
    width: 42px;
    height: 42px;
}

.compare-h1-name .cmp-logo-frame .compare-h1-logo {
    width: 100%;
    height: 100%;
}

.cmp-vs-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    padding: 0 0.65rem;
    border-radius: 999px;
    background: var(--fx-gold-soft, rgba(229, 165, 10, 0.16));
    border: 1px solid rgba(229, 165, 10, 0.35);
    color: var(--fx-gold-deep);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    flex: none;
}

.compare-sub {
    color: var(--cmp-muted);
    margin: 0;
    font-size: 1.05rem;
    max-width: 62ch;
    line-height: 1.65;
}

.compare-hero--hub .compare-sub { max-width: 54ch; }

/* Verdict */
.cmp-verdict {
    margin: 1.35rem 0 0;
    padding: 1rem 1.15rem;
    background: var(--fx-gold-light, #fff3c6);
    border: 1px solid rgba(229, 165, 10, 0.28);
    border-radius: var(--fx-radius-lg, 14px);
    font-size: 0.98rem;
    line-height: 1.6;
    color: var(--fx-text);
    max-width: 62ch;
    box-shadow: var(--fx-shadow-sm, 0 2px 10px -2px rgba(15, 23, 42, 0.08));
}

.cmp-verdict strong { color: var(--fx-gold-deep); font-weight: 800; }

/* Quick stat pills in hero */
.cmp-hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1.35rem;
}

.cmp-hero-stat {
    display: inline-flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 7.5rem;
    padding: 0.75rem 0.95rem;
    border-radius: 12px;
    background: var(--fx-surface);
    border: 1px solid var(--fx-border);
    box-shadow: var(--fx-shadow-sm, 0 2px 10px -2px rgba(15, 23, 42, 0.08));
}

.cmp-hero-stat-label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--fx-text-subtle);
}

.cmp-hero-stat-value {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--fx-text-strong);
    line-height: 1.2;
}

.cmp-hero-stat-value small {
    font-size: 0.75em;
    font-weight: 700;
    color: var(--fx-text-muted);
}

.cmp-hero-stat--lead {
    border-color: rgba(229, 165, 10, 0.35);
    background: linear-gradient(180deg, #fffdf7 0%, var(--fx-surface) 100%);
}

.cmp-hero-stat--lead .cmp-hero-stat-value { color: var(--fx-gold-deep); }

/* Broker matchup cards in hero visual */
.cmp-hero-matchup {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 0.85rem;
    align-items: stretch;
    margin-bottom: 1rem;
}

.cmp-hero-broker-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
    padding: 1.1rem 0.85rem;
    border-radius: 16px;
    background: var(--fx-surface);
    border: 1px solid var(--fx-border);
    box-shadow: var(--fx-shadow-sm);
    text-align: center;
}

.cmp-hero-broker-card.is-lead {
    border-color: rgba(229, 165, 10, 0.4);
    box-shadow: var(--fx-shadow-gold, 0 12px 32px -8px rgba(229, 165, 10, 0.22));
}

.cmp-hero-broker-card img {
    width: 72px;
    height: 72px;
    object-fit: contain;
}

.cmp-hero-broker-card .cmp-logo-frame {
    width: 56px;
    height: 56px;
}

.cmp-hero-broker-card .cmp-logo-frame img {
    width: 100%;
    height: 100%;
}

.cmp-hero-broker-name {
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--fx-text-strong);
    line-height: 1.25;
}

.cmp-hero-broker-score {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--fx-gold-deep);
}

/* ---------- Hub picker + cards ---------- */
.compare-hero--hub .compare-h1 { margin-bottom: 0.75rem; }

.cmp-picker {
    margin: 1.75rem 0 0;
    display: grid;
    grid-template-columns: 1fr auto 1fr auto;
    gap: 0.85rem;
    align-items: end;
    background: var(--fx-surface);
    border: 1px solid var(--fx-border);
    padding: 1.35rem;
    border-radius: var(--fx-radius-lg, 16px);
    box-shadow: var(--fx-shadow-sm);
    max-width: 100%;
    text-align: left;
}

.cmp-picker-sep {
    align-self: center;
    font-weight: 800;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--cmp-gold);
    padding-bottom: 0.85rem;
}

.cmp-picker-field {
    display: grid;
    gap: 0.45rem;
    font-size: 0.82rem;
    color: var(--cmp-muted);
}

.cmp-picker-field span {
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--fx-text-muted);
}

.cmp-picker-field select {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid var(--cmp-border-2);
    border-radius: 10px;
    background: var(--fx-surface);
    color: var(--cmp-text-strong);
    font-size: 0.98rem;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    appearance: none;
}

.cmp-picker-field select:focus {
    border-color: var(--cmp-gold);
    box-shadow: 0 0 0 3px rgba(229, 165, 10, 0.18);
}

.cmp-picker-go {
    padding: 0.85rem 1.25rem;
    border: none;
    border-radius: 10px;
    background: var(--cmp-gold);
    color: #111;
    font-weight: 800;
    font-size: 0.95rem;
    cursor: pointer;
    transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.2s ease, background-color 0.2s;
}

.cmp-picker-go:hover {
    transform: translateY(-1px);
    box-shadow: var(--fx-shadow-gold);
    background: var(--fx-gold-hot, #f7c948);
}

.cmp-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.1rem;
    margin-top: 1.25rem;
}

.cmp-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    border: 1px solid var(--cmp-border);
    border-radius: var(--fx-radius-lg, 16px);
    background: var(--cmp-surface);
    box-shadow: var(--fx-shadow-sm);
    transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.2s ease, border-color 0.2s ease;
    overflow: hidden;
}

.cmp-card:hover {
    transform: translateY(-3px);
    border-color: rgba(229, 165, 10, 0.45);
    box-shadow: var(--fx-shadow-gold);
}

.cmp-card-top { padding: 1.35rem 1.25rem 1.1rem; flex: 1; }

.cmp-card-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    margin-bottom: 1rem;
}

.cmp-card-logos img {
    width: 56px;
    height: 56px;
    object-fit: contain;
}

.cmp-card-logos .cmp-logo-frame {
    width: 48px;
    height: 48px;
}

.cmp-card-vs {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    background: var(--fx-gold-soft, rgba(229, 165, 10, 0.16));
    border: 1px solid rgba(229, 165, 10, 0.3);
    color: var(--fx-gold-deep);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.06em;
}

.cmp-card-title {
    color: var(--cmp-text-strong);
    font-weight: 800;
    letter-spacing: -0.01em;
    font-size: 1.05rem;
    line-height: 1.3;
    text-align: center;
}

.cmp-card-title span {
    color: var(--cmp-muted);
    font-weight: 700;
    font-size: 0.88em;
    margin: 0 0.15rem;
}

.cmp-card-meta {
    margin-top: 0.75rem;
    color: var(--cmp-muted);
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
}

.cmp-card-meta .dot { opacity: 0.4; }

.cmp-card-cta {
    border-top: 1px solid var(--cmp-border);
    padding: 0.9rem 1.25rem;
    color: var(--cmp-gold-deep);
    font-weight: 800;
    font-size: 0.9rem;
    text-align: center;
    background: var(--fx-surface-2);
    transition: background-color 0.2s;
}

.cmp-card:hover .cmp-card-cta { background: rgba(229, 165, 10, 0.08); }

/* clickable comparison area inside the card (card is now a div so it can hold
   per-broker affiliate buttons in its footer) */
.cmp-card-link { display: flex; flex-direction: column; flex: 1; text-decoration: none; color: inherit; }

/* card footer: two affiliate "Visit" buttons + a full-comparison link */
.cmp-card-foot {
    border-top: 1px solid var(--cmp-border);
    background: var(--fx-surface-2);
    padding: 0.8rem 0.85rem 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}
.cmp-card-visits { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.cmp-card-visit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.32rem;
    padding: 0.6rem 0.5rem;
    border-radius: var(--fx-radius, 8px);
    background: var(--fx-gold, #e5a50a);
    color: #1a1a1a;
    font-weight: 800;
    font-size: 0.82rem;
    line-height: 1.15;
    text-align: center;
    text-decoration: none;
    transition: transform 0.16s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.16s ease, background-color 0.16s ease;
}
.cmp-card-visit:hover {
    background: var(--fx-gold-deep, #b8890a);
    transform: translateY(-1px);
    box-shadow: 0 8px 18px -10px rgba(229, 165, 10, 0.9);
}
.cmp-card-visit svg { flex: none; }
.cmp-card-compare {
    text-align: center;
    color: var(--cmp-gold-deep, #b8890a);
    font-weight: 800;
    font-size: 0.84rem;
    text-decoration: none;
}
.cmp-card-compare:hover { text-decoration: underline; }
@media (max-width: 420px) {
    .cmp-card-visits { grid-template-columns: 1fr; }
}

/* ---------- Highlights band ---------- */
.cmp-highlights {
    padding: 0 0 0.5rem;
    background: var(--fx-bg);
}

.cmp-highlights-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-top: -1.25rem;
    position: relative;
    z-index: 2;
}

.cmp-highlight {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    padding: 1rem 1.05rem;
    border-radius: 14px;
    background: var(--fx-surface);
    border: 1px solid var(--fx-border);
    box-shadow: var(--fx-shadow-sm);
}

.cmp-highlight-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(229, 165, 10, 0.12);
    color: var(--fx-gold-deep);
    flex: none;
}

.cmp-highlight-icon svg { width: 20px; height: 20px; }

.cmp-highlight-body { min-width: 0; }

.cmp-highlight-label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--fx-text-subtle);
    margin-bottom: 0.2rem;
}

.cmp-highlight-value {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--fx-text-strong);
    line-height: 1.35;
}

.cmp-highlight-note {
    margin-top: 0.2rem;
    font-size: 0.82rem;
    color: var(--fx-text-muted);
    line-height: 1.4;
}

/* ---------- Visual context band ---------- */
.cmp-visual-band {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: 0 0 1.75rem;
}

.cmp-visual-card {
    overflow: hidden;
    border-radius: var(--fx-radius-lg, 16px);
    border: 1px solid var(--fx-border);
    background: var(--fx-surface);
    box-shadow: var(--fx-shadow-sm);
}

.cmp-visual-card img {
    width: 100%;
    height: auto;
    display: block;
}

.cmp-visual-caption {
    padding: 0.85rem 1rem;
    font-size: 0.88rem;
    color: var(--fx-text-muted);
    line-height: 1.45;
    border-top: 1px solid var(--fx-border);
}

.cmp-visual-caption strong {
    color: var(--fx-text-strong);
    font-weight: 700;
}

/* ---------- Wrap + board ---------- */
.compare-wrap {
    padding: 2.5rem 0 4.5rem;
    background: var(--cmp-bg);
}

.compare-wrap .container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1rem;
}

.cmp-section-title {
    font-size: clamp(1.35rem, 2.5vw, 1.65rem);
    margin: 0 0 1.15rem;
    color: var(--cmp-text-strong);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.cmp-board {
    position: relative;
    background: var(--cmp-surface);
    border: 1px solid var(--cmp-border);
    border-radius: var(--fx-radius-lg, 16px);
    box-shadow: var(--fx-shadow);
    overflow: clip;
}

.cmp-sticky-sentinel { position: absolute; top: 0; height: 1px; width: 1px; }

.cmp-headbar,
.cmp-row {
    display: grid;
    grid-template-columns: var(--cmp-col-label) 1fr 1fr;
}

.cmp-headbar {
    position: sticky;
    top: var(--site-header-h, 104px);
    z-index: 20;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--cmp-border-2);
    transition: box-shadow 0.3s ease;
}

.cmp-headbar.is-stuck {
    box-shadow: 0 12px 28px -12px rgba(15, 23, 42, 0.14);
}

.cmp-head-cell {
    padding: 1.25rem 1.25rem 1.1rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
    border-left: 1px solid var(--cmp-border);
    position: relative;
    min-width: 0;
}

.cmp-head-cell--label {
    border-left: none;
    justify-content: flex-end;
    color: var(--cmp-muted);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.cmp-head-cell.is-top::before {
    content: 'Top rated';
    position: absolute;
    top: -1px;
    right: -1px;
    background: var(--cmp-gold);
    color: #111;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.28rem 0.55rem;
    border-radius: 0 0 0 10px;
}

.cmp-head-logo {
    width: auto;
    max-width: min(140px, 100%);
    height: 46px;
    object-fit: contain;
    object-position: left center;
}

.cmp-head-cell .cmp-logo-frame {
    max-width: min(140px, 100%);
    height: 46px;
}

.cmp-head-cell .cmp-logo-frame .cmp-head-logo {
    width: auto;
    max-width: 100%;
    height: 100%;
}

.cmp-head-logo--fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 10px;
    background: var(--fx-gold-light);
    color: var(--fx-gold-deep);
    font-weight: 800;
    font-size: 1.15rem;
    border: 1px solid rgba(229, 165, 10, 0.28);
}

.cmp-head-name {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--cmp-text-strong);
    letter-spacing: -0.01em;
    line-height: 1.2;
    max-width: 100%;
    overflow-wrap: anywhere;
}

.cmp-head-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    max-width: 100%;
}

.cmp-score-pill {
    display: inline-flex;
    align-items: baseline;
    gap: 0.15rem;
    padding: 0.22rem 0.6rem;
    border-radius: 999px;
    font-size: 0.86rem;
    font-weight: 800;
    background: var(--fx-score-pill-bg);
    border: 1px solid var(--fx-score-pill-border);
    color: var(--fx-gold-deep);
}

.cmp-score-pill small {
    font-size: 0.72em;
    font-weight: 700;
    color: var(--fx-text-muted);
}

.cmp-status-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.22rem 0.6rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    color: #fff;
}

.cmp-status-pill--regulated   { background: var(--fx-success); }
.cmp-status-pill--unregulated { background: #6b7280; }
.cmp-status-pill--suspicious  { background: var(--fx-warning); }
.cmp-status-pill--blacklisted { background: var(--fx-danger); }

.cmp-head-visit {
    margin-top: 0.15rem;
    max-width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.6rem 1rem;
    border-radius: 10px;
    background: var(--cmp-gold);
    color: #111;
    font-weight: 800;
    font-size: 0.88rem;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.2s ease, background-color 0.2s;
}

.cmp-head-visit:hover {
    transform: translateY(-1px);
    box-shadow: var(--fx-shadow-gold);
    background: var(--fx-gold-hot, #f7c948);
}

.cmp-head-swap {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    padding: 0.48rem 0.7rem;
    border: 1px solid var(--cmp-border-2);
    border-radius: 8px;
    background: var(--fx-surface-2);
    font-size: 0.82rem;
    color: var(--cmp-text);
    cursor: pointer;
    transition: border-color 0.2s;
}

.cmp-head-swap:focus,
.cmp-head-swap:hover {
    border-color: var(--cmp-gold);
    outline: none;
}

.cmp-section + .cmp-section { border-top: 1px solid var(--cmp-border); }

.cmp-section-head {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.8rem 1.25rem;
    background: var(--cmp-bg-alt);
    border-top: 1px solid var(--cmp-border);
    border-bottom: 1px solid var(--cmp-border);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--cmp-muted);
}

.cmp-section-head svg {
    width: 16px;
    height: 16px;
    color: var(--cmp-gold);
    flex: none;
}

.cmp-row {
    border-top: 1px solid var(--cmp-border);
    transition: background-color 0.2s;
}

.cmp-row:hover { background: rgba(229, 165, 10, 0.03); }

.cmp-section-body .cmp-row:first-child { border-top: none; }
.cmp-section-body .cmp-row:nth-child(even) { background: var(--fx-surface-2); }

.cmp-th,
.cmp-td {
    padding: 1rem 1.25rem;
    font-size: 0.96rem;
    line-height: 1.5;
    display: flex;
    align-items: center;
    min-width: 0;
}

.cmp-th {
    font-weight: 600;
    color: var(--cmp-muted);
}

.cmp-td {
    border-left: 1px solid var(--cmp-border);
    color: var(--cmp-text);
    gap: 0.45rem;
    flex-wrap: wrap;
}

.cmp-td small { color: var(--cmp-muted); font-weight: 600; }

.cmp-td.is-win {
    background: var(--cmp-win-bg);
    color: var(--cmp-win-ink);
    font-weight: 700;
    box-shadow: inset 0 0 0 1px var(--cmp-win-edge);
}

.cmp-section-body .cmp-row:nth-child(even) .cmp-td.is-win { background: var(--cmp-win-bg); }

.cmp-win-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #111;
    background: rgba(21, 128, 61, 0.15);
    border: 1px solid rgba(21, 128, 61, 0.28);
    padding: 0.12rem 0.45rem;
    border-radius: 999px;
}

.cmp-bool { display: inline-flex; align-items: center; gap: 0.35rem; font-weight: 700; }
.cmp-bool svg { width: 18px; height: 18px; flex: none; }
.cmp-bool--yes { color: var(--cmp-yes); }
.cmp-bool--no  { color: var(--cmp-no); font-weight: 600; }

.reg-pill {
    display: inline-block;
    padding: 0.18rem 0.55rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0.2rem 0.2rem 0;
}

.reg-tier1 { background: var(--cmp-tier1); }
.reg-tier2 { background: var(--cmp-tier2); }
.reg-tier3 { background: var(--cmp-tier3); }

.cmp-dash { color: var(--cmp-no); }
.cmp-chips { display: flex; flex-wrap: wrap; gap: 0.35rem; }

.cmp-chip {
    display: inline-block;
    padding: 0.22rem 0.55rem;
    border-radius: 8px;
    background: var(--fx-surface-2);
    border: 1px solid var(--cmp-border);
    font-size: 0.82rem;
    color: var(--cmp-text);
}

/* ---------- CTA strip ---------- */
.cmp-cta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.1rem;
    margin-top: 1.35rem;
}

.cmp-cta-col {
    background: var(--cmp-surface);
    border: 1px solid var(--cmp-border);
    border-radius: var(--fx-radius-lg, 16px);
    padding: 1.35rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    text-align: center;
    box-shadow: var(--fx-shadow-sm);
}

.cmp-cta-name {
    font-weight: 800;
    color: var(--cmp-text-strong);
    font-size: 1.05rem;
}

.btn-cta {
    display: inline-block;
    text-align: center;
    padding: 0.9rem 1.15rem;
    font-weight: 800;
    text-decoration: none;
    border-radius: 12px;
    background: var(--cmp-gold);
    color: #111;
    transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.2s ease, background-color 0.2s;
    font-size: 0.98rem;
}

.btn-cta:hover {
    transform: translateY(-1px);
    box-shadow: var(--fx-shadow-gold);
    background: var(--fx-gold-hot, #f7c948);
}

.cmp-cta-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.45rem 1rem;
    margin-top: 0.35rem;
}

.cmp-cta-secondary {
    font-size: 0.88rem;
    color: var(--cmp-muted);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.cmp-cta-secondary:hover { color: var(--fx-gold-deep); }

/* ---------- FAQ ---------- */
.cmp-faq { margin: 3rem 0 0; }

.cmp-faq h2 {
    font-size: clamp(1.35rem, 2.5vw, 1.65rem);
    font-weight: 800;
    margin: 0 0 1rem;
    color: var(--cmp-text-strong);
    letter-spacing: -0.02em;
}

.cmp-faq details {
    border: 1px solid var(--cmp-border);
    border-radius: 14px;
    margin: 0 0 0.65rem;
    overflow: hidden;
    background: var(--cmp-surface);
    transition: box-shadow 0.2s, border-color 0.2s;
}

.cmp-faq details:hover {
    border-color: var(--fx-border-strong);
    box-shadow: var(--fx-shadow-sm);
}

.cmp-faq summary {
    cursor: pointer;
    padding: 1.1rem 1.25rem;
    font-weight: 700;
    font-size: 1rem;
    color: var(--cmp-text-strong);
    list-style: none;
}

.cmp-faq summary::-webkit-details-marker { display: none; }

.cmp-faq summary::after {
    content: '+';
    float: right;
    color: var(--cmp-gold);
    font-weight: 800;
    font-size: 1.15rem;
}

.cmp-faq details[open] summary::after { content: '–'; }

.cmp-faq details p {
    margin: 0;
    padding: 0 1.25rem 1.1rem;
    color: var(--cmp-muted);
    line-height: 1.65;
    font-size: 0.96rem;
}

/* ---------- Related reviews ---------- */
.cmp-related {
    margin: 2.25rem 0 0;
    padding: 1.25rem 1.5rem;
    background: var(--cmp-surface);
    border: 1px solid var(--cmp-border);
    border-radius: var(--fx-radius-lg, 16px);
    box-shadow: var(--fx-shadow-sm);
}

.cmp-related h2 {
    font-size: 1.15rem;
    font-weight: 800;
    margin: 0 0 0.75rem;
    color: var(--cmp-text-strong);
}

.cmp-related ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 1.25rem;
}

.cmp-related a {
    color: var(--fx-gold-deep);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.96rem;
    transition: color 0.2s;
}

.cmp-related a:hover {
    color: var(--fx-gold);
    text-decoration: underline;
}

/* ---------- Disclaimer ---------- */
.cmp-disclaimer {
    margin: 2.25rem 0 0;
    padding: 1.1rem 1.25rem;
    background: var(--fx-gold-light, #fff3c6);
    border: 1px solid rgba(229, 165, 10, 0.22);
    border-left: 3px solid var(--cmp-gold);
    border-radius: 10px;
    font-size: 0.84rem;
    color: var(--fx-text-muted);
    line-height: 1.6;
}

.cmp-disclaimer strong { color: var(--fx-text-strong); }

/* ====================================================================
   Responsive
   ==================================================================== */
@media (max-width: 960px) {
    .compare-hero-grid,
    .compare-hero--hub .compare-hero-grid {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }

    .compare-hero-visual { max-width: 520px; }
    .cmp-highlights-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cmp-visual-band { grid-template-columns: 1fr; }
    .cmp-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
    :root { --cmp-col-label: minmax(100px, 140px); }

    .cmp-picker {
        grid-template-columns: 1fr;
        padding: 1.15rem;
    }

    .cmp-picker-sep { display: none; }
    .cmp-picker-go { width: 100%; }

    .cmp-head-cell { padding: 0.95rem 0.8rem; gap: 0.45rem; }
    .cmp-head-logo { height: 36px; max-width: 100%; }
    .cmp-head-name { font-size: 1.02rem; }
    .cmp-head-visit { padding: 0.52rem 0.8rem; font-size: 0.82rem; align-self: stretch; }
    .cmp-head-visit-name { display: none; }
    .cmp-head-cell.is-top::before { font-size: 0.58rem; padding: 0.18rem 0.45rem; }

    .cmp-th, .cmp-td { padding: 0.8rem 0.8rem; font-size: 0.88rem; }
    .cmp-th { font-size: 0.8rem; }
    .cmp-section-head { padding: 0.7rem 0.8rem; font-size: 0.72rem; }
    .reg-pill, .cmp-chip { font-size: 0.78rem; }
    .cmp-win-tag { display: none; }
}

@media (max-width: 600px) {
    .compare-hero { padding: 2.35rem 0 1.85rem; }
    .compare-h1 { font-size: 1.65rem; }
    .cmp-highlights-grid { grid-template-columns: 1fr; margin-top: 0.75rem; }
    .cmp-cards { grid-template-columns: 1fr; }
    .cmp-hero-stats { gap: 0.5rem; }
    .cmp-hero-stat { min-width: calc(50% - 0.25rem); flex: 1 1 calc(50% - 0.25rem); }
}

@media (max-width: 480px) {
    :root { --cmp-col-label: minmax(85px, 110px); }

    .cmp-th, .cmp-td { padding: 0.7rem 0.55rem; font-size: 0.82rem; }
    .cmp-th { font-size: 0.72rem; }
    .cmp-cta { grid-template-columns: 1fr; }
    .cmp-head-swap { font-size: 0.78rem; }
    .cmp-hero-matchup { gap: 0.45rem; }
    .cmp-hero-broker-card img { width: 56px; height: 56px; }
}
