/* ============================================================
   MeMachine — comparison sheets.

   Same world as the landing page: paper, ink, pen-red, the
   machine's own drawing office. These pages are the sheets the
   machine files when someone asks "what about the other thing?"

   Every token below comes from /landing/landing.css. This file
   adds no colours, no fonts and no new ideas — only the layout
   for a comparison sheet: the header block, the two-column
   SPECIFICATION plate, the fork ("choose them / choose us"),
   and the single closing instruction.
   ============================================================ */

.cmp-wrap {
  width: 100%;
  max-width: 920px;
  margin-inline: auto;
  padding-inline: 24px;
}

/* ------------------------- sheet header ------------------------- */

.cmp-header { padding-block: 46px 38px; }
.cmp-header .figlabel { margin-bottom: 16px; }
.cmp-header h1 {
  font-family: var(--sans);
  font-size: clamp(30px, 4.6vw, 54px);
  line-height: 1.04;
  letter-spacing: -.03em;
  font-weight: 600;
  color: var(--ink);
  max-width: 20ch;
}
.cmp-vs {
  font-family: var(--mono);
  font-weight: 400;
  font-size: .52em;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--pen);
  vertical-align: .16em;
  padding-inline: .18em;
}
.cmp-dek {
  margin-top: 18px;
  max-width: 60ch;
  font-size: clamp(16.5px, 1.6vw, 19px);
  line-height: 1.55;
  color: var(--ink-2);
}
.cmp-asof {
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--graphite-2);
}
.cmp-asof::before { content: '\2014\00a0\00a0'; color: var(--pen); }

/* --------------------------- sheet body --------------------------- */

.cmp-body { padding-block: 40px 70px; }

.cmp-body h2 {
  font-size: clamp(21px, 2.2vw, 28px);
  line-height: 1.16;
  letter-spacing: -.022em;
  font-weight: 600;
  color: var(--ink);
  margin-top: 46px;
  margin-bottom: 12px;
  max-width: 30ch;
}
.cmp-body h3 {
  font-size: 17.5px;
  font-weight: 600;
  color: var(--ink);
  margin-top: 26px;
  margin-bottom: 8px;
}
.cmp-body p {
  font-size: 16.5px;
  line-height: 1.66;
  color: var(--ink-2);
  margin-bottom: 14px;
  max-width: 68ch;
}
.cmp-body ul { margin: 0 0 16px 20px; max-width: 68ch; }
.cmp-body li { font-size: 16.5px; line-height: 1.62; color: var(--ink-2); margin-bottom: 8px; }
.cmp-body strong { color: var(--ink); font-weight: 600; }
.cmp-body a { color: var(--pen); text-decoration: underline; text-underline-offset: 3px; }

.cmp-lede {
  font-size: clamp(17px, 1.7vw, 20px) !important;
  line-height: 1.55 !important;
  color: var(--ink) !important;
  border-left: 2px solid var(--pen);
  padding-left: 18px;
  margin-bottom: 26px;
}

/* the hand, out on the paper, the way it is on the landing page */
.cmp-hand {
  display: block;
  margin: 26px 0 30px;
  max-width: 30ch;
  transform: rotate(-1.4deg);
}
.cmp-hand-right { margin-left: auto; text-align: right; transform: rotate(1.2deg); }

/* --------------- the SPECIFICATION plate (the comparison) --------------- */

.spec {
  margin: 26px 0 10px;
  border: 1px solid var(--rule);
  background: var(--stock-2);
  border-radius: var(--r);
  overflow: hidden;
}
.spec-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 11px 16px; border-bottom: 1px solid var(--rule);
  font-family: var(--mono); font-size: 10px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--graphite-2);
}
.spec-scroll { overflow-x: auto; }
.spec table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  background: transparent;
}
.spec thead th {
  padding: 12px 16px;
  text-align: left;
  vertical-align: bottom;
  border-bottom: 1px solid var(--rule);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .15em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--graphite-2);
  background: var(--stock);
}
.spec thead th.spec-us { color: var(--pen); }
.spec tbody th {
  padding: 13px 16px;
  text-align: left;
  vertical-align: top;
  width: 27%;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--graphite);
  border-bottom: 1px dotted var(--rule);
}
.spec tbody td {
  padding: 13px 16px;
  vertical-align: top;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink-2);
  border-bottom: 1px dotted var(--rule);
}
.spec tbody tr:last-child th,
.spec tbody tr:last-child td { border-bottom: 0; }
.spec td.spec-us { color: var(--ink); background: rgba(193, 48, 27, 0.035); }
.spec-foot {
  border-top: 1px dashed var(--rule);
  padding: 12px 16px 14px;
  font-family: var(--mono);
  font-size: 9.5px;
  line-height: 1.75;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--graphite-2);
}

/* ------------------------------ the fork ------------------------------ */

.fork {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 28px 0 12px;
}
.fork-card {
  border: 1px solid var(--rule);
  background: var(--stock);
  border-radius: var(--r);
  padding: 22px 22px 24px;
  position: relative;
}
.fork-card.fork-us { border-color: rgba(193, 48, 27, .42); }
.fork-tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--graphite-2);
  display: block;
  margin-bottom: 12px;
}
.fork-us .fork-tag { color: var(--pen); }
.fork-card h3 {
  margin: 0 0 12px !important;
  font-size: 19px !important;
  line-height: 1.22;
  letter-spacing: -.015em;
}
.fork-card ul { margin: 0 0 0 18px; max-width: none; }
.fork-card li { font-size: 15.5px; line-height: 1.5; margin-bottom: 9px; }

/* --------------------------- closing block --------------------------- */

.cmp-close {
  margin-top: 46px;
  border-top: 1px solid var(--rule);
  padding-top: 34px;
}
.cmp-close h2 { margin-top: 0; }
.cmp-close .cta-row { margin-top: 22px; }
.cmp-fine {
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 9.5px;
  line-height: 1.8;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--graphite-2);
  max-width: 70ch;
}

/* ------------------------------ the index ------------------------------ */

.cmp-index {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  border-top: 1px solid var(--rule);
}
.cmp-index li { margin: 0; }
.cmp-index a {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 18px;
  padding: 20px 4px;
  border-bottom: 1px solid var(--rule);
  text-decoration: none;
  color: var(--ink);
  transition: background .16s ease;
}
.cmp-index a:hover { background: rgba(23, 20, 15, .035); }
.cmp-index a:hover .cmp-index-go { color: var(--pen); }
.cmp-index-n {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--pen);
}
.cmp-index-t {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -.015em;
  line-height: 1.25;
}
.cmp-index-d {
  display: block;
  margin-top: 6px;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--ink-2);
  letter-spacing: 0;
}
.cmp-index-go {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--graphite-2);
  white-space: nowrap;
}

/* ------------------------------ responsive ------------------------------ */

@media (max-width: 720px) {
  .fork { grid-template-columns: 1fr; }
  .cmp-index a { grid-template-columns: 1fr; gap: 8px; padding-block: 18px; }
  .cmp-index-go { display: none; }
  .cmp-hand-right { margin-left: 0; text-align: left; }
}
@media (max-width: 640px) {
  .cmp-wrap { padding-inline: 18px; }
  .cmp-header { padding-block: 34px 28px; }
  .cmp-body { padding-block: 30px 54px; }
}
