/*
  The comparison pages, shared.
  Generated pages, one stylesheet: see build-comparatifs.py.

  Same system as leadshore/index.html, deliberately, because these pages are
  marketing and not legal notices. Tokens, type scale and the self-hosted face
  are the ones that page settled on 4 October 2026, so a visitor arriving here
  from a search engine and then clicking through to the home page does not
  cross a seam.

  One field colour. No band changes, no boxes around prose. The only rule on
  the page is the table's, because a table without lines is not a table.
*/

@font-face {
  font-family: "Public Sans Variable";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/leadshore/fonts/public-sans-latin-wght-normal.woff2") format("woff2-variations");
}

:root {
  --paper: #fbf9f4;
  --sand: #f2eee6;
  --ink: #172321;
  --muted: #55605c;   /* 6,21:1 on --paper */
  --line: #e6e1d6;
  --sea: #1e6263;     /* 6,69:1 on --paper */
  --deep: #0d383d;
  --coral: #e26d4f;   /* with --ink on it, 5,03:1. With #fff, 3,21:1, which fails */
  --page: 760px;      /* narrower than the home page: this is prose, not a layout */
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.62 "Public Sans Variable", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--sea); text-decoration-thickness: 1px; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--coral); outline-offset: 4px; }

.wrap { width: min(calc(100% - 48px), var(--page)); margin-inline: auto; }

/* ── The masthead and footer match the other secondary pages ────────────── */

.masthead { border-bottom: 1px solid var(--line); background: var(--deep); }
.masthead .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--paper); font-size: 17px; font-weight: 600; letter-spacing: -.02em; text-decoration: none; }
.brand svg { width: 26px; height: 26px; }
.masthead .tiny { margin: 0; color: #c9dad5; font-size: 13px; }  /* 8,77:1 on --deep */

footer { margin-top: 96px; padding: 32px 0 56px; border-top: 1px solid var(--line); }
footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
footer a { font-size: 14px; }
footer .links { display: flex; flex-wrap: wrap; gap: 18px; }
footer .disclaimer { width: 100%; margin: 0; color: var(--muted); font-size: 13px; }

/* ── The article ────────────────────────────────────────────────────────── */

main { padding: 72px 0 0; }

h1 {
  max-width: 24ch;
  margin: 0 0 24px;
  font-weight: 600;
  font-size: clamp(30px, 4.2vw, 46px);
  line-height: 1.08;
  letter-spacing: -.035em;
  text-wrap: balance;
}

/* 20px under a heading, at every heading size. The home page's one spacing
   invariant, kept here so the two read as one voice. */
h2 {
  max-width: 24ch;
  margin: 64px 0 20px;
  font-weight: 600;
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.12;
  letter-spacing: -.025em;
  text-wrap: balance;
}

p { max-width: 62ch; margin: 0 0 20px; }
p.lede { max-width: 56ch; font-size: 19px; }
strong { font-weight: 600; }

/* The dated sourcing line under a table. Small, muted, and never a claim. */
p.note { max-width: 62ch; color: var(--muted); font-size: 14px; }

.cmp-table-scroll { margin: 0 0 12px; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
caption { margin-bottom: 12px; color: var(--muted); font-size: 14px; text-align: left; }
th, td { padding: 13px 14px 13px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { font-weight: 600; }
thead th { border-bottom-color: var(--ink); }
td + td, th + th { padding-left: 18px; }
tbody th { color: var(--muted); font-weight: 400; }

/* ── The one call to action, at the end, after the argument ─────────────── */

.cmp-cta { margin: 72px 0 0; padding: 32px 0 0; border-top: 1px solid var(--line); }
.cmp-cta p { margin: 0 0 20px; font-weight: 600; font-size: 21px; line-height: 1.3; letter-spacing: -.02em; }
.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid var(--coral);
  border-radius: 999px;
  background: var(--coral);
  color: var(--ink);          /* 5,03:1. White would be 3,21:1 and fail AA */
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.button:hover { background: #e8795c; border-color: #e8795c; }  /* lighter, 5,64:1 */
.cmp-cta .micro { margin: 14px 0 0; color: var(--muted); font-size: 14px; }

/* ── The sibling pages, so a reader comparing two tools finds the third ──── */

.cmp-siblings { margin: 64px 0 0; padding: 28px 0 0; border-top: 1px solid var(--line); }
.cmp-siblings h2 { margin: 0 0 16px; font-size: 17px; letter-spacing: 0; }
.cmp-siblings ul { margin: 0; padding: 0; list-style: none; }
.cmp-siblings li + li { margin-top: 10px; }
.cmp-siblings a { font-size: 16px; }

@media (max-width: 680px) {
  .wrap { width: min(calc(100% - 32px), var(--page)); }
  main { padding-top: 48px; }
  h2 { margin-top: 48px; }
  footer { margin-top: 64px; }
  .cmp-cta, .cmp-siblings { margin-top: 48px; }
  th, td { padding-right: 10px; }
  td + td, th + th { padding-left: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
