/*
  Outgrow blog post styles.
  Layered on top of /styles.css (which provides --surface, --panel, --ink, etc.,
  plus the shared header, footer, button, and typography base).
  Only blog-specific components live in this file.
*/

:root {
  --blog-max: 1280px;
  --blog-gutter: clamp(20px, 4vw, 64px);
  --serif: "Libre Baskerville", Georgia, "Times New Roman", serif;
  --rule: rgb(1 1 1 / 0.12);
  --rule-strong: rgb(1 1 1 / 0.22);
  --soft: rgb(1 1 1 / 0.68);
}

/* ---------- Reading progress bar (sticky top) ---------- */
.reading-progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 3px;
  z-index: 60;
  background: rgb(1 1 1 / 0.06);
}
.reading-progress span {
  display: block;
  width: 0%;
  height: 100%;
  background: var(--ink);
  transition: width 0.12s linear;
}

/* ---------- Hero ---------- */
.article-hero {
  padding: 132px var(--blog-gutter) 64px;
  background: var(--surface);
  position: relative;
  overflow: hidden;
}
.article-hero::before {
  content: "";
  position: absolute;
  width: 720px;
  height: 720px;
  right: -360px;
  top: 60px;
  background: var(--ink);
  opacity: 0.05;
  -webkit-mask: url("/assets/outgrow-o-mark.svg?v=4") center / contain no-repeat;
  mask: url("/assets/outgrow-o-mark.svg?v=4") center / contain no-repeat;
  pointer-events: none;
}
.article-hero-inner {
  width: min(100%, var(--blog-max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  position: relative;
  z-index: 2;
}
.crumbs {
  margin: 0 0 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--soft);
}
.crumbs a {
  color: var(--soft);
  transition: color 0.15s ease;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 0;
}
.crumbs a:hover { color: var(--ink); }
.crumbs span { opacity: 0.55; font-weight: 400; }
.article-hero h1 {
  margin: 0 0 24px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 4.2vw, 60px);
  line-height: 1.04;
  letter-spacing: -0.045em;
  max-width: 18ch;
}
.article-hero h1 em {
  font-style: italic;
  letter-spacing: -0.06em;
}
.hero-subtitle {
  margin: 0 0 36px;
  max-width: 52ch;
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.55;
  color: var(--soft);
}
.byline {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  max-width: 460px;
}
.byline-mark {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ink);
  display: grid;
  place-items: center;
}
.byline-mark::after {
  content: "";
  width: 18px;
  height: 18px;
  border: 2px solid var(--surface);
  border-left-color: transparent;
  border-radius: 50%;
}
.byline-meta {
  display: grid;
  gap: 4px;
  font-size: 13px;
}
.byline-meta strong {
  font-size: 14px;
  font-weight: 700;
}
.byline-meta span {
  color: var(--soft);
}
.byline-meta i {
  font-style: normal;
  margin: 0 8px;
  opacity: 0.5;
}

.hero-figure {
  margin: 0;
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--panel);
  border-radius: 4px;
}
.hero-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.6s ease;
}
.hero-figure:hover img {
  transform: scale(1.04);
}

/* ---------- Key takeaways box ---------- */
.takeaways {
  width: min(100%, var(--blog-max));
  margin: 0 auto 0;
  padding: 0 var(--blog-gutter);
}
.takeaways-card {
  margin-top: 0;
  padding: 32px clamp(24px, 3vw, 44px);
  background: var(--panel);
  border: 1px solid var(--rule);
  border-radius: 4px;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: clamp(20px, 4vw, 56px);
  align-items: start;
}
.takeaways-card .label {
  margin: 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--soft);
}
.takeaways-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.takeaways-card li {
  position: relative;
  padding-left: 36px;
  font-size: 16px;
  line-height: 1.55;
  font-weight: 500;
}
.takeaways-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 16px;
  height: 8px;
  border-bottom: 1.5px solid var(--ink);
  border-left: 1.5px solid var(--ink);
  transform: rotate(-45deg);
}

