/* Count On Sheep scale proof and credential strip */
.cos-proof,
.cos-service-proof {
  --proof-ink: #0C2124;
  --proof-teal: #02454E;
  --proof-teal-mid: #006C79;
  --proof-lime: #B1E358;
  --proof-surface: #FFFFFF;
  --proof-surface-alt: #F7FAFE;
  --proof-border: #CFDFDE;
  --proof-muted: #526A6D;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--proof-surface-alt);
  border-top: 1px solid #E2ECEB;
  border-bottom: 1px solid #E2ECEB;
  color: var(--proof-ink);
  font-family: Inter, Arial, sans-serif;
  scroll-margin-top: 92px;
}

.cos-proof {
  padding: 88px 24px 82px;
}

.cos-service-proof {
  padding: 56px 24px 52px;
}

.cos-proof::before,
.cos-service-proof::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -112px;
  right: max(-120px, calc((100vw - 1180px) / 2 - 190px));
  width: 340px;
  height: 340px;
  border: 1px solid rgba(2, 69, 78, 0.08);
  border-radius: 50%;
  box-shadow: 0 0 0 42px rgba(2, 69, 78, 0.025), 0 0 0 84px rgba(2, 69, 78, 0.018);
  pointer-events: none;
}

.cos-proof .proof-inner,
.cos-service-proof .proof-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.cos-proof .proof-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.cos-proof .proof-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #547C15;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.105em;
  line-height: 1.2;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.cos-proof .proof-eyebrow::before {
  content: "";
  width: 24px;
  height: 3px;
  border-radius: 100px;
  background: var(--proof-lime);
}

.cos-proof h2 {
  color: var(--proof-teal);
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.08;
  margin: 0;
}

.cos-proof .proof-stats,
.cos-service-proof .proof-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  position: relative;
  background: var(--proof-surface);
  border: 1px solid var(--proof-border);
  border-radius: 20px;
  box-shadow: 0 18px 54px rgba(12, 33, 36, 0.08);
}

.cos-proof .proof-stats::before,
.cos-service-proof .proof-stats::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  width: 31%;
  height: 3px;
  background: var(--proof-lime);
}

.cos-proof .proof-stat,
.cos-service-proof .proof-stat {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 170px;
  padding: 30px 26px 27px;
  background: transparent;
  border: 0;
  border-right: 1px solid #E1EAE9;
  border-radius: 0;
  box-shadow: none;
}

.cos-proof .proof-stat:last-child,
.cos-service-proof .proof-stat:last-child {
  border-right: 0;
}

.cos-service-proof .proof-stat {
  min-height: 144px;
  padding: 25px 22px 22px;
}

.cos-proof .proof-stat-index,
.cos-service-proof .proof-stat-index {
  position: absolute;
  top: 22px;
  right: 22px;
  color: #7B9193;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1;
}

.cos-service-proof .proof-stat-index {
  top: 18px;
  right: 18px;
}

.cos-proof .proof-number,
.cos-service-proof .proof-number {
  display: block;
  color: var(--proof-teal);
  font-size: clamp(32px, 3.35vw, 43px);
  font-variant-numeric: tabular-nums lining-nums;
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.98;
  white-space: nowrap;
}

.cos-service-proof .proof-number {
  font-size: clamp(29px, 3vw, 38px);
}

.cos-proof .proof-label,
.cos-service-proof .proof-label {
  display: block;
  max-width: 205px;
  min-height: 41px;
  color: var(--proof-muted);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
  margin-top: 12px;
}

.cos-service-proof .proof-label {
  font-size: 13.5px;
  margin-top: 10px;
}

.cos-proof .proof-credentials,
.cos-service-proof .proof-credentials {
  margin-top: 24px;
}

.cos-service-proof .proof-credentials {
  margin-top: 18px;
}

.cos-proof .proof-credentials-heading,
.cos-service-proof .proof-credentials-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 12px;
  color: #627A7D;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.cos-proof .proof-credentials-heading::after,
.cos-service-proof .proof-credentials-heading::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #D7E3E2;
}

