/* === /vs COMPETITOR PAGES — shared styles === */

.vs-page-wrapper { min-height: 100vh; display: flex; flex-direction: column; }
.vs-page-main { flex: 1; }

/* Hero */
.vs-hero { padding: 5rem 2rem 4rem; max-width: 800px; margin: 0 auto; }
.vs-hero-back {
  font-family: var(--font-head); font-size: 0.8125rem; font-weight: 600;
  color: var(--text-3); margin-bottom: 2rem; display: inline-flex;
  align-items: center; gap: 0.375rem; transition: color 0.2s;
  text-decoration: none;
}
.vs-hero-back:hover { color: var(--accent); }
.vs-hero-eyebrow {
  font-family: var(--font-head); font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent);
  margin-bottom: 1rem;
}
.vs-hero-h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.25rem);
  color: var(--text); line-height: 1.1; margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}
.vs-hero-sub {
  font-size: 1.0625rem; color: var(--text-2); line-height: 1.7;
  margin-bottom: 2.5rem; max-width: 640px;
}
.vs-hero-actions { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }

/* Comparison table */
.vs-table-section { padding: 0 2rem 5rem; max-width: 1100px; margin: 0 auto; }
.vs-section-eyebrow {
  font-family: var(--font-head); font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent);
  margin-bottom: 1rem;
}
.vs-section-headline {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: var(--text); margin-bottom: 2rem;
  letter-spacing: -0.01em;
}
.vs-table-full { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.vs-table-full thead tr { border-bottom: 2px solid var(--border); }
.vs-col-label { width: 300px; padding: 1rem 1.5rem 1rem 0; }
.vs-col-head { padding: 1rem 1.25rem; text-align: center; }
.vs-head-keystone {
  background: rgba(0, 255, 102, 0.04);
  border-left: 2px solid var(--accent); border-right: 2px solid var(--accent);
  border-top: 3px solid var(--accent);
  border-radius: 6px 6px 0 0;
}
.vs-head-comp {
  border: 1px solid var(--border-subtle);
  border-bottom: none;
  border-radius: 6px 6px 0 0;
}
.vs-head-name {
  display: block; font-family: var(--font-head); font-size: 0.875rem;
  font-weight: 800; color: var(--text-2);
}
.vs-head-keystone .vs-head-name { color: var(--accent); }
.vs-table-full tbody tr { border-bottom: 1px solid var(--border-subtle); }
.vs-table-full tbody tr:last-child { border-bottom: none; }
.vs-row-label {
  padding: 1.25rem 1.5rem 1.25rem 0;
  font-family: var(--font-head); font-size: 0.875rem; font-weight: 600;
  color: var(--text-2); vertical-align: middle;
}
.vs-row-label-sub { font-size: 0.75rem; color: var(--text-3); font-weight: 400; }
.vs-cell { padding: 1.25rem 1.25rem; text-align: center; vertical-align: middle; }
.vs-cell-keystone {
  border-left: 2px solid var(--accent); border-right: 2px solid var(--accent);
  background: rgba(0, 255, 102, 0.04); font-weight: 700; color: var(--text);
}
.vs-cell-comp { color: var(--text-2); }
.vs-check { color: var(--accent); font-weight: 700; font-size: 0.875rem; }
.vs-no { color: #ef4444; font-weight: 700; font-size: 0.875rem; }
.vs-value { font-size: 0.875rem; color: var(--text-2); }

/* When X makes sense */
.vs-when-section {
  background: var(--bg-alt);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}
.vs-when-inner { max-width: 1100px; margin: 0 auto; padding: 5rem 2rem; }
.vs-when-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
.vs-when-col-title {
  font-family: var(--font-head); font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-3); margin-bottom: 1.5rem;
}
.vs-when-list { list-style: none; display: flex; flex-direction: column; gap: 0.875rem; }
.vs-when-item { display: flex; align-items: flex-start; gap: 0.875rem; }
.vs-when-icon { color: var(--accent); flex-shrink: 0; margin-top: 0.15rem; }
.vs-when-icon-muted { color: var(--text-3); flex-shrink: 0; margin-top: 0.15rem; }
.vs-when-text { font-size: 0.9375rem; color: var(--text-2); line-height: 1.6; }

/* Why teams switch */
.vs-switch-section { padding: 5rem 2rem; max-width: 1100px; margin: 0 auto; }
.vs-switch-list { list-style: none; display: flex; flex-direction: column; gap: 0; }
.vs-switch-item {
  display: flex; align-items: flex-start; gap: 1.5rem;
  padding: 1.5rem 0; border-bottom: 1px solid var(--border-subtle);
}
.vs-switch-item:last-child { border-bottom: none; }
.vs-switch-num {
  font-family: var(--font-head); font-size: 1.125rem;
  font-weight: 800; color: var(--accent); min-width: 2rem;
  padding-top: 0.1rem;
}
.vs-switch-text { font-size: 1rem; color: var(--text-2); line-height: 1.6; max-width: 640px; }

/* ROI Snippet */
.vs-roi-section {
  background: var(--bg-alt);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}
.vs-roi-inner { max-width: 700px; margin: 0 auto; padding: 5rem 2rem; text-align: center; }
.vs-roi-sub { font-size: 1rem; color: var(--text-2); margin-bottom: 2.5rem; line-height: 1.65; }
.vs-roi-vs {
  display: flex; align-items: center; gap: 1.5rem;
  background: var(--surface); border: 1px solid var(--border-subtle);
  border-radius: 10px; padding: 1.25rem 2rem; margin-bottom: 2rem;
}
.vs-roi-vs-item { flex: 1; text-align: center; }
.vs-roi-vs-name { font-size: 0.75rem; color: var(--text-3); margin-bottom: 0.5rem; }
.vs-roi-vs-price { font-family: var(--font-display); font-size: 1.75rem; }
.vs-roi-vs-keystone { color: var(--accent); }
.vs-roi-vs-alternate { color: var(--text-2); text-decoration: line-through; }
.vs-roi-vs-vs { font-family: var(--font-head); font-size: 0.875rem; color: var(--text-3); font-weight: 700; }
.vs-roi-result {
  display: inline-block; background: var(--surface);
  border: 1px solid var(--border); border-radius: 10px;
  padding: 1.25rem 2rem; text-align: center; margin-bottom: 2rem;
}
.vs-roi-result-label { font-size: 0.8125rem; color: var(--text-3); margin-bottom: 0.375rem; }
.vs-roi-result-value { font-family: var(--font-display); font-size: 2.25rem; color: var(--accent); line-height: 1; }
.vs-roi-result-sub { font-size: 0.75rem; color: var(--text-3); margin-top: 0.375rem; }

/* FAQ */
.vs-faq-section { padding: 5rem 2rem; max-width: 800px; margin: 0 auto; }
.vs-faq-list { display: flex; flex-direction: column; gap: 0; }
.vs-faq-item { border-bottom: 1px solid var(--border-subtle); }
.vs-faq-item:first-child { border-top: 1px solid var(--border-subtle); }
.vs-faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  list-style: none; padding: 1.5rem 0;
  font-family: var(--font-head); font-size: 1rem; font-weight: 600;
  color: var(--text); cursor: pointer; user-select: none;
  transition: color 0.2s;
}
.vs-faq-q::-webkit-details-marker { display: none; }
.vs-faq-q:hover { color: var(--accent); }
.vs-faq-chevron { color: var(--text-3); flex-shrink: 0; transition: transform 0.25s, color 0.2s; }
details[open] .vs-faq-chevron { transform: rotate(180deg); color: var(--accent); }
details[open] > .vs-faq-q { color: var(--accent); }
.vs-faq-a { padding: 0 0 1.5rem; }
.vs-faq-a p { font-size: 0.9375rem; color: var(--text-2); line-height: 1.7; }
.vs-faq-a a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.vs-faq-a a:hover { color: var(--accent-glow); }

