/* ═══════════════════════════════════════════════════════════════
   Vairity BUILD pages: /conversion-pages, /chatsites, /compare/*, /use-cases/*
   Page-level styles only. Shared tokens and components live in styles.css
   (owned by the design session); this file adds to them, never overrides
   the nav, footer or global type.
   ═══════════════════════════════════════════════════════════════ */

/* ── Trial terms under every "Start free" ── */
.b-terms {
  margin-top: 12px;
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.5;
}
.cta-section .b-terms { color: rgba(255,255,255,0.72); }
.b-cta-stack { display: inline-flex; flex-direction: column; align-items: flex-start; }
.page-hero .b-cta-stack, .b-center .b-cta-stack { align-items: center; }

/* ── Breadcrumb ── */
.b-crumbs {
  font-size: 13px;
  color: var(--gray-500);
  margin-bottom: 16px;
}
.b-crumbs a { color: var(--gray-500); text-decoration: none; }
.b-crumbs a:hover, .b-crumbs a:focus-visible { color: var(--accent-mid); text-decoration: underline; }
.b-crumbs span[aria-hidden] { margin: 0 6px; color: var(--gray-300); }

/* ── Proof strip: our own numbers, each with its basis ── */
.b-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--gray-200);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.b-proof-cell { background: var(--white); padding: 28px 28px 24px; }
.b-proof-num {
  font-size: clamp(30px, 3.4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--accent);
}
.b-proof-lbl { margin-top: 8px; font-size: 15px; font-weight: 700; color: var(--ink); line-height: 1.35; }
.b-proof-basis { margin-top: 8px; font-size: 13px; color: var(--gray-500); line-height: 1.55; }

/* ── Integrations row (named integrations only) ── */
.b-logos {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.b-logos li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid var(--gray-200);
  border-radius: 999px;
  background: var(--white);
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-700);
}
.b-logos i { font-size: 16px; color: var(--accent-mid); width: 18px; text-align: center; }
.b-logos .b-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 18px; height: 18px; border-radius: 4px;
  background: var(--accent); color: #fff; font-size: 11px; font-weight: 800;
}
.b-logo-group { margin-top: 28px; }
.b-logo-group h3 { font-size: 13px; font-family: var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--gray-500); font-weight: 400; }

/* ── Two-column feature block with a visual ── */
.b-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.b-split-rev > :first-child { order: 2; }
.b-list { list-style: none; margin-top: 20px; display: flex; flex-direction: column; gap: 12px; }
.b-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--gray-600); line-height: 1.55; }
.b-list li::before {
  content: '';
  flex: 0 0 18px; height: 18px; margin-top: 3px;
  border-radius: 50%;
  background: var(--green-lt) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%2316a34a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;
}
.b-list.b-no li::before {
  background: #fde8e8 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M5 5l6 6M11 5l-6 6' fill='none' stroke='%23b42318' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/11px no-repeat;
}
.b-list strong { color: var(--ink); }

