/* Reported homeowner concerns, with once-only reveal and honest proportions. */
#pains .pain-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
#pains .pain-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 24px;
  background: #fff;
  border: 1px solid #f1eee7;
  border-radius: 12px;
  box-shadow: 0 4px 16px #524e4904;
  transition: transform .5s var(--curve), box-shadow .5s var(--curve), opacity .8s var(--curve);
}
#pains .pain-card:hover {
  background: #fff;
  transform: translateY(-4px);
  box-shadow: 0 12px 32px #524e490b;
}
#pains .pain-topline {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}
#pains .pain-index {
  position: static;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #faf7f0;
  color: #99948a;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
}
#pains .pain-stat {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  color: #c96c28;
}
#pains .pain-percent {
  display: flex;
  align-items: baseline;
  gap: 2px;
  font-size: 30px;
  line-height: 36px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.02em;
}
#pains .pain-percent > span {
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
}
#pains .pain-stat-label {
  color: #9b7d68;
  font-size: 12px;
  line-height: 16px;
}
#pains .pain-meter {
  height: 4px;
  margin-top: 16px;
  overflow: hidden;
  background: #f4eee8;
  border-radius: 2px;
}
#pains .pain-meter-fill {
  display: block;
  width: 100%;
  height: 100%;
  background: #de9b62;
  border-radius: inherit;
  transform: scaleX(var(--pain-ratio));
  transform-origin: left center;
  transition: transform .9s var(--curve);
}
#pains .pain-card.will-reveal:not(.is-visible) .pain-meter-fill {
  transform: scaleX(0);
}
#pains .pain-card > h3 {
  margin: 16px 0 0;
  color: #534f4a;
  font-size: 18px;
  font-weight: 500;
  line-height: 28px;
  text-wrap: balance;
}
#pains .pain-card > .pain-problem {
  margin: 16px 0 0;
  padding: 12px;
  border-radius: 8px;
  background: #fcf9f2;
  color: #8d887e;
  font-size: 14px;
  line-height: 24px;
}
#pains .pain-problem > span {
  display: block;
  margin-bottom: 4px;
  color: #9b968c;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
}
#pains .pain-answer {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 16px;
  color: #397d62;
  font-size: 14px;
  line-height: 24px;
}
#pains .pain-answer > .icon {
  width: 16px;
  height: 16px;
  margin-top: 4px;
  flex-shrink: 0;
  color: #3f9670;
}
#pains .pain-answer > p {
  margin: 0;
  font: inherit;
  color: inherit;
}
#pains .pain-source {
  max-width: 960px;
  margin: 24px auto 0;
  color: #9b968c;
  font-size: 12px;
  line-height: 24px;
  text-align: center;
  text-wrap: pretty;
}
#pains .pain-source > strong {
  color: #878278;
  font-weight: 500;
}
body.motion-paused #pains .pain-meter-fill {
  transform: scaleX(var(--pain-ratio)) !important;
  transition: none !important;
}
@media (max-width: 1099px) {
  #pains .pain-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  #pains .pain-grid > .pain-card:last-child { grid-column: auto; }
  #pains .pain-card > h3 { font-size: 16px; line-height: 24px; }
  #pains .pain-card > .pain-problem, #pains .pain-answer { font-size: 12px; line-height: 24px; }
}
@media (max-width: 600px) {
  #pains .pain-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  #pains .pain-card { padding: 24px; }
  #pains .pain-percent { font-size: 24px; line-height: 32px; }
  #pains .pain-percent > span { font-size: 14px; line-height: 20px; }
  #pains .pain-stat-label { font-size: 12px; line-height: 16px; }
  #pains .pain-card > h3 { font-size: 16px; line-height: 24px; }
  #pains .pain-source { text-align: left; margin-top: 16px; font-size: 12px; line-height: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  #pains .pain-card:hover { transform: none; }
  #pains .pain-meter-fill { transform: scaleX(var(--pain-ratio)) !important; transition: none !important; }
}
