/* 2026-09-18: only the sections marked in the review PDF.
   Layout and imagery follow Page 3_UI_Design in Figma. */
:is(.figma-home, .figma-usecase) main .eyebrow {
  display: inline-block;
  width: fit-content !important;
  max-width: 100%;
  height: auto;
  padding: 4px 16px;
  border-block: 2px solid currentColor;
  line-height: 1.4;
}
:is(.figma-home, .figma-usecase) main .eyebrow::before,
:is(.figma-home, .figma-usecase) main .eyebrow::after { display: none; }

.figma-home .hero-a .hero-link-note {
  width: 100%;
  margin: 16px 0 0;
  color: #c2d3da;
  font-size: 13px;
  line-height: 1.5;
}
.figma-home #issues .grid-4 {
  height: auto;
  grid-template-rows: repeat(2, auto);
  align-items: stretch;
}
.figma-home .issue-card {
  height: auto;
  min-height: 315px;
  gap: 24px;
  justify-content: flex-start;
}
.figma-home .issue-copy { min-height: 0; width: 100%; }
.figma-home .issue-copy h3 { min-height: 2.8em; margin-bottom: 16px; }
.figma-home .issue-copy p { margin: 0; }
.figma-home .issue-card .text-link { margin-top: auto; }

.figma-home .ai-bridge > div:first-child {
  height: auto;
  align-self: start;
  justify-content: flex-start;
  gap: 32px;
}
.figma-home .ai-bridge > div:first-child > p { margin: 0; }
.figma-home .dual-cta > div { column-gap: 32px; }

.figma-usecase main > section:nth-of-type(3),
.figma-usecase main > section:nth-of-type(7),
.figma-usecase main > section:nth-of-type(8) { height: auto; }
.figma-usecase main > section:nth-of-type(3) .grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 32px;
}
.figma-usecase main > section:nth-of-type(3) .grid-3 .card {
  display: grid;
  width: auto;
  height: auto;
  min-height: 216px;
  grid-template-columns: 64px minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  align-content: start;
  gap: 12px 24px;
  padding: 32px;
}
.figma-usecase .grid-3 .card > img {
  position: static;
  grid-column: 1;
  grid-row: 1 / 3;
  width: 64px;
  height: 64px;
  margin: 0;
  object-fit: contain;
}
.figma-usecase .grid-3 .card h3 {
  grid-column: 2;
  grid-row: 1;
  min-height: 2.8em;
  margin: 0;
  font-size: 20px;
  line-height: 1.4;
  text-wrap: balance;
}
.figma-usecase .grid-3 .card p {
  grid-column: 2;
  grid-row: 2;
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.5;
}
.figma-usecase .related-usecases {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 36px;
}
.figma-usecase .related-usecases .card {
  display: flex;
  width: auto;
  height: auto;
  min-height: 0;
  padding: 0;
  overflow: visible;
}
.figma-usecase .related-card-link {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  padding: 48px;
  border-radius: inherit;
  color: var(--ink);
  text-decoration: none;
}
.figma-usecase .related-card-link .card-kicker {
  margin: 0 0 8px;
  color: var(--cyan);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0;
}
.figma-usecase .related-card-link h3 { margin: 0 0 8px; font-size: 24px; line-height: 1.4; }
.figma-usecase .related-card-link > p:not(.card-kicker) {
  flex: 1;
  margin: 0 0 24px;
  font-size: 16px;
  line-height: 1.5;
}
.figma-usecase .related-card-link > img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 486 / 200;
  object-fit: cover;
  margin: 0 0 16px;
}
.figma-usecase .related-usecases .card .text-link {
  align-self: flex-end;
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  text-decoration: none;
  box-shadow: none;
  filter: none;
  transform: none;
}
.figma-usecase .related-usecases .card .text-link::before { display: none; }
.figma-usecase .related-card-link:focus-visible { outline: 3px solid var(--cyan); outline-offset: 4px; }
.figma-usecase .detail-cta .detail-cta-copy .eyebrow { font-size: 14px; text-transform: uppercase; }

@media (max-width: 1100px) {
  .figma-usecase main > section:nth-of-type(3) .grid-3 { grid-template-columns: 1fr; gap: 24px; }
  .figma-usecase main > section:nth-of-type(3) .grid-3 .card { min-height: 0; }
  .figma-usecase .grid-3 .card h3 { min-height: 0; }
  .figma-usecase .related-card-link { padding: 32px; }
}
@media (max-width: 767px) {
  .figma-home #issues .grid-4 { grid-template-rows: none; }
  .figma-home .issue-card { min-height: 0; gap: 24px; }
  .figma-home .issue-copy h3 { min-height: 0; }
  .figma-home .ai-bridge > div:first-child { gap: 32px; }
  .figma-usecase main > section:nth-of-type(3) .grid-3 .card {
    padding: 24px;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 12px 24px;
  }
  .figma-usecase .grid-3 .card > img { width: 48px; height: 48px; }
  .figma-usecase .related-usecases { grid-template-columns: 1fr; gap: 24px; }
  .figma-usecase .related-card-link { padding: 24px; }
  .figma-usecase .related-card-link h3 { font-size: 22px; }
}