/* ── Product-style visual cards (pure HTML, no images) ── */
.b-visual {
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 18px 40px -24px rgba(19,18,16,0.28);
  overflow: hidden;
}
.b-visual-bar {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--gray-200);
  background: var(--gray-50);
  font-family: var(--mono); font-size: 12px; color: var(--gray-500);
}
.b-visual-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--gray-300); display: inline-block; }
.b-visual-bar span { margin-left: 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.b-visual-body { padding: 22px; }
.b-row {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 11px 0;
  border-bottom: 1px dashed var(--gray-200);
  font-size: 14px; color: var(--gray-600);
}
.b-row:last-child { border-bottom: 0; }
.b-row b { color: var(--ink); font-weight: 700; text-align: right; }
.b-tag {
  display: inline-block; padding: 3px 9px; border-radius: 999px;
  font-size: 12px; font-weight: 700;
  background: var(--accent-lt); color: var(--accent);
  white-space: nowrap;
}
.b-tag.ok { background: var(--green-lt); color: #166534; }

/* Chat-style answer card for Chatsites */
.b-ask { font-size: 15px; font-weight: 600; color: var(--ink); padding: 12px 14px; border: 1px solid var(--gray-200); border-radius: 10px; background: var(--gray-50); }
.b-answer { margin-top: 14px; padding: 16px; border-radius: 10px; border: 1px solid #d7e3fb; background: #f7faff; }
.b-answer ol { padding-left: 20px; font-size: 14px; color: var(--gray-700); line-height: 1.7; }
.b-cite { margin-top: 10px; font-size: 12.5px; color: var(--accent-mid); font-family: var(--mono); }

/* ── Steps ── */
.b-steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: bstep; margin-top: 28px; }
.b-steps li {
  counter-increment: bstep;
  border: 1px solid var(--gray-200); border-radius: var(--r-lg);
  background: var(--white); padding: 24px 22px;
}
.b-steps li::before {
  content: counter(bstep);
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--accent); color: #fff; font-weight: 800; font-size: 13px;
  margin-bottom: 14px;
}
.b-steps h3 { font-size: 16px; font-weight: 700; color: var(--ink); margin-bottom: 8px; letter-spacing: -0.01em; }
.b-steps p { font-size: 14px; color: var(--gray-500); line-height: 1.6; }
.b-steps.b-3 { grid-template-columns: repeat(3, 1fr); }

/* ── Comparison table ── */
.b-table-wrap { margin-top: 28px; border: 1px solid var(--gray-200); border-radius: var(--r-lg); overflow-x: auto; background: var(--white); }
.b-table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 560px; }
.b-table caption { text-align: left; padding: 14px 18px; font-size: 13px; color: var(--gray-500); caption-side: bottom; border-top: 1px solid var(--gray-200); }
.b-table th, .b-table td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--gray-100); line-height: 1.5; }
.b-table thead th { background: var(--gray-50); font-size: 13px; font-family: var(--mono); letter-spacing: 0.04em; text-transform: uppercase; color: var(--gray-600); font-weight: 400; }
.b-table tbody th { font-weight: 700; color: var(--ink); width: 26%; }
.b-table td { color: var(--gray-600); }
.b-table td.b-us { background: #f7faff; color: var(--gray-700); }
.b-table tr:last-child th, .b-table tr:last-child td { border-bottom: 0; }

/* ── Cards grid (compare index, use-case index, related links) ── */
.b-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.b-cards.b-2 { grid-template-columns: repeat(2, 1fr); }
.b-card {
  display: flex; flex-direction: column;
  border: 1px solid var(--gray-200); border-radius: var(--r-lg);
  padding: 24px; background: var(--white);
  text-decoration: none; color: inherit;
  transition: border-color .15s, box-shadow .15s;
}
a.b-card:hover, a.b-card:focus-visible { border-color: var(--accent-mid); box-shadow: 0 10px 30px -20px rgba(30,58,95,.5); }
a.b-card:focus-visible { outline: 2px solid var(--accent-glow); outline-offset: 2px; }
.b-card .b-tag { align-self: flex-start; margin-bottom: 12px; }
.b-card h3 { font-size: 17px; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; margin-bottom: 8px; }
.b-card p { font-size: 14px; color: var(--gray-500); line-height: 1.6; flex: 1; }
.b-card .b-more { margin-top: 14px; font-size: 14px; font-weight: 700; color: var(--accent-mid); }

/* ── Note box (honest caveats) ── */
.b-note {
  margin-top: 24px; padding: 16px 18px;
  border-left: 3px solid var(--accent-mid);
  background: var(--accent-lt); border-radius: 0 var(--r) var(--r) 0;
  font-size: 14px; color: var(--gray-700); line-height: 1.6;
}

/* ── Use-case hero: copy left, page anatomy right ── */
.b-hero-split { text-align: left; }
.b-hero-split .container { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.b-hero-split .section-body { margin: 0; }
.b-hero-split .hero-actions { justify-content: flex-start; }

/* Webinar page anatomy: form above the fold */
.b-anatomy { display: grid; grid-template-columns: 1.2fr 1fr; gap: 14px; padding: 18px; background: linear-gradient(180deg,#f4f8ff,#fff); }
.b-anatomy .b-ph { height: 10px; border-radius: 6px; background: var(--gray-200); margin-bottom: 8px; }
.b-anatomy .b-ph.h { height: 16px; background: var(--gray-700); width: 90%; }
.b-anatomy .b-ph.s { width: 60%; }
.b-anatomy .b-chips { display: flex; gap: 6px; flex-wrap: wrap; margin: 10px 0; }
.b-anatomy .b-chips span { font-size: 10.5px; padding: 3px 7px; border-radius: 999px; background: #fff; border: 1px solid #d7e3fb; color: #375483; font-weight: 700; }
.b-form { background: #fff; border: 1px solid var(--gray-200); border-radius: 10px; padding: 12px; box-shadow: 0 10px 24px -18px rgba(19,18,16,.4); }
.b-form .b-field { height: 22px; border: 1px solid var(--gray-200); border-radius: 5px; margin-bottom: 7px; font-size: 10px; color: var(--gray-400); padding: 4px 6px; line-height: 1.2; }
.b-form .b-submit { height: 26px; border-radius: 5px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.b-fold { grid-column: 1 / -1; border-top: 2px dashed #e0a43b; padding-top: 6px; font-family: var(--mono); font-size: 11px; color: #9a6a12; }

/* ── Responsive ── */
@media (max-width: 960px) {
  .b-split, .b-hero-split .container { grid-template-columns: 1fr; gap: 32px; }
  .b-split-rev > :first-child { order: 0; }
  .b-steps { grid-template-columns: repeat(2, 1fr); }
  .b-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .b-proof, .b-steps, .b-steps.b-3, .b-cards, .b-cards.b-2 { grid-template-columns: 1fr; }
  .b-proof-cell { padding: 22px 20px; }
  .b-hero-split .container { padding: 0; }
  .b-logos li { font-size: 13px; padding: 8px 12px; }
  .b-table th, .b-table td { padding: 12px 14px; }
  .b-visual-body { padding: 16px; }
}

/* Highlighted half of a section/page H1 (styles.css only styles it inside .hero-h1) */
.section-h2 .highlight { color: var(--accent-mid); }

/* Comparison table: stack each row as a card on phones so no column hides off-screen */
@media (max-width: 640px) {
  .b-table-wrap { overflow: visible; border: 0; background: transparent; }
  .b-table { min-width: 0; border-collapse: separate; }
  .b-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .b-table, .b-table tbody, .b-table tr, .b-table th, .b-table td { display: block; width: 100%; }
  .b-table tr { border: 1px solid var(--gray-200); border-radius: var(--r); background: #fff; margin-bottom: 12px; overflow: hidden; }
  .b-table tbody th[scope="row"] { width: 100%; border-bottom: 1px solid var(--gray-200); background: var(--gray-50); }
  .b-table td { border: 0; }
  .b-table td + td { border-top: 1px solid var(--gray-100); }
  .b-table td::before { content: attr(data-label); display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--gray-500); margin-bottom: 4px; }
  .b-table caption { display: block; text-align: left; }
}
