/* TopLeft comparison pages (cmp-). Generated by lib/cms-comparison-css.js. */
.cmp-page {
  --cmp-navy: #1f3063;
  --cmp-navy-deep: #16234a;
  --cmp-blue: #0053cf;
  --cmp-blue-dark: #003d99;
  --cmp-lane: rgba(0, 83, 207, 0.06);
  --cmp-lane-edge: rgba(0, 83, 207, 0.16);
  --cmp-red: #eb0000;
  --cmp-red-hover: #c70000;
  --cmp-sky: #9dc0ff;
  --cmp-ink: #001534;
  --cmp-muted: #5d6883;
  --cmp-dim: #8a93a8;
  --cmp-line: #e4e8f1;
  --cmp-line-soft: #eef1f7;
  --cmp-paper: #ffffff;
  --cmp-wash: #f7f9fc;
  --cmp-display: 'Poppins', system-ui, sans-serif;
  --cmp-body: 'Montserrat', system-ui, sans-serif;
  --cmp-radius: 12px;
  --cmp-radius-sm: 8px;
  --cmp-shadow: 0 1px 2px rgba(16, 30, 66, 0.04), 0 8px 24px rgba(16, 30, 66, 0.06);
  --cmp-gap: clamp(48px, 6vw, 88px);

  font-family: var(--cmp-body);
  color: var(--cmp-ink);
  line-height: 1.7;
  background: var(--cmp-paper);
}
.cmp-page *, .cmp-page *::before, .cmp-page *::after { box-sizing: border-box; }
/* figure and blockquote carry a 40px UA side margin that crushes the quote
   cards to one word per line. Reset them with everything else. */
.cmp-page p, .cmp-page ul, .cmp-page ol, .cmp-page h1, .cmp-page h2, .cmp-page h3,
.cmp-page figure, .cmp-page blockquote { margin: 0; }
.cmp-page :focus-visible { outline: 3px solid var(--cmp-blue); outline-offset: 2px; border-radius: 3px; }

/* Anchor targets must clear the sticky nav, which sits below the account banner. */
.cmp-page [id] { scroll-margin-top: calc(var(--tl-banner, 0px) + 96px); }

.cmp-shell { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.cmp-measure { max-width: 68ch; }

/* ── Typography ─────────────────────────────────────────────────────── */
.cmp-page h1, .cmp-page h2, .cmp-page h3 {
  font-family: var(--cmp-display);
  color: var(--cmp-navy);
  letter-spacing: -0.015em;
  line-height: 1.15;
}
.cmp-h1 { font-size: clamp(2rem, 4.4vw, 3.25rem); font-weight: 800; line-height: 1.08; letter-spacing: -0.025em; }
.cmp-h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 700; }
.cmp-h3 { font-size: 1.0625rem; font-weight: 600; line-height: 1.4; }
.cmp-eyebrow {
  font-family: var(--cmp-body);
  font-size: 0.6875rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.14em; color: var(--cmp-blue);
}
.cmp-page a { color: var(--cmp-blue); }
.cmp-page a:hover { color: var(--cmp-blue-dark); }

/* ── Buttons ────────────────────────────────────────────────────────── */
.cmp-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--cmp-body); font-size: 0.9375rem; font-weight: 600;
  padding: 13px 26px; border-radius: var(--cmp-radius-sm);
  text-decoration: none; border: 1px solid transparent;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.cmp-btn--primary, .cmp-btn--primary:link, .cmp-btn--primary:visited {
  background: var(--cmp-red); color: var(--cmp-paper); text-decoration: none;
}
.cmp-btn--primary:hover, .cmp-btn--primary:focus {
  background: var(--cmp-red-hover); color: var(--cmp-paper); text-decoration: none;
}
.cmp-btn--ghost, .cmp-btn--ghost:link, .cmp-btn--ghost:visited {
  background: transparent; color: var(--cmp-paper);
  border-color: rgba(255, 255, 255, 0.4); text-decoration: none;
}
.cmp-btn--ghost:hover, .cmp-btn--ghost:focus {
  background: rgba(255, 255, 255, 0.1); color: var(--cmp-paper);
  border-color: var(--cmp-paper); text-decoration: none;
}
.cmp-btn--quiet, .cmp-btn--quiet:link, .cmp-btn--quiet:visited {
  background: var(--cmp-paper); color: var(--cmp-navy);
  border-color: var(--cmp-line); text-decoration: none;
}
.cmp-btn--quiet:hover, .cmp-btn--quiet:focus {
  border-color: var(--cmp-blue); color: var(--cmp-blue); text-decoration: none;
}

