.proof-section {
  overflow: hidden;
  border-top: 1px solid #dce8f5;
  border-bottom: 1px solid #dce8f5;
  background:
    linear-gradient(180deg, rgba(246, 250, 255, 0.98), rgba(255, 255, 255, 0.98) 46%, rgba(247, 251, 255, 0.96)),
    #f7fbff;
  color: #142033;
  padding: 4.75rem 0 5rem;
}

.proof-shell {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
}

.proof-header {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: end;
}

.proof-eyebrow,
.proof-card-label {
  color: #0759c8;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.25rem;
  margin: 0;
}

.proof-title {
  max-width: 58rem;
  font-size: clamp(2rem, 4.4vw, 3.25rem);
  font-weight: 800;
  line-height: 1.05;
  margin: 0.75rem 0 0;
}

.proof-copy,
.proof-section-copy,
.proof-teacher-text {
  color: #475569;
  font-size: 1.08rem;
  line-height: 1.75;
  margin: 0;
}

.proof-copy {
  max-width: 48rem;
}

.proof-teacher-feature {
  display: grid;
  grid-template-columns: minmax(17rem, 0.78fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5.5rem);
  align-items: center;
  margin-top: clamp(2.75rem, 6vw, 4.75rem);
  padding-top: clamp(2.25rem, 4vw, 3rem);
  border-top: 1px solid rgba(123, 155, 191, 0.28);
}

.proof-photo {
  overflow: hidden;
  border: 1px solid rgba(220, 232, 245, 0.92);
  border-radius: 8px;
  background: #ffffff;
  aspect-ratio: 1009 / 1100;
  box-shadow: 0 26px 68px -48px rgba(20, 32, 51, 0.5);
}

.proof-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.proof-teacher-copy {
  max-width: 45rem;
  min-width: 0;
}

.proof-teacher-name {
  color: #142033;
  font-size: clamp(2.75rem, 5.6vw, 4.375rem);
  font-weight: 800;
  line-height: 0.95;
  margin: 0.85rem 0 1.35rem;
}

.proof-teacher-text {
  max-width: 39rem;
}

.proof-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.25rem;
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(123, 155, 191, 0.24);
}

.proof-tags span {
  display: inline-flex;
  align-items: center;
  color: #142033;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.35;
}

.proof-tags span::before {
  content: "";
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 999px;
  background: #9bd928;
  margin-right: 0.55rem;
}

.proof-reviews,
.proof-certificates {
  margin-top: clamp(3.75rem, 7vw, 6rem);
  padding-top: clamp(2.25rem, 4vw, 3rem);
  border-top: 1px solid rgba(123, 155, 191, 0.28);
}

.proof-reviews {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.proof-section-head {
  max-width: 38rem;
}

.proof-section-title {
  color: #142033;
  font-size: clamp(1.85rem, 3.4vw, 3rem);
  font-weight: 800;
  line-height: 1.08;
  margin: 0.75rem 0 0;
}

.proof-section-copy {
  max-width: 34rem;
  margin-top: 1rem;
}

.proof-screens {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 1rem;
  width: 100%;
  max-width: 54rem;
}

.proof-screen {
  display: block;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(20, 32, 51, 0.1);
  border-radius: 8px;
  background: #142033;
  aspect-ratio: 460 / 720;
  line-height: 0;
  box-shadow: 0 24px 64px -46px rgba(20, 32, 51, 0.7);
  transition:
    border-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.proof-screen-short {
  aspect-ratio: 460 / 500;
}

.proof-screen img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  object-position: top center;
}

.proof-screen:hover {
  border-color: rgba(7, 89, 200, 0.32);
  transform: translateY(-2px);
  box-shadow: 0 30px 70px -46px rgba(7, 89, 200, 0.52);
}

.proof-screen:active {
  transform: translateY(1px);
}

.proof-cert-head {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr);
  gap: clamp(1.5rem, 4vw, 4.5rem);
  align-items: start;
}

.proof-cert-head .proof-card-label {
  grid-column: 1 / -1;
}

.proof-cert-head .proof-section-title {
  margin-top: 0;
}

.proof-cert-head .proof-section-copy {
  margin-top: 0.2rem;
}

.proof-certs {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.proof-cert {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(220, 232, 245, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  box-shadow: 0 18px 48px -42px rgba(20, 32, 51, 0.46);
  transition:
    border-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.proof-cert:hover {
  border-color: rgba(7, 89, 200, 0.32);
  transform: translateY(-2px);
  box-shadow: 0 24px 58px -42px rgba(7, 89, 200, 0.42);
}

.proof-cert:active {
  transform: translateY(1px);
}

.proof-cert-preview {
  display: grid;
  place-items: center;
  overflow: hidden;
  height: 15.75rem;
  padding: 0.8rem;
  border-bottom: 1px solid rgba(220, 232, 245, 0.85);
  background: #f7fbff;
}

.proof-cert-preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.proof-cert-wide .proof-cert-preview img {
  object-position: center;
}

.proof-cert-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1rem;
}

.proof-cert-kicker {
  color: #0759c8;
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.25;
  text-transform: uppercase;
}

.proof-cert-title {
  color: #142033;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.35;
}

.proof-cert-meta {
  color: #64748b;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.45;
  margin-top: auto;
}

@media (min-width: 640px) {
  .proof-shell {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .proof-shell {
    padding: 0 2rem;
  }
}

@media (max-width: 1100px) {
  .proof-header,
  .proof-teacher-feature,
  .proof-reviews,
  .proof-cert-head {
    grid-template-columns: 1fr;
  }

  .proof-teacher-copy,
  .proof-section-head {
    max-width: 44rem;
  }

  .proof-screens {
    max-width: 44rem;
  }
}

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

@media (max-width: 640px) {
  .proof-section {
    padding: 3.25rem 0 3.5rem;
  }

  .proof-header {
    gap: 1.25rem;
  }

  .proof-copy,
  .proof-section-copy,
  .proof-teacher-text {
    font-size: 1rem;
  }

  .proof-teacher-feature {
    gap: 1.35rem;
  }

  .proof-teacher-name {
    font-size: clamp(2.35rem, 11vw, 3.5rem);
    margin-bottom: 1rem;
  }

  .proof-tags {
    display: grid;
    gap: 0.7rem;
  }

  .proof-reviews,
  .proof-certificates {
    margin-top: 3.25rem;
  }

  .proof-screens,
  .proof-certs {
    display: flex;
    overflow-x: auto;
    gap: 0.85rem;
    max-width: none;
    margin-left: -1rem;
    margin-right: -1rem;
    padding: 0 1rem 0.75rem;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .proof-screens::-webkit-scrollbar,
  .proof-certs::-webkit-scrollbar {
    display: none;
  }

  .proof-screen {
    min-width: 74%;
    scroll-snap-align: start;
  }

  .proof-cert {
    min-width: 78%;
    scroll-snap-align: start;
  }

  .proof-cert-preview {
    height: 14rem;
  }
}
