/* Figma homepage frame 3:2 — layout & theme overrides (loads after home.css) */

.page-figma {
  --figma-teal: #2a9d8f;
  --figma-teal-2: #48c9b0;
  --figma-teal-3: #5dade2;
  --figma-navy: #0f2744;
  --figma-navy-card: #152d4a;
  --figma-band: #1f6f64;
  font-family: var(--font-body);
}

.page-figma .container {
  width: min(100% - 2rem, 1180px);
}

.figma-messages {
  padding-top: 0.75rem;
}

.figma-message {
  margin: 0 0 0.5rem;
  padding: 0.65rem 1rem;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
}

.figma-message--success {
  background: rgba(42, 157, 143, 0.15);
  color: #0d3d36;
  border: 1px solid rgba(42, 157, 143, 0.35);
}

.figma-message--error {
  background: rgba(200, 60, 60, 0.1);
  color: #6b1c1c;
  border: 1px solid rgba(200, 60, 60, 0.25);
}

.figma-eyebrow {
  color: var(--figma-teal);
}

.figma-section-title {
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 800;
  color: var(--figma-navy);
}

.figma-lede {
  color: #4b5567;
}

/* Split hero — video (left) + content panel (right); stacked on mobile */
.hero--split .hero__ambient {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero--split .hero__split {
  position: relative;
  z-index: 1;
  min-height: inherit;
  height: 100%;
}

.hero--split .hero__panel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: inherit;
}

.hero--split .hero__panel-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

@media (min-width: 901px) {
  .hero--split .hero__ambient {
    right: 0;
  }

  .hero--split .hero__slide {
    display: flex;
    justify-content: flex-start;
  }

  .hero--split .hero__split {
    width: 100%;
    min-width: 0;
  }

  .hero--split .hero__panel {
    justify-content: flex-start;
  }

  .hero--split .hero__panel-bg {
    background: linear-gradient(
      90deg,
      rgba(15, 39, 68, 0.9) 0%,
      rgba(15, 39, 68, 0.72) 30%,
      rgba(15, 39, 68, 0.34) 60%,
      rgba(15, 39, 68, 0.06) 100%
    );
  }

  .hero--split .hero__video-wrap::after {
    background: linear-gradient(
      90deg,
      rgba(14, 32, 58, 0.52) 0%,
      rgba(14, 32, 58, 0.28) 55%,
      rgba(14, 32, 58, 0.1) 100%
    );
  }

  .hero--split .hero__video {
    object-position: center center;
  }

  .hero--split .hero__layout {
    width: min(100% - 2.5rem, var(--maxw));
    margin-inline: auto;
    padding: 4rem 0 5.5rem;
  }
}

@media (max-width: 900px) {
  .hero--split .hero__split {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
  }

  .hero--split .hero__panel {
    width: 100%;
    align-items: center;
  }

  .hero__layout {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    padding-bottom: 2.5rem;
  }

  .hero__content {
    order: 1;
  }

  .hero__subtitle {
    display: none;
  }

  .hero__title {
    margin-bottom: 1.5rem;
    line-height: 1.15;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 20rem;
    margin-inline: auto;
    gap: 0.85rem;
  }

  .hero__actions .btn {
    width: 100%;
    min-height: 46px;
    padding-inline: 1.25rem;
    font-size: 0.72rem;
    letter-spacing: 0.04em;
  }

  .hero__actions .btn--hero-outline {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.85);
    color: #fff;
  }

  .hero--split .hero__panel-bg {
    background: linear-gradient(
      180deg,
      rgba(15, 39, 68, 0.1) 0%,
      rgba(15, 39, 68, 0.42) 46%,
      rgba(15, 39, 68, 0.68) 100%
    );
  }

  .hero--split .hero__video-wrap::after {
    background: linear-gradient(
      180deg,
      rgba(14, 32, 58, 0.28) 0%,
      rgba(14, 32, 58, 0.62) 42%,
      rgba(14, 32, 58, 0.82) 100%
    );
  }

  .hero--split .hero__video {
    object-position: center 36%;
  }
}

@media (min-width: 901px) {
  .hero__content {
    order: unset;
  }
}

/* Hero layout + trust badge (bottom-right per Figma) */
.hero__layout {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: min(78vh, 640px);
  padding: 5.5rem 0 7rem;
  max-width: none;
  text-align: left;
}

.hero__content {
  margin-left: 0;
  margin-right: auto;
  max-width: 40rem;
  padding: 0;
}

