/* Testimonials. Scoped to this page. */

.cm-ts,
.cm-ts * {
  box-sizing: border-box;
}

.cm-ts {
  background: #fff;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.6;
}

.cm-ts h1,
.cm-ts h2,
.cm-ts p {
  margin: 0;
}

.cm-ts h1,
.cm-ts h2 {
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: 1.08;
}

.cm-ts a {
  font: inherit;
}

.cm-ts img {
  max-width: 100%;
}

.cm-ts .go:focus-visible,
.cm-ts .ex-c:focus-visible,
.cm-ts .fin-ctas a:focus-visible {
  outline: 2px solid #3B7BFF;
  outline-offset: 3px;
}

.cm-ts .th {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding-top: 72px;
}

.cm-ts .th::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(11, 11, 12, .08) 1px, transparent 1.3px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 55%, #000 5%, transparent 70%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 55%, #000 5%, transparent 70%);
  z-index: -1;
}

.cm-ts .th::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 45% at 50% 115%, rgba(59, 123, 255, .10), transparent 70%);
  z-index: -2;
}

.cm-ts .th-frame {
  position: relative;
  max-width: 1480px;
  margin: 0 auto;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 0 0 80px;
}

.cm-ts .th-mark {
  position: relative;
  height: clamp(120px, 16vw, 200px);
  display: grid;
  place-items: center;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
}

.cm-ts .th-mark span {
  font-size: clamp(110px, 15vw, 230px);
  font-weight: 500;
  letter-spacing: -.06em;
  line-height: 1;
  color: transparent;
  background: linear-gradient(180deg, rgba(11, 11, 12, .13), rgba(11, 11, 12, .03) 85%);
  -webkit-background-clip: text;
  background-clip: text;
  white-space: nowrap;
  transform: translateY(-10px);
}

.cm-ts .th-mark i {
  position: absolute;
  inset: auto 0 0;
  height: 55%;
  background: linear-gradient(rgba(255, 255, 255, 0), #fff);
}

.cm-ts .th-in {
  position: relative;
  text-align: center;
  padding: 0 24px;
  margin-top: -28px;
}

.cm-ts .th h1 {
  margin: 0 auto;
  font-size: clamp(34px, 4.4vw, 64px);
  line-height: 1.05;
  letter-spacing: -.045em;
  color: var(--ink);
  white-space: nowrap;
}

.cm-ts .th p {
  margin: 20px auto 0;
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-3);
  max-width: 50ch;
  text-wrap: pretty;
}

.cm-ts .go {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  margin-top: 30px;
  padding: 0 22px;
  border-radius: 999px;
  background: #0B0B0C;
  color: #fff;
  font-size: 15.5px;
  font-weight: 500;
  text-decoration: none;
}

.cm-ts .go:hover {
  color: #fff;
  background: #26262B;
}

.cm-ts .tw {
  background: #fff;
  padding: 96px 24px 120px;
}

