/* Comparison / roundup pages (absolutely-flocked-vs-merlin.html,
   best-bird-identification-apps.html). Builds on styles.css tokens. */

.crumbs { font-family: "Space Mono", monospace; font-size: 0.75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--inkSoft); margin: 14px 0 0; }
.crumbs a { color: var(--inkSoft); text-decoration: none; }
.crumbs a:hover { color: var(--orangeText); }

.compare-lede { font-size: 1.0625rem; color: var(--inkSoft); font-weight: 600; line-height: 1.55; max-width: 720px; margin: 10px 0 0; }

.disclosure {
  background: var(--yellow);
  border: 2.5px solid var(--ink);
  border-radius: 16px;
  box-shadow: 0 4px 0 var(--ink);
  padding: 16px 18px;
  margin: 24px 0 8px;
  max-width: 720px;
}
.disclosure p { margin: 0; font-size: 0.875rem; font-weight: 700; line-height: 1.5; color: var(--ink); }

.compare-body h3 { font-size: 1.125rem; font-weight: 900; text-transform: uppercase; margin: 28px 0 8px; }
.compare-body .pick { font-family: "Space Mono", monospace; font-size: 0.75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--orangeText); margin: 0 0 6px; }

/* Tables: the wrapper scrolls, the page never does. */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 20px 0 24px; border: 2.5px solid var(--ink); border-radius: 16px; box-shadow: 0 4px 0 var(--ink); background: var(--white); max-width: 100%; }
.compare-table { border-collapse: collapse; width: 100%; min-width: 640px; font-size: 0.84375rem; }
.compare-table caption { text-align: left; padding: 12px 14px 0; font-family: "Space Mono", monospace; font-size: 0.75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--inkSoft); }
.compare-table th, .compare-table td { text-align: left; vertical-align: top; padding: 10px 14px; border-bottom: 1.5px solid color-mix(in srgb, var(--ink) 14%, transparent); line-height: 1.45; }
.compare-table thead th { font-family: "Space Mono", monospace; font-size: 0.75rem; letter-spacing: .06em; text-transform: uppercase; background: var(--paper); border-bottom: 2.5px solid var(--ink); }
.compare-table tbody th { font-weight: 900; }
.compare-table td { color: var(--inkSoft); font-weight: 600; }
.compare-table tr:last-child th, .compare-table tr:last-child td { border-bottom: none; }
/* On narrow screens the table scrolls sideways: keep the row labels pinned so
   you never lose which app/feature a cell belongs to, and show a shadow at the
   edge while there's more to scroll (the "local" layers cover it at the end). */
.compare-table tbody th, .compare-table thead th:first-child {
  position: sticky;
  left: 0;
  z-index: 1;
  background: var(--white);
  box-shadow: 1.5px 0 0 color-mix(in srgb, var(--ink) 14%, transparent);
}
.compare-table thead th:first-child { background: var(--paper); z-index: 2; }
.table-scroll {
  background:
    linear-gradient(to left, var(--white) 40%, transparent) right center / 32px 100% no-repeat local,
    radial-gradient(farthest-side at 100% 50%, color-mix(in srgb, var(--ink) 22%, transparent), transparent) right center / 14px 100% no-repeat scroll,
    var(--white);
}
/* .compare-body prefix: .legal-body p would otherwise win and render this at body size. */
.compare-body .table-note { font-family: "Space Mono", monospace; font-size: 0.75rem; color: var(--inkSoft); line-height: 1.5; margin: -12px 0 24px; }

.compare-cta { margin: 36px 0 0; padding: 26px; background: var(--paper); border: 2.5px solid var(--ink); border-radius: 20px; box-shadow: 0 5px 0 var(--ink); max-width: 720px; }
.compare-cta h2 { margin-top: 0 !important; }

@media (max-width: 940px) {
  .compare-lede { font-size: 0.96875rem; }
}
