.sync-highlights,
.sync-reviews {
  --gutter: 64px;
  --heading-size: 72px;
  box-sizing: border-box;
  padding: 80px var(--gutter);
  color: #222;
  font-family: Inter, sans-serif;
}

.sync-highlights {
  background: white;
}

.feature-introduction {
  max-width: 884px;
  margin-bottom: 40px;
}

.sync-highlights h2,
.sync-reviews h2,
.feature-copy h3 {
  margin: 0;
  font-family: Mermaid, Georgia, serif;
  font-size: var(--heading-size);
  font-weight: 700;
  line-height: 1;
}

.feature-introduction p {
  margin: 8px 0 0;
  font-size: 16px;
  line-height: 1.5;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  overflow: clip;
}

.feature-card {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 640px;
  overflow: hidden;
  padding-top: 8px;
  border-radius: 16px;
  background: #f1f1f1;
}

.feature-copy {
  box-sizing: border-box;
  width: 100%;
  padding: 32px;
}

.feature-copy h3 {
  color: #000;
  font-size: 24px;
  letter-spacing: -.48px;
  line-height: 1.2;
}

.feature-copy p {
  margin: 8px 0 0;
  color: rgb(0 0 0 / 55%);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -.09px;
  line-height: 1.45;
}

.feature-screen {
  position: relative;
  flex: none;
  width: 240px;
  height: 517px;
  border-radius: 32px;
  box-shadow: 0 0 4.4px rgb(0 0 0 / 6%), 0 5px 19px rgb(0 0 0 / 8%);
}

.feature-screen img,
.feature-screen::after {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
}

.feature-screen img {
  object-fit: cover;
}

.feature-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  box-sizing: border-box;
  border: 8px solid white;
}

.sync-reviews {
  padding-inline: 0;
  background: #f7f7f7;
}

.sync-reviews h2 {
  margin: 0 var(--gutter) 64px;
}

.reviews-gallery {
  width: 100%;
  height: 453.073px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
}

.reviews-gallery:focus-visible {
  outline: 2px solid #555;
  outline-offset: -2px;
}

.reviews-gallery.is-looping {
  overflow: hidden;
  cursor: grab;
  user-select: none;
  touch-action: pan-y;
}

.reviews-gallery.is-dragging {
  cursor: grabbing;
}

.reviews-track {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 32px;
  width: max-content;
  margin: 0;
  padding: 0;
  list-style: none;
}

.review-card {
  box-sizing: border-box;
  display: flex;
  flex: none;
  flex-direction: column;
  gap: 16px;
  width: 343px;
  min-height: 237px;
  padding: 24px 32px 32px;
  border-radius: 16px;
  background-color: #fff;
  box-shadow: 0 4px 8px rgb(0 0 0 / 2%), 0 6px 12px rgb(0 0 0 / 3%);
}

.review-card::before {
  content: "";
  width: 40px;
  height: 33.073px;
  background: url("assets/review-quote.svg") center / contain no-repeat;
}

.review-card blockquote {
  margin: 0;
  color: rgb(0 0 0 / 80%);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -.09px;
  line-height: 1.45;
  white-space: pre-wrap;
}

.review-author {
  margin: 0;
  color: rgb(0 0 0 / 55%);
  font-size: 14px;
  letter-spacing: -.07px;
  line-height: 1.4;
  text-align: right;
}

.review-nate {
  background-image: radial-gradient(circle 104px at calc(50% + 18.6px) calc(50% - 159.4px), #ffd5f3, transparent),
    radial-gradient(circle 165px at calc(50% - 176.6px) calc(50% + 172.4px), #f1e2ba, transparent);
}

.review-cathy {
  background-image: radial-gradient(circle 161px at -18.3px calc(50% - 159.8px), #78dbbd, transparent),
    radial-gradient(circle 165px at -5.1px calc(50% + 172.4px), #f1e2ba, transparent);
}

.review-grace {
  background-image: radial-gradient(circle 165px at calc(100% + 77.9px) calc(50% + 29.4px), #f1e2ba, transparent);
}

.review-nitish {
  background-image: radial-gradient(circle 161px at calc(50% - 189.8px) -37.3px, #78dbbd, transparent),
    radial-gradient(circle 104px at calc(50% + 18.6px) -36.9px, #ffd5f3, transparent);
}

.review-andy {
  background-image: radial-gradient(circle 104px at calc(50% + 18.6px) calc(50% - 198.5px), #ffd5f3, transparent),
    radial-gradient(circle 165px at calc(50% + 249.4px) calc(50% + 29.4px), #f1e2ba, transparent);
}

.review-mark {
  background-image: radial-gradient(circle 161px at calc(50% - 189.8px) calc(50% - 263.9px), #78dbbd, transparent),
    radial-gradient(circle 165px at calc(50% + 249.4px) calc(50% + 29.4px), #f1e2ba, transparent);
}

.review-penelope {
  margin-right: 32px;
  background-image: radial-gradient(circle 165px at -5.1px calc(100% + 49.8px), #f1e2ba, transparent);
}

@media screen and (prefers-reduced-motion: no-preference) {
  .sync-highlights.revealing .feature-introduction:not(.entering) { opacity: 0; }
  @media (min-width: 1280px) {
    .sync-highlights.revealing .feature-card:not(.entering) { opacity: 0; }
  }
  @media (max-width: 799px) {
    .sync-highlights.revealing .feature-card:nth-child(2):not(.entering) { opacity: 0; }
  }

  .feature-introduction.entering,
  .feature-card.entering {
    animation: feature-appear .6s cubic-bezier(.215, .61, .355, 1) backwards;
  }

  .feature-card:nth-child(2).entering { animation-delay: .2s; }
  .feature-card:nth-child(3).entering { animation-delay: .4s; }

  @keyframes feature-appear {
    from { opacity: 0; transform: translateY(var(--entry-offset, 0)); }
    to { opacity: 1; transform: none; }
  }
}

@media (min-width: 1280px) {
  .feature-card { --entry-offset: 150px; }
}

@media (max-width: 1279px) {
  .sync-highlights,
  .sync-reviews {
    --gutter: 32px;
    --heading-size: 64px;
  }

  .feature-grid { grid-template-columns: 1fr; gap: 24px; }
  .sync-reviews h2 { margin-bottom: 48px; }
}

@media (min-width: 800px) and (max-width: 1279px) {
  .feature-card {
    flex-direction: row;
    align-items: flex-start;
    gap: 32px;
    height: 367px;
    padding: 40px 56px 40px 32px;
  }

  .feature-copy { flex: 1; min-width: 0; }
  .feature-copy h3 { font-size: 20px; letter-spacing: -.3px; }
  .feature-card.entering { animation: none; }
}

@media (max-width: 799px) {
  .sync-highlights,
  .sync-reviews {
    --gutter: 24px;
    --heading-size: 48px;
    padding-block: 56px;
  }

  .feature-introduction { text-align: center; }
  .feature-card { height: 496px; }
  .feature-copy { padding: 24px; }
  .feature-copy h3 { font-size: 20px; letter-spacing: -.3px; }
  .feature-copy p { font-size: 14px; letter-spacing: -.07px; }
  .feature-card:nth-child(2) { --entry-offset: 150px; height: 640px; }
  .feature-card:nth-child(2) .feature-copy { padding: 32px; }
  .feature-card:nth-child(2) h3 { font-size: 24px; letter-spacing: -.48px; }
  .feature-card:nth-child(2) p { font-size: 18px; letter-spacing: -.09px; }
  .feature-card:not(:nth-child(2)).entering { animation: none; }
  .sync-reviews h2 { font-size: 32px; }
}
