/* The comparison pages (/compare and /compare/<rival>): the pricing page's type and rows, a product shot of crew bot
   doing the thing that sets it apart, and a side-by-side table that stacks on a phone. Same dark tokens (site.css). */
.page { padding: 64px 0 96px; }
.page h1 { max-width: 760px; margin: 12px 0 0; font-size: clamp(34px, 5vw, 52px); line-height: 1.08; font-weight: 500; letter-spacing: -0.04em; text-wrap: balance; }
.page .lede { margin: 18px 0 0; max-width: 660px; color: var(--muted); font-size: 18px; text-wrap: pretty; }
.page h2 { margin: 80px 0 0; font-size: clamp(24px, 3vw, 30px); line-height: 1.2; font-weight: 500; letter-spacing: -0.025em; }
.page h2 + .sub { margin: 10px 0 0; max-width: 640px; color: var(--muted); font-size: 16px; }
.page a:not(.btn) { color: var(--accent); text-underline-offset: 3px; }
.asof { display: inline-flex; margin-top: 18px; color: var(--faint); font-size: 13px; }
.crumbs { color: var(--faint); }
.crumbs a { color: var(--muted) !important; text-decoration: none; }
.crumbs a:hover { color: var(--text) !important; }

/* The opening: copy beside a product shot. */
.open { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.open .cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.open .note { margin-top: 12px; color: var(--faint); font-size: 13px; }

/* Product shots, in the board's dark tokens (the homepage's .shot). */
.shot { position: relative; border-radius: 16px; border: 1px solid var(--line-strong); background: #0a0a0a; box-shadow: 0 30px 80px rgb(0 0 0 / 0.55); overflow: hidden; font-size: 13px; line-height: 18px; }
.shot svg.i { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.shot .lbl { display: flex; align-items: center; gap: 8px; padding: 12px 18px; border-bottom: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.shot .lbl .chip { margin-left: auto; }
.shot .pad { padding: 16px 18px; }
.chip { font: 11px/16px "Geist Mono", ui-monospace, monospace; color: var(--faint); padding: 1px 7px; border-radius: 6px; background: var(--panel-2); white-space: nowrap; }
.chip.ok { color: var(--green); background: rgb(76 201 138 / 0.12); }
.chip.wait { color: var(--amber); background: rgb(233 169 75 / 0.12); }
.mini { height: 30px; padding: 0 14px; border-radius: 999px; display: inline-flex; align-items: center; font-size: 12.5px; font-weight: 500; background: var(--panel-2); color: var(--text); }
.mini.pri { background: var(--ink); color: var(--ink-fg); }
.btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.fine { margin-top: 12px; font-size: 12px; color: var(--faint); }
.term { font: 12px/1.75 "Geist Mono", ui-monospace, monospace; color: #c8c8c8; padding: 14px 18px; white-space: pre-wrap; overflow-wrap: anywhere; }
.term .p { color: var(--muted); } .term .c { color: var(--faint); } .term .g { color: var(--green); } .term .r { color: var(--red); }
.who { display: flex; align-items: center; gap: 10px; }
.who b { font-weight: 500; } .who small { color: var(--faint); font-size: 12px; }

/* An approval waiting for the person. */
.ask { margin: 0 18px 18px; padding: 14px; border: 1px solid var(--line-strong); border-radius: 12px; background: #101010; }
.ask .what { margin-top: 10px; font-size: 13.5px; color: var(--text); }
.ask .why { margin-top: 4px; font-size: 12.5px; color: var(--muted); }

/* A job's steps. */
.steps { list-style: none; margin: 14px 0 0; padding: 0; }
.steps li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; padding: 7px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.steps li:first-child { border-top: 0; }
.steps li svg.i { width: 14px; height: 14px; margin-top: 2px; color: var(--green); }
.steps li b { color: var(--text); font-weight: 500; }

/* A support chat on a website: the widget as visitors see it (light, the site's colour on their own messages;
   lib/apps/support/widget/frame.css). */
.site-bg { padding: 22px; background: linear-gradient(165deg, #17171a, #0c0c0e 70%); }
.widget { max-width: 360px; margin-left: auto; border-radius: 16px; background: #fff; color: #16161a; overflow: hidden; box-shadow: 0 16px 40px rgb(0 0 0 / 0.45); }
.widget .head { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-bottom: 1px solid #ebebe8; }
.widget .head b { font-weight: 600; font-size: 14px; }
.widget .head small { display: block; color: #6b6b73; font-size: 12px; }
.widget .msgs { display: flex; flex-direction: column; gap: 8px; padding: 14px; }
.bub { max-width: 84%; padding: 8px 12px; font-size: 12.5px; line-height: 1.45; }
.bub.them { align-self: flex-end; background: #0e7490; color: #fff; border-radius: 16px 16px 6px 16px; }
.bub.bot { align-self: flex-start; background: #f3f3f1; color: #16161a; border-radius: 16px 16px 16px 6px; }
.widget .done { align-self: stretch; padding: 10px 12px; border: 1px solid #ebebe8; border-radius: 12px; font-size: 12px; color: #6b6b73; }
.widget .foot { padding: 8px 14px 10px; text-align: center; font-size: 11px; color: #9a9aa1; }
.widget .foot b { color: #6b6b73; font-weight: 600; }
.handed { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 12px; color: var(--muted); }

/* Side by side. A table on a computer; each row a small card of its own on a phone. */
.vs { margin-top: 28px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); overflow: hidden; }
.vs table { width: 100%; border-collapse: collapse; font-size: 14px; }
.vs th, .vs td { padding: 14px 18px; text-align: left; vertical-align: top; border-top: 1px solid var(--line); }
.vs thead th { border-top: 0; padding-top: 18px; padding-bottom: 14px; font-size: 15px; font-weight: 500; color: var(--text); }
.vs thead th.us { color: var(--accent); }
.vs tbody th { width: 22%; color: var(--muted); font-weight: 400; }
.vs td { color: var(--text); }
.vs td small { display: block; margin-top: 3px; color: var(--faint); font-size: 12.5px; }
.vs .no { color: var(--faint); }
.vs.four tbody th { width: 16%; }
.vs.four td { width: 21%; }
.vs-note { margin-top: 12px; color: var(--faint); font-size: 13px; }

/* Lists of points: heading left, words right (the pricing page's rows). */
.rows { margin-top: 20px; border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: minmax(180px, 280px) 1fr; gap: 8px 32px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.row h3 { margin: 0; font-size: 15px; font-weight: 500; }
.row p { margin: 0; color: var(--muted); font-size: 15px; }

/* Which to choose. */
.choose { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.choose > div { padding: 24px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
.choose h3 { margin: 0; font-size: 16px; font-weight: 500; }
.choose ul { margin: 12px 0 0; padding: 0 0 0 18px; color: var(--muted); font-size: 15px; }
.choose li + li { margin-top: 6px; }

/* The index: one card per comparison. */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.cards a { display: flex; flex-direction: column; padding: 24px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); text-decoration: none; color: var(--text) !important; transition: border-color 0.15s, background 0.15s; }
.cards a:hover { border-color: var(--line-strong); background: #0f0f0f; }
.cards h3 { margin: 0; font-size: 17px; font-weight: 500; }
.cards p { margin: 8px 0 0; color: var(--muted); font-size: 14.5px; flex: 1; }
.cards span { margin-top: 16px; color: var(--accent); font-size: 14px; }

.sources { margin-top: 64px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--faint); font-size: 13px; }
.sources h2 { margin: 0 0 8px; font-size: 14px; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.sources ul { margin: 8px 0 0; padding-left: 18px; }
.sources a { color: var(--muted) !important; }

.end { margin-top: 72px; padding: 32px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.end h2 { margin: 0; }
.end p { margin: 6px 0 0; color: var(--muted); }

@media (max-width: 960px) {
  .open { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .cards { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 680px) {
  .page { padding-top: 40px; }
  .row { grid-template-columns: 1fr; }
  .choose { grid-template-columns: minmax(0, 1fr); }
  .end { padding: 24px 20px; }
  .site-bg { padding: 14px; }
  .widget { max-width: none; }
  /* The table becomes one small card per row: what's compared, then each product's answer, named. */
  .vs thead { display: none; }
  .vs table, .vs tbody, .vs tr { display: block; }
  .vs tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
  .vs tbody tr:first-child { border-top: 0; }
  .vs tbody th { grid-column: 1 / -1; width: auto !important; padding: 14px 14px 0; border-top: 0; color: var(--text); font-weight: 500; }
  .vs td { width: auto !important; padding: 8px 14px 14px; border-top: 0; font-size: 13.5px; }
  .vs td::before { content: attr(data-who); display: block; margin-bottom: 2px; font: 500 11px/16px "Geist Mono", ui-monospace, monospace; letter-spacing: 0.04em; text-transform: uppercase; color: var(--faint); }
  .vs td.us::before { color: var(--accent); }
}
