/* StackAdvise design system v3 — zero-dependency, light/dark via prefers-color-scheme */
:root {
--surface: #fcfcfb;
--surface-2: #ffffff;
--page: #f7f7f4;
--ink-1: #101012;
--ink-2: #52514e;
--ink-3: #898781;
--grid: #e5e4dd;
--baseline: #c3c2b7;
--border: rgba(11,11,11,0.09);
--border-strong: rgba(11,11,11,0.14);
--accent: #2a78d6;
--accent-2: #1f63b8;
--accent-strong: #1c5cab;
--accent-ink: #ffffff;
--accent-soft: rgba(42,120,214,0.10);
--accent-glow: rgba(42,120,214,0.16);
--aqua: #1baf7a;
--aqua-glow: rgba(27,175,122,0.14);
--good: #006300;
--warn: #b45309;
--verdict-bg: linear-gradient(135deg, rgba(42,120,214,0.08), rgba(27,175,122,0.06));
--card-shadow: 0 1px 2px rgba(16,16,18,0.04), 0 8px 24px -12px rgba(16,16,18,0.10);
--card-shadow-hover: 0 3px 6px rgba(16,16,18,0.07), 0 20px 44px -14px rgba(16,16,18,0.20);
--header-bg: rgba(252,252,251,0.78);
--focus-ring: 0 0 0 3px rgba(42,120,214,0.35);
--scrollbar-track: transparent;
}
@media (prefers-color-scheme: dark) {
:root {
--surface: #1a1a19;
--surface-2: #201f1e;
--page: #0d0d0c;
--ink-1: #f5f5f2;
--ink-2: #c3c2b7;
--ink-3: #8f8d86;
--grid: #292926;
--baseline: #3c3c39;
--border: rgba(255,255,255,0.085);
--border-strong: rgba(255,255,255,0.15);
--accent: #4a90e8;
--accent-2: #3d7fd6;
--accent-strong: #6ea7ee;
--accent-ink: #ffffff;
--accent-soft: rgba(74,144,232,0.13);
--accent-glow: rgba(74,144,232,0.22);
--aqua: #23c188;
--aqua-glow: rgba(35,193,136,0.16);
--good: #21b021;
--warn: #fab219;
--verdict-bg: linear-gradient(135deg, rgba(74,144,232,0.14), rgba(35,193,136,0.08));
--card-shadow: 0 1px 2px rgba(0,0,0,0.3), 0 8px 24px -12px rgba(0,0,0,0.55);
--card-shadow-hover: 0 4px 10px rgba(0,0,0,0.35), 0 26px 54px -16px rgba(0,0,0,0.65);
--header-bg: rgba(13,13,12,0.78);
}
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
html { scroll-behavior: auto; }
* { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}
body {
font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
background: var(--page); color: var(--ink-1); line-height: 1.65;
font-size: 16px;
-webkit-font-smoothing: antialiased;
position: relative;
min-height: 100vh;
}
/* ambient background glow — fixed, behind everything, purely decorative */
body::before {
content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
background:
radial-gradient(680px 460px at 14% -6%, var(--accent-glow), transparent 60%),
radial-gradient(560px 420px at 92% 8%, var(--aqua-glow), transparent 62%),
radial-gradient(900px 600px at 50% 120%, var(--accent-soft), transparent 65%);
opacity: 0.9;
}
.wrap { max-width: 880px; margin: 0 auto; padding: 0 20px; }
.wrap-wide { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible, input:focus-visible {
outline: none; box-shadow: var(--focus-ring); border-radius: 6px;
}
::selection { background: var(--accent); color: #fff; }
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--scrollbar-track); }
::-webkit-scrollbar-thumb { background: var(--baseline); border-radius: 8px; border: 3px solid var(--page); }
::-webkit-scrollbar-thumb:hover { background: var(--ink-3); }

/* header */
header.site {
border-bottom: 1px solid var(--border);
background: var(--header-bg);
backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
position: sticky; top: 0; z-index: 50;
box-shadow: 0 1px 0 rgba(0,0,0,0.02), 0 12px 24px -20px rgba(0,0,0,0.3);
}
header.site .bar { display: flex; align-items: center; gap: 24px; padding: 13px 20px; max-width: 1100px; margin: 0 auto; }
.logo { display: flex; align-items: center; gap: 9px; font-weight: 750; font-size: 17.5px; color: var(--ink-1); letter-spacing: -0.02em; }
.logo:hover { text-decoration: none; opacity: 0.85; }
.logo svg { width: 24px; height: 24px; border-radius: 6px; display: block; filter: drop-shadow(0 2px 6px rgba(42,120,214,0.35)); }
nav.main { display: flex; gap: 4px; margin-left: auto; flex-wrap: wrap; align-items: center; }
nav.main a { color: var(--ink-2); font-size: 14px; padding: 6px 11px; border-radius: 7px; transition: color .15s ease, background .15s ease; }
nav.main a:hover { color: var(--ink-1); background: var(--accent-soft); text-decoration: none; }
/* current page — a filled pill so you always know which tab you're on */
nav.main a.active { color: var(--accent); background: var(--accent-soft); font-weight: 650; }
nav.main a.active:hover { color: var(--accent); }
nav.main a.cta.active { color: var(--accent-ink); box-shadow: 0 2px 10px -3px var(--accent-glow), 0 0 0 2px var(--accent-soft), 0 0 0 3px var(--accent); }
nav.main a.cta {
color: var(--accent-ink); background: linear-gradient(135deg, var(--accent), var(--accent-2));
font-weight: 600; margin-left: 6px; box-shadow: 0 2px 10px -3px var(--accent-glow);
}
nav.main a.cta:hover { background: linear-gradient(135deg, var(--accent-strong), var(--accent)); color: var(--accent-ink); box-shadow: 0 4px 16px -3px var(--accent-glow); }

/* typography */
h1 { font-size: clamp(28px, 5vw, 44px); letter-spacing: -0.03em; line-height: 1.08; font-weight: 800; }
h2 { font-size: 23px; letter-spacing: -0.02em; margin: 44px 0 12px; font-weight: 750; }
h3 { font-size: 17px; margin: 24px 0 8px; font-weight: 700; }
p { margin: 12px 0; }
.lede { font-size: 18.5px; color: var(--ink-2); max-width: 620px; line-height: 1.6; }
.meta { font-size: 13px; color: var(--ink-3); }
.small { font-size: 13px; color: var(--ink-3); }
.eyebrow {
display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 700; letter-spacing: 0.08em;
text-transform: uppercase; color: var(--accent); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--aqua)); box-shadow: 0 0 0 3px var(--accent-soft); flex: none; }
main { padding: 40px 0 80px; }
article ul, article ol { margin: 12px 0 12px 24px; }
article li { margin: 6px 0; }
article > h1 { margin-top: 8px; }

