/*
 * Thier - comparison ("vs") landing pages
 * Shared styles for /vs/<competitor>.html
 *
 * Loaded after main.css. Provides:
 *   - .vs-hero            hero block with subtle radial gradient
 *   - .vs-table           feature comparison table with brand-tinted Thier column
 *   - .vs-quote           testimonial card
 *   - .vs-switch-list     numbered "switch in 5 minutes" grid
 *   - .vs-scenario        side-by-side scenario card
 */

.vs-hero {
  padding: clamp(72px, 9vw, 144px) 0 clamp(48px, 6vw, 88px);
  position: relative;
  overflow: hidden;
}
.vs-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 80% at 70% 0%, rgba(15, 148, 139, 0.10), transparent 70%),
    radial-gradient(50% 70% at 0% 100%, rgba(250, 184, 56, 0.08), transparent 70%);
  pointer-events: none;
}
.vs-eyebrow-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.vs-vs-label {
  font-weight: 700;
  color: var(--ink-4);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.74rem;
}

/* Comparison table */
.vs-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 0 0 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.vs-table th, .vs-table td {
  padding: 18px 22px;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  font-size: 0.96rem;
  line-height: 1.5;
}
.vs-table tr:last-child td { border-bottom: none; }
.vs-table thead th {
  background: var(--bg-2);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: -0.01em;
  text-align: left;
}
.vs-table tbody th {
  text-align: left;
  font-weight: 600;
  color: var(--ink-2);
  width: 30%;
}
.vs-table td {
  color: var(--ink-3);
  width: 35%;
}
.vs-table .yes { color: var(--teal-700); font-weight: 600; }
.vs-table .no { color: var(--ink-4); }
.vs-cell-thier {
  background: rgba(15, 148, 139, 0.05);
  border-left: 3px solid var(--teal-500);
}

/* Testimonial */
.vs-quote {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 36px 44px;
  box-shadow: var(--shadow-sm);
  max-width: 760px;
  margin: 0 auto;
}
.vs-quote-text {
  font-size: 1.275rem;
  line-height: 1.5;
  color: var(--ink);
  letter-spacing: -0.01em;
  font-weight: 500;
  margin: 0 0 24px;
}
.vs-quote-cite {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--ink-3);
}
.vs-quote-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal-300), var(--teal-600));
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
}

/* Switch-in-5-minutes grid */
.vs-switch-list {
  counter-reset: switch;
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.vs-switch-list li {
  counter-increment: switch;
  background: var(--surface);
  padding: 28px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
  position: relative;
}
.vs-switch-list li::before {
  content: counter(switch);
  position: absolute;
  top: 22px; right: 24px;
  width: 32px; height: 32px;
  background: var(--teal-100);
  color: var(--teal-700);
  font-weight: 700;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.92rem;
}
.vs-switch-list h3 {
  font-size: 1.05rem;
  margin: 0 0 10px;
  padding-right: 36px;
}
.vs-switch-list p {
  color: var(--ink-3);
  margin: 0;
  font-size: 0.94rem;
}

/* Side-by-side scenario */
.vs-scenario {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 26px;
}
.vs-scenario h4 {
  margin: 0 0 8px;
  font-size: 1rem;
  color: var(--ink);
}
.vs-scenario .vs-app {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-4);
  font-weight: 700;
  margin-bottom: 4px;
  display: block;
}
.vs-scenario.vs-thier {
  background: rgba(15, 148, 139, 0.05);
  border: 1.5px solid var(--teal-500);
}
.vs-scenario.vs-thier .vs-app {
  color: var(--teal-700);
}

/* Apps-replaced grid */
.vs-replaced-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 32px 0;
}
.vs-replaced-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 22px;
  position: relative;
}
.vs-replaced-card .vs-strikeout {
  text-decoration: line-through;
  color: var(--ink-4);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 4px;
  display: block;
}
.vs-replaced-card .vs-substitute {
  color: var(--teal-700);
  font-size: 0.88rem;
  font-weight: 600;
}
.vs-replaced-card .vs-saves {
  color: var(--ink-4);
  font-size: 0.82rem;
  margin-top: 6px;
  letter-spacing: 0.04em;
}

/* Receipt callout - for the "all-in-one" page */
.vs-receipt {
  background: var(--ink);
  color: var(--bg);
  border-radius: var(--r-lg);
  padding: 36px;
  font-family: var(--font-mono);
  max-width: 600px;
  margin: 0 auto;
  font-size: 0.92rem;
  line-height: 1.65;
  box-shadow: var(--shadow-md);
}
.vs-receipt h4 {
  font-family: var(--font-sans);
  color: var(--bg);
  font-size: 0.84rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 18px;
  font-weight: 700;
  opacity: 0.7;
}
.vs-receipt-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.15);
  padding: 6px 0;
}
.vs-receipt-row:last-child { border-bottom: none; }
.vs-receipt-row.total {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--amber-500);
  margin-top: 12px;
  padding-top: 14px;
  border-top: 2px solid var(--amber-500);
  border-bottom: none;
}
.vs-receipt-row.savings { color: var(--teal-300); font-weight: 700; }

@media (max-width: 720px) {
  .vs-table th, .vs-table td { padding: 14px 16px; font-size: 0.9rem; }
  .vs-quote { padding: 28px 24px; }
  .vs-quote-text { font-size: 1.1rem; }
  .vs-receipt { padding: 24px; font-size: 0.88rem; }
}
