/* vs.css — exposhift.com/compare and /vs/* pages. Loaded AFTER /site.css.
   2026-11-02: follows the homepage redesign direction ("What every option keeps"):
   dark ground + amber, Bricolage Grotesque for H1/H2 only, Inter body (site.css),
   Inter small caps for eyebrows, the "as of" line, footnotes and status pills (was IBM Plex Mono until 2026-11-03).
   Primary CTA = amber background, dark text (not the live site's white-on-amber).
   site.css is untouched on purpose — the redesign session owns it. */

:root {
  --vs-display: 'Bricolage Grotesque', 'Inter', sans-serif;
  /* 2026-11-03 (Mike): no monospace anywhere on the site; labels are Inter, small caps, like the home page */
  --vs-label: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  --vs-dim: #8f8983;      /* 5.5:1 on --bg, 5.2:1 on --bg-3 (site.css --dim is 3.9:1) */
  --vs-green: #86efac;
  --vs-ink-on-amber: #0f0d0c;
}

.vs-wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.vs-wrap h1, .vs-wrap h2 { font-family: var(--vs-display); letter-spacing: -0.02em; line-height: 1.08; }
.vs-wrap h1 { font-size: clamp(34px, 5vw, 56px); font-weight: 700; margin: 10px 0 18px; }
.vs-wrap h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 700; margin: 0 0 14px; }
.vs-wrap h3 { font-size: 17px; font-weight: 700; margin: 0 0 8px; }
.vs-wrap p, .vs-wrap li { color: var(--muted); }
.vs-wrap a:not(.btn) { color: var(--amber); font-weight: 600; }
.vs-wrap a:not(.btn):hover { text-decoration: underline; }
.vs-mono { font-family: var(--vs-label); font-size: 13.5px; font-weight: 500; }
.vs-eyebrow { font-family: var(--vs-label); font-size: 11.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber); }

/* Buttons: amber ground, dark ink (overrides site.css white-on-amber on these pages only) */
.vs-page .btn-primary { background: var(--amber); color: var(--vs-ink-on-amber); }
.vs-page .btn-primary:hover { background: #f59e0b; color: var(--vs-ink-on-amber); }
.vs-textlink { font-weight: 600; color: var(--amber); }
nav .nav-links a.vs-nav-current { color: var(--white); }

/* Hero */
.vs-hero { padding: 64px 0 40px; border-bottom: 1px solid var(--divider); }
.vs-hero .vs-sub { font-size: 19px; color: var(--muted); max-width: 820px; line-height: 1.55; }
.vs-hero .vs-sub strong { color: var(--white); font-weight: 600; }

/* At a glance */
.vs-glance { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 36px 0 8px; }
.vs-card { background: var(--bg-3); border: 1px solid var(--divider); border-radius: var(--radius); padding: 20px 22px; }
.vs-card .vs-eyebrow { margin-bottom: 10px; display: block; }
.vs-card dl { margin: 0; }
.vs-card dt { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--vs-dim); font-family: var(--vs-label); margin-top: 10px; }
.vs-card dd { margin: 2px 0 0; color: var(--white); font-size: 15px; line-height: 1.45; }

/* Section rhythm */
.vs-section { padding: 44px 0 8px; }
.vs-section + .vs-section { border-top: 1px solid var(--divider); margin-top: 36px; }
.vs-section .vs-lede { max-width: 760px; margin-bottom: 20px; }

