/* Shared blog article styles, built on the site's design tokens.
   Linked from every article. The .ix-* page shell + listing classes live in
   the global styles.css so case-studies, blog, and changelog share them.

   Post layout (article body). The post is a narrow column inside .ix-page. */

.post { max-width: 680px; margin: 0 auto; }
.post-meta { font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; color: var(--c-ink-soft); }
.post h1 { font-size: 34px; line-height: 1.12; letter-spacing: -0.02em; margin: 10px 0 18px; color: var(--c-ink); }
.post .dek { font-size: 18px; line-height: 1.5; color: var(--c-ink-mid); margin: 0 0 24px; }
.post h2 { font-size: 20px; margin: 34px 0 10px; color: var(--c-ink); letter-spacing: -0.01em; }
.post h3 { font-size: 16px; margin: 22px 0 8px; color: var(--c-ink); }
.post p { font-size: 16.5px; line-height: 1.68; color: var(--c-ink-mid); margin: 0 0 16px; }
.post li { font-size: 16.5px; line-height: 1.6; color: var(--c-ink-mid); margin: 0 0 8px; }
.post strong { color: var(--c-ink); }

/* Answer-first block. GEO engines lift this verbatim, so keep it tight. */
.post .tldr {
  margin: 0 0 26px; padding: 16px 18px; border: 1px solid var(--c-line);
  border-radius: 8px; background: var(--c-paper);
}
.post .tldr-label {
  font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--c-ink-soft); margin: 0 0 6px;
}
.post .tldr p { margin: 0; font-size: 16px; color: var(--c-ink); }

/* Figures */
.post .post-figure { margin: 26px 0; }
.post .post-figure img { width: 100%; height: auto; border: 1px solid var(--c-line); border-radius: 8px; }
.post .post-figure figcaption { font-size: 13px; color: var(--c-ink-soft); margin-top: 8px; text-align: center; }

/* Comparison / cost table */
.post .data-table { width: 100%; border-collapse: collapse; margin: 18px 0 22px; font-size: 14.5px; }
.post .data-table th, .post .data-table td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--c-line); }
.post .data-table th { font-family: var(--mono); font-size: 12px; letter-spacing: 0.03em; color: var(--c-ink-soft); text-transform: uppercase; }
.post .data-table td { color: var(--c-ink-mid); }
.post .data-table strong { color: var(--c-ink); }

/* FAQ, native disclosure so it works with zero JS */
.post .faq { margin: 8px 0 0; border-top: 1px solid var(--c-line); }
.post .faq details { border-bottom: 1px solid var(--c-line); padding: 4px 0; }
.post .faq summary {
  cursor: pointer; list-style: none; padding: 12px 26px 12px 0; position: relative;
  font-size: 16px; font-weight: 600; color: var(--c-ink);
}
.post .faq summary::-webkit-details-marker { display: none; }
.post .faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 11px;
  font-family: var(--mono); font-size: 18px; color: var(--c-ink-soft);
}
.post .faq details[open] summary::after { content: "−"; }
.post .faq details p { margin: 0 0 14px; font-size: 15.5px; }

/* Numbered steps. A scannable "how to do it" list with a connector rail. */
.post .steps { counter-reset: step; margin: 18px 0 10px; padding: 0; list-style: none; }
.post .steps > li { position: relative; padding: 0 0 22px 52px; }
.post .steps > li::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: -2px; width: 32px; height: 32px;
  border-radius: 50%; background: var(--c-ink); color: var(--c-bg);
  font-family: var(--mono); font-weight: 700; font-size: 14px;
  display: flex; align-items: center; justify-content: center;
}
.post .steps > li:not(:last-child)::after {
  content: ""; position: absolute; left: 15px; top: 34px; bottom: 2px; width: 2px; background: var(--c-line);
}
.post .steps > li h3 { margin: 4px 0 5px; font-size: 16.5px; color: var(--c-ink); }
.post .steps > li p { margin: 0; font-size: 15.5px; }

/* Key-takeaway callout */
.post .note {
  margin: 22px 0; padding: 14px 18px; border-radius: 8px;
  background: var(--c-line-soft); border: 1px solid var(--c-line);
  font-size: 15.5px; color: var(--c-ink-mid);
}
.post .note strong { color: var(--c-ink); }

/* CTA */
.post .cta { margin: 36px 0 0; padding: 18px 20px; border: 1px solid var(--c-line); border-radius: 10px; background: var(--c-paper); }
.post .cta code { font-family: var(--mono); background: var(--c-line-soft); padding: 2px 6px; border-radius: 4px; font-size: 14px; }
.post .backlink { display: inline-block; margin-top: 30px; font-size: 14px; color: var(--c-ink-soft); }