/* cards & boxes */
.card {
background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
padding: 22px; box-shadow: var(--card-shadow);
transition: box-shadow .22s ease, transform .22s ease, border-color .22s ease;
position: relative;
}
a .card:hover, .card.link:hover { box-shadow: var(--card-shadow-hover); transform: translateY(-3px); border-color: var(--border-strong); }
.verdict {
background: var(--verdict-bg);
border: 1px solid var(--border); border-left: 4px solid var(--accent);
border-radius: 14px; padding: 20px 22px; margin: 22px 0;
box-shadow: var(--card-shadow);
}
.verdict .k { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); font-weight: 750; }
.verdict p { margin: 8px 0 4px; font-size: 16.5px; line-height: 1.55; }

/* CTA buttons */
.btn {
display: inline-block; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: var(--accent-ink);
font-weight: 650; font-size: 15px; padding: 11px 22px; border-radius: 10px; border: none; cursor: pointer;
box-shadow: 0 1px 2px rgba(16,16,18,0.15), 0 6px 16px -6px var(--accent-glow), inset 0 1px 0 rgba(255,255,255,0.18);
transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
font-family: inherit;
}
.btn:hover { background: linear-gradient(135deg, var(--accent-strong), var(--accent)); text-decoration: none; transform: translateY(-1px); box-shadow: 0 4px 14px -3px var(--accent-glow), 0 2px 4px rgba(16,16,18,0.18); }
.btn:active { transform: translateY(0); }
.btn.ghost { background: transparent; color: var(--accent); border: 1.5px solid var(--border-strong); box-shadow: none; }
.btn.ghost:hover { background: var(--accent-soft); border-color: var(--accent); box-shadow: none; }
.btn.big { font-size: 16.5px; padding: 15px 30px; border-radius: 12px; }