/* CTA section */
.vs-cta-section {
  background: var(--bg-alt);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}
.vs-cta-inner { max-width: 800px; margin: 0 auto; padding: 5rem 2rem; text-align: center; }
.vs-cta-actions { display: flex; gap: 1rem; justify-content: center; align-items: center; flex-wrap: wrap; }

/* Internal links strip */
.vs-links-section { padding: 3rem 2rem; max-width: 1100px; margin: 0 auto; }
.vs-links-label { font-family: var(--font-head); font-size: 0.75rem; font-weight: 700; color: var(--text-3); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 1.25rem; }
.vs-links-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.vs-link-card {
  background: var(--surface); border: 1px solid var(--border-subtle);
  border-radius: 10px; padding: 1.25rem;
  display: flex; flex-direction: column; gap: 0.375rem;
  transition: border-color 0.2s; text-decoration: none;
}
.vs-link-card:hover { border-color: var(--border); }
.vs-link-card-title { font-family: var(--font-head); font-size: 0.9375rem; font-weight: 700; color: var(--text); }
.vs-link-card-desc { font-size: 0.8125rem; color: var(--text-2); line-height: 1.5; }
.vs-link-card-cta { font-size: 0.8125rem; color: var(--accent); font-weight: 600; margin-top: auto; }

/* Competitor badge */
.vs-comp-badge {
  display: inline-block; padding: 0.2rem 0.75rem;
  border-radius: 100px; font-family: var(--font-head);
  font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.06em;
  background: var(--surface-2); color: var(--text-2); border: 1px solid var(--border-subtle);
}

/* Responsive */
@media (max-width: 768px) {
  .vs-hero { padding: 3rem 1.5rem 3rem; }
  .vs-hero-h1 { font-size: 2rem; }
  .vs-hero-actions { flex-direction: column; align-items: stretch; }
  .vs-hero-actions .btn-primary,
  .vs-hero-actions .btn-outline { text-align: center; }
  .vs-table-section { padding: 0 1.5rem 4rem; }
  .vs-when-grid { grid-template-columns: 1fr; gap: 2rem; }
  .vs-when-inner { padding: 4rem 1.5rem; }
  .vs-switch-section { padding: 4rem 1.5rem; }
  .vs-roi-inner { padding: 4rem 1.5rem; }
  .vs-faq-section { padding: 4rem 1.5rem; }
  .vs-cta-inner { padding: 4rem 1.5rem; }
  .vs-links-section { padding: 2.5rem 1.5rem; }
  .vs-links-grid { grid-template-columns: 1fr 1fr; }
  .vs-roi-vs { flex-direction: column; gap: 0.75rem; }
}
@media (max-width: 480px) {
  .vs-links-grid { grid-template-columns: 1fr; }
}