.detail-hero.audit-hero { min-height: 0; }
.audit-hero::before { content: none; }
.audit-hero h1 { max-width: 20ch; letter-spacing: -.04em; }
.audit-hero p {
  max-width: 52ch;
  margin: 20px 0 0;
  color: #dedede;
  font-size: clamp(17px, 2vw, 24px);
  line-height: 1.5;
}
.detail-intro h2 {
  margin: 0 0 16px;
  font-size: clamp(25px, 3vw, 45px);
  line-height: 1.09;
  letter-spacing: -.04em;
}
.detail-intro p + p { max-width: 66ch; margin: 14px 0 0; line-height: 1.65; }
.audit-example, .audit-conclusion { gap: clamp(20px, 3vw, 36px); }
.audit-example h2, .audit-conclusion h2 { max-width: 28ch; text-wrap: balance; }

.audit-funnel {
  --funnel-color: #667eea;
  --funnel-ink: #263c94;
  --funnel-profile: polygon(0 19.6%, 25% 22.6%, 50% 48.8%, 75% 49.9%, 100% 50%, 75% 50.1%, 50% 51.2%, 25% 77.4%, 0 80.4%);
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(72px, 9vw, 104px);
  align-items: center;
  gap: 12px clamp(8px, 1.6vw, 22px);
  min-width: 0;
  margin: 0;
  padding: clamp(12px, 1.9vw, 24px);
  border: 1px solid #dedbd3;
  border-radius: 8px;
  background: #fff;
}
.audit-funnel-after {
  --funnel-color: #22c55e;
  --funnel-ink: #14532d;
  --funnel-profile: polygon(0 19.6%, 25% 22.6%, 50% 48.3%, 75% 49.8%, 100% 50%, 75% 50.2%, 50% 51.7%, 25% 77.4%, 0 80.4%);
}
.audit-funnel figcaption {
  grid-column: 1 / -1;
  font-size: 15px;
  font-weight: 700;
}
.funnel-stages {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  min-height: clamp(142px, 15vw, 220px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.funnel-stages::before, .funnel-stages::after { content: ""; position: absolute; inset: 0; z-index: -1; }
.funnel-stages::before { background: #f0eeeb; clip-path: polygon(0 12%, 100% 27%, 100% 73%, 0 88%); }
.funnel-stages::after { background: var(--funnel-color); clip-path: var(--funnel-profile); }
.funnel-stages li {
  display: grid;
  grid-template-rows: 1fr auto 1fr;
  justify-items: center;
  min-width: 0;
  padding: 5px clamp(2px, .8vw, 10px);
  border-inline-start: 1px solid #dedbd3;
}
.funnel-stages li:last-child { border-inline-end: 1px solid #dedbd3; }
.funnel-stages li > span {
  justify-self: start;
  color: #56534d;
  font-size: clamp(10px, 1.2vw, 13px);
  font-weight: 650;
}
.funnel-stages strong {
  grid-row: 2;
  align-self: center;
  color: #171717;
  font-size: clamp(13px, 1.8vw, 24px);
  font-variant-numeric: tabular-nums;
  letter-spacing: -.035em;
  text-align: center;
}
.funnel-stages li:nth-child(n+3) strong {
  padding-inline: .22em;
  background: #f0eeeb;
}
.funnel-stages small {
  align-self: end;
  justify-self: end;
  color: #56534d;
  font-size: clamp(12px, 1.2vw, 16px);
  font-weight: 750;
  line-height: 1.1;
  text-align: right;
}
.funnel-stages abbr { display: block; font-size: 10px; font-weight: 550; text-decoration: none; }
.funnel-stage-highlight small { color: var(--funnel-ink); }
.funnel-roi {
  display: grid;
  place-items: center;
  min-height: 88px;
  margin: 0;
  padding: 9px 4px;
  border-radius: 6px;
  background: color-mix(in srgb, var(--funnel-color) 13%, #fff);
  color: var(--funnel-ink);
  text-align: center;
}
.funnel-roi dt { font-size: 12px; font-weight: 650; }
.funnel-roi dd { margin: 4px 0 0; font-size: clamp(17px, 2vw, 25px); font-weight: 800; letter-spacing: -.035em; }

@media (prefers-reduced-motion: no-preference) {
  .audit-funnel-reveal .funnel-stages::after {
    animation: funnel-open .65s cubic-bezier(.22, 1, .36, 1) both;
  }
  @keyframes funnel-open { from { transform: scaleY(.25); } }
}

@media (max-width: 540px) {
  .audit-funnel { grid-template-columns: minmax(0, 1fr) auto; }
  .audit-funnel figcaption { grid-column: 1; grid-row: 1; }
  .funnel-stages { grid-column: 1 / -1; grid-row: 2; }
  .funnel-roi { grid-column: 2; grid-row: 1; min-height: 0; padding: 4px 8px; }
  .funnel-roi > div { display: flex; align-items: baseline; gap: 6px; }
  .funnel-roi dd { margin: 0; }
}