/* plain outbound link — used instead of .btn for tools with no affiliate program, so it doesn't visually imply a monetized "try free" CTA */
.plainlink { font-size: 13.5px; color: var(--ink-3); text-decoration: underline; text-underline-offset: 2px; }
.plainlink:hover { color: var(--ink-1); }
.toolcard .plainlink { align-self: flex-start; margin-top: auto; }

/* comparison table */
.cmp {
width: 100%; border-collapse: separate; border-spacing: 0; margin: 22px 0; font-size: 14.5px;
background: var(--surface); border: 1px solid var(--border); border-radius: 14px; overflow: hidden;
box-shadow: var(--card-shadow);
}
.cmp th, .cmp td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--grid); vertical-align: top; }
.cmp thead th { font-size: 13.5px; color: var(--ink-1); font-weight: 750; background: linear-gradient(180deg, var(--accent-soft), transparent); border-bottom: 1px solid var(--border); }
.cmp tbody tr:last-child td { border-bottom: none; }
.cmp tbody tr:nth-child(even) td { background: color-mix(in srgb, var(--surface) 96%, var(--ink-1) 2%); }
.cmp tbody tr:hover td { background: var(--accent-soft); }
.cmp .rowlab { color: var(--ink-3); font-size: 12.5px; white-space: nowrap; text-transform: uppercase; letter-spacing: 0.04em; font-weight: 600; }
.cmp .win { color: var(--good); font-weight: 650; font-size: 12.5px; }
.tablewrap { overflow-x: auto; border-radius: 14px; }

/* pros/cons */
.proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 16px 0; }
.proscons .card { padding: 16px 18px; }
.proscons h4 { font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 8px; }
.proscons .pro h4 { color: var(--good); }
.proscons .con h4 { color: var(--warn); }
.proscons ul { list-style: none; margin: 0; }
.proscons li { font-size: 14px; color: var(--ink-2); padding: 3px 0 3px 20px; position: relative; }
.proscons .pro li::before { content: "+"; position: absolute; left: 0; color: var(--good); font-weight: 800; }
.proscons .con li::before { content: "–"; position: absolute; left: 0; color: var(--warn); font-weight: 800; }

/* tool card grid */
.toolgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; margin: 22px 0; }
.toolcard { display: flex; flex-direction: column; }
.toolcard h3 { margin: 0 0 4px; font-size: 18px; }
.toolcard .price { font-size: 14px; color: var(--ink-2); margin: 2px 0 10px; }
.toolcard .price strong { color: var(--ink-1); font-size: 16px; }
.toolcard .fit { font-size: 14.5px; color: var(--ink-2); margin: 0 0 16px; flex: 1; }
.toolcard .btn { align-self: flex-start; }
.toolcard.decision { position: relative; padding-top: 24px; overflow: hidden; }
.toolcard.decision::before {
content: ""; position: absolute; top: 0; left: 22px; right: 22px; height: 3px; border-radius: 0 0 3px 3px;
background: linear-gradient(90deg, var(--accent), var(--aqua));
box-shadow: 0 0 12px 0 var(--accent-glow);
}

/* FAQ blocks */
.faqlist { margin: 16px 0 8px; }
.faq-item { border-bottom: 1px solid var(--grid); padding: 16px 0; }
.faq-item:last-child { border-bottom: none; }
.faq-item h3 { margin: 0 0 6px; font-size: 15.5px; }
.faq-item p { margin: 0; color: var(--ink-2); font-size: 14.5px; }