/* ---------- Article layout (TOC + body) ---------- */
.article-shell {
  width: min(100%, var(--blog-max));
  margin: 0 auto;
  padding: 80px var(--blog-gutter) 96px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.toc {
  position: sticky;
  top: 110px;
  align-self: start;
  font-size: 13.5px;
}
.toc-label {
  margin: 0 0 16px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--soft);
}
.toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 1px solid var(--rule);
}
.toc-list a {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  padding: 12px 0 12px 16px;
  min-height: 44px;
  align-items: center;
  margin-left: -1px;
  border-left: 2px solid transparent;
  color: var(--soft);
  line-height: 1.4;
  transition: color 0.18s ease, border-color 0.18s ease;
}
.toc-list a:hover {
  color: var(--ink);
}
.toc-list a.active {
  color: var(--ink);
  border-left-color: var(--ink);
  font-weight: 700;
}
.toc-list a span {
  color: var(--soft);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

/* ---------- Article body ---------- */
/*
  The body fills the full content column (~1000px at 1280 max).
  Text elements (p, h2, h3, ul, ol) are constrained to a comfortable
  reading width via the rule below. Wide components (comparison,
  editorial-split, image-feature, case-study, stats-strip, process,
  cta-panel, quote-band) fill the full width naturally.
*/
.article-body {
  max-width: none;
  width: 100%;
}
.article-body section {
  scroll-margin-top: 100px;
}
.article-body section > p,
.article-body section > h2,
.article-body section > h3,
.article-body section > h4,
.article-body section > ul:not(.bare),
.article-body section > ol,
.article-body > .sources {
  max-width: 720px;
}
.article-body h2 {
  position: relative;
  margin: 64px 0 24px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.1;
  letter-spacing: -0.035em;
}
.article-body h2 em { font-style: italic; }
.article-body h2:first-child { margin-top: 0; }
.article-body h2 a.anchor {
  position: absolute;
  left: -28px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  font-family: Inter, sans-serif;
  font-size: 18px;
  color: var(--soft);
  opacity: 0;
  transition: opacity 0.15s ease;
  text-decoration: none;
}
.article-body h2:hover a.anchor { opacity: 1; }

.article-body h3 {
  margin: 36px 0 16px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.3;
}
.article-body p {
  margin: 0 0 22px;
  font-size: 17px;
  line-height: 1.72;
  color: rgb(1 1 1 / 0.78);
}
.article-body p strong { color: var(--ink); font-weight: 700; }
.article-body p a {
  color: var(--ink);
  border-bottom: 1px solid var(--rule-strong);
  font-weight: 500;
  transition: border-color 0.15s ease;
}
.article-body p a:hover {
  border-bottom-color: var(--ink);
}
.article-body ul:not(.bare) {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  gap: 12px;
}
.article-body ul:not(.bare) li {
  position: relative;
  padding-left: 28px;
  font-size: 16.5px;
  line-height: 1.6;
  color: rgb(1 1 1 / 0.78);
}
.article-body ul:not(.bare) li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 14px;
  height: 1.5px;
  background: var(--ink);
}

/* ---------- Editorial split block ---------- */
.editorial-split {
  margin: 64px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
  padding: 48px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.editorial-split.image-right { direction: ltr; }
.editorial-split.image-right > .editorial-split-figure { order: 2; }
.editorial-split-figure {
  margin: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--panel);
  border-radius: 4px;
}
.editorial-split-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.editorial-split-body .label,
.section-block .label,
.image-feature .label,
.cta-panel .label,
.case-study .label,
.faq-block .label,
.related-block .label,
.final-cta .label {
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--soft);
}
.editorial-split-body h3 {
  margin: 0 0 16px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(26px, 2.8vw, 34px);
  line-height: 1.1;
  letter-spacing: -0.035em;
}

