/* Comparison landing page (best-tab-manager-chrome). Builds on seo-detail.css; only what that file lacks. */
body.seo-page { --cmp-sticky: 138px; --ok: #8ff0b8; --no: #ff9db3; --part: #ffd27a; --soft: #d9cdd2; }
body.seo-page .cmp-wide { grid-template-columns: minmax(0, 1fr); }
body.seo-page .cmp-wide > h2, body.seo-page .cmp-wide > :not(h2) { grid-column: 1; grid-row: auto; }
body.seo-page .cmp-wide > p { max-width: 46rem; }

/* Hero */
.cmp-hero-note { color: var(--soft); font-size: var(--fs-small); line-height: 1.5; margin-top: -10px; }
.cmp-trust { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 24px; margin: 8px 0 0; padding: 20px 0 0; list-style: none; border-top: 1px solid var(--line); }
.cmp-trust li { display: flex; align-items: center; gap: 10px; color: var(--text-primary); font-size: .9375rem; line-height: 1.35; font-weight: 560; }
.cmp-trust svg { flex: none; width: 20px; height: 20px; fill: none; stroke: var(--red-text); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cmp-shot { margin-bottom: 36px; }
.cmp-shot .cmp-popup { position: absolute; right: 14px; bottom: -36px; width: 23%; height: auto; border-radius: 12px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .16), 0 24px 50px -12px rgba(0, 0, 0, .8); }

/* TL;DR */
.cmp-tldr { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 20px clamp(32px, 4.5vw, 72px); margin: 0 0 clamp(48px, 5vw, 72px); padding: clamp(24px, 3vw, 40px); border: 1px solid var(--line-strong); border-radius: calc(var(--radius) + 4px); background: linear-gradient(160deg, rgba(var(--primary-rgb), .12), rgba(var(--primary-rgb), .02) 55%), var(--plate); }
.cmp-tldr h2 { font-size: var(--fs-h2); font-weight: 720; line-height: 1.1; letter-spacing: -.03em; align-self: start; }
.cmp-tldr ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.cmp-tldr li { position: relative; padding-left: 28px; color: var(--text-secondary); line-height: 1.55; }
.cmp-tldr li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 10px; height: 10px; border-radius: 50%; background: var(--red-text); }
.cmp-tldr li b { color: var(--text-primary); font-weight: 650; }
.cmp-pick { grid-column: 2; margin-top: 4px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--text-primary); font-weight: 560; line-height: 1.55; }

