/* ─────────────────────────────────────────────────────────────────────────────
   ai-pilot-autopsy.css — page-specific styling for /ai-pilot-autopsy.

   This is the site's free top-of-funnel offer and its most linked-to page, so
   the call to action gets two placements: once right under the intro (so it's
   visible without scrolling on most screens) and once in the closing band.
   Both use the shared .offer-btn from ptech-home.css — the same action said
   twice, not two different offers.

   Loads after ptech-home.css. Reuses .ptech-rows / .ptech-row / .ptech-row__h
   everywhere a list of named items fits (the two failure reasons, the FAQ).
   The additions here are for the prose, stats, table, disqualify list and
   source list this page carries that services/process don't.

   Green is NOT used for the buttons. .offer-btn is bone on ink sitewide, and a
   page whose every button is green has marked nothing. Green here is reserved
   for the single row that is the path forward.
   ───────────────────────────────────────────────────────────────────────────── */

.autopsy-cta-actions {
  margin-top: 2.2em;
  display: flex;
  gap: 1em;
  flex-wrap: wrap;
  justify-content: center;
}

@media (max-width: 600px) {
  .autopsy-cta-actions { flex-direction: column; align-items: center; }
}

/* ── Answer-first paragraph ───────────────────────────────────────────────── */

.answer-first {
  margin: 0 0 1.1em;
}

/* ── Prose blocks ────────────────────────────────────────────────────────────
   Sections that are mostly explanation rather than a list of named items —
   capped at a comfortable reading width, left-aligned (the centered max-70
   header block above each is for the lede only).
   ───────────────────────────────────────────────────────────────────────────── */

.autopsy-prose {
  max-width: 46em;
  margin-top: 2.6em;
  margin-inline: auto;
}

.autopsy-prose p {
  margin: 0 0 1.3em;
}

.autopsy-prose p:last-child {
  margin-bottom: 0;
}

.autopsy-steps {
  list-style: none;
  padding: 0;
  margin: 0 0 1.6em;
  counter-reset: autopsy-step;
}

.autopsy-steps li {
  counter-increment: autopsy-step;
  position: relative;
  padding: 1em 0 1em 2.6em;
  border-bottom: 1px solid var(--ptech-hair);
}

.autopsy-steps li:first-child {
  border-top: 1px solid var(--ptech-hair);
}

.autopsy-steps li::before {
  content: counter(autopsy-step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1.15em;
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--ptech-bone-dim);
}

/* ── Stat row ─────────────────────────────────────────────────────────────── */

.autopsy-stat-row {
  margin-top: 2.6em;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.6em;
}

.autopsy-stat {
  border-top: 1px solid var(--ptech-hair);
  padding-top: 1.1em;
}

.autopsy-stat b {
  display: block;
  font-size: 2.3em;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 0.35em;
}

.autopsy-stat span {
  display: block;
  max-width: 22em;
  color: var(--ptech-bone-dim);
  font-size: 0.85em;
  margin-inline: auto;
}

@media (max-width: 991px) {
  .autopsy-stat-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 479px) {
  .autopsy-stat-row { grid-template-columns: 1fr; }
}

/* ── Comparison table ─────────────────────────────────────────────────────── */

.autopsy-table-wrap {
  margin-top: 2.6em;
  overflow-x: auto;
}

.autopsy-table {
  width: 100%;
  min-width: 46em;
  border-collapse: collapse;
  border-top: 1px solid var(--ptech-hair);
}

.autopsy-table th,
.autopsy-table td {
  text-align: left;
  vertical-align: top;
  padding: 1.1em 1.4em 1.1em 0;
  border-bottom: 1px solid var(--ptech-hair);
}

.autopsy-table thead th {
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ptech-bone-dim);
  font-weight: 400;
  padding-top: 0;
  padding-bottom: 0.9em;
}

.autopsy-table tbody td:first-child {
  max-width: 12em;
  white-space: nowrap;
  margin-inline: auto;
}

@media (max-width: 767px) {
  .autopsy-table { min-width: 42em; }
}

/* ── Callout ──────────────────────────────────────────────────────────────── */

.autopsy-callout {
  margin: 0.4em 0 1.3em;
  padding: 1.2em 1.6em;
  border-left: 2px solid var(--ptech-green-glow);
  background: var(--ptech-ink-3);
}

.autopsy-callout p {
  margin: 0 !important;
}

/* ── Disqualify list ──────────────────────────────────────────────────────── */

.autopsy-declines {
  max-width: 46em;
  margin-top: 2.6em;
  list-style: none;
  padding: 0;
  border-top: 1px solid var(--ptech-hair);
  margin-inline: auto;
}

.autopsy-declines li {
  padding: 1.3em 0;
  border-bottom: 1px solid var(--ptech-hair);
}

/* ── Sources ──────────────────────────────────────────────────────────────── */

.autopsy-sources {
  max-width: 46em;
  margin-top: 2.6em;
  padding-left: 1.3em;
  margin-inline: auto;
}

.autopsy-sources li {
  margin-bottom: 0.9em;
  color: var(--ptech-bone-dim);
  font-size: 0.92em;
}

.autopsy-sources a {
  color: var(--ptech-bone);
}

/* ── FAQ footnote ─────────────────────────────────────────────────────────── */

.autopsy-meta {
  margin-top: 2em;
  color: var(--ptech-bone-dim);
}

@media (prefers-reduced-motion: reduce) {
}