/* ---------- Comparison table ---------- */
/*
  Higher specificity selectors below override the homepage's
  global .comparison-table rule (used in homepage's Comparison section).
*/
.article-body .comparison {
  margin: 64px 0;
}
.article-body .comparison-head {
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--rule);
}
.article-body .comparison-head .label {
  margin: 0 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink);
}
.article-body .comparison-head .label::before {
  content: "";
  display: block;
  width: 28px;
  height: 1.5px;
  background: var(--ink);
}
.article-body .comparison-head h3 {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.12;
  letter-spacing: -0.035em;
  max-width: 26ch;
  color: var(--ink);
}
.article-body .comparison-head h3 em {
  font-style: italic;
}
.article-body .comparison-caption {
  margin: 0;
  font-size: 15px;
  font-style: italic;
  color: var(--soft);
  font-weight: 400;
  max-width: 62ch;
  line-height: 1.5;
}
.article-body .comparison-table {
  border: 1px solid var(--rule);
  border-radius: 4px;
  overflow: hidden;
  background: var(--surface);
  position: relative;
}
.article-body .comparison-table::before {
  /* Subtle column highlight band running the full table height
     to mark the recommended (4th) column from header to last row. */
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: calc((100% - 1.4fr * 0px) * 0);
  pointer-events: none;
}
.article-body .comparison-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  border-bottom: 1px solid var(--rule);
}
.article-body .comparison-row:last-child { border-bottom: 0; }
.article-body .comparison-row > div,
.article-body .comparison-row > strong {
  padding: 20px 22px;
  font-size: 14.5px;
  line-height: 1.45;
  border-right: 1px solid var(--rule);
  display: flex;
  align-items: center;
}
.article-body .comparison-row > *:last-child { border-right: 0; }
.article-body .comparison-row.head > strong {
  background: var(--panel);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 11px;
  font-weight: 800;
  position: relative;
}
.article-body .comparison-row.head > strong:last-child {
  background: var(--ink);
  color: var(--surface);
  padding-top: 36px;
}
.article-body .comparison-row.head > strong:last-child::before {
  content: "Recommended";
  position: absolute;
  top: 8px;
  left: 22px;
  right: 22px;
  text-align: left;
  font-size: 9.5px;
  letter-spacing: 0.2em;
  font-weight: 700;
  color: rgb(249 247 244 / 0.62);
  text-transform: uppercase;
}
.article-body .comparison-row > *:last-child {
  background: rgb(1 1 1 / 0.04);
  font-weight: 600;
}
.article-body .comparison-row > div.row-label {
  font-weight: 700;
  background: rgb(240 232 224 / 0.5);
}
.article-body .comparison-row > div.is-good {
  position: relative;
  padding-left: 46px;
  background: rgb(1 1 1 / 0.04);
  font-weight: 600;
  color: var(--ink);
}
.article-body .comparison-row > div.is-good::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--ink);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='white' d='m9.55 17.85-5.4-5.4 1.45-1.45 3.95 3.95 8.4-8.4 1.45 1.45z'/></svg>") center / 70% no-repeat var(--ink);
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='white' d='m9.55 17.85-5.4-5.4 1.45-1.45 3.95 3.95 8.4-8.4 1.45 1.45z'/></svg>") center / 70% no-repeat;
}

/* ---------- Quote band ---------- */
.quote-band {
  margin: 64px 0;
  padding: clamp(36px, 5vw, 72px);
  background: var(--ink);
  color: var(--surface);
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}
.quote-band::after {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  right: -160px;
  bottom: -200px;
  border-radius: 50%;
  background: var(--surface);
  opacity: 0.06;
  -webkit-mask: url("/assets/outgrow-o-mark.svg?v=4") center / contain no-repeat;
  mask: url("/assets/outgrow-o-mark.svg?v=4") center / contain no-repeat;
  pointer-events: none;
}
.quote-mark {
  font-family: var(--serif);
  font-size: 80px;
  line-height: 0.7;
  margin-bottom: 16px;
  color: var(--panel);
}
.quote-band h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(24px, 2.6vw, 36px);
  line-height: 1.2;
  letter-spacing: -0.035em;
  max-width: 32ch;
  position: relative;
  z-index: 1;
}
.quote-band footer {
  margin-top: 28px;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: rgb(249 247 244 / 0.65);
  position: relative;
  z-index: 1;
}

