/* Corrections marked on the 2026-09-25 review. */

/* Keep the two labels and the downward flow distinct in the definition diagram. */
@media (min-width: 1280px) {
  .figma-home #definition .boundary-diagram strong {
    height: 123px;
    margin-top: 43px;
    gap: 16px;
    align-items: center;
    text-align: center;
  }

  .figma-home #definition .boundary-diagram strong::before {
    top: -24px;
  }

  .figma-home #definition .boundary-diagram strong > span::after {
    width: 34px;
    height: 24px;
    margin: 10px auto 0;
    background: linear-gradient(90deg,
      transparent 0 12px, #fff 12px 15px,
      transparent 15px 19px, #fff 19px 22px,
      transparent 22px);
    content: "";
    transform: none;
  }

  .figma-home #definition .boundary-diagram strong em {
    margin-top: 0;
  }
}

/* Give all three AI explanations the same inner inset and room to wrap. */
.figma-home .ai-bridge-step small {
  padding-inline: 4px;
}

@media (min-width: 1280px) {
  .figma-home .ai-bridge-step {
    height: auto;
    min-height: 265px;
    grid-template-rows: 86px auto auto;
  }
}

/* Make the home download and contact actions easier to notice. */
.figma-home .dual-cta .cta-copy .button {
  width: 240px;
  max-width: 100%;
  height: 56px;
  min-height: 56px;
  gap: 10px;
  justify-content: center;
  font-size: 17px;
  font-weight: 700;
}

.figma-home .dual-cta .cta-copy .button.button-external::after {
  width: 24px;
  height: 24px;
  flex-basis: 24px;
}

.figma-home .dual-cta .cta-copy .cta-link-note {
  width: 240px;
}

/* The legacy hero ornament must not extend into Starting point. */
.figma-usecase .usecase-hero::after {
  content: none;
}

/* Match the spacing of the four use-case introductions and section leads. */
.figma-usecase .usecase-hero .lead {
  letter-spacing: 0.01em;
}

.figma-usecase .section-head > p:last-child {
  letter-spacing: 0.015em;
}

@media (min-width: 1280px) {
  .figma-usecase main > section:nth-of-type(2) .section-head > p:last-child {
    width: min(850px, 100%);
    letter-spacing: 0.015em;
  }
}

/* Long NEXT STEP buttons keep their labels centered and arrows at the right. */
.figma-usecase .detail-cta .button-row .button {
  position: relative;
  padding-inline: 52px;
  justify-content: center;
  text-align: center;
}

.figma-usecase .detail-cta .button-row .button.button-external::after {
  position: absolute;
  right: 20px;
  width: 26px;
  height: 26px;
  flex-basis: 26px;
}

@media (max-width: 767px) {
  .figma-home .dual-cta .cta-copy .button,
  .figma-home .dual-cta .cta-copy .cta-link-note {
    width: 100%;
  }

  .figma-usecase .detail-cta .button-row .button {
    padding-inline: 42px;
  }

  .figma-usecase .detail-cta .button-row .button.button-external::after {
    right: 16px;
    width: 22px;
    height: 22px;
    flex-basis: 22px;
  }
}