.cm-ts .tw-frame {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cm-ts .tf {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  padding: 56px;
  border-radius: 24px;
  background: #0B0B0C;
}

.cm-ts .tf::before {
  content: "";
  position: absolute;
  width: 620px;
  height: 420px;
  left: -140px;
  bottom: -300px;
  border-radius: 50%;
  background: #3B7BFF;
  filter: blur(90px);
  opacity: .42;
  z-index: -1;
}

.cm-ts .tf::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .1) 1px, transparent 1.2px);
  background-size: 18px 18px;
  -webkit-mask-image: radial-gradient(ellipse 45% 70% at 100% 0, #000, transparent 70%);
  mask-image: radial-gradient(ellipse 45% 70% at 100% 0, #000, transparent 70%);
  z-index: -1;
}

.cm-ts .tf-b {
  display: flex;
  flex-direction: column;
  gap: 36px;
  max-width: 880px;
}

.cm-ts .tf blockquote {
  margin: 0;
  font-size: clamp(24px, 2.5vw, 33px);
  line-height: 1.3;
  letter-spacing: -.03em;
  color: rgba(255, 255, 255, .78);
  text-wrap: pretty;
}

.cm-ts .tf blockquote mark {
  color: #fff;
  background: linear-gradient(transparent 62%, rgba(59, 123, 255, .55) 62%);
}

.cm-ts .tf .tc-n b { color: #fff; font-size: 18px; }
.cm-ts .tf .tc-n span { color: rgba(255, 255, 255, .7); }
.cm-ts .tf .tc-av { width: 52px; height: 52px; box-shadow: 0 0 0 2px rgba(255, 255, 255, .16); }

.cm-ts .tw-in {
  columns: 3;
  column-gap: 16px;
}

.cm-ts .tc {
  break-inside: avoid;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  margin: 0 0 16px;
  padding: 30px 30px 28px;
  border-radius: 18px;
  background: radial-gradient(90% 60% at 100% 0%, var(--tt, rgba(59, 123, 255, .06)), transparent 62%), #fff;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 22px;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}

.cm-ts .tc:hover {
  transform: translateY(-3px);
  border-color: rgba(11, 11, 12, .12);
  box-shadow: 0 24px 48px -30px rgba(12, 12, 16, .28);
}

.cm-ts .tc:nth-child(4n+2) { --tt: rgba(47, 211, 200, .07); --hl: rgba(47, 211, 200, .26); }
.cm-ts .tc:nth-child(4n+3) { --tt: rgba(138, 91, 255, .06); --hl: rgba(138, 91, 255, .2); }
.cm-ts .tc:nth-child(4n+4) { --tt: rgba(255, 122, 61, .06); --hl: rgba(255, 122, 61, .22); }

.cm-ts .tc-co {
  height: 26px;
  display: flex;
  align-items: center;
}

.cm-ts .tc-co img {
  max-height: 100%;
  max-width: 120px;
  width: auto;
  display: block;
  filter: brightness(0);
}

.cm-ts .tc blockquote {
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: -.012em;
  color: var(--ink-2);
  text-wrap: pretty;
}

.cm-ts .tc blockquote mark {
  color: var(--ink);
  font-weight: 500;
  background: linear-gradient(transparent 60%, var(--hl, rgba(59, 123, 255, .2)) 60%);
}

.cm-ts figcaption {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cm-ts .tc-av {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--line-2);
}

.cm-ts .tc-av img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cm-ts .tc-n {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1.3;
  min-width: 0;
}

.cm-ts .tc-n b {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -.012em;
  color: var(--ink);
}

.cm-ts .tc-n span {
  font-size: 14px;
  color: var(--ink-3);
}

.cm-ts .ex { padding: 0 24px 120px; }

.cm-ts .ex-in { max-width: 1180px; margin: 0 auto; }

.cm-ts .ex h2 {
  margin: 0 0 28px;
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.1;
  letter-spacing: -.035em;
  color: var(--ink);
}

.cm-ts .ex-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.cm-ts .ex-c {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 200px;
  padding: 24px 26px 26px;
  border-radius: 20px;
  background: #0B0B0C;
  color: #fff;
  text-decoration: none;
  transition: transform .35s cubic-bezier(.2, .7, .2, 1);
}

.cm-ts .ex-c::before {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -120px;
  bottom: -150px;
  border-radius: 50%;
  background: var(--g);
  filter: blur(70px);
  opacity: .28;
  z-index: -1;
  transition: opacity .4s, transform .5s;
}

.cm-ts .ex-c:hover { color: #fff; transform: translateY(-3px); }
.cm-ts .ex-c:hover::before { opacity: .55; transform: translate(-24px, -18px); }

.cm-ts .ex-k {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .72);
}

.cm-ts .ex-b {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 21px;
  font-weight: 500;
  letter-spacing: -.02em;
}

.cm-ts .ex-b svg {
  flex: none;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .25s;
}

.cm-ts .ex-c:hover .ex-b svg { transform: translateX(4px); }

.cm-ts .fin {
  padding: 0 24px 118px;
}

.cm-ts .fin-in {
  max-width: 1180px;
  margin: 0 auto;
  padding: 88px 40px;
  border-radius: 32px;
  background: #0B0B0C;
  color: #fff;
  text-align: center;
}

.cm-ts .fin h2 {
  font-size: clamp(32px, 4vw, 52px);
  letter-spacing: -.04em;
  line-height: 1.08;
  color: #fff;
}

.cm-ts .fin p {
  margin: 16px auto 0;
  max-width: 46ch;
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .72);
}

.cm-ts .fin-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.cm-ts .fin-ctas a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  font-size: 15.5px;
  font-weight: 500;
  text-decoration: none;
}

.cm-ts .fin-ctas a:first-child {
  background: #fff;
  color: #0B0B0C;
}

.cm-ts .fin-ctas a:first-child:hover {
  color: #0B0B0C;
  background: #fff;
}

.cm-ts .fin-ctas a + a {
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25);
}

.cm-ts .fin-ctas a + a:hover {
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .55);
}

@media (max-width: 980px) {
  .cm-ts .th h1 { white-space: normal; text-wrap: balance; }
  .cm-ts .tw-in { columns: 2; }
  .cm-ts .ex-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cm-ts .ex-c { min-height: 160px; }
}

@media (max-width: 640px) {
  .cm-ts .th-frame { border: 0; }
  .cm-ts .tw { padding: 64px 16px 88px; }
  .cm-ts .tw-in { columns: 1; }
  .cm-ts .tf { padding: 30px 26px; }
  .cm-ts .ex { padding: 0 16px 88px; }
  .cm-ts .fin { padding: 0 16px 88px; }
  .cm-ts .fin-in { padding: 72px 22px; border-radius: 24px; }
}

@media (max-width: 520px) {
  .cm-ts .ex-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .cm-ts .tc,
  .cm-ts .ex-c,
  .cm-ts .ex-c::before,
  .cm-ts .ex-b svg {
    transition: none;
  }

  .cm-ts .tc:hover,
  .cm-ts .ex-c:hover,
  .cm-ts .ex-c:hover::before,
  .cm-ts .ex-c:hover .ex-b svg {
    transform: none;
  }
}