/* ---------- Image feature (full-width with caption card) ---------- */
.image-feature {
  margin: 80px 0 96px;
  position: relative;
}
.image-feature figure {
  margin: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--panel);
  border-radius: 4px;
}
.image-feature img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.image-feature .caption-card {
  position: absolute;
  right: clamp(16px, 4vw, 48px);
  bottom: -56px;
  width: min(420px, 80%);
  background: var(--panel);
  border: 1px solid var(--rule);
  padding: 28px 32px;
  border-radius: 4px;
}
.image-feature .caption-card h3 {
  margin: 8px 0 12px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.15;
  letter-spacing: -0.03em;
}
.image-feature .caption-card p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: rgb(1 1 1 / 0.74);
}

/* ---------- Process grid ---------- */
.process {
  margin: 80px 0;
}
.process > h3 {
  margin: 0 0 32px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(26px, 2.8vw, 34px);
  line-height: 1.1;
  letter-spacing: -0.035em;
  max-width: 22ch;
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: 4px;
  overflow: hidden;
}
.process-grid article {
  background: var(--surface);
  padding: 28px 28px 32px;
  display: grid;
  gap: 8px;
}
.process-grid .step-num {
  font-family: var(--serif);
  font-size: 22px;
  color: rgb(1 1 1 / 0.4);
  letter-spacing: -0.02em;
}
.process-grid h4 {
  margin: 4px 0 8px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.015em;
}
.process-grid p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--soft);
}

/* ---------- Mid-article CTA panel (dark inverse for visual punctuation) ---------- */
.cta-panel {
  margin: 80px 0;
  padding: clamp(36px, 4vw, 60px);
  background: var(--ink);
  color: var(--surface);
  border-radius: 4px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cta-panel::before {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  right: -140px;
  bottom: -160px;
  background: var(--surface);
  opacity: 0.06;
  -webkit-mask: url("/assets/outgrow-o-mark.svg?v=4") center / contain no-repeat;
  mask: url("/assets/outgrow-o-mark.svg?v=4") center / contain no-repeat;
  pointer-events: none;
}
.cta-panel > * {
  position: relative;
  z-index: 1;
}
.cta-panel .label {
  color: rgb(249 247 244 / 0.55);
}
.cta-panel h3 {
  margin: 8px 0 12px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(26px, 2.8vw, 34px);
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: var(--surface);
}
.cta-panel p {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: rgb(249 247 244 / 0.74);
  max-width: 56ch;
}
.cta-panel .button.button-dark {
  background: var(--surface);
  color: var(--ink);
}
.cta-panel .button.button-dark:hover {
  transform: translateY(-2px);
}

/* ---------- Inline stats (light, integrated into article flow) ---------- */
.inline-stats {
  margin: 36px 0;
  padding: 28px clamp(24px, 3vw, 36px);
  background: var(--panel);
  border: 1px solid var(--rule);
  border-radius: 4px;
}
.inline-stats .label {
  margin: 0 0 18px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--soft);
}
.inline-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgb(1 1 1 / 0.08);
  border: 1px solid rgb(1 1 1 / 0.08);
}
.inline-stats-grid > div {
  padding: 18px 22px;
  background: var(--panel);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.inline-stats-grid strong {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 3vw, 38px);
  letter-spacing: -0.04em;
  line-height: 1;
}
.inline-stats-grid span {
  font-size: 13px;
  color: var(--soft);
  line-height: 1.35;
}
@media (max-width: 640px) {
  .inline-stats-grid { grid-template-columns: 1fr; }
}

