/* HoneyBook comparison page (/alternatives/honeybook): TL;DR verdict, filterable table, cost calculator, sticky CTA.
   Loaded from content/tools/honeybook-alternative.html. Every block reads fine without JavaScript. */
.vsx-verdict, .vsx-calc, .vsx-table, .vsx-pick, .vsx-more, .vsx-sticky { --vu: #6c2bf2; --vu2: #e9388e; --vt: #d97706; --vt1: #fff7e6; --vok: #0f9d74; box-sizing: border-box; }
.vsx-verdict *, .vsx-calc *, .vsx-sticky * { box-sizing: border-box; }

/* ---------- TL;DR verdict ---------- */
.vsx-top { max-width: 1160px; margin: 0 auto; padding: 28px 16px 8px; position: relative; z-index: 2; }
.vsx-verdict { margin: 28px 0 34px; border-radius: 26px; padding: 26px 26px 24px; background: linear-gradient(135deg, #fbf8ff 0%, #fff 45%, #fff8ef 100%); border: 1px solid #e7defa; box-shadow: 0 30px 60px -40px rgba(60, 20, 140, .45); }
.vsx-top .vsx-verdict { margin: 0; }
.vsx-verdict__tag { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #4c1d95; background: #fff; padding: 6px 12px; border-radius: 99px; box-shadow: 0 6px 14px -8px rgba(76, 29, 149, .5); }
.vsx-verdict__tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(135deg, var(--vu), var(--vu2)); }
.vsx-verdict__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.vsx-verdict__h { margin: 0 0 12px; font-size: 18px; font-weight: 800; color: #14113a; line-height: 1.3; }
.vsx-verdict__who ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.vsx-verdict__who li { position: relative; margin: 0; padding: 12px 14px 12px 46px; border-radius: 16px; font-size: 15.5px; line-height: 1.5; color: #1b1744; background: #fff; border: 1px solid #eee8fb; }
.vsx-verdict__who li::before { content: ""; position: absolute; left: 14px; top: 14px; width: 22px; height: 22px; border-radius: 8px; background: linear-gradient(135deg, var(--vu), var(--vu2)); }
.vsx-verdict__who li::after { content: ""; position: absolute; left: 21px; top: 19px; width: 8px; height: 5px; border: solid #fff; border-width: 0 0 2.5px 2.5px; transform: rotate(-45deg); }
.vsx-verdict__who li.vsx-them { background: var(--vt1); border-color: #fde3b5; }
.vsx-verdict__who li.vsx-them::before { background: linear-gradient(135deg, #f59e0b, #ea580c); }
.vsx-verdict__who li strong { color: #14113a; }
.vsx-bars { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 10px; }
.vsx-bars li { list-style: none; background: none; border: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; align-items: baseline; font-size: 14.5px; color: #39365e; padding: 0; margin: 0; }
.vsx-bars li span { font-weight: 700; }
.vsx-bars li b { font-size: 16px; color: #14113a; font-variant-numeric: tabular-nums; }
.vsx-bars li i { grid-column: 1 / -1; display: block; height: 10px; border-radius: 99px; background: linear-gradient(90deg, #fbbf24, #f97316); }
.vsx-bars li.vsx-bars__us i { background: linear-gradient(90deg, var(--vu), var(--vu2)); }
.vsx-bars .vsx-w12 { width: 12%; } .vsx-bars .vsx-w22 { width: 22%; } .vsx-bars .vsx-w27 { width: 27%; } .vsx-bars .vsx-w45 { width: 45%; } .vsx-bars .vsx-w100 { width: 100%; }
.vsx-verdict__btns { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; }
.vsx-verdict .btn--primary, .bprose .vsx-verdict .btn--primary { color: #fff; text-decoration: none; height: auto; min-height: 48px; padding: 12px 20px; border-radius: 14px; font-weight: 800; white-space: normal; text-align: center; line-height: 1.25; }
.vsx-link, .bprose .vsx-link { font-weight: 800; color: #5517c9; text-decoration: none; border-bottom: 2px solid #d9c8ff; }
.vsx-link:hover { border-color: #6c2bf2; }

/* ---------- Comparison table ---------- */
.vsx-table { margin: 22px 0 8px; }
.vsx-table__bar { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; justify-content: space-between; margin: 0 0 14px; }
.vsx-table__bar[hidden], .vsx-legend[hidden], .vsx-sticky[hidden] { display: none !important; }
.vsx-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.vsx-chips button { font: inherit; font-size: 14px; font-weight: 700; padding: 8px 14px; border-radius: 99px; border: 1px solid #e2dcf3; background: #fff; color: #39365e; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.vsx-chips button:hover { border-color: #b9a3f5; }
.vsx-chips button.is-on { background: #14113a; color: #fff; border-color: #14113a; }
.vsx-switch { display: inline-flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 700; color: #14113a; cursor: pointer; user-select: none; }
.vsx-switch input { appearance: none; -webkit-appearance: none; width: 42px; height: 24px; border-radius: 99px; background: #d9d4e8; position: relative; cursor: pointer; transition: background .2s; margin: 0; flex: none; }
.vsx-switch input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .2); transition: transform .2s; }
.vsx-switch input:checked { background: var(--vu); }
.vsx-switch input:checked::after { transform: translateX(18px); }
.vsx-switch input:focus-visible, .vsx-chips button:focus-visible { outline: 3px solid #c4b0ff; outline-offset: 2px; }
.vsx-table table td:nth-child(2) { background: #fbf9ff; }
.vsx-table tr.is-hide { display: none; }
.vsx-table tr[data-win="us"].is-marked td:nth-child(2), .vsx-table tr[data-win="them"].is-marked td:nth-child(3) { position: relative; font-weight: 700; color: #14113a; }
.vsx-table tr[data-win="us"].is-marked td:nth-child(2) { box-shadow: inset 4px 0 0 var(--vu); }
.vsx-table tr[data-win="them"].is-marked td:nth-child(3) { box-shadow: inset 4px 0 0 #f59e0b; background: #fffaf0; }
.vsx-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin: 10px 0 0; font-size: 13.5px; color: #64748b; }
.vsx-dot { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.vsx-dot--us { background: var(--vu); } .vsx-dot--them { background: #f59e0b; } .vsx-dot--tie { background: #cbd5e1; }

/* ---------- Calculator ---------- */
.vsx-calc { margin: 26px 0 30px; border-radius: 26px; padding: 3px; background: linear-gradient(120deg, #6c2bf2, #e9388e 55%, #ff9f1c); box-shadow: 0 30px 60px -36px rgba(108, 43, 242, .6); }
.vsx-calc__in { border-radius: 23px; background: #fff; padding: 24px; }
.vsx-calc__h { margin: 0 0 18px; font-size: 20px; font-weight: 800; color: #14113a; line-height: 1.3; }
.vsx-calc__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
.vsx-calc__form { display: grid; gap: 16px; align-content: start; }
.vsx-field { display: grid; gap: 8px; font-size: 14.5px; font-weight: 700; color: #39365e; }
.vsx-field > span b { color: #6c2bf2; font-size: 16px; }
.vsx-field input[type="range"] { width: 100%; accent-color: #6c2bf2; height: 24px; margin: 0; }
.vsx-field input[type="number"] { width: 100%; font: inherit; font-size: 16px; font-weight: 700; color: #14113a; padding: 10px 12px; border-radius: 12px; border: 1px solid #ddd6f0; background: #fbfaff; }
.vsx-field input[type="number"]:focus { outline: 3px solid #d9c8ff; border-color: #6c2bf2; }
.vsx-seg { display: inline-flex; padding: 4px; border-radius: 12px; background: #f1edfb; gap: 4px; width: max-content; max-width: 100%; }
.vsx-seg label { cursor: pointer; }
.vsx-seg input { position: absolute; opacity: 0; pointer-events: none; }
.vsx-seg span { display: block; padding: 7px 16px; border-radius: 9px; font-size: 14px; font-weight: 800; color: #39365e; }
.vsx-seg input:checked + span { background: #fff; color: #14113a; box-shadow: 0 4px 10px -6px rgba(20, 17, 58, .45); }
.vsx-seg input:focus-visible + span { outline: 3px solid #c4b0ff; }
.vsx-check { display: flex; align-items: center; gap: 10px; font-weight: 600; color: #1b1744; cursor: pointer; }
.vsx-check input { width: 18px; height: 18px; accent-color: #6c2bf2; margin: 0; flex: none; }
.vsx-calc__res { display: grid; gap: 12px; align-content: start; }
.vsx-res { border-radius: 18px; padding: 16px 18px; display: grid; gap: 2px; }
.vsx-res small { font-size: 13px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.vsx-res small em { font-style: normal; opacity: .8; }
.vsx-res b { font-size: 34px; line-height: 1.15; font-weight: 800; font-variant-numeric: tabular-nums; }
.vsx-res span { font-size: 14px; }
.vsx-res--us { background: linear-gradient(135deg, #6c2bf2, #a524e0); color: #fff; }
.vsx-res--them { background: #fff7e6; color: #7c2d12; border: 1px solid #fde3b5; }
.vsx-res--them b { color: #431407; }
.vsx-res__verdict { margin: 0; font-size: 16px; font-weight: 800; color: #14113a; line-height: 1.4; }
.vsx-res__note { margin: 0; font-size: 13px; line-height: 1.5; color: #64748b; }
.vsx-calc .btn--primary, .bprose .vsx-calc .btn--primary { color: #fff; text-decoration: none; min-height: 48px; height: auto; padding: 12px 18px; border-radius: 14px; font-weight: 800; white-space: normal; text-align: center; }

/* ---------- Pick columns, steps, more links ---------- */
.vsx-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 18px 0 8px; }
.vsx-pick__col { border-radius: 22px; padding: 20px 22px; }
.vsx-pick__col h3 { margin-top: 0 !important; font-size: 19px; }
.vsx-pick__col--them { background: #fff8eb; border: 1px solid #fde3b5; }
.vsx-pick__col--us { background: #f7f2ff; border: 1px solid #e3d6fd; }
.bprose .vsx-pick__col li { font-size: 16px; }
.bprose ol.vsx-steps { list-style: none; padding: 0; counter-reset: vsx; gap: 14px; }
.bprose ol.vsx-steps > li { counter-increment: vsx; position: relative; padding: 18px 20px 18px 74px; border-radius: 20px; background: #fff; border: 1px solid #ece7f7; box-shadow: 0 14px 30px -26px rgba(20, 17, 58, .5); font-size: 16.5px; }
.bprose ol.vsx-steps > li::before { content: counter(vsx); position: absolute; left: 18px; top: 18px; width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; font-weight: 800; font-size: 18px; color: #fff; background: linear-gradient(135deg, #6c2bf2, #e9388e); }
.bprose ul.vsx-more { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.bprose ul.vsx-more li { padding: 0; }
.bprose ul.vsx-more a { display: grid; gap: 4px; height: 100%; padding: 16px 18px; border-radius: 18px; background: #fff; border: 1px solid #e7e2f4; text-decoration: none; transition: transform .2s, box-shadow .2s, border-color .2s; }
.bprose ul.vsx-more a:hover { transform: translateY(-2px); border-color: #c9b5fb; box-shadow: 0 18px 30px -22px rgba(108, 43, 242, .6); }
.vsx-more b { color: #14113a; font-size: 16px; }
.vsx-more b::after { content: " →"; color: #6c2bf2; }
.vsx-more span { color: #64748b; font-size: 14.5px; line-height: 1.45; }
.vsx-cta { margin: 30px 0; }

/* ---------- Sticky CTA ---------- */
.vsx-sticky { position: fixed; z-index: 60; left: 50%; bottom: 18px; transform: translate(-50%, 140%); width: min(720px, calc(100vw - 24px)); display: flex; align-items: center; gap: 14px; padding: 10px 10px 10px 20px; border-radius: 18px; background: rgba(20, 17, 58, .94); color: #fff; box-shadow: 0 24px 48px -18px rgba(20, 17, 58, .7); backdrop-filter: blur(10px); transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.vsx-sticky.is-on { transform: translate(-50%, 0); }
.vsx-sticky p { margin: 0; flex: 1; min-width: 0; font-size: 14.5px; line-height: 1.35; }
.vsx-sticky p b { color: #fff; }
.vsx-sticky p span { color: #c9c3ee; }
.vsx-sticky .btn--primary { color: #fff; text-decoration: none; flex: none; }
.vsx-sticky__x { flex: none; width: 34px; height: 34px; border-radius: 10px; border: 0; background: rgba(255, 255, 255, .1); color: #fff; font-size: 20px; line-height: 1; cursor: pointer; }
.vsx-sticky__x:hover { background: rgba(255, 255, 255, .2); }

@media (max-width: 860px) {
  .vsx-verdict__grid, .vsx-calc__grid, .vsx-pick { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .vsx-top { padding: 20px 16px 4px; }
  .vsx-verdict { padding: 20px 16px; border-radius: 22px; }
  .vsx-verdict__who li { font-size: 15px; padding: 11px 12px 11px 42px; }
  .vsx-verdict__who li::before { left: 12px; } .vsx-verdict__who li::after { left: 19px; }
  .vsx-calc__in { padding: 18px 16px; }
  .vsx-res b { font-size: 28px; }
  .vsx-table__bar { flex-direction: column; align-items: flex-start; }
  .vsx-sticky { bottom: 10px; padding: 8px 8px 8px 14px; gap: 10px; }
  .vsx-sticky p span { display: none; }
  .bprose ol.vsx-steps > li { padding: 64px 16px 16px; }
  /* Comparison table as stacked cards on phones: feature on top, the two tools side by side. */
  .bprose .vsx-table table, .vsx-table table { display: block; overflow: visible; border: 0; background: none; border-radius: 0; }
  .vsx-table thead { display: none; }
  .vsx-table tbody { display: grid; gap: 10px; }
  .vsx-table tbody tr { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid #e7e2f4; border-radius: 16px; overflow: hidden; background: #fff; }
  .vsx-table tbody tr.is-hide { display: none; }
  .bprose .vsx-table td, .vsx-table td { min-width: 0; padding: 10px 12px; border: 0; font-size: 14.5px; overflow-wrap: anywhere; }
  .vsx-table td:first-child { grid-column: 1 / -1; background: #f5f1ff; font-weight: 800; color: #14113a; }
  .vsx-table td:nth-child(2)::before, .vsx-table td:nth-child(3)::before { display: block; font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 3px; }
  .vsx-table td:nth-child(2)::before { content: "Invoice Studio"; color: #6c2bf2; }
  .vsx-table td:nth-child(3)::before { content: "HoneyBook"; color: #c2410c; }
}
@media (prefers-reduced-motion: reduce) {
  .vsx-sticky, .vsx-chips button, .bprose ul.vsx-more a { transition: none; }
}
@media print { .vsx-sticky, .vsx-table__bar, .vsx-calc { display: none !important; } }