/* ── Hero ───────────────────────────────────────────────────────────── */
.cmp-hero {
  background: linear-gradient(160deg, var(--cmp-navy) 0%, var(--cmp-navy-deep) 100%);
  color: var(--cmp-paper); padding: clamp(56px, 8vw, 104px) 0;
}
.cmp-hero h1 { color: var(--cmp-paper); }
.cmp-hero .cmp-eyebrow { color: var(--cmp-sky); }
.cmp-hero-grid { display: grid; gap: clamp(32px, 4vw, 56px); align-items: center; }
.cmp-hero-grid.has-media { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); }
.cmp-hero-standfirst { margin-top: 20px; color: rgba(255, 255, 255, 0.82); font-size: 1.0625rem; }
.cmp-hero-standfirst p + p { margin-top: 14px; }
.cmp-hero-standfirst strong { color: var(--cmp-paper); font-weight: 600; }
.cmp-hero-standfirst a { color: var(--cmp-sky); }
.cmp-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.cmp-hero-media img {
  width: 100%; height: auto; display: block;
  border-radius: var(--cmp-radius); box-shadow: 0 24px 60px rgba(0, 10, 35, 0.35);
}

/* ── Body layout: sticky contents rail beside the sections ──────────── */
.cmp-body { display: grid; grid-template-columns: 208px minmax(0, 1fr); gap: clamp(32px, 4vw, 64px); padding: var(--cmp-gap) 0; }
.cmp-main { min-width: 0; display: flex; flex-direction: column; gap: var(--cmp-gap); }
.cmp-section { scroll-margin-top: calc(var(--tl-banner, 0px) + 96px); }
.cmp-section-head { margin-bottom: 28px; }
.cmp-section-head .cmp-h2 { margin-top: 6px; }

.cmp-toc { position: sticky; top: calc(var(--tl-banner, 0px) + 96px); align-self: start; }
.cmp-toc-title {
  font-size: 0.6875rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.14em; color: var(--cmp-dim); margin-bottom: 14px;
}
.cmp-toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--cmp-line); }
.cmp-toc a {
  display: block; padding: 8px 0 8px 16px; margin-left: -2px;
  border-left: 2px solid transparent;
  font-size: 0.875rem; font-weight: 500; color: var(--cmp-muted); text-decoration: none;
  transition: color 0.18s ease, border-color 0.18s ease;
}
.cmp-toc a:hover { color: var(--cmp-navy); }
.cmp-toc a.is-current { color: var(--cmp-blue); border-left-color: var(--cmp-blue); font-weight: 600; }

/* ── Comparison table: the TopLeft lane ─────────────────────────────── */
.cmp-table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.cmp-table { width: 100%; border-collapse: separate; border-spacing: 0; min-width: 720px; }
.cmp-table th, .cmp-table td { text-align: left; vertical-align: top; padding: 18px 20px; font-size: 0.9375rem; line-height: 1.6; }
.cmp-table thead th {
  font-family: var(--cmp-display); font-size: 0.8125rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--cmp-muted);
  padding-bottom: 14px; border-bottom: 1px solid var(--cmp-line);
}
.cmp-table tbody td { border-bottom: 1px solid var(--cmp-line-soft); }
.cmp-table tbody tr:last-child td { border-bottom: 0; }
.cmp-table .cmp-criterion { font-family: var(--cmp-display); font-weight: 600; color: var(--cmp-navy); width: 18%; }
.cmp-table .cmp-criterion strong { font-weight: 600; }
/* Five-column bodies ("Best For", "Source") need more room than the column
   allows, so the table scrolls rather than compressing prose into slivers. */
.cmp-table--wide { min-width: 1120px; }
.cmp-table--wide .cmp-criterion { width: 15%; }
.cmp-table--wide td:nth-child(4), .cmp-table--wide th:nth-child(4) { width: 20%; font-size: 0.875rem; }
.cmp-table--wide td:nth-child(5), .cmp-table--wide th:nth-child(5) { width: 13%; font-size: 0.8125rem; }
.cmp-table--wide td:nth-child(5) { color: var(--cmp-muted); }
/* A scrollable table needs to look scrollable. */
.cmp-table-scroll { scrollbar-width: thin; padding-bottom: 4px; }

