/* The compare cluster's shared stylesheet — same tokens and components as the
   front page, factored out so six pages don't each carry 400 lines of CSS.
   Cached once, used by /compare and every /compare/<competitor> page. */

@font-face {
  font-family: 'Hanken Grotesk';
  src: url('/fonts/HankenGrotesk-Variable.woff2') format('woff2-variations'),
    url('/fonts/HankenGrotesk-Variable.ttf') format('truetype-variations');
  font-weight: 300 800;
  font-display: swap;
}
@font-face {
  font-family: 'Archivo';
  src: url('/fonts/Archivo-Variable.woff2') format('woff2-variations'),
    url('/fonts/Archivo-Variable.ttf') format('truetype-variations');
  font-weight: 400 900;
  font-stretch: 75% 125%;
  font-display: swap;
}
@font-face {
  font-family: 'Geist Mono';
  src: url('/fonts/GeistMono-Medium.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}

:root {
  --ink: #16181d;
  --graphite: #2b2f36;
  --concrete: #6b7077;
  --paper: #f6f4ef;
  --surface: #fff;
  --amber: #ff8a2a;
  --amber-press: #e5731a;
  --amber-deep: #b85a10;
  --go: #1fa36b;
  --border: #e2dfd7;
  --border-strong: #cfcbc0;
  --ink-tint: #eceae4;
  --amber-tint: #fcebdd;
  --maxw: 1080px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Hanken Grotesk', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1,
h2,
h3 {
  font-family: 'Archivo', 'Hanken Grotesk', sans-serif;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 0;
  font-weight: 800;
}
p {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
.num {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-feature-settings: 'tnum' 1;
}
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: inherit;
  font-weight: 600;
  border-radius: 10px;
  padding: 13px 20px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.12s ease, background 0.12s ease;
  min-height: 48px;
  white-space: nowrap;
}
.btn:active {
  transform: translateY(1px);
}
.btn-amber {
  background: var(--amber);
  color: var(--ink);
  box-shadow: 0 6px 18px rgba(255, 138, 42, 0.24);
}
.btn-amber:hover {
  background: var(--amber-press);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--border-strong);
}
.btn-ghost:hover {
  background: var(--ink-tint);
}
:focus-visible {
  outline: 2px solid #2b6cb0;
  outline-offset: 2px;
}

/* ---- header / footer (same as the front page) ---- */
header.site {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(246, 244, 239, 0.85);
  backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid var(--border);
}
header.site .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
header.site img {
  height: 26px;
  display: block;
}
header.site nav {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-signin {
  padding: 10px 14px;
  font-weight: 600;
  color: var(--ink);
  border-radius: 8px;
  white-space: nowrap;
}
.nav-signin:hover {
  background: var(--ink-tint);
}
/* the anchor links are desktop-only extras — the phone nav stays tight */
@media (max-width: 719px) {
  .nav-anchor {
    display: none;
  }
}
@media (max-width: 480px) {
  header.site .bar {
    height: 56px;
  }
  header.site img {
    height: 22px;
  }
  header.site nav {
    gap: 2px;
  }
  .nav-signin {
    padding: 8px 8px;
    font-size: 14px;
  }
  header.site .btn {
    padding: 9px 12px;
    min-height: 40px;
    font-size: 14px;
  }
}
@media (max-width: 374px) {
  .nav-compare {
    display: none;
  }
}
footer.site {
  background: var(--graphite);
  color: #c7cbd1;
  padding: 36px 0;
  font-size: 14px;
}
footer.site .row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: flex-start;
}
footer.site nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  max-width: 640px;
  justify-content: flex-end;
}
footer.site a:hover {
  color: var(--paper);
}

/* ---- page lede ---- */
.crumbs {
  padding: 20px 0 0;
  font-size: 13px;
  color: var(--concrete);
}
.crumbs a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.crumbs span {
  padding: 0 6px;
}
.lede-block {
  padding: 40px 0 24px;
}
.lede-block h1 {
  font-size: clamp(30px, 5.5vw, 46px);
  max-width: 26ch;
}
.lede-block .sub {
  color: var(--graphite);
  margin-top: 16px;
  font-size: clamp(16px, 2vw, 18px);
  max-width: 64ch;
}
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--concrete);
  margin-bottom: 16px;
}