/* Table */
.cmp-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius); background: var(--plate); }
.cmp-table-wrap:focus-visible { outline-offset: 2px; }
.cmp-table-wrap .seo-table { min-width: 1040px; border-collapse: separate; border-spacing: 0; }
.cmp-table-wrap .seo-table th, .cmp-table-wrap .seo-table td { width: 16%; padding: 14px 16px; }
.cmp-table-wrap .seo-table th { background: #1d1619; vertical-align: bottom; }
.cmp-table-wrap .seo-table th:first-child, .cmp-table-wrap .seo-table td:first-child { width: 13%; min-width: 130px; position: sticky; left: 0; z-index: 1; background: var(--plate); }
.cmp-table-wrap .seo-table th:first-child { background: #1d1619; z-index: 3; }
.cmp-table-wrap .seo-table td, .cmp-table-wrap .seo-table td:last-child { color: var(--text-secondary); }
.cmp-table-wrap .seo-table td:first-child { color: var(--text-primary); }
.cmp-table-wrap .seo-table th.cmp-wp, .cmp-table-wrap .seo-table td.cmp-wp { background: #2a0f17; box-shadow: inset 1px 0 0 rgba(255, 92, 127, .35), inset -1px 0 0 rgba(255, 92, 127, .35); }
.cmp-table-wrap .seo-table th.cmp-wp { color: #fff; box-shadow: inset 1px 0 0 rgba(255, 92, 127, .35), inset -1px 0 0 rgba(255, 92, 127, .35), inset 0 2px 0 var(--red); }
.cmp-badge { display: block; width: fit-content; margin-bottom: 6px; padding: 2px 9px; border-radius: 999px; background: var(--red-fill-deep); color: #fff; font-size: .75rem; font-weight: 700; letter-spacing: .01em; line-height: 1.5; }
.cmp-v { display: flex; align-items: flex-start; gap: 9px; }
.cmp-i { flex: none; display: grid; place-items: center; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%; font-size: .75rem; font-weight: 800; line-height: 1; }
.cmp-i--y { color: var(--ok); background: rgba(40, 200, 120, .16); }
.cmp-i--n { color: var(--no); background: rgba(255, 92, 127, .16); }
.cmp-i--p { color: var(--part); background: rgba(255, 180, 40, .16); }
.cmp-i--u { color: var(--text-muted); border: 1px solid var(--line-strong); }
.cmp-l { display: block; color: var(--text-primary); font-weight: 640; line-height: 1.35; }
.cmp-s { display: block; margin-top: 4px; color: var(--soft); font-size: .8125rem; line-height: 1.45; font-weight: 400; }
.cmp-u .cmp-l { color: var(--text-muted); font-weight: 500; }
.cmp-legend { margin: 14px 0 0; color: var(--soft); font-size: var(--fs-small); line-height: 1.6; max-width: none; }
.cmp-legend a { color: var(--text-primary); }
@media (min-width: 1100px) {
  .cmp-table-wrap { overflow: clip; }
  .cmp-table-wrap .seo-table { min-width: 0; }
  .cmp-table-wrap .seo-table th { position: sticky; top: var(--cmp-sticky); z-index: 2; }
  .cmp-table-wrap .seo-table th:first-child { z-index: 3; }
  .cmp-table-wrap .seo-table th:first-child, .cmp-table-wrap .seo-table td:first-child { position: static; }
  .cmp-table-wrap .seo-table th:first-child { position: sticky; }
}

/* Mid-page CTA band */
.cmp-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; margin: 0 0 clamp(48px, 5vw, 72px); padding: 22px clamp(20px, 3vw, 32px); border: 1px solid var(--line-strong); border-radius: var(--radius); background: linear-gradient(100deg, rgba(var(--primary-rgb), .14), rgba(var(--primary-rgb), .03)), var(--plate); }
.cmp-band p { margin: 0; color: var(--text-primary); font-size: 1.125rem; font-weight: 640; line-height: 1.4; max-width: 34rem; }
.cmp-band small { display: block; margin-top: 4px; color: var(--soft); font-size: var(--fs-small); font-weight: 400; }
.cmp-band .seo-button { flex: none; }
.cmp-band--tight { margin-top: clamp(32px, 4vw, 56px); }

/* Fit cards */
.cmp-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.cmp-grid .seo-card { display: flex; flex-direction: column; }
.cmp-grid .seo-card h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.cmp-grid .seo-card--wp { grid-column: 1 / -1; border-color: rgba(255, 92, 127, .5); background: linear-gradient(120deg, rgba(var(--primary-rgb), .16), rgba(var(--primary-rgb), .04)), var(--plate); }
.cmp-grid .seo-card--wp p { max-width: 52rem; font-size: 1.0625rem; }
.cmp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 16px; position: relative; }
.cmp-chip { display: inline-block; padding: 3px 11px; border-radius: 999px; font-size: .8125rem; font-weight: 640; line-height: 1.4; border: 1px solid transparent; }
.cmp-chip--green { color: #8ff0b8; background: rgba(40, 200, 120, .14); border-color: rgba(40, 200, 120, .4); }
.cmp-chip--amber { color: #ffd27a; background: rgba(255, 180, 40, .13); border-color: rgba(255, 180, 40, .4); }
.cmp-chip--pink { color: #ffb0c2; background: rgba(var(--primary-rgb), .16); border-color: rgba(255, 92, 127, .45); }
.cmp-chip--blue { color: #9fd0ff; background: rgba(70, 150, 255, .14); border-color: rgba(90, 160, 255, .4); }

/* Cost over two years */
.cmp-cost { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.cmp-price { display: flex; flex-direction: column; gap: 6px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--plate); }
.cmp-price--wp { border-color: rgba(255, 92, 127, .5); background: linear-gradient(160deg, rgba(var(--primary-rgb), .16), rgba(var(--primary-rgb), .03)), var(--plate); }
.cmp-price h3 { font-size: 1rem; font-weight: 650; color: var(--text-primary); }
.cmp-price .cmp-amt { color: var(--text-primary); font-size: 2rem; font-weight: 740; letter-spacing: -.03em; line-height: 1.1; }
.cmp-price .cmp-amt small { font-size: .9375rem; font-weight: 560; color: var(--soft); letter-spacing: 0; }
.cmp-price p { color: var(--soft); font-size: var(--fs-small); line-height: 1.5; }
.cmp-price .cmp-math { color: var(--text-primary); font-family: var(--font-mono); font-size: .8125rem; }
.cmp-note { margin: 16px 0 0; color: var(--soft); font-size: var(--fs-small); line-height: 1.6; max-width: 46rem; }

/* Lists, switch steps, sources */
.cmp-list { max-width: 40rem; margin: 0; padding-left: 1.25rem; color: var(--text-secondary); }
.cmp-list li { margin-bottom: 10px; padding-left: 4px; }
.cmp-list li::marker { color: var(--red-text); }
.cmp-paths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.cmp-paths .seo-card h3 { margin-bottom: 14px; }
.cmp-paths .seo-steps { position: relative; max-width: none; font-size: 1rem; }
.cmp-sources { max-width: 46rem; margin: 0; padding-left: 1.25rem; color: var(--text-secondary); font-size: var(--fs-small); }
.cmp-sources li { margin-bottom: 8px; overflow-wrap: anywhere; }
.cmp-sources .cmp-url { color: var(--soft); }

@media (max-width: 1100px) {
  .cmp-grid, .cmp-cost { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cmp-tldr { grid-template-columns: 1fr; }
  .cmp-pick { grid-column: 1; }
  .cmp-shot { margin-top: 8px; }
}
@media (max-width: 640px) {
  .cmp-grid, .cmp-cost, .cmp-paths, .cmp-trust { grid-template-columns: 1fr; }
  .cmp-shot .cmp-popup { width: 26%; right: 8px; bottom: -28px; }
}
@media (max-width: 600px) {
  .cmp-band .seo-button { width: 100%; }
  .cmp-table-wrap { overflow: visible; border: 0; border-radius: 0; background: transparent; }
  .cmp-table-wrap .seo-table { min-width: 0; }
  .cmp-table-wrap .seo-table th, .cmp-table-wrap .seo-table td { width: auto; }
  .cmp-table-wrap .seo-table th:first-child, .cmp-table-wrap .seo-table td:first-child { position: static; width: auto; min-width: 0; background: transparent; }
  .cmp-table-wrap .seo-table td.cmp-wp { background: #2a0f17; box-shadow: none; }
  .seo-table td[data-label]:not(:first-child)::before { color: #e2d6da; }
}

/* Hero headline: smaller than the single-column pages because the text column is half width */
.seo-hero .seo-hero-text h1 { font-size: clamp(2.25rem, 1.3rem + 2.4vw, 3.5rem); hyphens: manual; -webkit-hyphens: manual; overflow-wrap: normal; }
.seo-hero-text { gap: 20px; }
.cmp-grid .seo-card h3 { margin-bottom: 10px; }

/* Features only Workspace Pro mentions */
.cmp-uniq { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.cmp-uniq .cmp-feat { grid-column: span 2; display: flex; flex-direction: column; padding: 0; }
.cmp-uniq .cmp-feat:nth-child(n+4) { grid-column: span 3; }
.cmp-feat img { display: block; width: 100%; height: auto; aspect-ratio: 900 / 576; object-fit: cover; object-position: top left; border-bottom: 1px solid var(--line); }
.cmp-uniq .cmp-feat h3, .cmp-uniq .cmp-feat p, .cmp-uniq .cmp-feat .cmp-chips { margin-left: 24px; margin-right: 24px; }
.cmp-uniq .cmp-feat h3 { margin-top: 22px; margin-bottom: 8px; }
.cmp-uniq .cmp-feat p { flex: 1; }
.cmp-feat .cmp-chips { padding-bottom: 24px; align-items: center; }
.cmp-more { margin-left: auto; color: var(--text-primary); font-size: var(--fs-small); font-weight: 620; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(255, 255, 255, .34); }
.cmp-more:hover { text-decoration-color: var(--red-text); }
@media (max-width: 1100px) { .cmp-uniq .cmp-feat, .cmp-uniq .cmp-feat:nth-child(n+4) { grid-column: span 3; } .cmp-uniq .cmp-feat:last-child { grid-column: 1 / -1; } }
@media (max-width: 640px) { .cmp-uniq { grid-template-columns: 1fr; } .cmp-uniq .cmp-feat, .cmp-uniq .cmp-feat:nth-child(n+4), .cmp-uniq .cmp-feat:last-child { grid-column: 1; } }
.seo-hero p.cmp-checked { margin-top: -6px; color: var(--soft); font-size: var(--fs-small); line-height: 1.5; }

/* Tap target: "Learn more" links reach 44px height without changing the look much */
.cmp-uniq .cmp-feat .cmp-more { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 6px; margin-block: -8px; }