/* newsletter box */
.newsbox {
background: var(--surface); border: 1px solid var(--border); border-radius: 16px;
padding: 26px; margin: 44px 0 0; box-shadow: var(--card-shadow);
position: relative; overflow: hidden;
}
.newsbox::before {
content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
background: linear-gradient(90deg, var(--accent), var(--aqua));
}
.newsbox::after {
content: ""; position: absolute; top: -60px; right: -60px; width: 180px; height: 180px; border-radius: 50%;
background: radial-gradient(circle, var(--accent-glow), transparent 70%); pointer-events: none;
}
.newsbox form { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.newsbox input[type=email] {
flex: 1; min-width: 220px; padding: 11px 14px; border: 1px solid var(--baseline);
border-radius: 10px; background: var(--page); color: var(--ink-1); font-size: 15px;
transition: border-color .15s ease, box-shadow .15s ease;
}
.newsbox input[type=email]:focus { outline: none; border-color: var(--accent); box-shadow: var(--focus-ring); }

/* quiz */
.quiz { max-width: 640px; margin: 0 auto; }
.quiz .q { display: none; }
.quiz .q.active { display: block; animation: rise .3s ease; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.quiz .options { display: grid; gap: 10px; margin: 20px 0; }
.quiz .opt {
text-align: left; background: var(--surface); border: 1px solid var(--border);
border-radius: 12px; padding: 15px 18px; font-size: 15.5px; cursor: pointer; color: var(--ink-1); width: 100%;
box-shadow: var(--card-shadow); transition: border-color .15s, transform .15s, box-shadow .15s;
font-family: inherit; position: relative; overflow: hidden;
}
.quiz .opt::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: linear-gradient(180deg, var(--accent), var(--aqua)); transform: scaleY(0); transition: transform .18s ease; transform-origin: center; }
.quiz .opt:hover { border-color: var(--accent); transform: translateY(-1px); box-shadow: var(--card-shadow-hover); }
.quiz .opt:hover::before { transform: scaleY(1); }
.quiz .opt span { display: block; font-size: 13px; color: var(--ink-3); }
.quiz .progress { height: 5px; background: var(--grid); border-radius: 3px; margin: 18px 0 30px; overflow: hidden; }
.quiz .progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--aqua)); width: 0%; transition: width .3s ease; box-shadow: 0 0 10px var(--accent-glow); }
.quiz .back { background: none; border: none; color: var(--ink-3); font-size: 13px; cursor: pointer; padding: 0; font-family: inherit; }
.quiz .back:hover { color: var(--ink-1); }
#quiz-result { display: none; }