/* ---- sections ---- */
section {
  padding: 40px 0;
}
section h2 {
  font-size: clamp(24px, 3.6vw, 32px);
  max-width: 30ch;
}
section .section-sub {
  color: var(--concrete);
  margin-top: 10px;
  font-size: 16px;
  max-width: 56ch;
}
.prose p {
  color: var(--graphite);
  margin-top: 14px;
  max-width: 66ch;
  font-size: 16px;
}
.band {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* ---- the loop motif ---- */
.loop {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 4px;
  margin-top: 20px;
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.loop b {
  font-weight: 600;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  border-radius: 8px;
  padding: 5px 10px;
  white-space: nowrap;
}
.loop i {
  font-style: normal;
  color: var(--concrete);
  padding: 0 2px;
}
.loop b.learn {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.loop .back {
  color: var(--amber-deep);
  font-weight: 600;
  white-space: nowrap;
}

/* ---- category cards (the hub) ---- */
.cats {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
  margin-top: 28px;
}
@media (min-width: 680px) {
  .cats {
    grid-template-columns: 1fr 1fr;
  }
}
.cat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cat h3 {
  font-size: 18px;
}
.cat .kv {
  font-size: 14px;
  color: var(--graphite);
}
.cat .kv b {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--concrete);
  margin-bottom: 2px;
}
.cat .kv.tz b {
  color: var(--amber-deep);
}
.cat .kv.tz {
  background: var(--amber-tint);
  border-radius: 10px;
  padding: 10px 12px;
  margin-top: auto;
}

/* ---- the decision guide (choose them / choose us) ---- */
.decide {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
  margin-top: 24px;
}
@media (min-width: 720px) {
  .decide {
    grid-template-columns: 1fr 1fr;
  }
}
.decide .col {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 14px;
  padding: 22px;
}
.decide .col.tz {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}
.decide h3 {
  font-size: 17px;
}
.decide ul {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.decide li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14.5px;
  color: var(--graphite);
}
.decide .col.tz li {
  color: #dfe2e7;
}
.decide li::before {
  content: '·';
  font-weight: 800;
  color: var(--concrete);
}
.decide .col.tz li::before {
  content: '✓';
  color: var(--amber);
  font-weight: 700;
  font-size: 13px;
  margin-top: 1px;
}

/* ---- the lightweight comparison table ----
   ≤7 rows, two product columns. On phones it stacks: each row becomes a
   mini-card with the row label on top — no sideways scrolling. */
.lt {
  margin-top: 24px;
}
.lt table {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(22, 24, 29, 0.06);
}
.lt th,
.lt td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
  line-height: 1.5;
}
.lt tr:last-child th,
.lt tr:last-child td {
  border-bottom: none;
}
.lt thead th {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 15px;
  background: var(--graphite);
  color: var(--paper);
  border-bottom: 1px solid var(--graphite);
}
.lt thead th.tz {
  background: var(--ink);
  color: #fff;
}
.lt thead th.tz .pill {
  display: inline-block;
  background: var(--amber);
  color: var(--ink);
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border-radius: 99px;
  padding: 2px 8px;
  margin-left: 8px;
  vertical-align: middle;
}
.lt tbody th {
  font-weight: 700;
  color: var(--ink);
  width: 22%;
  background: var(--paper);
  border-right: 1px solid var(--border);
}
.lt td {
  color: var(--graphite);
  width: 39%;
}
.lt td.tz {
  background: var(--amber-tint);
  color: var(--ink);
}
@media (max-width: 640px) {
  .lt table,
  .lt tbody,
  .lt tr,
  .lt th,
  .lt td {
    display: block;
    width: 100%;
  }
  .lt thead {
    display: none;
  }
  .lt tbody th {
    width: 100%;
    border-right: none;
    padding-bottom: 6px;
  }
  .lt td::before {
    content: attr(data-label);
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--concrete);
    margin-bottom: 2px;
  }
  .lt td.tz::before {
    color: var(--amber-deep);
  }
  .lt tr {
    border-bottom: 6px solid var(--paper);
  }
}

/* ---- fit table (hub): tool type / best fit / limitation / Tradeeze angle ---- */
.lt .fit td {
  width: auto;
}

/* ---- the real-job example ---- */
.job-example {
  margin-top: 24px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-left: 4px solid var(--amber);
  border-radius: 14px;
  padding: 22px;
  max-width: 720px;
}
.job-example .lab {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--amber-deep);
  display: block;
  margin-bottom: 8px;
}
.job-example p {
  color: var(--graphite);
  font-size: 15px;
}
.job-example p + p {
  margin-top: 10px;
}

/* ---- FAQ ---- */
.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 20px;
  margin-top: 12px;
}
.faq summary {
  font-weight: 700;
  cursor: pointer;
}
.faq details p {
  color: var(--graphite);
  font-size: 15px;
  margin-top: 10px;
  max-width: 64ch;
}

/* ---- source note ---- */
.source-note {
  color: var(--concrete);
  font-size: 13px;
  margin-top: 28px;
  max-width: 74ch;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

/* ---- final CTA ---- */
.final {
  text-align: center;
  padding: 56px 0 64px;
}
.final h2 {
  font-size: clamp(28px, 5vw, 40px);
  max-width: none;
}
.final p {
  color: var(--concrete);
  margin: 14px auto 28px;
  max-width: 48ch;
  font-size: 17px;
}
.final .cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