/* Column two is the lane: tinted band, blue cap, rounded ends. */
.cmp-table thead th.cmp-lane {
  background: var(--cmp-lane); color: var(--cmp-blue);
  border-top: 3px solid var(--cmp-blue); border-bottom-color: var(--cmp-lane-edge);
  border-radius: var(--cmp-radius-sm) var(--cmp-radius-sm) 0 0;
  padding-top: 14px;
}
.cmp-table tbody td.cmp-lane { background: var(--cmp-lane); }
.cmp-table tbody tr:last-child td.cmp-lane { border-radius: 0 0 var(--cmp-radius-sm) var(--cmp-radius-sm); }
.cmp-table .cmp-extra { display: block; margin-top: 10px; font-size: 0.8125rem; color: var(--cmp-muted); }
.cmp-table .cmp-extra-label {
  display: block; font-size: 0.625rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--cmp-dim); margin-bottom: 2px;
}

/* Stacked card view, used below the table's minimum readable width. */
.cmp-rows { display: none; flex-direction: column; gap: 16px; }
.cmp-row {
  border: 1px solid var(--cmp-line); border-radius: var(--cmp-radius);
  overflow: hidden; background: var(--cmp-paper);
}
.cmp-row-head {
  font-family: var(--cmp-display); font-weight: 600; color: var(--cmp-navy);
  padding: 14px 18px; background: var(--cmp-wash); border-bottom: 1px solid var(--cmp-line);
}
.cmp-row-side { padding: 16px 18px; font-size: 0.9375rem; }
.cmp-row-side + .cmp-row-side { border-top: 1px solid var(--cmp-line-soft); }
.cmp-row-side.cmp-lane { background: var(--cmp-lane); border-left: 3px solid var(--cmp-blue); }
.cmp-row-label {
  display: block; font-size: 0.6875rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--cmp-dim); margin-bottom: 6px;
}
.cmp-row-side--extra { background: var(--cmp-wash); font-size: 0.875rem; color: var(--cmp-muted); }
.cmp-row-side.cmp-lane .cmp-row-label { color: var(--cmp-blue); }

/* ── Fit cards ──────────────────────────────────────────────────────── */
.cmp-fit { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.cmp-fit-card {
  border: 1px solid var(--cmp-line); border-radius: var(--cmp-radius);
  padding: 26px; background: var(--cmp-paper); border-top: 3px solid var(--cmp-line);
}
.cmp-fit-card--topleft { border-top-color: var(--cmp-blue); background: var(--cmp-lane); }
.cmp-fit-card--competitor { border-top-color: var(--cmp-dim); }
.cmp-fit-card--neutral { border-top-color: var(--cmp-line); background: var(--cmp-wash); }
.cmp-fit-card--wide { grid-column: 1 / -1; }
.cmp-fit-side {
  display: block; font-size: 0.6875rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--cmp-dim); margin-bottom: 10px;
}
.cmp-fit-card--topleft .cmp-fit-side { color: var(--cmp-blue); }
.cmp-fit-body { margin-top: 12px; color: var(--cmp-muted); font-size: 0.9375rem; }
.cmp-fit-body p + p { margin-top: 12px; }
.cmp-fit-media { margin-top: 18px; }
/* Card imagery comes from a mixed library: wide product screenshots next to
   square conceptual art. A fixed ratio keeps the grid even whatever it gets. */
.cmp-fit-media img {
  width: 100%; display: block; border-radius: var(--cmp-radius-sm);
  border: 1px solid var(--cmp-line); aspect-ratio: 16 / 9; object-fit: cover;
}