.hero__actions {
  justify-content: flex-start;
}

.hero__trust-anchor {
  z-index: 3;
  display: flex;
  align-items: flex-end;
  pointer-events: none;
}

@media (min-width: 901px) {
  .hero__trust-anchor {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 1.5rem;
    width: min(100% - 2.5rem, var(--maxw));
    justify-content: flex-end;
  }
}

@media (max-width: 900px) {
  .hero__trust-anchor {
    position: static;
    left: auto;
    bottom: auto;
    width: auto;
    transform: none;
    justify-content: center;
    order: -1;
    pointer-events: auto;
  }
}

.hero__trust-anchor .hero__trust {
  pointer-events: auto;
}

.btn--figma-teal {
  background: linear-gradient(135deg, var(--figma-teal-2), var(--figma-teal-3)) !important;
  color: #0a1624 !important;
  border: none !important;
  box-shadow: 0 12px 28px rgba(72, 201, 176, 0.35) !important;
}

.hero__trust {
  flex: 0 0 auto;
  text-align: right;
  color: #fff;
  padding: 1rem 1.25rem;
  border-radius: 16px;
  background: rgba(15, 39, 68, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
}

.hero__trust-line {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.hero__trust-sub {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.95;
}

.hero__trust--badge {
  padding: 0;
  background: transparent;
  border: none;
  backdrop-filter: none;
}

.hero__trust-figure {
  margin: 0;
  line-height: 0;
}

.hero__trust-badge {
  display: block;
  width: clamp(160px, 18vw, 230px);
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

@media (max-width: 720px) {
  .hero__layout {
    align-items: center;
    justify-content: center;
    min-height: min(78vh, 600px);
    padding-top: calc(var(--site-header-offset, 112px) + 1rem);
    padding-inline: max(1rem, env(safe-area-inset-left, 0px)) max(1rem, env(safe-area-inset-right, 0px));
    padding-bottom: 2.5rem;
    text-align: center;
    gap: 1.25rem;
  }

  .hero__content {
    margin-inline: auto;
    max-width: 100%;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__trust {
    text-align: center;
  }

  .hero__trust-badge {
    width: clamp(125px, 38vw, 180px);
  }
}

/* Trusted brands — Figma node 56:94462 (HK Grotesk) */
.figma-trusted.section {
  background: #ecfbf8;
  padding-top: 3.25rem;
  padding-bottom: 3.75rem;
}

.figma-trusted__intro {
  max-width: 48rem;
  margin-bottom: 2rem;
}

.figma-trusted__title {
  margin: 0 0 0.55rem;
  font-size: clamp(1.6rem, 3.6vw, 2.875rem);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.15;
  color: #000000;
  text-transform: uppercase;
}

.figma-trusted__deco-line {
  display: block;
  width: 5.25rem;
  height: 3px;
  border-radius: 999px;
  background: #3cbeb2;
  margin: 0 0 1rem;
}

.figma-trusted__sub {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.5;
  color: #5a6473;
  max-width: 22rem;
}

.figma-trusted__grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.95fr) !important;
  gap: 2.25rem !important;
  margin-top: 0 !important;
  align-items: start;
}

.figma-trusted__left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
}

.figma-trusted__logos {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.2rem;
  align-content: start;
  width: 100%;
}

.figma-trusted__logo-tile {
  display: grid;
  place-items: center;
  aspect-ratio: 1.2 / 1;
  padding: 0.85rem 0.9rem;
  border-radius: 14px;
  border: 1px solid transparent;
  background: #ffffff;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(15, 39, 68, 0.05);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.figma-trusted__logo-tile:hover {
  border-color: rgba(44, 182, 168, 0.45);
  box-shadow: 0 10px 24px rgba(15, 39, 68, 0.1);
  transform: translateY(-2px);
}

.figma-trusted__logo-tile.is-active {
  border-color: #3cbeb2;
  box-shadow: 0 0 0 1px #3cbeb2, 0 10px 26px rgba(60, 190, 178, 0.24);
}

.figma-trusted__logo-tile img {
  display: block;
  max-width: 100%;
  max-height: 88px;
  width: auto;
  height: auto;
  object-fit: contain;
  image-rendering: auto;
}

/* Desktop: show first 20 logos; extras appear under the grid when expanded */
.figma-trusted__logo-tile--extra-hidden {
  display: none !important;
}

.figma-trusted.is-brands-expanded .figma-trusted__logo-tile--extra-hidden {
  display: grid !important;
}

.figma-trusted__logo-tile--empty {
  background: #ffffff;
  cursor: default;
  box-shadow: 0 4px 14px rgba(15, 39, 68, 0.04);
  pointer-events: none;
}

.figma-trusted__view-all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 2.65rem;
  padding: 0 1.6rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: #031d3e;
  text-decoration: none;
  border: 1.5px solid #3cbeb2;
  background: transparent;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.figma-trusted__view-all[hidden] {
  display: none !important;
}

.figma-trusted__view-all:hover {
  text-decoration: none;
  background: #3cbeb2;
  color: #ffffff;
  transform: translateY(-1px);
}

.figma-trusted__view-all-arrow {
  transition: transform 0.2s ease;
}

.figma-trusted__view-all:hover .figma-trusted__view-all-arrow {
  transform: translateX(3px);
}

.figma-trusted__left-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}

