.firm-proof { container: firms / inline-size; }
.firm-stories > li { container-type: inline-size; }
.firm-stories h3 {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin-bottom: 8px;
}
.firm-stories h3 img {
  display: block;
  width: 100%;
  height: 40px;
  object-fit: contain;
  object-position: left center;
}
.firm-stories h3 .firm-heading { color: var(--ink); font-size: 17px; }
.firm-why { margin-top: 5px; }
.firm-why summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 44px; padding: 8px 0; list-style: none; cursor: pointer;
  color: var(--sand); font: 500 14px/1.35 var(--sans);
}
.firm-why summary::-webkit-details-marker { display: none; }
.firm-why summary::after {
  content: ''; flex: 0 0 9px; height: 9px; margin: 0 5px 3px 0;
  border: solid var(--sand); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg);
}
.firm-why[open] summary::after { transform: rotate(225deg); margin-bottom: -4px; }
.firm-why summary:focus-visible { outline: 2px solid var(--sand); outline-offset: 2px; }
.firm-why:not([open]) > .offer-proof { display: none; }
.offer-proof { margin: 2px 0 8px; padding: clamp(12px,3cqw,24px); background: #0b0b0a; border: 1px solid #3f382e; border-radius: 5px; }
.offer-diagram { --pointer: clamp(14px,4cqw,30px); display: grid; grid-template-columns: minmax(0,1.6fr) minmax(0,1fr); align-items: stretch; max-width: 640px; }
.offer-piece { min-width: 0; color: #f9f5f0; background: #211e1d; padding: 11px clamp(9px,3cqw,20px); border: 1px solid #4d4140; }
.offer-cover { display: grid; justify-content: start; align-content: start; gap: 12px; background: linear-gradient(130deg,#27211f 25%,#422622); border-radius: 3px 3px 0 0; }
.offer-cover img { display: block; width: 26px; height: 22px; }
.offer-cover strong { font: 650 clamp(21px,5cqw,35px)/.98 var(--sans); letter-spacing: -.055em; }
.offer-recommendation,.offer-cost { border-top: 0; }
.offer-cost { border-radius: 0 0 3px 3px; }
.offer-piece small { display: block; margin-bottom: 4px; color: #d5c9c0; font: 480 11px/1.3 var(--sans); }
.offer-piece p { margin: 0; color: #f6f1ec; font: 550 clamp(13px,2.9cqw,17px)/1.25 var(--sans); }
.offer-diagram .offer-source { display: block; align-self: center; position: relative; margin: 0; padding-left: calc(var(--pointer) + 6px); color: #ccc0b1; font: 450 clamp(12px,2.6cqw,16px)/1.3 var(--sans); }
.offer-source strong { color: #e8cb9e; font-weight: 550; }
.offer-source::before,.offer-source::after { content: ''; position: absolute; top: 50%; }
.offer-source::before { left: -2px; height: 1px; width: var(--pointer); background: #aa8e67; }
.offer-source::after { left: -4px; border-radius: 50%; width: 5px; height: 5px; background: #edc48b; transform: translateY(-2px); }
@container firms (min-width: 710px) {
  .firm-stories { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; margin: 18px 0; }
  .firm-stories>li { display: flex; flex-direction: column; padding: 0; }
  .firm-stories>li+li { border-top: 0; border-inline-start: 1px solid var(--line); padding-inline-start: 24px; }
  .firm-stories h3 { grid-template-columns: 52px minmax(0,1fr); gap: 14px; min-block-size: 68px; margin-bottom: 12px; }
  .firm-stories .firm-why { margin-top: auto; padding-top: 12px; }
  .firm-stories h3 img { height: 46px; }
}

.match-proof .offer-piece { background: #24221f; border-color: #534a3f; }
.case-proof .offer-piece { background: #192425; border-color: #415353; }
.match-proof .offer-piece:not(:first-child), .case-proof .offer-piece:not(:first-child) { border-top: 0; }
.match-proof .offer-piece:first-child, .case-proof .offer-piece:first-child { border-radius: 3px 3px 0 0; }
.match-proof .offer-piece:last-of-type, .case-proof .offer-piece:last-of-type { border-radius: 0 0 3px 3px; }
.offer-questions p + p { margin-top: 6px; }
.offer-questions { border-radius: 3px 3px 0 0; }
.offer-diagram .offer-cover { border-top: 0; border-radius: 0; }
.match-browser .match-bar { display: flex; gap: 4px; margin: -3px 0 8px; padding-bottom: 6px; border-bottom: 1px solid #534a3f; }
.match-browser .match-bar i { width: 6px; height: 6px; border-radius: 50%; background: #6b6053; }
.case-proof .case-cover { display: grid; gap: 6px; align-content: start; background: linear-gradient(135deg,#0f2a33 20%,#123f4c); border-color: #2f6474; }
.case-cover img { display: block; width: 28px; height: 24px; margin-bottom: 4px; }
.case-cover small { margin: 0; color: #64d7ff; }
.case-cover strong { color: #f4fbff; font: 650 clamp(18px,4.4cqw,28px)/1.02 var(--sans); letter-spacing: -.04em; }
