/* /compare section (loaded only on those pages via $seo['extra_css']). Uses the site's design tokens from style.css; blog card styles come from blog.css, loaded alongside where needed. */
.cmp-wrap { max-width: 1120px; }
.cmp-hero { padding-bottom: 1.5rem; }
.cmp-hero__head { text-align: left; margin-left: 0; max-width: 820px; }
.cmp-hero__head h1 { margin-bottom: .75rem; }
.cmp-reviewed { font-size: .85rem; color: var(--color-text-muted); margin: .75rem 0 0; }
.cmp-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cmp-section { margin: 0 0 2.75rem; }
.cmp-section h2, .cmp-verdict h2 { font-size: 1.5rem; line-height: 1.25; margin: 0 0 1rem; }
.cmp-prose p { max-width: 760px; line-height: 1.7; }
.cmp-more { margin: 1rem 0 0; color: var(--color-text-muted); font-size: .95rem; }
.cmp-sub { font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--color-text-muted); margin: .9rem 0 .25rem; }

.cmp-grid { display: grid; gap: 1.25rem; }
.cmp-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cmp-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cmp-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; margin: 0 0 2.75rem; }
.cmp-section .cmp-split { margin-bottom: 0; }
.cmp-card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 1.25rem 1.4rem; box-shadow: var(--shadow-sm); }
.cmp-card h2, .cmp-card h3 { font-size: 1.1rem; line-height: 1.35; margin: 0 0 .6rem; }
.cmp-card h3 a { color: var(--color-text); }
.cmp-card h3 a:hover { color: var(--color-primary); }
.cmp-card p { margin: 0 0 .75rem; color: var(--color-text-muted); font-size: .95rem; }
.cmp-card ul { margin: 0 0 .75rem; padding-left: 1.15rem; }
.cmp-card li { margin: 0 0 .4rem; font-size: .95rem; }
.cmp-card--a { border-top: 4px solid var(--color-primary); }
.cmp-card--b { border-top: 4px solid #0f766e; }
.cmp-card--good { border-top: 4px solid var(--color-success); }
.cmp-card--warn { border-top: 4px solid #d97706; }
.cmp-card--ours { background: var(--color-primary-light); border-color: var(--color-primary); }
.cmp-card--tool { display: flex; flex-direction: column; gap: .15rem; }
.cmp-chip { align-self: flex-start; padding: .15rem .65rem; font-size: .75rem; font-weight: 600; border-radius: 999px; background: var(--color-primary-light); color: var(--color-primary-dark); margin-bottom: .5rem; }
.cmp-facts { margin: .25rem 0 .75rem; }
.cmp-facts div { margin: 0 0 .5rem; }
.cmp-facts dt { font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--color-text-muted); }
.cmp-facts dd { margin: 0; font-size: .92rem; }
.cmp-link { font-weight: 600; font-size: .92rem; margin-top: auto; display: inline-block; }

.cmp-verdict { background: var(--color-primary-light); border: 1px solid #bfdbfe; border-radius: var(--radius-md); padding: 1.25rem 1.5rem; margin: 0 0 2rem; }
.cmp-verdict h2 { font-size: 1.15rem; margin-bottom: .5rem; }
.cmp-verdict p { margin: 0; line-height: 1.65; }
.cmp-note { background: #fffbeb; border: 1px solid #fde68a; border-radius: var(--radius-sm); padding: .85rem 1.1rem; font-size: .92rem; margin: 0 0 1.75rem; }

.cmp-table-wrap { overflow-x: auto; border: 1px solid var(--color-border); border-radius: var(--radius-md); background: #fff; }
.cmp-table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 520px; }
.cmp-table th, .cmp-table td { text-align: left; vertical-align: top; padding: .7rem .9rem; border-bottom: 1px solid var(--color-border); }
.cmp-table thead th { background: var(--color-bg-alt); font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--color-text-muted); }
.cmp-table tbody th { width: 22%; font-weight: 600; background: var(--color-bg-alt); }
.cmp-table tr:last-child th, .cmp-table tr:last-child td { border-bottom: 0; }
.cmp-table--matrix { min-width: 880px; }
.cmp-table--matrix tbody th { width: auto; }

.cmp-pairs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem 1.25rem; }
.cmp-pairs--wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cmp-pairs li { padding: .5rem 0; border-bottom: 1px solid var(--color-border); }
.cmp-pairs a { font-weight: 600; }

.cmp-faq__item { border: 1px solid var(--color-border); border-radius: var(--radius-sm); background: #fff; margin: 0 0 .6rem; }
.cmp-faq__item summary { cursor: pointer; padding: .85rem 1.1rem; font-weight: 600; }
.cmp-faq__item p { margin: 0; padding: 0 1.1rem 1rem; color: var(--color-text-muted); line-height: 1.65; }

.cmp-cta { background: var(--color-navy); color: #fff; border-radius: var(--radius-md); padding: 1.75rem 1.75rem; margin: 0 0 2rem; }
.cmp-cta__title { color: #fff; font-size: 1.35rem; margin: 0 0 .5rem; }
.cmp-cta p { color: #e2e8f0; margin: 0 0 1rem; max-width: 720px; }
.cmp-cta p:last-child { margin: 0; }
.cmp-cta .btn--outline { color: #fff; border-color: #94a3b8; }
.cmp-disclaimer { border-top: 1px solid var(--color-border); padding-top: 1.25rem; font-size: .85rem; color: var(--color-text-muted); }
.cmp-disclaimer__title { font-size: 1rem; margin: 0 0 .5rem; color: var(--color-text); }
.cmp-disclaimer p { margin: 0 0 .6rem; max-width: 820px; line-height: 1.6; }
.cmp-bloggrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

@media (max-width: 900px) {
  .cmp-grid--3, .cmp-pairs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .cmp-grid--3, .cmp-grid--2, .cmp-split, .cmp-pairs, .cmp-pairs--wide, .cmp-bloggrid { grid-template-columns: minmax(0, 1fr); }
  .cmp-table th, .cmp-table td { padding: .6rem .7rem; }
}

/* /solutions pages */
.sol-toc { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 2rem; }
.sol-toc a { padding: .25rem .8rem; font-size: .85rem; font-weight: 600; border-radius: 999px; background: var(--color-primary-light); color: var(--color-primary-dark); }
.sol-toc a:hover { background: var(--color-primary); color: #fff; }
.sol-table { min-width: 680px; }
.sol-table tbody th { width: 18%; }
.cmp-section[id] { scroll-margin-top: calc(var(--header-height, 114px) + 16px); }
.cmp-card[id] { scroll-margin-top: calc(var(--header-height, 114px) + 16px); }
.cmp-prose p { margin: 0 0 1rem; }
