/* "MakeBOF vs X" comparison pages (/vs). Builds on landing.css tokens, nav and footer. */

.vs-main { padding: 0 16px; }
.vs-article { max-width: 860px; margin: 0 auto; min-width: 0; }
.vs-article section { margin-top: 56px; }
.vs-article h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; letter-spacing: -0.6px; line-height: 1.2; margin-bottom: 16px; }
.vs-article h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.vs-article p, .vs-article li { font-size: 16.5px; line-height: 1.7; color: var(--text-secondary); }
.vs-article p + p { margin-top: 14px; }
.vs-article ul, .vs-article ol { padding-left: 22px; margin-top: 10px; }
.vs-article li + li { margin-top: 6px; }
.vs-article strong { color: var(--text); }
.vs-article a:not(.btn):not(.vs-card) { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

.vs-crumbs { font-size: 13px; color: var(--text-muted); display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.vs-crumbs a { color: var(--text-secondary) !important; text-decoration: none !important; }

.vs-hero h1 { font-size: clamp(32px, 5vw, 52px); font-weight: 800; letter-spacing: -1.5px; line-height: 1.08; margin: 8px 0 18px; overflow-wrap: anywhere; }
.vs-lede p { font-size: 18px; }
.vs-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }

.vs-verdict { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 28px; }
.vs-verdict h2 { margin-bottom: 10px; }
.vs-pick-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 20px; }
.vs-pick { border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 18px 20px; min-width: 0; }
.vs-pick-us { border-color: rgba(254, 44, 85, 0.45); background: rgba(254, 44, 85, 0.05); }
.vs-pick ul { padding-left: 18px; }
.vs-pick li { font-size: 15px; }

.vs-table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-lg); -webkit-overflow-scrolling: touch; }
.vs-table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
.vs-table th, .vs-table td { text-align: left; vertical-align: top; padding: 13px 16px; border-bottom: 1px solid var(--border-soft); line-height: 1.5; }
.vs-table thead th { font-size: 13px; text-transform: uppercase; letter-spacing: 0.4px; color: var(--text-muted); background: var(--surface); }
.vs-table tbody th { font-weight: 600; color: var(--text); width: 30%; }
.vs-table td { color: var(--text-secondary); }
.vs-table td:nth-child(2) { color: var(--text); }
.vs-table tr:last-child th, .vs-table tr:last-child td { border-bottom: 0; }
.vs-row-us th, .vs-row-us td { background: rgba(254, 44, 85, 0.05); }
.vs-note { font-size: 13.5px !important; color: var(--text-muted) !important; margin-top: 12px; }

.vs-price-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.vs-price-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px; min-width: 0; }
.vs-price-us { border-color: rgba(254, 44, 85, 0.45); }
.vs-plan-list { list-style: none; padding: 0 !important; margin: 0 !important; }
.vs-plan-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; padding: 10px 0; border-bottom: 1px solid var(--border-soft); margin: 0 !important; }
.vs-plan-list li:last-child { border-bottom: 0; }
.vs-plan-name { font-weight: 700; color: var(--text); font-size: 15px; }
.vs-plan-price { font-weight: 700; color: var(--text); font-size: 15px; text-align: right; }
.vs-plan-inc { grid-column: 1 / -1; font-size: 13.5px; color: var(--text-muted); line-height: 1.45; }
.vs-price-foot { font-size: 13.5px !important; color: var(--text-muted) !important; margin-top: 12px; }

.vs-callout { margin-top: 18px; border-left: 3px solid var(--accent); background: var(--surface); border-radius: 0 var(--radius-md) var(--radius-md) 0; padding: 18px 20px; }
.vs-callout p, .vs-callout li { font-size: 15.5px; }

.vs-faq details { border: 1px solid var(--border); border-radius: var(--radius-md); padding: 0 18px; margin-top: 10px; background: var(--surface); }
.vs-faq summary { cursor: pointer; font-weight: 700; font-size: 16px; padding: 16px 0; color: var(--text); list-style-position: outside; }
.vs-faq details > div { padding-bottom: 16px; }
.vs-faq details > div p { font-size: 15.5px; }

.vs-sources ul { font-size: 14px; }
.vs-sources li { font-size: 14px !important; overflow-wrap: anywhere; }

.vs-cta { max-width: 860px; margin: 72px auto 0 !important; }
.vs-more { max-width: 860px; margin: 56px auto 0; }
.vs-more h2 { font-size: 24px; font-weight: 800; margin-bottom: 14px; }

.vs-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.vs-card { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); transition: border-color .2s, transform .2s; min-width: 0; }
.vs-card:hover { border-color: var(--accent); transform: translateY(-1px); }
.vs-card-title { font-weight: 700; font-size: 15px; color: var(--text); }
.vs-card-sub { font-size: 13.5px; color: var(--text-muted); line-height: 1.45; }

@media (max-width: 760px) {
  .vs-pick-grid, .vs-price-grid { grid-template-columns: minmax(0, 1fr); }
  .vs-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vs-verdict { padding: 20px; }
  .vs-article section { margin-top: 44px; }
}
/* Phones: each feature row becomes a card with the two answers side by side. */
@media (max-width: 600px) {
  .vs-table-wrap:has(.vs-table-stack) { overflow: visible; border: 0; }
  .vs-table-stack { min-width: 0; }
  .vs-table-stack thead { display: none; }
  .vs-table-stack, .vs-table-stack tbody { display: block; }
  .vs-table-stack tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; border: 1px solid var(--border); border-radius: var(--radius-md); padding: 12px 14px; margin-bottom: 10px; background: var(--surface); }
  .vs-table-stack th[scope="row"] { grid-column: 1 / -1; width: auto; padding: 0 0 8px; border: 0; font-size: 15px; }
  .vs-table-stack td[data-label="Built for"] { grid-column: 1 / -1; margin-bottom: 8px; }
  .vs-table-stack td { padding: 0; border: 0; font-size: 14px; overflow-wrap: anywhere; }
  .vs-table-stack td::before { content: attr(data-label); display: block; font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.4px; color: var(--text-muted); margin-bottom: 3px; }
}
@media (max-width: 480px) {
  .vs-card-grid { grid-template-columns: minmax(0, 1fr); }
  .vs-ctas .btn { flex: 1 1 100%; justify-content: center; }
  .vs-lede p { font-size: 16.5px; }
}
