/* Comparison pages (/compare/...) - sits on top of styles.css' legal-page
   article layout and only adds what an article about two products needs:
   breadcrumbs, a short-answer box, the side-by-side table, the two
   "choose this if" cards and the closing call to action. */

.compare-page main { max-width: 880px; }

.crumbs { font-size: 13px; color: var(--text-muted); margin-bottom: 20px; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { color: var(--text-muted); margin-left: 0; font-size: 13px; }
.crumbs a:hover { color: var(--text); }

.compare-page .lede { font-size: 19px; line-height: 1.55; color: var(--text); max-width: 62ch; margin: 0 0 12px; }

.answer {
  border: 1px solid var(--panel-border);
  background: var(--panel);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin: 28px 0 8px;
}
.answer strong { display: block; color: var(--cream); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 8px; }
.answer p { margin: 0; color: var(--text); }

.table-scroll { overflow-x: auto; margin: 8px 0 0; border: 1px solid var(--panel-border); border-radius: var(--radius); }
.vs { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 620px; }
.vs th, .vs td { text-align: left; vertical-align: top; padding: 13px 16px; border-bottom: 1px solid var(--panel-border); line-height: 1.5; }
.vs thead th { background: var(--panel); color: var(--text); font-size: 14px; }
.vs thead th.us { color: var(--green); }
.vs tbody th { color: var(--text-muted); font-weight: 500; width: 22%; font-size: 14px; }
.vs td { color: var(--text-muted); }
.vs td.us { color: var(--text); }
.vs tr:last-child th, .vs tr:last-child td { border-bottom: 0; }

.pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 8px; }
.pick > div { background: var(--panel); border: 1px solid var(--panel-border); border-radius: var(--radius); padding: 18px 20px; }
.pick h3 { margin: 0 0 8px; font-size: 16px; color: var(--text); }
.pick h3 { color: var(--green); }
.pick p { margin: 0; font-size: 15px; }

.try {
  margin: 44px 0 0;
  padding: 26px 24px;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--panel-border);
  display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap;
}
.try h2 { margin: 0 0 6px !important; color: var(--text) !important; }
.try p { margin: 0; }
.try-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-ghost, .btn-solid {
  display: inline-flex; align-items: center; padding: 11px 18px; border-radius: 10px; font-weight: 700; font-size: 15px; text-decoration: none !important;
}
.btn-ghost { border: 1px solid var(--panel-border); color: var(--text); }
.btn-ghost:hover { border-color: var(--text-muted); }
.btn-solid { background: var(--green); color: #0e1410; }
.btn-solid:hover { opacity: 0.9; }

.sources { font-size: 13px !important; margin-top: 28px; }
.related { list-style: none; padding: 0 !important; display: grid; gap: 6px; }

.hub { list-style: none; padding: 0 !important; display: grid; gap: 12px; margin-top: 28px; }
.hub a { display: block; background: var(--panel); border: 1px solid var(--panel-border); border-radius: var(--radius); padding: 18px 20px; text-decoration: none !important; }
.hub a:hover { border-color: var(--text-muted); }
.hub b { display: block; color: var(--text); font-size: 17px; margin-bottom: 4px; }
.hub span { color: var(--text-muted); font-size: 15px; }

@media (max-width: 680px) {
  .pick { grid-template-columns: 1fr; }
  .compare-page .lede { font-size: 17px; }
}

/* Guides (/guides/...) reuse this sheet: numbered steps with screenshots. */
.steps { list-style: none; padding: 0 !important; counter-reset: step; display: grid; gap: 40px; margin-top: 28px; }
.steps > li { counter-increment: step; }
.steps h2 { display: flex; gap: 12px; align-items: baseline; margin: 0 0 10px !important; }
.steps h2::before { content: counter(step); color: var(--green); font-variant-numeric: tabular-nums; }
.steps figure { margin: 16px 0 0; }
.steps img { width: auto; max-width: 100%; height: auto; display: block; border-radius: var(--radius); border: 1px solid var(--panel-border); }
.steps figcaption { font-size: 13px; color: var(--text-muted); margin-top: 8px; }
kbd { font-family: inherit; font-size: 0.9em; padding: 1px 6px; border-radius: 5px; border: 1px solid var(--panel-border); background: var(--panel); color: var(--text); }

/* Complete guide: table of contents + sections. */
.toc { margin: 28px 0 8px; padding: 18px 22px; background: var(--panel); border: 1px solid var(--panel-border); border-radius: var(--radius); }
.toc strong { display: block; color: var(--cream); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 10px; }
.toc ol { margin: 0; padding-left: 20px !important; columns: 2; column-gap: 32px; }
.toc li { font-size: 15px; break-inside: avoid; }
.msec { scroll-margin-top: 24px; }
.msec figure { margin: 18px 0 0; }
.msec img { width: auto; max-width: 100%; height: auto; display: block; border-radius: var(--radius); border: 1px solid var(--panel-border); }
.msec figcaption { font-size: 13px; color: var(--text-muted); margin-top: 8px; }
.compare-page code { font-size: 0.9em; background: var(--panel); border: 1px solid var(--panel-border); border-radius: 5px; padding: 1px 6px; color: var(--text); }
@media (max-width: 680px) { .toc ol { columns: 1; } }
