/* =========================================================
   PROOF.CSS — "Real Client Dashboards" section.

   Split out of marketing.css so the homepage can use this section
   without pulling in the whole 24 KB marketing stylesheet.

   Light theme: matches the rest of the site. Previously this band
   was a dark navy block, which fought the surrounding light page.
   ========================================================= */

.proof {
  position: relative;
  overflow: hidden;
  background: var(--bg);
  color: var(--text);
  padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(2.5rem, 5vw, 4rem);
  /* hairline divider only — --border-1 is a heavy 2px navy rule */
  border-top: 1px solid var(--border);
}

.proof .section-eyebrow { color: var(--green-dark); }
.proof .section-title { color: var(--navy); line-height: 1.04; }
.proof .section-sub { color: var(--text-soft); }

.proof-mark { color: var(--green-dark); }

/* Headline stats strip */
/* auto-fit (not a fixed 4) so the row reflows when the stat
   count changes — a hard repeat(4) would strand a 5th card
   alone on its own row. */
.proof-stats {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  max-width: 1100px;
  margin: 2rem auto 2.25rem;
  padding: 0;
}

.proof-stats li {
  background: var(--surface);
  border: var(--border-1);
  border-radius: 12px;
  padding: 1rem 0.75rem;
  text-align: center;
  box-shadow: var(--shadow-2);
}

.proof-stats strong {
  display: block;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--green-dark);
  line-height: 1.15;
}

.proof-stats span {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-soft);
}

/* Scroll hint */
.proof-hint {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-soft);
  margin-bottom: 1rem;
}

/* Full-width grid of dashboards */
.proof-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1rem;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0.25rem 1.5rem 1.5rem;
}

.proof-card {
  scroll-snap-align: start;
  background: var(--surface);
  border: var(--border-1);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-2);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.proof-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 6px 6px 0 rgba(105, 159, 71, 0.5);
}

.proof-stat { padding: 0.95rem 1.05rem 0.85rem; }

.proof-stat h3 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.3;
}

.proof-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.45rem;
}

.proof-pill {
  background: var(--green-light);
  color: var(--navy);
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  white-space: nowrap;
}

.proof-meta {
  font-size: 0.72rem;
  color: var(--text-soft);
  white-space: nowrap;
}

/* The lightbox trigger. Block so it doesn't add an inline baseline
   gap under the screenshot, plus a visible keyboard focus ring —
   it's a real <a href> now, so tab order includes it. */
.proof-shot {
  display: block;
  cursor: zoom-in;
}

.proof-shot:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: -3px;
}

/* `height: auto` keeps the dashboard screenshot's true aspect ratio —
   required because these <img> tags carry width/height attributes. */
.proof-card img {
  width: 100%;
  height: auto;
  display: block;
  border-top: 1px solid var(--border);
}

/* ===== Responsive ===== */
@media (max-width: 640px) {
  .proof { padding: 1.75rem 0 2rem; }

  .proof-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
    max-width: 420px;
    margin: 1.4rem auto 1.5rem;
  }

  .proof-stats li { padding: 0.7rem 0.5rem; }
  .proof-stats strong { font-size: 1.05rem; }
  .proof-stats span { font-size: 0.58rem; }
  .proof-hint { font-size: 0.72rem; }
  .proof-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
  .proof-stat h3 { font-size: 0.85rem; }
  .proof-pill { font-size: 0.62rem; }
  .proof-meta { font-size: 0.66rem; }
}