.figma-trusted__card-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.5rem;
}

.figma-trusted__catalogue-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.65rem;
  padding: 0.55rem 1.35rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.2s ease, filter 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.figma-trusted__catalogue-cta--outline {
  color: #031d3e;
  border: 1.5px solid #3cbeb2;
  background: transparent;
}

.figma-trusted__catalogue-cta--outline:hover {
  text-decoration: none;
  background: #3cbeb2;
  color: #ffffff;
  transform: translateY(-1px);
}

.figma-trusted__card-actions .figma-trusted__catalogue-cta {
  margin-top: 0;
  color: #031d3e;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.figma-trusted__card-actions .figma-trusted__catalogue-cta:hover {
  filter: brightness(1.03);
  transform: translateY(-1px);
}

.figma-trusted__card-actions .figma-trusted__product-cta {
  margin-top: 0;
}

.figma-trusted__featured {
  position: relative;
  min-height: 380px;
}

.figma-trusted__card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-height: 380px;
  padding: 1.55rem 1.45rem 1.55rem 1.45rem;
  border-radius: 22px;
  background:
    radial-gradient(circle at 85% 8%, rgba(255, 255, 255, 0.08) 0%, transparent 45%),
    linear-gradient(160deg, #15355c 0%, #0c2546 55%, #061a35 100%);
  color: #f2f6ff;
  box-shadow: 0 24px 50px rgba(3, 29, 62, 0.32);
  overflow: hidden;
}

.figma-trusted__card-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  max-width: 52%;
  z-index: 1;
}

.figma-trusted__kicker {
  margin: 0;
  font-size: 1rem;
  font-weight: 400;
  color: #3cbeb2;
  letter-spacing: 0;
}

.figma-trusted__card-brandmark-wrap {
  display: inline-grid;
  place-items: center;
  width: min(100%, 220px);
  min-height: 74px;
  padding: 0.65rem 1rem;
  box-sizing: border-box;
  margin: 0;
  border-radius: 10px;
  background: #ffffff;
  overflow: visible;
}

.figma-trusted__card-brandmark {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
}

.figma-trusted__card-title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
}

.figma-trusted__card-body {
  margin: 0;
  color: rgba(231, 238, 250, 0.88);
  font-size: 0.82rem;
  line-height: 1.55;
}

.figma-trusted__product-cta {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.5rem;
  padding: 0.55rem 1.35rem;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  color: #031d3e;
  background: #3cbeb2;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(60, 190, 178, 0.32);
  transition: transform 0.2s ease, filter 0.2s ease;
}

.figma-trusted__product-cta:hover {
  text-decoration: none;
  transform: translateY(-1px);
  filter: brightness(1.06);
}

.figma-trusted__card-media {
  position: absolute;
  right: 0.6rem;
  bottom: 0.45rem;
  width: 47%;
  max-width: 260px;
  aspect-ratio: 3 / 4;
  pointer-events: none;
}

.figma-trusted__card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 18px 26px rgba(0, 0, 0, 0.45));
}

@media (max-width: 1099px) {
  .figma-trusted__logos {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.05rem;
  }
}

/* Mobile / stacked layout: cap logo picker at 6 (3×2 or 2×3 grid) */
@media (max-width: 960px) {
  .figma-trusted__logo-tile--mobile-hidden {
    display: none !important;
  }

  .figma-trusted.is-brands-expanded .figma-trusted__logo-tile--mobile-hidden {
    display: grid !important;
  }

}