/* Comparison table */
.vs-table-wrap { margin-top: 8px; }
table.vs-table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--bg-3); border: 1px solid var(--divider); border-radius: var(--radius); overflow: hidden; }
.vs-table th, .vs-table td { text-align: left; vertical-align: top; padding: 14px 16px; border-top: 1px solid var(--divider); }
.vs-table thead th { background: var(--bg-2); border-top: 0; font-size: 12px; font-weight: 700; font-family: var(--vs-label); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.vs-table thead th.vs-col-us { color: var(--amber); }
.vs-table th[scope="rowgroup"] { background: var(--bg-2); color: var(--white); font-family: var(--vs-display); font-size: 18px; font-weight: 700; padding-top: 18px; padding-bottom: 12px; }
.vs-table th[scope="row"] { color: var(--white); font-weight: 600; width: 30%; }
.vs-table td { width: 35%; }
.vs-detail { display: block; color: var(--muted); font-size: 14px; line-height: 1.5; margin-top: 6px; }
.vs-table td.vs-info .vs-detail { margin-top: 0; color: var(--white); }

/* Status pills: text + glyph, never color alone. Never a red ✗ for the competitor (Mike, 2026-11-02). */
.vs-pill { display: inline-flex; align-items: center; gap: 6px; font-family: var(--vs-label); font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 100px; border: 1px solid transparent; white-space: nowrap; }
.vs-pill-yes { color: var(--vs-green); border-color: rgba(134,239,172,0.35); background: rgba(134,239,172,0.08); }
.vs-pill-partial { color: var(--amber); border-color: var(--amber-border); background: var(--amber-dim); }
.vs-pill-paid { color: var(--amber); border-color: var(--amber-border); background: var(--amber-dim); }
.vs-pill-no { color: var(--vs-dim); border-color: rgba(255,255,255,0.12); }
.vs-pill-nl { color: var(--vs-dim); border-color: rgba(255,255,255,0.12); background: transparent; }

.vs-legend { display: flex; flex-wrap: wrap; gap: 10px 18px; margin: 14px 0 6px; }
.vs-legend span { color: var(--muted); font-size: 13px; }
.vs-footnote { font-family: var(--vs-label); font-size: 12.5px; color: var(--vs-dim); line-height: 1.6; margin-top: 12px; max-width: 900px; }
.vs-footnote a { color: var(--vs-dim); font-weight: 400; text-decoration: underline; }

/* Fit sections */
.vs-fit { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.vs-fit .vs-card ul { padding-left: 1.2rem; margin: 0; }
.vs-fit .vs-card li { margin-bottom: 10px; line-height: 1.55; }
.vs-fit .vs-card li:last-child { margin-bottom: 0; }

/* Switching */
.vs-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.vs-steps li { background: var(--bg-3); border: 1px solid var(--divider); border-radius: var(--radius); padding: 18px; color: var(--muted); line-height: 1.5; }
.vs-steps li .vs-eyebrow { display: block; margin-bottom: 8px; }
.vs-steps li strong { color: var(--white); display: block; margin-bottom: 4px; }

/* FAQ (markup from faq.html; .doc styles don't apply here, so restate the accordion) */
.vs-faq details { border-bottom: 1px solid var(--divider); padding: 4px 0; }
.vs-faq summary { font-weight: 600; cursor: pointer; font-size: 1.02rem; color: var(--white); list-style: none; padding: 12px 0; }
.vs-faq summary::-webkit-details-marker { display: none; }
.vs-faq summary::before { content: "+  "; color: var(--amber); font-weight: 700; }
.vs-faq details[open] summary::before { content: "\2013  "; }
.vs-faq p { margin: 0 0 14px; }

/* CTA band */
.vs-cta { margin: 48px 0 24px; padding: 40px 28px; text-align: center; background: var(--bg-3); border: 1px solid var(--amber-border); border-radius: var(--radius); }
.vs-cta h2 { margin-bottom: 8px; }
.vs-cta .vs-mono { color: var(--muted); display: block; margin: 12px 0 22px; }
.vs-cta .vs-textlink { display: inline-block; margin-left: 18px; }

/* Hub page */
.vs-hub-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }
.vs-hub-grid .vs-card h3 { font-family: var(--vs-display); font-size: 22px; }
.vs-hub-grid .vs-card p { font-size: 14px; min-height: 3.2em; }

/* Phones: stack the table into cards, two lines per row (ExpoShift / competitor). No horizontal scroll. */
@media (max-width: 760px) {
  .vs-hero { padding: 40px 0 28px; }
  .vs-glance, .vs-fit, .vs-steps, .vs-hub-grid { grid-template-columns: 1fr; }
  .vs-table, .vs-table tbody, .vs-table tr, .vs-table th, .vs-table td { display: block; width: auto; }
  .vs-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .vs-table tr { border-top: 1px solid var(--divider); }
  .vs-table th[scope="rowgroup"] { border-top: 0; }
  .vs-table th[scope="row"] { width: auto; padding-bottom: 6px; border-top: 0; }  /* desktop 30% width would otherwise win on specificity */
  .vs-table td { border-top: 0; padding-top: 6px; padding-left: 16px; }
  .vs-table td::before { content: attr(data-col); display: block; font-family: var(--vs-label); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--vs-dim); margin-bottom: 4px; }
  .vs-table td.vs-col-us::before { color: var(--amber); }
  .vs-cta .vs-textlink { display: block; margin: 14px 0 0; }
}