/* hero */
.hero { padding: 64px 0 36px; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px; align-items: center; }
.hero .actions { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.hero h1 { animation: fadeUp .5s ease; }
.hero .lede, .hero .actions, .hero .badges { animation: fadeUp .6s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.hero h1 .grad {
background: linear-gradient(90deg, var(--accent), var(--aqua));
-webkit-background-clip: text; background-clip: text; color: transparent;
}
.badges { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 30px; }
.badge {
font-size: 12.5px; border: 1px solid var(--border); border-radius: 999px; padding: 5px 13px;
color: var(--ink-2); background: var(--surface); display: inline-flex; align-items: center; gap: 6px;
box-shadow: var(--card-shadow);
}
.badge::before { content: "✓"; color: var(--good); font-weight: 800; }
.hero-demo { position: relative; animation: fadeUp .7s ease; }
.hero-demo::before {
content: ""; position: absolute; inset: -24px; z-index: -1;
background: radial-gradient(closest-side, var(--accent-glow), transparent 75%);
filter: blur(6px); opacity: 0.9;
}
.hero-demo .card { padding: 20px; box-shadow: var(--card-shadow-hover); border-color: var(--border-strong); }
.hero-demo .q-label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.07em; color: var(--ink-3); font-weight: 700; }
.hero-demo .q-text { font-size: 15.5px; font-weight: 650; margin: 6px 0 12px; }
.hero-demo .demo-opt {
border: 1px solid var(--border); border-radius: 9px; padding: 9px 13px; font-size: 13.5px;
color: var(--ink-2); margin-bottom: 7px; background: var(--page);
}
.hero-demo .demo-opt.sel { border-color: var(--accent); color: var(--ink-1); background: var(--accent-soft); font-weight: 600; box-shadow: 0 0 0 1px var(--accent-soft); }
.hero-demo .demo-verdict {
margin-top: 14px; padding: 13px 15px; border-radius: 10px; background: var(--verdict-bg);
border-left: 3px solid var(--accent); font-size: 13.5px;
}
.hero-demo .demo-verdict b { display: block; font-size: 14.5px; }

/* section headers */
.sechead { display: flex; align-items: baseline; gap: 14px; margin-top: 52px; }
.sechead h2 { margin: 0; }
.sechead .more { font-size: 14px; white-space: nowrap; }

/* footer */
footer.site { border-top: 1px solid var(--border); margin-top: 56px; padding: 40px 0 36px; background: var(--surface); position: relative; }
footer.site::before {
content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
background: linear-gradient(90deg, transparent, var(--accent), var(--aqua), transparent);
opacity: 0.6;
}
footer.site .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 24px; }
footer.site h4 { font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.07em; color: var(--ink-3); margin-bottom: 10px; }
footer.site a { color: var(--ink-2); font-size: 14px; display: block; padding: 3px 0; transition: color .15s ease, transform .15s ease; }
footer.site a:hover { color: var(--accent); text-decoration: none; transform: translateX(2px); }
footer.site .brand p { font-size: 13.5px; color: var(--ink-3); margin: 8px 0 0; max-width: 260px; }
footer.site .fine { margin-top: 28px; font-size: 12.5px; color: var(--ink-3); border-top: 1px solid var(--grid); padding-top: 18px; }
footer.site .fine a { display: inline; padding: 0; }

.disclosure {
font-size: 12.5px; color: var(--ink-3); background: var(--surface);
border: 1px solid var(--border); border-radius: 10px; padding: 9px 14px; margin: 18px 0;
display: flex; gap: 8px; align-items: baseline;
}
.disclosure::before { content: "ⓘ"; color: var(--accent); }