@media (max-width: 960px) {
  .figma-trusted__grid {
    grid-template-columns: 1fr !important;
  }

  .figma-trusted__card-copy {
    max-width: 100%;
  }

  .figma-trusted__card-media {
    position: static;
    width: 62%;
    max-width: 230px;
    margin-top: 1rem;
    align-self: flex-end;
  }
}

@media (max-width: 520px) {
  .figma-trusted__logos {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .figma-trusted__card {
    padding: 1.5rem;
  }
}

.figma-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease, background 0.2s ease;
}

.figma-btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.figma-btn--teal {
  background: linear-gradient(135deg, var(--figma-teal-2), var(--figma-teal-3));
  color: #0a1624;
  box-shadow: 0 10px 24px rgba(72, 201, 176, 0.35);
}

.figma-btn--outline {
  border-color: var(--figma-teal);
  color: var(--figma-navy);
  background: transparent;
}

.figma-btn--wide {
  width: 100%;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

/* Products — "Our Top Performers" carousel with teal shelf backdrop */
.figma-products {
  background: #ffffff;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.figma-product-head {
  text-align: center;
  margin-bottom: 1.25rem;
}

.figma-product-eyebrow {
  margin: 0 0 0.3rem;
  text-transform: uppercase;
  font-size: 1.125rem;
  font-weight: 400;
  letter-spacing: 0;
  color: #000000;
}

.figma-product-title {
  text-align: center;
  margin: 0;
  font-size: clamp(1.65rem, 3.4vw, 2.625rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #000000;
}

.figma-products__shelf-wrap {
  position: relative;
  margin-top: 1.25rem;
}

/* Full-bleed teal "shelf" sits behind the upper half of every card. */
.figma-products__shelf {
  position: absolute;
  top: 0;
  left: calc(50% - 50vw);
  width: 100vw;
  height: 58%;
  background: linear-gradient(180deg, #4dc6b9 0%, #3cbeb2 100%);
  border-radius: 0 0 28px 28px;
  z-index: 0;
}

.figma-product-carousel {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  gap: clamp(0.35rem, 1.2vw, 0.65rem);
  margin-top: 0;
  padding: 1.5rem 0 0.25rem;
  --figma-products-per-view: 4;
  --figma-product-gap: 1.25rem;
}

.figma-product-grid {
  flex: 1 1 auto;
  min-width: 0;
  display: flex !important;
  gap: 1.25rem !important;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0.25rem 0;
  scrollbar-width: none;
  align-items: flex-start;
}

.figma-product-grid::-webkit-scrollbar {
  display: none;
}

.figma-product-item {
  flex: 0 0
    calc(
      (100% - (var(--figma-products-per-view) - 1) * var(--figma-product-gap)) /
        var(--figma-products-per-view)
    );
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Override the legacy `.product-card` base look so the card reads as the Figma comp. */
.figma-product-card {
  position: relative;
  flex: none;
  display: flex;
  flex-direction: column;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden;
  border: 0 !important;
  border-radius: 12px !important;
  background: #c9c4c7 !important;
  box-shadow: 0 10px 22px rgba(15, 39, 68, 0.16);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.figma-product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(15, 39, 68, 0.18);
}

.figma-product-card__media {
  display: block;
  border-radius: 0 !important;
  aspect-ratio: 1;
  background: #ffffff;
  padding: 0.6rem;
  box-sizing: border-box;
}

.figma-product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.figma-product-card__body {
  position: absolute;
  left: clamp(0.7rem, 5%, 1rem);
  right: clamp(0.7rem, 5%, 1rem);
  bottom: clamp(0.6rem, 4%, 0.8rem);
  z-index: 1;
  padding: 0;
  background: transparent;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.figma-product-cta {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: clamp(23px, 2.35vw, 30px);
  padding: 0.35rem 1rem;
  border-radius: 999px;
  background: #3cbeb2;
  color: #000000 !important;
  font-size: clamp(0.68rem, 0.8vw, 0.78rem) !important;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: none;
  transition: filter 0.2s ease, transform 0.2s ease;
  pointer-events: auto;
}

.figma-product-cta:hover {
  text-decoration: none;
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.figma-product-card__title-below {
  margin: 0;
  padding: 0 0.35rem;
  text-align: center;
  font-size: clamp(0.82rem, 1vw, 0.95rem);
  font-weight: 500;
  line-height: 1.25;
  color: #000000;
}

.figma-product-card__title-below a {
  color: inherit;
  text-decoration: none;
}

.figma-product-card__title-below a:hover {
  text-decoration: underline;
}

/* Nav arrows sit in the side gutters (flex siblings), aligned to the product card image. */
.figma-products__nav.carousel__btn {
  position: relative;
  top: auto;
  left: auto;
  right: auto;
  flex: 0 0 36px;
  align-self: flex-start;
  z-index: 2;
  width: 36px;
  height: 36px;
  /* Center on square card image: half card width minus half button height. */
  margin-top: max(
    0.75rem,
    calc(
      (
        (100% - (var(--figma-products-per-view) - 1) * var(--figma-product-gap)) /
          var(--figma-products-per-view) / 2
      ) - 18px
    )
  );
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.92);
  color: #0b1424;
  border: 1px solid rgba(15, 39, 68, 0.1);
  box-shadow: 0 8px 18px rgba(15, 39, 68, 0.18);
  transform: none;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.figma-products__nav.carousel__btn::after {
  content: none;
}

.figma-products__nav.carousel__btn:hover {
  background: #0b1424;
  color: #ffffff;
  transform: scale(1.06);
}

.figma-products__nav--prev.carousel__btn,
.figma-products__nav--next.carousel__btn {
  margin-inline: 0;
}

/* Pagination dots */
.figma-products__dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
  margin: 1.25rem 0 0;
  padding: 0;
}

.figma-products__dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #c4cad6;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, width 0.2s ease;
}

.figma-products__dot:hover {
  background: #8b94a5;
}

.figma-products__dot.is-active {
  background: #3cbeb2;
  width: 18px;
  border-radius: 999px;
}

@media (max-width: 720px) {
  .figma-products__shelf {
    height: 50%;
    border-radius: 0 0 20px 20px;
  }

  .figma-product-grid {
    padding-left: 0;
    padding-right: 0;
  }

  .figma-products__nav.carousel__btn {
    display: none;
  }
}

@media (max-width: 640px) {
  .page-figma .container {
    width: min(100% - 1.25rem, 1180px);
  }

  .figma-section-title {
    letter-spacing: 0.025em;
    line-height: 1.15;
  }

  .hero__layout {
    align-items: center;
    justify-content: center;
    min-height: min(82vh, 680px);
    padding-top: calc(var(--site-header-offset, 112px) + 1rem);
    padding-inline: max(clamp(1rem, 4vw, 1.25rem), env(safe-area-inset-left, 0px))
      max(clamp(1rem, 4vw, 1.25rem), env(safe-area-inset-right, 0px));
    padding-bottom: 2.5rem;
    text-align: center;
    gap: 1.25rem;
  }

  .hero__content {
    max-width: 100%;
    margin-inline: auto;
    padding-top: 0;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__dots {
    bottom: 1.05rem;
  }

  .figma-trusted.section,
  .figma-products,
  .figma-industries {
    padding-top: 2.4rem;
    padding-bottom: 2.6rem;
  }

  .figma-trusted__intro {
    margin-bottom: 1.35rem;
  }

  .figma-trusted__sub {
    max-width: none;
  }

  .figma-trusted__logos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
  }

  .figma-trusted__logo-tile {
    min-height: 68px;
    padding: 0.55rem;
    border-radius: 12px;
  }

  .figma-trusted__card {
    min-height: auto;
    padding: 1.25rem;
    border-radius: 18px;
  }

  .figma-trusted__card-copy {
    max-width: 100%;
  }

  .figma-trusted__card-media {
    width: min(62%, 180px);
    align-self: center;
  }

  .figma-products__shelf-wrap {
    margin-inline: -0.625rem;
  }

  .figma-products__shelf {
    height: 46%;
    border-radius: 0 0 18px 18px;
  }

  .figma-product-carousel {
    padding-top: 1.1rem;
  }

  .figma-product-grid {
    gap: 0.9rem !important;
    padding: 0.2rem 0.625rem 0.45rem;
    scroll-padding-inline: 0.625rem;
  }

  .figma-product-item {
    flex-basis: min(78vw, 260px);
    gap: 0.65rem;
  }

  .figma-product-card__body {
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.7rem;
    padding: 0;
  }

  .figma-product-cta {
    width: 100%;
    min-height: 32px;
    padding-inline: 0.8rem;
    font-size: 0.76rem !important;
  }

  .figma-products__dots {
    margin-top: 0.9rem;
  }
}

@media (max-width: 390px) {
  .figma-product-item {
    flex-basis: 82vw;
  }

  .figma-trusted__logos {
    grid-template-columns: 1fr 1fr;
  }
}
