/* ── Comparison page · shared styles ──
   Used by /compare/[slug].html pages.
   Sober feature matrix + "why operators switch" + migration framing. */

  .cmp-hero { padding: 96px 0 64px; }
  .cmp-hero .crumbs {
    font: 500 12px/1 var(--font-mono); letter-spacing: 0.12em;
    text-transform: uppercase; color: var(--ink-3); margin-bottom: 28px;
  }
  .cmp-hero .crumbs a { color: var(--ink-3); text-decoration: none; }
  .cmp-hero .crumbs .now { color: var(--accent); }
  .cmp-hero .pill {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 6px 14px; border-radius: 999px;
    background: var(--surface); border: 1px solid var(--rule-strong);
    font: 500 12px/1 var(--font-mono); letter-spacing: 0.04em;
    color: var(--ink-2); margin-bottom: 24px;
  }
  .cmp-hero .pill .v { color: var(--accent); font-weight: 600; }
  .cmp-hero h1 {
    font-size: clamp(48px, 6.5vw, 96px);
    font-weight: 500; line-height: 0.96; letter-spacing: -0.045em;
    margin: 12px 0 28px; max-width: 18ch;
  }
  .cmp-hero h1 em { color: var(--accent); font-style: italic; font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; }
  .cmp-hero .lead { font-size: 19px; color: var(--ink-2); max-width: 60ch; line-height: 1.55; margin: 0 0 32px; }

  /* TL;DR card */
  .cmp-tldr {
    padding: 0 0 80px;
  }
  .cmp-tldr .card {
    background: var(--bg-2); border: 1px solid var(--rule);
    border-left: 3px solid var(--accent);
    border-radius: var(--r-3); padding: 28px 32px;
    max-width: 64ch;
  }
  .cmp-tldr .card .lab {
    font: 500 11px/1 var(--font-mono); letter-spacing: 0.14em;
    text-transform: uppercase; color: var(--accent); margin-bottom: 12px;
  }
  .cmp-tldr .card p {
    font-size: 17px; line-height: 1.65; color: var(--ink-2); margin: 0 0 12px;
  }
  .cmp-tldr .card p:last-child { margin-bottom: 0; }
  .cmp-tldr .card p strong { color: var(--ink); font-weight: 500; }
  .cmp-tldr .card p em { color: var(--accent); font-style: italic; font-family: 'Instrument Serif', Georgia, serif; }

  /* Feature matrix */
  .cmp-matrix { padding: 96px 0; background: var(--bg-2); border-block: 1px solid var(--rule); }
  .cmp-matrix h2 {
    font-size: clamp(36px, 5vw, 56px); font-weight: 500;
    line-height: 1.05; letter-spacing: -0.03em; margin: 16px 0 16px;
    max-width: 22ch;
  }
  .cmp-matrix h2 em { color: var(--accent); font-style: italic; font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; }
  .cmp-matrix .lead { font-size: 17px; color: var(--ink-2); max-width: 60ch; margin-bottom: 48px; line-height: 1.5; }
  .cmp-table {
    width: 100%; border-collapse: collapse;
    background: var(--surface); border: 1px solid var(--rule);
    border-radius: var(--r-3); overflow: hidden;
  }
  .cmp-table thead th {
    background: var(--bg-2); font: 500 12px/1 var(--font-mono);
    letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--ink-3); padding: 18px 24px;
    text-align: left; border-bottom: 1px solid var(--rule);
  }
  .cmp-table thead th:first-child { width: 40%; color: var(--ink); }
  .cmp-table thead th.us { background: var(--accent); color: var(--accent-ink); }
  .cmp-table .group td {
    background: var(--bg-2); font: 500 11px/1 var(--font-mono);
    letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--ink-3); padding: 14px 24px; border-bottom: 1px solid var(--rule);
  }
  .cmp-table td {
    padding: 16px 24px; border-bottom: 1px solid var(--rule);
    font-size: 14px; vertical-align: top; line-height: 1.5;
  }
  .cmp-table td:first-child { color: var(--ink); font-weight: 500; }
  .cmp-table td:not(:first-child) { color: var(--ink-2); }
  .cmp-table tr:last-child td { border-bottom: none; }
  .cmp-table td.us-col { background: color-mix(in srgb, var(--accent) 4%, transparent); }
  .cmp-table td .check { color: var(--accent); font-family: var(--font-mono); }
  .cmp-table td .dash { color: var(--ink-3); font-family: var(--font-mono); }
  .cmp-table td .partial { color: #C9922A; font-family: var(--font-mono); }

  /* Why-switch panel */
  .cmp-switch { padding: 96px 0; }
  .cmp-switch h2 {
    font-size: clamp(32px, 4.5vw, 48px); font-weight: 500;
    line-height: 1.05; letter-spacing: -0.03em; margin: 0 0 48px;
    max-width: 24ch;
  }
  .cmp-switch h2 em { color: var(--accent); font-style: italic; font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; }
  .cmp-switch .grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  }
  .cmp-switch .card {
    background: var(--surface); border: 1px solid var(--rule);
    border-radius: var(--r-3); padding: 32px;
  }
  .cmp-switch .card .h {
    font: 500 11px/1 var(--font-mono); letter-spacing: 0.12em;
    text-transform: uppercase; color: var(--accent); margin-bottom: 14px;
  }
  .cmp-switch .card h3 {
    font-size: 22px; font-weight: 500; margin: 0 0 12px; letter-spacing: -0.01em;
  }
  .cmp-switch .card p {
    font-size: 14px; color: var(--ink-2); line-height: 1.6; margin: 0;
  }
  .cmp-switch .card p strong { color: var(--ink); font-weight: 500; }

  /* Migration panel */
  .cmp-migrate { padding: 96px 0; background: var(--bg-2); border-block: 1px solid var(--rule); }
  .cmp-migrate h2 {
    font-size: clamp(32px, 4.5vw, 48px); font-weight: 500;
    line-height: 1.05; letter-spacing: -0.03em; margin: 16px 0 18px;
    max-width: 24ch;
  }
  .cmp-migrate h2 em { color: var(--accent); font-style: italic; font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; }
  .cmp-migrate .lead { font-size: 17px; color: var(--ink-2); max-width: 60ch; line-height: 1.55; margin: 0 0 48px; }
  .cmp-migrate .steps {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  }
  .cmp-migrate .step {
    background: var(--surface); border: 1px solid var(--rule);
    border-radius: var(--r-3); padding: 24px;
  }
  .cmp-migrate .step .num {
    font: 500 11px/1 var(--font-mono); letter-spacing: 0.12em;
    color: var(--accent); margin-bottom: 12px;
  }
  .cmp-migrate .step h3 {
    font-size: 17px; font-weight: 500; margin: 0 0 8px; line-height: 1.3;
  }
  .cmp-migrate .step p {
    font-size: 13px; color: var(--ink-2); line-height: 1.5; margin: 0;
  }

  @media (max-width: 1000px) {
    .cmp-switch .grid, .cmp-migrate .steps { grid-template-columns: 1fr; }
  }
  @media (max-width: 720px) {
    .cmp-table thead th, .cmp-table td { padding: 12px 14px; font-size: 13px; }
  }