@media (max-width: 860px) {
.hero { grid-template-columns: 1fr; gap: 32px; padding-top: 44px; }
.hero-demo { max-width: 420px; }
}
@media (max-width: 640px) {
.proscons { grid-template-columns: 1fr; }
header.site .bar { gap: 10px; position: relative; }
nav.main {
gap: 2px; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch;
scroll-behavior: smooth; padding-right: 8px;
}
/* Fade only the edge that actually has more tabs off-screen — a real "there's more" cue. */
nav.main.more-right { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 30px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 30px), transparent); }
nav.main.more-left { -webkit-mask-image: linear-gradient(90deg, transparent, #000 20px); mask-image: linear-gradient(90deg, transparent, #000 20px); }
nav.main.more-left.more-right { -webkit-mask-image: linear-gradient(90deg, transparent, #000 20px, #000 calc(100% - 30px), transparent); mask-image: linear-gradient(90deg, transparent, #000 20px, #000 calc(100% - 30px), transparent); }
nav.main::-webkit-scrollbar { display: none; }
nav.main a { padding: 6px 9px; font-size: 13px; white-space: nowrap; flex: none; }
nav.main a.cta { margin-left: 2px; }
/* Nudging chevron — appears only while more tabs sit past the right edge. */
header.site .bar:has(nav.main.more-right)::after {
content: "›"; position: absolute; right: 4px; top: 50%;
font-size: 21px; line-height: 0; color: var(--accent); font-weight: 800;
pointer-events: none; text-shadow: 0 0 6px var(--page), 0 0 3px var(--page);
animation: navnudge 1.5s ease-in-out infinite;
}
footer.site .cols { grid-template-columns: 1fr 1fr; }
}
@keyframes navnudge { 0%, 100% { transform: translateY(-50%) translateX(0); opacity: .75; } 50% { transform: translateY(-50%) translateX(3px); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { header.site .bar:has(nav.main.more-right)::after { animation: none; } }

/* ---------- Compare-all page: category sections, logo marks, muted (non-partnered) cards ---------- */
.compare-hero { padding: 8px 0 4px; }
.cat-section { margin-top: 52px; }
.cat-section:first-of-type { margin-top: 28px; }
.cat-head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 4px; }
.cat-head h2 { margin: 0; }
.cat-desc { color: var(--ink-3); font-size: 14px; margin: 2px 0 18px; }
.comparegrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; margin: 16px 0 0; }
.comparecard { display: flex; flex-direction: column; gap: 10px; }
.comparecard .cc-top { display: flex; align-items: center; gap: 12px; }
.logomark {
width: 42px; height: 42px; border-radius: 11px; flex: none;
display: flex; align-items: center; justify-content: center;
font-weight: 800; font-size: 16px; color: #fff; letter-spacing: -0.02em;
box-shadow: 0 2px 6px -2px rgba(16,16,18,0.35), inset 0 1px 0 rgba(255,255,255,0.2);
}
.comparecard h3 { margin: 0; font-size: 16.5px; }
.comparecard .cc-cat { font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-3); font-weight: 650; }
.comparecard .fit { font-size: 14px; color: var(--ink-2); margin: 0; flex: 1; }
.comparecard .price { font-size: 13.5px; color: var(--ink-2); margin: 0; }
.comparecard .price strong { color: var(--ink-1); }
.comparecard .cc-bottom { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.comparecard.muted { opacity: 0.62; }
.comparecard.muted:hover { opacity: 0.85; }
.comparecard.muted .logomark { filter: grayscale(0.6); }
.notpartner { font-size: 11px; color: var(--ink-3); border: 1px solid var(--border); border-radius: 999px; padding: 3px 9px; white-space: nowrap; }

/* ---------- Comparisons hub: "versus" row list (distinct from the CRM card grid) ---------- */
.vslist { display: flex; flex-direction: column; gap: 12px; margin: 18px 0 0; }
.vsrow {
  display: flex; align-items: center; gap: 18px; padding: 15px 20px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
  box-shadow: var(--card-shadow); text-decoration: none; color: inherit;
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.vsrow:hover { box-shadow: var(--card-shadow-hover); transform: translateY(-2px); border-color: var(--border-strong); text-decoration: none; }
.vsrow .pair { display: flex; align-items: center; gap: 7px; flex: none; }
.vsrow .lm {
  width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 15px; color: #fff; flex: none;
  box-shadow: 0 2px 6px -2px rgba(16,16,18,0.35), inset 0 1px 0 rgba(255,255,255,0.2);
}
.vsrow .lm.a { background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
.vsrow .lm.b { background: linear-gradient(135deg, var(--aqua), #159e6d); }
.vsrow .vx { font-size: 11px; font-weight: 750; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.05em; }
.vsrow .body { flex: 1; min-width: 0; }
.vsrow .body h3 { margin: 0; font-size: 16px; }
.vsrow .body p { margin: 3px 0 0; font-size: 13.5px; color: var(--ink-2); line-height: 1.5; }
.vsrow .go { flex: none; color: var(--accent); font-weight: 650; font-size: 13.5px; white-space: nowrap; }
@media (max-width: 620px) {
  .vsrow { flex-wrap: wrap; gap: 12px; padding: 15px 16px; }
  .vsrow .go { width: 100%; }
}

/* stacks: top build-your-own CTA banner */
.buildcta { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.buildcta .btn { flex: none; }

/* tool logos in comparison table headers */
.cmp thead th { text-align: center; }
.logochip { height: 40px; max-width: 110px; object-fit: contain; object-position: center; display: block; margin: 0 auto 6px; }
.toolname { display: block; }

/* real logos over letter badges; if a logo file is missing the img removes itself and the letter shows */
.cmp thead th .toolname { display: none; }
.logomark, .lm { position: relative; overflow: hidden; }
.logomark .lmimg, .lm .lmimg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 5px; background: #fff; border-radius: inherit; box-sizing: border-box; }
