/* Zenoo vs pages (/compare/*) and the /compare index. Built on the feature-page
   layer (pages.css .zf-*, fpage.css .wf-*); only what those do not have lives here. */

/* hero: the two marks side by side, and the buttons */
.vs-duo { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; padding: 6px 14px 6px 6px; border-radius: 999px; background: var(--surface); box-shadow: 0 0 0 1px var(--cu-line), 0 10px 30px -18px rgba(20,12,60,.35); font: 500 13px/1 var(--font-mono); color: var(--ink-3); letter-spacing: .04em; }
.vs-duo .vs-mk { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: #fff; box-shadow: 0 0 0 1px var(--cu-line); overflow: hidden; flex: none; }
.vs-duo .vs-mk svg { width: 18px; height: 18px; }
.vs-duo .vs-mk img { width: 100%; height: 100%; object-fit: contain; }
.vs-duo b { font: 600 14px/1 var(--font-ui, inherit); color: var(--ink); letter-spacing: 0; }
.vs-mono { width: 100%; height: 100%; display: grid; place-items: center; font: 700 13px/1 var(--font-ui, inherit); letter-spacing: -.02em; color: #fff; }
.vs-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.vs-btns .btn { min-height: 46px; }

/* the short answer: two honest cards */
.vs-pick { margin-top: 36px; display: grid; gap: 14px; }
.vs-pick > div { border-radius: 24px; padding: 28px 24px; background: var(--panel); display: grid; gap: 16px; align-content: start; }
.vs-pick > div.z { background: linear-gradient(var(--surface), var(--surface)) padding-box, linear-gradient(120deg, #8b74ff, #e8559a 60%, #f6844b) border-box; border: 1.5px solid transparent; box-shadow: 0 30px 60px -36px rgba(101,72,232,.45); }
.vs-pick h3 { font: 650 22px/1.2 var(--display); letter-spacing: -.03em; display: flex; align-items: center; gap: 10px; }
.vs-pick h3 .vs-mk { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: #fff; box-shadow: 0 0 0 1px var(--cu-line); overflow: hidden; flex: none; }
.vs-pick h3 .vs-mk img { width: 100%; height: 100%; object-fit: contain; }
.vs-pick h3 .vs-mk svg { width: 16px; height: 16px; }
.vs-pick ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.vs-pick li { display: flex; gap: 12px; font-size: 16.5px; line-height: 1.45; color: var(--ink); }
.vs-pick li svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--ink-3); }
.vs-pick .z li svg { color: var(--accent); }

/* side by side */
.vs-tbl { margin-top: 36px; border: 1px solid var(--cu-line); border-radius: 20px; overflow: hidden; background: var(--surface); }
.vs-tbl table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.vs-tbl th, .vs-tbl td { text-align: left; vertical-align: top; padding: 18px 20px; border-top: 1px solid var(--cu-line); font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.vs-tbl thead th { border-top: 0; padding-top: 20px; padding-bottom: 16px; font: 500 12px/1.2 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); background: var(--panel); }
.vs-tbl thead th .vs-hd { display: inline-flex; align-items: center; gap: 8px; }
.vs-tbl thead th .vs-hd i { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; background: #fff; box-shadow: 0 0 0 1px var(--cu-line); overflow: hidden; }
.vs-tbl thead th .vs-hd i img { width: 100%; height: 100%; object-fit: contain; }
.vs-tbl thead th .vs-hd i svg { width: 12px; height: 12px; }
.vs-tbl tbody th { font-weight: 600; color: var(--ink); font-size: 15px; }
.vs-tbl col.c-t { width: 24%; }
.vs-tbl td.z { background: #faf8ff; color: var(--ink); }
.vs-tbl thead th.z { background: #f1edff; color: #4d34c9; }
.vs-tbl .vs-c { display: flex; gap: 10px; }
.vs-tbl .vs-c > span:last-child { min-width: 0; }
.vs-m { width: 20px; height: 20px; border-radius: 50%; flex: none; display: grid; place-items: center; margin-top: 1px; }
.vs-m svg { width: 12px; height: 12px; }
.vs-m.y { background: var(--success-wash); color: #1d6b43; }
.vs-m.p { background: var(--attention-wash); color: #8f560a; }
.vs-m.n { background: var(--sunken); color: var(--ink-3); }
.vs-tbl sup a, .vs-src-ref { font: 500 11px/1 var(--font-mono); color: var(--accent); text-decoration: none; margin-left: 2px; }
.vs-tbl-note { margin-top: 14px; font: 400 13px/1.5 var(--font-mono); color: var(--ink-3); max-width: 80ch; }
@media (max-width: 760px) {
  .vs-tbl { border-radius: 16px; }
  .vs-tbl table, .vs-tbl tbody, .vs-tbl tr, .vs-tbl th, .vs-tbl td { display: block; width: auto; }
  .vs-tbl thead { display: none; }
  .vs-tbl tr { border-top: 1px solid var(--cu-line); padding: 16px; display: grid; gap: 10px; }
  .vs-tbl tbody tr:first-child { border-top: 0; }
  .vs-tbl th, .vs-tbl td { border: 0; padding: 0; }
  .vs-tbl td { padding: 12px 14px; border-radius: 12px; background: var(--panel); }
  .vs-tbl td::before { content: attr(data-h); display: block; margin-bottom: 6px; font: 500 11px/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
  .vs-tbl td.z::before { color: #4d34c9; }
}

/* switching or connecting: numbered steps on a rail */
.vs-steps { margin-top: 36px; display: grid; gap: 14px; counter-reset: vs; }
.vs-steps > div { position: relative; border-radius: 20px; padding: 26px 24px 24px; background: var(--panel); display: grid; gap: 8px; align-content: start; }
.vs-steps > div::before { counter-increment: vs; content: counter(vs, decimal-leading-zero); font: 500 13px/1 var(--font-mono); color: var(--accent); }
.vs-steps h3 { font: 650 20px/1.2 var(--display); letter-spacing: -.025em; }
.vs-steps p { color: var(--ink-2); font-size: 15.5px; line-height: 1.55; }

/* where they are the better choice */
.vs-fair { margin-top: 32px; display: grid; gap: 0; border-top: 1px solid var(--cu-line); max-width: 980px; }
.vs-fair > div { display: grid; grid-template-columns: 28px minmax(0,1fr); gap: 4px 14px; padding: 20px 0; border-bottom: 1px solid var(--cu-line); }
.vs-fair svg { width: 20px; height: 20px; color: var(--ink-3); margin-top: 3px; grid-row: 1 / span 2; }
.vs-fair b { font-weight: 600; font-size: 17px; color: var(--ink); }
.vs-fair span { color: var(--ink-2); font-size: 15.5px; line-height: 1.55; grid-column: 2; }

/* sources */
.vs-src { margin-top: 28px; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 10px; max-width: 900px; }
.vs-src li { counter-increment: s; display: grid; grid-template-columns: 34px minmax(0,1fr); gap: 10px; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); scroll-margin-top: 100px; }
.vs-src li::before { content: "[" counter(s) "]"; font: 500 12px/1.9 var(--font-mono); color: var(--ink-3); }
.vs-src a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--cu-line); text-underline-offset: 3px; overflow-wrap: anywhere; }
.vs-src a:hover { text-decoration-color: var(--accent); }
.vs-src li:target { background: #f6f3ff; border-radius: 8px; }
.vs-checked { margin-top: 18px; font: 400 13px/1.5 var(--font-mono); color: var(--ink-3); max-width: 80ch; }

/* other comparisons, and the index grid */
.vs-grid { margin-top: 32px; display: grid; gap: 12px; }
.vs-card { position: relative; display: grid; grid-template-columns: 44px minmax(0,1fr) 20px; align-items: center; gap: 14px; padding: 18px 20px; border-radius: 18px; background: var(--surface); box-shadow: 0 0 0 1px var(--cu-line); text-decoration: none; color: var(--ink); transition: box-shadow .2s var(--ease), transform .2s var(--ease); }
.vs-card:hover { box-shadow: 0 0 0 1px #d9d2ff, 0 18px 40px -24px rgba(101,72,232,.45); transform: translateY(-1px); }
.vs-card .vs-mk { width: 44px; height: 44px; border-radius: 12px; overflow: hidden; box-shadow: 0 0 0 1px var(--cu-line); background: #fff; display: grid; place-items: center; }
.vs-card .vs-mk img { width: 100%; height: 100%; object-fit: contain; }
.vs-card b { display: block; font: 650 18px/1.2 var(--display); letter-spacing: -.02em; }
.vs-card small { display: block; margin-top: 4px; font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.vs-card::after { content: "→"; color: var(--ink-3); transition: transform .2s var(--ease), color .2s; }
.vs-card:hover::after { transform: translateX(3px); color: var(--accent); }
.vs-grid.sm .vs-card { grid-template-columns: 32px minmax(0,1fr) 16px; padding: 12px 16px; border-radius: 14px; }
.vs-grid.sm .vs-mk { width: 32px; height: 32px; border-radius: 9px; }
.vs-grid.sm b { font-size: 15.5px; }

.vs-grp + .vs-grp { margin-top: 56px; }
.vs-grp h3 { font: 650 24px/1.2 var(--display); letter-spacing: -.03em; }
.vs-grp > p { margin-top: 8px; color: var(--ink-2); font-size: 16.5px; line-height: 1.5; max-width: 60ch; }

/* the flow block: the vendor this page is about wears a ring */
.wf-logos img.vs-me { width: 30px; height: 30px; box-shadow: 0 0 0 2px #8b74ff, 0 6px 14px -6px rgba(101,72,232,.6); position: relative; z-index: 1; }
.wf-ck.vs-on { border-color: #d9d2ff; box-shadow: 0 0 0 3px #f1edff; }

@media (min-width: 900px) {
  .vs-pick { grid-template-columns: 1fr 1fr; gap: 16px; max-width: 1080px; }
  .vs-pick > div { padding: 40px; }
  .vs-steps { grid-template-columns: repeat(var(--n, 3), minmax(0,1fr)); gap: 16px; }
  .vs-steps > div { padding: 32px 28px; }
  .vs-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
  .vs-grid.sm { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (min-width: 1200px) { .vs-grid.sm { grid-template-columns: repeat(5, minmax(0,1fr)); } }
