.component-shell {
  --purple-unified: #8983e3;
  --purple-unified-rgb: 137, 131, 227;
  color-scheme: light;
  --background: #fff;
  --foreground: #171729;
  --muted-foreground: #737386;
  --border: rgba(31, 31, 52, .13);
  --card: #fff;
  --accent: var(--purple-unified);
  --accent-strong: var(--purple-unified);
  --font-sans: var(--sans, -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Helvetica Neue", sans-serif);
  color: var(--foreground);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}
.component-shell *, .component-shell *::before, .component-shell *::after { box-sizing: border-box; }
.component-shell button, .component-shell a { font: inherit; }
.component-shell button { color: inherit; }
.component-shell button:focus-visible, .component-shell a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
body.testimonial-demo { min-width: 320px; min-height: 100%; margin: 0; background: #fff; }
.component-shell {
  position: relative;
  display: grid;
  min-height: 100svh;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  z-index: 2;
  background: var(--background);
}
.component-shell .component-inner {
  position: relative;
  display: grid;
  width: min(100%, 1360px);
  min-height: 100svh;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-content: center;
  align-items: center;
  column-gap: clamp(36px, 5.6vw, 78px);
  row-gap: 0;
  padding: 42px clamp(28px, 4.2vw, 58px);
  isolation: isolate;
}
.component-shell .soft-field {
  position: absolute;
  z-index: -2;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(var(--purple-unified-rgb), .032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--purple-unified-rgb), .032) 1px, transparent 1px),
    radial-gradient(45% 58% at 22% 55%, rgba(var(--purple-unified-rgb), .035), transparent 75%);
  background-size: 54px 54px, 54px 54px, auto;
}
.component-shell .ambient-canvas {
  position: absolute;
  z-index: -1;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.component-shell .component-heading {
  position: relative;
  grid-column: 2;
  grid-row: 1;
  align-self: end;
  min-width: 0;
  padding: 0 0 18px;
  isolation: isolate;
}
.component-shell .component-heading::before {
  position: absolute;
  z-index: -1;
  top: -42px;
  right: -8%;
  bottom: -18px;
  left: -7%;
  background-image:
    linear-gradient(rgba(var(--purple-unified-rgb), .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--purple-unified-rgb), .045) 1px, transparent 1px);
  background-size: 26px 26px;
  content: "";
  mask-image: radial-gradient(ellipse at 36% 42%, #000 0%, transparent 76%);
}
.component-shell .eyebrow {
  justify-content: flex-start;
  text-align: left;
  margin: 0 0 14px;
  color: #78848a;
  font: 650 8px/1 var(--condensed, "Arial Narrow", "Helvetica Neue", sans-serif);
  letter-spacing: .16em;
}
.component-shell .title-row { display: flex; align-items: center; gap: 9px; }
.component-shell .title-icon {
  display: grid;
  width: 27px;
  height: 25px;
  flex: 0 0 27px;
  place-items: center;
  background: #dededb;
  color: #171729;
}
.component-shell .title-icon svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-linecap: square; stroke-linejoin: miter; stroke-width: 2.2; }
.component-shell .title-label {
  color: #202126;
  font-size: clamp(16px, 1.8vw, 22px);
  font-weight: 500;
  letter-spacing: -.055em;
  line-height: 1;
  white-space: nowrap;
}
.component-shell .component-heading h1 {
  max-width: 560px;
  margin: 10px 0 0;
  color: #171717;
  font-size: clamp(25px, 2.7vw, 34px);
  font-weight: 780;
  letter-spacing: -.07em;
  line-height: 1.1;
  text-wrap: balance;
}
.component-shell .caption {
  max-width: 480px;
  margin: 14px 0 0;
  color: var(--muted-foreground);
  font-size: 13px;
  line-height: 1.7;
}
.component-shell .title-motifs { position: absolute; z-index: -1; inset: 0; color: rgba(var(--purple-unified-rgb), .12); pointer-events: none; }
.component-shell .title-motifs i { position: absolute; font-size: 24px; font-style: normal; font-weight: 700; }
.component-shell .title-motifs i:first-child { top: 4%; right: 12%; }
.component-shell .title-motifs i:nth-child(2) { top: 51%; right: 3%; font-size: 19px; }
.component-shell .title-motifs i:last-child { top: 35%; right: 23%; font-size: 20px; }