/* ---------- Stats strip (dark) ---------- */
.stats-strip {
  margin: 80px 0;
  padding: clamp(32px, 4vw, 48px) clamp(24px, 4vw, 56px);
  background: var(--ink);
  color: var(--surface);
  border-radius: 4px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
}
.stats-strip > div {
  padding: 10px 24px;
  border-right: 1px solid rgb(249 247 244 / 0.18);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.stats-strip > div:last-child { border-right: 0; }
.stats-strip strong {
  font-family: var(--serif);
  font-size: clamp(34px, 3.6vw, 48px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1;
}
.stats-strip span {
  font-size: 13px;
  color: rgb(249 247 244 / 0.72);
}

/* ---------- Case study callout ---------- */
.case-study {
  margin: 96px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--ink);
  color: var(--surface);
  border-radius: 4px;
  overflow: hidden;
}
.case-study figure {
  margin: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}
.case-study img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.case-study-card {
  padding: clamp(36px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.case-study-card .label {
  color: rgb(249 247 244 / 0.55);
  margin-bottom: 16px;
}
.case-study-card h3 {
  margin: 0 0 16px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(26px, 2.8vw, 34px);
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: var(--surface);
  max-width: 22ch;
}
.case-study-card p {
  margin: 0 0 28px;
  font-size: 16px;
  line-height: 1.6;
  color: rgb(249 247 244 / 0.74);
  max-width: 44ch;
}
.case-study-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid rgb(249 247 244 / 0.18);
  border-radius: 4px;
  overflow: hidden;
}
.case-study-stats div {
  padding: 18px;
  background: var(--ink);
  border-right: 1px solid rgb(249 247 244 / 0.18);
}
.case-study-stats div:last-child { border-right: 0; }
.case-study-stats strong {
  display: block;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}
.case-study-stats span {
  font-size: 12px;
  color: rgb(249 247 244 / 0.66);
  line-height: 1.35;
}

/* ---------- FAQ ---------- */
/*
  Higher specificity selectors override the homepage's global
  .faq-list 2-column grid (used in homepage's FAQ section).
*/
.faq-block {
  margin: 96px 0;
}
.faq-block > h3 {
  margin: 0 0 32px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.1;
  letter-spacing: -0.035em;
  max-width: 22ch;
}
.faq-block .faq-list {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--rule);
  border-radius: 0;
  grid-template-columns: none;
  gap: 0;
}
.faq-block .faq-item {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--rule);
  border-radius: 0;
  margin: 0;
  padding: 0;
  overflow: visible;
}
.faq-block .faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 26px 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.35;
  background: transparent;
  border: 0;
}
.faq-block .faq-item summary::-webkit-details-marker { display: none; }
.faq-block .faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  width: 28px;
  text-align: center;
  font-size: 26px;
  font-weight: 400;
  line-height: 1;
  color: var(--ink);
  transition: transform 0.2s ease;
}
.faq-block .faq-item[open] summary::after {
  content: "−";
}
.faq-block .faq-item summary:hover {
  opacity: 0.65;
}
.faq-block .faq-item p {
  margin: 0;
  padding: 0 60px 28px 0;
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--soft);
  max-width: 76ch;
}