/* ── Onboarding two-up ──────────────────────────────────────────────── */
.cmp-onboarding { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.cmp-onboarding-card {
  border: 1px solid var(--cmp-line); border-radius: var(--cmp-radius);
  padding: 26px; background: var(--cmp-paper); box-shadow: var(--cmp-shadow);
  display: flex; flex-direction: column;
}
.cmp-onboarding-card ul { list-style: none; margin: 16px 0 0; padding: 0; flex: 1; }
.cmp-onboarding-card li { position: relative; padding-left: 22px; font-size: 0.9375rem; color: var(--cmp-muted); }
.cmp-onboarding-card li + li { margin-top: 9px; }
.cmp-onboarding-card li::before {
  content: ''; position: absolute; left: 0; top: 10px;
  width: 7px; height: 7px; border-radius: 50%; background: var(--cmp-blue);
}
.cmp-onboarding-card .cmp-btn { margin-top: 22px; align-self: flex-start; }

/* ── Proof panel ────────────────────────────────────────────────────────
   A navy panel inside the content column, not a full-bleed band. Breaking
   the page out of the grid mid-document would cut the sticky contents rail
   in half, and the rail is worth more than the bleed on a page this long. */
.cmp-proof {
  background: var(--cmp-navy); color: var(--cmp-paper);
  padding: clamp(32px, 4vw, 48px); border-radius: var(--cmp-radius);
}
.cmp-proof .cmp-h2 { color: var(--cmp-paper); }
.cmp-proof .cmp-eyebrow { color: var(--cmp-sky); }
.cmp-quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 32px; }
.cmp-quote {
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--cmp-radius); padding: 26px;
  display: flex; flex-direction: column;
}
.cmp-quote-text { font-size: 1rem; line-height: 1.65; color: rgba(255, 255, 255, 0.92); }
/* Attributions sit on a shared baseline across cards of unequal quote length. */
.cmp-quote-who { margin-top: auto; padding-top: 18px; font-size: 0.8125rem; color: rgba(255, 255, 255, 0.62); }
.cmp-quote-who strong { display: block; color: var(--cmp-paper); font-weight: 600; font-size: 0.875rem; }
.cmp-proof-prose { margin-top: 24px; color: rgba(255, 255, 255, 0.82); max-width: 68ch; }
.cmp-proof-prose p + p { margin-top: 14px; }

/* ── Related links ──────────────────────────────────────────────────── */
.cmp-related { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.cmp-related a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 18px; border: 1px solid var(--cmp-line); border-radius: var(--cmp-radius-sm);
  font-size: 0.9375rem; font-weight: 500; color: var(--cmp-navy); text-decoration: none;
  transition: border-color 0.18s ease, color 0.18s ease;
}
.cmp-related a:hover { border-color: var(--cmp-blue); color: var(--cmp-blue); text-decoration: none; }
.cmp-related a::after { content: ''; width: 7px; height: 7px; flex: none; border-right: 2px solid currentColor; border-top: 2px solid currentColor; transform: rotate(45deg); }

/* ── Prose blocks ───────────────────────────────────────────────────── */
.cmp-prose { color: var(--cmp-muted); max-width: 68ch; }
.cmp-prose p + p, .cmp-prose ul { margin-top: 14px; }
.cmp-prose ul { padding-left: 20px; }
.cmp-prose li + li { margin-top: 6px; }
.cmp-prose img { max-width: 100%; height: auto; border-radius: var(--cmp-radius-sm); }

/* ── Closing CTA ────────────────────────────────────────────────────── */
.cmp-cta { background: var(--cmp-wash); border-top: 1px solid var(--cmp-line); padding: clamp(48px, 6vw, 80px) 0; text-align: center; }
.cmp-cta .cmp-prose { margin: 16px auto 0; }
.cmp-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 28px; }
.cmp-footnote { margin-top: 20px; font-size: 0.8125rem; color: var(--cmp-dim); }

/* ── Scroll reveal, disabled for reduced motion ─────────────────────── */
.cmp-reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.5s ease, transform 0.5s ease; }
.cmp-reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .cmp-page * { animation: none !important; transition: none !important; }
  .cmp-reveal { opacity: 1; transform: none; }
}

/* ── Responsive ─────────────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .cmp-body { grid-template-columns: 1fr; }
  .cmp-toc { display: none; }
}
@media (max-width: 900px) {
  .cmp-hero-grid.has-media { grid-template-columns: 1fr; }
  .cmp-fit, .cmp-onboarding { grid-template-columns: 1fr; }
  .cmp-fit-card--wide { grid-column: auto; }
}
@media (max-width: 760px) {
  .cmp-table-scroll { display: none; }
  .cmp-rows { display: flex; }
  .cmp-shell { padding: 0 18px; }
}