.component-shell .globe-box {
  position: relative;
  grid-column: 1;
  grid-row: 1 / span 2;
  justify-self: center;
  align-self: center;
  width: min(130%, 728px);
  aspect-ratio: 1;
  margin-top: -6px;
  touch-action: pan-y;
  user-select: none;
}
.component-shell .globe-canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; cursor: grab; touch-action: none; }
.component-shell .globe-box.is-dragging .globe-canvas { cursor: grabbing; }
.component-shell .globe-pins { position: absolute; inset: 0; pointer-events: none; }
.component-shell .globe-pin {
  position: absolute;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  padding: 2px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .96);
  cursor: pointer;
  pointer-events: auto;
  transform: translate(-50%, -50%);
  transition: opacity .2s ease, box-shadow .2s ease;
}
.component-shell .globe-pin img, .component-shell .globe-pin .avatar-fallback {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  object-fit: cover;
}
.component-shell .globe-pin .avatar-fallback { background: #f2f2f7; color: var(--accent-strong); font-size: 13px; font-weight: 700; }
.component-shell .globe-pin.is-active {
  z-index: 2;
  border-width: 3px;
  box-shadow: 0 0 0 2px #fff, 0 0 0 5px rgba(var(--purple-unified-rgb), .27);
}

.component-shell .quote-region {
  position: relative;
  grid-column: 2;
  grid-row: 2;
  align-self: start;
  width: 100%;
  min-width: 0;
  max-width: 610px;
}
.component-shell .quote-card {
  position: relative;
  display: flex;
  min-height: 200px;
  flex-direction: column;
  overflow: visible;
  margin: 0;
  padding: 16px 24px 15px 45px;
  background: var(--card);
  color: var(--foreground);
  box-shadow: 0 30px 50px -33px rgba(16, 17, 31, .38);
}
.component-shell .quote-card::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 17px;
  background: var(--accent);
  content: "";
}
.component-shell .quote-top { position: relative; display: flex; min-height: 32px; align-items: center; justify-content: space-between; }
.component-shell .quote-context { display: flex; align-items: center; gap: 14px; }
.component-shell .quote-icon { width: 28px; height: 28px; flex: 0 0 auto; color: #d1d1d5; }
.component-shell .quote-source { color: #b2b2bc; font-size: 12px; font-weight: 600; letter-spacing: .04em; }
.component-shell .card-controls { display: flex; align-items: center; gap: 8px; }
.component-shell .review-counter { min-width: 44px; color: #888895; font-size: 11px; font-variant-numeric: tabular-nums; text-align: center; }
.component-shell .step-button {
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  padding: 0;
  border: 1px solid #85858d;
  border-radius: 50%;
  background: #fff;
  color: #474750;
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, color .18s ease;
}
.component-shell .step-button:hover { border-color: var(--accent); background: #f5f4ff; color: var(--accent-strong); }
.component-shell .step-button svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.5; }
.component-shell .quote-copy {
  display: -webkit-box !important;
  max-height: 4.5em !important;
  min-height: 0;
  margin: 10px 0 0;
  overflow: hidden !important;
  color: #34343e;
  font-size: 14px;
  line-height: 1.5;
  text-wrap: pretty;
  white-space: pre-line;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 3 !important;
  line-clamp: 3 !important;
}
.component-shell .quote-footer { display: flex; min-width: 0; align-items: center; gap: 12px; margin-top: auto; padding-top: 10px; }
.component-shell .featured-avatar, .component-shell .featured-avatar img, .component-shell .featured-avatar .avatar-fallback {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
}
.component-shell .featured-avatar { border: 2px solid #fff; background: #ddd; box-shadow: 0 0 0 1px rgba(20, 20, 30, .06); }
.component-shell .featured-avatar img { width: 100%; height: 100%; object-fit: cover; }
.component-shell .featured-avatar .avatar-fallback { background: #ddd; color: #3b3b44; font-size: 15px; font-weight: 700; }
.component-shell .profile-copy { display: flex; min-width: 0; flex: 1; flex-direction: column; gap: 3px; }
.component-shell .featured-name { overflow: hidden; color: #18181d; font-size: 14px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.component-shell .featured-role { overflow: hidden; color: var(--muted-foreground); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.component-shell .original-link { flex: 0 0 auto; color: #25252b; font-size: 12px; font-weight: 650; white-space: nowrap; }
.component-shell .original-link:hover { color: var(--accent-strong); }
.component-shell .review-actions { display: flex; margin-top: 11px; }
.component-shell .action-link {
  display: flex;
  width: 20%;
  min-width: 116px;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-left: auto;
  padding: 0 8px;
  border-left: 4px solid var(--accent);
  background: #252525;
  color: #fff;
  box-shadow: 0 12px 22px -14px rgba(16, 17, 31, .55);
  font-size: 12px;
  font-weight: 650;
  white-space: nowrap;
  transition: background .2s ease, box-shadow .2s ease;
}
.component-shell .action-link:hover { background: var(--rectangle-black, #252525); box-shadow: 0 14px 24px -13px rgba(16, 17, 31, .62); }
.component-shell .action-link svg { width: 16px; height: 16px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.component-shell .visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; clip-path: inset(50%); }
.component-shell .leader-svg { position: absolute; z-index: 3; inset: 0; width: 100%; height: 100%; overflow: visible; color: var(--accent); pointer-events: none; transition: opacity .2s ease; }
.component-shell .leader-svg line { stroke: currentColor; stroke-opacity: .65; stroke-width: 1.3; vector-effect: non-scaling-stroke; }
.component-shell .leader-svg circle:first-of-type { fill: currentColor; }
.component-shell .leader-svg circle:last-of-type { fill: var(--background); stroke: currentColor; stroke-width: 1.4; vector-effect: non-scaling-stroke; }

.component-shell .testimonial-globe-root.is-pending .component-heading { opacity: 0; transform: translateY(24px); }
.component-shell .testimonial-globe-root.is-pending .quote-card { clip-path: inset(0 100% 0 0); }
.component-shell .testimonial-globe-root.is-pending .action-link { clip-path: inset(0 100% 0 0); }
.component-shell .testimonial-globe-root.is-entering .component-heading {
  animation: testimonial-heading-rise .92s cubic-bezier(.2, .72, .24, 1) both;
}
.component-shell .testimonial-globe-root.is-entering .quote-card {
  animation: testimonial-card-reveal 1.42s cubic-bezier(.18, .76, .24, 1) .16s both;
}
.component-shell .testimonial-globe-root.is-entering .action-link {
  animation: testimonial-action-reveal .84s cubic-bezier(.18, .76, .24, 1) 1.02s both;
}
@keyframes testimonial-heading-rise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes testimonial-card-reveal {
  from { clip-path: inset(0 100% 0 0); }
  to { clip-path: inset(0 0 0 0); }
}
@keyframes testimonial-action-reveal {
  from { clip-path: inset(0 100% 0 0); }
  to { clip-path: inset(0 0 0 0); }
}

@media (max-width: 980px) and (min-width: 701px) {
  .component-shell .component-inner { grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); column-gap: 30px; padding-inline: 28px; }
  .component-shell .eyebrow { font-size: 7px; letter-spacing: .14em; }
  .component-shell .title-label { font-size: 22px; }
  .component-shell .component-heading h1 { font-size: 34px; }
  .component-shell .globe-box { width: min(130%, 572px); }
  .component-shell .quote-card { min-height: 184px; padding: 14px 18px 13px 40px; }
  .component-shell .quote-copy { margin-top: 10px; font-size: 14px; line-height: 1.5; }
  .component-shell .quote-footer { padding-top: 9px; }
}
@media (max-width: 700px) {
  .component-shell { min-height: 100svh; overflow: hidden; }
  .component-shell .component-inner { display: flex; width: 100%; min-height: 100svh; flex-direction: column; align-items: stretch; gap: 5px; padding: 30px 18px 28px; }
  .component-shell .soft-field {
    background-image:
      linear-gradient(rgba(var(--purple-unified-rgb), .028) 1px, transparent 1px),
      linear-gradient(90deg, rgba(var(--purple-unified-rgb), .028) 1px, transparent 1px),
      radial-gradient(75% 35% at 34% 36%, rgba(var(--purple-unified-rgb), .035), transparent 75%);
    background-size: 44px 44px, 44px 44px, auto;
  }
  .component-shell .component-heading { padding: 0 0 8px; }
  .component-shell .component-heading::before { top: -20px; bottom: -5px; }
  .component-shell .eyebrow { margin-bottom: 14px; font-size: 7px; letter-spacing: .14em; }
  .component-shell .title-row { gap: 9px; }
  .component-shell .title-icon { width: 24px; height: 23px; flex-basis: 24px; }
  .component-shell .title-icon svg { width: 18px; height: 18px; }
  .component-shell .title-label { font-size: 19px; }
  .component-shell .component-heading h1 { margin-top: 10px; font-size: clamp(25px, 7vw, 29px); }
  .component-shell .caption { margin-top: 10px; font-size: 12px; }
  .component-shell .globe-box { width: min(100%, 320px); align-self: center; margin-top: 0; }
  .component-shell .globe-pin { width: 34px; height: 34px; }
  .component-shell .quote-region { width: 100%; align-self: center; }
  .component-shell .quote-card { min-height: 176px; padding: 13px 15px 12px 38px; }
  .component-shell .quote-card::before { width: 14px; }
  .component-shell .quote-copy { max-height: 4.5em !important; min-height: 0; margin-top: 9px; font-size: 13px; line-height: 1.5; }
  .component-shell .review-counter { min-width: 40px; font-size: 10px; }
  .component-shell .quote-footer { gap: 9px; padding-top: 10px; }
  .component-shell .featured-avatar, .component-shell .featured-avatar img, .component-shell .featured-avatar .avatar-fallback { width: 34px; height: 34px; flex-basis: 34px; }
  .component-shell .featured-role, .component-shell .original-link { font-size: 10px; }
  .component-shell .review-actions { margin-top: 9px; }
  .component-shell .action-link { min-height: 48px; padding: 0 8px; border-left-width: 4px; font-size: 12px; }
  .component-shell .leader-svg { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .component-shell *, .component-shell *::before, .component-shell *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