/* ---------- Related articles ---------- */
.related-block {
  margin: 96px 0;
}
.related-head {
  margin-bottom: 28px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.related-head h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(26px, 2.8vw, 32px);
  line-height: 1.1;
  letter-spacing: -0.035em;
}
.related-head a {
  font-size: 14px;
  font-weight: 700;
  border-bottom: 1px solid var(--rule-strong);
  padding-bottom: 4px;
  transition: border-color 0.15s ease;
}
.related-head a:hover { border-bottom-color: var(--ink); }
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.related-grid a {
  display: block;
  border: 1px solid var(--rule);
  background: rgb(240 232 224 / 0.4);
  padding: 16px 16px 22px;
  border-radius: 4px;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.related-grid a:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 50px rgb(1 1 1 / 0.07);
  border-color: var(--ink);
}
.related-grid figure {
  margin: 0 0 16px;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 2px;
  background: var(--panel);
}
.related-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.related-grid .cat {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--soft);
}
.related-grid h4 {
  margin: 0 0 12px;
  font-size: 17px;
  line-height: 1.25;
  letter-spacing: -0.015em;
  min-height: 56px;
}
.related-grid .meta {
  font-size: 13px;
  color: var(--soft);
}

/* ---------- Final CTA (dark) ---------- */
.final-cta {
  margin: 96px 0 0;
  padding: clamp(48px, 6vw, 88px) clamp(32px, 4vw, 64px);
  background: var(--ink);
  color: var(--surface);
  border-radius: 4px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  left: -200px;
  top: -260px;
  background: var(--surface);
  opacity: 0.06;
  -webkit-mask: url("/assets/outgrow-o-mark.svg?v=4") center / contain no-repeat;
  mask: url("/assets/outgrow-o-mark.svg?v=4") center / contain no-repeat;
  pointer-events: none;
}
.final-cta .label { color: rgb(249 247 244 / 0.55); justify-self: center; }
.final-cta h3 {
  margin: 0 auto 18px;
  max-width: 22ch;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--surface);
  position: relative;
  z-index: 1;
}
.final-cta p {
  margin: 0 auto 32px;
  max-width: 52ch;
  font-size: 16px;
  line-height: 1.6;
  color: rgb(249 247 244 / 0.7);
  position: relative;
  z-index: 1;
}
.final-cta .button {
  background: var(--surface);
  color: var(--ink);
  position: relative;
  z-index: 1;
}
.final-cta .button:hover {
  transform: translateY(-2px);
}

/* ---------- Sources / citations ---------- */
.sources {
  margin: 64px 0 0;
  padding: 32px 0;
  border-top: 1px solid var(--rule);
  font-size: 13px;
  color: var(--soft);
  line-height: 1.6;
}
.sources strong {
  display: block;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--soft);
}
.sources ol { padding-left: 18px; margin: 0; }
.sources li { margin-bottom: 6px; }

/* ---------- Reveal-on-scroll utility ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .article-shell {
    grid-template-columns: 1fr;
    gap: 0;
    padding-top: 48px;
  }
  .toc {
    position: static;
    margin-bottom: 32px;
    padding: 20px 24px;
    background: rgb(240 232 224 / 0.5);
    border: 1px solid var(--rule);
    border-radius: 4px;
  }
  .toc-list { border-left: 0; }
  .toc-list a { padding-left: 0; border-left: 0; }
  .article-hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .takeaways-card { grid-template-columns: 1fr; gap: 16px; }
  .editorial-split,
  .case-study,
  .cta-panel {
    grid-template-columns: 1fr;
  }
  .editorial-split.image-right > .editorial-split-figure { order: 0; }
  .editorial-split-figure { aspect-ratio: 16 / 10; }
  .case-study figure { aspect-ratio: 16 / 10; }
  .case-study-card { padding: 36px 28px; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .stats-strip > div:nth-child(2) { border-right: 0; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .image-feature .caption-card {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 16px;
  }
  .article-body h2 a.anchor { display: none; }
}
@media (max-width: 640px) {
  .article-body .comparison-row { grid-template-columns: 1fr; }
  .article-body .comparison-row > div,
  .article-body .comparison-row > strong { border-right: 0; border-bottom: 1px solid var(--rule); padding: 14px 18px; }
  .article-body .comparison-row > *:last-child { border-bottom: 0; }
  .article-body .comparison-row.head > strong:last-child { padding-top: 30px; }
  .stats-strip { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .case-study-stats { grid-template-columns: 1fr; }
}
