/* Figma homepage Guides 132:552 and app promotion 132:589. */
.figma-guides,
.figma-app-promo {
  font-family: "Inter Drzio", Inter, Arial, sans-serif;
}

.figma-guides { padding: 100px 0; background: #fff; }
.figma-guides__heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
  text-align: center;
}
.figma-guides__heading h2 {
  margin: 0;
  color: #202020;
  font-family: "Be Vietnam Pro Drzio", Arial, sans-serif;
  font-size: 42px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -1.26px;
}
.figma-guides__heading p {
  width: 672px;
  max-width: 100%;
  margin: 0;
  color: #525252;
  font-size: 16px;
  line-height: 1.3;
  letter-spacing: -.32px;
}
.figma-guides__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.figma-guide-card { min-width: 0; overflow: hidden; border: 1px solid #e5e5e5; border-radius: 4px; background: #fff; }
.figma-guide-card__media { display: block; height: 289px; overflow: hidden; background: #f0f0f0; }
.figma-guide-card__image { display: block; width: 100%; height: 100%; object-fit: cover; }
.figma-guide-card__body { display: flex; min-height: 162px; flex-direction: column; align-items: flex-start; padding: 24px; }
.figma-guide-card time { color: #525252; font-size: 14px; line-height: 1.3; letter-spacing: -.28px; }
.figma-guide-card h3 { margin: 8px 0 0; color: #202020; font-family: "Be Vietnam Pro Drzio", Arial, sans-serif; font-size: 20px; font-weight: 500; line-height: 1.3; letter-spacing: -.4px; }
.figma-guide-card h3 a { color: inherit; text-decoration: none; }
.figma-guide-card__read { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 16px; color: #ff2f00; font-size: 16px; font-weight: 500; line-height: 1.2; letter-spacing: -1px; text-decoration: none; }
.figma-guide-card__read img { display: block; width: 18px; height: 18px; }
.figma-guide-card h3 a:hover,
.figma-guide-card__read:hover { color: #d82a00; text-decoration: underline; }
.figma-guide-card a:focus-visible,
.figma-guides__all:focus-visible,
.figma-app-promo__copy a:focus-visible { outline: 3px solid #e02b20; outline-offset: 3px; }
.figma-guides__all { display: flex; width: max-content; min-height: 54px; align-items: center; justify-content: center; margin: 40px auto 0; padding: 14px 28px; border-radius: 8px; background: #ff2f00; color: #fff; font-size: 16px; font-weight: 500; line-height: 1.2; letter-spacing: -1px; text-decoration: none; }
.figma-guides__all:hover { background: #d82a00; color: #fff; }

.figma-app-promo { position: relative; height: 700px; overflow: hidden; background: #202020; }
.figma-app-promo__ornament { position: absolute; top: -125px; right: -80px; width: 950px; height: 950px; max-width: none; pointer-events: none; }
.figma-app-promo__shell { position: relative; height: 700px; }
.figma-app-promo__copy { position: relative; z-index: 1; display: flex; width: 512px; max-width: 100%; height: 100%; flex-direction: column; justify-content: center; align-items: flex-start; gap: 40px; }
.figma-app-promo__copy > div { display: flex; flex-direction: column; gap: 16px; }
.figma-app-promo__copy h2 { margin: 0; color: #fff; font-family: "Be Vietnam Pro Drzio", Arial, sans-serif; font-size: 56px; font-weight: 500; line-height: 1.3; letter-spacing: -1.68px; white-space: nowrap; }
.figma-app-promo__copy p { margin: 0; color: #e4e4e4; font-size: 16px; line-height: 1.3; letter-spacing: -.32px; }
.figma-app-promo__copy a { display: inline-flex; min-height: 54px; align-items: center; justify-content: center; padding: 14px 28px; border-radius: 8px; background: #ff2f00; color: #fff; font-size: 16px; font-weight: 500; line-height: 1.2; letter-spacing: -1px; text-decoration: none; }
.figma-app-promo__copy a:hover { background: #d82a00; color: #fff; }
.figma-app-promo__tiles { position: absolute; top: 110px; right: 0; width: 644px; height: 480px; }
.figma-app-promo__tile { position: absolute; overflow: hidden; border: 1.088px solid rgba(255, 255, 255, .14); background: transparent; box-shadow: 0 4.351px 26.105px rgba(0, 0, 0, .5); }
.figma-app-promo__tile img { display: block; width: 100%; height: 100%; object-fit: cover; }
.figma-app-promo__tile--one { left: 445px; top: 48px; width: 176px; height: 176px; border-radius: 25.018px; }
.figma-app-promo__tile--two { left: -27px; top: 193px; width: 171px; height: 171px; border-radius: 25.018px; }
.figma-app-promo__tile--three { left: 160px; top: 24px; width: 268px; height: 268px; border-radius: 46.772px; }
.figma-app-promo__tile--four { left: 445px; top: 240px; width: 136px; height: 136px; border-radius: 25.018px; }
.figma-app-promo__tile--five { left: 325px; top: 308px; width: 104px; height: 104px; border-radius: 11.965px; }
.figma-app-promo__tile--six { left: 160px; top: 308px; width: 149px; height: 149px; border-radius: 25.018px; }
.figma-app-promo__tile--seven { left: 43px; top: 76px; width: 101px; height: 101px; border-radius: 14.14px; }

/* Keep the wider Pro Medium heading clear of tile two until the native desktop gutter opens. */
@media (min-width: 1361px) and (max-width: 1389px) {
  .figma-app-promo__tiles { right: calc(100% - 1230px); }
}

@media (max-width: 1360px) {
  .figma-app-promo { height: auto; padding: 80px 0; }
  .figma-app-promo__shell { display: flex; height: auto; flex-direction: column; align-items: center; gap: 60px; }
  .figma-app-promo__copy { align-self: flex-start; height: auto; }
  .figma-app-promo__tiles { position: relative; top: auto; right: auto; width: 644px; max-width: 100%; height: auto; aspect-ratio: 644 / 480; }
}
/* Below the artwork's 644px native width, proportional placement keeps all seven Figma tiles inside the viewport. */
@media (max-width: 700px) {
  .figma-app-promo__tile--one { left: 69.099%; top: 10%; width: 27.329%; height: 36.667%; }
  .figma-app-promo__tile--two { left: max(-20px, -4.193%); top: 40.208%; width: 26.553%; height: 35.625%; }
  .figma-app-promo__tile--three { left: 24.845%; top: 5%; width: 41.615%; height: 55.833%; }
  .figma-app-promo__tile--four { left: 69.099%; top: 50%; width: 21.118%; height: 28.333%; }
  .figma-app-promo__tile--five { left: 50.466%; top: 64.167%; width: 16.149%; height: 21.667%; }
  .figma-app-promo__tile--six { left: 24.845%; top: 64.167%; width: 23.137%; height: 31.042%; }
  .figma-app-promo__tile--seven { left: 6.677%; top: 15.833%; width: 15.683%; height: 21.042%; }
  .figma-app-promo__tile { border-width: 1px; border-radius: 14px; }
  .figma-app-promo__tile--three { border-radius: 25px; }
  .figma-app-promo__tile--five { border-radius: 8px; }
}
@media (max-width: 900px) {
  .figma-guides__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .figma-guide-card__body { padding: 20px; }
  .figma-app-promo__copy h2 { font-size: 48px; white-space: normal; }
}
@media (max-width: 600px) {
  .figma-guides { padding: 64px 0; }
  .figma-guides__heading h2 { font-size: 34px; line-height: 1.2; letter-spacing: -1px; }
  .figma-guides__grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .figma-guide-card__media { height: auto; aspect-ratio: 404 / 289; }
  .figma-guide-card__body { min-height: 0; }
  .figma-guides__all { margin-top: 32px; }
  .figma-app-promo { padding: 64px 0; }
  .figma-app-promo__shell { gap: 40px; }
  .figma-app-promo__copy h2 { font-size: 36px; line-height: 1.2; letter-spacing: -1px; }
  .figma-app-promo__ornament { right: -400px; }
}