.cos-proof .proof-badges,
.cos-service-proof .proof-badges {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.cos-proof .proof-badge,
.cos-service-proof .proof-badge {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 12px;
  min-height: 92px;
  padding: 11px 15px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--proof-border);
  border-radius: 14px;
  color: var(--proof-ink);
  text-decoration: none;
  box-shadow: 0 5px 18px rgba(12, 33, 36, 0.035);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.cos-proof .proof-badge:hover,
.cos-service-proof .proof-badge:hover {
  transform: translateY(-2px);
  background: #FFFFFF;
  border-color: #9EBDBA;
  box-shadow: 0 11px 25px rgba(12, 33, 36, 0.08);
}

.cos-proof .proof-badge:focus-visible,
.cos-service-proof .proof-badge:focus-visible,
.cos-proof .proof-directory-links a:focus-visible,
.cos-service-proof .proof-directory-links a:focus-visible {
  outline: 2px solid var(--proof-lime);
  outline-offset: 3px;
}

.cos-proof .proof-badge-mark,
.cos-service-proof .proof-badge-mark {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
}

.cos-proof .proof-badge-emblem,
.cos-service-proof .proof-badge-emblem {
  display: block;
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.cos-proof .proof-badge-copy,
.cos-service-proof .proof-badge-copy {
  min-width: 0;
}

.cos-proof .proof-badge-kicker,
.cos-service-proof .proof-badge-kicker {
  display: block;
  color: #647C7F;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.095em;
  line-height: 1.2;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.cos-proof .proof-badge strong,
.cos-service-proof .proof-badge strong {
  display: block;
  color: var(--proof-teal);
  font-size: 15px;
  font-weight: 750;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

.cos-proof .proof-external,
.cos-service-proof .proof-external {
  color: #6E8587;
  transition: color 180ms ease, transform 180ms ease;
}

.cos-proof .proof-badge:hover .proof-external,
.cos-service-proof .proof-badge:hover .proof-external {
  color: var(--proof-teal-mid);
  transform: translate(1px, -1px);
}

.cos-proof .proof-directory-links,
.cos-service-proof .proof-directory-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: 4px 12px;
  margin: 4px 1px -8px;
}

.cos-proof .proof-directory-links a,
.cos-service-proof .proof-directory-links a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 5px;
  color: #506C6F;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.3;
  text-decoration-color: #A5BAB8;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.cos-proof .proof-directory-links a:hover,
.cos-service-proof .proof-directory-links a:hover {
  color: var(--proof-teal-mid);
  text-decoration-color: var(--proof-teal-mid);
}

@media (max-width: 900px) {
  .cos-proof .proof-stats,
  .cos-service-proof .proof-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cos-proof .proof-stat,
  .cos-service-proof .proof-stat {
    border-bottom: 1px solid #E1EAE9;
  }

  .cos-proof .proof-stat:nth-child(2),
  .cos-service-proof .proof-stat:nth-child(2) {
    border-right: 0;
  }

  .cos-proof .proof-stat:nth-child(n+3),
  .cos-service-proof .proof-stat:nth-child(n+3) {
    border-bottom: 0;
  }

  .cos-proof .proof-badges,
  .cos-service-proof .proof-badges {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .cos-proof,
  .cos-service-proof {
    scroll-margin-top: 118px;
  }

  .cos-proof {
    padding: 64px 16px 58px;
  }

  .cos-service-proof {
    padding: 44px 16px 40px;
  }

  .cos-proof::before,
  .cos-service-proof::before {
    top: -90px;
    right: -180px;
    width: 290px;
    height: 290px;
  }

  .cos-proof .proof-heading {
    margin-bottom: 26px;
  }

  .cos-proof h2 {
    font-size: clamp(30px, 9vw, 38px);
  }

  .cos-proof .proof-stats,
  .cos-service-proof .proof-stats {
    border-radius: 16px;
  }

  .cos-proof .proof-stat,
  .cos-service-proof .proof-stat {
    min-height: 144px;
    padding: 24px 18px 21px;
  }

  .cos-proof .proof-stat-index,
  .cos-service-proof .proof-stat-index {
    top: 17px;
    right: 16px;
  }

  .cos-proof .proof-number,
  .cos-service-proof .proof-number {
    font-size: clamp(28px, 9.5vw, 36px);
  }

  .cos-proof .proof-label,
  .cos-service-proof .proof-label {
    font-size: 13px;
    line-height: 1.4;
    margin-top: 9px;
  }

  .cos-proof .proof-credentials,
  .cos-service-proof .proof-credentials {
    margin-top: 20px;
  }

  .cos-proof .proof-badge,
  .cos-service-proof .proof-badge {
    min-height: 88px;
  }

  .cos-proof .proof-directory-links,
  .cos-service-proof .proof-directory-links {
    grid-template-columns: 1fr;
    gap: 0 16px;
    margin-top: 3px;
  }
}

@media (max-width: 360px) {
  .cos-proof .proof-stats,
  .cos-service-proof .proof-stats {
    grid-template-columns: 1fr;
  }

  .cos-proof .proof-stat,
  .cos-service-proof .proof-stat,
  .cos-proof .proof-stat:nth-child(2),
  .cos-service-proof .proof-stat:nth-child(2),
  .cos-proof .proof-stat:nth-child(n+3),
  .cos-service-proof .proof-stat:nth-child(n+3) {
    min-height: 132px;
    border-right: 0;
    border-bottom: 1px solid #E1EAE9;
  }

  .cos-proof .proof-stat:last-child,
  .cos-service-proof .proof-stat:last-child {
    border-bottom: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cos-proof .proof-badge,
  .cos-service-proof .proof-badge,
  .cos-proof .proof-external,
  .cos-service-proof .proof-external {
    transition: none;
  }
}
